@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,787 @@
|
|
|
1
|
+
import { Decimal } from "./decimal.js";
|
|
2
|
+
import { parseError } from "./errors.js";
|
|
3
|
+
import { OPERATORS as OPS } from "./operators.js";
|
|
4
|
+
import { RESERVED } from "./globals.js";
|
|
5
|
+
const TOKEN = {
|
|
6
|
+
EOF: 0,
|
|
7
|
+
NUMBER: 1,
|
|
8
|
+
STRING: 2,
|
|
9
|
+
BOOLEAN: 3,
|
|
10
|
+
NULL: 4,
|
|
11
|
+
IDENTIFIER: 5,
|
|
12
|
+
PLUS: 6,
|
|
13
|
+
MINUS: 7,
|
|
14
|
+
MULTIPLY: 8,
|
|
15
|
+
DIVIDE: 9,
|
|
16
|
+
MODULO: 10,
|
|
17
|
+
EQ: 11,
|
|
18
|
+
NE: 12,
|
|
19
|
+
LT: 13,
|
|
20
|
+
LE: 14,
|
|
21
|
+
GT: 15,
|
|
22
|
+
GE: 16,
|
|
23
|
+
AND: 17,
|
|
24
|
+
OR: 18,
|
|
25
|
+
NOT: 19,
|
|
26
|
+
IN: 20,
|
|
27
|
+
LPAREN: 21,
|
|
28
|
+
RPAREN: 22,
|
|
29
|
+
LBRACKET: 23,
|
|
30
|
+
RBRACKET: 24,
|
|
31
|
+
LBRACE: 25,
|
|
32
|
+
RBRACE: 26,
|
|
33
|
+
DOT: 27,
|
|
34
|
+
COMMA: 28,
|
|
35
|
+
COLON: 29,
|
|
36
|
+
QUESTION: 30,
|
|
37
|
+
BYTES: 31
|
|
38
|
+
};
|
|
39
|
+
const OP_FOR_TOKEN = {
|
|
40
|
+
[TOKEN.EQ]: OPS["=="],
|
|
41
|
+
[TOKEN.PLUS]: OPS["+"],
|
|
42
|
+
[TOKEN.MINUS]: OPS["-"],
|
|
43
|
+
[TOKEN.MULTIPLY]: OPS["*"],
|
|
44
|
+
[TOKEN.DIVIDE]: OPS["/"],
|
|
45
|
+
[TOKEN.MODULO]: OPS["%"],
|
|
46
|
+
[TOKEN.LE]: OPS["<="],
|
|
47
|
+
[TOKEN.LT]: OPS["<"],
|
|
48
|
+
[TOKEN.GE]: OPS[">="],
|
|
49
|
+
[TOKEN.GT]: OPS[">"],
|
|
50
|
+
[TOKEN.NE]: OPS["!="],
|
|
51
|
+
[TOKEN.IN]: OPS["in"]
|
|
52
|
+
};
|
|
53
|
+
const TOKEN_BY_NUMBER = {};
|
|
54
|
+
for (const key in TOKEN) TOKEN_BY_NUMBER[TOKEN[key]] = key;
|
|
55
|
+
const HEX_CODES = new Uint8Array(128);
|
|
56
|
+
for (const ch of "0123456789abcdefABCDEF") HEX_CODES[ch.charCodeAt(0)] = 1;
|
|
57
|
+
const ESCAPE_ERRORS = {
|
|
58
|
+
bytes_unicode_escape: (e) => `\\${e} not allowed in bytes literals`,
|
|
59
|
+
invalid_unicode_escape: (e) => `Invalid Unicode escape: \\${e}`,
|
|
60
|
+
invalid_unicode_surrogate: (e) => `Invalid Unicode surrogate: \\${e}`,
|
|
61
|
+
invalid_hex_escape: (e) => `Invalid hex escape: \\${e}`,
|
|
62
|
+
invalid_octal_escape: () => "Octal escape must be 3 digits",
|
|
63
|
+
octal_escape_out_of_range: (e) => `Octal escape out of range: \\${e}`,
|
|
64
|
+
invalid_escape_sequence: (e) => `Invalid escape sequence: \\${e}`
|
|
65
|
+
};
|
|
66
|
+
const STRING_ESCAPES = {
|
|
67
|
+
"\\": "\\",
|
|
68
|
+
"?": "?",
|
|
69
|
+
'"': '"',
|
|
70
|
+
"'": "'",
|
|
71
|
+
"`": "`",
|
|
72
|
+
"a": "\x07",
|
|
73
|
+
"b": "\b",
|
|
74
|
+
"f": "\f",
|
|
75
|
+
"n": "\n",
|
|
76
|
+
"r": "\r",
|
|
77
|
+
"t": " ",
|
|
78
|
+
"v": "\v"
|
|
79
|
+
};
|
|
80
|
+
export class ASTNode {
|
|
81
|
+
#meta;
|
|
82
|
+
#input;
|
|
83
|
+
op;
|
|
84
|
+
args;
|
|
85
|
+
pos;
|
|
86
|
+
start;
|
|
87
|
+
end;
|
|
88
|
+
constructor(input, pos, start, end, op, args) {
|
|
89
|
+
this.#meta = { check: op.check, evaluate: op.evaluate };
|
|
90
|
+
this.#input = input;
|
|
91
|
+
this.op = op.name;
|
|
92
|
+
this.args = args;
|
|
93
|
+
this.pos = pos;
|
|
94
|
+
this.start = start;
|
|
95
|
+
this.end = end;
|
|
96
|
+
}
|
|
97
|
+
clone(op, args) {
|
|
98
|
+
return new ASTNode(this.#input, this.pos, this.start, this.end, op, args);
|
|
99
|
+
}
|
|
100
|
+
get meta() {
|
|
101
|
+
return this.#meta;
|
|
102
|
+
}
|
|
103
|
+
get input() {
|
|
104
|
+
return this.#input;
|
|
105
|
+
}
|
|
106
|
+
check(chk, ast, ctx) {
|
|
107
|
+
const meta = this.#meta;
|
|
108
|
+
if (meta.alternate) return chk.check(meta.alternate, ctx);
|
|
109
|
+
else if (meta.macro) return meta.macro.typeCheck(chk, meta.macro, ctx);
|
|
110
|
+
return meta.check(chk, ast, ctx);
|
|
111
|
+
}
|
|
112
|
+
evaluate(ev, ast, ctx) {
|
|
113
|
+
const meta = this.#meta;
|
|
114
|
+
if (meta.alternate) {
|
|
115
|
+
const alt = meta.alternate;
|
|
116
|
+
return alt.evaluate(ev, alt, ctx);
|
|
117
|
+
}
|
|
118
|
+
if (meta.macro) {
|
|
119
|
+
const macro = meta.macro;
|
|
120
|
+
return macro.evaluate(ev, macro, ctx);
|
|
121
|
+
}
|
|
122
|
+
return meta.evaluate(ev, ast, ctx);
|
|
123
|
+
}
|
|
124
|
+
setMeta(key, value) {
|
|
125
|
+
return this.#meta[key] = value, this;
|
|
126
|
+
}
|
|
127
|
+
get range() {
|
|
128
|
+
return { start: this.start, end: this.end };
|
|
129
|
+
}
|
|
130
|
+
toOldStructure() {
|
|
131
|
+
const args = Array.isArray(this.args) ? this.args : [this.args];
|
|
132
|
+
return [this.op, ...args.map((a) => a instanceof ASTNode ? a.toOldStructure() : a)];
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
class Lexer {
|
|
136
|
+
input;
|
|
137
|
+
pos;
|
|
138
|
+
length;
|
|
139
|
+
tokenPos;
|
|
140
|
+
tokenType;
|
|
141
|
+
tokenValue;
|
|
142
|
+
reset(input) {
|
|
143
|
+
this.pos = 0;
|
|
144
|
+
this.input = input;
|
|
145
|
+
this.length = input.length;
|
|
146
|
+
return input;
|
|
147
|
+
}
|
|
148
|
+
token(pos, type, value) {
|
|
149
|
+
this.tokenPos = pos;
|
|
150
|
+
this.tokenType = type;
|
|
151
|
+
this.tokenValue = value;
|
|
152
|
+
return this;
|
|
153
|
+
}
|
|
154
|
+
nextToken() {
|
|
155
|
+
while (true) {
|
|
156
|
+
const { pos, input, length } = this;
|
|
157
|
+
if (pos >= length) return this.token(pos, TOKEN.EOF);
|
|
158
|
+
const ch = input[pos];
|
|
159
|
+
switch (ch) {
|
|
160
|
+
case " ":
|
|
161
|
+
case " ":
|
|
162
|
+
case "\n":
|
|
163
|
+
case "\r":
|
|
164
|
+
this.pos++;
|
|
165
|
+
continue;
|
|
166
|
+
case "=":
|
|
167
|
+
if (input[pos + 1] !== "=") break;
|
|
168
|
+
return this.token((this.pos += 2) - 2, TOKEN.EQ);
|
|
169
|
+
case "&":
|
|
170
|
+
if (input[pos + 1] !== "&") break;
|
|
171
|
+
return this.token((this.pos += 2) - 2, TOKEN.AND);
|
|
172
|
+
case "|":
|
|
173
|
+
if (input[pos + 1] !== "|") break;
|
|
174
|
+
return this.token((this.pos += 2) - 2, TOKEN.OR);
|
|
175
|
+
case "+":
|
|
176
|
+
return this.token(this.pos++, TOKEN.PLUS);
|
|
177
|
+
case "-":
|
|
178
|
+
return this.token(this.pos++, TOKEN.MINUS);
|
|
179
|
+
case "*":
|
|
180
|
+
return this.token(this.pos++, TOKEN.MULTIPLY);
|
|
181
|
+
case "/":
|
|
182
|
+
if (input[pos + 1] === "/") {
|
|
183
|
+
while (this.pos < length && this.input[this.pos] !== "\n") this.pos++;
|
|
184
|
+
continue;
|
|
185
|
+
}
|
|
186
|
+
return this.token(this.pos++, TOKEN.DIVIDE);
|
|
187
|
+
case "%":
|
|
188
|
+
return this.token(this.pos++, TOKEN.MODULO);
|
|
189
|
+
case "<":
|
|
190
|
+
if (input[pos + 1] === "=") return this.token((this.pos += 2) - 2, TOKEN.LE);
|
|
191
|
+
return this.token(this.pos++, TOKEN.LT);
|
|
192
|
+
case ">":
|
|
193
|
+
if (input[pos + 1] === "=") return this.token((this.pos += 2) - 2, TOKEN.GE);
|
|
194
|
+
return this.token(this.pos++, TOKEN.GT);
|
|
195
|
+
case "!":
|
|
196
|
+
if (input[pos + 1] === "=") return this.token((this.pos += 2) - 2, TOKEN.NE);
|
|
197
|
+
return this.token(this.pos++, TOKEN.NOT);
|
|
198
|
+
case "(":
|
|
199
|
+
return this.token(this.pos++, TOKEN.LPAREN);
|
|
200
|
+
case ")":
|
|
201
|
+
return this.token(this.pos++, TOKEN.RPAREN);
|
|
202
|
+
case "[":
|
|
203
|
+
return this.token(this.pos++, TOKEN.LBRACKET);
|
|
204
|
+
case "]":
|
|
205
|
+
return this.token(this.pos++, TOKEN.RBRACKET);
|
|
206
|
+
case "{":
|
|
207
|
+
return this.token(this.pos++, TOKEN.LBRACE);
|
|
208
|
+
case "}":
|
|
209
|
+
return this.token(this.pos++, TOKEN.RBRACE);
|
|
210
|
+
case ".":
|
|
211
|
+
return this.token(this.pos++, TOKEN.DOT);
|
|
212
|
+
case ",":
|
|
213
|
+
return this.token(this.pos++, TOKEN.COMMA);
|
|
214
|
+
case ":":
|
|
215
|
+
return this.token(this.pos++, TOKEN.COLON);
|
|
216
|
+
case "?":
|
|
217
|
+
return this.token(this.pos++, TOKEN.QUESTION);
|
|
218
|
+
case `"`:
|
|
219
|
+
case `'`:
|
|
220
|
+
return this.readString(ch);
|
|
221
|
+
case "b":
|
|
222
|
+
case "B":
|
|
223
|
+
case "r":
|
|
224
|
+
case "R": {
|
|
225
|
+
const next = input[pos + 1];
|
|
226
|
+
if (next === '"' || next === "'") {
|
|
227
|
+
++this.pos;
|
|
228
|
+
return this.readString(next, ch);
|
|
229
|
+
}
|
|
230
|
+
return this.readIdentifier();
|
|
231
|
+
}
|
|
232
|
+
default: {
|
|
233
|
+
const code = ch.charCodeAt(0);
|
|
234
|
+
if (code <= 57 && code >= 48) return this.readNumber();
|
|
235
|
+
if (this._isIdentifierCharCode(code)) return this.readIdentifier();
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
throw parseError("unexpected_character", `Unexpected character: ${ch}`, {
|
|
239
|
+
pos,
|
|
240
|
+
start: pos,
|
|
241
|
+
end: pos + 1,
|
|
242
|
+
input
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
_isIdentifierCharCode(c) {
|
|
247
|
+
if (c < 48 || c > 122) return false;
|
|
248
|
+
return c >= 97 || c >= 65 && c <= 90 || c <= 57 || c === 95;
|
|
249
|
+
}
|
|
250
|
+
_parseAsNumber(start, end) {
|
|
251
|
+
const string = this.input.substring(start, end);
|
|
252
|
+
try {
|
|
253
|
+
return this.token(start, TOKEN.NUMBER, Decimal.from(string));
|
|
254
|
+
} catch {
|
|
255
|
+
}
|
|
256
|
+
throw parseError("invalid_number", `Invalid number: ${string}`, {
|
|
257
|
+
pos: start,
|
|
258
|
+
start,
|
|
259
|
+
end,
|
|
260
|
+
input: this.input
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
_parseAsHexNumber(start, end) {
|
|
264
|
+
const string = this.input.substring(start, end);
|
|
265
|
+
try {
|
|
266
|
+
return this.token(start, TOKEN.NUMBER, Decimal.from(BigInt(string)));
|
|
267
|
+
} catch {
|
|
268
|
+
}
|
|
269
|
+
throw parseError("invalid_hex_integer", `Invalid hex integer: ${string}`, {
|
|
270
|
+
pos: start,
|
|
271
|
+
start,
|
|
272
|
+
end: this.pos,
|
|
273
|
+
input: this.input
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
_readDigits(input, length, pos, code) {
|
|
277
|
+
while (pos < length && (code = input.charCodeAt(pos)) && !(code > 57 || code < 48)) pos++;
|
|
278
|
+
return pos;
|
|
279
|
+
}
|
|
280
|
+
_readExponent(input, length, pos) {
|
|
281
|
+
let ch = pos < length && input[pos];
|
|
282
|
+
if (ch === "e" || ch === "E") {
|
|
283
|
+
ch = ++pos < length && input[pos];
|
|
284
|
+
if (ch === "-" || ch === "+") pos++;
|
|
285
|
+
const start = pos;
|
|
286
|
+
pos = this._readDigits(input, length, pos);
|
|
287
|
+
if (start === pos)
|
|
288
|
+
throw parseError("invalid_exponent", "Invalid exponent", {
|
|
289
|
+
pos,
|
|
290
|
+
start: pos,
|
|
291
|
+
end: Math.min(pos + 1, input.length),
|
|
292
|
+
input
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
return pos;
|
|
296
|
+
}
|
|
297
|
+
readNumber() {
|
|
298
|
+
const { input, length, pos: start } = this;
|
|
299
|
+
let pos = start;
|
|
300
|
+
if (input[pos] === "0" && (input[pos + 1] === "x" || input[pos + 1] === "X")) {
|
|
301
|
+
pos += 2;
|
|
302
|
+
while (pos < length && HEX_CODES[input[pos].charCodeAt(0)]) pos++;
|
|
303
|
+
this.pos = pos;
|
|
304
|
+
const result2 = this._parseAsHexNumber(start, pos);
|
|
305
|
+
if (pos < length && (input[pos] === "u" || input[pos] === "U")) this.pos++;
|
|
306
|
+
return result2;
|
|
307
|
+
}
|
|
308
|
+
pos = this._readDigits(input, length, pos);
|
|
309
|
+
if (pos + 1 < length) {
|
|
310
|
+
let afterpos = input[pos] === "." ? this._readDigits(input, length, pos + 1) : pos + 1;
|
|
311
|
+
if (afterpos !== pos + 1) pos = afterpos;
|
|
312
|
+
afterpos = this._readExponent(input, length, pos);
|
|
313
|
+
if (afterpos !== pos) pos = afterpos;
|
|
314
|
+
}
|
|
315
|
+
this.pos = pos;
|
|
316
|
+
const result = this._parseAsNumber(start, pos);
|
|
317
|
+
if (pos < length && (input[pos] === "u" || input[pos] === "U")) this.pos++;
|
|
318
|
+
return result;
|
|
319
|
+
}
|
|
320
|
+
readString(del, prefix) {
|
|
321
|
+
const { input: i, pos: s } = this;
|
|
322
|
+
if (i[s + 1] === del && i[s + 2] === del) return this.readTripleQuotedString(del, prefix);
|
|
323
|
+
return this.readSingleQuotedString(del, prefix);
|
|
324
|
+
}
|
|
325
|
+
_closeQuotedString(rawStart, rawValue, prefix, pos) {
|
|
326
|
+
switch (prefix) {
|
|
327
|
+
case "b":
|
|
328
|
+
case "B": {
|
|
329
|
+
const processed = this.processEscapes(rawStart, rawValue, true);
|
|
330
|
+
const bytes = new Uint8Array(processed.length);
|
|
331
|
+
for (let i = 0; i < processed.length; i++) bytes[i] = processed.charCodeAt(i) & 255;
|
|
332
|
+
return this.token(pos - 1, TOKEN.BYTES, bytes);
|
|
333
|
+
}
|
|
334
|
+
case "r":
|
|
335
|
+
case "R": {
|
|
336
|
+
return this.token(pos - 1, TOKEN.STRING, rawValue);
|
|
337
|
+
}
|
|
338
|
+
default: {
|
|
339
|
+
const value = this.processEscapes(rawStart, rawValue, false);
|
|
340
|
+
return this.token(pos, TOKEN.STRING, value);
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
readSingleQuotedString(delimiter, prefix) {
|
|
345
|
+
const { input, length, pos: start } = this;
|
|
346
|
+
let ch;
|
|
347
|
+
let pos = this.pos + 1;
|
|
348
|
+
while (pos < length && (ch = input[pos])) {
|
|
349
|
+
switch (ch) {
|
|
350
|
+
case delimiter: {
|
|
351
|
+
const rawStart = start + 1;
|
|
352
|
+
const rawValue = input.slice(rawStart, pos);
|
|
353
|
+
this.pos = ++pos;
|
|
354
|
+
return this._closeQuotedString(rawStart, rawValue, prefix, start);
|
|
355
|
+
}
|
|
356
|
+
case "\n":
|
|
357
|
+
case "\r":
|
|
358
|
+
throw parseError("newline_in_string", "Newlines not allowed in single-quoted strings", {
|
|
359
|
+
pos,
|
|
360
|
+
start: pos,
|
|
361
|
+
end: pos + 1,
|
|
362
|
+
input
|
|
363
|
+
});
|
|
364
|
+
case "\\":
|
|
365
|
+
pos++;
|
|
366
|
+
}
|
|
367
|
+
pos++;
|
|
368
|
+
}
|
|
369
|
+
throw parseError("unterminated_string", "Unterminated string", {
|
|
370
|
+
pos: start,
|
|
371
|
+
start,
|
|
372
|
+
end: input.length,
|
|
373
|
+
input
|
|
374
|
+
});
|
|
375
|
+
}
|
|
376
|
+
readTripleQuotedString(delimiter, prefix) {
|
|
377
|
+
const { input, length, pos: start } = this;
|
|
378
|
+
let ch;
|
|
379
|
+
let pos = this.pos + 3;
|
|
380
|
+
while (pos < length && (ch = input[pos])) {
|
|
381
|
+
switch (ch) {
|
|
382
|
+
case delimiter:
|
|
383
|
+
if (input[pos + 1] === delimiter && input[pos + 2] === delimiter) {
|
|
384
|
+
const rawStart = start + 3;
|
|
385
|
+
const rawValue = input.slice(rawStart, pos);
|
|
386
|
+
this.pos = pos + 3;
|
|
387
|
+
return this._closeQuotedString(rawStart, rawValue, prefix, start);
|
|
388
|
+
}
|
|
389
|
+
break;
|
|
390
|
+
case "\\":
|
|
391
|
+
pos++;
|
|
392
|
+
}
|
|
393
|
+
pos++;
|
|
394
|
+
}
|
|
395
|
+
throw parseError("unterminated_triple_quoted_string", "Unterminated triple-quoted string", {
|
|
396
|
+
pos: start,
|
|
397
|
+
start,
|
|
398
|
+
end: input.length,
|
|
399
|
+
input
|
|
400
|
+
});
|
|
401
|
+
}
|
|
402
|
+
#escapeErr(code, offset, len, i, chars, extra) {
|
|
403
|
+
const start = offset + i;
|
|
404
|
+
return parseError(code, ESCAPE_ERRORS[code](extra), {
|
|
405
|
+
input: this.input,
|
|
406
|
+
pos: start,
|
|
407
|
+
start,
|
|
408
|
+
end: Math.min(start + chars, offset + len)
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
processEscapes(offset, str, isBytes) {
|
|
412
|
+
if (!str.includes("\\")) return str;
|
|
413
|
+
const len = str.length;
|
|
414
|
+
let result = "";
|
|
415
|
+
let i = 0;
|
|
416
|
+
while (i < len) {
|
|
417
|
+
if (str[i] !== "\\" || i + 1 >= len) {
|
|
418
|
+
result += str[i++];
|
|
419
|
+
continue;
|
|
420
|
+
}
|
|
421
|
+
const next = str[i + 1];
|
|
422
|
+
if (STRING_ESCAPES[next]) {
|
|
423
|
+
result += STRING_ESCAPES[next];
|
|
424
|
+
i += 2;
|
|
425
|
+
} else if (next === "u" || next === "U") {
|
|
426
|
+
if (isBytes) throw this.#escapeErr("bytes_unicode_escape", offset, len, i, 2, next);
|
|
427
|
+
const hexLen = next === "u" ? 4 : 8;
|
|
428
|
+
const hex = str.substring(i + 2, i + 2 + hexLen);
|
|
429
|
+
const c = Number.parseInt(hex, 16);
|
|
430
|
+
if (hex.length !== hexLen || !/^[0-9a-f]+$/i.test(hex) || c > 1114111)
|
|
431
|
+
throw this.#escapeErr("invalid_unicode_escape", offset, len, i, 2 + hexLen, next + hex);
|
|
432
|
+
if (c >= 55296 && c <= 57343)
|
|
433
|
+
throw this.#escapeErr("invalid_unicode_surrogate", offset, len, i, 2 + hexLen, next + hex);
|
|
434
|
+
result += String.fromCodePoint(c);
|
|
435
|
+
i += 2 + hexLen;
|
|
436
|
+
} else if (next === "x" || next === "X") {
|
|
437
|
+
const h = str.substring(i + 2, i + 4);
|
|
438
|
+
if (!/^[0-9a-f]{2}$/i.test(h))
|
|
439
|
+
throw this.#escapeErr("invalid_hex_escape", offset, len, i, 4, next + h);
|
|
440
|
+
result += String.fromCharCode(Number.parseInt(h, 16));
|
|
441
|
+
i += 4;
|
|
442
|
+
} else if (next >= "0" && next <= "7") {
|
|
443
|
+
const o = str.substring(i + 1, i + 4);
|
|
444
|
+
if (!/^[0-7]{3}$/.test(o)) throw this.#escapeErr("invalid_octal_escape", offset, len, i, 4);
|
|
445
|
+
const value = Number.parseInt(o, 8);
|
|
446
|
+
if (value > 255) throw this.#escapeErr("octal_escape_out_of_range", offset, len, i, 4, o);
|
|
447
|
+
result += String.fromCharCode(value);
|
|
448
|
+
i += 4;
|
|
449
|
+
} else {
|
|
450
|
+
throw this.#escapeErr("invalid_escape_sequence", offset, len, i, 2, next);
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
return result;
|
|
454
|
+
}
|
|
455
|
+
readIdentifier() {
|
|
456
|
+
const { pos, input, length } = this;
|
|
457
|
+
let p = pos;
|
|
458
|
+
while (p < length && this._isIdentifierCharCode(input[p].charCodeAt(0))) p++;
|
|
459
|
+
const value = input.substring(pos, this.pos = p);
|
|
460
|
+
switch (value) {
|
|
461
|
+
case "true":
|
|
462
|
+
return this.token(pos, TOKEN.BOOLEAN, true);
|
|
463
|
+
case "false":
|
|
464
|
+
return this.token(pos, TOKEN.BOOLEAN, false);
|
|
465
|
+
case "null":
|
|
466
|
+
return this.token(pos, TOKEN.NULL, null);
|
|
467
|
+
case "in":
|
|
468
|
+
return this.token(pos, TOKEN.IN);
|
|
469
|
+
default:
|
|
470
|
+
return this.token(pos, TOKEN.IDENTIFIER, value);
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
const globalLexer = new Lexer();
|
|
475
|
+
export class Parser {
|
|
476
|
+
lexer = globalLexer;
|
|
477
|
+
input = void 0;
|
|
478
|
+
maxDepthRemaining = void 0;
|
|
479
|
+
astNodesRemaining = void 0;
|
|
480
|
+
type = void 0;
|
|
481
|
+
pos = void 0;
|
|
482
|
+
limits;
|
|
483
|
+
registry;
|
|
484
|
+
constructor(limits, registry) {
|
|
485
|
+
this.limits = limits;
|
|
486
|
+
this.registry = registry;
|
|
487
|
+
}
|
|
488
|
+
#limitExceeded(limitKey, pos = this.pos) {
|
|
489
|
+
throw parseError("limit_exceeded", `Exceeded ${limitKey} (${this.limits[limitKey]})`, {
|
|
490
|
+
pos,
|
|
491
|
+
start: pos,
|
|
492
|
+
end: pos,
|
|
493
|
+
input: this.input
|
|
494
|
+
});
|
|
495
|
+
}
|
|
496
|
+
#node(start, end, op, args, pos = start) {
|
|
497
|
+
const node = new ASTNode(this.input, pos, start, end, op, args);
|
|
498
|
+
if (!this.astNodesRemaining--) this.#limitExceeded("maxAstNodes", pos);
|
|
499
|
+
return node;
|
|
500
|
+
}
|
|
501
|
+
#infixNode(op, left, right) {
|
|
502
|
+
return this.#node(left.start, right.end, op, [left, right]);
|
|
503
|
+
}
|
|
504
|
+
#ternaryNode(expression, consequent, alternate) {
|
|
505
|
+
return this.#node(expression.start, alternate.end, OPS.ternary, [
|
|
506
|
+
expression,
|
|
507
|
+
consequent,
|
|
508
|
+
alternate
|
|
509
|
+
]);
|
|
510
|
+
}
|
|
511
|
+
#unaryNode(pos, op, arg) {
|
|
512
|
+
return this.#node(pos, arg.end, op, arg);
|
|
513
|
+
}
|
|
514
|
+
#accessNode(op, left, right, end, pos = left.start) {
|
|
515
|
+
return this.#node(left.start, end, op, [left, right], pos);
|
|
516
|
+
}
|
|
517
|
+
#advanceToken(returnValue) {
|
|
518
|
+
const l = this.lexer.nextToken();
|
|
519
|
+
this.pos = l.tokenPos;
|
|
520
|
+
this.type = l.tokenType;
|
|
521
|
+
return returnValue !== void 0 ? returnValue : this.pos;
|
|
522
|
+
}
|
|
523
|
+
get value() {
|
|
524
|
+
return this.lexer.tokenValue;
|
|
525
|
+
}
|
|
526
|
+
consume(expectedType) {
|
|
527
|
+
if (this.type === expectedType) return this.#advanceToken();
|
|
528
|
+
throw parseError(
|
|
529
|
+
"expected_token",
|
|
530
|
+
`Expected ${TOKEN_BY_NUMBER[expectedType]}, got ${TOKEN_BY_NUMBER[this.type]}`,
|
|
531
|
+
{ pos: this.pos, start: this.pos, end: this.lexer.pos, input: this.input }
|
|
532
|
+
);
|
|
533
|
+
}
|
|
534
|
+
match(type) {
|
|
535
|
+
return this.type === type;
|
|
536
|
+
}
|
|
537
|
+
parse(input) {
|
|
538
|
+
if (typeof input !== "string") {
|
|
539
|
+
throw parseError("expression_must_be_string", "Expression must be a string");
|
|
540
|
+
}
|
|
541
|
+
this.input = this.lexer.reset(input);
|
|
542
|
+
this.#advanceToken();
|
|
543
|
+
this.maxDepthRemaining = this.limits.maxDepth;
|
|
544
|
+
this.astNodesRemaining = this.limits.maxAstNodes;
|
|
545
|
+
const result = this.parseExpression();
|
|
546
|
+
if (this.match(TOKEN.EOF)) return result;
|
|
547
|
+
throw parseError(
|
|
548
|
+
"unexpected_character",
|
|
549
|
+
`Unexpected character: '${this.input[this.lexer.pos - 1]}'`,
|
|
550
|
+
{
|
|
551
|
+
pos: this.pos,
|
|
552
|
+
start: this.pos,
|
|
553
|
+
end: this.lexer.pos,
|
|
554
|
+
input: this.input
|
|
555
|
+
}
|
|
556
|
+
);
|
|
557
|
+
}
|
|
558
|
+
#expandMacro(start, end, op, args) {
|
|
559
|
+
const methodName = args[0];
|
|
560
|
+
const receiver = op === OPS.rcall ? args[1] : null;
|
|
561
|
+
const fnArgs = op === OPS.rcall ? args[2] : args[1];
|
|
562
|
+
const decl = this.registry.findMacro(methodName, !!receiver, fnArgs.length);
|
|
563
|
+
const ast = this.#node(start, end, op, args);
|
|
564
|
+
if (!decl) return ast;
|
|
565
|
+
const macro = decl.handler({ ast, args: fnArgs, receiver, methodName, parser: this });
|
|
566
|
+
if (macro.callAst) return ast.setMeta("alternate", macro.callAst);
|
|
567
|
+
return ast.setMeta("macro", macro);
|
|
568
|
+
}
|
|
569
|
+
parseExpression() {
|
|
570
|
+
if (!this.maxDepthRemaining--) this.#limitExceeded("maxDepth");
|
|
571
|
+
const expr = this.parseLogicalOr();
|
|
572
|
+
if (!this.match(TOKEN.QUESTION)) {
|
|
573
|
+
++this.maxDepthRemaining;
|
|
574
|
+
return expr;
|
|
575
|
+
}
|
|
576
|
+
this.#advanceToken();
|
|
577
|
+
const consequent = this.parseExpression();
|
|
578
|
+
this.consume(TOKEN.COLON);
|
|
579
|
+
const alternate = this.parseExpression();
|
|
580
|
+
this.maxDepthRemaining++;
|
|
581
|
+
return this.#ternaryNode(expr, consequent, alternate);
|
|
582
|
+
}
|
|
583
|
+
parseLogicalOr() {
|
|
584
|
+
let expr = this.parseLogicalAnd();
|
|
585
|
+
while (this.match(TOKEN.OR)) {
|
|
586
|
+
this.#advanceToken();
|
|
587
|
+
expr = this.#infixNode(OPS["||"], expr, this.parseLogicalAnd());
|
|
588
|
+
}
|
|
589
|
+
return expr;
|
|
590
|
+
}
|
|
591
|
+
parseLogicalAnd() {
|
|
592
|
+
let expr = this.parseEquality();
|
|
593
|
+
while (this.match(TOKEN.AND)) {
|
|
594
|
+
this.#advanceToken();
|
|
595
|
+
expr = this.#infixNode(OPS["&&"], expr, this.parseEquality());
|
|
596
|
+
}
|
|
597
|
+
return expr;
|
|
598
|
+
}
|
|
599
|
+
parseEquality() {
|
|
600
|
+
let expr = this.parseRelational();
|
|
601
|
+
while (this.match(TOKEN.EQ) || this.match(TOKEN.NE)) {
|
|
602
|
+
const op = OP_FOR_TOKEN[this.type];
|
|
603
|
+
this.#advanceToken();
|
|
604
|
+
expr = this.#infixNode(op, expr, this.parseRelational());
|
|
605
|
+
}
|
|
606
|
+
return expr;
|
|
607
|
+
}
|
|
608
|
+
parseRelational() {
|
|
609
|
+
let expr = this.parseAdditive();
|
|
610
|
+
while (this.match(TOKEN.LT) || this.match(TOKEN.LE) || this.match(TOKEN.GT) || this.match(TOKEN.GE) || this.match(TOKEN.IN)) {
|
|
611
|
+
const op = OP_FOR_TOKEN[this.type];
|
|
612
|
+
this.#advanceToken();
|
|
613
|
+
expr = this.#infixNode(op, expr, this.parseAdditive());
|
|
614
|
+
}
|
|
615
|
+
return expr;
|
|
616
|
+
}
|
|
617
|
+
parseAdditive() {
|
|
618
|
+
let expr = this.parseMultiplicative();
|
|
619
|
+
while (this.match(TOKEN.PLUS) || this.match(TOKEN.MINUS)) {
|
|
620
|
+
const op = OP_FOR_TOKEN[this.type];
|
|
621
|
+
this.#advanceToken();
|
|
622
|
+
expr = this.#infixNode(op, expr, this.parseMultiplicative());
|
|
623
|
+
}
|
|
624
|
+
return expr;
|
|
625
|
+
}
|
|
626
|
+
parseMultiplicative() {
|
|
627
|
+
let expr = this.parseUnary();
|
|
628
|
+
while (this.match(TOKEN.MULTIPLY) || this.match(TOKEN.DIVIDE) || this.match(TOKEN.MODULO)) {
|
|
629
|
+
const op = OP_FOR_TOKEN[this.type];
|
|
630
|
+
this.#advanceToken();
|
|
631
|
+
expr = this.#infixNode(op, expr, this.parseUnary());
|
|
632
|
+
}
|
|
633
|
+
return expr;
|
|
634
|
+
}
|
|
635
|
+
parseUnary() {
|
|
636
|
+
if (this.type === TOKEN.NOT) {
|
|
637
|
+
return this.#unaryNode(this.#advanceToken(), OPS.unaryNot, this.parseUnary());
|
|
638
|
+
}
|
|
639
|
+
if (this.type === TOKEN.MINUS) {
|
|
640
|
+
return this.#unaryNode(this.#advanceToken(), OPS.unaryMinus, this.parseUnary());
|
|
641
|
+
}
|
|
642
|
+
return this.parsePostfix();
|
|
643
|
+
}
|
|
644
|
+
parsePostfix() {
|
|
645
|
+
let expr = this.parsePrimary();
|
|
646
|
+
const depth = this.maxDepthRemaining;
|
|
647
|
+
while (true) {
|
|
648
|
+
if (this.match(TOKEN.DOT)) {
|
|
649
|
+
const dot = this.#advanceToken();
|
|
650
|
+
if (!this.maxDepthRemaining--) this.#limitExceeded("maxDepth", dot);
|
|
651
|
+
const op = this.match(TOKEN.QUESTION) && this.#advanceToken() ? OPS.optionalFieldAccess : OPS.fieldAccess;
|
|
652
|
+
const propertyValue = this.value;
|
|
653
|
+
const start = this.pos;
|
|
654
|
+
const end = this.lexer.pos;
|
|
655
|
+
this.consume(TOKEN.IDENTIFIER);
|
|
656
|
+
if (op === OPS.fieldAccess && this.match(TOKEN.LPAREN) && this.#advanceToken()) {
|
|
657
|
+
const args = this.parseArgumentList();
|
|
658
|
+
const closeEnd = this.lexer.pos;
|
|
659
|
+
this.consume(TOKEN.RPAREN);
|
|
660
|
+
expr = this.#expandMacro(expr.start, closeEnd, OPS.rcall, [propertyValue, expr, args]);
|
|
661
|
+
} else {
|
|
662
|
+
expr = this.#accessNode(op, expr, propertyValue, end, start);
|
|
663
|
+
}
|
|
664
|
+
continue;
|
|
665
|
+
}
|
|
666
|
+
if (this.match(TOKEN.LBRACKET)) {
|
|
667
|
+
const bracket = this.#advanceToken();
|
|
668
|
+
if (!this.maxDepthRemaining--) this.#limitExceeded("maxDepth", bracket);
|
|
669
|
+
const op = this.match(TOKEN.QUESTION) && this.#advanceToken() ? OPS.optionalBracketAccess : OPS.bracketAccess;
|
|
670
|
+
const index = this.parseExpression();
|
|
671
|
+
const closeEnd = this.lexer.pos;
|
|
672
|
+
this.consume(TOKEN.RBRACKET);
|
|
673
|
+
expr = this.#accessNode(op, expr, index, closeEnd);
|
|
674
|
+
continue;
|
|
675
|
+
}
|
|
676
|
+
break;
|
|
677
|
+
}
|
|
678
|
+
this.maxDepthRemaining = depth;
|
|
679
|
+
return expr;
|
|
680
|
+
}
|
|
681
|
+
parsePrimary() {
|
|
682
|
+
switch (this.type) {
|
|
683
|
+
case TOKEN.NUMBER:
|
|
684
|
+
case TOKEN.STRING:
|
|
685
|
+
case TOKEN.BYTES:
|
|
686
|
+
case TOKEN.BOOLEAN:
|
|
687
|
+
case TOKEN.NULL:
|
|
688
|
+
return this.#consumeLiteral();
|
|
689
|
+
case TOKEN.IDENTIFIER:
|
|
690
|
+
return this.#parseIdentifierPrimary();
|
|
691
|
+
case TOKEN.LPAREN:
|
|
692
|
+
return this.#parseParenthesizedExpression();
|
|
693
|
+
case TOKEN.LBRACKET:
|
|
694
|
+
return this.parseList();
|
|
695
|
+
case TOKEN.LBRACE:
|
|
696
|
+
return this.parseMap();
|
|
697
|
+
}
|
|
698
|
+
throw parseError("unexpected_token", `Unexpected token: ${TOKEN_BY_NUMBER[this.type]}`, {
|
|
699
|
+
pos: this.pos,
|
|
700
|
+
start: this.pos,
|
|
701
|
+
end: this.lexer.pos,
|
|
702
|
+
input: this.input
|
|
703
|
+
});
|
|
704
|
+
}
|
|
705
|
+
#consumeLiteral() {
|
|
706
|
+
return this.#advanceToken(this.#node(this.pos, this.lexer.pos, OPS.value, this.value));
|
|
707
|
+
}
|
|
708
|
+
#parseIdentifierPrimary() {
|
|
709
|
+
const value = this.value;
|
|
710
|
+
const end = this.lexer.pos;
|
|
711
|
+
const start = this.consume(TOKEN.IDENTIFIER);
|
|
712
|
+
if (RESERVED.has(value)) {
|
|
713
|
+
throw parseError("reserved_identifier", `Reserved identifier: ${value}`, {
|
|
714
|
+
pos: start,
|
|
715
|
+
start,
|
|
716
|
+
end,
|
|
717
|
+
input: this.input
|
|
718
|
+
});
|
|
719
|
+
}
|
|
720
|
+
if (!this.match(TOKEN.LPAREN)) return this.#node(start, end, OPS.id, value);
|
|
721
|
+
this.#advanceToken();
|
|
722
|
+
const args = this.parseArgumentList();
|
|
723
|
+
const closeEnd = this.lexer.pos;
|
|
724
|
+
this.consume(TOKEN.RPAREN);
|
|
725
|
+
return this.#expandMacro(start, closeEnd, OPS.call, [value, args]);
|
|
726
|
+
}
|
|
727
|
+
#parseParenthesizedExpression() {
|
|
728
|
+
this.consume(TOKEN.LPAREN);
|
|
729
|
+
const expr = this.parseExpression();
|
|
730
|
+
this.consume(TOKEN.RPAREN);
|
|
731
|
+
return expr;
|
|
732
|
+
}
|
|
733
|
+
parseList() {
|
|
734
|
+
const start = this.consume(TOKEN.LBRACKET);
|
|
735
|
+
const elements = [];
|
|
736
|
+
let remainingElements = this.limits.maxListElements;
|
|
737
|
+
if (!this.match(TOKEN.RBRACKET)) {
|
|
738
|
+
elements.push(this.parseExpression());
|
|
739
|
+
if (!remainingElements--) this.#limitExceeded("maxListElements", elements.at(-1).pos);
|
|
740
|
+
while (this.match(TOKEN.COMMA)) {
|
|
741
|
+
this.#advanceToken();
|
|
742
|
+
if (this.match(TOKEN.RBRACKET)) break;
|
|
743
|
+
elements.push(this.parseExpression());
|
|
744
|
+
if (!remainingElements--) this.#limitExceeded("maxListElements", elements.at(-1).pos);
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
const closeEnd = this.lexer.pos;
|
|
748
|
+
this.consume(TOKEN.RBRACKET);
|
|
749
|
+
return this.#node(start, closeEnd, OPS.list, elements);
|
|
750
|
+
}
|
|
751
|
+
parseMap() {
|
|
752
|
+
const start = this.consume(TOKEN.LBRACE);
|
|
753
|
+
const props = [];
|
|
754
|
+
let remainingEntries = this.limits.maxMapEntries;
|
|
755
|
+
if (!this.match(TOKEN.RBRACE)) {
|
|
756
|
+
props.push(this.parseProperty());
|
|
757
|
+
if (!remainingEntries--) this.#limitExceeded("maxMapEntries", props.at(-1)[0].pos);
|
|
758
|
+
while (this.match(TOKEN.COMMA)) {
|
|
759
|
+
this.#advanceToken();
|
|
760
|
+
if (this.match(TOKEN.RBRACE)) break;
|
|
761
|
+
props.push(this.parseProperty());
|
|
762
|
+
if (!remainingEntries--) this.#limitExceeded("maxMapEntries", props.at(-1)[0].pos);
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
const closeEnd = this.lexer.pos;
|
|
766
|
+
this.consume(TOKEN.RBRACE);
|
|
767
|
+
return this.#node(start, closeEnd, OPS.map, props);
|
|
768
|
+
}
|
|
769
|
+
parseProperty() {
|
|
770
|
+
return [this.parseExpression(), (this.consume(TOKEN.COLON), this.parseExpression())];
|
|
771
|
+
}
|
|
772
|
+
parseArgumentList() {
|
|
773
|
+
const args = [];
|
|
774
|
+
let remainingArgs = this.limits.maxCallArguments;
|
|
775
|
+
if (!this.match(TOKEN.RPAREN)) {
|
|
776
|
+
args.push(this.parseExpression());
|
|
777
|
+
if (!remainingArgs--) this.#limitExceeded("maxCallArguments", args.at(-1).pos);
|
|
778
|
+
while (this.match(TOKEN.COMMA)) {
|
|
779
|
+
this.#advanceToken();
|
|
780
|
+
if (this.match(TOKEN.RPAREN)) break;
|
|
781
|
+
args.push(this.parseExpression());
|
|
782
|
+
if (!remainingArgs--) this.#limitExceeded("maxCallArguments", args.at(-1).pos);
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
return args;
|
|
786
|
+
}
|
|
787
|
+
}
|