@shwfed/config 1.1.5 → 2.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/dist/module.d.cts +2 -0
- package/dist/module.d.mts +2 -19
- package/dist/module.json +1 -1
- package/dist/module.mjs +15 -34
- package/dist/types.d.mts +12 -2
- package/package.json +1 -1
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.d.vue.ts +0 -23
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue +0 -107
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue.d.ts +0 -23
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.vue +0 -30
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.d.ts +0 -16
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.js +0 -48
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.d.vue.ts +0 -41
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue +0 -170
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue.d.ts +0 -41
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.vue +0 -37
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.d.ts +0 -25
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.js +0 -62
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.d.vue.ts +0 -17
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.vue +0 -62
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.vue.d.ts +0 -17
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/runtime.vue +0 -17
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/schema.d.ts +0 -13
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/schema.js +0 -16
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.d.vue.ts +0 -21
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.vue +0 -84
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.vue.d.ts +0 -21
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/runtime.vue +0 -29
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/schema.d.ts +0 -15
- package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/schema.js +0 -27
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/config.d.vue.ts +0 -17
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/config.vue +0 -10
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/config.vue.d.ts +0 -17
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/runtime.vue +0 -25
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/schema.d.ts +0 -13
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/schema.js +0 -16
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/config.d.vue.ts +0 -17
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/config.vue +0 -10
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/config.vue.d.ts +0 -17
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/runtime.vue +0 -21
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/schema.d.ts +0 -13
- package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/schema.js +0 -16
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.d.vue.ts +0 -80
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.vue +0 -325
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.vue.d.ts +0 -80
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.d.vue.ts +0 -10
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.vue +0 -56
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.vue.d.ts +0 -10
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.d.ts +0 -77
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.js +0 -46
- package/dist/runtime/components/actions/components/definition.d.vue.ts +0 -22
- package/dist/runtime/components/actions/components/definition.vue +0 -64
- package/dist/runtime/components/actions/components/definition.vue.d.ts +0 -22
- package/dist/runtime/components/actions/components/group.d.vue.ts +0 -160
- package/dist/runtime/components/actions/components/group.vue +0 -519
- package/dist/runtime/components/actions/components/group.vue.d.ts +0 -160
- package/dist/runtime/components/actions/config.d.vue.ts +0 -158
- package/dist/runtime/components/actions/config.vue +0 -1549
- package/dist/runtime/components/actions/config.vue.d.ts +0 -158
- package/dist/runtime/components/actions/schema.d.ts +0 -294
- package/dist/runtime/components/actions/schema.js +0 -210
- package/dist/runtime/components/actions/utils/button-registry.d.ts +0 -25
- package/dist/runtime/components/actions/utils/button-registry.js +0 -1
- package/dist/runtime/components/actions/utils/resolve.d.ts +0 -27
- package/dist/runtime/components/actions/utils/resolve.js +0 -82
- package/dist/runtime/components/app.d.vue.ts +0 -13
- package/dist/runtime/components/app.vue +0 -202
- package/dist/runtime/components/app.vue.d.ts +0 -13
- package/dist/runtime/components/block-layout-editor/index.d.vue.ts +0 -90
- package/dist/runtime/components/block-layout-editor/index.vue +0 -1312
- package/dist/runtime/components/block-layout-editor/index.vue.d.ts +0 -90
- package/dist/runtime/components/block-layout-editor/meta-strip.d.vue.ts +0 -23
- package/dist/runtime/components/block-layout-editor/meta-strip.vue +0 -83
- package/dist/runtime/components/block-layout-editor/meta-strip.vue.d.ts +0 -23
- package/dist/runtime/components/block-layout-editor/sidebar.d.vue.ts +0 -39
- package/dist/runtime/components/block-layout-editor/sidebar.vue +0 -170
- package/dist/runtime/components/block-layout-editor/sidebar.vue.d.ts +0 -39
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.d.vue.ts +0 -153
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.vue +0 -18
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.vue.d.ts +0 -153
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.d.vue.ts +0 -158
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.vue +0 -22
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.vue.d.ts +0 -158
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +0 -98
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.js +0 -28
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.d.vue.ts +0 -68
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue +0 -22
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue.d.ts +0 -68
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.d.vue.ts +0 -72
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue +0 -24
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue.d.ts +0 -72
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +0 -84
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.js +0 -30
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/config.d.vue.ts +0 -35
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/config.vue +0 -66
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/config.vue.d.ts +0 -35
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/runtime.d.vue.ts +0 -35
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/runtime.vue +0 -19
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/runtime.vue.d.ts +0 -35
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.d.ts +0 -35
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.js +0 -31
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +0 -350
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue +0 -22
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +0 -350
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +0 -345
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue +0 -17
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +0 -345
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +0 -393
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.js +0 -28
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.d.vue.ts +0 -86
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue +0 -498
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue.d.ts +0 -86
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.d.vue.ts +0 -86
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue +0 -62
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue.d.ts +0 -86
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.d.ts +0 -155
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.js +0 -94
- package/dist/runtime/components/config/breadcrumb-extension.d.ts +0 -15
- package/dist/runtime/components/config/breadcrumb-extension.js +0 -1
- package/dist/runtime/components/config/breadcrumb.d.vue.ts +0 -7
- package/dist/runtime/components/config/breadcrumb.vue +0 -61
- package/dist/runtime/components/config/breadcrumb.vue.d.ts +0 -7
- package/dist/runtime/components/config/config.d.vue.ts +0 -7
- package/dist/runtime/components/config/config.vue +0 -139
- package/dist/runtime/components/config/config.vue.d.ts +0 -7
- package/dist/runtime/components/config/footer.d.vue.ts +0 -11
- package/dist/runtime/components/config/footer.vue +0 -62
- package/dist/runtime/components/config/footer.vue.d.ts +0 -11
- package/dist/runtime/components/config/index.d.vue.ts +0 -37
- package/dist/runtime/components/config/index.vue +0 -98
- package/dist/runtime/components/config/index.vue.d.ts +0 -37
- package/dist/runtime/components/config/schema.d.ts +0 -102
- package/dist/runtime/components/config/schema.js +0 -23
- package/dist/runtime/components/config/use-editor.d.ts +0 -102
- package/dist/runtime/components/config/use-editor.js +0 -388
- package/dist/runtime/components/config/utils/block-ref-cache.d.ts +0 -9
- package/dist/runtime/components/config/utils/block-ref-cache.js +0 -14
- package/dist/runtime/components/config/utils/resolve.d.ts +0 -39
- package/dist/runtime/components/config/utils/resolve.js +0 -62
- package/dist/runtime/components/form/config.d.vue.ts +0 -16
- package/dist/runtime/components/form/config.vue +0 -111
- package/dist/runtime/components/form/config.vue.d.ts +0 -16
- package/dist/runtime/components/form/field-layout.d.ts +0 -5
- package/dist/runtime/components/form/field-layout.js +0 -1
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/config.d.vue.ts +0 -37
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/config.vue +0 -87
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/config.vue.d.ts +0 -37
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue +0 -22
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.d.ts +0 -33
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.js +0 -25
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +0 -73
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue +0 -247
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +0 -73
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue +0 -118
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +0 -51
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.js +0 -48
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.d.vue.ts +0 -75
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue +0 -288
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue.d.ts +0 -75
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue +0 -93
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +0 -53
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.js +0 -52
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.d.vue.ts +0 -149
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue +0 -97
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue.d.ts +0 -149
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/runtime.vue +0 -26
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +0 -95
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.js +0 -28
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +0 -91
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue +0 -308
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +0 -91
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue +0 -240
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.d.ts +0 -75
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.js +0 -70
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +0 -99
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue +0 -472
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +0 -99
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue +0 -115
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +0 -75
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.js +0 -77
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +0 -119
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue +0 -653
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +0 -119
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue +0 -148
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +0 -87
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js +0 -103
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +0 -103
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue +0 -554
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +0 -103
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue +0 -117
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +0 -87
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.js +0 -95
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +0 -123
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue +0 -737
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +0 -123
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue +0 -150
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +0 -99
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.js +0 -121
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.d.vue.ts +0 -65
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue +0 -361
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue.d.ts +0 -65
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue +0 -91
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +0 -57
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.js +0 -66
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +0 -67
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue +0 -465
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +0 -67
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue +0 -115
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +0 -59
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.js +0 -80
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +0 -83
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue +0 -405
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +0 -83
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue +0 -163
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +0 -56
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.js +0 -69
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +0 -99
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue +0 -457
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +0 -99
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue +0 -238
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +0 -65
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.js +0 -80
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +0 -85
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue +0 -226
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +0 -85
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue +0 -93
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +0 -57
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.js +0 -51
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.d.vue.ts +0 -121
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.vue +0 -469
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.vue.d.ts +0 -121
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue +0 -257
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.d.ts +0 -140
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.js +0 -143
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.d.vue.ts +0 -115
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.vue +0 -612
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.vue.d.ts +0 -115
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue +0 -375
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts +0 -79
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.js +0 -86
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +0 -93
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue +0 -330
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +0 -93
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue +0 -281
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +0 -74
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.js +0 -83
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts +0 -105
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue +0 -332
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts +0 -105
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.d.vue.ts +0 -16
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.vue +0 -119
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.vue.d.ts +0 -16
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.d.vue.ts +0 -8
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue +0 -218
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue.d.ts +0 -8
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +0 -111
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +0 -78
- package/dist/runtime/components/form/index.d.vue.ts +0 -22
- package/dist/runtime/components/form/index.vue +0 -175
- package/dist/runtime/components/form/index.vue.d.ts +0 -22
- package/dist/runtime/components/form/schema.d.ts +0 -164
- package/dist/runtime/components/form/schema.js +0 -77
- package/dist/runtime/components/form/unit-config.d.vue.ts +0 -63
- package/dist/runtime/components/form/unit-config.vue +0 -498
- package/dist/runtime/components/form/unit-config.vue.d.ts +0 -63
- package/dist/runtime/components/form/utils/common.d.ts +0 -15
- package/dist/runtime/components/form/utils/common.js +0 -26
- package/dist/runtime/components/form/utils/resolve.d.ts +0 -77
- package/dist/runtime/components/form/utils/resolve.js +0 -74
- package/dist/runtime/components/form/utils/schema-meta.d.ts +0 -5
- package/dist/runtime/components/form/utils/schema-meta.js +0 -48
- package/dist/runtime/components/form/utils/state.d.ts +0 -11
- package/dist/runtime/components/form/utils/state.js +0 -26
- package/dist/runtime/components/modal.d.vue.ts +0 -56
- package/dist/runtime/components/modal.vue +0 -153
- package/dist/runtime/components/modal.vue.d.ts +0 -56
- package/dist/runtime/components/sidebar-takeover.d.ts +0 -6
- package/dist/runtime/components/sidebar-takeover.js +0 -1
- package/dist/runtime/components/table/ai/columns-button.d.vue.ts +0 -12
- package/dist/runtime/components/table/ai/columns-button.vue +0 -492
- package/dist/runtime/components/table/ai/columns-button.vue.d.ts +0 -12
- package/dist/runtime/components/table/ai/columns-task.md +0 -44
- package/dist/runtime/components/table/ai/data-source-button.d.vue.ts +0 -20
- package/dist/runtime/components/table/ai/data-source-button.vue +0 -325
- package/dist/runtime/components/table/ai/data-source-button.vue.d.ts +0 -20
- package/dist/runtime/components/table/ai/data-source-task.md +0 -17
- package/dist/runtime/components/table/column-layout.d.ts +0 -5
- package/dist/runtime/components/table/column-layout.js +0 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/config.d.vue.ts +0 -10
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/config.vue +0 -112
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/config.vue.d.ts +0 -10
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/runtime.d.vue.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue +0 -28
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue.d.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +0 -94
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.js +0 -45
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.d.vue.ts +0 -10
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.vue +0 -225
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.vue.d.ts +0 -10
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/runtime.d.vue.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/runtime.vue +0 -32
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/runtime.vue.d.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +0 -40
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.js +0 -42
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.d.vue.ts +0 -10
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.vue +0 -215
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.vue.d.ts +0 -10
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.d.vue.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue +0 -46
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue.d.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +0 -40
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.js +0 -45
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/config.d.vue.ts +0 -10
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/config.vue +0 -180
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/config.vue.d.ts +0 -10
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.d.vue.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue +0 -68
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue.d.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.d.ts +0 -51
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.js +0 -51
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.d.vue.ts +0 -10
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.vue +0 -293
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.vue.d.ts +0 -10
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/runtime.d.vue.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/runtime.vue +0 -97
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/runtime.vue.d.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +0 -44
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.js +0 -50
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/config.d.vue.ts +0 -10
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/config.vue +0 -141
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/config.vue.d.ts +0 -10
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/header.d.vue.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/header.vue +0 -60
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/header.vue.d.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.d.vue.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue +0 -117
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue.d.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.d.ts +0 -23
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.js +0 -50
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.d.vue.ts +0 -10
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.vue +0 -255
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.vue.d.ts +0 -10
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.d.vue.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue +0 -54
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue.d.ts +0 -9
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +0 -43
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.js +0 -48
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/config.d.vue.ts +0 -10
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/config.vue +0 -280
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/config.vue.d.ts +0 -10
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.d.vue.ts +0 -9
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue +0 -82
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue.d.ts +0 -9
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +0 -42
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.js +0 -65
- package/dist/runtime/components/table/config.d.vue.ts +0 -16
- package/dist/runtime/components/table/config.vue +0 -1581
- package/dist/runtime/components/table/config.vue.d.ts +0 -16
- package/dist/runtime/components/table/index.d.vue.ts +0 -93
- package/dist/runtime/components/table/index.vue +0 -893
- package/dist/runtime/components/table/index.vue.d.ts +0 -93
- package/dist/runtime/components/table/schema.d.ts +0 -633
- package/dist/runtime/components/table/schema.js +0 -258
- package/dist/runtime/components/table/utils/host.d.ts +0 -9
- package/dist/runtime/components/table/utils/host.js +0 -8
- package/dist/runtime/components/table/utils/resolve.d.ts +0 -32
- package/dist/runtime/components/table/utils/resolve.js +0 -50
- package/dist/runtime/components/table/utils/runtime.d.ts +0 -6
- package/dist/runtime/components/table/utils/runtime.js +0 -28
- package/dist/runtime/components/table/utils/schema-meta.d.ts +0 -5
- package/dist/runtime/components/table/utils/schema-meta.js +0 -48
- package/dist/runtime/components/table/utils/shared.d.ts +0 -40
- package/dist/runtime/components/table/utils/shared.js +0 -67
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.d.vue.ts +0 -21
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue +0 -20
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue.d.ts +0 -21
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.d.vue.ts +0 -18
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +0 -21
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +0 -18
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.d.vue.ts +0 -18
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +0 -21
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +0 -18
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.d.vue.ts +0 -32
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +0 -44
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +0 -32
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.d.vue.ts +0 -18
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +0 -22
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +0 -18
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.d.vue.ts +0 -17
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +0 -15
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +0 -17
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.d.vue.ts +0 -17
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +0 -15
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +0 -17
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.d.vue.ts +0 -18
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +0 -22
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +0 -18
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.d.vue.ts +0 -14
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue +0 -16
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +0 -14
- package/dist/runtime/components/ui/alert-dialog/index.d.ts +0 -9
- package/dist/runtime/components/ui/alert-dialog/index.js +0 -9
- package/dist/runtime/components/ui/badge/Badge.d.vue.ts +0 -20
- package/dist/runtime/components/ui/badge/Badge.vue +0 -24
- package/dist/runtime/components/ui/badge/Badge.vue.d.ts +0 -20
- package/dist/runtime/components/ui/badge/index.d.ts +0 -6
- package/dist/runtime/components/ui/badge/index.js +0 -18
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.d.vue.ts +0 -17
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue +0 -17
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue.d.ts +0 -17
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.d.vue.ts +0 -7
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +0 -23
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +0 -7
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.d.vue.ts +0 -17
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +0 -16
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +0 -17
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.d.vue.ts +0 -20
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +0 -28
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +0 -20
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.d.vue.ts +0 -17
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +0 -21
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +0 -17
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.d.vue.ts +0 -17
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +0 -19
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +0 -17
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.d.vue.ts +0 -17
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +0 -21
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +0 -17
- package/dist/runtime/components/ui/breadcrumb/index.d.ts +0 -7
- package/dist/runtime/components/ui/breadcrumb/index.js +0 -7
- package/dist/runtime/components/ui/button/Button.d.vue.ts +0 -27
- package/dist/runtime/components/ui/button/Button.vue +0 -28
- package/dist/runtime/components/ui/button/Button.vue.d.ts +0 -27
- package/dist/runtime/components/ui/button/index.d.ts +0 -7
- package/dist/runtime/components/ui/button/index.js +0 -25
- package/dist/runtime/components/ui/button-group/ButtonGroup.d.vue.ts +0 -19
- package/dist/runtime/components/ui/button-group/ButtonGroup.vue +0 -19
- package/dist/runtime/components/ui/button-group/ButtonGroup.vue.d.ts +0 -19
- package/dist/runtime/components/ui/button-group/ButtonGroupText.d.vue.ts +0 -22
- package/dist/runtime/components/ui/button-group/ButtonGroupText.vue +0 -23
- package/dist/runtime/components/ui/button-group/ButtonGroupText.vue.d.ts +0 -22
- package/dist/runtime/components/ui/button-group/index.d.ts +0 -7
- package/dist/runtime/components/ui/button-group/index.js +0 -17
- package/dist/runtime/components/ui/calendar/Calendar.d.vue.ts +0 -35
- package/dist/runtime/components/ui/calendar/Calendar.vue +0 -196
- package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +0 -35
- package/dist/runtime/components/ui/calendar/CalendarCell.d.vue.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarCell.vue +0 -23
- package/dist/runtime/components/ui/calendar/CalendarCell.vue.d.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.d.vue.ts +0 -20
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +0 -39
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue.d.ts +0 -20
- package/dist/runtime/components/ui/calendar/CalendarGrid.d.vue.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue +0 -22
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue.d.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarGridBody.d.vue.ts +0 -14
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue +0 -16
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue.d.ts +0 -14
- package/dist/runtime/components/ui/calendar/CalendarGridHead.d.vue.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue +0 -17
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue.d.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarGridRow.d.vue.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +0 -22
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue.d.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.d.vue.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +0 -22
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue.d.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarHeader.d.vue.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue +0 -22
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue.d.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarHeading.d.vue.ts +0 -19
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue +0 -27
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue.d.ts +0 -19
- package/dist/runtime/components/ui/calendar/CalendarNextButton.d.vue.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +0 -31
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue.d.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.d.vue.ts +0 -18
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +0 -31
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue.d.ts +0 -18
- package/dist/runtime/components/ui/calendar/index.d.ts +0 -13
- package/dist/runtime/components/ui/calendar/index.js +0 -12
- package/dist/runtime/components/ui/checkbox/Checkbox.d.vue.ts +0 -25
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +0 -54
- package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +0 -25
- package/dist/runtime/components/ui/checkbox/index.d.ts +0 -1
- package/dist/runtime/components/ui/checkbox/index.js +0 -1
- package/dist/runtime/components/ui/collapsible/Collapsible.d.vue.ts +0 -20
- package/dist/runtime/components/ui/collapsible/Collapsible.vue +0 -24
- package/dist/runtime/components/ui/collapsible/Collapsible.vue.d.ts +0 -20
- package/dist/runtime/components/ui/collapsible/CollapsibleContent.d.vue.ts +0 -14
- package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue +0 -17
- package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue.d.ts +0 -14
- package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.d.vue.ts +0 -14
- package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue +0 -16
- package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +0 -14
- package/dist/runtime/components/ui/collapsible/index.d.ts +0 -3
- package/dist/runtime/components/ui/collapsible/index.js +0 -3
- package/dist/runtime/components/ui/color-picker/ColorPicker.d.vue.ts +0 -18
- package/dist/runtime/components/ui/color-picker/ColorPicker.vue +0 -51
- package/dist/runtime/components/ui/color-picker/ColorPicker.vue.d.ts +0 -18
- package/dist/runtime/components/ui/color-picker/index.d.ts +0 -1
- package/dist/runtime/components/ui/color-picker/index.js +0 -1
- package/dist/runtime/components/ui/command/Command.d.vue.ts +0 -36
- package/dist/runtime/components/ui/command/Command.vue +0 -82
- package/dist/runtime/components/ui/command/Command.vue.d.ts +0 -36
- package/dist/runtime/components/ui/command/CommandDialog.d.vue.ts +0 -28
- package/dist/runtime/components/ui/command/CommandDialog.vue +0 -34
- package/dist/runtime/components/ui/command/CommandDialog.vue.d.ts +0 -28
- package/dist/runtime/components/ui/command/CommandEmpty.d.vue.ts +0 -18
- package/dist/runtime/components/ui/command/CommandEmpty.vue +0 -28
- package/dist/runtime/components/ui/command/CommandEmpty.vue.d.ts +0 -18
- package/dist/runtime/components/ui/command/CommandGroup.d.vue.ts +0 -19
- package/dist/runtime/components/ui/command/CommandGroup.vue +0 -48
- package/dist/runtime/components/ui/command/CommandGroup.vue.d.ts +0 -19
- package/dist/runtime/components/ui/command/CommandInput.d.vue.ts +0 -8
- package/dist/runtime/components/ui/command/CommandInput.vue +0 -40
- package/dist/runtime/components/ui/command/CommandInput.vue.d.ts +0 -8
- package/dist/runtime/components/ui/command/CommandItem.d.vue.ts +0 -22
- package/dist/runtime/components/ui/command/CommandItem.vue +0 -65
- package/dist/runtime/components/ui/command/CommandItem.vue.d.ts +0 -22
- package/dist/runtime/components/ui/command/CommandList.d.vue.ts +0 -18
- package/dist/runtime/components/ui/command/CommandList.vue +0 -24
- package/dist/runtime/components/ui/command/CommandList.vue.d.ts +0 -18
- package/dist/runtime/components/ui/command/CommandSeparator.d.vue.ts +0 -18
- package/dist/runtime/components/ui/command/CommandSeparator.vue +0 -23
- package/dist/runtime/components/ui/command/CommandSeparator.vue.d.ts +0 -18
- package/dist/runtime/components/ui/command/CommandShortcut.d.vue.ts +0 -17
- package/dist/runtime/components/ui/command/CommandShortcut.vue +0 -15
- package/dist/runtime/components/ui/command/CommandShortcut.vue.d.ts +0 -17
- package/dist/runtime/components/ui/command/index.d.ts +0 -90
- package/dist/runtime/components/ui/command/index.js +0 -12
- package/dist/runtime/components/ui/config-toolbar/ConfigToolbar.d.vue.ts +0 -12
- package/dist/runtime/components/ui/config-toolbar/ConfigToolbar.vue +0 -152
- package/dist/runtime/components/ui/config-toolbar/ConfigToolbar.vue.d.ts +0 -12
- package/dist/runtime/components/ui/config-toolbar/index.d.ts +0 -1
- package/dist/runtime/components/ui/config-toolbar/index.js +0 -1
- package/dist/runtime/components/ui/context-menu/ContextMenu.d.vue.ts +0 -18
- package/dist/runtime/components/ui/context-menu/ContextMenu.vue +0 -19
- package/dist/runtime/components/ui/context-menu/ContextMenu.vue.d.ts +0 -18
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.d.vue.ts +0 -26
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue +0 -41
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +0 -26
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.d.vue.ts +0 -31
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue +0 -48
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue.d.ts +0 -31
- package/dist/runtime/components/ui/context-menu/ContextMenuGroup.d.vue.ts +0 -14
- package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue +0 -16
- package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue.d.ts +0 -14
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.d.vue.ts +0 -23
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue +0 -27
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue.d.ts +0 -23
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.d.vue.ts +0 -19
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue +0 -23
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue.d.ts +0 -19
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.d.vue.ts +0 -18
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue +0 -19
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +0 -18
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.d.vue.ts +0 -25
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue +0 -45
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +0 -25
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.d.vue.ts +0 -8
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue +0 -19
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +0 -8
- package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.d.vue.ts +0 -17
- package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue +0 -15
- package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +0 -17
- package/dist/runtime/components/ui/context-menu/ContextMenuSub.d.vue.ts +0 -18
- package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue +0 -18
- package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue.d.ts +0 -18
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.d.vue.ts +0 -34
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue +0 -41
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +0 -34
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.d.vue.ts +0 -19
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue +0 -31
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +0 -19
- package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.d.vue.ts +0 -14
- package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue +0 -18
- package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +0 -14
- package/dist/runtime/components/ui/context-menu/index.d.ts +0 -14
- package/dist/runtime/components/ui/context-menu/index.js +0 -14
- package/dist/runtime/components/ui/date-picker/DatePicker.d.vue.ts +0 -50
- package/dist/runtime/components/ui/date-picker/DatePicker.vue +0 -257
- package/dist/runtime/components/ui/date-picker/DatePicker.vue.d.ts +0 -50
- package/dist/runtime/components/ui/date-picker/DatePickerDatePanel.d.vue.ts +0 -14
- package/dist/runtime/components/ui/date-picker/DatePickerDatePanel.vue +0 -37
- package/dist/runtime/components/ui/date-picker/DatePickerDatePanel.vue.d.ts +0 -14
- package/dist/runtime/components/ui/date-picker/DatePickerDateTimePanel.d.vue.ts +0 -20
- package/dist/runtime/components/ui/date-picker/DatePickerDateTimePanel.vue +0 -147
- package/dist/runtime/components/ui/date-picker/DatePickerDateTimePanel.vue.d.ts +0 -20
- package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +0 -31
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue +0 -117
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +0 -31
- package/dist/runtime/components/ui/date-picker/DatePickerMonthPanel.d.vue.ts +0 -14
- package/dist/runtime/components/ui/date-picker/DatePickerMonthPanel.vue +0 -38
- package/dist/runtime/components/ui/date-picker/DatePickerMonthPanel.vue.d.ts +0 -14
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +0 -29
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue +0 -106
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +0 -29
- package/dist/runtime/components/ui/date-picker/DatePickerYearPanel.d.vue.ts +0 -14
- package/dist/runtime/components/ui/date-picker/DatePickerYearPanel.vue +0 -38
- package/dist/runtime/components/ui/date-picker/DatePickerYearPanel.vue.d.ts +0 -14
- package/dist/runtime/components/ui/date-picker/PickerShortcuts.d.vue.ts +0 -28
- package/dist/runtime/components/ui/date-picker/PickerShortcuts.vue +0 -37
- package/dist/runtime/components/ui/date-picker/PickerShortcuts.vue.d.ts +0 -28
- package/dist/runtime/components/ui/date-picker/index.d.ts +0 -10
- package/dist/runtime/components/ui/date-picker/index.js +0 -9
- package/dist/runtime/components/ui/date-picker/types.d.ts +0 -5
- package/dist/runtime/components/ui/date-picker/types.js +0 -7
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.d.vue.ts +0 -54
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue +0 -304
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue.d.ts +0 -54
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerDatePanel.d.vue.ts +0 -15
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerDatePanel.vue +0 -27
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerDatePanel.vue.d.ts +0 -15
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerDateTimePanel.d.vue.ts +0 -23
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerDateTimePanel.vue +0 -151
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerDateTimePanel.vue.d.ts +0 -23
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +0 -36
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue +0 -169
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +0 -36
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerMonthPanel.d.vue.ts +0 -14
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerMonthPanel.vue +0 -73
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerMonthPanel.vue.d.ts +0 -14
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +0 -34
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue +0 -148
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +0 -34
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerYearPanel.d.vue.ts +0 -14
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerYearPanel.vue +0 -73
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerYearPanel.vue.d.ts +0 -14
- package/dist/runtime/components/ui/date-range-picker/index.d.ts +0 -9
- package/dist/runtime/components/ui/date-range-picker/index.js +0 -8
- package/dist/runtime/components/ui/date-range-picker/types.d.ts +0 -5
- package/dist/runtime/components/ui/date-range-picker/types.js +0 -7
- package/dist/runtime/components/ui/dialog/Dialog.d.vue.ts +0 -21
- package/dist/runtime/components/ui/dialog/Dialog.vue +0 -21
- package/dist/runtime/components/ui/dialog/Dialog.vue.d.ts +0 -21
- package/dist/runtime/components/ui/dialog/DialogClose.d.vue.ts +0 -14
- package/dist/runtime/components/ui/dialog/DialogClose.vue +0 -16
- package/dist/runtime/components/ui/dialog/DialogClose.vue.d.ts +0 -14
- package/dist/runtime/components/ui/dialog/DialogContent.d.vue.ts +0 -37
- package/dist/runtime/components/ui/dialog/DialogContent.vue +0 -164
- package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +0 -37
- package/dist/runtime/components/ui/dialog/DialogDescription.d.vue.ts +0 -18
- package/dist/runtime/components/ui/dialog/DialogDescription.vue +0 -22
- package/dist/runtime/components/ui/dialog/DialogDescription.vue.d.ts +0 -18
- package/dist/runtime/components/ui/dialog/DialogFooter.d.vue.ts +0 -17
- package/dist/runtime/components/ui/dialog/DialogFooter.vue +0 -15
- package/dist/runtime/components/ui/dialog/DialogFooter.vue.d.ts +0 -17
- package/dist/runtime/components/ui/dialog/DialogHeader.d.vue.ts +0 -17
- package/dist/runtime/components/ui/dialog/DialogHeader.vue +0 -15
- package/dist/runtime/components/ui/dialog/DialogHeader.vue.d.ts +0 -17
- package/dist/runtime/components/ui/dialog/DialogOverlay.d.vue.ts +0 -18
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue +0 -22
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue.d.ts +0 -18
- package/dist/runtime/components/ui/dialog/DialogScrollContent.d.vue.ts +0 -38
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +0 -174
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue.d.ts +0 -38
- package/dist/runtime/components/ui/dialog/DialogTitle.d.vue.ts +0 -18
- package/dist/runtime/components/ui/dialog/DialogTitle.vue +0 -22
- package/dist/runtime/components/ui/dialog/DialogTitle.vue.d.ts +0 -18
- package/dist/runtime/components/ui/dialog/DialogTrigger.d.vue.ts +0 -14
- package/dist/runtime/components/ui/dialog/DialogTrigger.vue +0 -16
- package/dist/runtime/components/ui/dialog/DialogTrigger.vue.d.ts +0 -14
- package/dist/runtime/components/ui/dialog/index.d.ts +0 -10
- package/dist/runtime/components/ui/dialog/index.js +0 -10
- package/dist/runtime/components/ui/drawer/Drawer.d.vue.ts +0 -31
- package/dist/runtime/components/ui/drawer/Drawer.vue +0 -39
- package/dist/runtime/components/ui/drawer/Drawer.vue.d.ts +0 -31
- package/dist/runtime/components/ui/drawer/DrawerClose.d.vue.ts +0 -14
- package/dist/runtime/components/ui/drawer/DrawerClose.vue +0 -19
- package/dist/runtime/components/ui/drawer/DrawerClose.vue.d.ts +0 -14
- package/dist/runtime/components/ui/drawer/DrawerContent.d.vue.ts +0 -24
- package/dist/runtime/components/ui/drawer/DrawerContent.vue +0 -183
- package/dist/runtime/components/ui/drawer/DrawerContent.vue.d.ts +0 -24
- package/dist/runtime/components/ui/drawer/DrawerDescription.d.vue.ts +0 -18
- package/dist/runtime/components/ui/drawer/DrawerDescription.vue +0 -26
- package/dist/runtime/components/ui/drawer/DrawerDescription.vue.d.ts +0 -18
- package/dist/runtime/components/ui/drawer/DrawerFooter.d.vue.ts +0 -17
- package/dist/runtime/components/ui/drawer/DrawerFooter.vue +0 -15
- package/dist/runtime/components/ui/drawer/DrawerFooter.vue.d.ts +0 -17
- package/dist/runtime/components/ui/drawer/DrawerHeader.d.vue.ts +0 -17
- package/dist/runtime/components/ui/drawer/DrawerHeader.vue +0 -15
- package/dist/runtime/components/ui/drawer/DrawerHeader.vue.d.ts +0 -17
- package/dist/runtime/components/ui/drawer/DrawerOverlay.d.vue.ts +0 -7
- package/dist/runtime/components/ui/drawer/DrawerOverlay.vue +0 -19
- package/dist/runtime/components/ui/drawer/DrawerOverlay.vue.d.ts +0 -7
- package/dist/runtime/components/ui/drawer/DrawerTitle.d.vue.ts +0 -18
- package/dist/runtime/components/ui/drawer/DrawerTitle.vue +0 -26
- package/dist/runtime/components/ui/drawer/DrawerTitle.vue.d.ts +0 -18
- package/dist/runtime/components/ui/drawer/DrawerTrigger.d.vue.ts +0 -14
- package/dist/runtime/components/ui/drawer/DrawerTrigger.vue +0 -19
- package/dist/runtime/components/ui/drawer/DrawerTrigger.vue.d.ts +0 -14
- package/dist/runtime/components/ui/drawer/index.d.ts +0 -8
- package/dist/runtime/components/ui/drawer/index.js +0 -8
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.d.vue.ts +0 -20
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue +0 -21
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +0 -20
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +0 -32
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +0 -52
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -32
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +0 -26
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +0 -29
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +0 -26
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.d.vue.ts +0 -14
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue +0 -18
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +0 -14
- package/dist/runtime/components/ui/dropdown-menu/index.d.ts +0 -4
- package/dist/runtime/components/ui/dropdown-menu/index.js +0 -4
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.d.vue.ts +0 -22
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +0 -150
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue.d.ts +0 -22
- package/dist/runtime/components/ui/expression-editor/index.d.ts +0 -1
- package/dist/runtime/components/ui/expression-editor/index.js +0 -1
- package/dist/runtime/components/ui/field/Field.d.vue.ts +0 -19
- package/dist/runtime/components/ui/field/Field.vue +0 -23
- package/dist/runtime/components/ui/field/Field.vue.d.ts +0 -19
- package/dist/runtime/components/ui/field/FieldContent.d.vue.ts +0 -17
- package/dist/runtime/components/ui/field/FieldContent.vue +0 -18
- package/dist/runtime/components/ui/field/FieldContent.vue.d.ts +0 -17
- package/dist/runtime/components/ui/field/FieldDescription.d.vue.ts +0 -17
- package/dist/runtime/components/ui/field/FieldDescription.vue +0 -20
- package/dist/runtime/components/ui/field/FieldDescription.vue.d.ts +0 -17
- package/dist/runtime/components/ui/field/FieldError.d.vue.ts +0 -20
- package/dist/runtime/components/ui/field/FieldError.vue +0 -51
- package/dist/runtime/components/ui/field/FieldError.vue.d.ts +0 -20
- package/dist/runtime/components/ui/field/FieldGroup.d.vue.ts +0 -17
- package/dist/runtime/components/ui/field/FieldGroup.vue +0 -18
- package/dist/runtime/components/ui/field/FieldGroup.vue.d.ts +0 -17
- package/dist/runtime/components/ui/field/FieldLabel.d.vue.ts +0 -19
- package/dist/runtime/components/ui/field/FieldLabel.vue +0 -29
- package/dist/runtime/components/ui/field/FieldLabel.vue.d.ts +0 -19
- package/dist/runtime/components/ui/field/FieldLegend.d.vue.ts +0 -18
- package/dist/runtime/components/ui/field/FieldLegend.vue +0 -22
- package/dist/runtime/components/ui/field/FieldLegend.vue.d.ts +0 -18
- package/dist/runtime/components/ui/field/FieldSeparator.d.vue.ts +0 -17
- package/dist/runtime/components/ui/field/FieldSeparator.vue +0 -27
- package/dist/runtime/components/ui/field/FieldSeparator.vue.d.ts +0 -17
- package/dist/runtime/components/ui/field/FieldSet.d.vue.ts +0 -17
- package/dist/runtime/components/ui/field/FieldSet.vue +0 -15
- package/dist/runtime/components/ui/field/FieldSet.vue.d.ts +0 -17
- package/dist/runtime/components/ui/field/FieldTitle.d.vue.ts +0 -17
- package/dist/runtime/components/ui/field/FieldTitle.vue +0 -18
- package/dist/runtime/components/ui/field/FieldTitle.vue.d.ts +0 -17
- package/dist/runtime/components/ui/field/index.d.ts +0 -15
- package/dist/runtime/components/ui/field/index.js +0 -61
- package/dist/runtime/components/ui/icon-picker/IconPicker.d.vue.ts +0 -12
- package/dist/runtime/components/ui/icon-picker/IconPicker.vue +0 -48
- package/dist/runtime/components/ui/icon-picker/IconPicker.vue.d.ts +0 -12
- package/dist/runtime/components/ui/icon-picker/index.d.ts +0 -1
- package/dist/runtime/components/ui/icon-picker/index.js +0 -1
- package/dist/runtime/components/ui/input/Input.d.vue.ts +0 -15
- package/dist/runtime/components/ui/input/Input.vue +0 -31
- package/dist/runtime/components/ui/input/Input.vue.d.ts +0 -15
- package/dist/runtime/components/ui/input/index.d.ts +0 -1
- package/dist/runtime/components/ui/input/index.js +0 -1
- package/dist/runtime/components/ui/input-group/InputGroup.d.vue.ts +0 -17
- package/dist/runtime/components/ui/input-group/InputGroup.vue +0 -34
- package/dist/runtime/components/ui/input-group/InputGroup.vue.d.ts +0 -17
- package/dist/runtime/components/ui/input-group/InputGroupAddon.d.vue.ts +0 -21
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +0 -33
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue.d.ts +0 -21
- package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +0 -24
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue +0 -20
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +0 -24
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.d.vue.ts +0 -28
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue +0 -90
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue.d.ts +0 -28
- package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.d.vue.ts +0 -10
- package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.vue +0 -27
- package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.vue.d.ts +0 -10
- package/dist/runtime/components/ui/input-group/InputGroupInput.d.vue.ts +0 -8
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue +0 -20
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue.d.ts +0 -8
- package/dist/runtime/components/ui/input-group/InputGroupNumberField.d.vue.ts +0 -18
- package/dist/runtime/components/ui/input-group/InputGroupNumberField.vue +0 -57
- package/dist/runtime/components/ui/input-group/InputGroupNumberField.vue.d.ts +0 -18
- package/dist/runtime/components/ui/input-group/InputGroupText.d.vue.ts +0 -17
- package/dist/runtime/components/ui/input-group/InputGroupText.vue +0 -17
- package/dist/runtime/components/ui/input-group/InputGroupText.vue.d.ts +0 -17
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.d.vue.ts +0 -7
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +0 -17
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue.d.ts +0 -7
- package/dist/runtime/components/ui/input-group/index.d.ts +0 -19
- package/dist/runtime/components/ui/input-group/index.js +0 -43
- package/dist/runtime/components/ui/label/Label.d.vue.ts +0 -18
- package/dist/runtime/components/ui/label/Label.vue +0 -50
- package/dist/runtime/components/ui/label/Label.vue.d.ts +0 -18
- package/dist/runtime/components/ui/label/index.d.ts +0 -1
- package/dist/runtime/components/ui/label/index.js +0 -1
- package/dist/runtime/components/ui/locale/Locale.d.vue.ts +0 -28
- package/dist/runtime/components/ui/locale/Locale.vue +0 -350
- package/dist/runtime/components/ui/locale/Locale.vue.d.ts +0 -28
- package/dist/runtime/components/ui/locale/index.d.ts +0 -1
- package/dist/runtime/components/ui/locale/index.js +0 -1
- package/dist/runtime/components/ui/markdown/Markdown.d.vue.ts +0 -26
- package/dist/runtime/components/ui/markdown/Markdown.vue +0 -109
- package/dist/runtime/components/ui/markdown/Markdown.vue.d.ts +0 -26
- package/dist/runtime/components/ui/markdown/index.d.ts +0 -1
- package/dist/runtime/components/ui/markdown/index.js +0 -1
- package/dist/runtime/components/ui/native-select/NativeSelect.d.vue.ts +0 -23
- package/dist/runtime/components/ui/native-select/NativeSelect.vue +0 -42
- package/dist/runtime/components/ui/native-select/NativeSelect.vue.d.ts +0 -23
- package/dist/runtime/components/ui/native-select/index.d.ts +0 -1
- package/dist/runtime/components/ui/native-select/index.js +0 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.d.vue.ts +0 -27
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue +0 -41
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue.d.ts +0 -27
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.d.vue.ts +0 -28
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue +0 -32
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue.d.ts +0 -28
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.d.vue.ts +0 -8
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue +0 -23
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue.d.ts +0 -8
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.d.vue.ts +0 -18
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue +0 -22
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue.d.ts +0 -18
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.d.vue.ts +0 -26
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue +0 -27
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue.d.ts +0 -26
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.d.vue.ts +0 -18
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue +0 -27
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue.d.ts +0 -18
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.d.vue.ts +0 -18
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue +0 -33
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue.d.ts +0 -18
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.d.vue.ts +0 -8
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue +0 -32
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue.d.ts +0 -8
- package/dist/runtime/components/ui/navigation-menu/index.d.ts +0 -9
- package/dist/runtime/components/ui/navigation-menu/index.js +0 -12
- package/dist/runtime/components/ui/number-field/NumberField.d.vue.ts +0 -26
- package/dist/runtime/components/ui/number-field/NumberField.vue +0 -39
- package/dist/runtime/components/ui/number-field/NumberField.vue.d.ts +0 -26
- package/dist/runtime/components/ui/number-field/NumberFieldContent.d.vue.ts +0 -17
- package/dist/runtime/components/ui/number-field/NumberFieldContent.vue +0 -12
- package/dist/runtime/components/ui/number-field/NumberFieldContent.vue.d.ts +0 -17
- package/dist/runtime/components/ui/number-field/NumberFieldDecrement.d.vue.ts +0 -18
- package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue +0 -29
- package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue.d.ts +0 -18
- package/dist/runtime/components/ui/number-field/NumberFieldIncrement.d.vue.ts +0 -18
- package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue +0 -29
- package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue.d.ts +0 -18
- package/dist/runtime/components/ui/number-field/NumberFieldInput.d.vue.ts +0 -7
- package/dist/runtime/components/ui/number-field/NumberFieldInput.vue +0 -14
- package/dist/runtime/components/ui/number-field/NumberFieldInput.vue.d.ts +0 -7
- package/dist/runtime/components/ui/number-field/index.d.ts +0 -5
- package/dist/runtime/components/ui/number-field/index.js +0 -5
- package/dist/runtime/components/ui/popover/Popover.d.vue.ts +0 -21
- package/dist/runtime/components/ui/popover/Popover.vue +0 -21
- package/dist/runtime/components/ui/popover/Popover.vue.d.ts +0 -21
- package/dist/runtime/components/ui/popover/PopoverAnchor.d.vue.ts +0 -14
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue +0 -17
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue.d.ts +0 -14
- package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +0 -36
- package/dist/runtime/components/ui/popover/PopoverContent.vue +0 -58
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +0 -36
- package/dist/runtime/components/ui/popover/PopoverTrigger.d.vue.ts +0 -14
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue +0 -16
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue.d.ts +0 -14
- package/dist/runtime/components/ui/popover/index.d.ts +0 -4
- package/dist/runtime/components/ui/popover/index.js +0 -4
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.d.vue.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +0 -100
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue.d.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.d.vue.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue +0 -49
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.d.vue.ts +0 -20
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue +0 -45
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +0 -20
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.d.vue.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue +0 -22
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.d.vue.ts +0 -14
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue +0 -16
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +0 -14
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.d.vue.ts +0 -14
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue +0 -16
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +0 -14
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.d.vue.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue +0 -22
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.d.vue.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue +0 -22
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.d.vue.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue +0 -22
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.d.vue.ts +0 -19
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue +0 -26
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +0 -19
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.d.vue.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue +0 -32
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.d.vue.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue +0 -32
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +0 -18
- package/dist/runtime/components/ui/range-calendar/index.d.ts +0 -12
- package/dist/runtime/components/ui/range-calendar/index.js +0 -12
- package/dist/runtime/components/ui/scroll-area/ScrollArea.d.vue.ts +0 -18
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue +0 -37
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue.d.ts +0 -18
- package/dist/runtime/components/ui/scroll-area/ScrollBar.d.vue.ts +0 -10
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue +0 -32
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue.d.ts +0 -10
- package/dist/runtime/components/ui/scroll-area/index.d.ts +0 -2
- package/dist/runtime/components/ui/scroll-area/index.js +0 -2
- package/dist/runtime/components/ui/select/Select.d.vue.ts +0 -24
- package/dist/runtime/components/ui/select/Select.vue +0 -29
- package/dist/runtime/components/ui/select/Select.vue.d.ts +0 -24
- package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +0 -28
- package/dist/runtime/components/ui/select/SelectContent.vue +0 -68
- package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +0 -28
- package/dist/runtime/components/ui/select/SelectGroup.d.vue.ts +0 -14
- package/dist/runtime/components/ui/select/SelectGroup.vue +0 -17
- package/dist/runtime/components/ui/select/SelectGroup.vue.d.ts +0 -14
- package/dist/runtime/components/ui/select/SelectItem.d.vue.ts +0 -20
- package/dist/runtime/components/ui/select/SelectItem.vue +0 -48
- package/dist/runtime/components/ui/select/SelectItem.vue.d.ts +0 -20
- package/dist/runtime/components/ui/select/SelectItemText.d.vue.ts +0 -14
- package/dist/runtime/components/ui/select/SelectItemText.vue +0 -17
- package/dist/runtime/components/ui/select/SelectItemText.vue.d.ts +0 -14
- package/dist/runtime/components/ui/select/SelectLabel.d.vue.ts +0 -18
- package/dist/runtime/components/ui/select/SelectLabel.vue +0 -20
- package/dist/runtime/components/ui/select/SelectLabel.vue.d.ts +0 -18
- package/dist/runtime/components/ui/select/SelectScrollDownButton.d.vue.ts +0 -18
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +0 -29
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue.d.ts +0 -18
- package/dist/runtime/components/ui/select/SelectScrollUpButton.d.vue.ts +0 -18
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +0 -29
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue.d.ts +0 -18
- package/dist/runtime/components/ui/select/SelectSeparator.d.vue.ts +0 -8
- package/dist/runtime/components/ui/select/SelectSeparator.vue +0 -20
- package/dist/runtime/components/ui/select/SelectSeparator.vue.d.ts +0 -8
- package/dist/runtime/components/ui/select/SelectTrigger.d.vue.ts +0 -21
- package/dist/runtime/components/ui/select/SelectTrigger.vue +0 -38
- package/dist/runtime/components/ui/select/SelectTrigger.vue.d.ts +0 -21
- package/dist/runtime/components/ui/select/SelectValue.d.vue.ts +0 -14
- package/dist/runtime/components/ui/select/SelectValue.vue +0 -18
- package/dist/runtime/components/ui/select/SelectValue.vue.d.ts +0 -14
- package/dist/runtime/components/ui/select/index.d.ts +0 -11
- package/dist/runtime/components/ui/select/index.js +0 -11
- package/dist/runtime/components/ui/separator/Separator.d.vue.ts +0 -11
- package/dist/runtime/components/ui/separator/Separator.vue +0 -27
- package/dist/runtime/components/ui/separator/Separator.vue.d.ts +0 -11
- package/dist/runtime/components/ui/separator/index.d.ts +0 -1
- package/dist/runtime/components/ui/separator/index.js +0 -1
- package/dist/runtime/components/ui/sheet/Sheet.d.vue.ts +0 -21
- package/dist/runtime/components/ui/sheet/Sheet.vue +0 -21
- package/dist/runtime/components/ui/sheet/Sheet.vue.d.ts +0 -21
- package/dist/runtime/components/ui/sheet/SheetClose.d.vue.ts +0 -14
- package/dist/runtime/components/ui/sheet/SheetClose.vue +0 -16
- package/dist/runtime/components/ui/sheet/SheetClose.vue.d.ts +0 -14
- package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +0 -35
- package/dist/runtime/components/ui/sheet/SheetContent.vue +0 -53
- package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +0 -35
- package/dist/runtime/components/ui/sheet/SheetDescription.d.vue.ts +0 -18
- package/dist/runtime/components/ui/sheet/SheetDescription.vue +0 -21
- package/dist/runtime/components/ui/sheet/SheetDescription.vue.d.ts +0 -18
- package/dist/runtime/components/ui/sheet/SheetFooter.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sheet/SheetFooter.vue +0 -17
- package/dist/runtime/components/ui/sheet/SheetFooter.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sheet/SheetHeader.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sheet/SheetHeader.vue +0 -15
- package/dist/runtime/components/ui/sheet/SheetHeader.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sheet/SheetOverlay.d.vue.ts +0 -18
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue +0 -22
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue.d.ts +0 -18
- package/dist/runtime/components/ui/sheet/SheetTitle.d.vue.ts +0 -18
- package/dist/runtime/components/ui/sheet/SheetTitle.vue +0 -21
- package/dist/runtime/components/ui/sheet/SheetTitle.vue.d.ts +0 -18
- package/dist/runtime/components/ui/sheet/SheetTrigger.d.vue.ts +0 -14
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue +0 -16
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue.d.ts +0 -14
- package/dist/runtime/components/ui/sheet/index.d.ts +0 -8
- package/dist/runtime/components/ui/sheet/index.js +0 -8
- package/dist/runtime/components/ui/sidebar/Sidebar.d.vue.ts +0 -22
- package/dist/runtime/components/ui/sidebar/Sidebar.vue +0 -93
- package/dist/runtime/components/ui/sidebar/Sidebar.vue.d.ts +0 -22
- package/dist/runtime/components/ui/sidebar/SidebarContent.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarContent.vue +0 -16
- package/dist/runtime/components/ui/sidebar/SidebarContent.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarFooter.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarFooter.vue +0 -16
- package/dist/runtime/components/ui/sidebar/SidebarFooter.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarGroup.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarGroup.vue +0 -16
- package/dist/runtime/components/ui/sidebar/SidebarGroup.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.d.vue.ts +0 -18
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue +0 -26
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue.d.ts +0 -18
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue +0 -16
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.d.vue.ts +0 -18
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue +0 -25
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +0 -18
- package/dist/runtime/components/ui/sidebar/SidebarHeader.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarHeader.vue +0 -16
- package/dist/runtime/components/ui/sidebar/SidebarHeader.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarInput.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarInput.vue +0 -20
- package/dist/runtime/components/ui/sidebar/SidebarInput.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarInset.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarInset.vue +0 -19
- package/dist/runtime/components/ui/sidebar/SidebarInset.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarMenu.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarMenu.vue +0 -16
- package/dist/runtime/components/ui/sidebar/SidebarMenu.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.d.vue.ts +0 -21
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +0 -31
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue.d.ts +0 -21
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue +0 -24
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.d.vue.ts +0 -24
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue +0 -50
- package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +0 -24
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.d.vue.ts +0 -26
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue +0 -28
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +0 -26
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue +0 -16
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.d.vue.ts +0 -8
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +0 -32
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +0 -8
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue +0 -20
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.d.vue.ts +0 -23
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue +0 -32
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +0 -23
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue +0 -16
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarProvider.d.vue.ts +0 -26
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +0 -61
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue.d.ts +0 -26
- package/dist/runtime/components/ui/sidebar/SidebarRail.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarRail.vue +0 -30
- package/dist/runtime/components/ui/sidebar/SidebarRail.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.d.vue.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue.d.ts +0 -17
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.d.vue.ts +0 -7
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +0 -23
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue.d.ts +0 -7
- package/dist/runtime/components/ui/sidebar/index.d.ts +0 -37
- package/dist/runtime/components/ui/sidebar/index.js +0 -45
- package/dist/runtime/components/ui/sidebar/utils.d.ts +0 -56
- package/dist/runtime/components/ui/sidebar/utils.js +0 -8
- package/dist/runtime/components/ui/skeleton/Skeleton.d.vue.ts +0 -7
- package/dist/runtime/components/ui/skeleton/Skeleton.vue +0 -14
- package/dist/runtime/components/ui/skeleton/Skeleton.vue.d.ts +0 -7
- package/dist/runtime/components/ui/skeleton/index.d.ts +0 -1
- package/dist/runtime/components/ui/skeleton/index.js +0 -1
- package/dist/runtime/components/ui/switch/Switch.d.vue.ts +0 -29
- package/dist/runtime/components/ui/switch/Switch.vue +0 -58
- package/dist/runtime/components/ui/switch/Switch.vue.d.ts +0 -29
- package/dist/runtime/components/ui/switch/index.d.ts +0 -1
- package/dist/runtime/components/ui/switch/index.js +0 -1
- package/dist/runtime/components/ui/tabs/Tabs.d.vue.ts +0 -24
- package/dist/runtime/components/ui/tabs/Tabs.vue +0 -31
- package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +0 -24
- package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +0 -18
- package/dist/runtime/components/ui/tabs/TabsContent.vue +0 -23
- package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +0 -18
- package/dist/runtime/components/ui/tabs/TabsList.d.vue.ts +0 -18
- package/dist/runtime/components/ui/tabs/TabsList.vue +0 -86
- package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +0 -18
- package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +0 -18
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue +0 -32
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +0 -18
- package/dist/runtime/components/ui/tabs/index.d.ts +0 -4
- package/dist/runtime/components/ui/tabs/index.js +0 -4
- package/dist/runtime/components/ui/textarea/Textarea.d.vue.ts +0 -14
- package/dist/runtime/components/ui/textarea/Textarea.vue +0 -29
- package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +0 -14
- package/dist/runtime/components/ui/textarea/index.d.ts +0 -1
- package/dist/runtime/components/ui/textarea/index.js +0 -1
- package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +0 -34
- package/dist/runtime/components/ui/toggle/Toggle.vue +0 -33
- package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +0 -34
- package/dist/runtime/components/ui/toggle/index.d.ts +0 -7
- package/dist/runtime/components/ui/toggle/index.js +0 -23
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +0 -28
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +0 -41
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +0 -28
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.d.vue.ts +0 -21
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +0 -33
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +0 -21
- package/dist/runtime/components/ui/toggle-group/index.d.ts +0 -8
- package/dist/runtime/components/ui/toggle-group/index.js +0 -3
- package/dist/runtime/components/ui/tooltip/Tooltip.d.vue.ts +0 -20
- package/dist/runtime/components/ui/tooltip/Tooltip.vue +0 -27
- package/dist/runtime/components/ui/tooltip/Tooltip.vue.d.ts +0 -20
- package/dist/runtime/components/ui/tooltip/TooltipContent.d.vue.ts +0 -27
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue +0 -59
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +0 -27
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.d.vue.ts +0 -14
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue +0 -17
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue.d.ts +0 -14
- package/dist/runtime/components/ui/tooltip/index.d.ts +0 -3
- package/dist/runtime/components/ui/tooltip/index.js +0 -3
- package/dist/runtime/composables/useCel.d.ts +0 -16
- package/dist/runtime/composables/useCel.js +0 -8
- package/dist/runtime/composables/useDragging.d.ts +0 -25
- package/dist/runtime/composables/useDragging.js +0 -76
- package/dist/runtime/composables/useInfinitePlane.d.ts +0 -30
- package/dist/runtime/composables/useInfinitePlane.js +0 -24
- package/dist/runtime/composables/useOverlay.d.ts +0 -110
- package/dist/runtime/composables/useOverlay.js +0 -268
- package/dist/runtime/composables/useTranslateLocale.d.ts +0 -11
- package/dist/runtime/composables/useTranslateLocale.js +0 -66
- package/dist/runtime/composables/useTreeDnd.d.ts +0 -52
- package/dist/runtime/composables/useTreeDnd.js +0 -211
- package/dist/runtime/middleware/token.d.ts +0 -2
- package/dist/runtime/middleware/token.js +0 -20
- package/dist/runtime/plugins/ai/cel-prompt.d.ts +0 -11
- package/dist/runtime/plugins/ai/cel-prompt.js +0 -27
- package/dist/runtime/plugins/ai/index.d.ts +0 -44
- package/dist/runtime/plugins/ai/index.js +0 -266
- package/dist/runtime/plugins/cel/context.d.ts +0 -10
- package/dist/runtime/plugins/cel/context.js +0 -16
- package/dist/runtime/plugins/cel/http.d.ts +0 -8
- package/dist/runtime/plugins/cel/http.js +0 -49
- package/dist/runtime/plugins/cel/index.d.ts +0 -9
- package/dist/runtime/plugins/cel/index.js +0 -59
- package/dist/runtime/plugins/http/builder.d.ts +0 -14
- package/dist/runtime/plugins/http/builder.js +0 -109
- package/dist/runtime/plugins/http/index.d.ts +0 -19
- package/dist/runtime/plugins/http/index.js +0 -35
- package/dist/runtime/plugins/i18n/index.d.ts +0 -2
- package/dist/runtime/plugins/i18n/index.js +0 -14
- package/dist/runtime/plugins/toast/index.d.ts +0 -108
- package/dist/runtime/plugins/toast/index.js +0 -10
- package/dist/runtime/share/define-registry.d.ts +0 -57
- package/dist/runtime/share/define-registry.js +0 -63
- package/dist/runtime/share/expression.d.ts +0 -15
- package/dist/runtime/share/expression.js +0 -132
- package/dist/runtime/share/layout.d.ts +0 -122
- package/dist/runtime/share/layout.js +0 -219
- package/dist/runtime/share/locale.d.ts +0 -11
- package/dist/runtime/share/locale.js +0 -37
- package/dist/runtime/share/markdown.d.ts +0 -9
- package/dist/runtime/share/markdown.js +0 -6
- package/dist/runtime/share/slot-renderer.d.vue.ts +0 -50
- package/dist/runtime/share/slot-renderer.vue +0 -116
- package/dist/runtime/share/slot-renderer.vue.d.ts +0 -50
- package/dist/runtime/share/use-active-tab-id.d.ts +0 -13
- package/dist/runtime/share/use-active-tab-id.js +0 -34
- package/dist/runtime/shims.d.ts +0 -4
- package/dist/runtime/style.css +0 -1
- package/dist/runtime/types.d.ts +0 -25
- package/dist/runtime/utils/cn.d.ts +0 -2
- package/dist/runtime/utils/cn.js +0 -3
- package/dist/runtime/utils/config-clipboard.d.ts +0 -4
- package/dist/runtime/utils/config-clipboard.js +0 -12
- package/dist/runtime/utils/markdown-tooltip.d.ts +0 -4
- package/dist/runtime/utils/markdown-tooltip.js +0 -55
- package/dist/runtime/utils/markdown.d.ts +0 -5
- package/dist/runtime/utils/markdown.js +0 -6
- package/dist/runtime/vendor/cel-js/CLAUDE.md +0 -74
- package/dist/runtime/vendor/cel-js/LICENSE +0 -21
- package/dist/runtime/vendor/cel-js/PROMPT.md +0 -319
- package/dist/runtime/vendor/cel-js/VENDORED +0 -3
- package/dist/runtime/vendor/cel-js/__tests__/helpers.d.ts +0 -8
- package/dist/runtime/vendor/cel-js/__tests__/helpers.js +0 -18
- package/dist/runtime/vendor/cel-js/lib/decimal.d.ts +0 -31
- package/dist/runtime/vendor/cel-js/lib/decimal.js +0 -208
- package/dist/runtime/vendor/cel-js/lib/errors.d.ts +0 -50
- package/dist/runtime/vendor/cel-js/lib/errors.js +0 -112
- package/dist/runtime/vendor/cel-js/lib/evaluator.d.ts +0 -37
- package/dist/runtime/vendor/cel-js/lib/evaluator.js +0 -163
- package/dist/runtime/vendor/cel-js/lib/functions.d.ts +0 -2
- package/dist/runtime/vendor/cel-js/lib/functions.js +0 -340
- package/dist/runtime/vendor/cel-js/lib/globals.d.ts +0 -27
- package/dist/runtime/vendor/cel-js/lib/globals.js +0 -31
- package/dist/runtime/vendor/cel-js/lib/http-builtins.d.ts +0 -16
- package/dist/runtime/vendor/cel-js/lib/http-builtins.js +0 -15
- package/dist/runtime/vendor/cel-js/lib/index.d.ts +0 -3
- package/dist/runtime/vendor/cel-js/lib/index.js +0 -3
- package/dist/runtime/vendor/cel-js/lib/macros.d.ts +0 -2
- package/dist/runtime/vendor/cel-js/lib/macros.js +0 -268
- package/dist/runtime/vendor/cel-js/lib/operators.d.ts +0 -29
- package/dist/runtime/vendor/cel-js/lib/operators.js +0 -673
- package/dist/runtime/vendor/cel-js/lib/optional.d.ts +0 -5
- package/dist/runtime/vendor/cel-js/lib/optional.js +0 -111
- package/dist/runtime/vendor/cel-js/lib/options.d.ts +0 -15
- package/dist/runtime/vendor/cel-js/lib/options.js +0 -37
- package/dist/runtime/vendor/cel-js/lib/overloads.d.ts +0 -2
- package/dist/runtime/vendor/cel-js/lib/overloads.js +0 -170
- package/dist/runtime/vendor/cel-js/lib/parser.d.ts +0 -83
- package/dist/runtime/vendor/cel-js/lib/parser.js +0 -787
- package/dist/runtime/vendor/cel-js/lib/registry.d.ts +0 -209
- package/dist/runtime/vendor/cel-js/lib/registry.js +0 -1326
- package/dist/runtime/vendor/cel-js/lib/serialize.d.ts +0 -3
- package/dist/runtime/vendor/cel-js/lib/serialize.js +0 -168
- package/dist/runtime/vendor/cel-js/lib/type-checker.d.ts +0 -15
- package/dist/runtime/vendor/cel-js/lib/type-checker.js +0 -56
- package/dist/runtime/vendor/cel-js/lib/types.d.ts +0 -192
- package/dist/runtime/vendor/cel-js/lib/types.js +0 -0
|
@@ -1,1549 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { computed, inject, onBeforeUnmount, provide, ref, watch } from "vue";
|
|
3
|
-
import { Icon } from "@iconify/vue";
|
|
4
|
-
import {
|
|
5
|
-
ActionSchemaFields,
|
|
6
|
-
ActionsConfig,
|
|
7
|
-
getStructFieldDescription,
|
|
8
|
-
getStructFieldTitle
|
|
9
|
-
} from "./schema";
|
|
10
|
-
import { Environment } from "../../vendor/cel-js/lib/index";
|
|
11
|
-
import { provideCELContext } from "../../plugins/cel/context";
|
|
12
|
-
import { BUTTONS, findButton } from "./utils/resolve";
|
|
13
|
-
import { SIDEBAR_TAKEOVER_KEY } from "../sidebar-takeover";
|
|
14
|
-
import { BREADCRUMB_EXTENSION_KEY } from "../config/breadcrumb-extension";
|
|
15
|
-
import { ScrollArea } from "../ui/scroll-area";
|
|
16
|
-
import { Field, FieldLabel } from "../ui/field";
|
|
17
|
-
import { Textarea } from "../ui/textarea";
|
|
18
|
-
import { ExpressionEditor } from "../ui/expression-editor";
|
|
19
|
-
import { Switch } from "../ui/switch";
|
|
20
|
-
import { Separator } from "../ui/separator";
|
|
21
|
-
import { Tooltip, TooltipContent, TooltipTrigger } from "../ui/tooltip";
|
|
22
|
-
import { Locale as LocaleField } from "../ui/locale";
|
|
23
|
-
import { IconPicker } from "../ui/icon-picker";
|
|
24
|
-
import {
|
|
25
|
-
InputGroup,
|
|
26
|
-
InputGroupAddon,
|
|
27
|
-
InputGroupCombobox,
|
|
28
|
-
InputGroupNumberField
|
|
29
|
-
} from "../ui/input-group";
|
|
30
|
-
import { CommandGroup, CommandItem } from "../ui/command";
|
|
31
|
-
import {
|
|
32
|
-
Select,
|
|
33
|
-
SelectContent,
|
|
34
|
-
SelectItem,
|
|
35
|
-
SelectTrigger,
|
|
36
|
-
SelectValue
|
|
37
|
-
} from "../ui/select";
|
|
38
|
-
import { getLocalizedText } from "../../share/locale";
|
|
39
|
-
import { Markdown } from "../ui/markdown";
|
|
40
|
-
import {
|
|
41
|
-
useTreeDnd
|
|
42
|
-
} from "../../composables/useTreeDnd";
|
|
43
|
-
defineOptions({ name: "ShwfedActionsConfig" });
|
|
44
|
-
const props = defineProps({
|
|
45
|
-
configure: { type: Function, required: false }
|
|
46
|
-
});
|
|
47
|
-
const config = defineModel("modelValue", { type: null, ...{ required: true } });
|
|
48
|
-
const configure = props.configure ?? (() => {
|
|
49
|
-
});
|
|
50
|
-
const actionsSchema = ActionsConfig(configure);
|
|
51
|
-
const advertisedContext = (() => {
|
|
52
|
-
const probe = new Environment({ unlistedVariablesAreDyn: false });
|
|
53
|
-
const baseline = new Set(probe.getDefinitions().variables.map((v) => v.name));
|
|
54
|
-
configure(probe);
|
|
55
|
-
const out = {};
|
|
56
|
-
for (const v of probe.getDefinitions().variables) {
|
|
57
|
-
if (baseline.has(v.name)) continue;
|
|
58
|
-
out[v.name] = {
|
|
59
|
-
type: v.type,
|
|
60
|
-
label: v.name,
|
|
61
|
-
description: v.description ?? void 0,
|
|
62
|
-
value: void 0
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
return out;
|
|
66
|
-
})();
|
|
67
|
-
provideCELContext(advertisedContext);
|
|
68
|
-
const {
|
|
69
|
-
ActionGroup: ActionGroupSchema,
|
|
70
|
-
ActionItem: ActionItemSchema,
|
|
71
|
-
DropdownAction: DropdownActionSchema,
|
|
72
|
-
DropdownActionItem: DropdownActionItemSchema
|
|
73
|
-
} = ActionSchemaFields(configure);
|
|
74
|
-
const groupFieldTitle = (f) => getStructFieldTitle(ActionGroupSchema, f) ?? f;
|
|
75
|
-
const itemFieldTitle = (f) => getStructFieldTitle(ActionItemSchema, f) ?? f;
|
|
76
|
-
const dropdownItemFieldTitle = (f) => getStructFieldTitle(DropdownActionItemSchema, f) ?? f;
|
|
77
|
-
const subFieldTitle = (f) => getStructFieldTitle(DropdownActionSchema, f) ?? f;
|
|
78
|
-
const generalFieldTitle = (f) => getStructFieldTitle(actionsSchema, f) ?? f;
|
|
79
|
-
const groupFieldDescription = (f) => getStructFieldDescription(ActionGroupSchema, f);
|
|
80
|
-
const itemFieldDescription = (f) => getStructFieldDescription(ActionItemSchema, f);
|
|
81
|
-
const dropdownItemFieldDescription = (f) => getStructFieldDescription(DropdownActionItemSchema, f);
|
|
82
|
-
const subFieldDescription = (f) => getStructFieldDescription(DropdownActionSchema, f);
|
|
83
|
-
const generalFieldDescription = (f) => getStructFieldDescription(actionsSchema, f);
|
|
84
|
-
function isDropdownItem(item) {
|
|
85
|
-
return "items" in item;
|
|
86
|
-
}
|
|
87
|
-
const GROUP_DRAG_KIND = "group";
|
|
88
|
-
const ITEM_DRAG_KIND = "item";
|
|
89
|
-
const SUBITEM_DRAG_KIND = "sub";
|
|
90
|
-
const VARIANT_OPTIONS = [
|
|
91
|
-
{ value: "default", label: "\u9ED8\u8BA4" },
|
|
92
|
-
{ value: "primary", label: "\u4E3B\u8981" },
|
|
93
|
-
{ value: "destructive", label: "\u5371\u9669" },
|
|
94
|
-
{ value: "ghost", label: "\u900F\u660E" },
|
|
95
|
-
{ value: "link", label: "\u94FE\u63A5" }
|
|
96
|
-
];
|
|
97
|
-
const SIZE_OPTIONS = [
|
|
98
|
-
{ value: "default", label: "\u9ED8\u8BA4" },
|
|
99
|
-
{ value: "sm", label: "\u5C0F" },
|
|
100
|
-
{ value: "xs", label: "\u6781\u5C0F" }
|
|
101
|
-
];
|
|
102
|
-
const ACTION_PICKER_ENTRIES = (() => {
|
|
103
|
-
const byType = /* @__PURE__ */ new Map();
|
|
104
|
-
for (const a of BUTTONS) {
|
|
105
|
-
const prev = byType.get(a.type);
|
|
106
|
-
if (!prev || a.compatibilityDate > prev.compatibilityDate) {
|
|
107
|
-
byType.set(a.type, {
|
|
108
|
-
type: a.type,
|
|
109
|
-
compatibilityDate: a.compatibilityDate,
|
|
110
|
-
name: a.metadata.name,
|
|
111
|
-
icon: a.metadata.icon
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
return [...byType.values()].sort((a, b) => a.name.localeCompare(b.name, "zh"));
|
|
116
|
-
})();
|
|
117
|
-
const editingGroups = computed(
|
|
118
|
-
() => config.value.groups ?? []
|
|
119
|
-
);
|
|
120
|
-
const editingItems = computed(
|
|
121
|
-
() => config.value.items ?? []
|
|
122
|
-
);
|
|
123
|
-
function snapshot() {
|
|
124
|
-
return {
|
|
125
|
-
groups: [...config.value.groups ?? []],
|
|
126
|
-
items: [...config.value.items ?? []]
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
function commit(w) {
|
|
130
|
-
config.value = { ...config.value, groups: w.groups, items: w.items };
|
|
131
|
-
}
|
|
132
|
-
const editingSize = computed({
|
|
133
|
-
get: () => config.value.size ?? "default",
|
|
134
|
-
set: (next) => {
|
|
135
|
-
config.value = { ...config.value, size: next };
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
const editingGap = computed({
|
|
139
|
-
get: () => config.value.gap ?? 4,
|
|
140
|
-
set: (next) => {
|
|
141
|
-
config.value = { ...config.value, gap: next };
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
const editingStyle = computed({
|
|
145
|
-
get: () => config.value.style ?? "",
|
|
146
|
-
set: (next) => {
|
|
147
|
-
const cleaned = next;
|
|
148
|
-
if (cleaned.trim() === "") {
|
|
149
|
-
const { style: _drop, ...rest } = config.value;
|
|
150
|
-
config.value = rest;
|
|
151
|
-
} else {
|
|
152
|
-
config.value = { ...config.value, style: cleaned };
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
const selected = ref({ kind: "general" });
|
|
157
|
-
function itemsOfGroup(groupId) {
|
|
158
|
-
return editingItems.value.filter((it) => it.groupId === groupId);
|
|
159
|
-
}
|
|
160
|
-
function itemLabel(item) {
|
|
161
|
-
const fallback = isDropdownItem(item) ? "\u672A\u547D\u540D\u4E0B\u62C9\u6309\u94AE" : "\u672A\u547D\u540D\u6309\u94AE";
|
|
162
|
-
return getLocalizedText(item.title, "zh") ?? fallback;
|
|
163
|
-
}
|
|
164
|
-
function subLabel(sub) {
|
|
165
|
-
return getLocalizedText(sub.title, "zh") ?? "\u672A\u547D\u540D\u6309\u94AE";
|
|
166
|
-
}
|
|
167
|
-
function composeGroupLabel(groupId) {
|
|
168
|
-
const items = itemsOfGroup(groupId);
|
|
169
|
-
if (items.length === 0) return "";
|
|
170
|
-
const first = itemLabel(items[0]);
|
|
171
|
-
if (items.length === 1) return first;
|
|
172
|
-
if (items.length === 2) return `${first}\u3001${itemLabel(items[1])}`;
|
|
173
|
-
return `${first} \u7B49 ${items.length} \u4E2A\u6309\u94AE`;
|
|
174
|
-
}
|
|
175
|
-
function findItem(id) {
|
|
176
|
-
return editingItems.value.find((it) => it.id === id) ?? null;
|
|
177
|
-
}
|
|
178
|
-
function findSub(id) {
|
|
179
|
-
for (const it of editingItems.value) {
|
|
180
|
-
if (!isDropdownItem(it)) continue;
|
|
181
|
-
const sub = it.items.find((s) => s.id === id);
|
|
182
|
-
if (sub) return { parent: it, sub };
|
|
183
|
-
}
|
|
184
|
-
return null;
|
|
185
|
-
}
|
|
186
|
-
function findGroup(id) {
|
|
187
|
-
return editingGroups.value.find((g) => g.id === id) ?? null;
|
|
188
|
-
}
|
|
189
|
-
const selectedGeneral = computed(() => selected.value?.kind === "general");
|
|
190
|
-
const selectedGroup = computed(() => {
|
|
191
|
-
if (selected.value?.kind !== "group") return null;
|
|
192
|
-
return findGroup(selected.value.id);
|
|
193
|
-
});
|
|
194
|
-
const selectedActionItem = computed(() => {
|
|
195
|
-
if (selected.value?.kind !== "item") return null;
|
|
196
|
-
const it = findItem(selected.value.id);
|
|
197
|
-
if (!it || isDropdownItem(it)) return null;
|
|
198
|
-
return it;
|
|
199
|
-
});
|
|
200
|
-
const selectedDropdownItem = computed(() => {
|
|
201
|
-
if (selected.value?.kind !== "item") return null;
|
|
202
|
-
const it = findItem(selected.value.id);
|
|
203
|
-
if (!it || !isDropdownItem(it)) return null;
|
|
204
|
-
return it;
|
|
205
|
-
});
|
|
206
|
-
const selectedSubRef = computed(() => {
|
|
207
|
-
if (selected.value?.kind !== "sub") return null;
|
|
208
|
-
return findSub(selected.value.id)?.sub ?? null;
|
|
209
|
-
});
|
|
210
|
-
const hasSelection = computed(
|
|
211
|
-
() => selectedGeneral.value || selectedGroup.value !== null || selectedActionItem.value !== null || selectedDropdownItem.value !== null || selectedSubRef.value !== null
|
|
212
|
-
);
|
|
213
|
-
function setOptionalString(target, key, value) {
|
|
214
|
-
if (value.trim() === "") Reflect.deleteProperty(target, key);
|
|
215
|
-
else target[key] = value;
|
|
216
|
-
}
|
|
217
|
-
function setOptionalBoolean(target, key, value) {
|
|
218
|
-
if (!value) Reflect.deleteProperty(target, key);
|
|
219
|
-
else target[key] = true;
|
|
220
|
-
}
|
|
221
|
-
function setOptionalLocale(target, key, value) {
|
|
222
|
-
if (!value || value.length === 0 || value.every((m) => m.message.trim().length === 0)) {
|
|
223
|
-
Reflect.deleteProperty(target, key);
|
|
224
|
-
} else {
|
|
225
|
-
target[key] = value;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
function emptyLocale() {
|
|
229
|
-
return [{ locale: "zh", message: "" }];
|
|
230
|
-
}
|
|
231
|
-
function getActionConfigComponent(action) {
|
|
232
|
-
return findButton(action.type, action.compatibilityDate)?.config;
|
|
233
|
-
}
|
|
234
|
-
function getButtonMetadataLabel(action) {
|
|
235
|
-
return findButton(action.type, action.compatibilityDate)?.metadata.name ?? action.type;
|
|
236
|
-
}
|
|
237
|
-
function patchSelectedGroup(mutate) {
|
|
238
|
-
const sel = selected.value;
|
|
239
|
-
if (sel?.kind !== "group") return;
|
|
240
|
-
const id = sel.id;
|
|
241
|
-
const w = snapshot();
|
|
242
|
-
let touched = false;
|
|
243
|
-
w.groups = w.groups.map((g) => {
|
|
244
|
-
if (g.id !== id) return g;
|
|
245
|
-
const next = { ...g };
|
|
246
|
-
mutate(next);
|
|
247
|
-
touched = true;
|
|
248
|
-
return next;
|
|
249
|
-
});
|
|
250
|
-
if (!touched) return;
|
|
251
|
-
commit(w);
|
|
252
|
-
}
|
|
253
|
-
function patchSelectedActionItem(mutate) {
|
|
254
|
-
const sel = selected.value;
|
|
255
|
-
if (sel?.kind !== "item") return;
|
|
256
|
-
const id = sel.id;
|
|
257
|
-
const w = snapshot();
|
|
258
|
-
let touched = false;
|
|
259
|
-
w.items = w.items.map((it) => {
|
|
260
|
-
if (it.id !== id || isDropdownItem(it)) return it;
|
|
261
|
-
const next = { ...it };
|
|
262
|
-
mutate(next);
|
|
263
|
-
touched = true;
|
|
264
|
-
return next;
|
|
265
|
-
});
|
|
266
|
-
if (!touched) return;
|
|
267
|
-
commit(w);
|
|
268
|
-
}
|
|
269
|
-
function patchSelectedDropdownItem(mutate) {
|
|
270
|
-
const sel = selected.value;
|
|
271
|
-
if (sel?.kind !== "item") return;
|
|
272
|
-
const id = sel.id;
|
|
273
|
-
const w = snapshot();
|
|
274
|
-
let touched = false;
|
|
275
|
-
w.items = w.items.map((it) => {
|
|
276
|
-
if (it.id !== id || !isDropdownItem(it)) return it;
|
|
277
|
-
const next = { ...it };
|
|
278
|
-
mutate(next);
|
|
279
|
-
touched = true;
|
|
280
|
-
return next;
|
|
281
|
-
});
|
|
282
|
-
if (!touched) return;
|
|
283
|
-
commit(w);
|
|
284
|
-
}
|
|
285
|
-
function patchSelectedSub(mutate) {
|
|
286
|
-
const sel = selected.value;
|
|
287
|
-
if (sel?.kind !== "sub") return;
|
|
288
|
-
const id = sel.id;
|
|
289
|
-
const w = snapshot();
|
|
290
|
-
let touched = false;
|
|
291
|
-
w.items = w.items.map((it) => {
|
|
292
|
-
if (!isDropdownItem(it)) return it;
|
|
293
|
-
if (!it.items.some((s) => s.id === id)) return it;
|
|
294
|
-
return {
|
|
295
|
-
...it,
|
|
296
|
-
items: it.items.map((s) => {
|
|
297
|
-
if (s.id !== id) return s;
|
|
298
|
-
const next = { ...s };
|
|
299
|
-
mutate(next);
|
|
300
|
-
touched = true;
|
|
301
|
-
return next;
|
|
302
|
-
})
|
|
303
|
-
};
|
|
304
|
-
});
|
|
305
|
-
if (!touched) return;
|
|
306
|
-
commit(w);
|
|
307
|
-
}
|
|
308
|
-
function isDrillableAction(action) {
|
|
309
|
-
if (!action) return false;
|
|
310
|
-
return findButton(action.type, action.compatibilityDate)?.metadata.drillable === true;
|
|
311
|
-
}
|
|
312
|
-
const selectedDrillableAction = computed(() => {
|
|
313
|
-
const it = selectedActionItem.value;
|
|
314
|
-
if (it?.action && isDrillableAction(it.action)) return it.action;
|
|
315
|
-
const sub = selectedSubRef.value;
|
|
316
|
-
if (sub?.action && isDrillableAction(sub.action)) return sub.action;
|
|
317
|
-
return null;
|
|
318
|
-
});
|
|
319
|
-
const selectedDrillableTitle = computed(() => {
|
|
320
|
-
const drilled = selectedDrillableAction.value;
|
|
321
|
-
if (!drilled) return null;
|
|
322
|
-
const it = selectedActionItem.value;
|
|
323
|
-
if (it && it.action === drilled) return it.title;
|
|
324
|
-
const sub = selectedSubRef.value;
|
|
325
|
-
if (sub && sub.action === drilled) return sub.title;
|
|
326
|
-
return null;
|
|
327
|
-
});
|
|
328
|
-
const outerTakeover = inject(SIDEBAR_TAKEOVER_KEY, null);
|
|
329
|
-
const outerTakeoverTarget = computed(() => outerTakeover?.target.value ?? null);
|
|
330
|
-
const sidebarTakeoverTarget = ref(null);
|
|
331
|
-
const drilledByAction = ref(false);
|
|
332
|
-
provide(SIDEBAR_TAKEOVER_KEY, { target: sidebarTakeoverTarget, drilled: drilledByAction });
|
|
333
|
-
const breadcrumbExt = inject(BREADCRUMB_EXTENSION_KEY, null);
|
|
334
|
-
if (breadcrumbExt) {
|
|
335
|
-
const crumb = breadcrumbExt.add();
|
|
336
|
-
watch(
|
|
337
|
-
[selectedDrillableAction, selectedDrillableTitle],
|
|
338
|
-
([action, title]) => {
|
|
339
|
-
if (!action) {
|
|
340
|
-
crumb.label.value = null;
|
|
341
|
-
crumb.back.value = null;
|
|
342
|
-
return;
|
|
343
|
-
}
|
|
344
|
-
const fallback = findButton(action.type, action.compatibilityDate)?.metadata.name ?? action.type;
|
|
345
|
-
crumb.label.value = getLocalizedText(title ?? void 0, "zh") ?? fallback;
|
|
346
|
-
crumb.back.value = () => {
|
|
347
|
-
selected.value = null;
|
|
348
|
-
};
|
|
349
|
-
},
|
|
350
|
-
{ immediate: true }
|
|
351
|
-
);
|
|
352
|
-
onBeforeUnmount(() => {
|
|
353
|
-
crumb.dispose();
|
|
354
|
-
});
|
|
355
|
-
}
|
|
356
|
-
function selectGeneral() {
|
|
357
|
-
selected.value = { kind: "general" };
|
|
358
|
-
}
|
|
359
|
-
function selectGroup(id) {
|
|
360
|
-
selected.value = { kind: "group", id };
|
|
361
|
-
}
|
|
362
|
-
function selectItem(id) {
|
|
363
|
-
selected.value = { kind: "item", id };
|
|
364
|
-
}
|
|
365
|
-
function selectSub(id) {
|
|
366
|
-
selected.value = { kind: "sub", id };
|
|
367
|
-
}
|
|
368
|
-
function isSourceDropdown(src) {
|
|
369
|
-
if (src.kind !== ITEM_DRAG_KIND) return false;
|
|
370
|
-
const it = editingItems.value.find((i) => i.id === src.id);
|
|
371
|
-
return !!it && isDropdownItem(it);
|
|
372
|
-
}
|
|
373
|
-
function findParentDropdownOfSub(items, subId) {
|
|
374
|
-
for (const it of items) {
|
|
375
|
-
if (isDropdownItem(it) && it.items.some((s) => s.id === subId)) return it;
|
|
376
|
-
}
|
|
377
|
-
return null;
|
|
378
|
-
}
|
|
379
|
-
function actionItemToSubItem(it) {
|
|
380
|
-
const out = {
|
|
381
|
-
id: it.id,
|
|
382
|
-
title: it.title
|
|
383
|
-
};
|
|
384
|
-
if (it.tooltip !== void 0) out.tooltip = it.tooltip;
|
|
385
|
-
if (it.icon !== void 0) out.icon = it.icon;
|
|
386
|
-
if (it.hidden !== void 0) out.hidden = it.hidden;
|
|
387
|
-
if (it.disabled !== void 0) out.disabled = it.disabled;
|
|
388
|
-
if (it.variant !== void 0) out.variant = it.variant;
|
|
389
|
-
if (it.action !== void 0) out.action = it.action;
|
|
390
|
-
return out;
|
|
391
|
-
}
|
|
392
|
-
function subItemToActionItem(sub, groupId) {
|
|
393
|
-
const out = {
|
|
394
|
-
id: sub.id,
|
|
395
|
-
groupId,
|
|
396
|
-
title: sub.title
|
|
397
|
-
};
|
|
398
|
-
const s = sub;
|
|
399
|
-
if (s.tooltip !== void 0) out.tooltip = s.tooltip;
|
|
400
|
-
if (s.icon !== void 0) out.icon = s.icon;
|
|
401
|
-
if (s.hidden !== void 0) out.hidden = s.hidden;
|
|
402
|
-
if (s.disabled !== void 0) out.disabled = s.disabled;
|
|
403
|
-
if (s.variant !== void 0) out.variant = s.variant;
|
|
404
|
-
if (s.action !== void 0) out.action = s.action;
|
|
405
|
-
return out;
|
|
406
|
-
}
|
|
407
|
-
function materializeAsSubItems(items, kind, id) {
|
|
408
|
-
if (kind === ITEM_DRAG_KIND) {
|
|
409
|
-
const it = items.find((i) => i.id === id);
|
|
410
|
-
if (!it || isDropdownItem(it)) return [];
|
|
411
|
-
return [actionItemToSubItem(it)];
|
|
412
|
-
}
|
|
413
|
-
if (kind === SUBITEM_DRAG_KIND) {
|
|
414
|
-
const parent = findParentDropdownOfSub(items, id);
|
|
415
|
-
const sub = parent?.items.find((s) => s.id === id);
|
|
416
|
-
return sub ? [{ ...sub }] : [];
|
|
417
|
-
}
|
|
418
|
-
return [];
|
|
419
|
-
}
|
|
420
|
-
function materializeAsTopLevel(items, kind, id, groupId) {
|
|
421
|
-
if (kind === ITEM_DRAG_KIND) {
|
|
422
|
-
const it = items.find((i) => i.id === id);
|
|
423
|
-
if (!it) return null;
|
|
424
|
-
return { ...it, groupId };
|
|
425
|
-
}
|
|
426
|
-
if (kind === SUBITEM_DRAG_KIND) {
|
|
427
|
-
const parent = findParentDropdownOfSub(items, id);
|
|
428
|
-
const sub = parent?.items.find((s) => s.id === id);
|
|
429
|
-
return sub ? subItemToActionItem(sub, groupId) : null;
|
|
430
|
-
}
|
|
431
|
-
return null;
|
|
432
|
-
}
|
|
433
|
-
function removeFromSource(w, kind, id) {
|
|
434
|
-
if (kind === ITEM_DRAG_KIND) {
|
|
435
|
-
w.items = w.items.filter((it) => it.id !== id);
|
|
436
|
-
pruneEmptyGroups(w);
|
|
437
|
-
return;
|
|
438
|
-
}
|
|
439
|
-
w.items = w.items.map((it) => {
|
|
440
|
-
if (!isDropdownItem(it)) return it;
|
|
441
|
-
if (!it.items.some((s) => s.id === id)) return it;
|
|
442
|
-
return { ...it, items: it.items.filter((s) => s.id !== id) };
|
|
443
|
-
});
|
|
444
|
-
pruneEmptyDropdowns(w);
|
|
445
|
-
pruneEmptyGroups(w);
|
|
446
|
-
}
|
|
447
|
-
function pruneEmptyGroups(w) {
|
|
448
|
-
const groupsWithItems = new Set(w.items.map((it) => it.groupId));
|
|
449
|
-
w.groups = w.groups.filter((g) => groupsWithItems.has(g.id));
|
|
450
|
-
}
|
|
451
|
-
function pruneEmptyDropdowns(w) {
|
|
452
|
-
w.items = w.items.filter((it) => !isDropdownItem(it) || it.items.length > 0);
|
|
453
|
-
}
|
|
454
|
-
function sortByGroupOrder(groups, items) {
|
|
455
|
-
const order = new Map(groups.map((g, i) => [g.id, i]));
|
|
456
|
-
return [...items].sort((a, b) => (order.get(a.groupId) ?? 0) - (order.get(b.groupId) ?? 0));
|
|
457
|
-
}
|
|
458
|
-
function dropGroupOnGroup(sourceId, targetId, edge) {
|
|
459
|
-
if (sourceId === targetId) return;
|
|
460
|
-
const w = snapshot();
|
|
461
|
-
const from = w.groups.findIndex((g) => g.id === sourceId);
|
|
462
|
-
const tgt = w.groups.findIndex((g) => g.id === targetId);
|
|
463
|
-
if (from < 0 || tgt < 0) return;
|
|
464
|
-
const [src] = w.groups.splice(from, 1);
|
|
465
|
-
let to = tgt > from ? tgt - 1 : tgt;
|
|
466
|
-
if (edge === "reorder-below") to += 1;
|
|
467
|
-
w.groups.splice(to, 0, src);
|
|
468
|
-
commit(w);
|
|
469
|
-
}
|
|
470
|
-
function dropAsChild(sourceKind, sourceId, targetItemId) {
|
|
471
|
-
if (sourceKind === GROUP_DRAG_KIND) return;
|
|
472
|
-
if (sourceId === targetItemId) return;
|
|
473
|
-
const w = snapshot();
|
|
474
|
-
const idx = w.items.findIndex((i) => i.id === targetItemId);
|
|
475
|
-
if (idx < 0) return;
|
|
476
|
-
const cur = w.items[idx];
|
|
477
|
-
if (!isDropdownItem(cur)) return;
|
|
478
|
-
if (sourceKind === SUBITEM_DRAG_KIND && cur.items.some((s) => s.id === sourceId)) return;
|
|
479
|
-
const subs = materializeAsSubItems(w.items, sourceKind, sourceId);
|
|
480
|
-
if (subs.length === 0) return;
|
|
481
|
-
removeFromSource(w, sourceKind, sourceId);
|
|
482
|
-
const afterIdx = w.items.findIndex((i) => i.id === targetItemId);
|
|
483
|
-
if (afterIdx < 0) return;
|
|
484
|
-
const target = w.items[afterIdx];
|
|
485
|
-
const updated = { ...target, items: [...target.items, ...subs] };
|
|
486
|
-
w.items = w.items.map((it, i) => i === afterIdx ? updated : it);
|
|
487
|
-
commit(w);
|
|
488
|
-
}
|
|
489
|
-
function dropAtTopLevel(sourceKind, sourceId, targetItemId, edge) {
|
|
490
|
-
if (sourceKind === GROUP_DRAG_KIND) return;
|
|
491
|
-
if (sourceId === targetItemId) return;
|
|
492
|
-
const w = snapshot();
|
|
493
|
-
const target = w.items.find((i) => i.id === targetItemId);
|
|
494
|
-
if (!target) return;
|
|
495
|
-
const targetGroupId = target.groupId;
|
|
496
|
-
const newItem = materializeAsTopLevel(w.items, sourceKind, sourceId, targetGroupId);
|
|
497
|
-
if (!newItem) return;
|
|
498
|
-
removeFromSource(w, sourceKind, sourceId);
|
|
499
|
-
const next = [];
|
|
500
|
-
let inserted = false;
|
|
501
|
-
for (const it of w.items) {
|
|
502
|
-
if (it.id === targetItemId) {
|
|
503
|
-
if (edge === "reorder-above") {
|
|
504
|
-
next.push(newItem, it);
|
|
505
|
-
} else {
|
|
506
|
-
next.push(it, newItem);
|
|
507
|
-
}
|
|
508
|
-
inserted = true;
|
|
509
|
-
} else {
|
|
510
|
-
next.push(it);
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
if (!inserted) next.push(newItem);
|
|
514
|
-
w.items = sortByGroupOrder(w.groups, next);
|
|
515
|
-
pruneEmptyGroups(w);
|
|
516
|
-
pruneEmptyDropdowns(w);
|
|
517
|
-
commit(w);
|
|
518
|
-
}
|
|
519
|
-
function dropAtSub(sourceKind, sourceId, targetSubId, edge) {
|
|
520
|
-
if (sourceKind === GROUP_DRAG_KIND) return;
|
|
521
|
-
if (sourceId === targetSubId) return;
|
|
522
|
-
const w = snapshot();
|
|
523
|
-
const parent = findParentDropdownOfSub(w.items, targetSubId);
|
|
524
|
-
if (!parent) return;
|
|
525
|
-
const parentId = parent.id;
|
|
526
|
-
const subs = materializeAsSubItems(w.items, sourceKind, sourceId);
|
|
527
|
-
if (subs.length === 0) return;
|
|
528
|
-
removeFromSource(w, sourceKind, sourceId);
|
|
529
|
-
const idx = w.items.findIndex((i) => i.id === parentId);
|
|
530
|
-
if (idx < 0) return;
|
|
531
|
-
const cur = w.items[idx];
|
|
532
|
-
if (!isDropdownItem(cur)) return;
|
|
533
|
-
const newItems = [];
|
|
534
|
-
let inserted = false;
|
|
535
|
-
for (const s of cur.items) {
|
|
536
|
-
if (s.id === targetSubId) {
|
|
537
|
-
if (edge === "reorder-above") newItems.push(...subs, s);
|
|
538
|
-
else newItems.push(s, ...subs);
|
|
539
|
-
inserted = true;
|
|
540
|
-
} else {
|
|
541
|
-
newItems.push(s);
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
if (!inserted) newItems.push(...subs);
|
|
545
|
-
const updated = { ...cur, items: newItems };
|
|
546
|
-
w.items = w.items.map((it, i) => i === idx ? updated : it);
|
|
547
|
-
pruneEmptyDropdowns(w);
|
|
548
|
-
pruneEmptyGroups(w);
|
|
549
|
-
commit(w);
|
|
550
|
-
}
|
|
551
|
-
function addButton(type, compatibilityDate) {
|
|
552
|
-
const groupId = crypto.randomUUID();
|
|
553
|
-
const itemId = crypto.randomUUID();
|
|
554
|
-
const newItem = {
|
|
555
|
-
id: itemId,
|
|
556
|
-
groupId,
|
|
557
|
-
title: emptyLocale(),
|
|
558
|
-
action: { type, compatibilityDate }
|
|
559
|
-
};
|
|
560
|
-
const w = snapshot();
|
|
561
|
-
w.groups = [...w.groups, { id: groupId }];
|
|
562
|
-
w.items = [...w.items, newItem];
|
|
563
|
-
commit(w);
|
|
564
|
-
selected.value = { kind: "item", id: itemId };
|
|
565
|
-
}
|
|
566
|
-
function promoteToNewGroup(sourceKind, sourceId, groupInsertIndex) {
|
|
567
|
-
if (sourceKind === GROUP_DRAG_KIND) return;
|
|
568
|
-
const w = snapshot();
|
|
569
|
-
const tmp = materializeAsTopLevel(w.items, sourceKind, sourceId, "");
|
|
570
|
-
if (!tmp) return;
|
|
571
|
-
const newGroup = { id: crypto.randomUUID() };
|
|
572
|
-
const newItem = { ...tmp, groupId: newGroup.id };
|
|
573
|
-
removeFromSource(w, sourceKind, sourceId);
|
|
574
|
-
const idx = Math.max(0, Math.min(groupInsertIndex, w.groups.length));
|
|
575
|
-
w.groups.splice(idx, 0, newGroup);
|
|
576
|
-
w.items = sortByGroupOrder(w.groups, [...w.items, newItem]);
|
|
577
|
-
commit(w);
|
|
578
|
-
}
|
|
579
|
-
function wrapActionItemInDropdown(itemId) {
|
|
580
|
-
const w = snapshot();
|
|
581
|
-
const idx = w.items.findIndex((i) => i.id === itemId);
|
|
582
|
-
if (idx < 0) return;
|
|
583
|
-
const cur = w.items[idx];
|
|
584
|
-
if (isDropdownItem(cur)) return;
|
|
585
|
-
const sub = actionItemToSubItem(cur);
|
|
586
|
-
const dropdown = {
|
|
587
|
-
id: crypto.randomUUID(),
|
|
588
|
-
groupId: cur.groupId,
|
|
589
|
-
title: emptyLocale(),
|
|
590
|
-
items: [sub]
|
|
591
|
-
};
|
|
592
|
-
w.items = w.items.map((it, i) => i === idx ? dropdown : it);
|
|
593
|
-
commit(w);
|
|
594
|
-
selected.value = { kind: "item", id: dropdown.id };
|
|
595
|
-
}
|
|
596
|
-
function resolveSelection() {
|
|
597
|
-
const s = selected.value;
|
|
598
|
-
if (!s || s.kind === "general") return;
|
|
599
|
-
if (s.kind === "group" && findGroup(s.id)) return;
|
|
600
|
-
if (s.kind === "item" && findItem(s.id)) return;
|
|
601
|
-
if (s.kind === "sub" && findSub(s.id)) return;
|
|
602
|
-
selected.value = { kind: "general" };
|
|
603
|
-
}
|
|
604
|
-
function deleteGroup(groupId) {
|
|
605
|
-
const w = snapshot();
|
|
606
|
-
w.items = w.items.filter((it) => it.groupId !== groupId);
|
|
607
|
-
w.groups = w.groups.filter((g) => g.id !== groupId);
|
|
608
|
-
commit(w);
|
|
609
|
-
resolveSelection();
|
|
610
|
-
}
|
|
611
|
-
function deleteItem(itemId) {
|
|
612
|
-
const w = snapshot();
|
|
613
|
-
w.items = w.items.filter((it) => it.id !== itemId);
|
|
614
|
-
pruneEmptyGroups(w);
|
|
615
|
-
commit(w);
|
|
616
|
-
resolveSelection();
|
|
617
|
-
}
|
|
618
|
-
function deleteSub(subId) {
|
|
619
|
-
const w = snapshot();
|
|
620
|
-
w.items = w.items.map((it) => {
|
|
621
|
-
if (!isDropdownItem(it)) return it;
|
|
622
|
-
if (!it.items.some((s) => s.id === subId)) return it;
|
|
623
|
-
return { ...it, items: it.items.filter((s) => s.id !== subId) };
|
|
624
|
-
});
|
|
625
|
-
pruneEmptyDropdowns(w);
|
|
626
|
-
pruneEmptyGroups(w);
|
|
627
|
-
commit(w);
|
|
628
|
-
resolveSelection();
|
|
629
|
-
}
|
|
630
|
-
function isKnownSourceKind(k) {
|
|
631
|
-
return k === GROUP_DRAG_KIND || k === ITEM_DRAG_KIND || k === SUBITEM_DRAG_KIND;
|
|
632
|
-
}
|
|
633
|
-
function onRowDrop({ source, target, instruction }) {
|
|
634
|
-
if (!isKnownSourceKind(source.kind)) return;
|
|
635
|
-
if (target.kind === "group") {
|
|
636
|
-
if (source.kind !== GROUP_DRAG_KIND) return;
|
|
637
|
-
if (instruction === "reorder-above" || instruction === "reorder-below") {
|
|
638
|
-
dropGroupOnGroup(source.id, target.id, instruction);
|
|
639
|
-
}
|
|
640
|
-
return;
|
|
641
|
-
}
|
|
642
|
-
if (target.kind === "item") {
|
|
643
|
-
if (source.kind === GROUP_DRAG_KIND) return;
|
|
644
|
-
if (instruction === "make-child") {
|
|
645
|
-
dropAsChild(source.kind, source.id, target.id);
|
|
646
|
-
} else if (instruction === "reorder-above" || instruction === "reorder-below") {
|
|
647
|
-
dropAtTopLevel(source.kind, source.id, target.id, instruction);
|
|
648
|
-
}
|
|
649
|
-
return;
|
|
650
|
-
}
|
|
651
|
-
if (target.kind === "sub") {
|
|
652
|
-
if (source.kind === GROUP_DRAG_KIND) return;
|
|
653
|
-
if (instruction === "reorder-above" || instruction === "reorder-below") {
|
|
654
|
-
dropAtSub(source.kind, source.id, target.id, instruction);
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
function onZoneDrop({ source, data }) {
|
|
659
|
-
if (!isKnownSourceKind(source.kind) || source.kind === GROUP_DRAG_KIND) return;
|
|
660
|
-
const insertIndex = data.insertIndex;
|
|
661
|
-
if (typeof insertIndex !== "number") return;
|
|
662
|
-
promoteToNewGroup(source.kind, source.id, insertIndex);
|
|
663
|
-
}
|
|
664
|
-
const dnd = useTreeDnd({ onRowDrop, onZoneDrop });
|
|
665
|
-
const pickDragHandle = (el) => el.querySelector(".drag-handle");
|
|
666
|
-
function groupRowConfig(groupId) {
|
|
667
|
-
return {
|
|
668
|
-
kind: GROUP_DRAG_KIND,
|
|
669
|
-
canDrop: (src) => src.kind === GROUP_DRAG_KIND,
|
|
670
|
-
blockInstructions: (src) => {
|
|
671
|
-
const block = ["make-child", "reparent"];
|
|
672
|
-
if (src.id === groupId) block.push("reorder-above", "reorder-below");
|
|
673
|
-
return block;
|
|
674
|
-
},
|
|
675
|
-
dragHandle: pickDragHandle
|
|
676
|
-
};
|
|
677
|
-
}
|
|
678
|
-
function itemRowConfig(itemId, groupId, isDropdown) {
|
|
679
|
-
return {
|
|
680
|
-
kind: ITEM_DRAG_KIND,
|
|
681
|
-
data: { groupId },
|
|
682
|
-
canDrop: (src) => {
|
|
683
|
-
if (src.kind === GROUP_DRAG_KIND) return false;
|
|
684
|
-
if (src.id === itemId) return false;
|
|
685
|
-
if (!isDropdown) return true;
|
|
686
|
-
if (src.kind === SUBITEM_DRAG_KIND) {
|
|
687
|
-
const parent = findParentDropdownOfSub(editingItems.value, src.id);
|
|
688
|
-
if (parent?.id === itemId) return false;
|
|
689
|
-
}
|
|
690
|
-
return true;
|
|
691
|
-
},
|
|
692
|
-
blockInstructions: (src) => {
|
|
693
|
-
const block = ["reparent"];
|
|
694
|
-
if (src.id === itemId) {
|
|
695
|
-
block.push("reorder-above", "reorder-below", "make-child");
|
|
696
|
-
return block;
|
|
697
|
-
}
|
|
698
|
-
if (!isDropdown) {
|
|
699
|
-
block.push("make-child");
|
|
700
|
-
return block;
|
|
701
|
-
}
|
|
702
|
-
block.push("reorder-above");
|
|
703
|
-
if (isSourceDropdown(src)) block.push("make-child");
|
|
704
|
-
return block;
|
|
705
|
-
},
|
|
706
|
-
resolveInstruction: isDropdown ? ({ input, element }) => {
|
|
707
|
-
const rect = element.getBoundingClientRect();
|
|
708
|
-
const relY = input.clientY - rect.top;
|
|
709
|
-
return relY < rect.height / 2 ? "make-child" : "reorder-below";
|
|
710
|
-
} : void 0,
|
|
711
|
-
dragHandle: pickDragHandle
|
|
712
|
-
};
|
|
713
|
-
}
|
|
714
|
-
function subRowConfig(subId, parentDropdownId) {
|
|
715
|
-
return {
|
|
716
|
-
kind: SUBITEM_DRAG_KIND,
|
|
717
|
-
data: { parentDropdownId },
|
|
718
|
-
canDrop: (src) => src.kind !== GROUP_DRAG_KIND && !isSourceDropdown(src),
|
|
719
|
-
blockInstructions: (src) => {
|
|
720
|
-
const block = ["make-child", "reparent"];
|
|
721
|
-
if (src.id === subId) {
|
|
722
|
-
block.push("reorder-above", "reorder-below");
|
|
723
|
-
return block;
|
|
724
|
-
}
|
|
725
|
-
if (src.kind === SUBITEM_DRAG_KIND) {
|
|
726
|
-
const parent = findParentDropdownOfSub(editingItems.value, src.id);
|
|
727
|
-
if (parent?.id === parentDropdownId) return block;
|
|
728
|
-
}
|
|
729
|
-
block.push("reorder-above", "reorder-below");
|
|
730
|
-
return block;
|
|
731
|
-
},
|
|
732
|
-
dragHandle: pickDragHandle
|
|
733
|
-
};
|
|
734
|
-
}
|
|
735
|
-
const newGroupZoneConfig = (insertIndex) => ({
|
|
736
|
-
data: { insertIndex },
|
|
737
|
-
canDrop: (src) => src.kind === ITEM_DRAG_KIND || src.kind === SUBITEM_DRAG_KIND
|
|
738
|
-
});
|
|
739
|
-
const newGroupZoneId = (insertIndex) => `new-group-${insertIndex}`;
|
|
740
|
-
</script>
|
|
741
|
-
|
|
742
|
-
<template>
|
|
743
|
-
<div class="flex flex-col">
|
|
744
|
-
<div class="flex min-h-128 gap-6">
|
|
745
|
-
<!-- Sidebar: teleported into the outer host's left column when one is
|
|
746
|
-
provided (flattens nested sidebars while drilled through e.g.
|
|
747
|
-
modal-layout → form → actions field); otherwise renders inline
|
|
748
|
-
next to the main pane. `:disabled` keeps both modes from a single
|
|
749
|
-
source so DnD refs and reactivity stay intact.
|
|
750
|
-
|
|
751
|
-
While a drillable button (e.g. modal-layout) has drilled into one
|
|
752
|
-
of its child blocks, the child owns the entire pane — we drop our
|
|
753
|
-
column entirely so neither an empty teleport-target div nor the
|
|
754
|
-
288px wrapper leaks through as an empty left sidebar. -->
|
|
755
|
-
<Teleport
|
|
756
|
-
v-if="!drilledByAction"
|
|
757
|
-
:to="outerTakeoverTarget"
|
|
758
|
-
:disabled="!outerTakeoverTarget"
|
|
759
|
-
>
|
|
760
|
-
<div
|
|
761
|
-
:class="outerTakeoverTarget ? 'flex flex-1 flex-col gap-2 min-h-0' : 'flex gap-2 w-72 shrink-0 flex-col'"
|
|
762
|
-
>
|
|
763
|
-
<div
|
|
764
|
-
v-if="selectedDrillableAction"
|
|
765
|
-
ref="sidebarTakeoverTarget"
|
|
766
|
-
class="flex flex-1 flex-col min-h-0"
|
|
767
|
-
/>
|
|
768
|
-
<template v-else>
|
|
769
|
-
<ScrollArea class="flex-1">
|
|
770
|
-
<div
|
|
771
|
-
class="row general-row pl-2"
|
|
772
|
-
:class="[
|
|
773
|
-
selected?.kind === 'general' ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-600 hover:bg-zinc-50'
|
|
774
|
-
]"
|
|
775
|
-
@click.stop="selectGeneral()"
|
|
776
|
-
>
|
|
777
|
-
<Icon
|
|
778
|
-
icon="fluent:settings-20-regular"
|
|
779
|
-
class="size-4 shrink-0"
|
|
780
|
-
/>
|
|
781
|
-
<span class="flex-1 truncate">通用</span>
|
|
782
|
-
</div>
|
|
783
|
-
|
|
784
|
-
<div
|
|
785
|
-
:ref="dnd.zoneRef(newGroupZoneId(0), newGroupZoneConfig(0))"
|
|
786
|
-
class="new-group-zone"
|
|
787
|
-
:data-active="dnd.isZoneActive(newGroupZoneId(0)) ? 'true' : void 0"
|
|
788
|
-
>
|
|
789
|
-
<span class="new-group-zone-label">+ 新按钮组</span>
|
|
790
|
-
</div>
|
|
791
|
-
|
|
792
|
-
<template
|
|
793
|
-
v-for="group in editingGroups"
|
|
794
|
-
:key="group.id"
|
|
795
|
-
>
|
|
796
|
-
<div class="space-y-1">
|
|
797
|
-
<div
|
|
798
|
-
:ref="dnd.rowRef(group.id, groupRowConfig(group.id))"
|
|
799
|
-
class="row group group-row pl-2"
|
|
800
|
-
:class="[
|
|
801
|
-
selected?.kind === 'group' && selected.id === group.id ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : ''
|
|
802
|
-
]"
|
|
803
|
-
:data-instruction="dnd.instructionFor(group.id) ?? void 0"
|
|
804
|
-
@click.stop="selectGroup(group.id)"
|
|
805
|
-
>
|
|
806
|
-
<Icon
|
|
807
|
-
icon="fluent:re-order-dots-vertical-20-regular"
|
|
808
|
-
class="drag-handle size-4 shrink-0 cursor-grab text-zinc-400"
|
|
809
|
-
/>
|
|
810
|
-
<span class="flex-1 truncate">
|
|
811
|
-
{{ composeGroupLabel(group.id) }}
|
|
812
|
-
</span>
|
|
813
|
-
<Tooltip :delay-duration="180">
|
|
814
|
-
<TooltipTrigger as-child>
|
|
815
|
-
<button
|
|
816
|
-
class="shrink-0 text-zinc-300 opacity-0 transition-opacity hover:text-red-500 group-hover:opacity-100"
|
|
817
|
-
@click.stop="deleteGroup(group.id)"
|
|
818
|
-
>
|
|
819
|
-
<Icon
|
|
820
|
-
icon="fluent:delete-20-regular"
|
|
821
|
-
class="size-3.5"
|
|
822
|
-
/>
|
|
823
|
-
</button>
|
|
824
|
-
</TooltipTrigger>
|
|
825
|
-
<TooltipContent side="right">
|
|
826
|
-
删除该按钮组及其所有按钮
|
|
827
|
-
</TooltipContent>
|
|
828
|
-
</Tooltip>
|
|
829
|
-
</div>
|
|
830
|
-
|
|
831
|
-
<div
|
|
832
|
-
v-for="item in itemsOfGroup(group.id)"
|
|
833
|
-
:key="item.id"
|
|
834
|
-
:ref="dnd.rowRef(item.id, itemRowConfig(item.id, item.groupId, isDropdownItem(item)))"
|
|
835
|
-
class="item-wrap space-y-1"
|
|
836
|
-
:class="{ 'dropdown-wrap': isDropdownItem(item) }"
|
|
837
|
-
:data-instruction="dnd.instructionFor(item.id) ?? void 0"
|
|
838
|
-
>
|
|
839
|
-
<div
|
|
840
|
-
class="row group item-row pl-5"
|
|
841
|
-
:class="[
|
|
842
|
-
selected?.kind === 'item' && selected.id === item.id ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-600 hover:bg-zinc-50'
|
|
843
|
-
]"
|
|
844
|
-
@click.stop="selectItem(item.id)"
|
|
845
|
-
>
|
|
846
|
-
<Icon
|
|
847
|
-
icon="fluent:re-order-dots-vertical-20-regular"
|
|
848
|
-
class="drag-handle size-4 shrink-0 cursor-grab text-zinc-300"
|
|
849
|
-
/>
|
|
850
|
-
<Icon
|
|
851
|
-
v-if="item.icon"
|
|
852
|
-
:icon="item.icon"
|
|
853
|
-
class="size-4 shrink-0"
|
|
854
|
-
/>
|
|
855
|
-
<span class="flex-1 truncate">{{ itemLabel(item) }}</span>
|
|
856
|
-
<Tooltip
|
|
857
|
-
v-if="!isDropdownItem(item)"
|
|
858
|
-
:delay-duration="180"
|
|
859
|
-
>
|
|
860
|
-
<TooltipTrigger as-child>
|
|
861
|
-
<button
|
|
862
|
-
class="shrink-0 text-zinc-300 opacity-0 transition-opacity hover:text-zinc-600 group-hover:opacity-100"
|
|
863
|
-
@click.stop="wrapActionItemInDropdown(item.id)"
|
|
864
|
-
>
|
|
865
|
-
<Icon
|
|
866
|
-
icon="fluent:folder-add-20-regular"
|
|
867
|
-
class="size-3.5"
|
|
868
|
-
/>
|
|
869
|
-
</button>
|
|
870
|
-
</TooltipTrigger>
|
|
871
|
-
<TooltipContent side="right">
|
|
872
|
-
将该按钮包裹为下拉按钮,之后可添加更多下拉项
|
|
873
|
-
</TooltipContent>
|
|
874
|
-
</Tooltip>
|
|
875
|
-
<Tooltip :delay-duration="180">
|
|
876
|
-
<TooltipTrigger as-child>
|
|
877
|
-
<button
|
|
878
|
-
class="shrink-0 text-zinc-300 opacity-0 transition-opacity hover:text-red-500 group-hover:opacity-100"
|
|
879
|
-
@click.stop="deleteItem(item.id)"
|
|
880
|
-
>
|
|
881
|
-
<Icon
|
|
882
|
-
icon="fluent:delete-20-regular"
|
|
883
|
-
class="size-3.5"
|
|
884
|
-
/>
|
|
885
|
-
</button>
|
|
886
|
-
</TooltipTrigger>
|
|
887
|
-
<TooltipContent side="right">
|
|
888
|
-
{{ isDropdownItem(item) ? "\u5220\u9664\u8BE5\u4E0B\u62C9\u6309\u94AE\u53CA\u5176\u6240\u6709\u4E0B\u62C9\u9879" : "\u5220\u9664\u8BE5\u6309\u94AE" }}
|
|
889
|
-
</TooltipContent>
|
|
890
|
-
</Tooltip>
|
|
891
|
-
</div>
|
|
892
|
-
|
|
893
|
-
<template v-if="isDropdownItem(item)">
|
|
894
|
-
<div
|
|
895
|
-
v-for="sub in item.items"
|
|
896
|
-
:key="sub.id"
|
|
897
|
-
:ref="dnd.rowRef(sub.id, subRowConfig(sub.id, item.id))"
|
|
898
|
-
class="row group sub-item-row pl-10"
|
|
899
|
-
:class="[
|
|
900
|
-
selected?.kind === 'sub' && selected.id === sub.id ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-500 hover:bg-zinc-50'
|
|
901
|
-
]"
|
|
902
|
-
:data-instruction="dnd.instructionFor(sub.id) ?? void 0"
|
|
903
|
-
@click.stop="selectSub(sub.id)"
|
|
904
|
-
>
|
|
905
|
-
<Icon
|
|
906
|
-
icon="fluent:re-order-dots-vertical-20-regular"
|
|
907
|
-
class="drag-handle size-4 shrink-0 cursor-grab text-zinc-300"
|
|
908
|
-
/>
|
|
909
|
-
<Icon
|
|
910
|
-
v-if="sub.icon"
|
|
911
|
-
:icon="sub.icon"
|
|
912
|
-
class="size-4 shrink-0"
|
|
913
|
-
/>
|
|
914
|
-
<span class="flex-1 truncate">{{ subLabel(sub) }}</span>
|
|
915
|
-
<Tooltip :delay-duration="180">
|
|
916
|
-
<TooltipTrigger as-child>
|
|
917
|
-
<button
|
|
918
|
-
class="shrink-0 text-zinc-300 opacity-0 transition-opacity hover:text-red-500 group-hover:opacity-100"
|
|
919
|
-
@click.stop="deleteSub(sub.id)"
|
|
920
|
-
>
|
|
921
|
-
<Icon
|
|
922
|
-
icon="fluent:delete-20-regular"
|
|
923
|
-
class="size-3.5"
|
|
924
|
-
/>
|
|
925
|
-
</button>
|
|
926
|
-
</TooltipTrigger>
|
|
927
|
-
<TooltipContent side="right">
|
|
928
|
-
从下拉菜单中移除该按钮
|
|
929
|
-
</TooltipContent>
|
|
930
|
-
</Tooltip>
|
|
931
|
-
</div>
|
|
932
|
-
</template>
|
|
933
|
-
</div>
|
|
934
|
-
</div>
|
|
935
|
-
</template>
|
|
936
|
-
|
|
937
|
-
<div
|
|
938
|
-
:ref="dnd.zoneRef(newGroupZoneId(editingGroups.length), newGroupZoneConfig(editingGroups.length))"
|
|
939
|
-
class="new-group-zone"
|
|
940
|
-
:data-active="dnd.isZoneActive(newGroupZoneId(editingGroups.length)) ? 'true' : void 0"
|
|
941
|
-
>
|
|
942
|
-
<span class="new-group-zone-label">+ 新按钮组</span>
|
|
943
|
-
</div>
|
|
944
|
-
</ScrollArea>
|
|
945
|
-
|
|
946
|
-
<div class="border-t border-zinc-100 p-2">
|
|
947
|
-
<InputGroup>
|
|
948
|
-
<InputGroupAddon align="inline-start">
|
|
949
|
-
<Icon icon="fluent:add-20-regular" />
|
|
950
|
-
</InputGroupAddon>
|
|
951
|
-
<InputGroupCombobox>
|
|
952
|
-
<CommandGroup>
|
|
953
|
-
<CommandItem
|
|
954
|
-
v-for="entry in ACTION_PICKER_ENTRIES"
|
|
955
|
-
:key="entry.type"
|
|
956
|
-
:value="entry.type"
|
|
957
|
-
@select="addButton(entry.type, entry.compatibilityDate)"
|
|
958
|
-
>
|
|
959
|
-
<Icon
|
|
960
|
-
:icon="entry.icon"
|
|
961
|
-
class="size-4 shrink-0"
|
|
962
|
-
/>
|
|
963
|
-
<span class="flex-1">{{ entry.name }}</span>
|
|
964
|
-
<span class="ml-auto text-xs tabular-nums text-zinc-400">{{ entry.compatibilityDate }}</span>
|
|
965
|
-
</CommandItem>
|
|
966
|
-
</CommandGroup>
|
|
967
|
-
</InputGroupCombobox>
|
|
968
|
-
</InputGroup>
|
|
969
|
-
</div>
|
|
970
|
-
</template>
|
|
971
|
-
</div>
|
|
972
|
-
</Teleport>
|
|
973
|
-
|
|
974
|
-
<div class="flex flex-1 flex-col">
|
|
975
|
-
<ScrollArea class="flex-1">
|
|
976
|
-
<div
|
|
977
|
-
v-if="!hasSelection"
|
|
978
|
-
class="flex min-h-112 items-center justify-center p-8 text-sm text-zinc-400"
|
|
979
|
-
>
|
|
980
|
-
选择一项以编辑
|
|
981
|
-
</div>
|
|
982
|
-
|
|
983
|
-
<div
|
|
984
|
-
v-else-if="selectedGeneral"
|
|
985
|
-
class="flex flex-col gap-4 p-6"
|
|
986
|
-
>
|
|
987
|
-
<slot name="general-extra" />
|
|
988
|
-
|
|
989
|
-
<div class="grid grid-cols-2 gap-4">
|
|
990
|
-
<Field orientation="vertical">
|
|
991
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
992
|
-
<template
|
|
993
|
-
v-if="generalFieldDescription('size')"
|
|
994
|
-
#tooltip
|
|
995
|
-
>
|
|
996
|
-
<Markdown
|
|
997
|
-
:source="generalFieldDescription('size')"
|
|
998
|
-
block
|
|
999
|
-
class="prose prose-sm prose-zinc"
|
|
1000
|
-
/>
|
|
1001
|
-
</template>
|
|
1002
|
-
{{ generalFieldTitle("size") }}
|
|
1003
|
-
</FieldLabel>
|
|
1004
|
-
<Select
|
|
1005
|
-
:model-value="editingSize"
|
|
1006
|
-
@update:model-value="(v) => editingSize = v"
|
|
1007
|
-
>
|
|
1008
|
-
<SelectTrigger class="w-full">
|
|
1009
|
-
<SelectValue />
|
|
1010
|
-
</SelectTrigger>
|
|
1011
|
-
<SelectContent>
|
|
1012
|
-
<SelectItem
|
|
1013
|
-
v-for="opt in SIZE_OPTIONS"
|
|
1014
|
-
:key="opt.value"
|
|
1015
|
-
:value="opt.value"
|
|
1016
|
-
>
|
|
1017
|
-
{{ opt.label }}
|
|
1018
|
-
</SelectItem>
|
|
1019
|
-
</SelectContent>
|
|
1020
|
-
</Select>
|
|
1021
|
-
</Field>
|
|
1022
|
-
|
|
1023
|
-
<Field orientation="vertical">
|
|
1024
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1025
|
-
<template
|
|
1026
|
-
v-if="generalFieldDescription('gap')"
|
|
1027
|
-
#tooltip
|
|
1028
|
-
>
|
|
1029
|
-
<Markdown
|
|
1030
|
-
:source="generalFieldDescription('gap')"
|
|
1031
|
-
block
|
|
1032
|
-
class="prose prose-sm prose-zinc"
|
|
1033
|
-
/>
|
|
1034
|
-
</template>
|
|
1035
|
-
{{ generalFieldTitle("gap") }}
|
|
1036
|
-
</FieldLabel>
|
|
1037
|
-
<InputGroup>
|
|
1038
|
-
<InputGroupNumberField
|
|
1039
|
-
:model-value="editingGap"
|
|
1040
|
-
:min="0"
|
|
1041
|
-
@update:model-value="(v) => editingGap = v"
|
|
1042
|
-
/>
|
|
1043
|
-
</InputGroup>
|
|
1044
|
-
</Field>
|
|
1045
|
-
</div>
|
|
1046
|
-
|
|
1047
|
-
<Field orientation="vertical">
|
|
1048
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1049
|
-
<template
|
|
1050
|
-
v-if="generalFieldDescription('style')"
|
|
1051
|
-
#tooltip
|
|
1052
|
-
>
|
|
1053
|
-
<Markdown
|
|
1054
|
-
:source="generalFieldDescription('style')"
|
|
1055
|
-
block
|
|
1056
|
-
class="prose prose-sm prose-zinc"
|
|
1057
|
-
/>
|
|
1058
|
-
</template>
|
|
1059
|
-
{{ generalFieldTitle("style") }}
|
|
1060
|
-
</FieldLabel>
|
|
1061
|
-
<Textarea
|
|
1062
|
-
:model-value="editingStyle"
|
|
1063
|
-
placeholder="CSS 样式字符串"
|
|
1064
|
-
class="min-h-20 font-mono text-xs"
|
|
1065
|
-
@update:model-value="(v) => editingStyle = String(v)"
|
|
1066
|
-
/>
|
|
1067
|
-
</Field>
|
|
1068
|
-
</div>
|
|
1069
|
-
|
|
1070
|
-
<div
|
|
1071
|
-
v-else-if="selectedGroup"
|
|
1072
|
-
class="flex flex-col gap-4 p-6"
|
|
1073
|
-
>
|
|
1074
|
-
<Field orientation="vertical">
|
|
1075
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1076
|
-
<template
|
|
1077
|
-
v-if="groupFieldDescription('variant')"
|
|
1078
|
-
#tooltip
|
|
1079
|
-
>
|
|
1080
|
-
<Markdown
|
|
1081
|
-
:source="groupFieldDescription('variant')"
|
|
1082
|
-
block
|
|
1083
|
-
class="prose prose-sm prose-zinc"
|
|
1084
|
-
/>
|
|
1085
|
-
</template>
|
|
1086
|
-
{{ groupFieldTitle("variant") }}
|
|
1087
|
-
</FieldLabel>
|
|
1088
|
-
<Select
|
|
1089
|
-
:model-value="selectedGroup.variant ?? 'default'"
|
|
1090
|
-
@update:model-value="(v) => patchSelectedGroup((g) => {
|
|
1091
|
-
g.variant = v;
|
|
1092
|
-
})"
|
|
1093
|
-
>
|
|
1094
|
-
<SelectTrigger class="w-full">
|
|
1095
|
-
<SelectValue />
|
|
1096
|
-
</SelectTrigger>
|
|
1097
|
-
<SelectContent>
|
|
1098
|
-
<SelectItem
|
|
1099
|
-
v-for="opt in VARIANT_OPTIONS"
|
|
1100
|
-
:key="opt.value"
|
|
1101
|
-
:value="opt.value"
|
|
1102
|
-
>
|
|
1103
|
-
{{ opt.label }}
|
|
1104
|
-
</SelectItem>
|
|
1105
|
-
</SelectContent>
|
|
1106
|
-
</Select>
|
|
1107
|
-
</Field>
|
|
1108
|
-
</div>
|
|
1109
|
-
|
|
1110
|
-
<div
|
|
1111
|
-
v-else-if="selectedDropdownItem"
|
|
1112
|
-
class="flex flex-col gap-4 p-6"
|
|
1113
|
-
>
|
|
1114
|
-
<Field orientation="vertical">
|
|
1115
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1116
|
-
<template
|
|
1117
|
-
v-if="dropdownItemFieldDescription('title')"
|
|
1118
|
-
#tooltip
|
|
1119
|
-
>
|
|
1120
|
-
<Markdown
|
|
1121
|
-
:source="dropdownItemFieldDescription('title')"
|
|
1122
|
-
block
|
|
1123
|
-
class="prose prose-sm prose-zinc"
|
|
1124
|
-
/>
|
|
1125
|
-
</template>
|
|
1126
|
-
{{ dropdownItemFieldTitle("title") }}
|
|
1127
|
-
</FieldLabel>
|
|
1128
|
-
<LocaleField
|
|
1129
|
-
:model-value="selectedDropdownItem.title"
|
|
1130
|
-
@update:model-value="(v) => patchSelectedDropdownItem((it) => {
|
|
1131
|
-
it.title = v;
|
|
1132
|
-
})"
|
|
1133
|
-
/>
|
|
1134
|
-
</Field>
|
|
1135
|
-
|
|
1136
|
-
<Field orientation="vertical">
|
|
1137
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1138
|
-
<template
|
|
1139
|
-
v-if="dropdownItemFieldDescription('icon')"
|
|
1140
|
-
#tooltip
|
|
1141
|
-
>
|
|
1142
|
-
<Markdown
|
|
1143
|
-
:source="dropdownItemFieldDescription('icon')"
|
|
1144
|
-
block
|
|
1145
|
-
class="prose prose-sm prose-zinc"
|
|
1146
|
-
/>
|
|
1147
|
-
</template>
|
|
1148
|
-
{{ dropdownItemFieldTitle("icon") }}
|
|
1149
|
-
</FieldLabel>
|
|
1150
|
-
<IconPicker
|
|
1151
|
-
:model-value="selectedDropdownItem.icon ?? ''"
|
|
1152
|
-
@update:model-value="(v) => patchSelectedDropdownItem((it) => setOptionalString(it, 'icon', v))"
|
|
1153
|
-
/>
|
|
1154
|
-
</Field>
|
|
1155
|
-
|
|
1156
|
-
<p class="text-xs text-zinc-400">
|
|
1157
|
-
下拉按钮的下拉项以独立行的形式编辑,选中任意下拉项即可修改其属性。
|
|
1158
|
-
</p>
|
|
1159
|
-
</div>
|
|
1160
|
-
|
|
1161
|
-
<div
|
|
1162
|
-
v-else-if="selectedActionItem"
|
|
1163
|
-
:class="drilledByAction && isDrillableAction(selectedActionItem.action) ? 'flex flex-col' : 'flex flex-col gap-4 p-6'"
|
|
1164
|
-
>
|
|
1165
|
-
<template v-if="!(drilledByAction && isDrillableAction(selectedActionItem.action))">
|
|
1166
|
-
<div class="grid grid-cols-2 gap-4">
|
|
1167
|
-
<Field orientation="vertical">
|
|
1168
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1169
|
-
<template
|
|
1170
|
-
v-if="itemFieldDescription('title')"
|
|
1171
|
-
#tooltip
|
|
1172
|
-
>
|
|
1173
|
-
<Markdown
|
|
1174
|
-
:source="itemFieldDescription('title')"
|
|
1175
|
-
block
|
|
1176
|
-
class="prose prose-sm prose-zinc"
|
|
1177
|
-
/>
|
|
1178
|
-
</template>
|
|
1179
|
-
{{ itemFieldTitle("title") }}
|
|
1180
|
-
</FieldLabel>
|
|
1181
|
-
<LocaleField
|
|
1182
|
-
:model-value="selectedActionItem.title"
|
|
1183
|
-
@update:model-value="(v) => patchSelectedActionItem((it) => {
|
|
1184
|
-
it.title = v;
|
|
1185
|
-
})"
|
|
1186
|
-
/>
|
|
1187
|
-
</Field>
|
|
1188
|
-
|
|
1189
|
-
<Field orientation="vertical">
|
|
1190
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1191
|
-
<template
|
|
1192
|
-
v-if="itemFieldDescription('tooltip')"
|
|
1193
|
-
#tooltip
|
|
1194
|
-
>
|
|
1195
|
-
<Markdown
|
|
1196
|
-
:source="itemFieldDescription('tooltip')"
|
|
1197
|
-
block
|
|
1198
|
-
class="prose prose-sm prose-zinc"
|
|
1199
|
-
/>
|
|
1200
|
-
</template>
|
|
1201
|
-
{{ itemFieldTitle("tooltip") }}
|
|
1202
|
-
</FieldLabel>
|
|
1203
|
-
<LocaleField
|
|
1204
|
-
markdown
|
|
1205
|
-
:model-value="selectedActionItem.tooltip ?? emptyLocale()"
|
|
1206
|
-
@update:model-value="(v) => patchSelectedActionItem((it) => setOptionalLocale(it, 'tooltip', v))"
|
|
1207
|
-
/>
|
|
1208
|
-
</Field>
|
|
1209
|
-
</div>
|
|
1210
|
-
|
|
1211
|
-
<div class="grid grid-cols-2 gap-4">
|
|
1212
|
-
<Field orientation="vertical">
|
|
1213
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1214
|
-
<template
|
|
1215
|
-
v-if="itemFieldDescription('hidden')"
|
|
1216
|
-
#tooltip
|
|
1217
|
-
>
|
|
1218
|
-
<Markdown
|
|
1219
|
-
:source="itemFieldDescription('hidden')"
|
|
1220
|
-
block
|
|
1221
|
-
class="prose prose-sm prose-zinc"
|
|
1222
|
-
/>
|
|
1223
|
-
</template>
|
|
1224
|
-
{{ itemFieldTitle("hidden") }}
|
|
1225
|
-
</FieldLabel>
|
|
1226
|
-
<ExpressionEditor
|
|
1227
|
-
:model-value="selectedActionItem.hidden ?? ''"
|
|
1228
|
-
placeholder="CEL 表达式,返回 true 时隐藏"
|
|
1229
|
-
result-type="bool"
|
|
1230
|
-
class="min-h-10"
|
|
1231
|
-
@update:model-value="(v) => patchSelectedActionItem((it) => setOptionalString(it, 'hidden', v))"
|
|
1232
|
-
/>
|
|
1233
|
-
</Field>
|
|
1234
|
-
|
|
1235
|
-
<Field orientation="vertical">
|
|
1236
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1237
|
-
<template
|
|
1238
|
-
v-if="itemFieldDescription('disabled')"
|
|
1239
|
-
#tooltip
|
|
1240
|
-
>
|
|
1241
|
-
<Markdown
|
|
1242
|
-
:source="itemFieldDescription('disabled')"
|
|
1243
|
-
block
|
|
1244
|
-
class="prose prose-sm prose-zinc"
|
|
1245
|
-
/>
|
|
1246
|
-
</template>
|
|
1247
|
-
{{ itemFieldTitle("disabled") }}
|
|
1248
|
-
</FieldLabel>
|
|
1249
|
-
<ExpressionEditor
|
|
1250
|
-
:model-value="selectedActionItem.disabled ?? ''"
|
|
1251
|
-
placeholder="CEL 表达式,返回 true 时禁用"
|
|
1252
|
-
result-type="bool"
|
|
1253
|
-
class="min-h-10"
|
|
1254
|
-
@update:model-value="(v) => patchSelectedActionItem((it) => setOptionalString(it, 'disabled', v))"
|
|
1255
|
-
/>
|
|
1256
|
-
</Field>
|
|
1257
|
-
</div>
|
|
1258
|
-
|
|
1259
|
-
<div class="flex items-end gap-4">
|
|
1260
|
-
<Field
|
|
1261
|
-
orientation="vertical"
|
|
1262
|
-
class="w-1/2"
|
|
1263
|
-
>
|
|
1264
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1265
|
-
<template
|
|
1266
|
-
v-if="itemFieldDescription('variant')"
|
|
1267
|
-
#tooltip
|
|
1268
|
-
>
|
|
1269
|
-
<Markdown
|
|
1270
|
-
:source="itemFieldDescription('variant')"
|
|
1271
|
-
block
|
|
1272
|
-
class="prose prose-sm prose-zinc"
|
|
1273
|
-
/>
|
|
1274
|
-
</template>
|
|
1275
|
-
{{ itemFieldTitle("variant") }}
|
|
1276
|
-
</FieldLabel>
|
|
1277
|
-
<Select
|
|
1278
|
-
:model-value="selectedActionItem.variant ?? 'default'"
|
|
1279
|
-
@update:model-value="(v) => patchSelectedActionItem((it) => {
|
|
1280
|
-
it.variant = v;
|
|
1281
|
-
})"
|
|
1282
|
-
>
|
|
1283
|
-
<SelectTrigger class="w-full">
|
|
1284
|
-
<SelectValue />
|
|
1285
|
-
</SelectTrigger>
|
|
1286
|
-
<SelectContent>
|
|
1287
|
-
<SelectItem
|
|
1288
|
-
v-for="opt in VARIANT_OPTIONS"
|
|
1289
|
-
:key="opt.value"
|
|
1290
|
-
:value="opt.value"
|
|
1291
|
-
>
|
|
1292
|
-
{{ opt.label }}
|
|
1293
|
-
</SelectItem>
|
|
1294
|
-
</SelectContent>
|
|
1295
|
-
</Select>
|
|
1296
|
-
</Field>
|
|
1297
|
-
<div class="flex w-1/2 items-end gap-4">
|
|
1298
|
-
<Field
|
|
1299
|
-
orientation="vertical"
|
|
1300
|
-
class="flex-1"
|
|
1301
|
-
>
|
|
1302
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1303
|
-
<template
|
|
1304
|
-
v-if="itemFieldDescription('icon')"
|
|
1305
|
-
#tooltip
|
|
1306
|
-
>
|
|
1307
|
-
<Markdown
|
|
1308
|
-
:source="itemFieldDescription('icon')"
|
|
1309
|
-
block
|
|
1310
|
-
class="prose prose-sm prose-zinc"
|
|
1311
|
-
/>
|
|
1312
|
-
</template>
|
|
1313
|
-
{{ itemFieldTitle("icon") }}
|
|
1314
|
-
</FieldLabel>
|
|
1315
|
-
<IconPicker
|
|
1316
|
-
:model-value="selectedActionItem.icon ?? ''"
|
|
1317
|
-
@update:model-value="(v) => patchSelectedActionItem((it) => setOptionalString(it, 'icon', v))"
|
|
1318
|
-
/>
|
|
1319
|
-
</Field>
|
|
1320
|
-
<Field
|
|
1321
|
-
orientation="horizontal"
|
|
1322
|
-
class="h-9 w-auto gap-2"
|
|
1323
|
-
>
|
|
1324
|
-
<Switch
|
|
1325
|
-
:model-value="selectedActionItem.hideTitle ?? false"
|
|
1326
|
-
@update:model-value="(v) => patchSelectedActionItem((it) => setOptionalBoolean(it, 'hideTitle', v))"
|
|
1327
|
-
/>
|
|
1328
|
-
<FieldLabel class="text-sm text-zinc-600">
|
|
1329
|
-
<template
|
|
1330
|
-
v-if="itemFieldDescription('hideTitle')"
|
|
1331
|
-
#tooltip
|
|
1332
|
-
>
|
|
1333
|
-
<Markdown
|
|
1334
|
-
:source="itemFieldDescription('hideTitle')"
|
|
1335
|
-
block
|
|
1336
|
-
class="prose prose-sm prose-zinc"
|
|
1337
|
-
/>
|
|
1338
|
-
</template>
|
|
1339
|
-
{{ itemFieldTitle("hideTitle") }}
|
|
1340
|
-
</FieldLabel>
|
|
1341
|
-
</Field>
|
|
1342
|
-
</div>
|
|
1343
|
-
</div>
|
|
1344
|
-
</template>
|
|
1345
|
-
|
|
1346
|
-
<template v-if="selectedActionItem.action">
|
|
1347
|
-
<template v-if="!isDrillableAction(selectedActionItem.action)">
|
|
1348
|
-
<Separator />
|
|
1349
|
-
|
|
1350
|
-
<div class="text-xs text-zinc-400">
|
|
1351
|
-
{{ getButtonMetadataLabel(selectedActionItem.action) }}
|
|
1352
|
-
</div>
|
|
1353
|
-
</template>
|
|
1354
|
-
|
|
1355
|
-
<component
|
|
1356
|
-
:is="getActionConfigComponent(selectedActionItem.action)"
|
|
1357
|
-
v-if="getActionConfigComponent(selectedActionItem.action)"
|
|
1358
|
-
:model-value="selectedActionItem.action"
|
|
1359
|
-
:configure="configure"
|
|
1360
|
-
@update:model-value="(v) => patchSelectedActionItem((it) => {
|
|
1361
|
-
it.action = v;
|
|
1362
|
-
})"
|
|
1363
|
-
/>
|
|
1364
|
-
</template>
|
|
1365
|
-
</div>
|
|
1366
|
-
|
|
1367
|
-
<div
|
|
1368
|
-
v-else-if="selectedSubRef"
|
|
1369
|
-
:class="drilledByAction && isDrillableAction(selectedSubRef.action) ? 'flex flex-col' : 'flex flex-col gap-4 p-6'"
|
|
1370
|
-
>
|
|
1371
|
-
<template v-if="!(drilledByAction && isDrillableAction(selectedSubRef.action))">
|
|
1372
|
-
<div class="grid grid-cols-2 gap-4">
|
|
1373
|
-
<Field orientation="vertical">
|
|
1374
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1375
|
-
<template
|
|
1376
|
-
v-if="subFieldDescription('title')"
|
|
1377
|
-
#tooltip
|
|
1378
|
-
>
|
|
1379
|
-
<Markdown
|
|
1380
|
-
:source="subFieldDescription('title')"
|
|
1381
|
-
block
|
|
1382
|
-
class="prose prose-sm prose-zinc"
|
|
1383
|
-
/>
|
|
1384
|
-
</template>
|
|
1385
|
-
{{ subFieldTitle("title") }}
|
|
1386
|
-
</FieldLabel>
|
|
1387
|
-
<LocaleField
|
|
1388
|
-
:model-value="selectedSubRef.title"
|
|
1389
|
-
@update:model-value="(v) => patchSelectedSub((s) => {
|
|
1390
|
-
s.title = v;
|
|
1391
|
-
})"
|
|
1392
|
-
/>
|
|
1393
|
-
</Field>
|
|
1394
|
-
|
|
1395
|
-
<Field orientation="vertical">
|
|
1396
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1397
|
-
<template
|
|
1398
|
-
v-if="subFieldDescription('tooltip')"
|
|
1399
|
-
#tooltip
|
|
1400
|
-
>
|
|
1401
|
-
<Markdown
|
|
1402
|
-
:source="subFieldDescription('tooltip')"
|
|
1403
|
-
block
|
|
1404
|
-
class="prose prose-sm prose-zinc"
|
|
1405
|
-
/>
|
|
1406
|
-
</template>
|
|
1407
|
-
{{ subFieldTitle("tooltip") }}
|
|
1408
|
-
</FieldLabel>
|
|
1409
|
-
<LocaleField
|
|
1410
|
-
markdown
|
|
1411
|
-
:model-value="selectedSubRef.tooltip ?? emptyLocale()"
|
|
1412
|
-
@update:model-value="(v) => patchSelectedSub((s) => setOptionalLocale(s, 'tooltip', v))"
|
|
1413
|
-
/>
|
|
1414
|
-
</Field>
|
|
1415
|
-
</div>
|
|
1416
|
-
|
|
1417
|
-
<div class="grid grid-cols-2 gap-4">
|
|
1418
|
-
<Field orientation="vertical">
|
|
1419
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1420
|
-
<template
|
|
1421
|
-
v-if="subFieldDescription('hidden')"
|
|
1422
|
-
#tooltip
|
|
1423
|
-
>
|
|
1424
|
-
<Markdown
|
|
1425
|
-
:source="subFieldDescription('hidden')"
|
|
1426
|
-
block
|
|
1427
|
-
class="prose prose-sm prose-zinc"
|
|
1428
|
-
/>
|
|
1429
|
-
</template>
|
|
1430
|
-
{{ subFieldTitle("hidden") }}
|
|
1431
|
-
</FieldLabel>
|
|
1432
|
-
<ExpressionEditor
|
|
1433
|
-
:model-value="selectedSubRef.hidden ?? ''"
|
|
1434
|
-
placeholder="CEL 表达式,返回 true 时隐藏"
|
|
1435
|
-
result-type="bool"
|
|
1436
|
-
class="min-h-10"
|
|
1437
|
-
@update:model-value="(v) => patchSelectedSub((s) => setOptionalString(s, 'hidden', v))"
|
|
1438
|
-
/>
|
|
1439
|
-
</Field>
|
|
1440
|
-
|
|
1441
|
-
<Field orientation="vertical">
|
|
1442
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1443
|
-
<template
|
|
1444
|
-
v-if="subFieldDescription('disabled')"
|
|
1445
|
-
#tooltip
|
|
1446
|
-
>
|
|
1447
|
-
<Markdown
|
|
1448
|
-
:source="subFieldDescription('disabled')"
|
|
1449
|
-
block
|
|
1450
|
-
class="prose prose-sm prose-zinc"
|
|
1451
|
-
/>
|
|
1452
|
-
</template>
|
|
1453
|
-
{{ subFieldTitle("disabled") }}
|
|
1454
|
-
</FieldLabel>
|
|
1455
|
-
<ExpressionEditor
|
|
1456
|
-
:model-value="selectedSubRef.disabled ?? ''"
|
|
1457
|
-
placeholder="CEL 表达式,返回 true 时禁用"
|
|
1458
|
-
result-type="bool"
|
|
1459
|
-
class="min-h-10"
|
|
1460
|
-
@update:model-value="(v) => patchSelectedSub((s) => setOptionalString(s, 'disabled', v))"
|
|
1461
|
-
/>
|
|
1462
|
-
</Field>
|
|
1463
|
-
</div>
|
|
1464
|
-
|
|
1465
|
-
<Field orientation="vertical">
|
|
1466
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1467
|
-
<template
|
|
1468
|
-
v-if="subFieldDescription('icon')"
|
|
1469
|
-
#tooltip
|
|
1470
|
-
>
|
|
1471
|
-
<Markdown
|
|
1472
|
-
:source="subFieldDescription('icon')"
|
|
1473
|
-
block
|
|
1474
|
-
class="prose prose-sm prose-zinc"
|
|
1475
|
-
/>
|
|
1476
|
-
</template>
|
|
1477
|
-
{{ subFieldTitle("icon") }}
|
|
1478
|
-
</FieldLabel>
|
|
1479
|
-
<IconPicker
|
|
1480
|
-
:model-value="selectedSubRef.icon ?? ''"
|
|
1481
|
-
@update:model-value="(v) => patchSelectedSub((s) => setOptionalString(s, 'icon', v))"
|
|
1482
|
-
/>
|
|
1483
|
-
</Field>
|
|
1484
|
-
|
|
1485
|
-
<Field orientation="vertical">
|
|
1486
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
1487
|
-
<template
|
|
1488
|
-
v-if="subFieldDescription('variant')"
|
|
1489
|
-
#tooltip
|
|
1490
|
-
>
|
|
1491
|
-
<Markdown
|
|
1492
|
-
:source="subFieldDescription('variant')"
|
|
1493
|
-
block
|
|
1494
|
-
class="prose prose-sm prose-zinc"
|
|
1495
|
-
/>
|
|
1496
|
-
</template>
|
|
1497
|
-
{{ subFieldTitle("variant") }}
|
|
1498
|
-
</FieldLabel>
|
|
1499
|
-
<Select
|
|
1500
|
-
:model-value="selectedSubRef.variant ?? 'default'"
|
|
1501
|
-
@update:model-value="(v) => patchSelectedSub((s) => {
|
|
1502
|
-
s.variant = v;
|
|
1503
|
-
})"
|
|
1504
|
-
>
|
|
1505
|
-
<SelectTrigger class="w-1/2">
|
|
1506
|
-
<SelectValue />
|
|
1507
|
-
</SelectTrigger>
|
|
1508
|
-
<SelectContent>
|
|
1509
|
-
<SelectItem
|
|
1510
|
-
v-for="opt in VARIANT_OPTIONS"
|
|
1511
|
-
:key="opt.value"
|
|
1512
|
-
:value="opt.value"
|
|
1513
|
-
>
|
|
1514
|
-
{{ opt.label }}
|
|
1515
|
-
</SelectItem>
|
|
1516
|
-
</SelectContent>
|
|
1517
|
-
</Select>
|
|
1518
|
-
</Field>
|
|
1519
|
-
</template>
|
|
1520
|
-
|
|
1521
|
-
<template v-if="selectedSubRef.action">
|
|
1522
|
-
<template v-if="!isDrillableAction(selectedSubRef.action)">
|
|
1523
|
-
<Separator />
|
|
1524
|
-
|
|
1525
|
-
<div class="text-xs text-zinc-400">
|
|
1526
|
-
{{ getButtonMetadataLabel(selectedSubRef.action) }}
|
|
1527
|
-
</div>
|
|
1528
|
-
</template>
|
|
1529
|
-
|
|
1530
|
-
<component
|
|
1531
|
-
:is="getActionConfigComponent(selectedSubRef.action)"
|
|
1532
|
-
v-if="getActionConfigComponent(selectedSubRef.action)"
|
|
1533
|
-
:model-value="selectedSubRef.action"
|
|
1534
|
-
:configure="configure"
|
|
1535
|
-
@update:model-value="(v) => patchSelectedSub((s) => {
|
|
1536
|
-
s.action = v;
|
|
1537
|
-
})"
|
|
1538
|
-
/>
|
|
1539
|
-
</template>
|
|
1540
|
-
</div>
|
|
1541
|
-
</ScrollArea>
|
|
1542
|
-
</div>
|
|
1543
|
-
</div>
|
|
1544
|
-
</div>
|
|
1545
|
-
</template>
|
|
1546
|
-
|
|
1547
|
-
<style scoped>
|
|
1548
|
-
.row{align-items:center;border-radius:.25rem;cursor:pointer;display:flex;font-size:.875rem;gap:.375rem;padding-block:.375rem;padding-right:.5rem;position:relative;transition:background-color .1s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.group-row{color:#3f3f46;font-weight:500}.group-row:hover{background:#fafafa}.general-row{cursor:pointer;font-weight:500}[data-instruction=reorder-above]:before,[data-instruction=reorder-below]:after{background:var(--primary,#2563eb);content:"";height:2px;left:.5rem;pointer-events:none;position:absolute;right:.5rem;z-index:1}[data-instruction=reorder-above]:before{top:-1px}[data-instruction=reorder-below]:after{bottom:-1px}.item-wrap{position:relative}.dropdown-wrap[data-instruction=make-child]{background:color-mix(in srgb,var(--primary,#2563eb) 12%,#fff);border-radius:.25rem;outline:1px dashed var(--primary,#2563eb);outline-offset:-2px}.new-group-zone{align-items:center;border-radius:.25rem;color:transparent;display:flex;font-size:.75rem;height:.5rem;justify-content:center;margin:.125rem 0;pointer-events:auto;transition:height .12s ease,color .12s ease,background-color .12s ease}.new-group-zone[data-active=true]{background-color:color-mix(in srgb,var(--primary,#2563eb) 8%,#fff);color:var(--primary,#2563eb);height:1.5rem}.new-group-zone-label{pointer-events:none}
|
|
1549
|
-
</style>
|