@veltra/desktop 1.3.2 → 1.3.3
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/components/action/action-group.vue.d.ts +4 -4
- package/dist/components/action/action.vue.d.ts +4 -2
- package/dist/components/action/index.d.ts +3 -2
- package/dist/components/action/style.d.ts +2 -1
- package/dist/components/auto-complete/auto-complete.vue.d.ts +4 -3
- package/dist/components/auto-complete/index.d.ts +2 -1
- package/dist/components/auto-complete/style.d.ts +4 -1
- package/dist/components/auto-complete/use-keyboard.js +1 -1
- package/dist/components/auto-complete/use-keyboard.js.map +1 -1
- package/dist/components/badge/badge.vue.d.ts +2 -1
- package/dist/components/badge/index.d.ts +2 -1
- package/dist/components/batch-edit/batch-edit.vue.d.ts +11 -9
- package/dist/components/batch-edit/helper.d.ts +1 -0
- package/dist/components/batch-edit/index.d.ts +3 -2
- package/dist/components/batch-edit/style.d.ts +5 -1
- package/dist/components/batch-edit/use-features.js +1 -1
- package/dist/components/batch-edit/use-features.js.map +1 -1
- package/dist/components/breadcrumb/breadcrumb.vue.d.ts +2 -1
- package/dist/components/breadcrumb/index.d.ts +2 -1
- package/dist/components/button/button-group.vue.d.ts +2 -1
- package/dist/components/button/button.vue.d.ts +2 -1
- package/dist/components/button/index.d.ts +3 -2
- package/dist/components/button/style.d.ts +1 -1
- package/dist/components/calendar/calendar.vue.d.ts +2 -1
- package/dist/components/calendar/index.d.ts +2 -1
- package/dist/components/card/card-action.vue.d.ts +2 -1
- package/dist/components/card/card-content.vue.d.ts +2 -1
- package/dist/components/card/card-cover.vue.d.ts +2 -1
- package/dist/components/card/card-header.vue.d.ts +1 -1
- package/dist/components/card/card.vue.d.ts +2 -1
- package/dist/components/card/index.d.ts +6 -5
- package/dist/components/cascade/cascade.vue.d.ts +7 -6
- package/dist/components/cascade/index.d.ts +2 -1
- package/dist/components/cascade/style.d.ts +3 -1
- package/dist/components/check-tag/check-tag.vue.d.ts +2 -1
- package/dist/components/check-tag/index.d.ts +2 -1
- package/dist/components/checkbox/checkbox-button.vue.d.ts +3 -2
- package/dist/components/checkbox/checkbox.vue.d.ts +2 -1
- package/dist/components/checkbox/index.d.ts +3 -2
- package/dist/components/checkbox/style.d.ts +1 -1
- package/dist/components/checkbox-group/checkbox-group.vue.d.ts +4 -3
- package/dist/components/checkbox-group/index.d.ts +2 -1
- package/dist/components/checkbox-group/style.d.ts +1 -1
- package/dist/components/code-editor/code-editor.vue.d.ts +4 -3
- package/dist/components/code-editor/index.d.ts +2 -1
- package/dist/components/code-editor/langs/spel/language.js +2 -2
- package/dist/components/code-editor/langs/spel/language.js.map +1 -1
- package/dist/components/code-editor/style.d.ts +1 -1
- package/dist/components/collapse/collapse-item.vue.d.ts +4 -3
- package/dist/components/collapse/collapse.vue.d.ts +2 -1
- package/dist/components/collapse/index.d.ts +3 -2
- package/dist/components/condition-editor/condition-editor.vue.d.ts +3 -1
- package/dist/components/condition-editor/core/evaluator.d.ts +1 -0
- package/dist/components/condition-editor/index.d.ts +3 -2
- package/dist/components/condition-editor/style.d.ts +2 -1
- package/dist/components/contextmenu/api.d.ts +1 -0
- package/dist/components/contextmenu/contextmenu.vue.d.ts +2 -1
- package/dist/components/contextmenu/index.d.ts +3 -2
- package/dist/components/contextmenu/style.d.ts +2 -1
- package/dist/components/date-panel/date-panel.vue.d.ts +3 -2
- package/dist/components/date-panel/index.d.ts +2 -1
- package/dist/components/date-picker/date-picker.vue.d.ts +4 -3
- package/dist/components/date-picker/index.d.ts +2 -1
- package/dist/components/date-picker/style.d.ts +2 -1
- package/dist/components/date-range-picker/date-range-picker.vue.d.ts +4 -3
- package/dist/components/date-range-picker/index.d.ts +2 -1
- package/dist/components/date-range-picker/style.d.ts +1 -1
- package/dist/components/dialog/dialog.vue.d.ts +5 -2
- package/dist/components/dialog/index.d.ts +2 -1
- package/dist/components/dialog/style.d.ts +1 -1
- package/dist/components/drawer/drawer.vue.d.ts +3 -1
- package/dist/components/drawer/index.d.ts +2 -1
- package/dist/components/drawer/style.d.ts +1 -1
- package/dist/components/dropdown/dropdown.vue.d.ts +6 -2
- package/dist/components/dropdown/index.d.ts +2 -1
- package/dist/components/dropdown/style.d.ts +1 -1
- package/dist/components/dual-nav/dual-nav.vue.d.ts +2 -1
- package/dist/components/dual-nav/index.d.ts +2 -1
- package/dist/components/dual-nav/style.d.ts +1 -1
- package/dist/components/empty/empty.vue.d.ts +3 -2
- package/dist/components/empty/index.d.ts +2 -1
- package/dist/components/expression-editor/expression-editor.vue.d.ts +3 -1
- package/dist/components/expression-editor/index.d.ts +2 -1
- package/dist/components/file-picker/file-picker.js +6 -3
- package/dist/components/file-picker/file-picker.js.map +1 -1
- package/dist/components/file-picker/file-picker.vue.d.ts +2 -1
- package/dist/components/file-picker/index.d.ts +2 -1
- package/dist/components/file-viewer/file-viewer.js +2 -2
- package/dist/components/file-viewer/file-viewer.js.map +1 -1
- package/dist/components/file-viewer/file-viewer.vue.d.ts +1 -2
- package/dist/components/file-viewer/helper.js +4 -4
- package/dist/components/file-viewer/helper.js.map +1 -1
- package/dist/components/file-viewer/index.d.ts +2 -1
- package/dist/components/float-button/float-button.vue.d.ts +2 -1
- package/dist/components/float-button/index.d.ts +2 -1
- package/dist/components/float-button/style.d.ts +1 -1
- package/dist/components/form/form.vue.d.ts +2 -1
- package/dist/components/form/index.d.ts +2 -1
- package/dist/components/form-item/form-item.vue.d.ts +4 -2
- package/dist/components/form-item/form-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/form-item/form-item.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/form-item/index.d.ts +2 -1
- package/dist/components/gantt-chart/gantt-chart.vue.d.ts +2 -1
- package/dist/components/gantt-chart/index.d.ts +2 -1
- package/dist/components/grid/grid-item.vue.d.ts +2 -1
- package/dist/components/grid/grid.vue.d.ts +3 -1
- package/dist/components/grid/index.d.ts +3 -2
- package/dist/components/grid/use-responsive.js +2 -1
- package/dist/components/grid/use-responsive.js.map +1 -1
- package/dist/components/grid-input/grid-input.vue.d.ts +3 -1
- package/dist/components/grid-input/index.d.ts +2 -1
- package/dist/components/group-input/group-input.vue.d.ts +4 -3
- package/dist/components/group-input/index.d.ts +2 -1
- package/dist/components/group-input/style.d.ts +1 -1
- package/dist/components/group-nav/group-nav.vue.d.ts +1 -2
- package/dist/components/group-nav/index.d.ts +2 -1
- package/dist/components/icon/icon.vue.d.ts +2 -1
- package/dist/components/icon/index.d.ts +2 -1
- package/dist/components/index.d.ts +168 -92
- package/dist/components/index.js +5 -5
- package/dist/components/input/index.d.ts +2 -1
- package/dist/components/input/input.vue.d.ts +10 -9
- package/dist/components/input/style.d.ts +1 -1
- package/dist/components/kbd/kbd.vue.d.ts +1 -1
- package/dist/components/layout/index.d.ts +2 -1
- package/dist/components/layout/layout.vue.d.ts +2 -1
- package/dist/components/list/index.d.ts +3 -2
- package/dist/components/list/list-item.vue.d.ts +1 -1
- package/dist/components/list/list.vue.d.ts +2 -1
- package/dist/components/list/style.d.ts +1 -1
- package/dist/components/loading/directive.d.ts +0 -1
- package/dist/components/loading/index.d.ts +3 -2
- package/dist/components/loading/loading.vue.d.ts +3 -1
- package/dist/components/loading/style.d.ts +1 -1
- package/dist/components/message/index.d.ts +3 -2
- package/dist/components/message/message.d.ts +1 -0
- package/dist/components/message/message.vue.d.ts +3 -1
- package/dist/components/message-confirm/index.d.ts +3 -2
- package/dist/components/message-confirm/message-confirm-box.js +39 -0
- package/dist/components/message-confirm/message-confirm-box.js.map +1 -0
- package/dist/components/message-confirm/message-confirm.d.ts +5 -7
- package/dist/components/message-confirm/message-confirm.js +32 -46
- package/dist/components/message-confirm/message-confirm.js.map +1 -1
- package/dist/components/message-confirm/message-confirm.vue.d.ts +8 -4
- package/dist/components/message-confirm/message-confirm2.js +98 -23
- package/dist/components/message-confirm/message-confirm2.js.map +1 -1
- package/dist/components/message-confirm/style2.css +9 -9
- package/dist/components/multi-select/index.d.ts +2 -1
- package/dist/components/multi-select/multi-select.vue.d.ts +10 -9
- package/dist/components/multi-select/style.d.ts +5 -1
- package/dist/components/multi-tree-select/index.d.ts +2 -1
- package/dist/components/multi-tree-select/multi-tree-select.vue.d.ts +6 -6
- package/dist/components/multi-tree-select/style.d.ts +6 -1
- package/dist/components/nav/index.d.ts +4 -3
- package/dist/components/nav/nav-item.vue.d.ts +2 -1
- package/dist/components/nav/nav-sub.vue.d.ts +2 -1
- package/dist/components/nav/nav.vue.d.ts +2 -1
- package/dist/components/node-render/index.d.ts +2 -1
- package/dist/components/node-render/node-render.d.ts +1 -2
- package/dist/components/notification/index.d.ts +3 -8
- package/dist/components/notification/notification-box.js +130 -0
- package/dist/components/notification/notification-box.js.map +1 -0
- package/dist/components/notification/notification.d.ts +8 -0
- package/dist/components/notification/notification.js +62 -84
- package/dist/components/notification/notification.js.map +1 -1
- package/dist/components/notification/notification.vue.d.ts +10 -5
- package/dist/components/notification/notification2.js +134 -0
- package/dist/components/notification/notification2.js.map +1 -0
- package/dist/components/notification/style2.css +62 -32
- package/dist/components/number/index.d.ts +2 -1
- package/dist/components/number/number.vue.d.ts +2 -1
- package/dist/components/number-input/index.d.ts +2 -1
- package/dist/components/number-input/number-input.js +2 -1
- package/dist/components/number-input/number-input.js.map +1 -1
- package/dist/components/number-input/number-input.vue.d.ts +8 -6
- package/dist/components/number-input/style.d.ts +2 -1
- package/dist/components/number-range-input/index.d.ts +2 -1
- package/dist/components/number-range-input/number-range-input.js +4 -2
- package/dist/components/number-range-input/number-range-input.js.map +1 -1
- package/dist/components/number-range-input/number-range-input.vue.d.ts +3 -2
- package/dist/components/number-range-input/style.d.ts +1 -1
- package/dist/components/paginator/index.d.ts +2 -1
- package/dist/components/paginator/paginator.vue.d.ts +2 -1
- package/dist/components/paginator/style.d.ts +2 -1
- package/dist/components/palette/index.d.ts +2 -1
- package/dist/components/palette/palette-sv.js +4 -2
- package/dist/components/palette/palette-sv.js.map +1 -1
- package/dist/components/palette/palette.vue.d.ts +2 -1
- package/dist/components/palette/style.d.ts +2 -1
- package/dist/components/password-input/index.d.ts +2 -1
- package/dist/components/password-input/password-input.vue.d.ts +3 -2
- package/dist/components/password-input/style.d.ts +1 -1
- package/dist/components/pop-confirm/index.d.ts +2 -1
- package/dist/components/pop-confirm/pop-confirm.vue.d.ts +3 -1
- package/dist/components/pop-confirm/style.d.ts +1 -1
- package/dist/components/progress/index.d.ts +2 -1
- package/dist/components/progress/progress.vue.d.ts +4 -3
- package/dist/components/progress-nodes/index.d.ts +2 -1
- package/dist/components/progress-nodes/progress-nodes.js +2 -1
- package/dist/components/progress-nodes/progress-nodes.js.map +1 -1
- package/dist/components/progress-nodes/progress-nodes.vue.d.ts +8 -7
- package/dist/components/radio/index.d.ts +2 -1
- package/dist/components/radio/radio.vue.d.ts +2 -1
- package/dist/components/radio/style.d.ts +1 -1
- package/dist/components/radio-group/index.d.ts +2 -1
- package/dist/components/radio-group/radio-group.vue.d.ts +4 -3
- package/dist/components/radio-group/style.d.ts +1 -1
- package/dist/components/rich-text-editor/index.d.ts +2 -1
- package/dist/components/rich-text-editor/rich-text-editor.js +2 -1
- package/dist/components/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.vue.d.ts +4 -2
- package/dist/components/rich-text-editor/toolbar.js +2 -1
- package/dist/components/rich-text-editor/toolbar.js.map +1 -1
- package/dist/components/scroll/index.d.ts +2 -1
- package/dist/components/scroll/scroll.vue.d.ts +5 -2
- package/dist/components/select/index.d.ts +2 -1
- package/dist/components/select/select.vue.d.ts +7 -4
- package/dist/components/select/style.d.ts +3 -1
- package/dist/components/slider/index.d.ts +2 -1
- package/dist/components/slider/slider.vue.d.ts +4 -3
- package/dist/components/steps/index.d.ts +2 -1
- package/dist/components/steps/steps.vue.d.ts +4 -3
- package/dist/components/switch/index.d.ts +2 -1
- package/dist/components/switch/switch.vue.d.ts +2 -1
- package/dist/components/table/index.d.ts +3 -2
- package/dist/components/table/node/col.d.ts +1 -1
- package/dist/components/table/node/row.d.ts +0 -1
- package/dist/components/table/style.d.ts +3 -1
- package/dist/components/table/table-row.js +2 -1
- package/dist/components/table/table-row.js.map +1 -1
- package/dist/components/table/table.vue.d.ts +3 -1
- package/dist/components/table/use-columns.d.ts +3 -0
- package/dist/components/table/use-columns.js +2 -1
- package/dist/components/table/use-columns.js.map +1 -1
- package/dist/components/table-editor/index.d.ts +2 -1
- package/dist/components/table-editor/style.d.ts +2 -1
- package/dist/components/table-editor/table-editor.vue.d.ts +2 -1
- package/dist/components/tabs/index.d.ts +4 -3
- package/dist/components/tabs/style.d.ts +2 -1
- package/dist/components/tabs/tabs-horizontal.vue.d.ts +5 -4
- package/dist/components/tabs/tabs-vertical.vue.d.ts +5 -4
- package/dist/components/tabs/tabs.vue.d.ts +5 -4
- package/dist/components/tag/index.d.ts +2 -1
- package/dist/components/tag/tag.vue.d.ts +2 -1
- package/dist/components/text/index.d.ts +2 -1
- package/dist/components/text/text.vue.d.ts +2 -1
- package/dist/components/textarea/index.d.ts +2 -1
- package/dist/components/textarea/style.d.ts +1 -1
- package/dist/components/textarea/textarea.js +4 -2
- package/dist/components/textarea/textarea.js.map +1 -1
- package/dist/components/textarea/textarea.vue.d.ts +6 -5
- package/dist/components/theme/index.d.ts +2 -1
- package/dist/components/theme/style.d.ts +5 -1
- package/dist/components/theme/theme.vue.d.ts +2 -1
- package/dist/components/tip/index.d.ts +2 -1
- package/dist/components/tip/tip.vue.d.ts +3 -1
- package/dist/components/tree/di.d.ts +2 -0
- package/dist/components/tree/index.d.ts +2 -1
- package/dist/components/tree/style.d.ts +1 -1
- package/dist/components/tree/tree.vue.d.ts +3 -1
- package/dist/components/tree-select/index.d.ts +2 -1
- package/dist/components/tree-select/style.d.ts +3 -1
- package/dist/components/tree-select/tree-select.vue.d.ts +9 -7
- package/dist/components/watermark/index.d.ts +2 -1
- package/dist/components/watermark/watermark.vue.d.ts +2 -1
- package/dist/index.d.ts +97 -98
- package/dist/index.js +3 -3
- package/dist/install.d.ts +1 -1
- package/dist/node_modules/.bun/@codemirror_autocomplete@6.20.3/node_modules/@codemirror/autocomplete/dist/index.js +13 -4
- package/dist/node_modules/.bun/@codemirror_autocomplete@6.20.3/node_modules/@codemirror/autocomplete/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@codemirror_commands@6.10.4/node_modules/@codemirror/commands/dist/index.js +1 -1
- package/dist/node_modules/.bun/@codemirror_lang-css@6.3.1/node_modules/@codemirror/lang-css/dist/index.js +3 -2
- package/dist/node_modules/.bun/@codemirror_lang-css@6.3.1/node_modules/@codemirror/lang-css/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@codemirror_lang-html@6.4.11/node_modules/@codemirror/lang-html/dist/index.js +1 -1
- package/dist/node_modules/.bun/@codemirror_lang-java@6.0.2/node_modules/@codemirror/lang-java/dist/index.js +1 -1
- package/dist/node_modules/.bun/@codemirror_lang-javascript@6.2.5/node_modules/@codemirror/lang-javascript/dist/index.js +1 -1
- package/dist/node_modules/.bun/@codemirror_lang-json@6.0.2/node_modules/@codemirror/lang-json/dist/index.js +1 -1
- package/dist/node_modules/.bun/@codemirror_lang-markdown@6.5.1/node_modules/@codemirror/lang-markdown/dist/index.js +1 -1
- package/dist/node_modules/.bun/@codemirror_lang-sql@6.10.0/node_modules/@codemirror/lang-sql/dist/index.js +31 -5
- package/dist/node_modules/.bun/@codemirror_lang-sql@6.10.0/node_modules/@codemirror/lang-sql/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@codemirror_language@6.12.4/node_modules/@codemirror/language/dist/index.js +5 -3
- package/dist/node_modules/.bun/@codemirror_language@6.12.4/node_modules/@codemirror/language/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@codemirror_lint@6.9.7/node_modules/@codemirror/lint/dist/index.js +1 -1
- package/dist/node_modules/.bun/@codemirror_search@6.7.1/node_modules/@codemirror/search/dist/index.js +3 -2
- package/dist/node_modules/.bun/@codemirror_search@6.7.1/node_modules/@codemirror/search/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@codemirror_state@6.7.0/node_modules/@codemirror/state/dist/index.js +3 -2
- package/dist/node_modules/.bun/@codemirror_state@6.7.0/node_modules/@codemirror/state/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@codemirror_theme-one-dark@6.1.3/node_modules/@codemirror/theme-one-dark/dist/index.js +30 -7
- package/dist/node_modules/.bun/@codemirror_theme-one-dark@6.1.3/node_modules/@codemirror/theme-one-dark/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@codemirror_view@6.43.4/node_modules/@codemirror/view/dist/index.js +11 -5
- package/dist/node_modules/.bun/@codemirror_view@6.43.4/node_modules/@codemirror/view/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@lezer_common@1.5.2/node_modules/@lezer/common/dist/index.js +3 -2
- package/dist/node_modules/.bun/@lezer_common@1.5.2/node_modules/@lezer/common/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@lezer_css@1.3.4/node_modules/@lezer/css/dist/index.js +20 -2
- package/dist/node_modules/.bun/@lezer_css@1.3.4/node_modules/@lezer/css/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@lezer_highlight@1.2.3/node_modules/@lezer/highlight/dist/index.js +15 -2
- package/dist/node_modules/.bun/@lezer_highlight@1.2.3/node_modules/@lezer/highlight/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@lezer_html@1.3.13/node_modules/@lezer/html/dist/index.js +42 -3
- package/dist/node_modules/.bun/@lezer_html@1.3.13/node_modules/@lezer/html/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@lezer_javascript@1.5.4/node_modules/@lezer/javascript/dist/index.js +23 -2
- package/dist/node_modules/.bun/@lezer_javascript@1.5.4/node_modules/@lezer/javascript/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@lezer_lr@1.4.10/node_modules/@lezer/lr/dist/index.js +1 -1
- package/dist/node_modules/.bun/@lezer_markdown@1.7.2/node_modules/@lezer/markdown/dist/index.js +39 -29
- package/dist/node_modules/.bun/@lezer_markdown@1.7.2/node_modules/@lezer/markdown/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@marijn_find-cluster-break@1.0.2/node_modules/@marijn/find-cluster-break/src/index.js +3 -2
- package/dist/node_modules/.bun/@marijn_find-cluster-break@1.0.2/node_modules/@marijn/find-cluster-break/src/index.js.map +1 -1
- package/dist/style.d.ts +39 -1
- package/dist/types/action.d.ts +0 -1
- package/dist/types/animation.d.ts +0 -1
- package/dist/types/auto-complete.d.ts +0 -1
- package/dist/types/badge.d.ts +0 -1
- package/dist/types/batch-edit.d.ts +18 -13
- package/dist/types/breadcrumb.d.ts +0 -1
- package/dist/types/button.d.ts +0 -1
- package/dist/types/calendar.d.ts +0 -1
- package/dist/types/card.d.ts +0 -1
- package/dist/types/cascade.d.ts +0 -1
- package/dist/types/check-tag.d.ts +0 -1
- package/dist/types/checkbox-group.d.ts +0 -1
- package/dist/types/checkbox.d.ts +0 -1
- package/dist/types/code-editor.d.ts +0 -1
- package/dist/types/collapse.d.ts +0 -1
- package/dist/types/condition-editor.d.ts +0 -1
- package/dist/types/contextmenu.d.ts +0 -1
- package/dist/types/css-transition.d.ts +0 -1
- package/dist/types/date-panel.d.ts +0 -1
- package/dist/types/date-picker.d.ts +0 -1
- package/dist/types/date-range-picker.d.ts +0 -1
- package/dist/types/dialog.d.ts +0 -1
- package/dist/types/drawer.d.ts +0 -1
- package/dist/types/dropdown.d.ts +2 -2
- package/dist/types/dual-nav.d.ts +0 -1
- package/dist/types/empty.d.ts +0 -1
- package/dist/types/expression-editor.d.ts +0 -1
- package/dist/types/file-picker.d.ts +0 -1
- package/dist/types/file-viewer.d.ts +0 -1
- package/dist/types/float-button.d.ts +0 -1
- package/dist/types/form-item.d.ts +0 -1
- package/dist/types/form.d.ts +0 -1
- package/dist/types/grid-input.d.ts +0 -1
- package/dist/types/grid.d.ts +1 -2
- package/dist/types/group-input.d.ts +0 -1
- package/dist/types/group-nav.d.ts +0 -1
- package/dist/types/index.d.ts +4 -6
- package/dist/types/input.d.ts +0 -1
- package/dist/types/layout.d.ts +0 -1
- package/dist/types/list.d.ts +0 -1
- package/dist/types/loading.d.ts +0 -1
- package/dist/types/message-confirm.d.ts +48 -5
- package/dist/types/message.d.ts +3 -2
- package/dist/types/multi-auto-complete.d.ts +0 -1
- package/dist/types/multi-select.d.ts +0 -1
- package/dist/types/multi-tree-select.d.ts +0 -1
- package/dist/types/nav.d.ts +0 -1
- package/dist/types/node-render.d.ts +0 -1
- package/dist/types/notification.d.ts +67 -17
- package/dist/types/number-input.d.ts +0 -1
- package/dist/types/number-range-input.d.ts +0 -1
- package/dist/types/paginator.d.ts +0 -1
- package/dist/types/palette.d.ts +0 -1
- package/dist/types/password-input.d.ts +0 -1
- package/dist/types/pop-confirm.d.ts +0 -1
- package/dist/types/pop.d.ts +0 -1
- package/dist/types/progress-nodes.d.ts +0 -1
- package/dist/types/progress.d.ts +0 -1
- package/dist/types/quick-batch-edit.d.ts +0 -1
- package/dist/types/radio-group.d.ts +0 -1
- package/dist/types/radio.d.ts +0 -1
- package/dist/types/rich-text-editor.d.ts +0 -1
- package/dist/types/scroll.d.ts +11 -6
- package/dist/types/select.d.ts +0 -1
- package/dist/types/slider.d.ts +0 -1
- package/dist/types/steps.d.ts +0 -1
- package/dist/types/switch.d.ts +0 -1
- package/dist/types/table-editor.d.ts +0 -1
- package/dist/types/table.d.ts +0 -1
- package/dist/types/tabs.d.ts +2 -2
- package/dist/types/tag.d.ts +0 -1
- package/dist/types/text-editor.d.ts +0 -1
- package/dist/types/textarea.d.ts +0 -1
- package/dist/types/theme.d.ts +0 -1
- package/dist/types/tip.d.ts +0 -1
- package/dist/types/tree-select.d.ts +0 -1
- package/dist/types/tree.d.ts +0 -1
- package/dist/types/watermark.d.ts +0 -1
- package/package.json +19 -19
- package/src/components/message-confirm/index.ts +1 -1
- package/src/components/message-confirm/message-confirm-box.vue +36 -0
- package/src/components/message-confirm/message-confirm.ts +113 -21
- package/src/components/message-confirm/message-confirm.vue +30 -37
- package/src/components/message-confirm/style.scss +10 -12
- package/src/components/notification/index.ts +1 -143
- package/src/components/notification/notification-box.vue +150 -0
- package/src/components/notification/notification.ts +142 -0
- package/src/components/notification/notification.vue +40 -66
- package/src/components/notification/style.scss +65 -38
- package/src/types/message-confirm.ts +52 -3
- package/src/types/notification.ts +71 -15
- package/dist/components/notification/index.js +0 -140
- package/dist/components/notification/index.js.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ActionGroupProps, _ActionGroupExposed } from "../../types/action.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
import { VNode } from "vue";
|
|
3
|
-
|
|
4
4
|
//#region src/components/action/action-group.vue.d.ts
|
|
5
5
|
type __VLS_Slots = {
|
|
6
6
|
default?: () => VNode[];
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<ActionGroupProps, _ActionGroupExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ActionGroupProps> & Readonly<{}>, {
|
|
9
|
-
size: "small" | "default" | "large";
|
|
10
9
|
type: import("@veltra/utils").ColorType;
|
|
11
10
|
text: boolean;
|
|
12
|
-
|
|
11
|
+
size: "small" | "default" | "large";
|
|
13
12
|
circle: boolean;
|
|
13
|
+
max: number;
|
|
14
14
|
loading: boolean;
|
|
15
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -21,5 +21,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
//#endregion
|
|
24
|
-
export { _default };
|
|
24
|
+
export { _default as default };
|
|
25
25
|
//# sourceMappingURL=action-group.vue.d.ts.map
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ButtonType } from "../../types/button.js";
|
|
2
2
|
import { ActionProps } from "../../types/action.js";
|
|
3
|
+
import "../../types/index.js";
|
|
4
|
+
import "../../index.js";
|
|
3
5
|
//#region src/components/action/action.vue.d.ts
|
|
4
6
|
declare var __VLS_17: {}, __VLS_28: {};
|
|
5
7
|
type __VLS_Slots = {} & {
|
|
@@ -12,9 +14,9 @@ declare const __VLS_base: import("vue").DefineComponent<ActionProps, {}, {}, {},
|
|
|
12
14
|
}, string, import("vue").PublicProps, Readonly<ActionProps> & Readonly<{
|
|
13
15
|
onRun?: (() => any) | undefined;
|
|
14
16
|
}>, {
|
|
15
|
-
size: import("@veltra/utils").ComponentSize;
|
|
16
17
|
type: ButtonType;
|
|
17
18
|
text: boolean;
|
|
19
|
+
size: import("@veltra/utils").ComponentSize;
|
|
18
20
|
circle: boolean;
|
|
19
21
|
loading: boolean;
|
|
20
22
|
inDropdown: boolean;
|
|
@@ -27,5 +29,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
27
29
|
};
|
|
28
30
|
};
|
|
29
31
|
//#endregion
|
|
30
|
-
export { _default };
|
|
32
|
+
export { _default as default };
|
|
31
33
|
//# sourceMappingURL=action.vue.d.ts.map
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import _default from "./action.vue.js";
|
|
2
|
+
import _default$1 from "./action-group.vue.js";
|
|
3
|
+
export { _default as UAction, _default$1 as UActionGroup };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import "../button/style.js";
|
|
2
|
+
import "../pop-confirm/style.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AutoCompleteProps, _AutoCompleteExposed } from "../../types/auto-complete.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/auto-complete/auto-complete.vue.d.ts
|
|
3
4
|
type __VLS_Props = AutoCompleteProps;
|
|
4
5
|
type __VLS_Slots = {
|
|
@@ -22,10 +23,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, _Auto
|
|
|
22
23
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
23
24
|
onSelect?: ((value: string) => any) | undefined;
|
|
24
25
|
}>, {
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
readonly: boolean;
|
|
27
26
|
placeholder: string;
|
|
28
27
|
clearable: boolean;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
readonly: boolean;
|
|
29
30
|
allowCustom: boolean;
|
|
30
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
32
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -36,5 +37,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
36
37
|
};
|
|
37
38
|
};
|
|
38
39
|
//#endregion
|
|
39
|
-
export { _default };
|
|
40
|
+
export { _default as default };
|
|
40
41
|
//# sourceMappingURL=auto-complete.vue.d.ts.map
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _default from "./auto-complete.vue.js";
|
|
2
|
+
export { _default as UAutoComplete };
|
|
@@ -2,7 +2,7 @@ import { ref, watch } from "vue";
|
|
|
2
2
|
//#region src/components/auto-complete/use-keyboard.ts
|
|
3
3
|
function useKeyboard(options) {
|
|
4
4
|
const { options: selectableOptions, dropdownVisible, onSelect, getDefaultIndex } = options;
|
|
5
|
-
const keys = new Set([
|
|
5
|
+
const keys = /* @__PURE__ */ new Set([
|
|
6
6
|
"ArrowUp",
|
|
7
7
|
"ArrowDown",
|
|
8
8
|
"Enter",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-keyboard.js","names":[],"sources":["../../../src/components/auto-complete/use-keyboard.ts"],"sourcesContent":["import { type ComputedRef, type Ref, ref, watch } from 'vue'\n\ninterface Options {\n options: ComputedRef<string[]>\n dropdownVisible: Ref<boolean>\n onSelect: (option: string, index: number) => void\n getDefaultIndex?: (options: string[]) => number\n}\n\ninterface UseKeyboardReturned {\n point: Ref<number>\n handleKeydown: (event: KeyboardEvent) => void\n}\n\nexport function useKeyboard(options: Options): UseKeyboardReturned {\n const { options: selectableOptions, dropdownVisible, onSelect, getDefaultIndex } = options\n const keys = new Set(['ArrowUp', 'ArrowDown', 'Enter', 'Escape'])\n\n const point = ref(-1)\n\n const resolveDefaultPoint = () => {\n if (!selectableOptions.value.length) return -1\n if (getDefaultIndex) {\n const index = getDefaultIndex(selectableOptions.value)\n if (index >= 0 && index < selectableOptions.value.length) {\n return index\n }\n }\n return 0\n }\n\n watch(\n [selectableOptions, dropdownVisible],\n ([value, visible]) => {\n if (!value.length || !visible) {\n point.value = -1\n return\n }\n if (point.value === -1 || point.value >= value.length) {\n point.value = resolveDefaultPoint()\n }\n },\n { immediate: true }\n )\n\n function moveToNext() {\n if (!selectableOptions.value.length) return\n if (!dropdownVisible.value) {\n dropdownVisible.value = true\n point.value = resolveDefaultPoint()\n return\n }\n const nextPoint = point.value + 1\n point.value = nextPoint < selectableOptions.value.length ? nextPoint : 0\n }\n\n function moveToPrev() {\n if (!selectableOptions.value.length) return\n if (!dropdownVisible.value) {\n dropdownVisible.value = true\n point.value = selectableOptions.value.length - 1\n return\n }\n const prevPoint = point.value - 1\n point.value = prevPoint > -1 ? prevPoint : selectableOptions.value.length - 1\n }\n\n function selectOption() {\n if (!dropdownVisible.value) {\n if (selectableOptions.value.length) {\n dropdownVisible.value = true\n if (point.value === -1) {\n point.value = resolveDefaultPoint()\n }\n }\n return\n }\n const suggestion = selectableOptions.value[point.value]\n if (suggestion && point.value > -1) {\n onSelect(suggestion, point.value)\n }\n dropdownVisible.value = false\n }\n\n function closeDropdown() {\n dropdownVisible.value = false\n }\n\n const keyHandlerMap = {\n ArrowUp: moveToPrev,\n ArrowDown: moveToNext,\n Enter: selectOption,\n Escape: closeDropdown\n }\n\n function handleKeydown(event: KeyboardEvent) {\n const { key } = event\n if (!keys.has(key)) return\n event.preventDefault()\n event.stopPropagation()\n keyHandlerMap[key]()\n }\n\n return {\n point,\n\n handleKeydown\n }\n}\n"],"mappings":";;AAcA,SAAgB,YAAY,SAAuC;CACjE,MAAM,EAAE,SAAS,mBAAmB,iBAAiB,UAAU,oBAAoB;CACnF,MAAM,
|
|
1
|
+
{"version":3,"file":"use-keyboard.js","names":[],"sources":["../../../src/components/auto-complete/use-keyboard.ts"],"sourcesContent":["import { type ComputedRef, type Ref, ref, watch } from 'vue'\n\ninterface Options {\n options: ComputedRef<string[]>\n dropdownVisible: Ref<boolean>\n onSelect: (option: string, index: number) => void\n getDefaultIndex?: (options: string[]) => number\n}\n\ninterface UseKeyboardReturned {\n point: Ref<number>\n handleKeydown: (event: KeyboardEvent) => void\n}\n\nexport function useKeyboard(options: Options): UseKeyboardReturned {\n const { options: selectableOptions, dropdownVisible, onSelect, getDefaultIndex } = options\n const keys = new Set(['ArrowUp', 'ArrowDown', 'Enter', 'Escape'])\n\n const point = ref(-1)\n\n const resolveDefaultPoint = () => {\n if (!selectableOptions.value.length) return -1\n if (getDefaultIndex) {\n const index = getDefaultIndex(selectableOptions.value)\n if (index >= 0 && index < selectableOptions.value.length) {\n return index\n }\n }\n return 0\n }\n\n watch(\n [selectableOptions, dropdownVisible],\n ([value, visible]) => {\n if (!value.length || !visible) {\n point.value = -1\n return\n }\n if (point.value === -1 || point.value >= value.length) {\n point.value = resolveDefaultPoint()\n }\n },\n { immediate: true }\n )\n\n function moveToNext() {\n if (!selectableOptions.value.length) return\n if (!dropdownVisible.value) {\n dropdownVisible.value = true\n point.value = resolveDefaultPoint()\n return\n }\n const nextPoint = point.value + 1\n point.value = nextPoint < selectableOptions.value.length ? nextPoint : 0\n }\n\n function moveToPrev() {\n if (!selectableOptions.value.length) return\n if (!dropdownVisible.value) {\n dropdownVisible.value = true\n point.value = selectableOptions.value.length - 1\n return\n }\n const prevPoint = point.value - 1\n point.value = prevPoint > -1 ? prevPoint : selectableOptions.value.length - 1\n }\n\n function selectOption() {\n if (!dropdownVisible.value) {\n if (selectableOptions.value.length) {\n dropdownVisible.value = true\n if (point.value === -1) {\n point.value = resolveDefaultPoint()\n }\n }\n return\n }\n const suggestion = selectableOptions.value[point.value]\n if (suggestion && point.value > -1) {\n onSelect(suggestion, point.value)\n }\n dropdownVisible.value = false\n }\n\n function closeDropdown() {\n dropdownVisible.value = false\n }\n\n const keyHandlerMap = {\n ArrowUp: moveToPrev,\n ArrowDown: moveToNext,\n Enter: selectOption,\n Escape: closeDropdown\n }\n\n function handleKeydown(event: KeyboardEvent) {\n const { key } = event\n if (!keys.has(key)) return\n event.preventDefault()\n event.stopPropagation()\n keyHandlerMap[key]()\n }\n\n return {\n point,\n\n handleKeydown\n }\n}\n"],"mappings":";;AAcA,SAAgB,YAAY,SAAuC;CACjE,MAAM,EAAE,SAAS,mBAAmB,iBAAiB,UAAU,oBAAoB;CACnF,MAAM,uBAAO,IAAI,IAAI;EAAC;EAAW;EAAa;EAAS;CAAQ,CAAC;CAEhE,MAAM,QAAQ,IAAI,EAAE;CAEpB,MAAM,4BAA4B;EAChC,IAAI,CAAC,kBAAkB,MAAM,QAAQ,OAAO;EAC5C,IAAI,iBAAiB;GACnB,MAAM,QAAQ,gBAAgB,kBAAkB,KAAK;GACrD,IAAI,SAAS,KAAK,QAAQ,kBAAkB,MAAM,QAChD,OAAO;EAEX;EACA,OAAO;CACT;CAEA,MACE,CAAC,mBAAmB,eAAe,IAClC,CAAC,OAAO,aAAa;EACpB,IAAI,CAAC,MAAM,UAAU,CAAC,SAAS;GAC7B,MAAM,QAAQ;GACd;EACF;EACA,IAAI,MAAM,UAAU,MAAM,MAAM,SAAS,MAAM,QAC7C,MAAM,QAAQ,oBAAoB;CAEtC,GACA,EAAE,WAAW,KAAK,CACpB;CAEA,SAAS,aAAa;EACpB,IAAI,CAAC,kBAAkB,MAAM,QAAQ;EACrC,IAAI,CAAC,gBAAgB,OAAO;GAC1B,gBAAgB,QAAQ;GACxB,MAAM,QAAQ,oBAAoB;GAClC;EACF;EACA,MAAM,YAAY,MAAM,QAAQ;EAChC,MAAM,QAAQ,YAAY,kBAAkB,MAAM,SAAS,YAAY;CACzE;CAEA,SAAS,aAAa;EACpB,IAAI,CAAC,kBAAkB,MAAM,QAAQ;EACrC,IAAI,CAAC,gBAAgB,OAAO;GAC1B,gBAAgB,QAAQ;GACxB,MAAM,QAAQ,kBAAkB,MAAM,SAAS;GAC/C;EACF;EACA,MAAM,YAAY,MAAM,QAAQ;EAChC,MAAM,QAAQ,YAAY,KAAK,YAAY,kBAAkB,MAAM,SAAS;CAC9E;CAEA,SAAS,eAAe;EACtB,IAAI,CAAC,gBAAgB,OAAO;GAC1B,IAAI,kBAAkB,MAAM,QAAQ;IAClC,gBAAgB,QAAQ;IACxB,IAAI,MAAM,UAAU,IAClB,MAAM,QAAQ,oBAAoB;GAEtC;GACA;EACF;EACA,MAAM,aAAa,kBAAkB,MAAM,MAAM;EACjD,IAAI,cAAc,MAAM,QAAQ,IAC9B,SAAS,YAAY,MAAM,KAAK;EAElC,gBAAgB,QAAQ;CAC1B;CAEA,SAAS,gBAAgB;EACvB,gBAAgB,QAAQ;CAC1B;CAEA,MAAM,gBAAgB;EACpB,SAAS;EACT,WAAW;EACX,OAAO;EACP,QAAQ;CACV;CAEA,SAAS,cAAc,OAAsB;EAC3C,MAAM,EAAE,QAAQ;EAChB,IAAI,CAAC,KAAK,IAAI,GAAG,GAAG;EACpB,MAAM,eAAe;EACrB,MAAM,gBAAgB;EACtB,cAAc,IAAI,CAAC;CACrB;CAEA,OAAO;EACL;EAEA;CACF;AACF"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BadgeProps } from "../../types/badge.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/badge/badge.vue.d.ts
|
|
3
4
|
declare var __VLS_1: {};
|
|
4
5
|
type __VLS_Slots = {} & {
|
|
@@ -15,5 +16,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
15
16
|
};
|
|
16
17
|
};
|
|
17
18
|
//#endregion
|
|
18
|
-
export { _default };
|
|
19
|
+
export { _default as default };
|
|
19
20
|
//# sourceMappingURL=badge.vue.d.ts.map
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _default from "./badge.vue.js";
|
|
2
|
+
export { _default as UBadge };
|
|
@@ -1,33 +1,35 @@
|
|
|
1
1
|
import { TableColumn, TableRow } from "../../types/table.js";
|
|
2
2
|
import { BatchEditProps, BatchEditSlots } from "../../types/batch-edit.js";
|
|
3
|
+
import "../../types/index.js";
|
|
4
|
+
import "../../index.js";
|
|
3
5
|
//#region src/components/batch-edit/batch-edit.vue.d.ts
|
|
4
6
|
type __VLS_Slots = BatchEditSlots;
|
|
5
7
|
declare const __VLS_base: import("vue").DefineComponent<BatchEditProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
8
|
"update:selected": (value: Record<string, any> | undefined) => any;
|
|
7
9
|
"update:checked": (value: Record<string, any>[]) => any;
|
|
8
10
|
"update:current": (row?: TableRow | undefined) => any;
|
|
11
|
+
"update:rows": (rows: TableRow[]) => any;
|
|
12
|
+
"update:forest": (rows?: import("@cat-kit/core").Forest<Record<string, unknown>, any> | undefined) => any;
|
|
13
|
+
"cell-click": (row: TableRow, column: TableColumn, ev: MouseEvent) => any;
|
|
14
|
+
"row-click": (row: TableRow, ev: MouseEvent) => any;
|
|
9
15
|
create: () => any;
|
|
10
16
|
"update:data": (value: Record<string, any>[]) => any;
|
|
11
17
|
"create-prev": (row: TableRow) => any;
|
|
12
18
|
"create-next": (row: TableRow) => any;
|
|
13
19
|
"create-child": (row: TableRow) => any;
|
|
14
|
-
"update:rows": (rows: TableRow[]) => any;
|
|
15
|
-
"update:forest": (rows?: import("@cat-kit/core").Forest<Record<string, unknown>, any> | undefined) => any;
|
|
16
|
-
"cell-click": (row: TableRow, column: TableColumn, ev: MouseEvent) => any;
|
|
17
|
-
"row-click": (row: TableRow, ev: MouseEvent) => any;
|
|
18
20
|
}, string, import("vue").PublicProps, Readonly<BatchEditProps> & Readonly<{
|
|
19
21
|
"onUpdate:selected"?: ((value: Record<string, any> | undefined) => any) | undefined;
|
|
20
22
|
"onUpdate:checked"?: ((value: Record<string, any>[]) => any) | undefined;
|
|
21
23
|
"onUpdate:current"?: ((row?: TableRow | undefined) => any) | undefined;
|
|
24
|
+
"onUpdate:rows"?: ((rows: TableRow[]) => any) | undefined;
|
|
25
|
+
"onUpdate:forest"?: ((rows?: import("@cat-kit/core").Forest<Record<string, unknown>, any> | undefined) => any) | undefined;
|
|
26
|
+
"onCell-click"?: ((row: TableRow, column: TableColumn, ev: MouseEvent) => any) | undefined;
|
|
27
|
+
"onRow-click"?: ((row: TableRow, ev: MouseEvent) => any) | undefined;
|
|
22
28
|
onCreate?: (() => any) | undefined;
|
|
23
29
|
"onUpdate:data"?: ((value: Record<string, any>[]) => any) | undefined;
|
|
24
30
|
"onCreate-prev"?: ((row: TableRow) => any) | undefined;
|
|
25
31
|
"onCreate-next"?: ((row: TableRow) => any) | undefined;
|
|
26
32
|
"onCreate-child"?: ((row: TableRow) => any) | undefined;
|
|
27
|
-
"onUpdate:rows"?: ((rows: TableRow[]) => any) | undefined;
|
|
28
|
-
"onUpdate:forest"?: ((rows?: import("@cat-kit/core").Forest<Record<string, unknown>, any> | undefined) => any) | undefined;
|
|
29
|
-
"onCell-click"?: ((row: TableRow, column: TableColumn, ev: MouseEvent) => any) | undefined;
|
|
30
|
-
"onRow-click"?: ((row: TableRow, ev: MouseEvent) => any) | undefined;
|
|
31
33
|
}>, {
|
|
32
34
|
cols: string | [string, string];
|
|
33
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -39,5 +41,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
39
41
|
};
|
|
40
42
|
};
|
|
41
43
|
//#endregion
|
|
42
|
-
export { _default };
|
|
44
|
+
export { _default as default };
|
|
43
45
|
//# sourceMappingURL=batch-edit.vue.d.ts.map
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { defineBatchEditColumns } from "./helper.js";
|
|
1
|
+
import _default from "./batch-edit.vue.js";
|
|
2
|
+
import { defineBatchEditColumns } from "./helper.js";
|
|
3
|
+
export { _default as UBatchEdit, defineBatchEditColumns };
|
|
@@ -6,7 +6,7 @@ function useFeatures(options) {
|
|
|
6
6
|
staticFeatures: computed(() => {
|
|
7
7
|
const { features } = props;
|
|
8
8
|
if (Array.isArray(features)) return new Set(features);
|
|
9
|
-
const defaultFeatures = new Set([
|
|
9
|
+
const defaultFeatures = /* @__PURE__ */ new Set([
|
|
10
10
|
"create",
|
|
11
11
|
"delete",
|
|
12
12
|
"update",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-features.js","names":[],"sources":["../../../src/components/batch-edit/use-features.ts"],"sourcesContent":["import { computed } from 'vue'\n\nimport type { BatchEditFeature, BatchEditProps, TableRow } from '../../types'\n\ninterface Options {\n props: BatchEditProps\n}\nexport function useFeatures(options: Options) {\n const { props } = options\n const staticFeatures = computed(() => {\n const { features } = props\n\n if (Array.isArray(features)) {\n return new Set(features)\n }\n\n const defaultFeatures = new Set<BatchEditFeature>(['create', 'delete', 'update', 'createChild'])\n\n if (!features) {\n return defaultFeatures\n }\n\n // 函数与 false 的特性视为关闭;显式 true 视为开启(即便不在默认集合内)\n Object.entries(features).forEach(([key, value]) => {\n const k = key as BatchEditFeature\n if (typeof value === 'function' || value === false) {\n defaultFeatures.delete(k)\n } else if (value === true) {\n defaultFeatures.add(k)\n }\n })\n return defaultFeatures\n })\n\n const dynamicFeatures = computed<\n Record<BatchEditFeature, ((row?: TableRow) => boolean) | undefined>\n >(() => {\n const { features } = props\n if (!Array.isArray(features) && typeof features === 'object') {\n const ret = Object.entries(features)\n .filter(([_, value]) => {\n return typeof value === 'function'\n })\n .reduce(\n (acc, [key, value]) => {\n acc[key] = value\n return acc\n },\n {} as Record<BatchEditFeature, (row?: TableRow) => boolean>\n )\n return ret\n }\n\n return {} as Record<BatchEditFeature, ((row?: TableRow) => boolean) | undefined>\n })\n\n return { staticFeatures, dynamicFeatures }\n}\n"],"mappings":";;AAOA,SAAgB,YAAY,SAAkB;CAC5C,MAAM,EAAE,UAAU;CAgDlB,OAAO;EAAE,gBA/Cc,eAAe;GACpC,MAAM,EAAE,aAAa;GAErB,IAAI,MAAM,QAAQ,QAAQ,GACxB,OAAO,IAAI,IAAI,QAAQ;GAGzB,MAAM,
|
|
1
|
+
{"version":3,"file":"use-features.js","names":[],"sources":["../../../src/components/batch-edit/use-features.ts"],"sourcesContent":["import { computed } from 'vue'\n\nimport type { BatchEditFeature, BatchEditProps, TableRow } from '../../types'\n\ninterface Options {\n props: BatchEditProps\n}\nexport function useFeatures(options: Options) {\n const { props } = options\n const staticFeatures = computed(() => {\n const { features } = props\n\n if (Array.isArray(features)) {\n return new Set(features)\n }\n\n const defaultFeatures = new Set<BatchEditFeature>(['create', 'delete', 'update', 'createChild'])\n\n if (!features) {\n return defaultFeatures\n }\n\n // 函数与 false 的特性视为关闭;显式 true 视为开启(即便不在默认集合内)\n Object.entries(features).forEach(([key, value]) => {\n const k = key as BatchEditFeature\n if (typeof value === 'function' || value === false) {\n defaultFeatures.delete(k)\n } else if (value === true) {\n defaultFeatures.add(k)\n }\n })\n return defaultFeatures\n })\n\n const dynamicFeatures = computed<\n Record<BatchEditFeature, ((row?: TableRow) => boolean) | undefined>\n >(() => {\n const { features } = props\n if (!Array.isArray(features) && typeof features === 'object') {\n const ret = Object.entries(features)\n .filter(([_, value]) => {\n return typeof value === 'function'\n })\n .reduce(\n (acc, [key, value]) => {\n acc[key] = value\n return acc\n },\n {} as Record<BatchEditFeature, (row?: TableRow) => boolean>\n )\n return ret\n }\n\n return {} as Record<BatchEditFeature, ((row?: TableRow) => boolean) | undefined>\n })\n\n return { staticFeatures, dynamicFeatures }\n}\n"],"mappings":";;AAOA,SAAgB,YAAY,SAAkB;CAC5C,MAAM,EAAE,UAAU;CAgDlB,OAAO;EAAE,gBA/Cc,eAAe;GACpC,MAAM,EAAE,aAAa;GAErB,IAAI,MAAM,QAAQ,QAAQ,GACxB,OAAO,IAAI,IAAI,QAAQ;GAGzB,MAAM,kCAAkB,IAAI,IAAsB;IAAC;IAAU;IAAU;IAAU;GAAa,CAAC;GAE/F,IAAI,CAAC,UACH,OAAO;GAIT,OAAO,QAAQ,QAAQ,CAAC,CAAC,SAAS,CAAC,KAAK,WAAW;IACjD,MAAM,IAAI;IACV,IAAI,OAAO,UAAU,cAAc,UAAU,OAC3C,gBAAgB,OAAO,CAAC;SACnB,IAAI,UAAU,MACnB,gBAAgB,IAAI,CAAC;GAEzB,CAAC;GACD,OAAO;EACT,CAwBsB;EAAG,iBAtBD,eAEhB;GACN,MAAM,EAAE,aAAa;GACrB,IAAI,CAAC,MAAM,QAAQ,QAAQ,KAAK,OAAO,aAAa,UAYlD,OAXY,OAAO,QAAQ,QAAQ,CAAC,CACjC,QAAQ,CAAC,GAAG,WAAW;IACtB,OAAO,OAAO,UAAU;GAC1B,CAAC,CAAC,CACD,QACE,KAAK,CAAC,KAAK,WAAW;IACrB,IAAI,OAAO;IACX,OAAO;GACT,GACA,CAAC,CAEI;GAGX,OAAO,CAAC;EACV,CAEuC;CAAE;AAC3C"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BreadcrumbItem, BreadcrumbProps, BreadcrumbSlotScope } from "../../types/breadcrumb.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/breadcrumb/breadcrumb.vue.d.ts
|
|
3
4
|
type __VLS_Slots = {
|
|
4
5
|
item?: (scope: BreadcrumbSlotScope) => unknown;
|
|
@@ -19,5 +20,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
19
20
|
};
|
|
20
21
|
};
|
|
21
22
|
//#endregion
|
|
22
|
-
export { _default };
|
|
23
|
+
export { _default as default };
|
|
23
24
|
//# sourceMappingURL=breadcrumb.vue.d.ts.map
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _default from "./breadcrumb.vue.js";
|
|
2
|
+
export { _default as UBreadcrumb };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ButtonProps } from "../../types/button.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/button/button-group.vue.d.ts
|
|
3
4
|
type __VLS_Slots = {
|
|
4
5
|
default: (props: {
|
|
@@ -14,5 +15,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
14
15
|
};
|
|
15
16
|
};
|
|
16
17
|
//#endregion
|
|
17
|
-
export { _default };
|
|
18
|
+
export { _default as default };
|
|
18
19
|
//# sourceMappingURL=button-group.vue.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ButtonProps, _ButtonExposed } from "../../types/button.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/button/button.vue.d.ts
|
|
3
4
|
declare var __VLS_23: {};
|
|
4
5
|
type __VLS_Slots = {} & {
|
|
@@ -22,5 +23,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
22
23
|
};
|
|
23
24
|
};
|
|
24
25
|
//#endregion
|
|
25
|
-
export { _default };
|
|
26
|
+
export { _default as default };
|
|
26
27
|
//# sourceMappingURL=button.vue.d.ts.map
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import _default from "./button.vue.js";
|
|
2
|
+
import _default$1 from "./button-group.vue.js";
|
|
3
|
+
export { _default as UButton, _default$1 as UButtonGroup };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import "@veltra/directives/ripple/style.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CalendarProps } from "../../types/calendar.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/calendar/calendar.vue.d.ts
|
|
3
4
|
type __VLS_Props = CalendarProps;
|
|
4
5
|
type __VLS_ModelProps = {
|
|
@@ -12,5 +13,5 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
12
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
14
|
declare const _default: typeof __VLS_export;
|
|
14
15
|
//#endregion
|
|
15
|
-
export { _default };
|
|
16
|
+
export { _default as default };
|
|
16
17
|
//# sourceMappingURL=calendar.vue.d.ts.map
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _default from "./calendar.vue.js";
|
|
2
|
+
export { _default as UCalendar };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CardActionProps } from "../../types/card.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/card/card-action.vue.d.ts
|
|
3
4
|
declare var __VLS_1: {};
|
|
4
5
|
type __VLS_Slots = {} & {
|
|
@@ -13,5 +14,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
13
14
|
};
|
|
14
15
|
};
|
|
15
16
|
//#endregion
|
|
16
|
-
export { _default };
|
|
17
|
+
export { _default as default };
|
|
17
18
|
//# sourceMappingURL=card-action.vue.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CardContentProps } from "../../types/card.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/card/card-content.vue.d.ts
|
|
3
4
|
declare var __VLS_1: {};
|
|
4
5
|
type __VLS_Slots = {} & {
|
|
@@ -13,5 +14,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
13
14
|
};
|
|
14
15
|
};
|
|
15
16
|
//#endregion
|
|
16
|
-
export { _default };
|
|
17
|
+
export { _default as default };
|
|
17
18
|
//# sourceMappingURL=card-content.vue.d.ts.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { CardCoverProps } from "../../types/card.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/card/card-cover.vue.d.ts
|
|
3
4
|
declare const __VLS_export: import("vue").DefineComponent<CardCoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardCoverProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
5
|
declare const _default: typeof __VLS_export;
|
|
5
6
|
//#endregion
|
|
6
|
-
export { _default };
|
|
7
|
+
export { _default as default };
|
|
7
8
|
//# sourceMappingURL=card-cover.vue.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CardProps } from "../../types/card.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/card/card.vue.d.ts
|
|
3
4
|
declare var __VLS_1: {};
|
|
4
5
|
type __VLS_Slots = {} & {
|
|
@@ -13,5 +14,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
13
14
|
};
|
|
14
15
|
};
|
|
15
16
|
//#endregion
|
|
16
|
-
export { _default };
|
|
17
|
+
export { _default as default };
|
|
17
18
|
//# sourceMappingURL=card.vue.d.ts.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import _default from "./card.vue.js";
|
|
2
|
+
import _default$1 from "./card-header.vue.js";
|
|
3
|
+
import _default$2 from "./card-cover.vue.js";
|
|
4
|
+
import _default$3 from "./card-content.vue.js";
|
|
5
|
+
import _default$4 from "./card-action.vue.js";
|
|
6
|
+
export { _default as UCard, _default$4 as UCardAction, _default$3 as UCardContent, _default$2 as UCardCover, _default$1 as UCardHeader };
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { CascadeProps } from "../../types/cascade.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/cascade/cascade.vue.d.ts
|
|
3
4
|
declare const __VLS_export: import("vue").DefineComponent<CascadeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
5
|
"update:modelValue": (value?: string | string[] | undefined) => any;
|
|
5
|
-
change: (...args: [item?: Record<string, any> | undefined] | [items: Record<string, any>[]]) => any;
|
|
6
6
|
clear: () => any;
|
|
7
|
+
change: (...args: [item?: Record<string, any> | undefined] | [items: Record<string, any>[]]) => any;
|
|
7
8
|
"update:label": (label?: string | string[] | undefined) => any;
|
|
8
9
|
}, string, import("vue").PublicProps, Readonly<CascadeProps> & Readonly<{
|
|
9
10
|
"onUpdate:modelValue"?: ((value?: string | string[] | undefined) => any) | undefined;
|
|
10
|
-
onChange?: ((...args: [item?: Record<string, any> | undefined] | [items: Record<string, any>[]]) => any) | undefined;
|
|
11
11
|
onClear?: (() => any) | undefined;
|
|
12
|
+
onChange?: ((...args: [item?: Record<string, any> | undefined] | [items: Record<string, any>[]]) => any) | undefined;
|
|
12
13
|
"onUpdate:label"?: ((label?: string | string[] | undefined) => any) | undefined;
|
|
13
14
|
}>, {
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
readonly: boolean;
|
|
16
15
|
labelKey: string;
|
|
17
16
|
valueKey: string;
|
|
18
17
|
childrenKey: string;
|
|
@@ -20,11 +19,13 @@ declare const __VLS_export: import("vue").DefineComponent<CascadeProps, {}, {},
|
|
|
20
19
|
placeholder: string;
|
|
21
20
|
clearable: boolean;
|
|
22
21
|
filterable: boolean;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
readonly: boolean;
|
|
23
24
|
separator: string;
|
|
24
|
-
showFullPath: boolean;
|
|
25
25
|
visibilityLimit: number;
|
|
26
|
+
showFullPath: boolean;
|
|
26
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
28
|
declare const _default: typeof __VLS_export;
|
|
28
29
|
//#endregion
|
|
29
|
-
export { _default };
|
|
30
|
+
export { _default as default };
|
|
30
31
|
//# sourceMappingURL=cascade.vue.d.ts.map
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _default from "./cascade.vue.js";
|
|
2
|
+
export { _default as UCascade };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CheckTagProps } from "../../types/check-tag.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/check-tag/check-tag.vue.d.ts
|
|
3
4
|
declare var __VLS_1: {};
|
|
4
5
|
type __VLS_Slots = {} & {
|
|
@@ -17,5 +18,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
17
18
|
};
|
|
18
19
|
};
|
|
19
20
|
//#endregion
|
|
20
|
-
export { _default };
|
|
21
|
+
export { _default as default };
|
|
21
22
|
//# sourceMappingURL=check-tag.vue.d.ts.map
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _default from "./check-tag.vue.js";
|
|
2
|
+
export { _default as UCheckTag };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CheckboxButtonProps } from "../../types/checkbox.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/checkbox/checkbox-button.vue.d.ts
|
|
3
4
|
type __VLS_Props = CheckboxButtonProps;
|
|
4
5
|
type __VLS_Slots = {
|
|
@@ -17,9 +18,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
17
18
|
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
18
19
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
19
20
|
}>, {
|
|
21
|
+
type: import("@veltra/utils").ColorType;
|
|
20
22
|
disabled: boolean;
|
|
21
23
|
readonly: boolean;
|
|
22
|
-
type: import("@veltra/utils").ColorType;
|
|
23
24
|
round: boolean;
|
|
24
25
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -30,5 +31,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
30
31
|
};
|
|
31
32
|
};
|
|
32
33
|
//#endregion
|
|
33
|
-
export { _default };
|
|
34
|
+
export { _default as default };
|
|
34
35
|
//# sourceMappingURL=checkbox-button.vue.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CheckboxProps } from "../../types/checkbox.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/checkbox/checkbox.vue.d.ts
|
|
3
4
|
type __VLS_Props = CheckboxProps;
|
|
4
5
|
type __VLS_ModelProps = {
|
|
@@ -29,5 +30,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
29
30
|
};
|
|
30
31
|
};
|
|
31
32
|
//#endregion
|
|
32
|
-
export { _default };
|
|
33
|
+
export { _default as default };
|
|
33
34
|
//# sourceMappingURL=checkbox.vue.d.ts.map
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import _default from "./checkbox.vue.js";
|
|
2
|
+
import _default$1 from "./checkbox-button.vue.js";
|
|
3
|
+
export { _default as UCheckbox, _default$1 as UCheckboxButton };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import "@veltra/styles/transitions/zoom-in.scss";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CheckboxGroupProps } from "../../types/checkbox-group.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/checkbox-group/checkbox-group.vue.d.ts
|
|
3
4
|
type __VLS_Props = CheckboxGroupProps;
|
|
4
5
|
type __VLS_ModelProps = {
|
|
@@ -12,12 +13,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
12
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
14
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
14
15
|
}>, {
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
readonly: boolean;
|
|
17
16
|
labelKey: string;
|
|
18
17
|
valueKey: string;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
readonly: boolean;
|
|
19
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
21
|
declare const _default: typeof __VLS_export;
|
|
21
22
|
//#endregion
|
|
22
|
-
export { _default };
|
|
23
|
+
export { _default as default };
|
|
23
24
|
//# sourceMappingURL=checkbox-group.vue.d.ts.map
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _default from "./checkbox-group.vue.js";
|
|
2
|
+
export { _default as UCheckboxGroup };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import "../checkbox/style.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CodeEditorLang, CodeEditorProps } from "../../types/code-editor.js";
|
|
2
|
+
import "../../types/index.js";
|
|
2
3
|
//#region src/components/code-editor/code-editor.vue.d.ts
|
|
3
4
|
type __VLS_Props = CodeEditorProps;
|
|
4
5
|
type __VLS_ModelProps = {
|
|
@@ -11,12 +12,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
11
12
|
"update:lang": (value: CodeEditorLang | undefined) => any;
|
|
12
13
|
} & {
|
|
13
14
|
"update:modelValue": (value: string) => any;
|
|
14
|
-
"update:lang": (value: CodeEditorLang | undefined) => any;
|
|
15
15
|
change: (value: string) => any;
|
|
16
|
+
"update:lang": (value: CodeEditorLang | undefined) => any;
|
|
16
17
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
18
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
-
"onUpdate:lang"?: ((value: CodeEditorLang | undefined) => any) | undefined;
|
|
19
19
|
onChange?: ((value: string) => any) | undefined;
|
|
20
|
+
"onUpdate:lang"?: ((value: CodeEditorLang | undefined) => any) | undefined;
|
|
20
21
|
}>, {
|
|
21
22
|
disabled: boolean;
|
|
22
23
|
readonly: boolean;
|
|
@@ -25,5 +26,5 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
25
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
27
|
declare const _default: typeof __VLS_export;
|
|
27
28
|
//#endregion
|
|
28
|
-
export { _default };
|
|
29
|
+
export { _default as default };
|
|
29
30
|
//# sourceMappingURL=code-editor.vue.d.ts.map
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _default from "./code-editor.vue.js";
|
|
2
|
+
export { _default as UCodeEditor };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StreamLanguage } from "../../../../node_modules/.bun/@codemirror_language@6.12.4/node_modules/@codemirror/language/dist/index.js";
|
|
2
2
|
//#region src/components/code-editor/langs/spel/language.ts
|
|
3
|
-
const KEYWORDS = new Set([
|
|
3
|
+
const KEYWORDS = /* @__PURE__ */ new Set([
|
|
4
4
|
"new",
|
|
5
5
|
"instanceof",
|
|
6
6
|
"matches",
|
|
@@ -15,7 +15,7 @@ const KEYWORDS = new Set([
|
|
|
15
15
|
"gt",
|
|
16
16
|
"ge"
|
|
17
17
|
]);
|
|
18
|
-
const BOOL_LITERALS = new Set(["true", "false"]);
|
|
18
|
+
const BOOL_LITERALS = /* @__PURE__ */ new Set(["true", "false"]);
|
|
19
19
|
/** 多字符运算符,按长度优先匹配 */
|
|
20
20
|
const OPERATORS = [
|
|
21
21
|
"?.",
|