@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,112 @@
|
|
|
1
|
+
export class CelError extends Error {
|
|
2
|
+
#node;
|
|
3
|
+
#code;
|
|
4
|
+
#range;
|
|
5
|
+
#summary;
|
|
6
|
+
constructor({ name, code, message, node, cause, range }) {
|
|
7
|
+
super(message, cause ? { cause } : void 0);
|
|
8
|
+
this.name = name;
|
|
9
|
+
this.#code = code;
|
|
10
|
+
this.#summary = message;
|
|
11
|
+
this.#node = node;
|
|
12
|
+
this.#range = range && normalizeRange(range) || normalizeRange(node);
|
|
13
|
+
if (!node?.input) return;
|
|
14
|
+
this.message = formatErrorWithHighlight(this.#summary, node, this.#range);
|
|
15
|
+
}
|
|
16
|
+
get node() {
|
|
17
|
+
return this.#node;
|
|
18
|
+
}
|
|
19
|
+
get code() {
|
|
20
|
+
return this.#code;
|
|
21
|
+
}
|
|
22
|
+
get range() {
|
|
23
|
+
return this.#range;
|
|
24
|
+
}
|
|
25
|
+
get summary() {
|
|
26
|
+
return this.#summary;
|
|
27
|
+
}
|
|
28
|
+
withAst(node) {
|
|
29
|
+
if (this.#node || !node?.input) return this;
|
|
30
|
+
this.#node = node;
|
|
31
|
+
this.#range ??= normalizeRange(node);
|
|
32
|
+
this.message = formatErrorWithHighlight(this.#summary, node, this.#range);
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function normalizeArgs(name, defaultCode, message, node, cause) {
|
|
37
|
+
if (typeof message === "string") return { name, code: defaultCode, message, node, cause };
|
|
38
|
+
const opts = message;
|
|
39
|
+
if (typeof opts !== "object") throw new Error("First param to error must be a string or object");
|
|
40
|
+
return {
|
|
41
|
+
name,
|
|
42
|
+
code: opts.code || defaultCode,
|
|
43
|
+
message: opts.message,
|
|
44
|
+
node: opts.node,
|
|
45
|
+
cause: opts.cause,
|
|
46
|
+
range: opts.range
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export class ParseError extends CelError {
|
|
50
|
+
constructor(message, node, cause) {
|
|
51
|
+
super(normalizeArgs("ParseError", "parse_error", message, node, cause));
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
export class EvaluationError extends CelError {
|
|
55
|
+
constructor(message, node, cause) {
|
|
56
|
+
super(normalizeArgs("EvaluationError", "evaluation_error", message, node, cause));
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
export class TypeError extends CelError {
|
|
60
|
+
constructor(message, node, cause) {
|
|
61
|
+
super(normalizeArgs("TypeError", "type_error", message, node, cause));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
export function parseError(code, message, node) {
|
|
65
|
+
if (typeof code === "object") return new ParseError(code);
|
|
66
|
+
return new ParseError({ code, message, node });
|
|
67
|
+
}
|
|
68
|
+
export function evaluationError(code, message, node) {
|
|
69
|
+
if (typeof code === "object") return new EvaluationError(code);
|
|
70
|
+
return new EvaluationError({ code, message, node });
|
|
71
|
+
}
|
|
72
|
+
export function typeError(code, message, node) {
|
|
73
|
+
if (typeof code === "object") return new TypeError(code);
|
|
74
|
+
return new TypeError({ code, message, node });
|
|
75
|
+
}
|
|
76
|
+
function normalizeRange(node) {
|
|
77
|
+
const start = node?.pos ?? node?.start;
|
|
78
|
+
if (typeof start !== "number") return void 0;
|
|
79
|
+
const end = typeof node?.end === "number" ? node.end : start;
|
|
80
|
+
return { start, end };
|
|
81
|
+
}
|
|
82
|
+
function formatErrorWithHighlight(message, node, range) {
|
|
83
|
+
const pos = node.pos ?? range?.start;
|
|
84
|
+
if (typeof pos !== "number") return message;
|
|
85
|
+
const input = node.input;
|
|
86
|
+
let lineNum = 1;
|
|
87
|
+
let currentPos = 0;
|
|
88
|
+
let columnNum = 0;
|
|
89
|
+
while (currentPos < pos) {
|
|
90
|
+
if (input[currentPos] === "\n") {
|
|
91
|
+
lineNum++;
|
|
92
|
+
columnNum = 0;
|
|
93
|
+
} else {
|
|
94
|
+
columnNum++;
|
|
95
|
+
}
|
|
96
|
+
currentPos++;
|
|
97
|
+
}
|
|
98
|
+
let contextStart = pos;
|
|
99
|
+
let contextEnd = pos;
|
|
100
|
+
while (contextStart > 0 && input[contextStart - 1] !== "\n") contextStart--;
|
|
101
|
+
while (contextEnd < input.length && input[contextEnd] !== "\n") contextEnd++;
|
|
102
|
+
const line = input.slice(contextStart, contextEnd);
|
|
103
|
+
const highlight = `> ${`${lineNum}`.padStart(4, " ")} | ${line}
|
|
104
|
+
${" ".repeat(9 + columnNum)}^`;
|
|
105
|
+
return `${message}
|
|
106
|
+
|
|
107
|
+
${highlight}`;
|
|
108
|
+
}
|
|
109
|
+
export function attachErrorAst(error, node) {
|
|
110
|
+
if (error instanceof CelError) return error.withAst(node);
|
|
111
|
+
return error;
|
|
112
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Either, Effect } from 'effect';
|
|
2
|
+
import type { Registry } from './registry.js.js';
|
|
3
|
+
import type { ParseError, EvaluationError, TypeError } from './errors.js.js';
|
|
4
|
+
import type { ASTNode } from './parser.js.js';
|
|
5
|
+
import type { Limits } from './options.js.js';
|
|
6
|
+
interface ParsedExpression {
|
|
7
|
+
(context?: Record<string, unknown>): Effect.Effect<unknown, unknown>;
|
|
8
|
+
check: () => {
|
|
9
|
+
valid: boolean;
|
|
10
|
+
type?: string;
|
|
11
|
+
error?: unknown;
|
|
12
|
+
};
|
|
13
|
+
ast: ASTNode;
|
|
14
|
+
}
|
|
15
|
+
declare class Environment {
|
|
16
|
+
#private;
|
|
17
|
+
constructor(opts?: {
|
|
18
|
+
unlistedVariablesAreDyn?: boolean;
|
|
19
|
+
limits?: Partial<Limits>;
|
|
20
|
+
} | null, inherited?: Environment);
|
|
21
|
+
clone(opts?: {
|
|
22
|
+
unlistedVariablesAreDyn?: boolean;
|
|
23
|
+
limits?: Partial<Limits>;
|
|
24
|
+
} | null): Environment;
|
|
25
|
+
registerFunction(signature: string, handler?: (...args: unknown[]) => unknown, opts?: unknown): this;
|
|
26
|
+
registerOperator(signature: string, handler?: (...args: unknown[]) => unknown, opts?: unknown): this;
|
|
27
|
+
registerType(typename: string, constructor: unknown): this;
|
|
28
|
+
registerVariable(name: string, type?: unknown, opts?: unknown): this;
|
|
29
|
+
registerConstant(name: string, type: unknown, value: unknown): this;
|
|
30
|
+
getDefinitions(): ReturnType<Registry['getDefinitions']>;
|
|
31
|
+
check(expression: string): Either.Either<string, ParseError | TypeError>;
|
|
32
|
+
parse(expression: string): ParsedExpression;
|
|
33
|
+
evaluate<T>(expression: string, context?: Record<string, unknown>): Effect.Effect<T, ParseError | TypeError | EvaluationError>;
|
|
34
|
+
}
|
|
35
|
+
export declare function parse(expression: string): ParsedExpression;
|
|
36
|
+
export declare function evaluate<T>(expression: string, context?: Record<string, unknown>): Effect.Effect<T, ParseError | TypeError | EvaluationError>;
|
|
37
|
+
export { Environment };
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { Either, Effect } from "effect";
|
|
2
|
+
import { createRegistry, RootContext } from "./registry.js";
|
|
3
|
+
import { evaluationError } from "./errors.js";
|
|
4
|
+
import { registerFunctions } from "./functions.js";
|
|
5
|
+
import { registerHttpBuiltins } from "./http-builtins.js";
|
|
6
|
+
import { registerMacros } from "./macros.js";
|
|
7
|
+
import { registerOverloads } from "./overloads.js";
|
|
8
|
+
import { TypeChecker } from "./type-checker.js";
|
|
9
|
+
import { Parser } from "./parser.js";
|
|
10
|
+
import { createOptions } from "./options.js";
|
|
11
|
+
import { Base } from "./operators.js";
|
|
12
|
+
const globalRegistry = createRegistry();
|
|
13
|
+
registerFunctions(globalRegistry);
|
|
14
|
+
registerOverloads(globalRegistry);
|
|
15
|
+
registerMacros(globalRegistry);
|
|
16
|
+
registerHttpBuiltins(globalRegistry);
|
|
17
|
+
class Environment {
|
|
18
|
+
#registry;
|
|
19
|
+
#evaluator;
|
|
20
|
+
#typeChecker;
|
|
21
|
+
#evalTypeChecker;
|
|
22
|
+
#parser;
|
|
23
|
+
#opts;
|
|
24
|
+
constructor(opts, inherited) {
|
|
25
|
+
this.#opts = createOptions(opts, inherited instanceof Environment ? inherited.#opts : void 0);
|
|
26
|
+
this.#registry = (inherited instanceof Environment ? inherited.#registry : globalRegistry).clone(this.#opts);
|
|
27
|
+
const childOpts = { registry: this.#registry, opts: this.#opts };
|
|
28
|
+
this.#typeChecker = new TypeChecker(childOpts);
|
|
29
|
+
this.#evalTypeChecker = new TypeChecker(childOpts, true);
|
|
30
|
+
this.#evaluator = new Evaluator(childOpts);
|
|
31
|
+
this.#parser = new Parser(this.#opts.limits, this.#registry);
|
|
32
|
+
Object.freeze(this);
|
|
33
|
+
}
|
|
34
|
+
clone(opts) {
|
|
35
|
+
return new Environment(opts, this);
|
|
36
|
+
}
|
|
37
|
+
registerFunction(signature, handler, opts) {
|
|
38
|
+
this.#registry.registerFunctionOverload(signature, handler, opts);
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
registerOperator(signature, handler, opts) {
|
|
42
|
+
this.#registry.registerOperatorOverload(signature, handler, opts);
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
registerType(typename, constructor) {
|
|
46
|
+
this.#registry.registerType(typename, constructor);
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
registerVariable(name, type, opts) {
|
|
50
|
+
this.#registry.registerVariable(name, type, opts);
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
registerConstant(name, type, value) {
|
|
54
|
+
this.#registry.registerConstant(name, type, value);
|
|
55
|
+
return this;
|
|
56
|
+
}
|
|
57
|
+
getDefinitions() {
|
|
58
|
+
return this.#registry.getDefinitions();
|
|
59
|
+
}
|
|
60
|
+
check(expression) {
|
|
61
|
+
try {
|
|
62
|
+
const ast = this.#parser.parse(expression);
|
|
63
|
+
const typeDecl = this.#typeChecker.check(ast, new RootContext(this.#registry));
|
|
64
|
+
return Either.right(this.#formatTypeForCheck(typeDecl));
|
|
65
|
+
} catch (error) {
|
|
66
|
+
return Either.left(error);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
#formatTypeForCheck(typeDecl) {
|
|
70
|
+
if (typeDecl.name === `list<dyn>`) return "list";
|
|
71
|
+
if (typeDecl.name === `map<dyn, dyn>`) return "map";
|
|
72
|
+
return typeDecl.name;
|
|
73
|
+
}
|
|
74
|
+
parse(expression) {
|
|
75
|
+
const ast = this.#parser.parse(expression);
|
|
76
|
+
const evaluateFn = this.#evaluateAST.bind(this, ast);
|
|
77
|
+
evaluateFn.check = () => {
|
|
78
|
+
try {
|
|
79
|
+
const typeDecl = this.#typeChecker.check(ast, new RootContext(this.#registry));
|
|
80
|
+
return { valid: true, type: this.#formatTypeForCheck(typeDecl) };
|
|
81
|
+
} catch (error) {
|
|
82
|
+
return { valid: false, error };
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
evaluateFn.ast = ast;
|
|
86
|
+
return evaluateFn;
|
|
87
|
+
}
|
|
88
|
+
evaluate(expression, context) {
|
|
89
|
+
return Effect.try({
|
|
90
|
+
try: () => {
|
|
91
|
+
const ast = this.#parser.parse(expression);
|
|
92
|
+
const ctx = new RootContext(this.#registry, context);
|
|
93
|
+
if (!ast.checkedType) this.#evalTypeChecker.check(ast, ctx);
|
|
94
|
+
return { ast, ctx };
|
|
95
|
+
},
|
|
96
|
+
catch: (error) => error
|
|
97
|
+
}).pipe(
|
|
98
|
+
Effect.flatMap(({ ast, ctx }) => ast.evaluate(this.#evaluator, ast, ctx))
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
#evaluateAST(ast, context) {
|
|
102
|
+
return Effect.try({
|
|
103
|
+
try: () => {
|
|
104
|
+
const ctx = new RootContext(this.#registry, context);
|
|
105
|
+
if (!ast.checkedType) this.#evalTypeChecker.check(ast, ctx);
|
|
106
|
+
return ctx;
|
|
107
|
+
},
|
|
108
|
+
catch: (error) => error
|
|
109
|
+
}).pipe(
|
|
110
|
+
Effect.flatMap((ctx) => ast.evaluate(this.#evaluator, ast, ctx))
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
class Evaluator extends Base {
|
|
115
|
+
constructor(opts) {
|
|
116
|
+
super(opts);
|
|
117
|
+
this.createError = evaluationError;
|
|
118
|
+
}
|
|
119
|
+
#firstMapElement(coll) {
|
|
120
|
+
if (coll instanceof Map) return coll.entries().next().value;
|
|
121
|
+
for (const key in coll) return [key, coll[key]];
|
|
122
|
+
return void 0;
|
|
123
|
+
}
|
|
124
|
+
debugRuntimeType(value, checkedType) {
|
|
125
|
+
return checkedType?.hasDynType === false ? checkedType : this.debugTypeDeep(value);
|
|
126
|
+
}
|
|
127
|
+
debugTypeDeep(value) {
|
|
128
|
+
const runtimeType = this.debugType(value);
|
|
129
|
+
switch (runtimeType.kind) {
|
|
130
|
+
case "list": {
|
|
131
|
+
const first = value instanceof Array ? value[0] : value.values().next().value;
|
|
132
|
+
if (first === void 0) return runtimeType;
|
|
133
|
+
return this.registry.getListType(this.debugTypeDeep(first));
|
|
134
|
+
}
|
|
135
|
+
case "map": {
|
|
136
|
+
const first = this.#firstMapElement(value);
|
|
137
|
+
if (!first) return runtimeType;
|
|
138
|
+
return this.registry.getMapType(
|
|
139
|
+
runtimeType.keyType.hasDynType ? this.debugTypeDeep(first[0]) : runtimeType.keyType,
|
|
140
|
+
runtimeType.valueType.hasDynType ? this.debugTypeDeep(first[1]) : runtimeType.valueType
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
default:
|
|
144
|
+
return runtimeType;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
tryEval(ast, ctx) {
|
|
148
|
+
return Effect.either(this.eval(ast, ctx));
|
|
149
|
+
}
|
|
150
|
+
eval(ast, ctx) {
|
|
151
|
+
return ast.evaluate(this, ast, ctx);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
const globalEnvironment = new Environment({
|
|
155
|
+
unlistedVariablesAreDyn: true
|
|
156
|
+
});
|
|
157
|
+
export function parse(expression) {
|
|
158
|
+
return globalEnvironment.parse(expression);
|
|
159
|
+
}
|
|
160
|
+
export function evaluate(expression, context) {
|
|
161
|
+
return globalEnvironment.evaluate(expression, context);
|
|
162
|
+
}
|
|
163
|
+
export { Environment };
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
import { evaluationError } from "./errors.js";
|
|
2
|
+
import { Decimal } from "./decimal.js";
|
|
3
|
+
import { TYPES, Type } from "./registry.js";
|
|
4
|
+
import { register as registerOptional } from "./optional.js";
|
|
5
|
+
import { objKeys, arrayFrom } from "./globals.js";
|
|
6
|
+
import { TZDate } from "@date-fns/tz";
|
|
7
|
+
import { startOfDay, startOfWeek, startOfMonth, startOfYear, endOfDay, endOfWeek, endOfMonth, endOfYear, addDays, addWeeks, addMonths, addYears, setDate as setDayOfMonth, setMonth, setYear, format as formatDate } from "date-fns";
|
|
8
|
+
function toNum(v) {
|
|
9
|
+
if (v instanceof Decimal) return v.toNumber();
|
|
10
|
+
if (typeof v === "bigint") return Number(v);
|
|
11
|
+
return v;
|
|
12
|
+
}
|
|
13
|
+
export function registerFunctions(registry) {
|
|
14
|
+
const sync = { async: false };
|
|
15
|
+
const functionOverload = (sig, handler) => registry.registerFunctionOverload(sig, handler, sync);
|
|
16
|
+
const identity = (v) => v;
|
|
17
|
+
functionOverload("dyn(dyn): dyn", identity);
|
|
18
|
+
for (const _t in TYPES) {
|
|
19
|
+
const type = TYPES[_t];
|
|
20
|
+
if (!(type instanceof Type)) continue;
|
|
21
|
+
functionOverload(`type(${type.name}): type`, () => type);
|
|
22
|
+
}
|
|
23
|
+
functionOverload("bool(bool): bool", identity);
|
|
24
|
+
functionOverload("bool(string): bool", (v) => {
|
|
25
|
+
switch (v) {
|
|
26
|
+
case "1":
|
|
27
|
+
case "t":
|
|
28
|
+
case "true":
|
|
29
|
+
case "TRUE":
|
|
30
|
+
case "True":
|
|
31
|
+
return true;
|
|
32
|
+
case "0":
|
|
33
|
+
case "f":
|
|
34
|
+
case "false":
|
|
35
|
+
case "FALSE":
|
|
36
|
+
case "False":
|
|
37
|
+
return false;
|
|
38
|
+
default:
|
|
39
|
+
throw evaluationError(
|
|
40
|
+
"bool_conversion_error",
|
|
41
|
+
`bool() conversion error: invalid string value "${v}"`
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
functionOverload("size(string): number", (v) => Decimal.from(stringSize(v)));
|
|
46
|
+
functionOverload("size(bytes): number", (v) => Decimal.from(v.length));
|
|
47
|
+
functionOverload("size(list): number", (v) => Decimal.from(v.length ?? v.size));
|
|
48
|
+
functionOverload("size(map): number", (v) => Decimal.from(v instanceof Map ? v.size : objKeys(v).length));
|
|
49
|
+
functionOverload("string.size(): number", (v) => Decimal.from(stringSize(v)));
|
|
50
|
+
functionOverload("bytes.size(): number", (v) => Decimal.from(v.length));
|
|
51
|
+
functionOverload("list.size(): number", (v) => Decimal.from(v.length ?? v.size));
|
|
52
|
+
functionOverload("map.size(): number", (v) => Decimal.from(v instanceof Map ? v.size : objKeys(v).length));
|
|
53
|
+
functionOverload("bytes(string): bytes", (v) => ByteOpts.fromString(v));
|
|
54
|
+
functionOverload("bytes(bytes): bytes", identity);
|
|
55
|
+
functionOverload("number(number): number", (v) => Decimal.from(v));
|
|
56
|
+
functionOverload("number(string): number", (v) => {
|
|
57
|
+
const s = v;
|
|
58
|
+
if (!s || s !== s.trim())
|
|
59
|
+
throw evaluationError(
|
|
60
|
+
"number_conversion_error",
|
|
61
|
+
"number() type error: cannot convert to number"
|
|
62
|
+
);
|
|
63
|
+
try {
|
|
64
|
+
return Decimal.from(s);
|
|
65
|
+
} catch {
|
|
66
|
+
throw evaluationError(
|
|
67
|
+
"number_conversion_error",
|
|
68
|
+
"number() type error: cannot convert to number"
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
functionOverload("number(bool): number", (v) => Decimal.from(v ? 1 : 0));
|
|
73
|
+
functionOverload("int(number): number", (v) => {
|
|
74
|
+
const d = Decimal.from(v);
|
|
75
|
+
if (d.isInteger()) return d;
|
|
76
|
+
const n = d.toNumber();
|
|
77
|
+
if (!Number.isFinite(n)) throw evaluationError("numeric_overflow", "int() type error: integer overflow");
|
|
78
|
+
return Decimal.from(BigInt(Math.trunc(n)));
|
|
79
|
+
});
|
|
80
|
+
functionOverload("int(string): number", (v) => {
|
|
81
|
+
const s = v;
|
|
82
|
+
if (s !== s.trim() || s.length > 20 || s.includes("0x")) {
|
|
83
|
+
throw evaluationError("int_conversion_error", "int() type error: cannot convert to int");
|
|
84
|
+
}
|
|
85
|
+
try {
|
|
86
|
+
return Decimal.from(s);
|
|
87
|
+
} catch {
|
|
88
|
+
throw evaluationError("int_conversion_error", "int() type error: cannot convert to int");
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
functionOverload("double(number): number", (v) => Decimal.from(v));
|
|
92
|
+
functionOverload("double(string): number", (v) => {
|
|
93
|
+
const s = v;
|
|
94
|
+
if (!s || s !== s.trim())
|
|
95
|
+
throw evaluationError(
|
|
96
|
+
"double_conversion_error",
|
|
97
|
+
"double() type error: cannot convert to double"
|
|
98
|
+
);
|
|
99
|
+
try {
|
|
100
|
+
return Decimal.from(s);
|
|
101
|
+
} catch {
|
|
102
|
+
throw evaluationError(
|
|
103
|
+
"double_conversion_error",
|
|
104
|
+
"double() type error: cannot convert to double"
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
functionOverload("uint(number): number", (v) => Decimal.from(v));
|
|
109
|
+
functionOverload("uint(string): number", (v) => {
|
|
110
|
+
const s = v;
|
|
111
|
+
if (s !== s.trim() || s.length > 20 || s.includes("0x")) {
|
|
112
|
+
throw evaluationError("uint_conversion_error", "uint() type error: cannot convert to uint");
|
|
113
|
+
}
|
|
114
|
+
try {
|
|
115
|
+
return Decimal.from(s);
|
|
116
|
+
} catch {
|
|
117
|
+
throw evaluationError("uint_conversion_error", "uint() type error: cannot convert to uint");
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
functionOverload("string(string): string", identity);
|
|
121
|
+
functionOverload("string(bool): string", (v) => `${v}`);
|
|
122
|
+
functionOverload("string(number): string", (v) => Decimal.from(v).toString());
|
|
123
|
+
functionOverload("string(bytes): string", (v) => ByteOpts.toUtf8(v));
|
|
124
|
+
functionOverload("string.startsWith(string): bool", (a, b) => a.startsWith(b));
|
|
125
|
+
functionOverload("string.endsWith(string): bool", (a, b) => a.endsWith(b));
|
|
126
|
+
functionOverload("string.contains(string): bool", (a, b) => a.includes(b));
|
|
127
|
+
functionOverload("string.lowerAscii(): string", (a) => a.toLowerCase());
|
|
128
|
+
functionOverload("string.upperAscii(): string", (a) => a.toUpperCase());
|
|
129
|
+
functionOverload("string.trim(): string", (a) => a.trim());
|
|
130
|
+
functionOverload(
|
|
131
|
+
"string.indexOf(string): number",
|
|
132
|
+
(string, search) => Decimal.from(string.indexOf(search))
|
|
133
|
+
);
|
|
134
|
+
functionOverload("string.indexOf(string, number): number", (string, search, fromIndex) => {
|
|
135
|
+
if (search === "") return fromIndex;
|
|
136
|
+
const from = toNum(fromIndex);
|
|
137
|
+
const str = string;
|
|
138
|
+
if (from < 0 || from >= str.length) {
|
|
139
|
+
throw evaluationError(
|
|
140
|
+
"index_out_of_range",
|
|
141
|
+
"string.indexOf(search, fromIndex): fromIndex out of range"
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
return Decimal.from(str.indexOf(search, from));
|
|
145
|
+
});
|
|
146
|
+
functionOverload(
|
|
147
|
+
"string.lastIndexOf(string): number",
|
|
148
|
+
(string, search) => Decimal.from(string.lastIndexOf(search))
|
|
149
|
+
);
|
|
150
|
+
functionOverload("string.lastIndexOf(string, number): number", (string, search, fromIndex) => {
|
|
151
|
+
if (search === "") return fromIndex;
|
|
152
|
+
const from = toNum(fromIndex);
|
|
153
|
+
const str = string;
|
|
154
|
+
if (from < 0 || from >= str.length) {
|
|
155
|
+
throw evaluationError(
|
|
156
|
+
"index_out_of_range",
|
|
157
|
+
"string.lastIndexOf(search, fromIndex): fromIndex out of range"
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
return Decimal.from(str.lastIndexOf(search, from));
|
|
161
|
+
});
|
|
162
|
+
functionOverload("string.substring(number): string", (string, start) => {
|
|
163
|
+
const startNum = toNum(start);
|
|
164
|
+
const str = string;
|
|
165
|
+
if (startNum < 0 || startNum > str.length) {
|
|
166
|
+
throw evaluationError(
|
|
167
|
+
"index_out_of_range",
|
|
168
|
+
"string.substring(start, end): start index out of range"
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
return str.substring(startNum);
|
|
172
|
+
});
|
|
173
|
+
functionOverload("string.substring(number, number): string", (string, start, end) => {
|
|
174
|
+
const startNum = toNum(start);
|
|
175
|
+
const str = string;
|
|
176
|
+
if (startNum < 0 || startNum > str.length) {
|
|
177
|
+
throw evaluationError(
|
|
178
|
+
"index_out_of_range",
|
|
179
|
+
"string.substring(start, end): start index out of range"
|
|
180
|
+
);
|
|
181
|
+
}
|
|
182
|
+
const endNum = toNum(end);
|
|
183
|
+
if (endNum < startNum || endNum > str.length) {
|
|
184
|
+
throw evaluationError(
|
|
185
|
+
"index_out_of_range",
|
|
186
|
+
"string.substring(start, end): end index out of range"
|
|
187
|
+
);
|
|
188
|
+
}
|
|
189
|
+
return str.substring(startNum, endNum);
|
|
190
|
+
});
|
|
191
|
+
functionOverload("string.matches(string): bool", (a, b) => {
|
|
192
|
+
try {
|
|
193
|
+
return new RegExp(b).test(a);
|
|
194
|
+
} catch {
|
|
195
|
+
throw evaluationError("invalid_regular_expression", `Invalid regular expression: ${b}`);
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
functionOverload("string.split(string): list<string>", (s, sep) => s.split(sep));
|
|
199
|
+
functionOverload("string.split(string, number): list<string>", (s, sep, l) => {
|
|
200
|
+
const limit = toNum(l);
|
|
201
|
+
if (limit === 0) return [];
|
|
202
|
+
const parts = s.split(sep);
|
|
203
|
+
if (limit < 0 || parts.length <= limit) return parts;
|
|
204
|
+
const limited = parts.slice(0, limit - 1);
|
|
205
|
+
limited.push(parts.slice(limit - 1).join(sep));
|
|
206
|
+
return limited;
|
|
207
|
+
});
|
|
208
|
+
functionOverload("list<string>.join(): string", (v) => {
|
|
209
|
+
const arr = v;
|
|
210
|
+
for (let i = 0; i < arr.length; i++) {
|
|
211
|
+
if (typeof arr[i] !== "string") {
|
|
212
|
+
throw evaluationError(
|
|
213
|
+
"invalid_list_element_type",
|
|
214
|
+
"string.join(): list must contain only strings"
|
|
215
|
+
);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
return arr.join("");
|
|
219
|
+
});
|
|
220
|
+
functionOverload("list<string>.join(string): string", (v, sep) => {
|
|
221
|
+
const arr = v;
|
|
222
|
+
for (let i = 0; i < arr.length; i++) {
|
|
223
|
+
if (typeof arr[i] !== "string") {
|
|
224
|
+
throw evaluationError(
|
|
225
|
+
"invalid_list_element_type",
|
|
226
|
+
"string.join(separator): list must contain only strings"
|
|
227
|
+
);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
return arr.join(sep);
|
|
231
|
+
});
|
|
232
|
+
const textEncoder = new TextEncoder();
|
|
233
|
+
const textDecoder = new TextDecoder("utf8");
|
|
234
|
+
const ByteOpts = typeof Buffer !== "undefined" ? {
|
|
235
|
+
byteLength: (v) => Buffer.byteLength(v),
|
|
236
|
+
fromString: (str) => Buffer.from(str, "utf8"),
|
|
237
|
+
toHex: (b) => Buffer.prototype.hexSlice.call(b, 0, b.length),
|
|
238
|
+
toBase64: (b) => Buffer.prototype.base64Slice.call(b, 0, b.length),
|
|
239
|
+
toUtf8: (b) => Buffer.prototype.utf8Slice.call(b, 0, b.length),
|
|
240
|
+
jsonParse: (b) => JSON.parse(b)
|
|
241
|
+
} : {
|
|
242
|
+
textEncoder: new TextEncoder(),
|
|
243
|
+
byteLength: (v) => textEncoder.encode(v).length,
|
|
244
|
+
fromString: (str) => textEncoder.encode(str),
|
|
245
|
+
toHex: typeof Uint8Array.prototype.toHex === "function" ? (b) => b.toHex() : (b) => arrayFrom(b, (i) => i.toString(16).padStart(2, "0")).join(""),
|
|
246
|
+
toBase64: typeof Uint8Array.prototype.toBase64 === "function" ? (b) => b.toBase64() : (b) => btoa(arrayFrom(b, (i) => String.fromCodePoint(i)).join("")),
|
|
247
|
+
toUtf8: (b) => textDecoder.decode(b),
|
|
248
|
+
jsonParse: (b) => JSON.parse(textDecoder.decode(b))
|
|
249
|
+
};
|
|
250
|
+
functionOverload("bytes.json(): map", ByteOpts.jsonParse);
|
|
251
|
+
functionOverload("bytes.hex(): string", ByteOpts.toHex);
|
|
252
|
+
functionOverload("bytes.string(): string", ByteOpts.toUtf8);
|
|
253
|
+
functionOverload("bytes.base64(): string", ByteOpts.toBase64);
|
|
254
|
+
functionOverload("bytes.at(number): number", (b, index) => {
|
|
255
|
+
const idx = toNum(index);
|
|
256
|
+
const buf = b;
|
|
257
|
+
if (idx < 0 || idx >= buf.length) {
|
|
258
|
+
throw evaluationError("index_out_of_range", "Bytes index out of range");
|
|
259
|
+
}
|
|
260
|
+
return Decimal.from(buf[idx]);
|
|
261
|
+
});
|
|
262
|
+
function wrapTZ(result, source) {
|
|
263
|
+
if (result instanceof TZDate) return result;
|
|
264
|
+
return new TZDate(result.getTime(), source.timeZone);
|
|
265
|
+
}
|
|
266
|
+
registry.registerType("Date", TZDate);
|
|
267
|
+
functionOverload("date(string): Date", (v) => {
|
|
268
|
+
const d = new TZDate(v);
|
|
269
|
+
if (Number.isNaN(d.getTime())) throw evaluationError("invalid_date", `date() requires a valid date string, got "${v}"`);
|
|
270
|
+
return d;
|
|
271
|
+
});
|
|
272
|
+
functionOverload("Date.startOf(string): Date", (d, unit) => {
|
|
273
|
+
const date = d;
|
|
274
|
+
switch (unit) {
|
|
275
|
+
case "day":
|
|
276
|
+
return wrapTZ(startOfDay(date), date);
|
|
277
|
+
case "week":
|
|
278
|
+
return wrapTZ(startOfWeek(date), date);
|
|
279
|
+
case "month":
|
|
280
|
+
return wrapTZ(startOfMonth(date), date);
|
|
281
|
+
case "year":
|
|
282
|
+
return wrapTZ(startOfYear(date), date);
|
|
283
|
+
default:
|
|
284
|
+
throw evaluationError("invalid_unit", `startOf(): unknown unit "${unit}"`);
|
|
285
|
+
}
|
|
286
|
+
});
|
|
287
|
+
functionOverload("Date.endOf(string): Date", (d, unit) => {
|
|
288
|
+
const date = d;
|
|
289
|
+
switch (unit) {
|
|
290
|
+
case "day":
|
|
291
|
+
return wrapTZ(endOfDay(date), date);
|
|
292
|
+
case "week":
|
|
293
|
+
return wrapTZ(endOfWeek(date), date);
|
|
294
|
+
case "month":
|
|
295
|
+
return wrapTZ(endOfMonth(date), date);
|
|
296
|
+
case "year":
|
|
297
|
+
return wrapTZ(endOfYear(date), date);
|
|
298
|
+
default:
|
|
299
|
+
throw evaluationError("invalid_unit", `endOf(): unknown unit "${unit}"`);
|
|
300
|
+
}
|
|
301
|
+
});
|
|
302
|
+
functionOverload("Date.offset(number, string): Date", (d, n, unit) => {
|
|
303
|
+
const date = d;
|
|
304
|
+
const num = toNum(n);
|
|
305
|
+
switch (unit.replace(/s$/, "")) {
|
|
306
|
+
case "day":
|
|
307
|
+
return wrapTZ(addDays(date, num), date);
|
|
308
|
+
case "week":
|
|
309
|
+
return wrapTZ(addWeeks(date, num), date);
|
|
310
|
+
case "month":
|
|
311
|
+
return wrapTZ(addMonths(date, num), date);
|
|
312
|
+
case "year":
|
|
313
|
+
return wrapTZ(addYears(date, num), date);
|
|
314
|
+
default:
|
|
315
|
+
throw evaluationError("invalid_unit", `offset(): unknown unit "${unit}"`);
|
|
316
|
+
}
|
|
317
|
+
});
|
|
318
|
+
functionOverload("Date.set(string, number): Date", (d, field, value) => {
|
|
319
|
+
const date = d;
|
|
320
|
+
const val = toNum(value);
|
|
321
|
+
switch (field) {
|
|
322
|
+
case "day":
|
|
323
|
+
return wrapTZ(setDayOfMonth(date, val), date);
|
|
324
|
+
case "month":
|
|
325
|
+
return wrapTZ(setMonth(date, val - 1), date);
|
|
326
|
+
case "year":
|
|
327
|
+
return wrapTZ(setYear(date, val), date);
|
|
328
|
+
default:
|
|
329
|
+
throw evaluationError("invalid_field", `set(): unknown field "${field}"`);
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
functionOverload("Date.format(string): string", (d, fmt) => formatDate(d, fmt));
|
|
333
|
+
registry.registerType("File", File);
|
|
334
|
+
registerOptional(registry);
|
|
335
|
+
}
|
|
336
|
+
function stringSize(str) {
|
|
337
|
+
let count = 0;
|
|
338
|
+
for (const _ of str) count++;
|
|
339
|
+
return count;
|
|
340
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const hasOwn: (o: object, v: PropertyKey) => boolean;
|
|
2
|
+
export declare const objKeys: {
|
|
3
|
+
(o: object): string[];
|
|
4
|
+
(o: {}): string[];
|
|
5
|
+
};
|
|
6
|
+
export declare const objFreeze: {
|
|
7
|
+
<T extends Function>(f: T): T;
|
|
8
|
+
<T extends {
|
|
9
|
+
[idx: string]: U | null | undefined | object;
|
|
10
|
+
}, U extends string | bigint | number | boolean | symbol>(o: T): Readonly<T>;
|
|
11
|
+
<T>(o: T): Readonly<T>;
|
|
12
|
+
};
|
|
13
|
+
export declare const objEntries: {
|
|
14
|
+
<T>(o: {
|
|
15
|
+
[s: string]: T;
|
|
16
|
+
} | ArrayLike<T>): [string, T][];
|
|
17
|
+
(o: {}): [string, any][];
|
|
18
|
+
};
|
|
19
|
+
export declare const isArray: (arg: any) => arg is any[];
|
|
20
|
+
export declare const arrayFrom: {
|
|
21
|
+
<T>(arrayLike: ArrayLike<T>): T[];
|
|
22
|
+
<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
23
|
+
<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
24
|
+
<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
25
|
+
};
|
|
26
|
+
export declare function isAsync(fn: Function | undefined | null, fallback?: boolean): boolean;
|
|
27
|
+
export declare const RESERVED: Set<string>;
|