Dialog Gesture Driven
An iOS-style gesture driven modal sheet built with Reka UI, and Motion-v.
Dialog
Inspired by React Aria
diff --git a/bun.lock b/bun.lock index fb1a367..834ee18 100644 --- a/bun.lock +++ b/bun.lock @@ -7,6 +7,7 @@ "dependencies": { "@ag-grid-community/locale": "^35.1.0", "@iconify/vue": "^5.0.0", + "@internationalized/date": "^3.12.0", "@tailwindcss/vite": "^4.1.18", "@vueuse/core": "^14.2.1", "ag-grid-community": "^35.1.0", @@ -72,7 +73,7 @@ "@iconify/vue": ["@iconify/vue@5.0.0", "", { "dependencies": { "@iconify/types": "^2.0.0" }, "peerDependencies": { "vue": ">=3" } }, "sha512-C+KuEWIF5nSBrobFJhT//JS87OZ++QDORB6f2q2Wm6fl2mueSTpFBeBsveK0KW9hWiZ4mNiPjsh6Zs4jjdROSg=="], - "@internationalized/date": ["@internationalized/date@3.11.0", "", { "dependencies": { "@swc/helpers": "^0.5.0" } }, "sha512-BOx5huLAWhicM9/ZFs84CzP+V3gBW6vlpM02yzsdYC7TGlZJX1OJiEEHcSayF00Z+3jLlm4w79amvSt6RqKN3Q=="], + "@internationalized/date": ["@internationalized/date@3.12.0", "", { "dependencies": { "@swc/helpers": "^0.5.0" } }, "sha512-/PyIMzK29jtXaGU23qTvNZxvBXRtKbNnGDFD+PY6CZw/Y8Ex8pFUzkuCJCG9aOqmShjqhS9mPqP6Dk5onQY8rQ=="], "@internationalized/number": ["@internationalized/number@3.6.5", "", { "dependencies": { "@swc/helpers": "^0.5.0" } }, "sha512-6hY4Kl4HPBvtfS62asS/R22JzNNy8vi/Ssev7x6EobfCp+9QIB2hKvI2EtbdJ0VSQacxVNtqhE/NmF/NZ0gm6g=="], @@ -542,6 +543,8 @@ "lazystream/readable-stream": ["readable-stream@2.3.8", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="], + "reka-ui/@internationalized/date": ["@internationalized/date@3.11.0", "", { "dependencies": { "@swc/helpers": "^0.5.0" } }, "sha512-BOx5huLAWhicM9/ZFs84CzP+V3gBW6vlpM02yzsdYC7TGlZJX1OJiEEHcSayF00Z+3jLlm4w79amvSt6RqKN3Q=="], + "rolldown/@rolldown/pluginutils": ["@rolldown/pluginutils@1.0.0-rc.5", "", {}, "sha512-RxlLX/DPoarZ9PtxVrQgZhPoor987YtKQqCo5zkjX+0S0yLJ7Vv515Wk6+xtTL67VONKJKxETWZwuZjss2idYw=="], "string_decoder/safe-buffer": ["safe-buffer@5.2.1", "", {}, "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="], diff --git a/package.json b/package.json index 031a9c8..e3b1b72 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "dependencies": { "@ag-grid-community/locale": "^35.1.0", "@iconify/vue": "^5.0.0", + "@internationalized/date": "^3.12.0", "@tailwindcss/vite": "^4.1.18", "@vueuse/core": "^14.2.1", "ag-grid-community": "^35.1.0", diff --git a/src/components/common/xmCommonAgGrid.vue b/src/components/common/xmCommonAgGrid.vue index 8862673..9951901 100644 --- a/src/components/common/xmCommonAgGrid.vue +++ b/src/components/common/xmCommonAgGrid.vue @@ -1,13 +1,14 @@ @@ -212,18 +354,30 @@ onBeforeUnmount(() => {

An iOS-style gesture driven modal sheet built with Reka UI, and Motion-v.
Inspired by React Aria
The open state of the dialog when it is initially rendered. Use when you do not need to control its open state.
\\n", - "type": "boolean", - "required": false, - "default": "false" - }, - { - "name": "modal", - "description": "The modality of the dialog When set to true,
\\ninteraction with outside elements will be disabled and only dialog content will be visible to screen readers.
The controlled open state of the dialog. Can be binded as v-model:open.
Event handler called when the open state of the dialog changes.
\\n", - "type": "[value: boolean]" - } -]`}),b(r,{title:"slots",data:`[ - { - "name": "open", - "description": "Current open state
\\n", - "type": "boolean" - }, - { - "name": "close", - "description": "Close the dialog
\\n", - "type": "(): void" - } -]`})]),default:F(()=>[t[1]||(t[1]=f("DialogRoot"))]),_:1,__:[1]})]),t[3]||(t[3]=o("span",{style:{color:"#B392F0"}}," v-model",-1)),t[4]||(t[4]=o("span",{style:{color:"#E1E4E8"}},":",-1)),t[5]||(t[5]=o("span",{style:{color:"#B392F0"}},"open",-1)),t[6]||(t[6]=o("span",{style:{color:"#E1E4E8"}},"=",-1)),t[7]||(t[7]=o("span",{style:{color:"#9ECBFF"}},'"',-1)),t[8]||(t[8]=o("span",{style:{color:"#E1E4E8"}},"open",-1)),t[9]||(t[9]=o("span",{style:{color:"#9ECBFF"}},'"',-1)),t[10]||(t[10]=o("span",{style:{color:"#E1E4E8"}},">",-1))]),t[184]||(t[184]=f(` -`)),o("span",Wc,[t[12]||(t[12]=o("span",{style:{color:"#E1E4E8"}}," <",-1)),o("span",qc,[b(l,{name:"DialogTrigger"},{content:F(({})=>[b(r,{title:"props",data:`[ - { - "name": "as", - "description": "The element or component this component should render as. Can be overwritten by asChild.
Change the default rendered element for the one passed as a child, merging their props and behavior.
\\nRead our Composition guide for more details.
\\n", - "type": "boolean", - "required": false - } -]`})]),default:F(()=>[t[11]||(t[11]=f("DialogTrigger"))]),_:1,__:[11]})]),t[13]||(t[13]=o("span",{style:{color:"#B392F0"}}," class",-1)),t[14]||(t[14]=o("span",{style:{color:"#E1E4E8"}},"=",-1)),t[15]||(t[15]=o("span",{style:{color:"#9ECBFF"}},'"dark:text-white inline-flex items-center bg-background dark:bg-muted px-3 py-2 rounded-lg text-sm border border-muted-foreground/30"',-1)),t[16]||(t[16]=o("span",{style:{color:"#E1E4E8"}},">",-1))]),t[185]||(t[185]=f(` -`)),t[186]||(t[186]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," Open sheet")],-1)),t[187]||(t[187]=f(` -`)),o("span",Hc,[t[18]||(t[18]=o("span",{style:{color:"#E1E4E8"}}," ",-1)),o("span",zc,[b(l,{name:"DialogTrigger"},{content:F(({})=>[b(r,{title:"props",data:`[ - { - "name": "as", - "description": "The element or component this component should render as. Can be overwritten by asChild.
Change the default rendered element for the one passed as a child, merging their props and behavior.
\\nRead our Composition guide for more details.
\\n", - "type": "boolean", - "required": false - } -]`})]),default:F(()=>[t[17]||(t[17]=f("DialogTrigger"))]),_:1,__:[17]})]),t[19]||(t[19]=o("span",{style:{color:"#E1E4E8"}},">",-1))]),t[188]||(t[188]=f(` -`)),t[189]||(t[189]=o("span",{class:"line"},null,-1)),t[190]||(t[190]=f(` -`)),o("span",Xc,[t[21]||(t[21]=o("span",{style:{color:"#E1E4E8"}}," <",-1)),o("span",Yc,[b(l,{name:"DialogPortal"},{content:F(({})=>[b(r,{title:"props",data:`[ - { - "name": "defer", - "description": "Defer the resolving of a Teleport target until other parts of the\\napplication have mounted (requires Vue 3.5.0+)
\\n\\n", - "type": "boolean", - "required": false - }, - { - "name": "disabled", - "description": "Disable teleport and render the component inline
\\n\\n", - "type": "boolean", - "required": false - }, - { - "name": "forceMount", - "description": "Used to force mounting when more control is needed. Useful when\\ncontrolling animation with Vue animation libraries.
\\n", - "type": "boolean", - "required": false - }, - { - "name": "to", - "description": "Vue native teleport component prop :to
The element or component this component should render as. Can be overwritten by asChild.
Change the default rendered element for the one passed as a child, merging their props and behavior.
\\nRead our Composition guide for more details.
\\n", - "type": "boolean", - "required": false - }, - { - "name": "forceMount", - "description": "Used to force mounting when more control is needed. Useful when\\ncontrolling animation with Vue animation libraries.
\\n", - "type": "boolean", - "required": false - } -]`})]),default:F(()=>[t[23]||(t[23]=f("DialogOverlay"))]),_:1,__:[23]})]),t[25]||(t[25]=o("span",{style:{color:"#B392F0"}}," as-child",-1)),t[26]||(t[26]=o("span",{style:{color:"#E1E4E8"}},">",-1))]),t[200]||(t[200]=f(` -`)),t[201]||(t[201]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," <"),o("span",{style:{color:"#85E89D"}},"Motion")],-1)),t[202]||(t[202]=f(` -`)),t[203]||(t[203]=o("span",{class:"line"},[o("span",{style:{color:"#B392F0"}}," class"),o("span",{style:{color:"#E1E4E8"}},"="),o("span",{style:{color:"#9ECBFF"}},'"fixed inset-0 z-10 bg-background/60"')],-1)),t[204]||(t[204]=f(` -`)),t[205]||(t[205]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," :"),o("span",{style:{color:"#B392F0"}},"initial"),o("span",{style:{color:"#E1E4E8"}},"="),o("span",{style:{color:"#9ECBFF"}},'"'),o("span",{style:{color:"#E1E4E8"}},"{ opacity: "),o("span",{style:{color:"#79B8FF"}},"0"),o("span",{style:{color:"#E1E4E8"}}," }"),o("span",{style:{color:"#9ECBFF"}},'"')],-1)),t[206]||(t[206]=f(` -`)),t[207]||(t[207]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," :"),o("span",{style:{color:"#B392F0"}},"animate"),o("span",{style:{color:"#E1E4E8"}},"="),o("span",{style:{color:"#9ECBFF"}},'"'),o("span",{style:{color:"#E1E4E8"}},"{ opacity: "),o("span",{style:{color:"#79B8FF"}},"1"),o("span",{style:{color:"#E1E4E8"}}," }"),o("span",{style:{color:"#9ECBFF"}},'"')],-1)),t[208]||(t[208]=f(` -`)),t[209]||(t[209]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," :"),o("span",{style:{color:"#B392F0"}},"exit"),o("span",{style:{color:"#E1E4E8"}},"="),o("span",{style:{color:"#9ECBFF"}},'"'),o("span",{style:{color:"#E1E4E8"}},"{ opacity: "),o("span",{style:{color:"#79B8FF"}},"0"),o("span",{style:{color:"#E1E4E8"}}," }"),o("span",{style:{color:"#9ECBFF"}},'"')],-1)),t[210]||(t[210]=f(` -`)),t[211]||(t[211]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," :"),o("span",{style:{color:"#B392F0"}},"transition"),o("span",{style:{color:"#E1E4E8"}},"="),o("span",{style:{color:"#9ECBFF"}},'"'),o("span",{style:{color:"#E1E4E8"}},"staticTransition"),o("span",{style:{color:"#9ECBFF"}},'"')],-1)),t[212]||(t[212]=f(` -`)),t[213]||(t[213]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," />")],-1)),t[214]||(t[214]=f(` -`)),o("span",Qc,[t[28]||(t[28]=o("span",{style:{color:"#E1E4E8"}}," ",-1)),o("span",_c,[b(l,{name:"DialogOverlay"},{content:F(({})=>[b(r,{title:"props",data:`[ - { - "name": "as", - "description": "The element or component this component should render as. Can be overwritten by asChild.
Change the default rendered element for the one passed as a child, merging their props and behavior.
\\nRead our Composition guide for more details.
\\n", - "type": "boolean", - "required": false - }, - { - "name": "forceMount", - "description": "Used to force mounting when more control is needed. Useful when\\ncontrolling animation with Vue animation libraries.
\\n", - "type": "boolean", - "required": false - } -]`})]),default:F(()=>[t[27]||(t[27]=f("DialogOverlay"))]),_:1,__:[27]})]),t[29]||(t[29]=o("span",{style:{color:"#E1E4E8"}},">",-1))]),t[215]||(t[215]=f(` -`)),t[216]||(t[216]=o("span",{class:"line"},null,-1)),t[217]||(t[217]=f(` -`)),o("span",td,[t[31]||(t[31]=o("span",{style:{color:"#E1E4E8"}}," <",-1)),o("span",ed,[b(l,{name:"DialogContent"},{content:F(({})=>[b(r,{title:"props",data:`[ - { - "name": "as", - "description": "The element or component this component should render as. Can be overwritten by asChild.
Change the default rendered element for the one passed as a child, merging their props and behavior.
\\nRead our Composition guide for more details.
\\n", - "type": "boolean", - "required": false - }, - { - "name": "disableOutsidePointerEvents", - "description": "When true, hover/focus/click interactions will be disabled on elements outside\\nthe DismissableLayer. Users will need to click twice on outside elements to\\ninteract with them: once to close the DismissableLayer, and again to trigger the element.
Used to force mounting when more control is needed. Useful when\\ncontrolling animation with Vue animation libraries.
\\n", - "type": "boolean", - "required": false - } -]`}),b(r,{title:"emits",data:`[ - { - "name": "closeAutoFocus", - "description": "Event handler called when auto-focusing on close.\\nCan be prevented.
\\n", - "type": "[event: Event]" - }, - { - "name": "escapeKeyDown", - "description": "Event handler called when the escape key is down.\\nCan be prevented.
\\n", - "type": "[event: KeyboardEvent]" - }, - { - "name": "focusOutside", - "description": "Event handler called when the focus moves outside of the DismissableLayer.\\nCan be prevented.
Event handler called when an interaction happens outside the DismissableLayer.\\nSpecifically, when a pointerdown event happens outside or focus moves outside of it.\\nCan be prevented.
Event handler called when auto-focusing on open.\\nCan be prevented.
\\n", - "type": "[event: Event]" - }, - { - "name": "pointerDownOutside", - "description": "Event handler called when a pointerdown event happens outside of the DismissableLayer.\\nCan be prevented.
The element or component this component should render as. Can be overwritten by asChild.
Change the default rendered element for the one passed as a child, merging their props and behavior.
\\nRead our Composition guide for more details.
\\n", - "type": "boolean", - "required": false - } -]`})]),default:F(()=>[t[34]||(t[34]=f("DialogClose"))]),_:1,__:[34]})]),t[36]||(t[36]=o("span",{style:{color:"#B392F0"}}," class",-1)),t[37]||(t[37]=o("span",{style:{color:"#E1E4E8"}},"=",-1)),t[38]||(t[38]=o("span",{style:{color:"#9ECBFF"}},'"dark:text-white inline-flex items-center bg-background dark: p-2 rounded-full text-sm border border-muted-foreground/30"',-1)),t[39]||(t[39]=o("span",{style:{color:"#E1E4E8"}},">",-1))]),t[273]||(t[273]=f(` -`)),t[274]||(t[274]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," <"),o("span",{style:{color:"#85E89D"}},"Icon"),o("span",{style:{color:"#B392F0"}}," icon"),o("span",{style:{color:"#E1E4E8"}},"="),o("span",{style:{color:"#9ECBFF"}},'"lucide:x"'),o("span",{style:{color:"#E1E4E8"}}," />")],-1)),t[275]||(t[275]=f(` -`)),o("span",od,[t[41]||(t[41]=o("span",{style:{color:"#E1E4E8"}}," ",-1)),o("span",id,[b(l,{name:"DialogClose"},{content:F(({})=>[b(r,{title:"props",data:`[ - { - "name": "as", - "description": "The element or component this component should render as. Can be overwritten by asChild.
Change the default rendered element for the one passed as a child, merging their props and behavior.
\\nRead our Composition guide for more details.
\\n", - "type": "boolean", - "required": false - } -]`})]),default:F(()=>[t[40]||(t[40]=f("DialogClose"))]),_:1,__:[40]})]),t[42]||(t[42]=o("span",{style:{color:"#E1E4E8"}},">",-1))]),t[276]||(t[276]=f(` -`)),t[277]||(t[277]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," "),o("span",{style:{color:"#85E89D"}},"div"),o("span",{style:{color:"#E1E4E8"}},">")],-1)),t[278]||(t[278]=f(` -`)),o("span",rd,[t[44]||(t[44]=o("span",{style:{color:"#E1E4E8"}}," <",-1)),o("span",ad,[b(l,{name:"DialogTitle"},{content:F(({})=>[b(r,{title:"props",data:`[ - { - "name": "as", - "description": "The element or component this component should render as. Can be overwritten by asChild.
Change the default rendered element for the one passed as a child, merging their props and behavior.
\\nRead our Composition guide for more details.
\\n", - "type": "boolean", - "required": false - } -]`})]),default:F(()=>[t[43]||(t[43]=f("DialogTitle"))]),_:1,__:[43]})]),t[45]||(t[45]=o("span",{style:{color:"#B392F0"}}," class",-1)),t[46]||(t[46]=o("span",{style:{color:"#E1E4E8"}},"=",-1)),t[47]||(t[47]=o("span",{style:{color:"#9ECBFF"}},'"text-3xl font-semibold mb-4"',-1)),t[48]||(t[48]=o("span",{style:{color:"#E1E4E8"}},">",-1))]),t[279]||(t[279]=f(` -`)),t[280]||(t[280]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," Modal sheet")],-1)),t[281]||(t[281]=f(` -`)),o("span",ld,[t[50]||(t[50]=o("span",{style:{color:"#E1E4E8"}}," ",-1)),o("span",ud,[b(l,{name:"DialogTitle"},{content:F(({})=>[b(r,{title:"props",data:`[ - { - "name": "as", - "description": "The element or component this component should render as. Can be overwritten by asChild.
Change the default rendered element for the one passed as a child, merging their props and behavior.
\\nRead our Composition guide for more details.
\\n", - "type": "boolean", - "required": false - } -]`})]),default:F(()=>[t[49]||(t[49]=f("DialogTitle"))]),_:1,__:[49]})]),t[51]||(t[51]=o("span",{style:{color:"#E1E4E8"}},">",-1))]),t[282]||(t[282]=f(` -`)),o("span",pd,[t[53]||(t[53]=o("span",{style:{color:"#E1E4E8"}}," <",-1)),o("span",cd,[b(l,{name:"DialogDescription"},{content:F(({})=>[b(r,{title:"props",data:`[ - { - "name": "as", - "description": "The element or component this component should render as. Can be overwritten by asChild.
Change the default rendered element for the one passed as a child, merging their props and behavior.
\\nRead our Composition guide for more details.
\\n", - "type": "boolean", - "required": false - } -]`})]),default:F(()=>[t[52]||(t[52]=f("DialogDescription"))]),_:1,__:[52]})]),t[54]||(t[54]=o("span",{style:{color:"#B392F0"}}," class",-1)),t[55]||(t[55]=o("span",{style:{color:"#E1E4E8"}},"=",-1)),t[56]||(t[56]=o("span",{style:{color:"#9ECBFF"}},'"text-lg mb-4"',-1)),t[57]||(t[57]=o("span",{style:{color:"#E1E4E8"}},">",-1))]),t[283]||(t[283]=f(` -`)),t[284]||(t[284]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," This is a dialog with a custom modal overlay built with Reka UI and Motion-v.")],-1)),t[285]||(t[285]=f(` -`)),o("span",dd,[t[59]||(t[59]=o("span",{style:{color:"#E1E4E8"}}," ",-1)),o("span",fd,[b(l,{name:"DialogDescription"},{content:F(({})=>[b(r,{title:"props",data:`[ - { - "name": "as", - "description": "The element or component this component should render as. Can be overwritten by asChild.
Change the default rendered element for the one passed as a child, merging their props and behavior.
\\nRead our Composition guide for more details.
\\n", - "type": "boolean", - "required": false - } -]`})]),default:F(()=>[t[58]||(t[58]=f("DialogDescription"))]),_:1,__:[58]})]),t[60]||(t[60]=o("span",{style:{color:"#E1E4E8"}},">",-1))]),t[286]||(t[286]=f(` -`)),t[287]||(t[287]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," <"),o("span",{style:{color:"#85E89D"}},"p"),o("span",{style:{color:"#B392F0"}}," class"),o("span",{style:{color:"#E1E4E8"}},"="),o("span",{style:{color:"#9ECBFF"}},'"text-lg"'),o("span",{style:{color:"#E1E4E8"}},">")],-1)),t[288]||(t[288]=f(` -`)),t[289]||(t[289]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," Lorem ipsum dolor sit amet, consectetur adipiscing elit.")],-1)),t[290]||(t[290]=f(` -`)),t[291]||(t[291]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," Aenean sit amet nisl blandit, pellentesque eros eu,")],-1)),t[292]||(t[292]=f(` -`)),t[293]||(t[293]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," scelerisque eros. Sed cursus urna at nunc lacinia dapibus.")],-1)),t[294]||(t[294]=f(` -`)),t[295]||(t[295]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," "),o("span",{style:{color:"#85E89D"}},"p"),o("span",{style:{color:"#E1E4E8"}},">")],-1)),t[296]||(t[296]=f(` -`)),t[297]||(t[297]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," "),o("span",{style:{color:"#85E89D"}},"div"),o("span",{style:{color:"#E1E4E8"}},">")],-1)),t[298]||(t[298]=f(` -`)),t[299]||(t[299]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}}," "),o("span",{style:{color:"#85E89D"}},"Motion"),o("span",{style:{color:"#E1E4E8"}},">")],-1)),t[300]||(t[300]=f(` -`)),o("span",hd,[t[62]||(t[62]=o("span",{style:{color:"#E1E4E8"}}," ",-1)),o("span",md,[b(l,{name:"DialogContent"},{content:F(({})=>[b(r,{title:"props",data:`[ - { - "name": "as", - "description": "The element or component this component should render as. Can be overwritten by asChild.
Change the default rendered element for the one passed as a child, merging their props and behavior.
\\nRead our Composition guide for more details.
\\n", - "type": "boolean", - "required": false - }, - { - "name": "disableOutsidePointerEvents", - "description": "When true, hover/focus/click interactions will be disabled on elements outside\\nthe DismissableLayer. Users will need to click twice on outside elements to\\ninteract with them: once to close the DismissableLayer, and again to trigger the element.
Used to force mounting when more control is needed. Useful when\\ncontrolling animation with Vue animation libraries.
\\n", - "type": "boolean", - "required": false - } -]`}),b(r,{title:"emits",data:`[ - { - "name": "closeAutoFocus", - "description": "Event handler called when auto-focusing on close.\\nCan be prevented.
\\n", - "type": "[event: Event]" - }, - { - "name": "escapeKeyDown", - "description": "Event handler called when the escape key is down.\\nCan be prevented.
\\n", - "type": "[event: KeyboardEvent]" - }, - { - "name": "focusOutside", - "description": "Event handler called when the focus moves outside of the DismissableLayer.\\nCan be prevented.
Event handler called when an interaction happens outside the DismissableLayer.\\nSpecifically, when a pointerdown event happens outside or focus moves outside of it.\\nCan be prevented.
Event handler called when auto-focusing on open.\\nCan be prevented.
\\n", - "type": "[event: Event]" - }, - { - "name": "pointerDownOutside", - "description": "Event handler called when a pointerdown event happens outside of the DismissableLayer.\\nCan be prevented.
Defer the resolving of a Teleport target until other parts of the\\napplication have mounted (requires Vue 3.5.0+)
\\n\\n", - "type": "boolean", - "required": false - }, - { - "name": "disabled", - "description": "Disable teleport and render the component inline
\\n\\n", - "type": "boolean", - "required": false - }, - { - "name": "forceMount", - "description": "Used to force mounting when more control is needed. Useful when\\ncontrolling animation with Vue animation libraries.
\\n", - "type": "boolean", - "required": false - }, - { - "name": "to", - "description": "Vue native teleport component prop :to
The open state of the dialog when it is initially rendered. Use when you do not need to control its open state.
\\n", - "type": "boolean", - "required": false, - "default": "false" - }, - { - "name": "modal", - "description": "The modality of the dialog When set to true,
\\ninteraction with outside elements will be disabled and only dialog content will be visible to screen readers.
The controlled open state of the dialog. Can be binded as v-model:open.
Event handler called when the open state of the dialog changes.
\\n", - "type": "[value: boolean]" - } -]`}),b(r,{title:"slots",data:`[ - { - "name": "open", - "description": "Current open state
\\n", - "type": "boolean" - }, - { - "name": "close", - "description": "Close the dialog
\\n", - "type": "(): void" - } -]`})]),default:F(()=>[t[67]||(t[67]=f("DialogRoot"))]),_:1,__:[67]})]),t[69]||(t[69]=o("span",{style:{color:"#E1E4E8"}},">",-1))]),t[305]||(t[305]=f(` -`)),t[306]||(t[306]=o("span",{class:"line"},[o("span",{style:{color:"#E1E4E8"}},""),o("span",{style:{color:"#85E89D"}},"template"),o("span",{style:{color:"#E1E4E8"}},">")],-1))])])])]),default:F(()=>[b(Uc)]),_:1}),b(p,null,{default:F(()=>[t[310]||(t[310]=o("h3",{id:"dialog",tabindex:"-1",class:"group relative border-none mb-4 lg:-ml-2 lg:pl-2 lg:pr-2 w-max"},[f("Dialog "),o("a",{class:"header-anchor [&_span]:focus:opacity-100 [&_span_>_span]:focus:outline",href:"#dialog","aria-label":'Permalink to "Dialog"'},[o("span",{class:"absolute top-0 -ml-8 hidden items-center border-0 opacity-0 group-hover:opacity-100 focus:opacity-100 lg:flex"},[f(""),o("span",{class:"flex h-6 w-6 items-center justify-center rounded-md outline-2 outline-primary text-green-400 shadow-sm hover:text-green-700 hover:shadow dark:bg-primary/20 dark:text-primary/80 dark:shadow-none dark:hover:bg-primary/40 dark:hover:text-primary"},[o("svg",{width:"12",height:"12",fill:"none","aria-hidden":"true"},[o("path",{d:"M3.75 1v10M8.25 1v10M1 3.75h10M1 8.25h10",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])])])])],-1)),b(c,{type:"info",title:"Credit"},{default:F(()=>t[309]||(t[309]=[o("p",null,[f("Inspired by "),o("a",{href:"https://react-spectrum.adobe.com/react-aria/examples/framer-modal-sheet.html",target:"_blank",rel:"noreferrer"},"React Aria")],-1)])),_:1,__:[309]})]),_:1,__:[310]})])}}});export{Sd as __pageData,Ad as default}; - diff --git a/tmp_typeline_numbered.txt b/tmp_typeline_numbered.txt deleted file mode 100644 index 87ce3f0..0000000 --- a/tmp_typeline_numbered.txt +++ /dev/null @@ -1,351 +0,0 @@ -1 -182 -183 -184众为工程咨询有限公司
-311-315 众为工程咨询有限公司长期专注于工程咨询与数字化服务,致力于为客户提供高效、可靠、可持续的解决方案。 -316
-317-318 我们围绕咨询管理、数据治理、系统建设与运维支持,持续提升项目交付质量,帮助客户降低沟通成本、提升协同效率。 -319
-320-321 本网站由众为工程咨询有限公司提供免费技术支持,如需商务合作或技术咨询,请与我们联系。 -322
-323