@shwfed/config 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -0
- package/dist/chunks/index.mjs +212742 -0
- package/dist/module.d.mts +44 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +23 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.d.vue.ts +23 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue +107 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue.d.ts +23 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.vue +30 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.d.ts +16 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.js +48 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.d.vue.ts +41 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue +170 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue.d.ts +41 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.vue +37 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.d.ts +25 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.js +62 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.d.vue.ts +17 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.vue +62 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.vue.d.ts +17 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/runtime.vue +17 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/schema.d.ts +13 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/schema.js +16 -0
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.d.vue.ts +21 -0
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.vue +84 -0
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.vue.d.ts +21 -0
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/runtime.vue +29 -0
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/schema.d.ts +15 -0
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/schema.js +27 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/config.d.vue.ts +17 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/config.vue +10 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/config.vue.d.ts +17 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/runtime.vue +25 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/schema.d.ts +13 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/schema.js +16 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/config.d.vue.ts +17 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/config.vue +10 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/config.vue.d.ts +17 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/runtime.vue +21 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/schema.d.ts +13 -0
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/schema.js +16 -0
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.d.vue.ts +80 -0
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.vue +325 -0
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.vue.d.ts +80 -0
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.d.vue.ts +10 -0
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.vue +56 -0
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.vue.d.ts +10 -0
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.d.ts +77 -0
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.js +46 -0
- package/dist/runtime/components/actions/components/definition.d.vue.ts +22 -0
- package/dist/runtime/components/actions/components/definition.vue +64 -0
- package/dist/runtime/components/actions/components/definition.vue.d.ts +22 -0
- package/dist/runtime/components/actions/components/group.d.vue.ts +160 -0
- package/dist/runtime/components/actions/components/group.vue +519 -0
- package/dist/runtime/components/actions/components/group.vue.d.ts +160 -0
- package/dist/runtime/components/actions/config.d.vue.ts +158 -0
- package/dist/runtime/components/actions/config.vue +1549 -0
- package/dist/runtime/components/actions/config.vue.d.ts +158 -0
- package/dist/runtime/components/actions/schema.d.ts +294 -0
- package/dist/runtime/components/actions/schema.js +210 -0
- package/dist/runtime/components/actions/utils/button-registry.d.ts +25 -0
- package/dist/runtime/components/actions/utils/button-registry.js +1 -0
- package/dist/runtime/components/actions/utils/resolve.d.ts +27 -0
- package/dist/runtime/components/actions/utils/resolve.js +80 -0
- package/dist/runtime/components/ai/byok-button.d.vue.ts +3 -0
- package/dist/runtime/components/ai/byok-button.vue +48 -0
- package/dist/runtime/components/ai/byok-button.vue.d.ts +3 -0
- package/dist/runtime/components/ai/byok-settings.d.vue.ts +3 -0
- package/dist/runtime/components/ai/byok-settings.vue +282 -0
- package/dist/runtime/components/ai/byok-settings.vue.d.ts +3 -0
- package/dist/runtime/components/app.d.vue.ts +13 -0
- package/dist/runtime/components/app.vue +202 -0
- package/dist/runtime/components/app.vue.d.ts +13 -0
- package/dist/runtime/components/block-layout-editor/index.d.vue.ts +90 -0
- package/dist/runtime/components/block-layout-editor/index.vue +1312 -0
- package/dist/runtime/components/block-layout-editor/index.vue.d.ts +90 -0
- package/dist/runtime/components/block-layout-editor/meta-strip.d.vue.ts +23 -0
- package/dist/runtime/components/block-layout-editor/meta-strip.vue +84 -0
- package/dist/runtime/components/block-layout-editor/meta-strip.vue.d.ts +23 -0
- package/dist/runtime/components/block-layout-editor/sidebar.d.vue.ts +39 -0
- package/dist/runtime/components/block-layout-editor/sidebar.vue +170 -0
- package/dist/runtime/components/block-layout-editor/sidebar.vue.d.ts +39 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.d.vue.ts +153 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.vue +18 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.vue.d.ts +153 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.d.vue.ts +158 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.vue +22 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.vue.d.ts +158 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +98 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.js +28 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.d.vue.ts +68 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue +22 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue.d.ts +68 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.d.vue.ts +72 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue +24 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue.d.ts +72 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +84 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.js +30 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/config.d.vue.ts +35 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/config.vue +66 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/config.vue.d.ts +35 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/runtime.d.vue.ts +35 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/runtime.vue +19 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/runtime.vue.d.ts +35 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.d.ts +35 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.js +31 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +350 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue +22 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +350 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +345 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue +17 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +345 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +393 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.js +28 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.d.vue.ts +86 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue +498 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue.d.ts +86 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.d.vue.ts +86 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue +62 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue.d.ts +86 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.d.ts +155 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.js +94 -0
- package/dist/runtime/components/config/breadcrumb-extension.d.ts +15 -0
- package/dist/runtime/components/config/breadcrumb-extension.js +1 -0
- package/dist/runtime/components/config/breadcrumb.d.vue.ts +7 -0
- package/dist/runtime/components/config/breadcrumb.vue +61 -0
- package/dist/runtime/components/config/breadcrumb.vue.d.ts +7 -0
- package/dist/runtime/components/config/config.d.vue.ts +7 -0
- package/dist/runtime/components/config/config.vue +139 -0
- package/dist/runtime/components/config/config.vue.d.ts +7 -0
- package/dist/runtime/components/config/footer.d.vue.ts +11 -0
- package/dist/runtime/components/config/footer.vue +64 -0
- package/dist/runtime/components/config/footer.vue.d.ts +11 -0
- package/dist/runtime/components/config/index.d.vue.ts +37 -0
- package/dist/runtime/components/config/index.vue +81 -0
- package/dist/runtime/components/config/index.vue.d.ts +37 -0
- package/dist/runtime/components/config/schema.d.ts +102 -0
- package/dist/runtime/components/config/schema.js +23 -0
- package/dist/runtime/components/config/use-editor.d.ts +102 -0
- package/dist/runtime/components/config/use-editor.js +388 -0
- package/dist/runtime/components/config/utils/block-ref-cache.d.ts +9 -0
- package/dist/runtime/components/config/utils/block-ref-cache.js +14 -0
- package/dist/runtime/components/config/utils/resolve.d.ts +39 -0
- package/dist/runtime/components/config/utils/resolve.js +62 -0
- package/dist/runtime/components/form/config.d.vue.ts +16 -0
- package/dist/runtime/components/form/config.vue +111 -0
- package/dist/runtime/components/form/config.vue.d.ts +16 -0
- package/dist/runtime/components/form/field-layout.d.ts +5 -0
- package/dist/runtime/components/form/field-layout.js +1 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/config.d.vue.ts +37 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/config.vue +87 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/config.vue.d.ts +37 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue +22 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.d.ts +33 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.js +25 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +73 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue +247 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +73 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue +118 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +51 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.js +48 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.d.vue.ts +75 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue +288 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue.d.ts +75 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue +93 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +53 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.js +52 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.d.vue.ts +149 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue +97 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue.d.ts +149 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/runtime.vue +26 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +95 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.js +28 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +91 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue +308 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +91 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue +240 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.d.ts +75 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.js +70 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +99 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue +472 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +99 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue +115 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +75 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.js +77 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +119 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue +578 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +119 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue +136 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +87 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js +96 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +103 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue +554 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +103 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue +117 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +87 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.js +95 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +123 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue +662 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +123 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue +138 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +99 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.js +114 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.d.vue.ts +65 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue +361 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue.d.ts +65 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue +91 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +57 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.js +66 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +67 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue +389 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +67 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue +103 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +59 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.js +73 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +83 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue +405 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +83 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue +163 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +56 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.js +69 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +99 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue +457 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +99 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue +238 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +65 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.js +80 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +85 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue +226 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +85 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue +93 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +57 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.js +51 -0
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.d.vue.ts +121 -0
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.vue +469 -0
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.vue.d.ts +121 -0
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue +257 -0
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.d.ts +140 -0
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.js +143 -0
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.d.vue.ts +115 -0
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.vue +609 -0
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.vue.d.ts +115 -0
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue +367 -0
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts +79 -0
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.js +86 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +93 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue +330 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +93 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue +281 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +74 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.js +83 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts +105 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue +332 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts +105 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.d.vue.ts +16 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.vue +119 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.vue.d.ts +16 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue +218 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +111 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +78 -0
- package/dist/runtime/components/form/index.d.vue.ts +22 -0
- package/dist/runtime/components/form/index.vue +175 -0
- package/dist/runtime/components/form/index.vue.d.ts +22 -0
- package/dist/runtime/components/form/schema.d.ts +164 -0
- package/dist/runtime/components/form/schema.js +77 -0
- package/dist/runtime/components/form/unit-config.d.vue.ts +63 -0
- package/dist/runtime/components/form/unit-config.vue +498 -0
- package/dist/runtime/components/form/unit-config.vue.d.ts +63 -0
- package/dist/runtime/components/form/utils/common.d.ts +15 -0
- package/dist/runtime/components/form/utils/common.js +26 -0
- package/dist/runtime/components/form/utils/resolve.d.ts +77 -0
- package/dist/runtime/components/form/utils/resolve.js +74 -0
- package/dist/runtime/components/form/utils/schema-meta.d.ts +5 -0
- package/dist/runtime/components/form/utils/schema-meta.js +48 -0
- package/dist/runtime/components/form/utils/state.d.ts +11 -0
- package/dist/runtime/components/form/utils/state.js +26 -0
- package/dist/runtime/components/modal.d.vue.ts +56 -0
- package/dist/runtime/components/modal.vue +153 -0
- package/dist/runtime/components/modal.vue.d.ts +56 -0
- package/dist/runtime/components/sidebar-takeover.d.ts +6 -0
- package/dist/runtime/components/sidebar-takeover.js +1 -0
- package/dist/runtime/components/table/ai/columns-button.d.vue.ts +12 -0
- package/dist/runtime/components/table/ai/columns-button.vue +499 -0
- package/dist/runtime/components/table/ai/columns-button.vue.d.ts +12 -0
- package/dist/runtime/components/table/ai/columns-task.md +44 -0
- package/dist/runtime/components/table/ai/data-source-button.d.vue.ts +20 -0
- package/dist/runtime/components/table/ai/data-source-button.vue +332 -0
- package/dist/runtime/components/table/ai/data-source-button.vue.d.ts +20 -0
- package/dist/runtime/components/table/ai/data-source-task.md +17 -0
- package/dist/runtime/components/table/column-layout.d.ts +5 -0
- package/dist/runtime/components/table/column-layout.js +1 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/config.d.vue.ts +10 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/config.vue +112 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/config.vue.d.ts +10 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue +28 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +94 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.js +45 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.d.vue.ts +10 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.vue +225 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.vue.d.ts +10 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/runtime.vue +32 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +40 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.js +42 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.d.vue.ts +10 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.vue +215 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.vue.d.ts +10 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue +46 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +40 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.js +45 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/config.d.vue.ts +10 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/config.vue +180 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/config.vue.d.ts +10 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue +68 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.d.ts +51 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.js +51 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.d.vue.ts +10 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.vue +293 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.vue.d.ts +10 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/runtime.vue +97 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +44 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.js +50 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/config.d.vue.ts +10 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/config.vue +141 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/config.vue.d.ts +10 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/header.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/header.vue +60 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/header.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue +117 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.d.ts +23 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.js +50 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.d.vue.ts +10 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.vue +255 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.vue.d.ts +10 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue +54 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +43 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.js +48 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/config.d.vue.ts +10 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/config.vue +280 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/config.vue.d.ts +10 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue +82 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +42 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.js +65 -0
- package/dist/runtime/components/table/config.d.vue.ts +16 -0
- package/dist/runtime/components/table/config.vue +1581 -0
- package/dist/runtime/components/table/config.vue.d.ts +16 -0
- package/dist/runtime/components/table/index.d.vue.ts +93 -0
- package/dist/runtime/components/table/index.vue +895 -0
- package/dist/runtime/components/table/index.vue.d.ts +93 -0
- package/dist/runtime/components/table/schema.d.ts +633 -0
- package/dist/runtime/components/table/schema.js +258 -0
- package/dist/runtime/components/table/utils/host.d.ts +9 -0
- package/dist/runtime/components/table/utils/host.js +8 -0
- package/dist/runtime/components/table/utils/resolve.d.ts +32 -0
- package/dist/runtime/components/table/utils/resolve.js +50 -0
- package/dist/runtime/components/table/utils/runtime.d.ts +6 -0
- package/dist/runtime/components/table/utils/runtime.js +28 -0
- package/dist/runtime/components/table/utils/schema-meta.d.ts +5 -0
- package/dist/runtime/components/table/utils/schema-meta.js +48 -0
- package/dist/runtime/components/table/utils/shared.d.ts +40 -0
- package/dist/runtime/components/table/utils/shared.js +67 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.d.vue.ts +21 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue +20 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue.d.ts +21 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.d.vue.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +21 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.d.vue.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +21 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.d.vue.ts +32 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +44 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +32 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.d.vue.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +22 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +15 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +15 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.d.vue.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +22 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue +16 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/alert-dialog/index.d.ts +9 -0
- package/dist/runtime/components/ui/alert-dialog/index.js +9 -0
- package/dist/runtime/components/ui/badge/Badge.d.vue.ts +20 -0
- package/dist/runtime/components/ui/badge/Badge.vue +24 -0
- package/dist/runtime/components/ui/badge/Badge.vue.d.ts +20 -0
- package/dist/runtime/components/ui/badge/index.d.ts +6 -0
- package/dist/runtime/components/ui/badge/index.js +18 -0
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.d.vue.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue +17 -0
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue.d.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.d.vue.ts +7 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +23 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +7 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.d.vue.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +16 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.d.vue.ts +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +28 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +20 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.d.vue.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +21 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.d.vue.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +19 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.d.vue.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +21 -0
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +17 -0
- package/dist/runtime/components/ui/breadcrumb/index.d.ts +7 -0
- package/dist/runtime/components/ui/breadcrumb/index.js +7 -0
- package/dist/runtime/components/ui/button/Button.d.vue.ts +27 -0
- package/dist/runtime/components/ui/button/Button.vue +28 -0
- package/dist/runtime/components/ui/button/Button.vue.d.ts +27 -0
- package/dist/runtime/components/ui/button/index.d.ts +7 -0
- package/dist/runtime/components/ui/button/index.js +25 -0
- package/dist/runtime/components/ui/button-group/ButtonGroup.d.vue.ts +19 -0
- package/dist/runtime/components/ui/button-group/ButtonGroup.vue +19 -0
- package/dist/runtime/components/ui/button-group/ButtonGroup.vue.d.ts +19 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupText.d.vue.ts +22 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupText.vue +23 -0
- package/dist/runtime/components/ui/button-group/ButtonGroupText.vue.d.ts +22 -0
- package/dist/runtime/components/ui/button-group/index.d.ts +7 -0
- package/dist/runtime/components/ui/button-group/index.js +17 -0
- package/dist/runtime/components/ui/calendar/Calendar.d.vue.ts +35 -0
- package/dist/runtime/components/ui/calendar/Calendar.vue +196 -0
- package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +35 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.vue +23 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.d.vue.ts +20 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +39 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue.d.ts +20 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.d.vue.ts +14 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue +16 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue.d.ts +14 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue +17 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.d.vue.ts +19 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue +27 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue.d.ts +19 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +31 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +31 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/index.d.ts +13 -0
- package/dist/runtime/components/ui/calendar/index.js +12 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.d.vue.ts +25 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +54 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +25 -0
- package/dist/runtime/components/ui/checkbox/index.d.ts +1 -0
- package/dist/runtime/components/ui/checkbox/index.js +1 -0
- package/dist/runtime/components/ui/collapsible/Collapsible.d.vue.ts +20 -0
- package/dist/runtime/components/ui/collapsible/Collapsible.vue +24 -0
- package/dist/runtime/components/ui/collapsible/Collapsible.vue.d.ts +20 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleContent.d.vue.ts +14 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue +17 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue.d.ts +14 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue +16 -0
- package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/collapsible/index.d.ts +3 -0
- package/dist/runtime/components/ui/collapsible/index.js +3 -0
- package/dist/runtime/components/ui/color-picker/ColorPicker.d.vue.ts +18 -0
- package/dist/runtime/components/ui/color-picker/ColorPicker.vue +51 -0
- package/dist/runtime/components/ui/color-picker/ColorPicker.vue.d.ts +18 -0
- package/dist/runtime/components/ui/color-picker/index.d.ts +1 -0
- package/dist/runtime/components/ui/color-picker/index.js +1 -0
- package/dist/runtime/components/ui/command/Command.d.vue.ts +36 -0
- package/dist/runtime/components/ui/command/Command.vue +82 -0
- package/dist/runtime/components/ui/command/Command.vue.d.ts +36 -0
- package/dist/runtime/components/ui/command/CommandDialog.d.vue.ts +28 -0
- package/dist/runtime/components/ui/command/CommandDialog.vue +34 -0
- package/dist/runtime/components/ui/command/CommandDialog.vue.d.ts +28 -0
- package/dist/runtime/components/ui/command/CommandEmpty.d.vue.ts +18 -0
- package/dist/runtime/components/ui/command/CommandEmpty.vue +28 -0
- package/dist/runtime/components/ui/command/CommandEmpty.vue.d.ts +18 -0
- package/dist/runtime/components/ui/command/CommandGroup.d.vue.ts +19 -0
- package/dist/runtime/components/ui/command/CommandGroup.vue +48 -0
- package/dist/runtime/components/ui/command/CommandGroup.vue.d.ts +19 -0
- package/dist/runtime/components/ui/command/CommandInput.d.vue.ts +8 -0
- package/dist/runtime/components/ui/command/CommandInput.vue +40 -0
- package/dist/runtime/components/ui/command/CommandInput.vue.d.ts +8 -0
- package/dist/runtime/components/ui/command/CommandItem.d.vue.ts +22 -0
- package/dist/runtime/components/ui/command/CommandItem.vue +65 -0
- package/dist/runtime/components/ui/command/CommandItem.vue.d.ts +22 -0
- package/dist/runtime/components/ui/command/CommandList.d.vue.ts +18 -0
- package/dist/runtime/components/ui/command/CommandList.vue +24 -0
- package/dist/runtime/components/ui/command/CommandList.vue.d.ts +18 -0
- package/dist/runtime/components/ui/command/CommandSeparator.d.vue.ts +18 -0
- package/dist/runtime/components/ui/command/CommandSeparator.vue +23 -0
- package/dist/runtime/components/ui/command/CommandSeparator.vue.d.ts +18 -0
- package/dist/runtime/components/ui/command/CommandShortcut.d.vue.ts +17 -0
- package/dist/runtime/components/ui/command/CommandShortcut.vue +15 -0
- package/dist/runtime/components/ui/command/CommandShortcut.vue.d.ts +17 -0
- package/dist/runtime/components/ui/command/index.d.ts +90 -0
- package/dist/runtime/components/ui/command/index.js +12 -0
- package/dist/runtime/components/ui/config-toolbar/ConfigToolbar.d.vue.ts +12 -0
- package/dist/runtime/components/ui/config-toolbar/ConfigToolbar.vue +152 -0
- package/dist/runtime/components/ui/config-toolbar/ConfigToolbar.vue.d.ts +12 -0
- package/dist/runtime/components/ui/config-toolbar/index.d.ts +1 -0
- package/dist/runtime/components/ui/config-toolbar/index.js +1 -0
- package/dist/runtime/components/ui/context-menu/ContextMenu.d.vue.ts +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenu.vue +19 -0
- package/dist/runtime/components/ui/context-menu/ContextMenu.vue.d.ts +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.d.vue.ts +26 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue +41 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +26 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.d.vue.ts +31 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue +48 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue.d.ts +31 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuGroup.d.vue.ts +14 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue +16 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue.d.ts +14 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.d.vue.ts +23 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue +27 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue.d.ts +23 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.d.vue.ts +19 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue +23 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue.d.ts +19 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.d.vue.ts +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue +19 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.d.vue.ts +25 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue +45 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +25 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.d.vue.ts +8 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue +19 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +8 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.d.vue.ts +17 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue +15 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +17 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSub.d.vue.ts +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue.d.ts +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.d.vue.ts +34 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue +41 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +34 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.d.vue.ts +19 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue +31 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +19 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue +18 -0
- package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/context-menu/index.d.ts +14 -0
- package/dist/runtime/components/ui/context-menu/index.js +14 -0
- package/dist/runtime/components/ui/date-picker/DatePicker.d.vue.ts +50 -0
- package/dist/runtime/components/ui/date-picker/DatePicker.vue +257 -0
- package/dist/runtime/components/ui/date-picker/DatePicker.vue.d.ts +50 -0
- package/dist/runtime/components/ui/date-picker/DatePickerDatePanel.d.vue.ts +14 -0
- package/dist/runtime/components/ui/date-picker/DatePickerDatePanel.vue +37 -0
- package/dist/runtime/components/ui/date-picker/DatePickerDatePanel.vue.d.ts +14 -0
- package/dist/runtime/components/ui/date-picker/DatePickerDateTimePanel.d.vue.ts +20 -0
- package/dist/runtime/components/ui/date-picker/DatePickerDateTimePanel.vue +147 -0
- package/dist/runtime/components/ui/date-picker/DatePickerDateTimePanel.vue.d.ts +20 -0
- package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +31 -0
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue +117 -0
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +31 -0
- package/dist/runtime/components/ui/date-picker/DatePickerMonthPanel.d.vue.ts +14 -0
- package/dist/runtime/components/ui/date-picker/DatePickerMonthPanel.vue +38 -0
- package/dist/runtime/components/ui/date-picker/DatePickerMonthPanel.vue.d.ts +14 -0
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +29 -0
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue +106 -0
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +29 -0
- package/dist/runtime/components/ui/date-picker/DatePickerYearPanel.d.vue.ts +14 -0
- package/dist/runtime/components/ui/date-picker/DatePickerYearPanel.vue +38 -0
- package/dist/runtime/components/ui/date-picker/DatePickerYearPanel.vue.d.ts +14 -0
- package/dist/runtime/components/ui/date-picker/PickerShortcuts.d.vue.ts +28 -0
- package/dist/runtime/components/ui/date-picker/PickerShortcuts.vue +37 -0
- package/dist/runtime/components/ui/date-picker/PickerShortcuts.vue.d.ts +28 -0
- package/dist/runtime/components/ui/date-picker/index.d.ts +10 -0
- package/dist/runtime/components/ui/date-picker/index.js +9 -0
- package/dist/runtime/components/ui/date-picker/types.d.ts +5 -0
- package/dist/runtime/components/ui/date-picker/types.js +7 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.d.vue.ts +54 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue +304 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue.d.ts +54 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerDatePanel.d.vue.ts +15 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerDatePanel.vue +27 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerDatePanel.vue.d.ts +15 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerDateTimePanel.d.vue.ts +23 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerDateTimePanel.vue +151 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerDateTimePanel.vue.d.ts +23 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +36 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue +169 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +36 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerMonthPanel.d.vue.ts +14 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerMonthPanel.vue +73 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerMonthPanel.vue.d.ts +14 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +34 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue +148 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +34 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerYearPanel.d.vue.ts +14 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerYearPanel.vue +73 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerYearPanel.vue.d.ts +14 -0
- package/dist/runtime/components/ui/date-range-picker/index.d.ts +9 -0
- package/dist/runtime/components/ui/date-range-picker/index.js +8 -0
- package/dist/runtime/components/ui/date-range-picker/types.d.ts +5 -0
- package/dist/runtime/components/ui/date-range-picker/types.js +7 -0
- package/dist/runtime/components/ui/dialog/Dialog.d.vue.ts +21 -0
- package/dist/runtime/components/ui/dialog/Dialog.vue +21 -0
- package/dist/runtime/components/ui/dialog/Dialog.vue.d.ts +21 -0
- package/dist/runtime/components/ui/dialog/DialogClose.d.vue.ts +14 -0
- package/dist/runtime/components/ui/dialog/DialogClose.vue +16 -0
- package/dist/runtime/components/ui/dialog/DialogClose.vue.d.ts +14 -0
- package/dist/runtime/components/ui/dialog/DialogContent.d.vue.ts +37 -0
- package/dist/runtime/components/ui/dialog/DialogContent.vue +164 -0
- package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +37 -0
- package/dist/runtime/components/ui/dialog/DialogDescription.d.vue.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogDescription.vue +22 -0
- package/dist/runtime/components/ui/dialog/DialogDescription.vue.d.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/dialog/DialogFooter.vue +15 -0
- package/dist/runtime/components/ui/dialog/DialogFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/dialog/DialogHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/dialog/DialogHeader.vue +15 -0
- package/dist/runtime/components/ui/dialog/DialogHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/dialog/DialogOverlay.d.vue.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue +22 -0
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue.d.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogScrollContent.d.vue.ts +38 -0
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +174 -0
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue.d.ts +38 -0
- package/dist/runtime/components/ui/dialog/DialogTitle.d.vue.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogTitle.vue +22 -0
- package/dist/runtime/components/ui/dialog/DialogTitle.vue.d.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/dialog/DialogTrigger.vue +16 -0
- package/dist/runtime/components/ui/dialog/DialogTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/dialog/index.d.ts +10 -0
- package/dist/runtime/components/ui/dialog/index.js +10 -0
- package/dist/runtime/components/ui/drawer/Drawer.d.vue.ts +31 -0
- package/dist/runtime/components/ui/drawer/Drawer.vue +39 -0
- package/dist/runtime/components/ui/drawer/Drawer.vue.d.ts +31 -0
- package/dist/runtime/components/ui/drawer/DrawerClose.d.vue.ts +14 -0
- package/dist/runtime/components/ui/drawer/DrawerClose.vue +19 -0
- package/dist/runtime/components/ui/drawer/DrawerClose.vue.d.ts +14 -0
- package/dist/runtime/components/ui/drawer/DrawerContent.d.vue.ts +24 -0
- package/dist/runtime/components/ui/drawer/DrawerContent.vue +183 -0
- package/dist/runtime/components/ui/drawer/DrawerContent.vue.d.ts +24 -0
- package/dist/runtime/components/ui/drawer/DrawerDescription.d.vue.ts +18 -0
- package/dist/runtime/components/ui/drawer/DrawerDescription.vue +26 -0
- package/dist/runtime/components/ui/drawer/DrawerDescription.vue.d.ts +18 -0
- package/dist/runtime/components/ui/drawer/DrawerFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/drawer/DrawerFooter.vue +15 -0
- package/dist/runtime/components/ui/drawer/DrawerFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/drawer/DrawerHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/drawer/DrawerHeader.vue +15 -0
- package/dist/runtime/components/ui/drawer/DrawerHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/drawer/DrawerOverlay.d.vue.ts +7 -0
- package/dist/runtime/components/ui/drawer/DrawerOverlay.vue +19 -0
- package/dist/runtime/components/ui/drawer/DrawerOverlay.vue.d.ts +7 -0
- package/dist/runtime/components/ui/drawer/DrawerTitle.d.vue.ts +18 -0
- package/dist/runtime/components/ui/drawer/DrawerTitle.vue +26 -0
- package/dist/runtime/components/ui/drawer/DrawerTitle.vue.d.ts +18 -0
- package/dist/runtime/components/ui/drawer/DrawerTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/drawer/DrawerTrigger.vue +19 -0
- package/dist/runtime/components/ui/drawer/DrawerTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/drawer/index.d.ts +8 -0
- package/dist/runtime/components/ui/drawer/index.js +8 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.d.vue.ts +20 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue +21 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +20 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +32 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +52 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +32 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +26 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +29 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/dropdown-menu/index.d.ts +4 -0
- package/dist/runtime/components/ui/dropdown-menu/index.js +4 -0
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.d.vue.ts +22 -0
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +150 -0
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue.d.ts +22 -0
- package/dist/runtime/components/ui/expression-editor/index.d.ts +1 -0
- package/dist/runtime/components/ui/expression-editor/index.js +1 -0
- package/dist/runtime/components/ui/field/Field.d.vue.ts +19 -0
- package/dist/runtime/components/ui/field/Field.vue +23 -0
- package/dist/runtime/components/ui/field/Field.vue.d.ts +19 -0
- package/dist/runtime/components/ui/field/FieldContent.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldContent.vue +18 -0
- package/dist/runtime/components/ui/field/FieldContent.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldDescription.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldDescription.vue +20 -0
- package/dist/runtime/components/ui/field/FieldDescription.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldError.d.vue.ts +20 -0
- package/dist/runtime/components/ui/field/FieldError.vue +51 -0
- package/dist/runtime/components/ui/field/FieldError.vue.d.ts +20 -0
- package/dist/runtime/components/ui/field/FieldGroup.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldGroup.vue +18 -0
- package/dist/runtime/components/ui/field/FieldGroup.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldLabel.d.vue.ts +19 -0
- package/dist/runtime/components/ui/field/FieldLabel.vue +29 -0
- package/dist/runtime/components/ui/field/FieldLabel.vue.d.ts +19 -0
- package/dist/runtime/components/ui/field/FieldLegend.d.vue.ts +18 -0
- package/dist/runtime/components/ui/field/FieldLegend.vue +22 -0
- package/dist/runtime/components/ui/field/FieldLegend.vue.d.ts +18 -0
- package/dist/runtime/components/ui/field/FieldSeparator.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldSeparator.vue +27 -0
- package/dist/runtime/components/ui/field/FieldSeparator.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldSet.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldSet.vue +15 -0
- package/dist/runtime/components/ui/field/FieldSet.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldTitle.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldTitle.vue +18 -0
- package/dist/runtime/components/ui/field/FieldTitle.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/index.d.ts +15 -0
- package/dist/runtime/components/ui/field/index.js +61 -0
- package/dist/runtime/components/ui/icon-picker/IconPicker.d.vue.ts +12 -0
- package/dist/runtime/components/ui/icon-picker/IconPicker.vue +48 -0
- package/dist/runtime/components/ui/icon-picker/IconPicker.vue.d.ts +12 -0
- package/dist/runtime/components/ui/icon-picker/index.d.ts +1 -0
- package/dist/runtime/components/ui/icon-picker/index.js +1 -0
- package/dist/runtime/components/ui/input/Input.d.vue.ts +15 -0
- package/dist/runtime/components/ui/input/Input.vue +31 -0
- package/dist/runtime/components/ui/input/Input.vue.d.ts +15 -0
- package/dist/runtime/components/ui/input/index.d.ts +1 -0
- package/dist/runtime/components/ui/input/index.js +1 -0
- package/dist/runtime/components/ui/input-group/InputGroup.d.vue.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroup.vue +34 -0
- package/dist/runtime/components/ui/input-group/InputGroup.vue.d.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.d.vue.ts +21 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +33 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue.d.ts +21 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +24 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue +20 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +24 -0
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.d.vue.ts +28 -0
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue +90 -0
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue.d.ts +28 -0
- package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.d.vue.ts +10 -0
- package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.vue +27 -0
- package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.vue.d.ts +10 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.d.vue.ts +8 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue +20 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue.d.ts +8 -0
- package/dist/runtime/components/ui/input-group/InputGroupNumberField.d.vue.ts +18 -0
- package/dist/runtime/components/ui/input-group/InputGroupNumberField.vue +57 -0
- package/dist/runtime/components/ui/input-group/InputGroupNumberField.vue.d.ts +18 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.d.vue.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.vue +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.vue.d.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.d.vue.ts +7 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue.d.ts +7 -0
- package/dist/runtime/components/ui/input-group/index.d.ts +19 -0
- package/dist/runtime/components/ui/input-group/index.js +43 -0
- package/dist/runtime/components/ui/label/Label.d.vue.ts +18 -0
- package/dist/runtime/components/ui/label/Label.vue +50 -0
- package/dist/runtime/components/ui/label/Label.vue.d.ts +18 -0
- package/dist/runtime/components/ui/label/index.d.ts +1 -0
- package/dist/runtime/components/ui/label/index.js +1 -0
- package/dist/runtime/components/ui/locale/Locale.d.vue.ts +28 -0
- package/dist/runtime/components/ui/locale/Locale.vue +350 -0
- package/dist/runtime/components/ui/locale/Locale.vue.d.ts +28 -0
- package/dist/runtime/components/ui/locale/index.d.ts +1 -0
- package/dist/runtime/components/ui/locale/index.js +1 -0
- package/dist/runtime/components/ui/markdown/Markdown.d.vue.ts +26 -0
- package/dist/runtime/components/ui/markdown/Markdown.vue +109 -0
- package/dist/runtime/components/ui/markdown/Markdown.vue.d.ts +26 -0
- package/dist/runtime/components/ui/markdown/index.d.ts +1 -0
- package/dist/runtime/components/ui/markdown/index.js +1 -0
- package/dist/runtime/components/ui/native-select/NativeSelect.d.vue.ts +23 -0
- package/dist/runtime/components/ui/native-select/NativeSelect.vue +42 -0
- package/dist/runtime/components/ui/native-select/NativeSelect.vue.d.ts +23 -0
- package/dist/runtime/components/ui/native-select/index.d.ts +1 -0
- package/dist/runtime/components/ui/native-select/index.js +1 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.d.vue.ts +27 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue +41 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue.d.ts +27 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.d.vue.ts +28 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue +32 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue.d.ts +28 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.d.vue.ts +8 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue +23 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue.d.ts +8 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.d.vue.ts +18 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue +22 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue.d.ts +18 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.d.vue.ts +26 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue +27 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue.d.ts +26 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.d.vue.ts +18 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue +27 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue.d.ts +18 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.d.vue.ts +18 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue +33 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue.d.ts +18 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.d.vue.ts +8 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue +32 -0
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue.d.ts +8 -0
- package/dist/runtime/components/ui/navigation-menu/index.d.ts +9 -0
- package/dist/runtime/components/ui/navigation-menu/index.js +12 -0
- package/dist/runtime/components/ui/number-field/NumberField.d.vue.ts +26 -0
- package/dist/runtime/components/ui/number-field/NumberField.vue +39 -0
- package/dist/runtime/components/ui/number-field/NumberField.vue.d.ts +26 -0
- package/dist/runtime/components/ui/number-field/NumberFieldContent.d.vue.ts +17 -0
- package/dist/runtime/components/ui/number-field/NumberFieldContent.vue +12 -0
- package/dist/runtime/components/ui/number-field/NumberFieldContent.vue.d.ts +17 -0
- package/dist/runtime/components/ui/number-field/NumberFieldDecrement.d.vue.ts +18 -0
- package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue +29 -0
- package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue.d.ts +18 -0
- package/dist/runtime/components/ui/number-field/NumberFieldIncrement.d.vue.ts +18 -0
- package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue +29 -0
- package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue.d.ts +18 -0
- package/dist/runtime/components/ui/number-field/NumberFieldInput.d.vue.ts +7 -0
- package/dist/runtime/components/ui/number-field/NumberFieldInput.vue +14 -0
- package/dist/runtime/components/ui/number-field/NumberFieldInput.vue.d.ts +7 -0
- package/dist/runtime/components/ui/number-field/index.d.ts +5 -0
- package/dist/runtime/components/ui/number-field/index.js +5 -0
- package/dist/runtime/components/ui/popover/Popover.d.vue.ts +21 -0
- package/dist/runtime/components/ui/popover/Popover.vue +21 -0
- package/dist/runtime/components/ui/popover/Popover.vue.d.ts +21 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.d.vue.ts +14 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue +17 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue.d.ts +14 -0
- package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +36 -0
- package/dist/runtime/components/ui/popover/PopoverContent.vue +58 -0
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +36 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue +16 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/popover/index.d.ts +4 -0
- package/dist/runtime/components/ui/popover/index.js +4 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +100 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue +49 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.d.vue.ts +20 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue +45 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +20 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue +22 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.d.vue.ts +14 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue +16 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +14 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.d.vue.ts +14 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue +16 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +14 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue +22 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue +22 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue +22 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.d.vue.ts +19 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue +26 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +19 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue +32 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue +32 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/index.d.ts +12 -0
- package/dist/runtime/components/ui/range-calendar/index.js +12 -0
- package/dist/runtime/components/ui/scroll-area/ScrollArea.d.vue.ts +18 -0
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue +37 -0
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue.d.ts +18 -0
- package/dist/runtime/components/ui/scroll-area/ScrollBar.d.vue.ts +10 -0
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue +32 -0
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue.d.ts +10 -0
- package/dist/runtime/components/ui/scroll-area/index.d.ts +2 -0
- package/dist/runtime/components/ui/scroll-area/index.js +2 -0
- package/dist/runtime/components/ui/select/Select.d.vue.ts +24 -0
- package/dist/runtime/components/ui/select/Select.vue +29 -0
- package/dist/runtime/components/ui/select/Select.vue.d.ts +24 -0
- package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +28 -0
- package/dist/runtime/components/ui/select/SelectContent.vue +68 -0
- package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +28 -0
- package/dist/runtime/components/ui/select/SelectGroup.d.vue.ts +14 -0
- package/dist/runtime/components/ui/select/SelectGroup.vue +17 -0
- package/dist/runtime/components/ui/select/SelectGroup.vue.d.ts +14 -0
- package/dist/runtime/components/ui/select/SelectItem.d.vue.ts +20 -0
- package/dist/runtime/components/ui/select/SelectItem.vue +48 -0
- package/dist/runtime/components/ui/select/SelectItem.vue.d.ts +20 -0
- package/dist/runtime/components/ui/select/SelectItemText.d.vue.ts +14 -0
- package/dist/runtime/components/ui/select/SelectItemText.vue +17 -0
- package/dist/runtime/components/ui/select/SelectItemText.vue.d.ts +14 -0
- package/dist/runtime/components/ui/select/SelectLabel.d.vue.ts +18 -0
- package/dist/runtime/components/ui/select/SelectLabel.vue +20 -0
- package/dist/runtime/components/ui/select/SelectLabel.vue.d.ts +18 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +29 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +29 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/select/SelectSeparator.d.vue.ts +8 -0
- package/dist/runtime/components/ui/select/SelectSeparator.vue +20 -0
- package/dist/runtime/components/ui/select/SelectSeparator.vue.d.ts +8 -0
- package/dist/runtime/components/ui/select/SelectTrigger.d.vue.ts +21 -0
- package/dist/runtime/components/ui/select/SelectTrigger.vue +38 -0
- package/dist/runtime/components/ui/select/SelectTrigger.vue.d.ts +21 -0
- package/dist/runtime/components/ui/select/SelectValue.d.vue.ts +14 -0
- package/dist/runtime/components/ui/select/SelectValue.vue +18 -0
- package/dist/runtime/components/ui/select/SelectValue.vue.d.ts +14 -0
- package/dist/runtime/components/ui/select/index.d.ts +11 -0
- package/dist/runtime/components/ui/select/index.js +11 -0
- package/dist/runtime/components/ui/separator/Separator.d.vue.ts +11 -0
- package/dist/runtime/components/ui/separator/Separator.vue +27 -0
- package/dist/runtime/components/ui/separator/Separator.vue.d.ts +11 -0
- package/dist/runtime/components/ui/separator/index.d.ts +1 -0
- package/dist/runtime/components/ui/separator/index.js +1 -0
- package/dist/runtime/components/ui/sheet/Sheet.d.vue.ts +21 -0
- package/dist/runtime/components/ui/sheet/Sheet.vue +21 -0
- package/dist/runtime/components/ui/sheet/Sheet.vue.d.ts +21 -0
- package/dist/runtime/components/ui/sheet/SheetClose.d.vue.ts +14 -0
- package/dist/runtime/components/ui/sheet/SheetClose.vue +16 -0
- package/dist/runtime/components/ui/sheet/SheetClose.vue.d.ts +14 -0
- package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +35 -0
- package/dist/runtime/components/ui/sheet/SheetContent.vue +53 -0
- package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +35 -0
- package/dist/runtime/components/ui/sheet/SheetDescription.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetDescription.vue +21 -0
- package/dist/runtime/components/ui/sheet/SheetDescription.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.vue +17 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.vue +15 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue +22 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.vue +21 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue +16 -0
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/sheet/index.d.ts +8 -0
- package/dist/runtime/components/ui/sheet/index.js +8 -0
- package/dist/runtime/components/ui/sidebar/Sidebar.d.vue.ts +22 -0
- package/dist/runtime/components/ui/sidebar/Sidebar.vue +93 -0
- package/dist/runtime/components/ui/sidebar/Sidebar.vue.d.ts +22 -0
- package/dist/runtime/components/ui/sidebar/SidebarContent.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarContent.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarContent.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarFooter.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroup.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroup.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroup.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue +26 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue +25 -0
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sidebar/SidebarHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarHeader.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarInput.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarInput.vue +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarInput.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarInset.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarInset.vue +19 -0
- package/dist/runtime/components/ui/sidebar/SidebarInset.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenu.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenu.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenu.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.d.vue.ts +21 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +31 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue.d.ts +21 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue +24 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.d.vue.ts +24 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue +50 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +24 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.d.vue.ts +26 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue +28 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +26 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.d.vue.ts +8 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +32 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +8 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue +20 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.d.vue.ts +23 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue +32 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +23 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue +16 -0
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarProvider.d.vue.ts +26 -0
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +61 -0
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue.d.ts +26 -0
- package/dist/runtime/components/ui/sidebar/SidebarRail.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarRail.vue +30 -0
- package/dist/runtime/components/ui/sidebar/SidebarRail.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.d.vue.ts +7 -0
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +23 -0
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue.d.ts +7 -0
- package/dist/runtime/components/ui/sidebar/index.d.ts +37 -0
- package/dist/runtime/components/ui/sidebar/index.js +45 -0
- package/dist/runtime/components/ui/sidebar/utils.d.ts +56 -0
- package/dist/runtime/components/ui/sidebar/utils.js +8 -0
- package/dist/runtime/components/ui/skeleton/Skeleton.d.vue.ts +7 -0
- package/dist/runtime/components/ui/skeleton/Skeleton.vue +14 -0
- package/dist/runtime/components/ui/skeleton/Skeleton.vue.d.ts +7 -0
- package/dist/runtime/components/ui/skeleton/index.d.ts +1 -0
- package/dist/runtime/components/ui/skeleton/index.js +1 -0
- package/dist/runtime/components/ui/switch/Switch.d.vue.ts +29 -0
- package/dist/runtime/components/ui/switch/Switch.vue +58 -0
- package/dist/runtime/components/ui/switch/Switch.vue.d.ts +29 -0
- package/dist/runtime/components/ui/switch/index.d.ts +1 -0
- package/dist/runtime/components/ui/switch/index.js +1 -0
- package/dist/runtime/components/ui/tabs/Tabs.d.vue.ts +24 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue +31 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +24 -0
- package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue +23 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsList.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue +86 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue +32 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/index.d.ts +4 -0
- package/dist/runtime/components/ui/tabs/index.js +4 -0
- package/dist/runtime/components/ui/textarea/Textarea.d.vue.ts +14 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue +29 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +14 -0
- package/dist/runtime/components/ui/textarea/index.d.ts +1 -0
- package/dist/runtime/components/ui/textarea/index.js +1 -0
- package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +34 -0
- package/dist/runtime/components/ui/toggle/Toggle.vue +33 -0
- package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +34 -0
- package/dist/runtime/components/ui/toggle/index.d.ts +7 -0
- package/dist/runtime/components/ui/toggle/index.js +23 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +28 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +41 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +28 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.d.vue.ts +21 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +33 -0
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +21 -0
- package/dist/runtime/components/ui/toggle-group/index.d.ts +8 -0
- package/dist/runtime/components/ui/toggle-group/index.js +3 -0
- package/dist/runtime/components/ui/tooltip/Tooltip.d.vue.ts +20 -0
- package/dist/runtime/components/ui/tooltip/Tooltip.vue +27 -0
- package/dist/runtime/components/ui/tooltip/Tooltip.vue.d.ts +20 -0
- package/dist/runtime/components/ui/tooltip/TooltipContent.d.vue.ts +27 -0
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue +59 -0
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +27 -0
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue +17 -0
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/tooltip/index.d.ts +3 -0
- package/dist/runtime/components/ui/tooltip/index.js +3 -0
- package/dist/runtime/composables/useCel.d.ts +16 -0
- package/dist/runtime/composables/useCel.js +8 -0
- package/dist/runtime/composables/useDragging.d.ts +25 -0
- package/dist/runtime/composables/useDragging.js +76 -0
- package/dist/runtime/composables/useInfinitePlane.d.ts +30 -0
- package/dist/runtime/composables/useInfinitePlane.js +24 -0
- package/dist/runtime/composables/useOverlay.d.ts +110 -0
- package/dist/runtime/composables/useOverlay.js +268 -0
- package/dist/runtime/composables/useTranslateLocale.d.ts +11 -0
- package/dist/runtime/composables/useTranslateLocale.js +66 -0
- package/dist/runtime/composables/useTreeDnd.d.ts +52 -0
- package/dist/runtime/composables/useTreeDnd.js +211 -0
- package/dist/runtime/middleware/token.d.ts +2 -0
- package/dist/runtime/middleware/token.js +20 -0
- package/dist/runtime/plugins/ai/cel-prompt.d.ts +11 -0
- package/dist/runtime/plugins/ai/cel-prompt.js +27 -0
- package/dist/runtime/plugins/ai/gate.d.ts +1 -0
- package/dist/runtime/plugins/ai/gate.js +8 -0
- package/dist/runtime/plugins/ai/index.d.ts +48 -0
- package/dist/runtime/plugins/ai/index.js +522 -0
- package/dist/runtime/plugins/ai/settings-state.d.ts +1 -0
- package/dist/runtime/plugins/ai/settings-state.js +2 -0
- package/dist/runtime/plugins/ai/store.d.ts +17 -0
- package/dist/runtime/plugins/ai/store.js +40 -0
- package/dist/runtime/plugins/cel/context.d.ts +10 -0
- package/dist/runtime/plugins/cel/context.js +17 -0
- package/dist/runtime/plugins/cel/http.d.ts +8 -0
- package/dist/runtime/plugins/cel/http.js +49 -0
- package/dist/runtime/plugins/cel/index.d.ts +9 -0
- package/dist/runtime/plugins/cel/index.js +52 -0
- package/dist/runtime/plugins/http/builder.d.ts +14 -0
- package/dist/runtime/plugins/http/builder.js +109 -0
- package/dist/runtime/plugins/http/index.d.ts +19 -0
- package/dist/runtime/plugins/http/index.js +35 -0
- package/dist/runtime/plugins/i18n/index.d.ts +2 -0
- package/dist/runtime/plugins/i18n/index.js +14 -0
- package/dist/runtime/plugins/toast/index.d.ts +108 -0
- package/dist/runtime/plugins/toast/index.js +10 -0
- package/dist/runtime/share/define-registry.d.ts +57 -0
- package/dist/runtime/share/define-registry.js +63 -0
- package/dist/runtime/share/expression.d.ts +15 -0
- package/dist/runtime/share/expression.js +132 -0
- package/dist/runtime/share/layout.d.ts +122 -0
- package/dist/runtime/share/layout.js +219 -0
- package/dist/runtime/share/locale.d.ts +11 -0
- package/dist/runtime/share/locale.js +37 -0
- package/dist/runtime/share/markdown.d.ts +9 -0
- package/dist/runtime/share/markdown.js +6 -0
- package/dist/runtime/share/slot-renderer.d.vue.ts +50 -0
- package/dist/runtime/share/slot-renderer.vue +116 -0
- package/dist/runtime/share/slot-renderer.vue.d.ts +50 -0
- package/dist/runtime/share/use-active-tab-id.d.ts +13 -0
- package/dist/runtime/share/use-active-tab-id.js +34 -0
- package/dist/runtime/shims.d.ts +4 -0
- package/dist/runtime/style.css +1 -0
- package/dist/runtime/types.d.ts +23 -0
- package/dist/runtime/utils/cn.d.ts +2 -0
- package/dist/runtime/utils/cn.js +3 -0
- package/dist/runtime/utils/config-clipboard.d.ts +4 -0
- package/dist/runtime/utils/config-clipboard.js +12 -0
- package/dist/runtime/utils/markdown-tooltip.d.ts +4 -0
- package/dist/runtime/utils/markdown-tooltip.js +55 -0
- package/dist/runtime/utils/markdown.d.ts +5 -0
- package/dist/runtime/utils/markdown.js +6 -0
- package/dist/runtime/vendor/cel-js/CLAUDE.md +74 -0
- package/dist/runtime/vendor/cel-js/LICENSE +21 -0
- package/dist/runtime/vendor/cel-js/PROMPT.md +311 -0
- package/dist/runtime/vendor/cel-js/VENDORED +3 -0
- package/dist/runtime/vendor/cel-js/__tests__/helpers.d.ts +8 -0
- package/dist/runtime/vendor/cel-js/__tests__/helpers.js +18 -0
- package/dist/runtime/vendor/cel-js/lib/decimal.d.ts +31 -0
- package/dist/runtime/vendor/cel-js/lib/decimal.js +208 -0
- package/dist/runtime/vendor/cel-js/lib/errors.d.ts +50 -0
- package/dist/runtime/vendor/cel-js/lib/errors.js +112 -0
- package/dist/runtime/vendor/cel-js/lib/evaluator.d.ts +37 -0
- package/dist/runtime/vendor/cel-js/lib/evaluator.js +163 -0
- package/dist/runtime/vendor/cel-js/lib/functions.d.ts +2 -0
- package/dist/runtime/vendor/cel-js/lib/functions.js +340 -0
- package/dist/runtime/vendor/cel-js/lib/globals.d.ts +27 -0
- package/dist/runtime/vendor/cel-js/lib/globals.js +31 -0
- package/dist/runtime/vendor/cel-js/lib/http-builtins.d.ts +16 -0
- package/dist/runtime/vendor/cel-js/lib/http-builtins.js +15 -0
- package/dist/runtime/vendor/cel-js/lib/index.d.ts +3 -0
- package/dist/runtime/vendor/cel-js/lib/index.js +3 -0
- package/dist/runtime/vendor/cel-js/lib/macros.d.ts +2 -0
- package/dist/runtime/vendor/cel-js/lib/macros.js +268 -0
- package/dist/runtime/vendor/cel-js/lib/operators.d.ts +29 -0
- package/dist/runtime/vendor/cel-js/lib/operators.js +673 -0
- package/dist/runtime/vendor/cel-js/lib/optional.d.ts +5 -0
- package/dist/runtime/vendor/cel-js/lib/optional.js +111 -0
- package/dist/runtime/vendor/cel-js/lib/options.d.ts +15 -0
- package/dist/runtime/vendor/cel-js/lib/options.js +37 -0
- package/dist/runtime/vendor/cel-js/lib/overloads.d.ts +2 -0
- package/dist/runtime/vendor/cel-js/lib/overloads.js +170 -0
- package/dist/runtime/vendor/cel-js/lib/parser.d.ts +83 -0
- package/dist/runtime/vendor/cel-js/lib/parser.js +787 -0
- package/dist/runtime/vendor/cel-js/lib/registry.d.ts +209 -0
- package/dist/runtime/vendor/cel-js/lib/registry.js +1326 -0
- package/dist/runtime/vendor/cel-js/lib/serialize.d.ts +3 -0
- package/dist/runtime/vendor/cel-js/lib/serialize.js +168 -0
- package/dist/runtime/vendor/cel-js/lib/type-checker.d.ts +15 -0
- package/dist/runtime/vendor/cel-js/lib/type-checker.js +56 -0
- package/dist/runtime/vendor/cel-js/lib/types.d.ts +192 -0
- package/dist/runtime/vendor/cel-js/lib/types.js +0 -0
- package/dist/shared/config.DW2OtAXe.mjs +86529 -0
- package/dist/types.d.mts +3 -0
- package/package.json +105 -0
|
@@ -0,0 +1,1312 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { Icon } from "@iconify/vue";
|
|
3
|
+
import { useEventListener } from "@vueuse/core";
|
|
4
|
+
import { computed, onMounted, ref, watch } from "vue";
|
|
5
|
+
import { Button } from "../ui/button";
|
|
6
|
+
import { CommandGroup, CommandItem } from "../ui/command";
|
|
7
|
+
import {
|
|
8
|
+
ContextMenu,
|
|
9
|
+
ContextMenuContent,
|
|
10
|
+
ContextMenuItem,
|
|
11
|
+
ContextMenuRadioGroup,
|
|
12
|
+
ContextMenuRadioItem,
|
|
13
|
+
ContextMenuSeparator,
|
|
14
|
+
ContextMenuTrigger
|
|
15
|
+
} from "../ui/context-menu";
|
|
16
|
+
import { Tooltip, TooltipContent, TooltipTrigger } from "../ui/tooltip";
|
|
17
|
+
import {
|
|
18
|
+
InputGroup,
|
|
19
|
+
InputGroupAddon,
|
|
20
|
+
InputGroupCombobox,
|
|
21
|
+
InputGroupNumberField
|
|
22
|
+
} from "../ui/input-group";
|
|
23
|
+
import { Field, FieldLabel } from "../ui/field";
|
|
24
|
+
import useInfinitePlane from "../../composables/useInfinitePlane";
|
|
25
|
+
import { findFreePlacement } from "../../share/layout";
|
|
26
|
+
defineOptions({ name: "ShwfedBlockLayoutEditor" });
|
|
27
|
+
const layouts = defineModel({ type: Array, ...{ required: true } });
|
|
28
|
+
const activeIndex = defineModel("activeIndex", { type: Number, ...{ default: 0 } });
|
|
29
|
+
const selectedItemIds = defineModel("selectedItemIds", { type: Array, ...{ default: () => [] } });
|
|
30
|
+
const selectedSet = computed(() => new Set(selectedItemIds.value));
|
|
31
|
+
function isSelected(id) {
|
|
32
|
+
return selectedSet.value.has(id);
|
|
33
|
+
}
|
|
34
|
+
function setSelection(ids) {
|
|
35
|
+
const seen = /* @__PURE__ */ new Set();
|
|
36
|
+
const out = [];
|
|
37
|
+
for (const id of ids) {
|
|
38
|
+
if (seen.has(id)) continue;
|
|
39
|
+
seen.add(id);
|
|
40
|
+
out.push(id);
|
|
41
|
+
}
|
|
42
|
+
selectedItemIds.value = out;
|
|
43
|
+
}
|
|
44
|
+
function addToSelection(ids) {
|
|
45
|
+
setSelection([...selectedItemIds.value, ...ids]);
|
|
46
|
+
}
|
|
47
|
+
function onItemClick(itemId, e) {
|
|
48
|
+
if (dragJustEnded) return;
|
|
49
|
+
if (e.shiftKey) addToSelection([itemId]);
|
|
50
|
+
else setSelection([itemId]);
|
|
51
|
+
}
|
|
52
|
+
function onItemContextMenu(itemId) {
|
|
53
|
+
if (!isSelected(itemId)) setSelection([itemId]);
|
|
54
|
+
}
|
|
55
|
+
const props = defineProps({
|
|
56
|
+
items: { type: Array, required: true },
|
|
57
|
+
findEntry: { type: Function, required: true },
|
|
58
|
+
getItemLabel: { type: Function, required: false },
|
|
59
|
+
itemNoun: { type: String, required: false },
|
|
60
|
+
pickerEntries: { type: Array, required: false },
|
|
61
|
+
canDelete: { type: Boolean, required: false }
|
|
62
|
+
});
|
|
63
|
+
const emit = defineEmits(["add-new", "drill-down", "delete-item", "delete-items"]);
|
|
64
|
+
let pendingAddSilent = false;
|
|
65
|
+
function captureAddModifiers(e) {
|
|
66
|
+
pendingAddSilent = e.metaKey || e.ctrlKey;
|
|
67
|
+
}
|
|
68
|
+
function emitAddNew(entry) {
|
|
69
|
+
const silent = pendingAddSilent;
|
|
70
|
+
pendingAddSilent = false;
|
|
71
|
+
emit("add-new", entry, { silent });
|
|
72
|
+
}
|
|
73
|
+
const itemNoun = computed(() => props.itemNoun ?? "\u5757");
|
|
74
|
+
const CANVAS_STEP_PX = 24;
|
|
75
|
+
const activeLayout = computed(() => layouts.value[activeIndex.value]);
|
|
76
|
+
const GAP_DEFAULT = 4;
|
|
77
|
+
const editorGaps = ref(/* @__PURE__ */ new Map());
|
|
78
|
+
function getGap(i) {
|
|
79
|
+
const cached = editorGaps.value.get(i);
|
|
80
|
+
if (cached !== void 0) return cached;
|
|
81
|
+
return layouts.value[i]?.layout.gap ?? GAP_DEFAULT;
|
|
82
|
+
}
|
|
83
|
+
const activeGap = computed(() => getGap(activeIndex.value));
|
|
84
|
+
const stepPx = computed(() => CANVAS_STEP_PX);
|
|
85
|
+
function setGap(value) {
|
|
86
|
+
const n = typeof value === "number" ? value : Number(value);
|
|
87
|
+
if (!Number.isFinite(n) || n < 0) return;
|
|
88
|
+
const next = new Map(editorGaps.value);
|
|
89
|
+
next.set(activeIndex.value, Math.floor(n));
|
|
90
|
+
editorGaps.value = next;
|
|
91
|
+
writeTracks(activeIndex.value);
|
|
92
|
+
}
|
|
93
|
+
function frameSize(ls) {
|
|
94
|
+
let cols = 0;
|
|
95
|
+
let rows = 0;
|
|
96
|
+
for (const p of Object.values(ls.layout.placements)) {
|
|
97
|
+
const [, [x2, y2]] = p.area;
|
|
98
|
+
if (x2 - 1 > cols) cols = x2 - 1;
|
|
99
|
+
if (y2 - 1 > rows) rows = y2 - 1;
|
|
100
|
+
}
|
|
101
|
+
return { cols, rows };
|
|
102
|
+
}
|
|
103
|
+
const activeFrame = computed(() => activeLayout.value ? frameSize(activeLayout.value) : { cols: 0, rows: 0 });
|
|
104
|
+
function setLayout(i, updater) {
|
|
105
|
+
const ls = layouts.value[i];
|
|
106
|
+
if (!ls) return;
|
|
107
|
+
const next = [...layouts.value];
|
|
108
|
+
next[i] = updater(ls);
|
|
109
|
+
layouts.value = next;
|
|
110
|
+
}
|
|
111
|
+
function writeTracks(i, nextPlacements) {
|
|
112
|
+
const gap = getGap(i);
|
|
113
|
+
const current = layouts.value[i];
|
|
114
|
+
if (!current) return;
|
|
115
|
+
const source = nextPlacements ?? current.layout.placements;
|
|
116
|
+
let minX = Infinity;
|
|
117
|
+
let minY = Infinity;
|
|
118
|
+
for (const p of Object.values(source)) {
|
|
119
|
+
if (p.area[0][0] < minX) minX = p.area[0][0];
|
|
120
|
+
if (p.area[0][1] < minY) minY = p.area[0][1];
|
|
121
|
+
}
|
|
122
|
+
const sx = Number.isFinite(minX) && minX !== 1 ? 1 - minX : 0;
|
|
123
|
+
const sy = Number.isFinite(minY) && minY !== 1 ? 1 - minY : 0;
|
|
124
|
+
const placements = sx || sy ? Object.fromEntries(
|
|
125
|
+
Object.entries(source).map(([id, p]) => {
|
|
126
|
+
const [[ax, ay], [bx, by]] = p.area;
|
|
127
|
+
return [id, { ...p, area: [[ax + sx, ay + sy], [bx + sx, by + sy]] }];
|
|
128
|
+
})
|
|
129
|
+
) : source;
|
|
130
|
+
if (sx || sy) {
|
|
131
|
+
coordinate.value = {
|
|
132
|
+
x: coordinate.value.x - sx * stepPx.value,
|
|
133
|
+
y: coordinate.value.y - sy * stepPx.value
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
setLayout(i, (ls) => {
|
|
137
|
+
let cols = 0;
|
|
138
|
+
let rows = 0;
|
|
139
|
+
for (const p of Object.values(placements)) {
|
|
140
|
+
const [, [x2, y2]] = p.area;
|
|
141
|
+
if (x2 - 1 > cols) cols = x2 - 1;
|
|
142
|
+
if (y2 - 1 > rows) rows = y2 - 1;
|
|
143
|
+
}
|
|
144
|
+
const nextLayout = {
|
|
145
|
+
...ls.layout,
|
|
146
|
+
placements,
|
|
147
|
+
columns: Math.max(1, cols),
|
|
148
|
+
rows: Math.max(1, rows),
|
|
149
|
+
...gap > 0 ? { gap } : {}
|
|
150
|
+
};
|
|
151
|
+
if (gap === 0 && "gap" in nextLayout) delete nextLayout.gap;
|
|
152
|
+
return { ...ls, layout: nextLayout };
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
const isSpaceHeld = ref(false);
|
|
156
|
+
function isTextInput(el) {
|
|
157
|
+
if (!(el instanceof HTMLElement)) return false;
|
|
158
|
+
const tag = el.tagName;
|
|
159
|
+
if (tag === "INPUT" || tag === "TEXTAREA" || tag === "SELECT") return true;
|
|
160
|
+
if (el.isContentEditable) return true;
|
|
161
|
+
return false;
|
|
162
|
+
}
|
|
163
|
+
useEventListener("keydown", (e) => {
|
|
164
|
+
if (e.code !== "Space") return;
|
|
165
|
+
if (isTextInput(e.target)) return;
|
|
166
|
+
isSpaceHeld.value = true;
|
|
167
|
+
e.preventDefault();
|
|
168
|
+
});
|
|
169
|
+
useEventListener("keyup", (e) => {
|
|
170
|
+
if (e.code !== "Space") return;
|
|
171
|
+
isSpaceHeld.value = false;
|
|
172
|
+
});
|
|
173
|
+
useEventListener(() => window, "blur", () => {
|
|
174
|
+
isSpaceHeld.value = false;
|
|
175
|
+
});
|
|
176
|
+
const { planeRef, coordinate, bgStyle, isDragging: isPanning } = useInfinitePlane({
|
|
177
|
+
gap: CANVAS_STEP_PX,
|
|
178
|
+
enabled: isSpaceHeld
|
|
179
|
+
});
|
|
180
|
+
onMounted(() => recenterSoon());
|
|
181
|
+
function recenter() {
|
|
182
|
+
const el = planeRef.value;
|
|
183
|
+
if (!el) return;
|
|
184
|
+
const rect = el.getBoundingClientRect();
|
|
185
|
+
const frame = activeFrame.value;
|
|
186
|
+
const frameW = frame.cols * stepPx.value;
|
|
187
|
+
const frameH = frame.rows * stepPx.value;
|
|
188
|
+
coordinate.value = {
|
|
189
|
+
x: Math.round((rect.width - frameW) / 2),
|
|
190
|
+
y: Math.round((rect.height - frameH) / 2)
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
function recenterSoon() {
|
|
194
|
+
requestAnimationFrame(() => recenter());
|
|
195
|
+
}
|
|
196
|
+
watch(activeIndex, () => recenterSoon());
|
|
197
|
+
const placementEntries = computed(() => {
|
|
198
|
+
const ls = activeLayout.value;
|
|
199
|
+
if (!ls) return [];
|
|
200
|
+
return Object.entries(ls.layout.placements).map(([itemId, placement]) => ({ itemId, placement }));
|
|
201
|
+
});
|
|
202
|
+
const MARQUEE_THRESHOLD_PX = 3;
|
|
203
|
+
const marquee = ref(null);
|
|
204
|
+
function placementPxRect(p) {
|
|
205
|
+
const s = stepPx.value;
|
|
206
|
+
const inset = s * BLOCK_INSET_UNITS;
|
|
207
|
+
const [[x1, y1], [x2, y2]] = p.area;
|
|
208
|
+
return {
|
|
209
|
+
x: (x1 - 1) * s + inset + coordinate.value.x,
|
|
210
|
+
y: (y1 - 1) * s + inset + coordinate.value.y,
|
|
211
|
+
w: Math.max(0, (x2 - x1) * s - 2 * inset),
|
|
212
|
+
h: Math.max(0, (y2 - y1) * s - 2 * inset)
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
function marqueeCanvasBox(m) {
|
|
216
|
+
const r = canvasRef.value?.getBoundingClientRect();
|
|
217
|
+
if (!r) return null;
|
|
218
|
+
const ax = Math.min(m.origin.cx, m.current.cx) - r.left;
|
|
219
|
+
const ay = Math.min(m.origin.cy, m.current.cy) - r.top;
|
|
220
|
+
const bx = Math.max(m.origin.cx, m.current.cx) - r.left;
|
|
221
|
+
const by = Math.max(m.origin.cy, m.current.cy) - r.top;
|
|
222
|
+
return { x: ax, y: ay, w: bx - ax, h: by - ay };
|
|
223
|
+
}
|
|
224
|
+
const marqueeStyle = computed(() => {
|
|
225
|
+
const m = marquee.value;
|
|
226
|
+
if (!m || !m.active) return null;
|
|
227
|
+
const b = marqueeCanvasBox(m);
|
|
228
|
+
if (!b) return null;
|
|
229
|
+
return {
|
|
230
|
+
top: "0",
|
|
231
|
+
left: "0",
|
|
232
|
+
width: `${b.w}px`,
|
|
233
|
+
height: `${b.h}px`,
|
|
234
|
+
transform: `translate3d(${b.x}px, ${b.y}px, 0)`
|
|
235
|
+
};
|
|
236
|
+
});
|
|
237
|
+
function onPlaneMouseDown(e) {
|
|
238
|
+
if (e.button !== 0) return;
|
|
239
|
+
if (isSpaceHeld.value) return;
|
|
240
|
+
marquee.value = {
|
|
241
|
+
origin: { cx: e.clientX, cy: e.clientY },
|
|
242
|
+
current: { cx: e.clientX, cy: e.clientY },
|
|
243
|
+
shiftKey: e.shiftKey,
|
|
244
|
+
addBase: e.shiftKey ? [...selectedItemIds.value] : [],
|
|
245
|
+
active: false
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
useEventListener("mousemove", (e) => {
|
|
249
|
+
const m = marquee.value;
|
|
250
|
+
if (!m) return;
|
|
251
|
+
m.current = { cx: e.clientX, cy: e.clientY };
|
|
252
|
+
if (!m.active) {
|
|
253
|
+
const dx = Math.abs(m.current.cx - m.origin.cx);
|
|
254
|
+
const dy = Math.abs(m.current.cy - m.origin.cy);
|
|
255
|
+
if (dx >= MARQUEE_THRESHOLD_PX || dy >= MARQUEE_THRESHOLD_PX) m.active = true;
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
useEventListener("mouseup", () => {
|
|
259
|
+
const m = marquee.value;
|
|
260
|
+
if (!m) return;
|
|
261
|
+
marquee.value = null;
|
|
262
|
+
if (!m.active) {
|
|
263
|
+
if (!m.shiftKey) setSelection([]);
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
const ls = activeLayout.value;
|
|
267
|
+
if (!ls) return;
|
|
268
|
+
const box = marqueeCanvasBox(m);
|
|
269
|
+
if (!box) return;
|
|
270
|
+
const hits = [];
|
|
271
|
+
for (const [id, p] of Object.entries(ls.layout.placements)) {
|
|
272
|
+
const pr = placementPxRect(p);
|
|
273
|
+
if (pr.x < box.x + box.w && pr.x + pr.w > box.x && pr.y < box.y + box.h && pr.y + pr.h > box.y) {
|
|
274
|
+
hits.push(id);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
setSelection(m.shiftKey ? [...m.addBase, ...hits] : hits);
|
|
278
|
+
});
|
|
279
|
+
function getItem(itemId) {
|
|
280
|
+
return props.items.find((it) => it.id === itemId);
|
|
281
|
+
}
|
|
282
|
+
function resolveItemLabel(itemId) {
|
|
283
|
+
const it = getItem(itemId);
|
|
284
|
+
if (!it) return `\u672A\u77E5${itemNoun.value}`;
|
|
285
|
+
if (props.getItemLabel) return props.getItemLabel(it);
|
|
286
|
+
const fa = it;
|
|
287
|
+
if (typeof fa.displayName === "string" && fa.displayName.length > 0) return fa.displayName;
|
|
288
|
+
if (typeof fa.name === "string" && fa.name.length > 0) return fa.name;
|
|
289
|
+
return `\u672A\u547D\u540D${itemNoun.value}`;
|
|
290
|
+
}
|
|
291
|
+
function getItemIcon(itemId) {
|
|
292
|
+
const it = getItem(itemId);
|
|
293
|
+
if (!it) return "fluent:square-20-regular";
|
|
294
|
+
const entry = props.findEntry(it.type, it.compatibilityDate);
|
|
295
|
+
return entry?.metadata.icon ?? "fluent:square-20-regular";
|
|
296
|
+
}
|
|
297
|
+
const BLOCK_INSET_UNITS = 0.25;
|
|
298
|
+
const drag = ref(null);
|
|
299
|
+
let dragJustEnded = false;
|
|
300
|
+
const UNBOUNDED = { minW: 1, maxW: Infinity, minH: 1, maxH: Infinity };
|
|
301
|
+
function resolveBounds(itemId, start) {
|
|
302
|
+
const it = getItem(itemId);
|
|
303
|
+
if (!it) return UNBOUNDED;
|
|
304
|
+
const entry = props.findEntry(it.type, it.compatibilityDate);
|
|
305
|
+
if (!entry) return UNBOUNDED;
|
|
306
|
+
const { w, h } = entry.metadata;
|
|
307
|
+
const [[x1, y1], [x2, y2]] = start.area;
|
|
308
|
+
const spanW = x2 - x1;
|
|
309
|
+
const spanH = y2 - y1;
|
|
310
|
+
return {
|
|
311
|
+
minW: Math.min(w.min, spanW),
|
|
312
|
+
maxW: Math.max(w.max, spanW),
|
|
313
|
+
minH: Math.min(h.min, spanH),
|
|
314
|
+
maxH: Math.max(h.max, spanH)
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
function blockStyle(entry) {
|
|
318
|
+
const s = stepPx.value;
|
|
319
|
+
const inset = s * BLOCK_INSET_UNITS;
|
|
320
|
+
const d = drag.value;
|
|
321
|
+
const placement = d && d.starts[entry.itemId] ? applyDelta(d, entry.itemId) : entry.placement;
|
|
322
|
+
const [[x1, y1], [x2, y2]] = placement.area;
|
|
323
|
+
const cellX = (x1 - 1) * s + inset + coordinate.value.x;
|
|
324
|
+
const cellY = (y1 - 1) * s + inset + coordinate.value.y;
|
|
325
|
+
const cellW = Math.max(0, (x2 - x1) * s - 2 * inset);
|
|
326
|
+
const cellH = Math.max(0, (y2 - y1) * s - 2 * inset);
|
|
327
|
+
return {
|
|
328
|
+
top: "0",
|
|
329
|
+
left: "0",
|
|
330
|
+
width: `${cellW}px`,
|
|
331
|
+
height: `${cellH}px`,
|
|
332
|
+
transform: `translate3d(${cellX}px, ${cellY}px, 0)`
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
function blockInnerStyle(entry) {
|
|
336
|
+
const d = drag.value;
|
|
337
|
+
const placement = d && d.starts[entry.itemId] ? applyDelta(d, entry.itemId) : entry.placement;
|
|
338
|
+
const toFlex = (a) => a === "start" ? "flex-start" : a === "end" ? "flex-end" : "center";
|
|
339
|
+
return `justify-content: ${toFlex(placement.h)}; align-items: ${toFlex(placement.v)}`;
|
|
340
|
+
}
|
|
341
|
+
function blockPillStyle(entry) {
|
|
342
|
+
const d = drag.value;
|
|
343
|
+
const placement = d && d.starts[entry.itemId] ? applyDelta(d, entry.itemId) : entry.placement;
|
|
344
|
+
const parts = [];
|
|
345
|
+
if (!placement.h || placement.h === "stretch") parts.push("width: 100%");
|
|
346
|
+
if (!placement.v || placement.v === "stretch") parts.push("height: 100%");
|
|
347
|
+
return parts.join("; ");
|
|
348
|
+
}
|
|
349
|
+
function areasOverlap(a, b) {
|
|
350
|
+
return a[0][0] < b[1][0] && a[1][0] > b[0][0] && a[0][1] < b[1][1] && a[1][1] > b[0][1];
|
|
351
|
+
}
|
|
352
|
+
function hideItem(itemId) {
|
|
353
|
+
const i = activeIndex.value;
|
|
354
|
+
const ls = layouts.value[i];
|
|
355
|
+
if (!ls) return;
|
|
356
|
+
if (!ls.layout.placements[itemId]) return;
|
|
357
|
+
const { [itemId]: _removed, ...rest } = ls.layout.placements;
|
|
358
|
+
writeTracks(i, rest);
|
|
359
|
+
}
|
|
360
|
+
function emitDeleteMany(itemIds) {
|
|
361
|
+
emit("delete-items", [...itemIds]);
|
|
362
|
+
}
|
|
363
|
+
function hideItems(itemIds) {
|
|
364
|
+
const i = activeIndex.value;
|
|
365
|
+
const ls = layouts.value[i];
|
|
366
|
+
if (!ls) return;
|
|
367
|
+
const drop = new Set(itemIds);
|
|
368
|
+
const rest = {};
|
|
369
|
+
let changed = false;
|
|
370
|
+
for (const [id, p] of Object.entries(ls.layout.placements)) {
|
|
371
|
+
if (drop.has(id)) {
|
|
372
|
+
changed = true;
|
|
373
|
+
continue;
|
|
374
|
+
}
|
|
375
|
+
rest[id] = p;
|
|
376
|
+
}
|
|
377
|
+
if (!changed) return;
|
|
378
|
+
writeTracks(i, rest);
|
|
379
|
+
}
|
|
380
|
+
const alignItemClass = "inline-flex size-7 cursor-pointer items-center justify-center rounded-sm text-zinc-600 outline-none transition-colors hover:bg-zinc-100 hover:text-zinc-900 data-[state=checked]:bg-[color-mix(in_srgb,var(--primary)_12%,white)] data-[state=checked]:text-(--primary) [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0";
|
|
381
|
+
function setAlignment(itemId, patch) {
|
|
382
|
+
setAlignmentMany([itemId], patch);
|
|
383
|
+
}
|
|
384
|
+
function setAlignmentMany(itemIds, patch) {
|
|
385
|
+
if (itemIds.length === 0) return;
|
|
386
|
+
setLayout(activeIndex.value, (ls) => {
|
|
387
|
+
const placements = { ...ls.layout.placements };
|
|
388
|
+
let changed = false;
|
|
389
|
+
for (const itemId of itemIds) {
|
|
390
|
+
const prev = placements[itemId];
|
|
391
|
+
if (!prev) continue;
|
|
392
|
+
const next = { ...prev, ...patch };
|
|
393
|
+
if (next.h === "stretch") delete next.h;
|
|
394
|
+
if (next.v === "stretch") delete next.v;
|
|
395
|
+
placements[itemId] = next;
|
|
396
|
+
changed = true;
|
|
397
|
+
}
|
|
398
|
+
if (!changed) return ls;
|
|
399
|
+
return { ...ls, layout: { ...ls.layout, placements } };
|
|
400
|
+
});
|
|
401
|
+
}
|
|
402
|
+
function sharedAlignment(axis) {
|
|
403
|
+
const ls = activeLayout.value;
|
|
404
|
+
if (!ls) return void 0;
|
|
405
|
+
let value;
|
|
406
|
+
let initialized = false;
|
|
407
|
+
for (const id of selectedItemIds.value) {
|
|
408
|
+
const p = ls.layout.placements[id];
|
|
409
|
+
if (!p) continue;
|
|
410
|
+
const v = p[axis] ?? "stretch";
|
|
411
|
+
if (!initialized) {
|
|
412
|
+
value = v;
|
|
413
|
+
initialized = true;
|
|
414
|
+
} else if (value !== v) return void 0;
|
|
415
|
+
}
|
|
416
|
+
return initialized ? value : void 0;
|
|
417
|
+
}
|
|
418
|
+
function beginDrag(kind, itemId, e) {
|
|
419
|
+
if (e.button !== 0) return;
|
|
420
|
+
const entry = placementEntries.value.find((p) => p.itemId === itemId);
|
|
421
|
+
if (!entry) return;
|
|
422
|
+
e.preventDefault();
|
|
423
|
+
e.stopPropagation();
|
|
424
|
+
let itemIds;
|
|
425
|
+
if (kind === "move" && isSelected(itemId) && selectedItemIds.value.length > 1) {
|
|
426
|
+
itemIds = [...selectedItemIds.value];
|
|
427
|
+
} else {
|
|
428
|
+
itemIds = [itemId];
|
|
429
|
+
if (kind === "move") setSelection([itemId]);
|
|
430
|
+
}
|
|
431
|
+
const starts = {};
|
|
432
|
+
for (const id of itemIds) {
|
|
433
|
+
const p = placementEntries.value.find((x) => x.itemId === id);
|
|
434
|
+
if (p) starts[id] = p.placement;
|
|
435
|
+
}
|
|
436
|
+
drag.value = {
|
|
437
|
+
kind,
|
|
438
|
+
itemIds,
|
|
439
|
+
anchorId: itemId,
|
|
440
|
+
origin: { x: e.clientX, y: e.clientY },
|
|
441
|
+
starts,
|
|
442
|
+
delta: { x: 0, y: 0, w: 0, h: 0 },
|
|
443
|
+
bounds: resolveBounds(itemId, entry.placement)
|
|
444
|
+
};
|
|
445
|
+
}
|
|
446
|
+
function applyDelta(d, itemId) {
|
|
447
|
+
const start = d.starts[itemId] ?? d.starts[d.anchorId];
|
|
448
|
+
const [[x1, y1], [x2, y2]] = start.area;
|
|
449
|
+
const spanW = x2 - x1;
|
|
450
|
+
const spanH = y2 - y1;
|
|
451
|
+
const clamp = (v, lo, hi) => Math.min(hi, Math.max(lo, v));
|
|
452
|
+
const { minW, maxW, minH, maxH } = d.bounds;
|
|
453
|
+
let area;
|
|
454
|
+
switch (d.kind) {
|
|
455
|
+
case "move": {
|
|
456
|
+
const nx1 = x1 + d.delta.x;
|
|
457
|
+
const ny1 = y1 + d.delta.y;
|
|
458
|
+
area = [[nx1, ny1], [nx1 + spanW, ny1 + spanH]];
|
|
459
|
+
break;
|
|
460
|
+
}
|
|
461
|
+
case "resize-e": {
|
|
462
|
+
const w = clamp(spanW + d.delta.w, minW, maxW);
|
|
463
|
+
area = [[x1, y1], [x1 + w, y2]];
|
|
464
|
+
break;
|
|
465
|
+
}
|
|
466
|
+
case "resize-s": {
|
|
467
|
+
const h = clamp(spanH + d.delta.h, minH, maxH);
|
|
468
|
+
area = [[x1, y1], [x2, y1 + h]];
|
|
469
|
+
break;
|
|
470
|
+
}
|
|
471
|
+
case "resize-w": {
|
|
472
|
+
const w = clamp(spanW + d.delta.w, minW, maxW);
|
|
473
|
+
area = [[x2 - w, y1], [x2, y2]];
|
|
474
|
+
break;
|
|
475
|
+
}
|
|
476
|
+
case "resize-n": {
|
|
477
|
+
const h = clamp(spanH + d.delta.h, minH, maxH);
|
|
478
|
+
area = [[x1, y2 - h], [x2, y2]];
|
|
479
|
+
break;
|
|
480
|
+
}
|
|
481
|
+
case "resize-se": {
|
|
482
|
+
const w = clamp(spanW + d.delta.w, minW, maxW);
|
|
483
|
+
const h = clamp(spanH + d.delta.h, minH, maxH);
|
|
484
|
+
area = [[x1, y1], [x1 + w, y1 + h]];
|
|
485
|
+
break;
|
|
486
|
+
}
|
|
487
|
+
case "resize-sw": {
|
|
488
|
+
const w = clamp(spanW + d.delta.w, minW, maxW);
|
|
489
|
+
const h = clamp(spanH + d.delta.h, minH, maxH);
|
|
490
|
+
area = [[x2 - w, y1], [x2, y1 + h]];
|
|
491
|
+
break;
|
|
492
|
+
}
|
|
493
|
+
case "resize-ne": {
|
|
494
|
+
const w = clamp(spanW + d.delta.w, minW, maxW);
|
|
495
|
+
const h = clamp(spanH + d.delta.h, minH, maxH);
|
|
496
|
+
area = [[x1, y2 - h], [x1 + w, y2]];
|
|
497
|
+
break;
|
|
498
|
+
}
|
|
499
|
+
case "resize-nw": {
|
|
500
|
+
const w = clamp(spanW + d.delta.w, minW, maxW);
|
|
501
|
+
const h = clamp(spanH + d.delta.h, minH, maxH);
|
|
502
|
+
area = [[x2 - w, y2 - h], [x2, y2]];
|
|
503
|
+
break;
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
return { ...start, area };
|
|
507
|
+
}
|
|
508
|
+
useEventListener("mousemove", (e) => {
|
|
509
|
+
const d = drag.value;
|
|
510
|
+
if (!d) return;
|
|
511
|
+
const s = stepPx.value;
|
|
512
|
+
const dx = Math.round((e.clientX - d.origin.x) / s);
|
|
513
|
+
const dy = Math.round((e.clientY - d.origin.y) / s);
|
|
514
|
+
switch (d.kind) {
|
|
515
|
+
case "move":
|
|
516
|
+
d.delta = { x: dx, y: dy, w: 0, h: 0 };
|
|
517
|
+
break;
|
|
518
|
+
case "resize-e":
|
|
519
|
+
d.delta = { x: 0, y: 0, w: dx, h: 0 };
|
|
520
|
+
break;
|
|
521
|
+
case "resize-s":
|
|
522
|
+
d.delta = { x: 0, y: 0, w: 0, h: dy };
|
|
523
|
+
break;
|
|
524
|
+
case "resize-w":
|
|
525
|
+
d.delta = { x: 0, y: 0, w: -dx, h: 0 };
|
|
526
|
+
break;
|
|
527
|
+
case "resize-n":
|
|
528
|
+
d.delta = { x: 0, y: 0, w: 0, h: -dy };
|
|
529
|
+
break;
|
|
530
|
+
case "resize-se":
|
|
531
|
+
d.delta = { x: 0, y: 0, w: dx, h: dy };
|
|
532
|
+
break;
|
|
533
|
+
case "resize-sw":
|
|
534
|
+
d.delta = { x: 0, y: 0, w: -dx, h: dy };
|
|
535
|
+
break;
|
|
536
|
+
case "resize-ne":
|
|
537
|
+
d.delta = { x: 0, y: 0, w: dx, h: -dy };
|
|
538
|
+
break;
|
|
539
|
+
case "resize-nw":
|
|
540
|
+
d.delta = { x: 0, y: 0, w: -dx, h: -dy };
|
|
541
|
+
break;
|
|
542
|
+
}
|
|
543
|
+
});
|
|
544
|
+
const dragInvalid = computed(() => {
|
|
545
|
+
const d = drag.value;
|
|
546
|
+
if (!d) return false;
|
|
547
|
+
const ls = activeLayout.value;
|
|
548
|
+
if (!ls) return false;
|
|
549
|
+
const moving = new Set(d.itemIds);
|
|
550
|
+
for (const id of d.itemIds) {
|
|
551
|
+
const cand = applyDelta(d, id).area;
|
|
552
|
+
for (const [otherId, p] of Object.entries(ls.layout.placements)) {
|
|
553
|
+
if (moving.has(otherId)) continue;
|
|
554
|
+
if (areasOverlap(cand, p.area)) return true;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
return false;
|
|
558
|
+
});
|
|
559
|
+
const frameStyle = computed(() => {
|
|
560
|
+
const ls = activeLayout.value;
|
|
561
|
+
if (!ls) return null;
|
|
562
|
+
const placements = { ...ls.layout.placements };
|
|
563
|
+
const d = drag.value;
|
|
564
|
+
if (d) {
|
|
565
|
+
for (const id of d.itemIds) {
|
|
566
|
+
if (placements[id]) placements[id] = applyDelta(d, id);
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
let minX = Infinity;
|
|
570
|
+
let minY = Infinity;
|
|
571
|
+
let maxX = -Infinity;
|
|
572
|
+
let maxY = -Infinity;
|
|
573
|
+
for (const p of Object.values(placements)) {
|
|
574
|
+
if (p.area[0][0] < minX) minX = p.area[0][0];
|
|
575
|
+
if (p.area[0][1] < minY) minY = p.area[0][1];
|
|
576
|
+
if (p.area[1][0] > maxX) maxX = p.area[1][0];
|
|
577
|
+
if (p.area[1][1] > maxY) maxY = p.area[1][1];
|
|
578
|
+
}
|
|
579
|
+
if (!Number.isFinite(minX)) return null;
|
|
580
|
+
const s = stepPx.value;
|
|
581
|
+
const tx = (minX - 1) * s + coordinate.value.x;
|
|
582
|
+
const ty = (minY - 1) * s + coordinate.value.y;
|
|
583
|
+
const w = (maxX - minX) * s;
|
|
584
|
+
const h = (maxY - minY) * s;
|
|
585
|
+
return {
|
|
586
|
+
top: "0",
|
|
587
|
+
left: "0",
|
|
588
|
+
width: `${w}px`,
|
|
589
|
+
height: `${h}px`,
|
|
590
|
+
transform: `translate3d(${tx}px, ${ty}px, 0)`
|
|
591
|
+
};
|
|
592
|
+
});
|
|
593
|
+
const frameOfOthers = computed(() => {
|
|
594
|
+
const ls = activeLayout.value;
|
|
595
|
+
if (!ls) return null;
|
|
596
|
+
const skip = new Set(drag.value?.itemIds ?? []);
|
|
597
|
+
let minX = Infinity;
|
|
598
|
+
let minY = Infinity;
|
|
599
|
+
let maxX = -Infinity;
|
|
600
|
+
let maxY = -Infinity;
|
|
601
|
+
for (const [id, p] of Object.entries(ls.layout.placements)) {
|
|
602
|
+
if (skip.has(id)) continue;
|
|
603
|
+
if (p.area[0][0] < minX) minX = p.area[0][0];
|
|
604
|
+
if (p.area[0][1] < minY) minY = p.area[0][1];
|
|
605
|
+
if (p.area[1][0] > maxX) maxX = p.area[1][0];
|
|
606
|
+
if (p.area[1][1] > maxY) maxY = p.area[1][1];
|
|
607
|
+
}
|
|
608
|
+
if (!Number.isFinite(minX)) return null;
|
|
609
|
+
return { minX, minY, maxX, maxY };
|
|
610
|
+
});
|
|
611
|
+
const distanceIndicators = computed(() => {
|
|
612
|
+
const d = drag.value;
|
|
613
|
+
if (!d || d.kind !== "move") return [];
|
|
614
|
+
const ls = activeLayout.value;
|
|
615
|
+
if (!ls) return [];
|
|
616
|
+
let mx1 = Infinity;
|
|
617
|
+
let my1 = Infinity;
|
|
618
|
+
let mx2 = -Infinity;
|
|
619
|
+
let my2 = -Infinity;
|
|
620
|
+
for (const id of d.itemIds) {
|
|
621
|
+
if (!d.starts[id]) continue;
|
|
622
|
+
const [[ax, ay], [bx, by]] = applyDelta(d, id).area;
|
|
623
|
+
if (ax < mx1) mx1 = ax;
|
|
624
|
+
if (ay < my1) my1 = ay;
|
|
625
|
+
if (bx > mx2) mx2 = bx;
|
|
626
|
+
if (by > my2) my2 = by;
|
|
627
|
+
}
|
|
628
|
+
if (!Number.isFinite(mx1)) return [];
|
|
629
|
+
const moving = new Set(d.itemIds);
|
|
630
|
+
const others = [];
|
|
631
|
+
for (const [id, p] of Object.entries(ls.layout.placements)) {
|
|
632
|
+
if (moving.has(id)) continue;
|
|
633
|
+
others.push(p.area);
|
|
634
|
+
}
|
|
635
|
+
const fo = frameOfOthers.value;
|
|
636
|
+
if (others.length === 0 && !fo) return [];
|
|
637
|
+
const s = stepPx.value;
|
|
638
|
+
const cx = coordinate.value.x;
|
|
639
|
+
const cy = coordinate.value.y;
|
|
640
|
+
const out = [];
|
|
641
|
+
const pushVertical = (dir) => {
|
|
642
|
+
let bestUnits = Infinity;
|
|
643
|
+
let overlap = null;
|
|
644
|
+
let occupied = false;
|
|
645
|
+
for (const a of others) {
|
|
646
|
+
const [[ox1, oy1], [ox2, oy2]] = a;
|
|
647
|
+
if (ox2 <= mx1 || ox1 >= mx2) continue;
|
|
648
|
+
const u = dir === "top" ? my1 - oy2 : oy1 - my2;
|
|
649
|
+
if (u < 0) {
|
|
650
|
+
occupied = true;
|
|
651
|
+
continue;
|
|
652
|
+
}
|
|
653
|
+
if (u >= bestUnits) continue;
|
|
654
|
+
bestUnits = u;
|
|
655
|
+
overlap = { lo: Math.max(ox1, mx1), hi: Math.min(ox2, mx2) };
|
|
656
|
+
}
|
|
657
|
+
let units;
|
|
658
|
+
let midX;
|
|
659
|
+
if (Number.isFinite(bestUnits)) {
|
|
660
|
+
units = bestUnits;
|
|
661
|
+
midX = (overlap.lo + overlap.hi) / 2;
|
|
662
|
+
} else if (occupied || !fo) return;
|
|
663
|
+
else {
|
|
664
|
+
units = dir === "top" ? my1 - fo.minY : fo.maxY - my2;
|
|
665
|
+
midX = (mx1 + mx2) / 2;
|
|
666
|
+
}
|
|
667
|
+
if (units <= 1) return;
|
|
668
|
+
const pxX = (midX - 1) * s + cx;
|
|
669
|
+
const pxY = ((dir === "top" ? my1 - units : my2) - 1) * s + cy;
|
|
670
|
+
out.push({ dir, pxX, pxY, length: units * s, units });
|
|
671
|
+
};
|
|
672
|
+
const pushHorizontal = (dir) => {
|
|
673
|
+
let bestUnits = Infinity;
|
|
674
|
+
let overlap = null;
|
|
675
|
+
let occupied = false;
|
|
676
|
+
for (const a of others) {
|
|
677
|
+
const [[ox1, oy1], [ox2, oy2]] = a;
|
|
678
|
+
if (oy2 <= my1 || oy1 >= my2) continue;
|
|
679
|
+
const u = dir === "left" ? mx1 - ox2 : ox1 - mx2;
|
|
680
|
+
if (u < 0) {
|
|
681
|
+
occupied = true;
|
|
682
|
+
continue;
|
|
683
|
+
}
|
|
684
|
+
if (u >= bestUnits) continue;
|
|
685
|
+
bestUnits = u;
|
|
686
|
+
overlap = { lo: Math.max(oy1, my1), hi: Math.min(oy2, my2) };
|
|
687
|
+
}
|
|
688
|
+
let units;
|
|
689
|
+
let midY;
|
|
690
|
+
if (Number.isFinite(bestUnits)) {
|
|
691
|
+
units = bestUnits;
|
|
692
|
+
midY = (overlap.lo + overlap.hi) / 2;
|
|
693
|
+
} else if (occupied || !fo) return;
|
|
694
|
+
else {
|
|
695
|
+
units = dir === "left" ? mx1 - fo.minX : fo.maxX - mx2;
|
|
696
|
+
midY = (my1 + my2) / 2;
|
|
697
|
+
}
|
|
698
|
+
if (units <= 1) return;
|
|
699
|
+
const pxX = ((dir === "left" ? mx1 - units : mx2) - 1) * s + cx;
|
|
700
|
+
const pxY = (midY - 1) * s + cy;
|
|
701
|
+
out.push({ dir, pxX, pxY, length: units * s, units });
|
|
702
|
+
};
|
|
703
|
+
pushVertical("top");
|
|
704
|
+
pushVertical("bottom");
|
|
705
|
+
pushHorizontal("left");
|
|
706
|
+
pushHorizontal("right");
|
|
707
|
+
return out;
|
|
708
|
+
});
|
|
709
|
+
function indicatorStyle(ind) {
|
|
710
|
+
const isVertical = ind.dir === "top" || ind.dir === "bottom";
|
|
711
|
+
const w = isVertical ? 0 : ind.length;
|
|
712
|
+
const h = isVertical ? ind.length : 0;
|
|
713
|
+
return `top: 0; left: 0; width: ${w}px; height: ${h}px; transform: translate3d(${ind.pxX}px, ${ind.pxY}px, 0)`;
|
|
714
|
+
}
|
|
715
|
+
useEventListener("mouseup", () => {
|
|
716
|
+
const d = drag.value;
|
|
717
|
+
if (!d) return;
|
|
718
|
+
const moved = d.delta.x !== 0 || d.delta.y !== 0 || d.delta.w !== 0 || d.delta.h !== 0;
|
|
719
|
+
if (moved) {
|
|
720
|
+
dragJustEnded = true;
|
|
721
|
+
queueMicrotask(() => {
|
|
722
|
+
dragJustEnded = false;
|
|
723
|
+
});
|
|
724
|
+
}
|
|
725
|
+
if (dragInvalid.value) {
|
|
726
|
+
drag.value = null;
|
|
727
|
+
return;
|
|
728
|
+
}
|
|
729
|
+
if (!moved) {
|
|
730
|
+
drag.value = null;
|
|
731
|
+
return;
|
|
732
|
+
}
|
|
733
|
+
const ids = d.itemIds;
|
|
734
|
+
const next = { ...activeLayout.value.layout.placements };
|
|
735
|
+
for (const id of ids) {
|
|
736
|
+
if (!next[id]) continue;
|
|
737
|
+
next[id] = applyDelta(d, id);
|
|
738
|
+
}
|
|
739
|
+
drag.value = null;
|
|
740
|
+
writeTracks(activeIndex.value, next);
|
|
741
|
+
});
|
|
742
|
+
const unplacedItems = computed(() => {
|
|
743
|
+
const ls = activeLayout.value;
|
|
744
|
+
if (!ls) return [];
|
|
745
|
+
const placed = new Set(Object.keys(ls.layout.placements));
|
|
746
|
+
const out = [];
|
|
747
|
+
for (const it of props.items) {
|
|
748
|
+
if (placed.has(it.id)) continue;
|
|
749
|
+
const entry = props.findEntry(it.type, it.compatibilityDate);
|
|
750
|
+
if (!entry) continue;
|
|
751
|
+
out.push({
|
|
752
|
+
item: it,
|
|
753
|
+
label: resolveItemLabel(it.id),
|
|
754
|
+
icon: entry.metadata.icon,
|
|
755
|
+
initialW: entry.metadata.w.initial,
|
|
756
|
+
initialH: entry.metadata.h.initial
|
|
757
|
+
});
|
|
758
|
+
}
|
|
759
|
+
return out;
|
|
760
|
+
});
|
|
761
|
+
function placeUnplacedItem(entry) {
|
|
762
|
+
const i = activeIndex.value;
|
|
763
|
+
const ls = layouts.value[i];
|
|
764
|
+
if (!ls) return;
|
|
765
|
+
const placement = findFreePlacement(ls.layout.placements, entry.initialW, entry.initialH);
|
|
766
|
+
writeTracks(i, { ...ls.layout.placements, [entry.item.id]: placement });
|
|
767
|
+
}
|
|
768
|
+
const showPickerNewGroup = computed(
|
|
769
|
+
() => !!props.pickerEntries && props.pickerEntries.length > 0
|
|
770
|
+
);
|
|
771
|
+
const canvasRef = ref(null);
|
|
772
|
+
const isFullscreen = ref(false);
|
|
773
|
+
useEventListener(() => document, "fullscreenchange", () => {
|
|
774
|
+
isFullscreen.value = document.fullscreenElement === canvasRef.value;
|
|
775
|
+
recenterSoon();
|
|
776
|
+
});
|
|
777
|
+
function toggleFullscreen() {
|
|
778
|
+
const el = canvasRef.value;
|
|
779
|
+
if (!el) return;
|
|
780
|
+
if (document.fullscreenElement === el) {
|
|
781
|
+
document.exitFullscreen();
|
|
782
|
+
} else {
|
|
783
|
+
el.requestFullscreen();
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
</script>
|
|
787
|
+
|
|
788
|
+
<template>
|
|
789
|
+
<div
|
|
790
|
+
ref="canvasRef"
|
|
791
|
+
class="relative overflow-hidden rounded border border-zinc-200 bg-zinc-50 select-none"
|
|
792
|
+
:class="[isFullscreen ? 'h-screen' : 'h-full']"
|
|
793
|
+
>
|
|
794
|
+
<div
|
|
795
|
+
ref="planeRef"
|
|
796
|
+
class="absolute inset-0"
|
|
797
|
+
:class="[isPanning ? 'cursor-grabbing' : isSpaceHeld ? 'cursor-grab' : '']"
|
|
798
|
+
:style="bgStyle"
|
|
799
|
+
@mousedown="onPlaneMouseDown"
|
|
800
|
+
/>
|
|
801
|
+
|
|
802
|
+
<div
|
|
803
|
+
v-if="marqueeStyle"
|
|
804
|
+
class="absolute z-50 pointer-events-none rounded-sm border border-(--primary) bg-(--primary)/10"
|
|
805
|
+
:style="marqueeStyle"
|
|
806
|
+
/>
|
|
807
|
+
|
|
808
|
+
<div
|
|
809
|
+
class="absolute top-3 right-3"
|
|
810
|
+
@mousedown.stop
|
|
811
|
+
>
|
|
812
|
+
<Button
|
|
813
|
+
variant="default"
|
|
814
|
+
size="sm"
|
|
815
|
+
:title="isFullscreen ? '\u9000\u51FA\u5168\u5C4F' : '\u5168\u5C4F'"
|
|
816
|
+
@click="toggleFullscreen"
|
|
817
|
+
>
|
|
818
|
+
<Icon :icon="isFullscreen ? 'fluent:full-screen-minimize-20-regular' : 'fluent:full-screen-maximize-20-regular'" />
|
|
819
|
+
</Button>
|
|
820
|
+
</div>
|
|
821
|
+
|
|
822
|
+
<div
|
|
823
|
+
v-if="frameStyle"
|
|
824
|
+
class="frame-outline absolute pointer-events-none rounded-md"
|
|
825
|
+
:style="frameStyle"
|
|
826
|
+
/>
|
|
827
|
+
|
|
828
|
+
<ContextMenu
|
|
829
|
+
v-for="entry in placementEntries"
|
|
830
|
+
:key="entry.itemId"
|
|
831
|
+
>
|
|
832
|
+
<ContextMenuTrigger as-child>
|
|
833
|
+
<div
|
|
834
|
+
class="field-block rounded-md"
|
|
835
|
+
:class="[
|
|
836
|
+
drag && drag.itemIds.includes(entry.itemId) ? ['shadow-sm backdrop-blur-sm z-50', dragInvalid ? 'bg-red-200/50' : 'bg-white/50'] : ['shadow-xs bg-white'],
|
|
837
|
+
isSelected(entry.itemId) ? 'is-selected' : ''
|
|
838
|
+
]"
|
|
839
|
+
:style="blockStyle(entry)"
|
|
840
|
+
@mousedown="beginDrag('move', entry.itemId, $event)"
|
|
841
|
+
@click="onItemClick(entry.itemId, $event)"
|
|
842
|
+
@contextmenu="onItemContextMenu(entry.itemId)"
|
|
843
|
+
@dblclick.stop="emit('drill-down', entry.itemId)"
|
|
844
|
+
>
|
|
845
|
+
<div
|
|
846
|
+
class="flex h-full p-1 pointer-events-none"
|
|
847
|
+
:style="blockInnerStyle(entry)"
|
|
848
|
+
>
|
|
849
|
+
<div
|
|
850
|
+
class="flex items-center justify-center gap-1.5 rounded-sm bg-zinc-100 px-1.5 py-0.5 text-sm text-zinc-700"
|
|
851
|
+
:style="blockPillStyle(entry)"
|
|
852
|
+
>
|
|
853
|
+
<Icon
|
|
854
|
+
:icon="getItemIcon(entry.itemId)"
|
|
855
|
+
class="size-4 shrink-0 text-zinc-400"
|
|
856
|
+
/>
|
|
857
|
+
<span class="truncate">{{ resolveItemLabel(entry.itemId) }}</span>
|
|
858
|
+
</div>
|
|
859
|
+
</div>
|
|
860
|
+
|
|
861
|
+
<button
|
|
862
|
+
type="button"
|
|
863
|
+
class="drill-button"
|
|
864
|
+
:title="`\u7F16\u8F91${itemNoun}`"
|
|
865
|
+
@mousedown.stop
|
|
866
|
+
@click.stop="emit('drill-down', entry.itemId)"
|
|
867
|
+
>
|
|
868
|
+
<Icon
|
|
869
|
+
icon="fluent:arrow-up-right-20-regular"
|
|
870
|
+
class="size-3.5"
|
|
871
|
+
/>
|
|
872
|
+
</button>
|
|
873
|
+
|
|
874
|
+
<template v-if="selectedItemIds.length === 1 && isSelected(entry.itemId)">
|
|
875
|
+
<div
|
|
876
|
+
class="resize-handle handle-n"
|
|
877
|
+
@mousedown="beginDrag('resize-n', entry.itemId, $event)"
|
|
878
|
+
/>
|
|
879
|
+
<div
|
|
880
|
+
class="resize-handle handle-e"
|
|
881
|
+
@mousedown="beginDrag('resize-e', entry.itemId, $event)"
|
|
882
|
+
/>
|
|
883
|
+
<div
|
|
884
|
+
class="resize-handle handle-s"
|
|
885
|
+
@mousedown="beginDrag('resize-s', entry.itemId, $event)"
|
|
886
|
+
/>
|
|
887
|
+
<div
|
|
888
|
+
class="resize-handle handle-w"
|
|
889
|
+
@mousedown="beginDrag('resize-w', entry.itemId, $event)"
|
|
890
|
+
/>
|
|
891
|
+
<div
|
|
892
|
+
class="resize-handle handle-nw"
|
|
893
|
+
@mousedown="beginDrag('resize-nw', entry.itemId, $event)"
|
|
894
|
+
/>
|
|
895
|
+
<div
|
|
896
|
+
class="resize-handle handle-ne"
|
|
897
|
+
@mousedown="beginDrag('resize-ne', entry.itemId, $event)"
|
|
898
|
+
/>
|
|
899
|
+
<div
|
|
900
|
+
class="resize-handle handle-sw"
|
|
901
|
+
@mousedown="beginDrag('resize-sw', entry.itemId, $event)"
|
|
902
|
+
/>
|
|
903
|
+
<div
|
|
904
|
+
class="resize-handle handle-se"
|
|
905
|
+
@mousedown="beginDrag('resize-se', entry.itemId, $event)"
|
|
906
|
+
/>
|
|
907
|
+
</template>
|
|
908
|
+
</div>
|
|
909
|
+
</ContextMenuTrigger>
|
|
910
|
+
<ContextMenuContent
|
|
911
|
+
class="min-w-auto p-1.5"
|
|
912
|
+
:to="isFullscreen ? canvasRef : null"
|
|
913
|
+
>
|
|
914
|
+
<template v-if="selectedItemIds.length > 1 && isSelected(entry.itemId)">
|
|
915
|
+
<ContextMenuRadioGroup
|
|
916
|
+
:model-value="sharedAlignment('h') ?? ''"
|
|
917
|
+
class="my-1 flex items-center justify-center gap-0.5"
|
|
918
|
+
@update:model-value="(v) => v && setAlignmentMany(selectedItemIds, { h: v })"
|
|
919
|
+
>
|
|
920
|
+
<Tooltip>
|
|
921
|
+
<TooltipTrigger as-child>
|
|
922
|
+
<ContextMenuRadioItem
|
|
923
|
+
value="start"
|
|
924
|
+
hide-indicator
|
|
925
|
+
:class="alignItemClass"
|
|
926
|
+
@select.prevent
|
|
927
|
+
>
|
|
928
|
+
<Icon icon="fluent:align-left-20-regular" />
|
|
929
|
+
</ContextMenuRadioItem>
|
|
930
|
+
</TooltipTrigger>
|
|
931
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
932
|
+
左对齐
|
|
933
|
+
</TooltipContent>
|
|
934
|
+
</Tooltip>
|
|
935
|
+
<Tooltip>
|
|
936
|
+
<TooltipTrigger as-child>
|
|
937
|
+
<ContextMenuRadioItem
|
|
938
|
+
value="center"
|
|
939
|
+
hide-indicator
|
|
940
|
+
:class="alignItemClass"
|
|
941
|
+
@select.prevent
|
|
942
|
+
>
|
|
943
|
+
<Icon icon="fluent:align-center-horizontal-20-regular" />
|
|
944
|
+
</ContextMenuRadioItem>
|
|
945
|
+
</TooltipTrigger>
|
|
946
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
947
|
+
水平居中
|
|
948
|
+
</TooltipContent>
|
|
949
|
+
</Tooltip>
|
|
950
|
+
<Tooltip>
|
|
951
|
+
<TooltipTrigger as-child>
|
|
952
|
+
<ContextMenuRadioItem
|
|
953
|
+
value="end"
|
|
954
|
+
hide-indicator
|
|
955
|
+
:class="alignItemClass"
|
|
956
|
+
@select.prevent
|
|
957
|
+
>
|
|
958
|
+
<Icon icon="fluent:align-right-20-regular" />
|
|
959
|
+
</ContextMenuRadioItem>
|
|
960
|
+
</TooltipTrigger>
|
|
961
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
962
|
+
右对齐
|
|
963
|
+
</TooltipContent>
|
|
964
|
+
</Tooltip>
|
|
965
|
+
<Tooltip>
|
|
966
|
+
<TooltipTrigger as-child>
|
|
967
|
+
<ContextMenuRadioItem
|
|
968
|
+
value="stretch"
|
|
969
|
+
hide-indicator
|
|
970
|
+
:class="alignItemClass"
|
|
971
|
+
@select.prevent
|
|
972
|
+
>
|
|
973
|
+
<Icon icon="fluent:arrow-autofit-width-20-regular" />
|
|
974
|
+
</ContextMenuRadioItem>
|
|
975
|
+
</TooltipTrigger>
|
|
976
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
977
|
+
水平撑满
|
|
978
|
+
</TooltipContent>
|
|
979
|
+
</Tooltip>
|
|
980
|
+
</ContextMenuRadioGroup>
|
|
981
|
+
<ContextMenuRadioGroup
|
|
982
|
+
:model-value="sharedAlignment('v') ?? ''"
|
|
983
|
+
class="my-1 flex items-center justify-center gap-0.5"
|
|
984
|
+
@update:model-value="(v) => v && setAlignmentMany(selectedItemIds, { v })"
|
|
985
|
+
>
|
|
986
|
+
<Tooltip>
|
|
987
|
+
<TooltipTrigger as-child>
|
|
988
|
+
<ContextMenuRadioItem
|
|
989
|
+
value="start"
|
|
990
|
+
hide-indicator
|
|
991
|
+
:class="alignItemClass"
|
|
992
|
+
@select.prevent
|
|
993
|
+
>
|
|
994
|
+
<Icon icon="fluent:align-top-20-regular" />
|
|
995
|
+
</ContextMenuRadioItem>
|
|
996
|
+
</TooltipTrigger>
|
|
997
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
998
|
+
顶部对齐
|
|
999
|
+
</TooltipContent>
|
|
1000
|
+
</Tooltip>
|
|
1001
|
+
<Tooltip>
|
|
1002
|
+
<TooltipTrigger as-child>
|
|
1003
|
+
<ContextMenuRadioItem
|
|
1004
|
+
value="center"
|
|
1005
|
+
hide-indicator
|
|
1006
|
+
:class="alignItemClass"
|
|
1007
|
+
@select.prevent
|
|
1008
|
+
>
|
|
1009
|
+
<Icon icon="fluent:align-center-vertical-20-regular" />
|
|
1010
|
+
</ContextMenuRadioItem>
|
|
1011
|
+
</TooltipTrigger>
|
|
1012
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
1013
|
+
垂直居中
|
|
1014
|
+
</TooltipContent>
|
|
1015
|
+
</Tooltip>
|
|
1016
|
+
<Tooltip>
|
|
1017
|
+
<TooltipTrigger as-child>
|
|
1018
|
+
<ContextMenuRadioItem
|
|
1019
|
+
value="end"
|
|
1020
|
+
hide-indicator
|
|
1021
|
+
:class="alignItemClass"
|
|
1022
|
+
@select.prevent
|
|
1023
|
+
>
|
|
1024
|
+
<Icon icon="fluent:align-bottom-20-regular" />
|
|
1025
|
+
</ContextMenuRadioItem>
|
|
1026
|
+
</TooltipTrigger>
|
|
1027
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
1028
|
+
底部对齐
|
|
1029
|
+
</TooltipContent>
|
|
1030
|
+
</Tooltip>
|
|
1031
|
+
<Tooltip>
|
|
1032
|
+
<TooltipTrigger as-child>
|
|
1033
|
+
<ContextMenuRadioItem
|
|
1034
|
+
value="stretch"
|
|
1035
|
+
hide-indicator
|
|
1036
|
+
:class="alignItemClass"
|
|
1037
|
+
@select.prevent
|
|
1038
|
+
>
|
|
1039
|
+
<Icon icon="fluent:arrow-autofit-height-20-regular" />
|
|
1040
|
+
</ContextMenuRadioItem>
|
|
1041
|
+
</TooltipTrigger>
|
|
1042
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
1043
|
+
垂直撑满
|
|
1044
|
+
</TooltipContent>
|
|
1045
|
+
</Tooltip>
|
|
1046
|
+
</ContextMenuRadioGroup>
|
|
1047
|
+
<ContextMenuSeparator />
|
|
1048
|
+
<ContextMenuItem @select="hideItems(selectedItemIds)">
|
|
1049
|
+
<Icon icon="fluent:eye-off-20-regular" />
|
|
1050
|
+
<span>从当前布局移除 ({{ selectedItemIds.length }})</span>
|
|
1051
|
+
</ContextMenuItem>
|
|
1052
|
+
<ContextMenuItem
|
|
1053
|
+
v-if="props.canDelete"
|
|
1054
|
+
class="text-red-500 focus:text-red-600 hover:text-red-600 focus:bg-red-50 hover:bg-red-50 [&_svg:not([class*='text-'])]:text-red-400"
|
|
1055
|
+
@select="emitDeleteMany(selectedItemIds)"
|
|
1056
|
+
>
|
|
1057
|
+
<Icon icon="fluent:delete-20-regular" />
|
|
1058
|
+
<span>彻底删除 ({{ selectedItemIds.length }})</span>
|
|
1059
|
+
</ContextMenuItem>
|
|
1060
|
+
</template>
|
|
1061
|
+
<template v-else>
|
|
1062
|
+
<ContextMenuRadioGroup
|
|
1063
|
+
:model-value="entry.placement.h ?? 'stretch'"
|
|
1064
|
+
class="my-1 flex items-center justify-center gap-0.5"
|
|
1065
|
+
@update:model-value="(v) => v && setAlignment(entry.itemId, { h: v })"
|
|
1066
|
+
>
|
|
1067
|
+
<Tooltip>
|
|
1068
|
+
<TooltipTrigger as-child>
|
|
1069
|
+
<ContextMenuRadioItem
|
|
1070
|
+
value="start"
|
|
1071
|
+
hide-indicator
|
|
1072
|
+
:class="alignItemClass"
|
|
1073
|
+
@select.prevent
|
|
1074
|
+
>
|
|
1075
|
+
<Icon icon="fluent:align-left-20-regular" />
|
|
1076
|
+
</ContextMenuRadioItem>
|
|
1077
|
+
</TooltipTrigger>
|
|
1078
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
1079
|
+
左对齐
|
|
1080
|
+
</TooltipContent>
|
|
1081
|
+
</Tooltip>
|
|
1082
|
+
<Tooltip>
|
|
1083
|
+
<TooltipTrigger as-child>
|
|
1084
|
+
<ContextMenuRadioItem
|
|
1085
|
+
value="center"
|
|
1086
|
+
hide-indicator
|
|
1087
|
+
:class="alignItemClass"
|
|
1088
|
+
@select.prevent
|
|
1089
|
+
>
|
|
1090
|
+
<Icon icon="fluent:align-center-horizontal-20-regular" />
|
|
1091
|
+
</ContextMenuRadioItem>
|
|
1092
|
+
</TooltipTrigger>
|
|
1093
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
1094
|
+
水平居中
|
|
1095
|
+
</TooltipContent>
|
|
1096
|
+
</Tooltip>
|
|
1097
|
+
<Tooltip>
|
|
1098
|
+
<TooltipTrigger as-child>
|
|
1099
|
+
<ContextMenuRadioItem
|
|
1100
|
+
value="end"
|
|
1101
|
+
hide-indicator
|
|
1102
|
+
:class="alignItemClass"
|
|
1103
|
+
@select.prevent
|
|
1104
|
+
>
|
|
1105
|
+
<Icon icon="fluent:align-right-20-regular" />
|
|
1106
|
+
</ContextMenuRadioItem>
|
|
1107
|
+
</TooltipTrigger>
|
|
1108
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
1109
|
+
右对齐
|
|
1110
|
+
</TooltipContent>
|
|
1111
|
+
</Tooltip>
|
|
1112
|
+
<Tooltip>
|
|
1113
|
+
<TooltipTrigger as-child>
|
|
1114
|
+
<ContextMenuRadioItem
|
|
1115
|
+
value="stretch"
|
|
1116
|
+
hide-indicator
|
|
1117
|
+
:class="alignItemClass"
|
|
1118
|
+
@select.prevent
|
|
1119
|
+
>
|
|
1120
|
+
<Icon icon="fluent:arrow-autofit-width-20-regular" />
|
|
1121
|
+
</ContextMenuRadioItem>
|
|
1122
|
+
</TooltipTrigger>
|
|
1123
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
1124
|
+
水平撑满
|
|
1125
|
+
</TooltipContent>
|
|
1126
|
+
</Tooltip>
|
|
1127
|
+
</ContextMenuRadioGroup>
|
|
1128
|
+
<ContextMenuRadioGroup
|
|
1129
|
+
:model-value="entry.placement.v ?? 'stretch'"
|
|
1130
|
+
class="my-1 flex items-center justify-center gap-0.5"
|
|
1131
|
+
@update:model-value="(v) => v && setAlignment(entry.itemId, { v })"
|
|
1132
|
+
>
|
|
1133
|
+
<Tooltip>
|
|
1134
|
+
<TooltipTrigger as-child>
|
|
1135
|
+
<ContextMenuRadioItem
|
|
1136
|
+
value="start"
|
|
1137
|
+
hide-indicator
|
|
1138
|
+
:class="alignItemClass"
|
|
1139
|
+
@select.prevent
|
|
1140
|
+
>
|
|
1141
|
+
<Icon icon="fluent:align-top-20-regular" />
|
|
1142
|
+
</ContextMenuRadioItem>
|
|
1143
|
+
</TooltipTrigger>
|
|
1144
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
1145
|
+
顶部对齐
|
|
1146
|
+
</TooltipContent>
|
|
1147
|
+
</Tooltip>
|
|
1148
|
+
<Tooltip>
|
|
1149
|
+
<TooltipTrigger as-child>
|
|
1150
|
+
<ContextMenuRadioItem
|
|
1151
|
+
value="center"
|
|
1152
|
+
hide-indicator
|
|
1153
|
+
:class="alignItemClass"
|
|
1154
|
+
@select.prevent
|
|
1155
|
+
>
|
|
1156
|
+
<Icon icon="fluent:align-center-vertical-20-regular" />
|
|
1157
|
+
</ContextMenuRadioItem>
|
|
1158
|
+
</TooltipTrigger>
|
|
1159
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
1160
|
+
垂直居中
|
|
1161
|
+
</TooltipContent>
|
|
1162
|
+
</Tooltip>
|
|
1163
|
+
<Tooltip>
|
|
1164
|
+
<TooltipTrigger as-child>
|
|
1165
|
+
<ContextMenuRadioItem
|
|
1166
|
+
value="end"
|
|
1167
|
+
hide-indicator
|
|
1168
|
+
:class="alignItemClass"
|
|
1169
|
+
@select.prevent
|
|
1170
|
+
>
|
|
1171
|
+
<Icon icon="fluent:align-bottom-20-regular" />
|
|
1172
|
+
</ContextMenuRadioItem>
|
|
1173
|
+
</TooltipTrigger>
|
|
1174
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
1175
|
+
底部对齐
|
|
1176
|
+
</TooltipContent>
|
|
1177
|
+
</Tooltip>
|
|
1178
|
+
<Tooltip>
|
|
1179
|
+
<TooltipTrigger as-child>
|
|
1180
|
+
<ContextMenuRadioItem
|
|
1181
|
+
value="stretch"
|
|
1182
|
+
hide-indicator
|
|
1183
|
+
:class="alignItemClass"
|
|
1184
|
+
@select.prevent
|
|
1185
|
+
>
|
|
1186
|
+
<Icon icon="fluent:arrow-autofit-height-20-regular" />
|
|
1187
|
+
</ContextMenuRadioItem>
|
|
1188
|
+
</TooltipTrigger>
|
|
1189
|
+
<TooltipContent :to="isFullscreen ? canvasRef : null">
|
|
1190
|
+
垂直撑满
|
|
1191
|
+
</TooltipContent>
|
|
1192
|
+
</Tooltip>
|
|
1193
|
+
</ContextMenuRadioGroup>
|
|
1194
|
+
<ContextMenuSeparator />
|
|
1195
|
+
<ContextMenuItem @select="hideItem(entry.itemId)">
|
|
1196
|
+
<Icon icon="fluent:eye-off-20-regular" />
|
|
1197
|
+
<span>从当前布局移除</span>
|
|
1198
|
+
</ContextMenuItem>
|
|
1199
|
+
<ContextMenuItem
|
|
1200
|
+
v-if="props.canDelete"
|
|
1201
|
+
class="text-red-500 focus:text-red-600 hover:text-red-600 focus:bg-red-50 hover:bg-red-50 [&_svg:not([class*='text-'])]:text-red-400"
|
|
1202
|
+
@select="emit('delete-item', entry.itemId)"
|
|
1203
|
+
>
|
|
1204
|
+
<Icon icon="fluent:delete-20-regular" />
|
|
1205
|
+
<span>彻底删除</span>
|
|
1206
|
+
</ContextMenuItem>
|
|
1207
|
+
</template>
|
|
1208
|
+
</ContextMenuContent>
|
|
1209
|
+
</ContextMenu>
|
|
1210
|
+
|
|
1211
|
+
<template v-if="drag?.kind === 'move'">
|
|
1212
|
+
<div
|
|
1213
|
+
v-for="ind in distanceIndicators"
|
|
1214
|
+
:key="ind.dir"
|
|
1215
|
+
class="dist-indicator absolute pointer-events-none"
|
|
1216
|
+
:class="`dist-${ind.dir}`"
|
|
1217
|
+
:style="indicatorStyle(ind)"
|
|
1218
|
+
>
|
|
1219
|
+
<span class="dist-line" />
|
|
1220
|
+
<span class="dist-label">{{ ind.units }}</span>
|
|
1221
|
+
<span class="dist-line" />
|
|
1222
|
+
</div>
|
|
1223
|
+
</template>
|
|
1224
|
+
|
|
1225
|
+
<div
|
|
1226
|
+
v-if="activeLayout"
|
|
1227
|
+
class="absolute bottom-3 left-3 flex items-center gap-3 rounded-md bg-transparent px-3 py-2 font-mono text-sm opacity-50 transition-[opacity,background-color,backdrop-filter] hover:bg-white/95 hover:opacity-100 hover:backdrop-blur focus-within:bg-white/95 focus-within:opacity-100 focus-within:backdrop-blur"
|
|
1228
|
+
@mousedown.stop
|
|
1229
|
+
>
|
|
1230
|
+
<Field
|
|
1231
|
+
orientation="horizontal"
|
|
1232
|
+
class="items-center gap-2"
|
|
1233
|
+
>
|
|
1234
|
+
<FieldLabel class="text-sm text-zinc-500">
|
|
1235
|
+
间距
|
|
1236
|
+
</FieldLabel>
|
|
1237
|
+
<div class="gap-input w-20">
|
|
1238
|
+
<InputGroup class="h-7">
|
|
1239
|
+
<InputGroupNumberField
|
|
1240
|
+
:model-value="activeGap"
|
|
1241
|
+
:min="0"
|
|
1242
|
+
:step="1"
|
|
1243
|
+
class="font-mono"
|
|
1244
|
+
@update:model-value="setGap"
|
|
1245
|
+
/>
|
|
1246
|
+
</InputGroup>
|
|
1247
|
+
</div>
|
|
1248
|
+
</Field>
|
|
1249
|
+
</div>
|
|
1250
|
+
|
|
1251
|
+
<div
|
|
1252
|
+
v-if="activeLayout && (showPickerNewGroup || unplacedItems.length > 0)"
|
|
1253
|
+
class="absolute bottom-3 right-3 w-60 rounded-md bg-white/95 backdrop-blur"
|
|
1254
|
+
@mousedown.stop
|
|
1255
|
+
@click.capture="captureAddModifiers"
|
|
1256
|
+
@keydown.capture="captureAddModifiers"
|
|
1257
|
+
>
|
|
1258
|
+
<InputGroup>
|
|
1259
|
+
<InputGroupAddon align="inline-start">
|
|
1260
|
+
<Icon icon="fluent:add-20-regular" />
|
|
1261
|
+
</InputGroupAddon>
|
|
1262
|
+
<InputGroupCombobox
|
|
1263
|
+
:placeholder="`\u6DFB\u52A0${itemNoun}`"
|
|
1264
|
+
:to="isFullscreen ? canvasRef : null"
|
|
1265
|
+
>
|
|
1266
|
+
<CommandGroup
|
|
1267
|
+
v-if="unplacedItems.length > 0"
|
|
1268
|
+
heading="未放置"
|
|
1269
|
+
>
|
|
1270
|
+
<CommandItem
|
|
1271
|
+
v-for="entry in unplacedItems"
|
|
1272
|
+
:key="`existing:${entry.item.id}`"
|
|
1273
|
+
:value="`existing:${entry.item.id}`"
|
|
1274
|
+
@select="placeUnplacedItem(entry)"
|
|
1275
|
+
>
|
|
1276
|
+
<Icon
|
|
1277
|
+
:icon="entry.icon"
|
|
1278
|
+
class="size-4 shrink-0 text-zinc-400"
|
|
1279
|
+
/>
|
|
1280
|
+
<span class="flex-1 truncate">{{ entry.label }}</span>
|
|
1281
|
+
<span class="ml-auto text-[10px] tabular-nums text-zinc-400">
|
|
1282
|
+
{{ entry.initialW }} × {{ entry.initialH }}
|
|
1283
|
+
</span>
|
|
1284
|
+
</CommandItem>
|
|
1285
|
+
</CommandGroup>
|
|
1286
|
+
<CommandGroup
|
|
1287
|
+
v-if="showPickerNewGroup"
|
|
1288
|
+
heading="组件"
|
|
1289
|
+
>
|
|
1290
|
+
<CommandItem
|
|
1291
|
+
v-for="entry in props.pickerEntries"
|
|
1292
|
+
:key="`new:${entry.type}@${entry.compatibilityDate}`"
|
|
1293
|
+
:value="`new:${entry.type}@${entry.compatibilityDate}`"
|
|
1294
|
+
@select="emitAddNew(entry)"
|
|
1295
|
+
>
|
|
1296
|
+
<Icon
|
|
1297
|
+
:icon="entry.icon"
|
|
1298
|
+
class="size-4 shrink-0"
|
|
1299
|
+
/>
|
|
1300
|
+
<span class="flex-1 truncate">{{ entry.name }}</span>
|
|
1301
|
+
<span class="ml-auto text-[10px] tabular-nums text-zinc-400">{{ entry.compatibilityDate }}</span>
|
|
1302
|
+
</CommandItem>
|
|
1303
|
+
</CommandGroup>
|
|
1304
|
+
</InputGroupCombobox>
|
|
1305
|
+
</InputGroup>
|
|
1306
|
+
</div>
|
|
1307
|
+
</div>
|
|
1308
|
+
</template>
|
|
1309
|
+
|
|
1310
|
+
<style scoped>
|
|
1311
|
+
.field-block{border:1px solid #e4e4e7;cursor:move;position:absolute}.field-block.is-selected{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.frame-outline{border:1px dashed hsla(240,5%,84%,.7)}.resize-handle{background:transparent;position:absolute}.handle-n{top:-3px}.handle-n,.handle-s{cursor:ns-resize;height:6px;left:12px;right:12px}.handle-s{bottom:-3px}.handle-e{right:-3px}.handle-e,.handle-w{bottom:12px;cursor:ew-resize;top:12px;width:6px}.handle-w{left:-3px}.handle-nw{cursor:nwse-resize;left:-3px}.handle-ne,.handle-nw{height:10px;top:-3px;width:10px}.handle-ne{cursor:nesw-resize;right:-3px}.handle-sw{cursor:nesw-resize;left:-3px}.handle-se,.handle-sw{bottom:-3px;height:10px;width:10px}.handle-se{cursor:nwse-resize;right:-3px}.drill-button{align-items:center;background:transparent;border-radius:4px;color:#71717a;cursor:pointer;display:inline-flex;height:22px;justify-content:center;opacity:0;position:absolute;right:4px;top:4px;transition:opacity .12s ease,background-color .12s ease,color .12s ease;width:22px;z-index:5}.drill-button:focus-visible,.field-block:hover .drill-button{opacity:1}.drill-button:hover{background:#f4f4f5;color:var(--primary)}.gap-input :deep(input){text-align:center}.dist-indicator{align-items:center;color:#f87171;display:flex;justify-content:center;z-index:40}.dist-bottom,.dist-top{flex-direction:column}.dist-left,.dist-right{flex-direction:row}.dist-line{background:currentColor;flex:1 1 0}.dist-bottom .dist-line,.dist-top .dist-line{width:1px}.dist-left .dist-line,.dist-right .dist-line{height:1px}.dist-label{background:#fafafa;border-radius:2px;color:#f87171;font-size:10px;font-variant-numeric:tabular-nums;line-height:1;padding:1px 4px}
|
|
1312
|
+
</style>
|