@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,48 @@
|
|
|
1
|
+
import { type ComputedRef, type Ref } from 'vue';
|
|
2
|
+
import { Schema } from 'effect';
|
|
3
|
+
import { type AiConfig } from './store.js';
|
|
4
|
+
export interface GenerateTextInput {
|
|
5
|
+
readonly prompt: string;
|
|
6
|
+
readonly system?: string;
|
|
7
|
+
readonly signal?: AbortSignal;
|
|
8
|
+
readonly maxTokens?: number;
|
|
9
|
+
readonly onProgress?: () => void;
|
|
10
|
+
}
|
|
11
|
+
export interface AgenticTool {
|
|
12
|
+
readonly name: string;
|
|
13
|
+
readonly description: string;
|
|
14
|
+
readonly inputJsonSchema: unknown;
|
|
15
|
+
readonly execute: (input: unknown) => unknown | Promise<unknown>;
|
|
16
|
+
}
|
|
17
|
+
export interface GenerateObjectInput<A, I extends Record<string, unknown>> {
|
|
18
|
+
readonly prompt: string;
|
|
19
|
+
readonly system?: string;
|
|
20
|
+
readonly schema: Schema.Schema<A, I>;
|
|
21
|
+
readonly signal?: AbortSignal;
|
|
22
|
+
readonly objectName?: string;
|
|
23
|
+
readonly maxTokens?: number;
|
|
24
|
+
readonly onProgress?: () => void;
|
|
25
|
+
readonly tools?: ReadonlyArray<AgenticTool>;
|
|
26
|
+
readonly retry?: {
|
|
27
|
+
readonly previousOutput: unknown;
|
|
28
|
+
readonly feedback: string;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export interface Ai {
|
|
32
|
+
readonly available: ComputedRef<boolean>;
|
|
33
|
+
readonly config: Ref<AiConfig | null>;
|
|
34
|
+
readonly setConfig: (next: AiConfig | null) => void;
|
|
35
|
+
readonly openSettings: () => void;
|
|
36
|
+
readonly generateText: (input: GenerateTextInput) => Promise<string>;
|
|
37
|
+
readonly generateObject: <A, I extends Record<string, unknown>>(input: GenerateObjectInput<A, I>) => Promise<A>;
|
|
38
|
+
}
|
|
39
|
+
export declare class StructuredOutputDecodeError extends Error {
|
|
40
|
+
readonly rawOutput: unknown;
|
|
41
|
+
constructor(rawOutput: unknown, cause: unknown);
|
|
42
|
+
}
|
|
43
|
+
declare const _default: import("#app").Plugin<{
|
|
44
|
+
ai: Ai;
|
|
45
|
+
}> & import("#app").ObjectPlugin<{
|
|
46
|
+
ai: Ai;
|
|
47
|
+
}>;
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1,522 @@
|
|
|
1
|
+
import { defineNuxtPlugin } from "#app";
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
import { JSONSchema, Schema } from "effect";
|
|
4
|
+
import { isByokAllowed } from "./gate.js";
|
|
5
|
+
import { createConfigRef, DEFAULT_MAX_TOKENS as CONFIG_DEFAULT_MAX_TOKENS } from "./store.js";
|
|
6
|
+
import { settingsOpen } from "./settings-state.js";
|
|
7
|
+
const DEFAULT_ANTHROPIC_MODEL = "claude-sonnet-4-5-20250929";
|
|
8
|
+
const DEFAULT_ANTHROPIC_ENDPOINT = "https://api.anthropic.com/v1/messages";
|
|
9
|
+
const DEFAULT_OPENAI_MODEL = "gpt-4o-mini";
|
|
10
|
+
const DEFAULT_OPENAI_ENDPOINT = "https://api.openai.com/v1/chat/completions";
|
|
11
|
+
export class StructuredOutputDecodeError extends Error {
|
|
12
|
+
rawOutput;
|
|
13
|
+
constructor(rawOutput, cause) {
|
|
14
|
+
super(cause instanceof Error ? cause.message : String(cause));
|
|
15
|
+
this.name = "StructuredOutputDecodeError";
|
|
16
|
+
this.rawOutput = rawOutput;
|
|
17
|
+
if (cause !== void 0) this.cause = cause;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
async function readError(res) {
|
|
21
|
+
try {
|
|
22
|
+
const body = await res.json();
|
|
23
|
+
if (typeof body.error === "string") return body.error;
|
|
24
|
+
return body.error?.message ?? "";
|
|
25
|
+
} catch {
|
|
26
|
+
return await res.text().catch(() => "");
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
async function* readSSE(res) {
|
|
30
|
+
if (!res.body) return;
|
|
31
|
+
const reader = res.body.getReader();
|
|
32
|
+
const decoder = new TextDecoder();
|
|
33
|
+
let buf = "";
|
|
34
|
+
for (; ; ) {
|
|
35
|
+
const { value, done } = await reader.read();
|
|
36
|
+
if (done) break;
|
|
37
|
+
buf += decoder.decode(value, { stream: true });
|
|
38
|
+
buf = buf.replace(/\r\n/g, "\n");
|
|
39
|
+
let idx;
|
|
40
|
+
while ((idx = buf.indexOf("\n\n")) !== -1) {
|
|
41
|
+
const block = buf.slice(0, idx);
|
|
42
|
+
buf = buf.slice(idx + 2);
|
|
43
|
+
let event;
|
|
44
|
+
const dataLines = [];
|
|
45
|
+
for (const line of block.split("\n")) {
|
|
46
|
+
if (line.startsWith("event:")) event = line.slice(6).trim();
|
|
47
|
+
else if (line.startsWith("data:")) dataLines.push(line.slice(5).replace(/^ /, ""));
|
|
48
|
+
}
|
|
49
|
+
if (dataLines.length === 0) continue;
|
|
50
|
+
yield { event, data: dataLines.join("\n") };
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function buildAnthropicClient(cfg) {
|
|
55
|
+
const endpoint = cfg.endpoint ?? DEFAULT_ANTHROPIC_ENDPOINT;
|
|
56
|
+
const model = cfg.model ?? DEFAULT_ANTHROPIC_MODEL;
|
|
57
|
+
const configuredMaxTokens = cfg.maxTokens ?? CONFIG_DEFAULT_MAX_TOKENS;
|
|
58
|
+
const RETRY_TOOL_USE_ID = "retry_call_0";
|
|
59
|
+
function buildBody(messages, options) {
|
|
60
|
+
return {
|
|
61
|
+
model,
|
|
62
|
+
max_tokens: options.maxTokens ?? configuredMaxTokens,
|
|
63
|
+
messages,
|
|
64
|
+
...options.system !== void 0 ? { system: options.system } : {},
|
|
65
|
+
...options.tools !== void 0 ? { tools: options.tools } : {},
|
|
66
|
+
...options.toolChoice !== void 0 ? { tool_choice: options.toolChoice } : {}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function buildInitialMessages(prompt, retry) {
|
|
70
|
+
const messages = [{ role: "user", content: prompt }];
|
|
71
|
+
if (retry) {
|
|
72
|
+
messages.push({
|
|
73
|
+
role: "assistant",
|
|
74
|
+
content: [{
|
|
75
|
+
type: "tool_use",
|
|
76
|
+
id: RETRY_TOOL_USE_ID,
|
|
77
|
+
name: retry.toolName,
|
|
78
|
+
input: retry.previousOutput
|
|
79
|
+
}]
|
|
80
|
+
});
|
|
81
|
+
messages.push({
|
|
82
|
+
role: "user",
|
|
83
|
+
content: [{
|
|
84
|
+
type: "tool_result",
|
|
85
|
+
tool_use_id: RETRY_TOOL_USE_ID,
|
|
86
|
+
content: retry.feedback
|
|
87
|
+
}]
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
return messages;
|
|
91
|
+
}
|
|
92
|
+
function buildInit(body, signal) {
|
|
93
|
+
return {
|
|
94
|
+
method: "POST",
|
|
95
|
+
headers: {
|
|
96
|
+
"content-type": "application/json",
|
|
97
|
+
"x-api-key": cfg.apiKey,
|
|
98
|
+
"anthropic-version": "2023-06-01",
|
|
99
|
+
// CORS opt-in for browser-direct calls. The name is deliberately
|
|
100
|
+
// scary — keys live in localStorage on dev/beta only, gated by gate.ts.
|
|
101
|
+
"anthropic-dangerous-direct-browser-access": "true"
|
|
102
|
+
},
|
|
103
|
+
body: JSON.stringify(body),
|
|
104
|
+
...signal ? { signal } : {}
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
async function call(messages, options, signal) {
|
|
108
|
+
const res = await fetch(endpoint, buildInit(buildBody(messages, options), signal));
|
|
109
|
+
if (!res.ok) {
|
|
110
|
+
throw new Error(`Anthropic ${res.status}: ${await readError(res) || res.statusText}`);
|
|
111
|
+
}
|
|
112
|
+
return await res.json();
|
|
113
|
+
}
|
|
114
|
+
async function callStream(messages, options, signal, onProgress) {
|
|
115
|
+
const body = { ...buildBody(messages, options), stream: true };
|
|
116
|
+
const res = await fetch(endpoint, buildInit(body, signal));
|
|
117
|
+
if (!res.ok) {
|
|
118
|
+
throw new Error(`Anthropic ${res.status}: ${await readError(res) || res.statusText}`);
|
|
119
|
+
}
|
|
120
|
+
const blocks = /* @__PURE__ */ new Map();
|
|
121
|
+
for await (const ev of readSSE(res)) {
|
|
122
|
+
if (ev.event === "content_block_start") {
|
|
123
|
+
const data = JSON.parse(ev.data);
|
|
124
|
+
blocks.set(data.index, {
|
|
125
|
+
type: data.content_block.type,
|
|
126
|
+
id: data.content_block.id,
|
|
127
|
+
name: data.content_block.name,
|
|
128
|
+
text: "",
|
|
129
|
+
inputJson: ""
|
|
130
|
+
});
|
|
131
|
+
} else if (ev.event === "content_block_delta") {
|
|
132
|
+
const data = JSON.parse(ev.data);
|
|
133
|
+
const block = blocks.get(data.index);
|
|
134
|
+
if (!block) continue;
|
|
135
|
+
if (data.delta.type === "text_delta" && data.delta.text) {
|
|
136
|
+
block.text += data.delta.text;
|
|
137
|
+
onProgress();
|
|
138
|
+
} else if (data.delta.type === "input_json_delta" && data.delta.partial_json) {
|
|
139
|
+
block.inputJson += data.delta.partial_json;
|
|
140
|
+
onProgress();
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
const ordered = [...blocks.entries()].sort(([a], [b]) => a - b);
|
|
145
|
+
const content = ordered.map(([, block]) => {
|
|
146
|
+
if (block.type === "text") return { type: "text", text: block.text };
|
|
147
|
+
if (block.type === "tool_use") {
|
|
148
|
+
let input = {};
|
|
149
|
+
if (block.inputJson) {
|
|
150
|
+
try {
|
|
151
|
+
input = JSON.parse(block.inputJson);
|
|
152
|
+
} catch {
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
return {
|
|
156
|
+
type: "tool_use",
|
|
157
|
+
id: block.id ?? "",
|
|
158
|
+
name: block.name ?? "",
|
|
159
|
+
input
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
return { type: block.type };
|
|
163
|
+
});
|
|
164
|
+
return { content };
|
|
165
|
+
}
|
|
166
|
+
function extractText(response) {
|
|
167
|
+
return response.content.filter((b) => b.type === "text").map((b) => b.text).join("");
|
|
168
|
+
}
|
|
169
|
+
return {
|
|
170
|
+
async generateText(input) {
|
|
171
|
+
const opts = {
|
|
172
|
+
...input.system !== void 0 ? { system: input.system } : {},
|
|
173
|
+
...input.maxTokens !== void 0 ? { maxTokens: input.maxTokens } : {}
|
|
174
|
+
};
|
|
175
|
+
const messages = [{ role: "user", content: input.prompt }];
|
|
176
|
+
const response = input.onProgress ? await callStream(messages, opts, input.signal, input.onProgress) : await call(messages, opts, input.signal);
|
|
177
|
+
return extractText(response);
|
|
178
|
+
},
|
|
179
|
+
async generateObject(input) {
|
|
180
|
+
const toolName = input.objectName ?? "structured_output";
|
|
181
|
+
const structuredSchema = JSONSchema.make(input.schema);
|
|
182
|
+
const helperTools = input.tools ?? [];
|
|
183
|
+
const helperByName = new Map(helperTools.map((t) => [t.name, t]));
|
|
184
|
+
const tools = [
|
|
185
|
+
...helperTools.map((t) => ({
|
|
186
|
+
name: t.name,
|
|
187
|
+
description: t.description,
|
|
188
|
+
input_schema: t.inputJsonSchema
|
|
189
|
+
})),
|
|
190
|
+
{
|
|
191
|
+
name: toolName,
|
|
192
|
+
description: "Return the structured output as the tool input.",
|
|
193
|
+
input_schema: structuredSchema
|
|
194
|
+
}
|
|
195
|
+
];
|
|
196
|
+
const toolChoice = helperTools.length > 0 ? { type: "any" } : { type: "tool", name: toolName };
|
|
197
|
+
const optsBase = {
|
|
198
|
+
...input.system !== void 0 ? { system: input.system } : {},
|
|
199
|
+
...input.maxTokens !== void 0 ? { maxTokens: input.maxTokens } : {},
|
|
200
|
+
tools,
|
|
201
|
+
toolChoice
|
|
202
|
+
};
|
|
203
|
+
const messages = buildInitialMessages(
|
|
204
|
+
input.prompt,
|
|
205
|
+
input.retry !== void 0 ? { ...input.retry, toolName } : void 0
|
|
206
|
+
);
|
|
207
|
+
const decode = (raw) => {
|
|
208
|
+
try {
|
|
209
|
+
return Schema.decodeUnknownSync(input.schema)(raw);
|
|
210
|
+
} catch (cause) {
|
|
211
|
+
throw new StructuredOutputDecodeError(raw, cause);
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
for (; ; ) {
|
|
215
|
+
const response = input.onProgress ? await callStream(messages, optsBase, input.signal, input.onProgress) : await call(messages, optsBase, input.signal);
|
|
216
|
+
const structured = response.content.find(
|
|
217
|
+
(b) => b.type === "tool_use" && b.name === toolName
|
|
218
|
+
);
|
|
219
|
+
if (structured) return decode(structured.input);
|
|
220
|
+
const helperCalls = response.content.filter(
|
|
221
|
+
(b) => b.type === "tool_use"
|
|
222
|
+
);
|
|
223
|
+
if (helperCalls.length === 0) {
|
|
224
|
+
const text = response.content.filter((b) => b.type === "text").map((b) => b.text).join("");
|
|
225
|
+
throw new Error(`\u6A21\u578B\u672A\u8FD4\u56DE\u7ED3\u6784\u5316\u8F93\u51FA${text ? `: ${text.slice(0, 200)}` : ""}`);
|
|
226
|
+
}
|
|
227
|
+
const toolResults = [];
|
|
228
|
+
for (const callBlock of helperCalls) {
|
|
229
|
+
const tool = helperByName.get(callBlock.name);
|
|
230
|
+
if (!tool) {
|
|
231
|
+
toolResults.push({
|
|
232
|
+
type: "tool_result",
|
|
233
|
+
tool_use_id: callBlock.id,
|
|
234
|
+
content: `Unknown tool: ${callBlock.name}`,
|
|
235
|
+
is_error: true
|
|
236
|
+
});
|
|
237
|
+
continue;
|
|
238
|
+
}
|
|
239
|
+
try {
|
|
240
|
+
const result = await tool.execute(callBlock.input);
|
|
241
|
+
toolResults.push({
|
|
242
|
+
type: "tool_result",
|
|
243
|
+
tool_use_id: callBlock.id,
|
|
244
|
+
content: typeof result === "string" ? result : JSON.stringify(result)
|
|
245
|
+
});
|
|
246
|
+
} catch (err) {
|
|
247
|
+
toolResults.push({
|
|
248
|
+
type: "tool_result",
|
|
249
|
+
tool_use_id: callBlock.id,
|
|
250
|
+
content: err instanceof Error ? err.message : String(err),
|
|
251
|
+
is_error: true
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
messages.push({ role: "assistant", content: response.content });
|
|
256
|
+
messages.push({ role: "user", content: toolResults });
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
function buildOpenAIClient(cfg) {
|
|
262
|
+
const endpoint = cfg.endpoint ?? DEFAULT_OPENAI_ENDPOINT;
|
|
263
|
+
const model = cfg.model ?? DEFAULT_OPENAI_MODEL;
|
|
264
|
+
const configuredMaxTokens = cfg.maxTokens ?? CONFIG_DEFAULT_MAX_TOKENS;
|
|
265
|
+
function buildBody(messages, options) {
|
|
266
|
+
return {
|
|
267
|
+
model,
|
|
268
|
+
messages,
|
|
269
|
+
max_tokens: options.maxTokens ?? configuredMaxTokens,
|
|
270
|
+
...options.tools !== void 0 ? { tools: options.tools } : {},
|
|
271
|
+
...options.toolChoice !== void 0 ? { tool_choice: options.toolChoice } : {}
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
function buildInit(body, signal) {
|
|
275
|
+
return {
|
|
276
|
+
method: "POST",
|
|
277
|
+
headers: {
|
|
278
|
+
"content-type": "application/json",
|
|
279
|
+
"authorization": `Bearer ${cfg.apiKey}`
|
|
280
|
+
},
|
|
281
|
+
body: JSON.stringify(body),
|
|
282
|
+
...signal ? { signal } : {}
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
async function call(messages, options, signal) {
|
|
286
|
+
const res = await fetch(endpoint, buildInit(buildBody(messages, options), signal));
|
|
287
|
+
if (!res.ok) {
|
|
288
|
+
throw new Error(`OpenAI ${res.status}: ${await readError(res) || res.statusText}`);
|
|
289
|
+
}
|
|
290
|
+
return await res.json();
|
|
291
|
+
}
|
|
292
|
+
async function callStream(messages, options, signal, onProgress) {
|
|
293
|
+
const body = { ...buildBody(messages, options), stream: true };
|
|
294
|
+
const res = await fetch(endpoint, buildInit(body, signal));
|
|
295
|
+
if (!res.ok) {
|
|
296
|
+
throw new Error(`OpenAI ${res.status}: ${await readError(res) || res.statusText}`);
|
|
297
|
+
}
|
|
298
|
+
let content = "";
|
|
299
|
+
const tools = /* @__PURE__ */ new Map();
|
|
300
|
+
let finishReason;
|
|
301
|
+
for await (const ev of readSSE(res)) {
|
|
302
|
+
if (ev.data === "[DONE]") break;
|
|
303
|
+
let chunk;
|
|
304
|
+
try {
|
|
305
|
+
chunk = JSON.parse(ev.data);
|
|
306
|
+
} catch {
|
|
307
|
+
continue;
|
|
308
|
+
}
|
|
309
|
+
const choice = chunk.choices?.[0];
|
|
310
|
+
if (!choice) continue;
|
|
311
|
+
if (choice.finish_reason) finishReason = choice.finish_reason;
|
|
312
|
+
const delta = choice.delta;
|
|
313
|
+
if (!delta) continue;
|
|
314
|
+
if (delta.content) {
|
|
315
|
+
content += delta.content;
|
|
316
|
+
onProgress();
|
|
317
|
+
}
|
|
318
|
+
if (delta.tool_calls) {
|
|
319
|
+
for (const tc of delta.tool_calls) {
|
|
320
|
+
const idx = tc.index ?? 0;
|
|
321
|
+
const cur = tools.get(idx) ?? { arguments: "" };
|
|
322
|
+
if (tc.id) cur.id = tc.id;
|
|
323
|
+
if (tc.function?.name) cur.name = tc.function.name;
|
|
324
|
+
if (tc.function?.arguments) {
|
|
325
|
+
cur.arguments += tc.function.arguments;
|
|
326
|
+
onProgress();
|
|
327
|
+
}
|
|
328
|
+
tools.set(idx, cur);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
const toolCalls = [...tools.entries()].sort(([a], [b]) => a - b).map(([, v]) => ({
|
|
333
|
+
id: v.id ?? "",
|
|
334
|
+
type: "function",
|
|
335
|
+
function: { name: v.name ?? "", arguments: v.arguments }
|
|
336
|
+
}));
|
|
337
|
+
return {
|
|
338
|
+
choices: [{
|
|
339
|
+
finish_reason: finishReason,
|
|
340
|
+
message: {
|
|
341
|
+
content: content || null,
|
|
342
|
+
...toolCalls.length > 0 ? { tool_calls: toolCalls } : {}
|
|
343
|
+
}
|
|
344
|
+
}]
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
const RETRY_TOOL_CALL_ID = "retry_call_0";
|
|
348
|
+
function buildMessages(prompt, system) {
|
|
349
|
+
const messages = [];
|
|
350
|
+
if (system !== void 0) messages.push({ role: "system", content: system });
|
|
351
|
+
messages.push({ role: "user", content: prompt });
|
|
352
|
+
return messages;
|
|
353
|
+
}
|
|
354
|
+
function appendRetry(messages, retry, toolName) {
|
|
355
|
+
messages.push({
|
|
356
|
+
role: "assistant",
|
|
357
|
+
content: null,
|
|
358
|
+
tool_calls: [{
|
|
359
|
+
id: RETRY_TOOL_CALL_ID,
|
|
360
|
+
type: "function",
|
|
361
|
+
function: { name: toolName, arguments: JSON.stringify(retry.previousOutput) }
|
|
362
|
+
}]
|
|
363
|
+
});
|
|
364
|
+
messages.push({
|
|
365
|
+
role: "tool",
|
|
366
|
+
tool_call_id: RETRY_TOOL_CALL_ID,
|
|
367
|
+
content: retry.feedback
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
return {
|
|
371
|
+
async generateText(input) {
|
|
372
|
+
const messages = buildMessages(input.prompt, input.system);
|
|
373
|
+
const opts = input.maxTokens !== void 0 ? { maxTokens: input.maxTokens } : {};
|
|
374
|
+
const response = input.onProgress ? await callStream(messages, opts, input.signal, input.onProgress) : await call(messages, opts, input.signal);
|
|
375
|
+
return response.choices[0]?.message.content ?? "";
|
|
376
|
+
},
|
|
377
|
+
async generateObject(input) {
|
|
378
|
+
const toolName = input.objectName ?? "structured_output";
|
|
379
|
+
const structuredParams = JSONSchema.make(input.schema);
|
|
380
|
+
const helperTools = input.tools ?? [];
|
|
381
|
+
const helperByName = new Map(helperTools.map((t) => [t.name, t]));
|
|
382
|
+
const tools = [
|
|
383
|
+
...helperTools.map((t) => ({
|
|
384
|
+
type: "function",
|
|
385
|
+
function: {
|
|
386
|
+
name: t.name,
|
|
387
|
+
description: t.description,
|
|
388
|
+
parameters: t.inputJsonSchema
|
|
389
|
+
}
|
|
390
|
+
})),
|
|
391
|
+
{
|
|
392
|
+
type: "function",
|
|
393
|
+
function: {
|
|
394
|
+
name: toolName,
|
|
395
|
+
description: "Return the structured output as the function arguments.",
|
|
396
|
+
parameters: structuredParams
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
];
|
|
400
|
+
const toolChoice = helperTools.length > 0 ? "required" : { type: "function", function: { name: toolName } };
|
|
401
|
+
const messages = buildMessages(input.prompt, input.system);
|
|
402
|
+
if (input.retry) appendRetry(messages, input.retry, toolName);
|
|
403
|
+
const opts = {
|
|
404
|
+
tools,
|
|
405
|
+
toolChoice,
|
|
406
|
+
...input.maxTokens !== void 0 ? { maxTokens: input.maxTokens } : {}
|
|
407
|
+
};
|
|
408
|
+
const decodeArgs = (raw) => {
|
|
409
|
+
try {
|
|
410
|
+
return JSON.parse(raw);
|
|
411
|
+
} catch (err) {
|
|
412
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
413
|
+
throw new Error(`\u65E0\u6CD5\u89E3\u6790\u6A21\u578B\u8FD4\u56DE\u7684\u7ED3\u6784\u5316\u6570\u636E: ${message}`);
|
|
414
|
+
}
|
|
415
|
+
};
|
|
416
|
+
const decode = (raw) => {
|
|
417
|
+
try {
|
|
418
|
+
return Schema.decodeUnknownSync(input.schema)(raw);
|
|
419
|
+
} catch (cause) {
|
|
420
|
+
throw new StructuredOutputDecodeError(raw, cause);
|
|
421
|
+
}
|
|
422
|
+
};
|
|
423
|
+
for (; ; ) {
|
|
424
|
+
const response = input.onProgress ? await callStream(messages, opts, input.signal, input.onProgress) : await call(messages, opts, input.signal);
|
|
425
|
+
const choice = response.choices[0];
|
|
426
|
+
const structured = choice?.message.tool_calls?.find((c) => c.function.name === toolName);
|
|
427
|
+
if (structured) {
|
|
428
|
+
return decode(decodeArgs(structured.function.arguments));
|
|
429
|
+
}
|
|
430
|
+
const helperCalls = choice?.message.tool_calls ?? [];
|
|
431
|
+
if (helperCalls.length === 0) {
|
|
432
|
+
if (choice?.finish_reason === "length") {
|
|
433
|
+
throw new Error("\u6A21\u578B\u5728\u4EA7\u51FA\u7ED3\u6784\u5316\u7ED3\u679C\u524D\u7528\u5C3D\u4E86 token \u9884\u7B97\uFF08finish_reason=length\uFF09\u3002\u8BF7\u63D0\u9AD8 maxTokens\uFF0C\u6216\u6362\u7528\u975E\u63A8\u7406\u6A21\u578B\u3002");
|
|
434
|
+
}
|
|
435
|
+
const text = choice?.message.content ?? "";
|
|
436
|
+
const reason = choice?.finish_reason ? `\uFF08finish_reason=${choice.finish_reason}\uFF09` : "";
|
|
437
|
+
throw new Error(`\u6A21\u578B\u672A\u8FD4\u56DE\u7ED3\u6784\u5316\u8F93\u51FA${reason}${text ? `: ${text.slice(0, 200)}` : ""}`);
|
|
438
|
+
}
|
|
439
|
+
messages.push({
|
|
440
|
+
role: "assistant",
|
|
441
|
+
content: null,
|
|
442
|
+
tool_calls: helperCalls
|
|
443
|
+
});
|
|
444
|
+
for (const callBlock of helperCalls) {
|
|
445
|
+
const tool = helperByName.get(callBlock.function.name);
|
|
446
|
+
if (!tool) {
|
|
447
|
+
messages.push({
|
|
448
|
+
role: "tool",
|
|
449
|
+
tool_call_id: callBlock.id,
|
|
450
|
+
content: `Unknown tool: ${callBlock.function.name}`
|
|
451
|
+
});
|
|
452
|
+
continue;
|
|
453
|
+
}
|
|
454
|
+
let parsedInput = {};
|
|
455
|
+
try {
|
|
456
|
+
parsedInput = callBlock.function.arguments ? JSON.parse(callBlock.function.arguments) : {};
|
|
457
|
+
} catch {
|
|
458
|
+
}
|
|
459
|
+
try {
|
|
460
|
+
const result = await tool.execute(parsedInput);
|
|
461
|
+
messages.push({
|
|
462
|
+
role: "tool",
|
|
463
|
+
tool_call_id: callBlock.id,
|
|
464
|
+
content: typeof result === "string" ? result : JSON.stringify(result)
|
|
465
|
+
});
|
|
466
|
+
} catch (err) {
|
|
467
|
+
messages.push({
|
|
468
|
+
role: "tool",
|
|
469
|
+
tool_call_id: callBlock.id,
|
|
470
|
+
content: err instanceof Error ? err.message : String(err)
|
|
471
|
+
});
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
};
|
|
477
|
+
}
|
|
478
|
+
function buildClient(cfg) {
|
|
479
|
+
switch (cfg.provider) {
|
|
480
|
+
case "anthropic":
|
|
481
|
+
return buildAnthropicClient(cfg);
|
|
482
|
+
case "openai":
|
|
483
|
+
return buildOpenAIClient(cfg);
|
|
484
|
+
default:
|
|
485
|
+
throw new Error(`unsupported AI provider: ${cfg.provider}`);
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
export default defineNuxtPlugin({
|
|
489
|
+
name: "shwfed:ai",
|
|
490
|
+
setup: () => {
|
|
491
|
+
const config = createConfigRef();
|
|
492
|
+
const allowed = isByokAllowed();
|
|
493
|
+
const available = computed(() => allowed && config.value !== null);
|
|
494
|
+
function setConfig(next) {
|
|
495
|
+
config.value = next;
|
|
496
|
+
}
|
|
497
|
+
function openSettings() {
|
|
498
|
+
settingsOpen.value = true;
|
|
499
|
+
}
|
|
500
|
+
async function generateText(input) {
|
|
501
|
+
const cfg = config.value;
|
|
502
|
+
if (!cfg) throw new Error("AI \u672A\u914D\u7F6E");
|
|
503
|
+
return buildClient(cfg).generateText(input);
|
|
504
|
+
}
|
|
505
|
+
async function generateObject(input) {
|
|
506
|
+
const cfg = config.value;
|
|
507
|
+
if (!cfg) throw new Error("AI \u672A\u914D\u7F6E");
|
|
508
|
+
return buildClient(cfg).generateObject(input);
|
|
509
|
+
}
|
|
510
|
+
const ai = {
|
|
511
|
+
available,
|
|
512
|
+
config,
|
|
513
|
+
setConfig,
|
|
514
|
+
openSettings,
|
|
515
|
+
generateText,
|
|
516
|
+
generateObject
|
|
517
|
+
};
|
|
518
|
+
return {
|
|
519
|
+
provide: { ai }
|
|
520
|
+
};
|
|
521
|
+
}
|
|
522
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const settingsOpen: import("vue").Ref<boolean, boolean>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
export type AiProvider = 'anthropic' | 'openai';
|
|
3
|
+
export interface AiConfig {
|
|
4
|
+
provider: AiProvider;
|
|
5
|
+
apiKey: string;
|
|
6
|
+
model?: string;
|
|
7
|
+
endpoint?: string;
|
|
8
|
+
maxTokens?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const DEFAULT_MAX_TOKENS = 8192;
|
|
11
|
+
export declare function loadConfig(): AiConfig | null;
|
|
12
|
+
export declare function saveConfig(config: AiConfig | null): void;
|
|
13
|
+
export declare function createConfigRef(): Ref<AiConfig | null>;
|
|
14
|
+
export declare const PROVIDER_DEFAULTS: Record<AiProvider, {
|
|
15
|
+
model: string;
|
|
16
|
+
endpoint: string;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ref, watch } from "vue";
|
|
2
|
+
export const DEFAULT_MAX_TOKENS = 8192;
|
|
3
|
+
const STORAGE_KEY = "shwfed:ai:byok";
|
|
4
|
+
function isProvider(v) {
|
|
5
|
+
return v === "anthropic" || v === "openai";
|
|
6
|
+
}
|
|
7
|
+
export function loadConfig() {
|
|
8
|
+
if (typeof window === "undefined") return null;
|
|
9
|
+
try {
|
|
10
|
+
const raw = window.localStorage.getItem(STORAGE_KEY);
|
|
11
|
+
if (!raw) return null;
|
|
12
|
+
const parsed = JSON.parse(raw);
|
|
13
|
+
if (!parsed || typeof parsed !== "object") return null;
|
|
14
|
+
if (typeof parsed.apiKey !== "string" || parsed.apiKey.length === 0) return null;
|
|
15
|
+
if (!isProvider(parsed.provider)) return null;
|
|
16
|
+
return {
|
|
17
|
+
provider: parsed.provider,
|
|
18
|
+
apiKey: parsed.apiKey,
|
|
19
|
+
model: typeof parsed.model === "string" && parsed.model ? parsed.model : void 0,
|
|
20
|
+
endpoint: typeof parsed.endpoint === "string" && parsed.endpoint ? parsed.endpoint : void 0,
|
|
21
|
+
maxTokens: typeof parsed.maxTokens === "number" && Number.isFinite(parsed.maxTokens) && parsed.maxTokens > 0 ? Math.floor(parsed.maxTokens) : void 0
|
|
22
|
+
};
|
|
23
|
+
} catch {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export function saveConfig(config) {
|
|
28
|
+
if (typeof window === "undefined") return;
|
|
29
|
+
if (config === null) window.localStorage.removeItem(STORAGE_KEY);
|
|
30
|
+
else window.localStorage.setItem(STORAGE_KEY, JSON.stringify(config));
|
|
31
|
+
}
|
|
32
|
+
export function createConfigRef() {
|
|
33
|
+
const r = ref(loadConfig());
|
|
34
|
+
watch(r, (next) => saveConfig(next), { deep: true });
|
|
35
|
+
return r;
|
|
36
|
+
}
|
|
37
|
+
export const PROVIDER_DEFAULTS = {
|
|
38
|
+
anthropic: { model: "claude-sonnet-4-5-20250929", endpoint: "https://api.anthropic.com/v1/messages" },
|
|
39
|
+
openai: { model: "gpt-4o-mini", endpoint: "https://api.openai.com/v1/chat/completions" }
|
|
40
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type CELVar = {
|
|
2
|
+
type: string;
|
|
3
|
+
label: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
value: unknown;
|
|
6
|
+
};
|
|
7
|
+
export type CELContext = Record<string, CELVar>;
|
|
8
|
+
export declare function provideCELContext(context: CELContext): void;
|
|
9
|
+
export declare function injectCELContext(): CELContext;
|
|
10
|
+
export declare function celBindings(context: CELContext): Record<string, unknown>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { injectLocal, provideLocal } from "@vueuse/core";
|
|
2
|
+
import { defu } from "defu";
|
|
3
|
+
const CEL_CONTEXT_KEY = Symbol("cel-context");
|
|
4
|
+
export function provideCELContext(context) {
|
|
5
|
+
const parent = injectLocal(CEL_CONTEXT_KEY, {});
|
|
6
|
+
provideLocal(CEL_CONTEXT_KEY, defu(context, parent));
|
|
7
|
+
}
|
|
8
|
+
export function injectCELContext() {
|
|
9
|
+
return injectLocal(CEL_CONTEXT_KEY, {});
|
|
10
|
+
}
|
|
11
|
+
export function celBindings(context) {
|
|
12
|
+
const out = {};
|
|
13
|
+
for (const [name, entry] of Object.entries(context)) {
|
|
14
|
+
out[name] = typeof entry.value === "function" ? entry.value() : entry.value;
|
|
15
|
+
}
|
|
16
|
+
return out;
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { NuxtApp } from '#app';
|
|
2
|
+
import type { Environment } from '../../vendor/cel-js/lib/index.js';
|
|
3
|
+
declare class Http {
|
|
4
|
+
readonly brand: "http";
|
|
5
|
+
}
|
|
6
|
+
export declare const HTTP_INSTANCE: Http;
|
|
7
|
+
export declare function registerHttpFunctions(env: Environment, http: NuxtApp['$http']): void;
|
|
8
|
+
export {};
|