@veltra/desktop 1.15.0 → 1.15.2
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/_virtual/_rolldown/runtime.js +1 -2
- package/dist/components/action/action-group.js +1 -2
- package/dist/components/action/action-group.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/action/action.js +1 -2
- package/dist/components/action/di.js +1 -2
- package/dist/components/ai-button/ai-button.js +1 -2
- package/dist/components/alert/alert.js +32 -30
- package/dist/components/alert/alert.js.map +1 -1
- package/dist/components/alert/style.d.ts +1 -1
- package/dist/components/alert/style.js +1 -0
- package/dist/components/alert/style2.css +5 -1
- package/dist/components/anchor/anchor-item.js +1 -2
- package/dist/components/anchor/anchor.js +1 -2
- package/dist/components/anchor/di.js +1 -2
- package/dist/components/anchor/use-anchor.js +1 -2
- package/dist/components/auto-complete/auto-complete.js +1 -2
- package/dist/components/auto-complete/style2.css +1 -0
- package/dist/components/auto-complete/use-keyboard.js +1 -2
- package/dist/components/auto-complete/use-suggestions.js +1 -2
- package/dist/components/avatar/avatar-group.js +1 -2
- package/dist/components/avatar/avatar.js +1 -2
- package/dist/components/back-top/back-top.js +1 -2
- package/dist/components/back-top/style2.css +11 -2
- package/dist/components/badge/badge.js +16 -17
- package/dist/components/badge/badge.js.map +1 -1
- package/dist/components/badge/style2.css +10 -1
- package/dist/components/batch-edit/batch-edit-form.js +109 -99
- package/dist/components/batch-edit/batch-edit-form.js.map +1 -1
- package/dist/components/batch-edit/batch-edit-list.js +1 -2
- package/dist/components/batch-edit/batch-edit.js +12 -7
- package/dist/components/batch-edit/batch-edit.js.map +1 -1
- package/dist/components/batch-edit/di.js +1 -2
- package/dist/components/batch-edit/form-action-header.js +1 -2
- package/dist/components/batch-edit/helper.d.ts +0 -2
- package/dist/components/batch-edit/helper.js +1 -2
- package/dist/components/batch-edit/style2.css +25 -1
- package/dist/components/batch-edit/use-dialog-effect.js +1 -2
- package/dist/components/batch-edit/use-edit-state.js +1 -2
- package/dist/components/batch-edit/use-features.js +1 -2
- package/dist/components/batch-edit/use-handlers.js +1 -2
- package/dist/components/batch-edit/use-shortcut-key.js +1 -2
- package/dist/components/breadcrumb/breadcrumb.js +1 -2
- package/dist/components/breadcrumb/style2.css +4 -1
- package/dist/components/button/button-group.js +1 -2
- package/dist/components/button/button.js +1 -2
- package/dist/components/button/style2.css +3 -2
- package/dist/components/calendar/calendar.js +1 -2
- package/dist/components/calendar/utils.js +1 -2
- package/dist/components/card/card-action.js +1 -2
- package/dist/components/card/card-content.js +1 -2
- package/dist/components/card/card-cover.js +1 -2
- package/dist/components/card/card-header.js +1 -2
- package/dist/components/card/card.js +1 -2
- package/dist/components/card/di.js +1 -2
- package/dist/components/carousel/carousel-item.js +1 -2
- package/dist/components/carousel/carousel.js +6 -5
- package/dist/components/carousel/carousel.js.map +1 -1
- package/dist/components/carousel/di.js +1 -2
- package/dist/components/carousel/style2.css +7 -1
- package/dist/components/carousel/use-carousel.js +17 -4
- package/dist/components/carousel/use-carousel.js.map +1 -1
- package/dist/components/cascade/cascade-panel-item.js +1 -2
- package/dist/components/cascade/cascade.js +1 -2
- package/dist/components/cascade/di.js +1 -2
- package/dist/components/cascade/node.js +1 -2
- package/dist/components/cascade/style2.css +16 -0
- package/dist/components/cascade/use-check.js +1 -2
- package/dist/components/cascade/use-data-map.js +1 -2
- package/dist/components/cascade/use-select.js +1 -2
- package/dist/components/check-tag/check-tag.js +12 -7
- package/dist/components/check-tag/check-tag.js.map +1 -1
- package/dist/components/check-tag/style2.css +10 -0
- package/dist/components/checkbox/checkbox-button.js +9 -5
- package/dist/components/checkbox/checkbox-button.js.map +1 -1
- package/dist/components/checkbox/checkbox.js +6 -11
- package/dist/components/checkbox/checkbox.js.map +1 -1
- package/dist/components/checkbox/style2.css +32 -2
- package/dist/components/checkbox-group/checkbox-group.js +1 -2
- package/dist/components/chip/chip.js +1 -2
- package/dist/components/chip/style2.css +4 -0
- package/dist/components/chip-group/chip-group.js +1 -2
- package/dist/components/chip-group/reveal.js +1 -2
- package/dist/components/code-editor/basic-setup.js +1 -2
- package/dist/components/code-editor/code-editor.js +27 -5
- package/dist/components/code-editor/code-editor.js.map +1 -1
- package/dist/components/code-editor/lang-loaders.js +1 -2
- package/dist/components/code-editor/langs/bash/index.js +1 -2
- package/dist/components/code-editor/langs/powershell/index.js +1 -2
- package/dist/components/code-editor/langs/spel/completion.js +0 -1
- package/dist/components/code-editor/langs/spel/index.js +1 -2
- package/dist/components/code-editor/langs/spel/language.js +1 -2
- package/dist/components/code-editor/shell-extension.js +1 -2
- package/dist/components/code-editor/style2.css +38 -3
- package/dist/components/collapse/collapse-item.js +5 -3
- package/dist/components/collapse/collapse-item.js.map +1 -1
- package/dist/components/collapse/collapse.js +2 -3
- package/dist/components/collapse/collapse.js.map +1 -1
- package/dist/components/collapse/di.js +1 -2
- package/dist/components/collapse/style2.css +6 -3
- package/dist/components/condition-editor/components/condition-group.js +1 -2
- package/dist/components/condition-editor/components/condition-row.js +1 -2
- package/dist/components/condition-editor/condition-editor.js +1 -2
- package/dist/components/condition-editor/core/evaluator.d.ts +0 -2
- package/dist/components/condition-editor/core/evaluator.js +1 -2
- package/dist/components/condition-editor/core/operators.js +1 -2
- package/dist/components/condition-editor/style2.css +24 -6
- package/dist/components/contextmenu/api.d.ts +0 -2
- package/dist/components/contextmenu/api.js +1 -2
- package/dist/components/contextmenu/contextmenu-item.js +1 -2
- package/dist/components/contextmenu/contextmenu-panel.js +1 -2
- package/dist/components/contextmenu/contextmenu-sub.js +14 -9
- package/dist/components/contextmenu/contextmenu-sub.js.map +1 -1
- package/dist/components/contextmenu/contextmenu.js +1 -2
- package/dist/components/contextmenu/di.d.ts +0 -2
- package/dist/components/contextmenu/di.js +1 -2
- package/dist/components/contextmenu/helper.js +1 -2
- package/dist/components/contextmenu/style2.css +14 -1
- package/dist/components/date-panel/date-panel.js +1 -2
- package/dist/components/date-panel/di.js +1 -2
- package/dist/components/date-panel/headers/day.js +1 -2
- package/dist/components/date-panel/headers/month.js +1 -2
- package/dist/components/date-panel/headers/year.js +1 -2
- package/dist/components/date-panel/panels/day.js +1 -2
- package/dist/components/date-panel/panels/month.js +1 -2
- package/dist/components/date-panel/panels/year.js +1 -2
- package/dist/components/date-panel/style2.css +9 -1
- package/dist/components/date-panel/use-date-select.js +1 -2
- package/dist/components/date-panel/use-panel-date.js +1 -2
- package/dist/components/date-panel/use-panel.js +1 -2
- package/dist/components/date-picker/date-picker.js +1 -2
- package/dist/components/date-range-picker/date-range-picker.js +1 -2
- package/dist/components/descriptions/descriptions-item.js +1 -2
- package/dist/components/descriptions/descriptions.js +1 -2
- package/dist/components/dialog/di.js +1 -2
- package/dist/components/dialog/dialog.js +1 -2
- package/dist/components/dialog/style2.css +5 -1
- package/dist/components/dialog/use-maximum.js +7 -2
- package/dist/components/dialog/use-maximum.js.map +1 -1
- package/dist/components/divider/divider.js +1 -2
- package/dist/components/drawer/drawer.js +1 -2
- package/dist/components/drawer/style2.css +4 -0
- package/dist/components/dropdown/dropdown.js +1 -2
- package/dist/components/dual-nav/dual-nav-app.js +1 -2
- package/dist/components/dual-nav/dual-nav.js +1 -2
- package/dist/components/dual-nav/helper.js +1 -2
- package/dist/components/dual-nav/style2.css +5 -2
- package/dist/components/empty/empty.js +1 -2
- package/dist/components/expression-editor/components/path-preview.js +1 -2
- package/dist/components/expression-editor/components/variable-picker.js +1 -2
- package/dist/components/expression-editor/core/chip.js +1 -2
- package/dist/components/expression-editor/core/editor.js +1 -2
- package/dist/components/expression-editor/core/mention.js +1 -2
- package/dist/components/expression-editor/core/model.js +1 -2
- package/dist/components/expression-editor/di.js +1 -2
- package/dist/components/expression-editor/expression-editor.js +1 -2
- package/dist/components/expression-editor/style2.css +17 -5
- package/dist/components/file-picker/file-picker.js +1 -2
- package/dist/components/file-picker/helper.js +1 -2
- package/dist/components/file-viewer/file-viewer-toolbar.js +1 -2
- package/dist/components/file-viewer/file-viewer.js +1 -2
- package/dist/components/file-viewer/helper.js +1 -2
- package/dist/components/file-viewer/previewers/docx-previewer.js +1 -2
- package/dist/components/file-viewer/previewers/image-previewer.js +1 -2
- package/dist/components/file-viewer/previewers/ofd-previewer.js +3 -2
- package/dist/components/file-viewer/previewers/ofd-previewer.js.map +1 -1
- package/dist/components/file-viewer/previewers/pdf-polyfill.js +35 -3
- package/dist/components/file-viewer/previewers/pdf-polyfill.js.map +1 -1
- package/dist/components/file-viewer/previewers/pdf-previewer.js +1 -2
- package/dist/components/file-viewer/previewers/pdf-previewer.js.map +1 -1
- package/dist/components/file-viewer/previewers/pdf-worker-wrapper.js +36 -5
- package/dist/components/file-viewer/previewers/pdf-worker-wrapper.js.map +1 -1
- package/dist/components/file-viewer/previewers/sheet-previewer.js +1 -2
- package/dist/components/file-viewer/previewers/text-previewer.js +1 -2
- package/dist/components/file-viewer/previewers/video-previewer.js +1 -2
- package/dist/components/file-viewer/style2.css +8 -2
- package/dist/components/float-button/float-button.js +2 -3
- package/dist/components/float-button/float-button.js.map +1 -1
- package/dist/components/float-button/style2.css +2 -3
- package/dist/components/form/form.js +1 -2
- package/dist/components/form/form.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/form/is-field-modified.js +1 -2
- package/dist/components/form/use-form-fields.js +1 -2
- package/dist/components/form/use-node-interceptor.js +1 -2
- package/dist/components/form-item/form-item.js +1 -2
- package/dist/components/form-item/form-item.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/form-item/helper.js +1 -2
- package/dist/components/form-item/style2.css +13 -1
- package/dist/components/form-item/validate.js +1 -2
- package/dist/components/gantt-chart/gantt-chart.js +1 -2
- package/dist/components/grid/breakpoint.js +0 -1
- package/dist/components/grid/di.js +1 -2
- package/dist/components/grid/grid-item.js +1 -2
- package/dist/components/grid/grid.js +1 -2
- package/dist/components/grid/use-responsive.js +1 -2
- package/dist/components/grid-input/grid-input.js +1 -2
- package/dist/components/grid-input/style2.css +15 -3
- package/dist/components/group-input/group-input.js +1 -2
- package/dist/components/group-input/use-group-items.js +1 -2
- package/dist/components/group-nav/group-nav-item.js +1 -2
- package/dist/components/group-nav/group-nav.js +1 -2
- package/dist/components/group-nav/style2.css +16 -7
- package/dist/components/icon/icon.js +1 -2
- package/dist/components/icon/style2.css +1 -1
- package/dist/components/image-cropper/draw-crop.js +1 -2
- package/dist/components/image-cropper/image-cropper.js +1 -2
- package/dist/components/image-cropper/style2.css +4 -1
- package/dist/components/image-cropper/use-image-loader.js +1 -2
- package/dist/components/image-cropper/use-preview.js +1 -2
- package/dist/components/image-cropper/use-selection.js +1 -2
- package/dist/components/image-cropper/use-transform.js +1 -2
- package/dist/components/image-previewer/image-previewer.js +15 -4
- package/dist/components/image-previewer/image-previewer.js.map +1 -1
- package/dist/components/image-previewer/style.d.ts +1 -1
- package/dist/components/image-previewer/style.js +1 -0
- package/dist/components/image-previewer/style2.css +9 -14
- package/dist/components/index.js +1 -2
- package/dist/components/input/input.js +1 -2
- package/dist/components/input/input.js.map +1 -1
- package/dist/components/input/input.vue_vue_type_script_setup_true_lang.js +5 -6
- package/dist/components/input/input.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/input/style2.css +13 -1
- package/dist/components/kanban/di.js +1 -2
- package/dist/components/kanban/kanban-column.js +2 -2
- package/dist/components/kanban/kanban-column.js.map +1 -1
- package/dist/components/kanban/kanban.js +1 -2
- package/dist/components/kanban/style2.css +6 -2
- package/dist/components/kbd/kbd.js +1 -2
- package/dist/components/layout/di.js +1 -2
- package/dist/components/layout/layout-resizer.js +9 -3
- package/dist/components/layout/layout-resizer.js.map +1 -1
- package/dist/components/layout/layout.js +12 -3
- package/dist/components/layout/layout.js.map +1 -1
- package/dist/components/layout/style2.css +22 -0
- package/dist/components/list/list-item.js +1 -2
- package/dist/components/list/list.js +1 -2
- package/dist/components/loading/directive.d.ts +0 -2
- package/dist/components/loading/directive.js +1 -2
- package/dist/components/loading/loading.js +1 -2
- package/dist/components/loading/style2.css +26 -7
- package/dist/components/message/helper.js +1 -2
- package/dist/components/message/message-box.js +1 -2
- package/dist/components/message/message.d.ts +0 -2
- package/dist/components/message/message.js +1 -2
- package/dist/components/message/message2.js +1 -2
- package/dist/components/message/style2.css +18 -2
- package/dist/components/message-confirm/message-confirm-box.js +1 -2
- package/dist/components/message-confirm/message-confirm.d.ts +0 -2
- package/dist/components/message-confirm/message-confirm.js +1 -2
- package/dist/components/message-confirm/message-confirm2.js +1 -2
- package/dist/components/message-confirm/style2.css +11 -0
- package/dist/components/multi-select/di.js +1 -2
- package/dist/components/multi-select/multi-select-option.js +1 -2
- package/dist/components/multi-select/multi-select.js +22 -20
- package/dist/components/multi-select/multi-select.js.map +1 -1
- package/dist/components/multi-select/style2.css +13 -0
- package/dist/components/multi-tree-select/multi-tree-select.js +1 -2
- package/dist/components/nav/di.js +1 -2
- package/dist/components/nav/helper.js +1 -2
- package/dist/components/nav/nav-icon.js +1 -2
- package/dist/components/nav/nav-item-collapsed.js +1 -2
- package/dist/components/nav/nav-item.js +1 -2
- package/dist/components/nav/nav-sub-collapsed.js +1 -2
- package/dist/components/nav/nav-sub.js +9 -4
- package/dist/components/nav/nav-sub.js.map +1 -1
- package/dist/components/nav/nav.js +1 -2
- package/dist/components/nav/style2.css +50 -26
- package/dist/components/nav/use-nav-item.js +1 -2
- package/dist/components/nav/walk-nav-path.js +1 -2
- package/dist/components/node-render/node-render.d.ts +0 -2
- package/dist/components/node-render/node-render.js +1 -2
- package/dist/components/notification/notification-box.js +1 -2
- package/dist/components/notification/notification.d.ts +0 -2
- package/dist/components/notification/notification.js +1 -2
- package/dist/components/notification/notification2.js +1 -2
- package/dist/components/notification/style2.css +21 -0
- package/dist/components/number/number.js +1 -2
- package/dist/components/number-input/number-input.js +1 -2
- package/dist/components/number-input/style2.css +5 -2
- package/dist/components/number-range-input/number-range-input.js +1 -2
- package/dist/components/paginator/paginator.js +1 -2
- package/dist/components/paginator/style2.css +1 -0
- package/dist/components/palette/color-transform.js +1 -2
- package/dist/components/palette/di.js +1 -2
- package/dist/components/palette/palette-alpha.js +1 -2
- package/dist/components/palette/palette-color-switch.js +1 -2
- package/dist/components/palette/palette-hue.js +1 -2
- package/dist/components/palette/palette-sv.js +1 -2
- package/dist/components/palette/palette.js +1 -2
- package/dist/components/palette/use-hsv.js +1 -2
- package/dist/components/password-input/password-input.js +1 -2
- package/dist/components/password-input/style2.css +10 -1
- package/dist/components/pop-confirm/pop-confirm.js +2 -3
- package/dist/components/pop-confirm/pop-confirm.js.map +1 -1
- package/dist/components/progress/progress.js +1 -2
- package/dist/components/progress/style2.css +2 -2
- package/dist/components/progress-nodes/progress-nodes.js +1 -2
- package/dist/components/progress-nodes/style2.css +3 -3
- package/dist/components/radio/radio.js +2 -6
- package/dist/components/radio/radio.js.map +1 -1
- package/dist/components/radio/style2.css +11 -1
- package/dist/components/radio-group/radio-group.js +1 -2
- package/dist/components/rate/rate.js +1 -2
- package/dist/components/rate/style2.css +7 -0
- package/dist/components/rich-text-editor/image-node.js +1 -2
- package/dist/components/rich-text-editor/rich-text-editor.js +1 -2
- package/dist/components/rich-text-editor/style2.css +6 -3
- package/dist/components/rich-text-editor/toolbar.js +1 -2
- package/dist/components/rich-text-editor/use-image-resize.js +1 -2
- package/dist/components/scroll/di.js +1 -2
- package/dist/components/scroll/scroll-bar.js +1 -2
- package/dist/components/scroll/scroll.js +1 -2
- package/dist/components/scroll/style2.css +2 -2
- package/dist/components/segment/segment.js +6 -3
- package/dist/components/segment/segment.js.map +1 -1
- package/dist/components/segment/style2.css +6 -0
- package/dist/components/select/select.js +6 -3
- package/dist/components/select/select.js.map +1 -1
- package/dist/components/select/style2.css +11 -1
- package/dist/components/select/use-keyboard.js +1 -2
- package/dist/components/select/use-options.js +1 -2
- package/dist/components/skeleton/skeleton.js +1 -2
- package/dist/components/slider/di.js +1 -2
- package/dist/components/slider/slider-thumb.js +1 -2
- package/dist/components/slider/slider.js +1 -2
- package/dist/components/slider/use-slider.js +1 -2
- package/dist/components/space/space.js +1 -2
- package/dist/components/steps/steps.js +1 -2
- package/dist/components/steps/style2.css +21 -2
- package/dist/components/switch/style2.css +10 -2
- package/dist/components/switch/switch.js +1 -2
- package/dist/components/table/allocate-column-widths.js +1 -2
- package/dist/components/table/di.js +1 -2
- package/dist/components/table/node/col.js +1 -2
- package/dist/components/table/node/row.js +1 -2
- package/dist/components/table/style2.css +20 -7
- package/dist/components/table/table-body.js +1 -2
- package/dist/components/table/table-cell.js +1 -2
- package/dist/components/table/table-foot.js +1 -2
- package/dist/components/table/table-head.js +1 -2
- package/dist/components/table/table-row.js +1 -2
- package/dist/components/table/table.js +1 -2
- package/dist/components/table/use-check.js +1 -2
- package/dist/components/table/use-col-resize.js +1 -2
- package/dist/components/table/use-columns.d.ts +0 -2
- package/dist/components/table/use-columns.js +1 -2
- package/dist/components/table/use-fixed-columns.js +1 -2
- package/dist/components/table/use-rows.js +1 -2
- package/dist/components/table/use-table.js +1 -2
- package/dist/components/table-editor/table-editor.js +1 -2
- package/dist/components/tabs/style2.css +9 -3
- package/dist/components/tabs/tabs-horizontal.js +1 -2
- package/dist/components/tabs/tabs-vertical.js +1 -2
- package/dist/components/tabs/tabs.js +1 -2
- package/dist/components/tabs/use-tabs-bar.js +1 -2
- package/dist/components/tag/style2.css +16 -7
- package/dist/components/tag/tag.js +1 -2
- package/dist/components/text/text.js +1 -2
- package/dist/components/textarea/style2.css +9 -1
- package/dist/components/textarea/textarea.js +1 -2
- package/dist/components/textarea/utils.js +1 -2
- package/dist/components/theme/schema.js +1 -2
- package/dist/components/theme/style2.css +38 -29
- package/dist/components/theme/theme.js +1 -2
- package/dist/components/time-picker/style2.css +4 -1
- package/dist/components/time-picker/time-picker.js +1 -2
- package/dist/components/timeline/timeline-item.js +1 -2
- package/dist/components/timeline/timeline.js +1 -2
- package/dist/components/tip/style2.css +11 -0
- package/dist/components/tip/tip.js +1 -2
- package/dist/components/tip/use-nest.js +1 -2
- package/dist/components/transfer/style2.css +21 -1
- package/dist/components/transfer/transfer-list.js +21 -19
- package/dist/components/transfer/transfer-list.js.map +1 -1
- package/dist/components/transfer/transfer.js +1 -2
- package/dist/components/tree/di.js +1 -2
- package/dist/components/tree/style2.css +5 -2
- package/dist/components/tree/tree-node.js +1 -2
- package/dist/components/tree/tree-node2.js +1 -2
- package/dist/components/tree/tree.js +1 -2
- package/dist/components/tree/use-check.js +1 -2
- package/dist/components/tree/use-filter.js +1 -2
- package/dist/components/tree/use-select.js +1 -2
- package/dist/components/tree/use-tree-nodes.js +1 -2
- package/dist/components/tree-select/tree-select.js +1 -2
- package/dist/components/watermark/watermark.js +1 -2
- package/dist/composables/use-overlay.js +1 -2
- package/dist/install.d.ts +0 -2
- package/dist/install.js +1 -2
- package/dist/node_modules/.bun/@codemirror_autocomplete@6.20.3/node_modules/@codemirror/autocomplete/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_commands@6.11.1/node_modules/@codemirror/commands/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_lang-css@6.3.1/node_modules/@codemirror/lang-css/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_lang-html@6.4.12/node_modules/@codemirror/lang-html/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_lang-java@6.0.2/node_modules/@codemirror/lang-java/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_lang-javascript@6.2.5/node_modules/@codemirror/lang-javascript/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_lang-json@6.0.2/node_modules/@codemirror/lang-json/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_lang-markdown@6.5.2/node_modules/@codemirror/lang-markdown/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_lang-sql@6.10.0/node_modules/@codemirror/lang-sql/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_language@6.13.1/node_modules/@codemirror/language/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/powershell.js +1 -2
- package/dist/node_modules/.bun/@codemirror_legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/shell.js +1 -2
- package/dist/node_modules/.bun/@codemirror_lint@6.9.7/node_modules/@codemirror/lint/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_search@6.7.2/node_modules/@codemirror/search/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_state@6.7.6/node_modules/@codemirror/state/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_streamparser@6.0.0/node_modules/@codemirror/streamparser/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_theme-one-dark@6.1.3/node_modules/@codemirror/theme-one-dark/dist/index.js +1 -2
- package/dist/node_modules/.bun/@codemirror_view@6.43.14/node_modules/@codemirror/view/dist/index.js +1 -2
- package/dist/node_modules/.bun/@lezer_common@1.5.3/node_modules/@lezer/common/dist/index.js +1 -2
- package/dist/node_modules/.bun/@lezer_css@1.3.9/node_modules/@lezer/css/dist/index.js +1 -2
- package/dist/node_modules/.bun/@lezer_highlight@1.2.5/node_modules/@lezer/highlight/dist/index.js +1 -2
- package/dist/node_modules/.bun/@lezer_html@1.3.13/node_modules/@lezer/html/dist/index.js +1 -2
- package/dist/node_modules/.bun/@lezer_java@1.1.5/node_modules/@lezer/java/dist/index.js +1 -2
- package/dist/node_modules/.bun/@lezer_javascript@1.5.6/node_modules/@lezer/javascript/dist/index.js +1 -2
- package/dist/node_modules/.bun/@lezer_json@1.0.3/node_modules/@lezer/json/dist/index.js +1 -2
- package/dist/node_modules/.bun/@lezer_lr@1.4.11/node_modules/@lezer/lr/dist/index.js +1 -2
- package/dist/node_modules/.bun/@lezer_markdown@1.8.0/node_modules/@lezer/markdown/dist/index.js +1 -2
- package/dist/node_modules/.bun/@marijn_find-cluster-break@1.0.4/node_modules/@marijn/find-cluster-break/src/index.js +1 -2
- package/dist/node_modules/.bun/crelt@1.0.7/node_modules/crelt/index.js +1 -2
- package/dist/node_modules/.bun/style-mod@4.1.4/node_modules/style-mod/src/style-mod.js +1 -2
- package/dist/node_modules/.bun/w3c-keyname@2.2.8/node_modules/w3c-keyname/index.js +1 -2
- package/dist/packages/ofd-core/dist/color.js +1 -2
- package/dist/packages/ofd-core/dist/color.js.map +1 -1
- package/dist/packages/ofd-core/dist/ctm.js +1 -2
- package/dist/packages/ofd-core/dist/ctm.js.map +1 -1
- package/dist/packages/ofd-core/dist/error.js +1 -2
- package/dist/packages/ofd-core/dist/error.js.map +1 -1
- package/dist/packages/ofd-core/dist/font.js +1 -2
- package/dist/packages/ofd-core/dist/font.js.map +1 -1
- package/dist/packages/ofd-core/dist/inflate.js +367 -0
- package/dist/packages/ofd-core/dist/inflate.js.map +1 -0
- package/dist/packages/ofd-core/dist/number.js +1 -2
- package/dist/packages/ofd-core/dist/number.js.map +1 -1
- package/dist/packages/ofd-core/dist/page-objects.js +1 -2
- package/dist/packages/ofd-core/dist/page-objects.js.map +1 -1
- package/dist/packages/ofd-core/dist/parse.js +1 -2
- package/dist/packages/ofd-core/dist/parse.js.map +1 -1
- package/dist/packages/ofd-core/dist/render.js +1 -2
- package/dist/packages/ofd-core/dist/render.js.map +1 -1
- package/dist/packages/ofd-core/dist/xml.js +1 -2
- package/dist/packages/ofd-core/dist/xml.js.map +1 -1
- package/dist/packages/ofd-core/dist/zip.js +22 -5
- package/dist/packages/ofd-core/dist/zip.js.map +1 -1
- package/dist/types/action.d.ts +0 -2
- package/dist/types/ai-button.d.ts +0 -2
- package/dist/types/alert.d.ts +0 -2
- package/dist/types/anchor.d.ts +0 -2
- package/dist/types/animation.d.ts +0 -2
- package/dist/types/auto-complete.d.ts +0 -2
- package/dist/types/avatar.d.ts +0 -2
- package/dist/types/back-top.d.ts +0 -2
- package/dist/types/badge.d.ts +0 -2
- package/dist/types/batch-edit.d.ts +0 -2
- package/dist/types/breadcrumb.d.ts +0 -2
- package/dist/types/button.d.ts +0 -2
- package/dist/types/calendar.d.ts +0 -2
- package/dist/types/card.d.ts +0 -2
- package/dist/types/carousel.d.ts +0 -2
- package/dist/types/cascade.d.ts +0 -2
- package/dist/types/check-tag.d.ts +0 -2
- package/dist/types/checkbox-group.d.ts +0 -2
- package/dist/types/checkbox.d.ts +0 -2
- package/dist/types/chip-group.d.ts +0 -2
- package/dist/types/chip.d.ts +0 -2
- package/dist/types/code-editor.d.ts +0 -2
- package/dist/types/collapse.d.ts +0 -2
- package/dist/types/condition-editor.d.ts +0 -2
- package/dist/types/contextmenu.d.ts +0 -2
- package/dist/types/css-transition.d.ts +0 -2
- package/dist/types/date-panel.d.ts +0 -2
- package/dist/types/date-picker.d.ts +0 -2
- package/dist/types/date-range-picker.d.ts +0 -2
- package/dist/types/descriptions.d.ts +0 -2
- package/dist/types/dialog.d.ts +0 -2
- package/dist/types/divider.d.ts +0 -2
- package/dist/types/drawer.d.ts +0 -2
- package/dist/types/dropdown.d.ts +0 -2
- package/dist/types/dual-nav.d.ts +0 -2
- package/dist/types/empty.d.ts +0 -2
- package/dist/types/expression-editor.d.ts +0 -2
- package/dist/types/file-picker.d.ts +0 -2
- package/dist/types/file-viewer.d.ts +0 -2
- package/dist/types/float-button.d.ts +0 -2
- package/dist/types/form-item.d.ts +0 -2
- package/dist/types/form.d.ts +0 -2
- package/dist/types/gantt-chart.d.ts +0 -2
- package/dist/types/grid-input.d.ts +0 -2
- package/dist/types/grid.d.ts +0 -2
- package/dist/types/group-input.d.ts +0 -2
- package/dist/types/group-nav.d.ts +0 -2
- package/dist/types/icon.d.ts +0 -2
- package/dist/types/image-cropper.d.ts +0 -2
- package/dist/types/image-previewer.d.ts +0 -2
- package/dist/types/input.d.ts +0 -2
- package/dist/types/kanban.d.ts +0 -2
- package/dist/types/layout.d.ts +0 -2
- package/dist/types/list.d.ts +0 -2
- package/dist/types/loading.d.ts +0 -2
- package/dist/types/message-confirm.d.ts +0 -2
- package/dist/types/message.d.ts +0 -2
- package/dist/types/multi-auto-complete.d.ts +0 -2
- package/dist/types/multi-select.d.ts +0 -2
- package/dist/types/multi-tree-select.d.ts +0 -2
- package/dist/types/nav.d.ts +0 -2
- package/dist/types/node-render.d.ts +0 -2
- package/dist/types/notification.d.ts +0 -2
- package/dist/types/number-input.d.ts +0 -2
- package/dist/types/number-range-input.d.ts +0 -2
- package/dist/types/number.d.ts +0 -2
- package/dist/types/paginator.d.ts +0 -2
- package/dist/types/palette.d.ts +0 -2
- package/dist/types/password-input.d.ts +0 -2
- package/dist/types/pop-confirm.d.ts +0 -2
- package/dist/types/pop.d.ts +0 -2
- package/dist/types/progress-nodes.d.ts +0 -2
- package/dist/types/progress.d.ts +0 -2
- package/dist/types/quick-batch-edit.d.ts +0 -2
- package/dist/types/radio-group.d.ts +0 -2
- package/dist/types/radio.d.ts +0 -2
- package/dist/types/rate.d.ts +0 -2
- package/dist/types/rich-text-editor.d.ts +0 -2
- package/dist/types/scroll.d.ts +0 -2
- package/dist/types/segment.d.ts +0 -2
- package/dist/types/select.d.ts +0 -2
- package/dist/types/skeleton.d.ts +0 -2
- package/dist/types/slider.d.ts +0 -2
- package/dist/types/space.d.ts +0 -2
- package/dist/types/steps.d.ts +0 -2
- package/dist/types/switch.d.ts +0 -2
- package/dist/types/table-editor.d.ts +0 -2
- package/dist/types/table.d.ts +0 -2
- package/dist/types/tabs.d.ts +0 -2
- package/dist/types/tag.d.ts +0 -2
- package/dist/types/text-editor.d.ts +0 -2
- package/dist/types/text.d.ts +0 -2
- package/dist/types/textarea.d.ts +0 -2
- package/dist/types/theme.d.ts +0 -2
- package/dist/types/time-picker.d.ts +0 -2
- package/dist/types/timeline.d.ts +0 -2
- package/dist/types/tip.d.ts +0 -2
- package/dist/types/transfer.d.ts +0 -2
- package/dist/types/tree-select.d.ts +0 -2
- package/dist/types/tree.d.ts +0 -2
- package/dist/types/watermark.d.ts +0 -2
- package/package.json +1 -1
- package/src/components/alert/alert.vue +18 -16
- package/src/components/alert/style.scss +9 -1
- package/src/components/alert/style.ts +1 -0
- package/src/components/auto-complete/style.scss +3 -0
- package/src/components/back-top/style.scss +17 -3
- package/src/components/badge/badge.vue +6 -7
- package/src/components/badge/style.scss +20 -1
- package/src/components/batch-edit/__test__/batch-edit.test.ts +10 -0
- package/src/components/batch-edit/batch-edit-form.vue +95 -83
- package/src/components/batch-edit/batch-edit.vue +18 -3
- package/src/components/batch-edit/style.scss +39 -3
- package/src/components/breadcrumb/style.scss +5 -1
- package/src/components/button/style.scss +4 -2
- package/src/components/carousel/carousel.vue +8 -2
- package/src/components/carousel/style.scss +10 -1
- package/src/components/carousel/use-carousel.ts +17 -2
- package/src/components/cascade/style.scss +27 -0
- package/src/components/check-tag/check-tag.vue +13 -3
- package/src/components/check-tag/style.scss +21 -0
- package/src/components/checkbox/checkbox-button.vue +11 -1
- package/src/components/checkbox/checkbox.vue +6 -2
- package/src/components/checkbox/style.scss +51 -2
- package/src/components/chip/style.scss +11 -0
- package/src/components/code-editor/code-editor.vue +24 -3
- package/src/components/code-editor/style.scss +54 -4
- package/src/components/collapse/collapse-item.vue +10 -1
- package/src/components/collapse/collapse.vue +3 -1
- package/src/components/collapse/style.scss +10 -7
- package/src/components/condition-editor/style.scss +39 -12
- package/src/components/contextmenu/contextmenu-sub.vue +9 -7
- package/src/components/contextmenu/style.scss +17 -1
- package/src/components/date-panel/style.scss +22 -1
- package/src/components/dialog/style.scss +6 -1
- package/src/components/dialog/use-maximum.ts +8 -0
- package/src/components/drawer/style.scss +5 -0
- package/src/components/dual-nav/style.scss +9 -4
- package/src/components/expression-editor/style.scss +27 -9
- package/src/components/file-viewer/__test__/pdf-polyfill.test.ts +83 -0
- package/src/components/file-viewer/__test__/pdfjs-compat.test.ts +27 -15
- package/src/components/file-viewer/previewers/ofd-previewer.vue +2 -0
- package/src/components/file-viewer/previewers/pdf-polyfill.ts +85 -4
- package/src/components/file-viewer/previewers/pdf-previewer.vue +2 -2
- package/src/components/file-viewer/style.scss +12 -2
- package/src/components/float-button/float-button.vue +1 -1
- package/src/components/float-button/style.scss +4 -3
- package/src/components/form-item/style.scss +16 -2
- package/src/components/grid-input/style.scss +6 -1
- package/src/components/group-nav/style.scss +30 -13
- package/src/components/icon/style.scss +2 -1
- package/src/components/image-cropper/style.scss +6 -1
- package/src/components/image-previewer/image-previewer.vue +20 -2
- package/src/components/image-previewer/style.scss +17 -14
- package/src/components/image-previewer/style.ts +1 -0
- package/src/components/input/input.vue +2 -8
- package/src/components/input/style.scss +19 -1
- package/src/components/kanban/kanban-column.vue +2 -0
- package/src/components/kanban/style.scss +11 -2
- package/src/components/layout/__test__/layout.test.ts +135 -0
- package/src/components/layout/layout-resizer.vue +8 -1
- package/src/components/layout/layout.vue +17 -1
- package/src/components/layout/style.scss +31 -6
- package/src/components/loading/style.scss +39 -8
- package/src/components/message/style.scss +20 -2
- package/src/components/message-confirm/style.scss +13 -0
- package/src/components/multi-select/multi-select.vue +13 -10
- package/src/components/multi-select/style.scss +14 -0
- package/src/components/multi-tree-select/__test__/multi-tree-select.test.ts +4 -2
- package/src/components/nav/nav-sub.vue +10 -2
- package/src/components/nav/style.scss +37 -13
- package/src/components/notification/style.scss +13 -0
- package/src/components/number-input/style.scss +8 -2
- package/src/components/paginator/style.scss +3 -0
- package/src/components/password-input/style.scss +15 -1
- package/src/components/pop-confirm/pop-confirm.vue +1 -1
- package/src/components/progress/style.scss +3 -3
- package/src/components/progress-nodes/style.scss +5 -5
- package/src/components/radio/radio.vue +1 -1
- package/src/components/radio/style.scss +19 -1
- package/src/components/rate/style.scss +9 -0
- package/src/components/rich-text-editor/style.scss +11 -6
- package/src/components/scroll/style.scss +3 -3
- package/src/components/segment/segment.vue +13 -1
- package/src/components/segment/style.scss +13 -3
- package/src/components/select/select.vue +1 -1
- package/src/components/select/style.scss +22 -1
- package/src/components/steps/style.scss +27 -5
- package/src/components/switch/style.scss +13 -2
- package/src/components/table/style.scss +44 -20
- package/src/components/tabs/style.scss +16 -3
- package/src/components/tag/style.scss +18 -1
- package/src/components/textarea/style.scss +15 -2
- package/src/components/theme/style.scss +62 -40
- package/src/components/time-picker/style.scss +9 -1
- package/src/components/tip/style.scss +13 -0
- package/src/components/transfer/style.scss +31 -1
- package/src/components/transfer/transfer-list.vue +18 -15
- package/src/components/tree/style.scss +8 -3
|
@@ -52,10 +52,15 @@
|
|
|
52
52
|
position: absolute;
|
|
53
53
|
right: var(--u-gap-small);
|
|
54
54
|
top: var(--u-gap-small);
|
|
55
|
+
transition: transform var(--u-transition-fast) var(--u-transition-ease-out);
|
|
55
56
|
}
|
|
56
57
|
.u-notification--small .u-notification__close:hover {
|
|
57
58
|
color: var(--u-color-primary-dark-9);
|
|
58
59
|
}
|
|
60
|
+
.u-notification--small .u-notification__close:active {
|
|
61
|
+
transform: scale(0.9);
|
|
62
|
+
transition-duration: 0s;
|
|
63
|
+
}
|
|
59
64
|
.u-notification--default {
|
|
60
65
|
border-radius: var(--u-radius-default);
|
|
61
66
|
padding: calc(var(--u-gap-default) * 1.2);
|
|
@@ -81,10 +86,15 @@
|
|
|
81
86
|
position: absolute;
|
|
82
87
|
right: var(--u-gap-default);
|
|
83
88
|
top: var(--u-gap-default);
|
|
89
|
+
transition: transform var(--u-transition-fast) var(--u-transition-ease-out);
|
|
84
90
|
}
|
|
85
91
|
.u-notification--default .u-notification__close:hover {
|
|
86
92
|
color: var(--u-color-primary-dark-9);
|
|
87
93
|
}
|
|
94
|
+
.u-notification--default .u-notification__close:active {
|
|
95
|
+
transform: scale(0.9);
|
|
96
|
+
transition-duration: 0s;
|
|
97
|
+
}
|
|
88
98
|
.u-notification--large {
|
|
89
99
|
border-radius: var(--u-radius-large);
|
|
90
100
|
padding: calc(var(--u-gap-large) * 1.2);
|
|
@@ -110,10 +120,15 @@
|
|
|
110
120
|
position: absolute;
|
|
111
121
|
right: var(--u-gap-large);
|
|
112
122
|
top: var(--u-gap-large);
|
|
123
|
+
transition: transform var(--u-transition-fast) var(--u-transition-ease-out);
|
|
113
124
|
}
|
|
114
125
|
.u-notification--large .u-notification__close:hover {
|
|
115
126
|
color: var(--u-color-primary-dark-9);
|
|
116
127
|
}
|
|
128
|
+
.u-notification--large .u-notification__close:active {
|
|
129
|
+
transform: scale(0.9);
|
|
130
|
+
transition-duration: 0s;
|
|
131
|
+
}
|
|
117
132
|
.u-notification__primary .u-notification__icon {
|
|
118
133
|
color: var(--u-color-primary);
|
|
119
134
|
}
|
|
@@ -184,6 +199,12 @@
|
|
|
184
199
|
transition: opacity var(--u-transition-normal) var(--u-transition-ease), transform var(--u-transition-normal) var(--u-transition-ease-out);
|
|
185
200
|
}
|
|
186
201
|
|
|
202
|
+
/* 出场比入场快 */
|
|
203
|
+
.notification-bottom-leave-active,
|
|
204
|
+
.notification-top-leave-active {
|
|
205
|
+
transition-duration: var(--u-transition-fast);
|
|
206
|
+
}
|
|
207
|
+
|
|
187
208
|
.notification-bottom-enter-from,
|
|
188
209
|
.notification-bottom-leave-to {
|
|
189
210
|
opacity: 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed, defineComponent, reactive, toDisplayString, watch } from "vue";
|
|
2
2
|
import { Tween } from "@veltra/utils";
|
|
3
3
|
import { $n } from "@cat-kit/core";
|
|
4
|
-
|
|
4
|
+
// src/components/number/number.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
name: "UNumber",
|
|
7
7
|
__name: "number",
|
|
@@ -42,7 +42,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
|
-
//#endregion
|
|
46
45
|
export { _sfc_main as default };
|
|
47
46
|
|
|
48
47
|
//# sourceMappingURL=number.js.map
|
|
@@ -6,7 +6,7 @@ import { FORM_EMPTY_CONTENT, Tween, bem, injectFormContext } from "@veltra/utils
|
|
|
6
6
|
import { ArrowDown, ArrowUp, Close } from "@veltra/icons/normal";
|
|
7
7
|
import { $n, isUndef, n, o } from "@cat-kit/core";
|
|
8
8
|
import { vRipple } from "@veltra/directives";
|
|
9
|
-
|
|
9
|
+
// src/components/number-input/number-input.vue
|
|
10
10
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
11
11
|
name: "UNumberInput",
|
|
12
12
|
inheritAttrs: false,
|
|
@@ -365,7 +365,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
365
365
|
};
|
|
366
366
|
}
|
|
367
367
|
});
|
|
368
|
-
//#endregion
|
|
369
368
|
export { _sfc_main as default };
|
|
370
369
|
|
|
371
370
|
//# sourceMappingURL=number-input.js.map
|
|
@@ -31,11 +31,14 @@
|
|
|
31
31
|
flex-shrink: 0;
|
|
32
32
|
width: 20px;
|
|
33
33
|
border-radius: var(--u-radius-default);
|
|
34
|
-
transition: color
|
|
34
|
+
transition: color var(--u-transition-fast) var(--u-transition-ease), transform var(--u-transition-fast) var(--u-transition-ease-out);
|
|
35
35
|
}
|
|
36
36
|
.u-number-input__clear:hover {
|
|
37
37
|
color: var(--u-color-primary);
|
|
38
38
|
}
|
|
39
|
+
.u-number-input__clear:active {
|
|
40
|
+
transform: scale(0.92);
|
|
41
|
+
}
|
|
39
42
|
.u-number-input__clear.is-hidden {
|
|
40
43
|
visibility: hidden;
|
|
41
44
|
pointer-events: none;
|
|
@@ -48,7 +51,7 @@
|
|
|
48
51
|
}
|
|
49
52
|
.u-number-input__step .u-icon {
|
|
50
53
|
cursor: pointer;
|
|
51
|
-
transition: color
|
|
54
|
+
transition: color var(--u-transition-fast) var(--u-transition-ease);
|
|
52
55
|
width: 20px;
|
|
53
56
|
border-radius: var(--u-radius-default);
|
|
54
57
|
}
|
|
@@ -3,7 +3,7 @@ import { Fragment, computed, createElementBlock, createElementVNode, createTextV
|
|
|
3
3
|
import { useFormFallbackProps } from "@veltra/compositions";
|
|
4
4
|
import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
|
|
5
5
|
import { $n, n, o } from "@cat-kit/core";
|
|
6
|
-
|
|
6
|
+
// src/components/number-range-input/number-range-input.vue
|
|
7
7
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
8
8
|
name: "UNumberRangeInput",
|
|
9
9
|
inheritAttrs: false,
|
|
@@ -229,7 +229,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
229
229
|
};
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
|
-
//#endregion
|
|
233
232
|
export { _sfc_main as default };
|
|
234
233
|
|
|
235
234
|
//# sourceMappingURL=number-range-input.js.map
|
|
@@ -7,7 +7,7 @@ import { bem } from "@veltra/utils";
|
|
|
7
7
|
import { ArrowLeft, ArrowRight, DArrowLeft, DArrowRight } from "@veltra/icons/normal";
|
|
8
8
|
import { n } from "@cat-kit/core";
|
|
9
9
|
import { vRipple } from "@veltra/directives";
|
|
10
|
-
|
|
10
|
+
// src/components/paginator/paginator.vue
|
|
11
11
|
const _hoisted_1 = { key: 0 };
|
|
12
12
|
const _hoisted_2 = ["onClick"];
|
|
13
13
|
const _hoisted_3 = { key: 0 };
|
|
@@ -203,7 +203,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
205
|
});
|
|
206
|
-
//#endregion
|
|
207
206
|
export { _sfc_main as default };
|
|
208
207
|
|
|
209
208
|
//# sourceMappingURL=paginator.js.map
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
margin: 0;
|
|
77
77
|
list-style: none;
|
|
78
78
|
cursor: pointer;
|
|
79
|
+
transition: background-color var(--u-transition-fast) var(--u-transition-ease), color var(--u-transition-fast) var(--u-transition-ease);
|
|
79
80
|
display: flex;
|
|
80
81
|
justify-content: center;
|
|
81
82
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/palette/color-transform.ts
|
|
2
2
|
/**
|
|
3
3
|
* 将色相值转换为 RGB 颜色
|
|
4
4
|
* @param h 色相值
|
|
@@ -144,7 +144,6 @@ function HEX2RGBA(color) {
|
|
|
144
144
|
alpha
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
|
-
//#endregion
|
|
148
147
|
export { HEX2RGBA, HSV2RGB, HUE2RGB, RGB2HEX, RGB2HSV };
|
|
149
148
|
|
|
150
149
|
//# sourceMappingURL=color-transform.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PaletteDIKey } from "./di.js";
|
|
2
2
|
import { computed, createElementBlock, createElementVNode, defineComponent, inject, normalizeClass, normalizeStyle, onMounted, openBlock, shallowRef, unref, watch, withModifiers } from "vue";
|
|
3
3
|
import { useDrag } from "@veltra/compositions";
|
|
4
|
-
|
|
4
|
+
// src/components/palette/palette-alpha.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
name: "UPaletteAlpha",
|
|
7
7
|
__name: "palette-alpha",
|
|
@@ -66,7 +66,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
|
-
//#endregion
|
|
70
69
|
export { _sfc_main as default };
|
|
71
70
|
|
|
72
71
|
//# sourceMappingURL=palette-alpha.js.map
|
|
@@ -2,7 +2,7 @@ import input_default from "../input/input.js";
|
|
|
2
2
|
import _sfc_main$1 from "../button/button.js";
|
|
3
3
|
import { PaletteDIKey } from "./di.js";
|
|
4
4
|
import { createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, normalizeClass, openBlock, unref, withCtx } from "vue";
|
|
5
|
-
|
|
5
|
+
// src/components/palette/palette-color-switch.vue
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
__name: "palette-color-switch",
|
|
8
8
|
props: { color: {} },
|
|
@@ -37,7 +37,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
|
-
//#endregion
|
|
41
40
|
export { _sfc_main as default };
|
|
42
41
|
|
|
43
42
|
//# sourceMappingURL=palette-color-switch.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PaletteDIKey } from "./di.js";
|
|
2
2
|
import { computed, createElementBlock, createElementVNode, defineComponent, inject, normalizeClass, normalizeStyle, onMounted, openBlock, shallowRef, unref, withModifiers } from "vue";
|
|
3
3
|
import { useDrag } from "@veltra/compositions";
|
|
4
|
-
|
|
4
|
+
// src/components/palette/palette-hue.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
name: "UPaletteHue",
|
|
7
7
|
__name: "palette-hue",
|
|
@@ -55,7 +55,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
|
-
//#endregion
|
|
59
58
|
export { _sfc_main as default };
|
|
60
59
|
|
|
61
60
|
//# sourceMappingURL=palette-hue.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PaletteDIKey } from "./di.js";
|
|
2
2
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, shallowRef, toDisplayString, unref, withModifiers } from "vue";
|
|
3
3
|
import { useDrag } from "@veltra/compositions";
|
|
4
|
-
|
|
4
|
+
// src/components/palette/palette-sv.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
name: "UPaletteSV",
|
|
7
7
|
__name: "palette-sv",
|
|
@@ -91,7 +91,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
|
-
//#endregion
|
|
95
94
|
export { _sfc_main as default };
|
|
96
95
|
|
|
97
96
|
//# sourceMappingURL=palette-sv.js.map
|
|
@@ -9,7 +9,7 @@ import { useHSV } from "./use-hsv.js";
|
|
|
9
9
|
import { computed, createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, mergeModels, normalizeClass, normalizeStyle, openBlock, provide, shallowRef, unref, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
10
10
|
import { useFormFallbackProps, useUserAction } from "@veltra/compositions";
|
|
11
11
|
import { bem, injectFormContext } from "@veltra/utils";
|
|
12
|
-
|
|
12
|
+
// src/components/palette/palette.vue
|
|
13
13
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
14
14
|
name: "UPalette",
|
|
15
15
|
__name: "palette",
|
|
@@ -131,7 +131,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
|
-
//#endregion
|
|
135
134
|
export { _sfc_main as default };
|
|
136
135
|
|
|
137
136
|
//# sourceMappingURL=palette.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HUE2RGB } from "./color-transform.js";
|
|
2
2
|
import { computed, reactive, readonly, ref } from "vue";
|
|
3
3
|
import { n } from "@cat-kit/core";
|
|
4
|
-
|
|
4
|
+
// src/components/palette/use-hsv.ts
|
|
5
5
|
function useHSV() {
|
|
6
6
|
const HSV = reactive({
|
|
7
7
|
h: 0,
|
|
@@ -43,7 +43,6 @@ function useHSV() {
|
|
|
43
43
|
updateAlpha
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
//#endregion
|
|
47
46
|
export { useHSV };
|
|
48
47
|
|
|
49
48
|
//# sourceMappingURL=use-hsv.js.map
|
|
@@ -5,7 +5,7 @@ import { useFormFallbackProps } from "@veltra/compositions";
|
|
|
5
5
|
import { bem, injectFormContext } from "@veltra/utils";
|
|
6
6
|
import { Close, Hide, View } from "@veltra/icons/normal";
|
|
7
7
|
import { o } from "@cat-kit/core";
|
|
8
|
-
|
|
8
|
+
// src/components/password-input/password-input.vue
|
|
9
9
|
const passwordChar = "●";
|
|
10
10
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
11
11
|
name: "UPasswordInput",
|
|
@@ -148,7 +148,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
});
|
|
151
|
-
//#endregion
|
|
152
151
|
export { _sfc_main as default };
|
|
153
152
|
|
|
154
153
|
//# sourceMappingURL=password-input.js.map
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
flex-shrink: 0;
|
|
28
28
|
width: 20px;
|
|
29
29
|
border-radius: var(--u-radius-default);
|
|
30
|
-
transition: color
|
|
30
|
+
transition: color var(--u-transition-fast) var(--u-transition-ease);
|
|
31
31
|
}
|
|
32
32
|
.u-password-input__clear:hover {
|
|
33
33
|
color: var(--u-color-primary);
|
|
@@ -35,4 +35,13 @@
|
|
|
35
35
|
.u-password-input__visibility-toggle {
|
|
36
36
|
cursor: pointer;
|
|
37
37
|
flex-shrink: 0;
|
|
38
|
+
color: var(--u-text-color-main);
|
|
39
|
+
transition: color var(--u-transition-fast) var(--u-transition-ease), transform var(--u-transition-fast) var(--u-transition-ease-out);
|
|
40
|
+
}
|
|
41
|
+
.u-password-input__visibility-toggle:hover {
|
|
42
|
+
color: var(--u-color-primary);
|
|
43
|
+
}
|
|
44
|
+
.u-password-input__visibility-toggle:active {
|
|
45
|
+
transform: scale(0.92);
|
|
46
|
+
transition-duration: 0s;
|
|
38
47
|
}
|
|
@@ -5,14 +5,14 @@ import { createBlock, createElementVNode, createTextVNode, createVNode, defineCo
|
|
|
5
5
|
import { useFormFallbackProps } from "@veltra/compositions";
|
|
6
6
|
import { bem, injectFormContext } from "@veltra/utils";
|
|
7
7
|
import { QuestionFilled } from "@veltra/icons/normal";
|
|
8
|
-
|
|
8
|
+
// src/components/pop-confirm/pop-confirm.vue
|
|
9
9
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
10
10
|
name: "UPopConfirm",
|
|
11
11
|
__name: "pop-confirm",
|
|
12
12
|
props: {
|
|
13
13
|
title: {},
|
|
14
14
|
icon: { default: QuestionFilled },
|
|
15
|
-
iconColor: { default: "
|
|
15
|
+
iconColor: { default: "" },
|
|
16
16
|
confirmText: { default: "确认" },
|
|
17
17
|
cancelText: { default: "取消" },
|
|
18
18
|
alignment: {},
|
|
@@ -85,7 +85,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
|
-
//#endregion
|
|
89
88
|
export { _sfc_main as default };
|
|
90
89
|
|
|
91
90
|
//# sourceMappingURL=pop-confirm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pop-confirm.js","names":["_openBlock","_createBlock","_unref","UTip","_normalizeClass","_withCtx","_createElementVNode","_createVNode","UIcon","_normalizeStyle","_resolveDynamicComponent","_toDisplayString","UButton","_createTextVNode","_renderSlot"],"sources":["../../../src/components/pop-confirm/pop-confirm.vue"],"sourcesContent":["<template>\n <u-tip\n :class=\"cls.b\"\n :trigger=\"trigger\"\n :direction=\"direction\"\n :alignment=\"alignment\"\n :content-tag=\"contentTag\"\n v-model:visible=\"visible\"\n >\n <slot name=\"reference\" />\n\n <template #content>\n <div :class=\"[cls.m('main'), cls.m(size)]\">\n <u-icon :size=\"16\" :class=\"cls.m('icon')\" :style=\"{ color: iconColor }\">\n <component :is=\"icon\" />\n </u-icon>\n <span>\n {{ title }}\n </span>\n </div>\n <div :class=\"cls.m('action')\">\n <u-button size=\"small\" @click=\"cancel\" type=\"primary\" text>\n {{ cancelText }}\n </u-button>\n \n <u-button size=\"small\" type=\"primary\" @click=\"confirm\">\n {{ confirmText }}\n </u-button>\n </div>\n </template>\n </u-tip>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useFormFallbackProps } from '@veltra/compositions'\nimport { QuestionFilled } from '@veltra/icons/normal'\nimport { bem } from '@veltra/utils'\nimport { injectFormContext } from '@veltra/utils'\nimport { ref } from 'vue'\n\nimport type { PopConfirmProps, PopConfirmEmits } from '../../types'\nimport { UButton } from '../button'\nimport { UIcon } from '../icon'\nimport { UTip } from '../tip'\n\ndefineOptions({ name: 'UPopConfirm' })\n\nconst emit = defineEmits<PopConfirmEmits>()\n\nwithDefaults(defineProps<PopConfirmProps>(), {\n trigger: 'click',\n icon: QuestionFilled,\n direction: 'bottom',\n iconColor: '
|
|
1
|
+
{"version":3,"file":"pop-confirm.js","names":["_openBlock","_createBlock","_unref","UTip","_normalizeClass","_withCtx","_createElementVNode","_createVNode","UIcon","_normalizeStyle","_resolveDynamicComponent","_toDisplayString","UButton","_createTextVNode","_renderSlot"],"sources":["../../../src/components/pop-confirm/pop-confirm.vue"],"sourcesContent":["<template>\n <u-tip\n :class=\"cls.b\"\n :trigger=\"trigger\"\n :direction=\"direction\"\n :alignment=\"alignment\"\n :content-tag=\"contentTag\"\n v-model:visible=\"visible\"\n >\n <slot name=\"reference\" />\n\n <template #content>\n <div :class=\"[cls.m('main'), cls.m(size)]\">\n <u-icon :size=\"16\" :class=\"cls.m('icon')\" :style=\"{ color: iconColor }\">\n <component :is=\"icon\" />\n </u-icon>\n <span>\n {{ title }}\n </span>\n </div>\n <div :class=\"cls.m('action')\">\n <u-button size=\"small\" @click=\"cancel\" type=\"primary\" text>\n {{ cancelText }}\n </u-button>\n \n <u-button size=\"small\" type=\"primary\" @click=\"confirm\">\n {{ confirmText }}\n </u-button>\n </div>\n </template>\n </u-tip>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useFormFallbackProps } from '@veltra/compositions'\nimport { QuestionFilled } from '@veltra/icons/normal'\nimport { bem } from '@veltra/utils'\nimport { injectFormContext } from '@veltra/utils'\nimport { ref } from 'vue'\n\nimport type { PopConfirmProps, PopConfirmEmits } from '../../types'\nimport { UButton } from '../button'\nimport { UIcon } from '../icon'\nimport { UTip } from '../tip'\n\ndefineOptions({ name: 'UPopConfirm' })\n\nconst emit = defineEmits<PopConfirmEmits>()\n\nwithDefaults(defineProps<PopConfirmProps>(), {\n trigger: 'click',\n icon: QuestionFilled,\n direction: 'bottom',\n iconColor: '',\n confirmText: '确认',\n cancelText: '取消'\n})\n\nconst cls = bem('pop-confirm')\n\nconst visible = ref(false)\n\nconst { formProps } = injectFormContext()\n\nconst { size } = useFormFallbackProps([formProps ?? {}], { size: 'default' })\n\nconst confirm = () => {\n emit('confirm')\n visible.value = false\n}\n\nconst cancel = () => {\n emit('cancel')\n visible.value = false\n}\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;EA+CA,MAAM,OAAO;EAWb,MAAM,MAAM,IAAI,aAAa;EAE7B,MAAM,UAAU,IAAI,KAAK;EAEzB,MAAM,EAAE,cAAc,kBAAkB;EAExC,MAAM,EAAE,SAAS,qBAAqB,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,MAAM,UAAU,CAAC;EAE5E,MAAM,gBAAgB;GACpB,KAAK,SAAS;GACd,QAAQ,QAAQ;EAClB;EAEA,MAAM,eAAe;GACnB,KAAK,QAAQ;GACb,QAAQ,QAAQ;EAClB;;GAzEE,OAAAA,UAAA,GAAAC,YA6BQC,MAAAC,WAAA,GAAA;IA5BL,OAAKC,eAAEF,MAAA,GAAA,CAAG,CAAC,CAAC;IACZ,SAAS,QAAA;IACT,WAAW,QAAA;IACX,WAAW,QAAA;IACX,eAAa,QAAA;IACN,SAAS,QAAA;IAAA,oBAAA,OAAA,OAAA,OAAA,MAAA,WAAA,QAAO,QAAA;;IAIb,SAAOG,cAQV,CAPNC,mBAOM,OAAA,EAPA,OAAKF,eAAA,CAAGF,MAAA,GAAA,CAAG,CAAC,EAAC,MAAA,GAAUA,MAAA,GAAA,CAAG,CAAC,EAAEA,MAAA,IAAA,CAAI,CAAA,CAAA,E,IACrCK,YAESL,MAAAM,WAAA,GAAA;KAFA,MAAM;KAAK,OAAKJ,eAAEF,MAAA,GAAA,CAAG,CAAC,EAAC,MAAA,CAAA;KAAW,OAAKO,eAAA,EAAA,OAAW,QAAA,UAAS,CAAA;;KAClE,SAAAJ,cAAwB,EAAxBL,UAAA,GAAAC,YAAwBS,wBAAR,QAAA,IAAI,CAAA,E;;I,2BAEtBJ,mBAEO,QAAA,MAAAK,gBADF,QAAA,KAAK,GAAA,CAAA,C,OAGZL,mBAQM,OAAA,EARA,OAAKF,eAAEF,MAAA,GAAA,CAAG,CAAC,EAAC,QAAA,CAAA,E;KAChBK,YAEWL,MAAAU,WAAA,GAAA;MAFD,MAAK;MAAS,SAAO;MAAQ,MAAK;MAAU,MAAA;;MACpD,SAAAP,cAAgB,CAAbQ,gBAAAF,gBAAA,QAAA,UAAU,GAAA,CAAA,C;;;KACJ,OAAA,OAAA,OAAA,KAAAE,gBAAA,UAEX,EAAA;KAAAN,YAEWL,MAAAU,WAAA,GAAA;MAFD,MAAK;MAAQ,MAAK;MAAW,SAAO;;MAC5C,SAAAP,cAAiB,CAAdQ,gBAAAF,gBAAA,QAAA,WAAW,GAAA,CAAA,C;;;;IAjBpB,SAAAN,cAAyB,CAAzBS,WAAyB,KAAA,QAAA,WAAA,C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, guardReactiveProps, normalizeClass, normalizeProps, normalizeStyle, openBlock, renderSlot, toDisplayString, unref } from "vue";
|
|
2
2
|
import { bem, withUnit } from "@veltra/utils";
|
|
3
3
|
import { n } from "@cat-kit/core";
|
|
4
|
-
|
|
4
|
+
// src/components/progress/progress.vue
|
|
5
5
|
const _hoisted_1 = { viewBox: "0 0 100 100" };
|
|
6
6
|
const _hoisted_2 = [
|
|
7
7
|
"stroke",
|
|
@@ -93,7 +93,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
|
-
//#endregion
|
|
97
96
|
export { _sfc_main as default };
|
|
98
97
|
|
|
99
98
|
//# sourceMappingURL=progress.js.map
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
height: 100%;
|
|
26
26
|
color: var(--u-text-color-white);
|
|
27
27
|
overflow: hidden;
|
|
28
|
-
transition: width
|
|
28
|
+
transition: width var(--u-transition-normal) var(--u-transition-ease), background-color var(--u-transition-normal) var(--u-transition-ease);
|
|
29
29
|
display: flex;
|
|
30
30
|
justify-content: center;
|
|
31
31
|
align-items: center;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
flex-wrap: nowrap;
|
|
53
53
|
}
|
|
54
54
|
.u-progress__circle-ring {
|
|
55
|
-
transition: stroke-dasharray
|
|
55
|
+
transition: stroke-dasharray var(--u-transition-normal) var(--u-transition-ease);
|
|
56
56
|
}
|
|
57
57
|
.u-progress--primary .u-progress__bar {
|
|
58
58
|
background-color: var(--u-color-primary);
|
|
@@ -2,7 +2,7 @@ import { Fragment, computed, createCommentVNode, createElementBlock, createEleme
|
|
|
2
2
|
import { useDrag, useResizeObserver } from "@veltra/compositions";
|
|
3
3
|
import { bem, fieldKey } from "@veltra/utils";
|
|
4
4
|
import { o } from "@cat-kit/core";
|
|
5
|
-
|
|
5
|
+
// src/components/progress-nodes/progress-nodes.vue
|
|
6
6
|
const _hoisted_1 = ["onClick"];
|
|
7
7
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
8
8
|
name: "UProgressNodes",
|
|
@@ -131,7 +131,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
|
-
//#endregion
|
|
135
134
|
export { _sfc_main as default };
|
|
136
135
|
|
|
137
136
|
//# sourceMappingURL=progress-nodes.js.map
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
font-weight: 600;
|
|
42
42
|
color: inherit;
|
|
43
43
|
flex: 0 0 auto;
|
|
44
|
-
transition: background-color
|
|
44
|
+
transition: background-color var(--u-transition-fast) var(--u-transition-ease), color var(--u-transition-fast) var(--u-transition-ease);
|
|
45
45
|
border-radius: var(--u-radius-default);
|
|
46
46
|
}
|
|
47
47
|
.u-progress-nodes__item:hover .u-progress-nodes__dot {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
border-radius: 50%;
|
|
70
70
|
background-color: var(--u-bg-color-top);
|
|
71
71
|
box-sizing: border-box;
|
|
72
|
-
transition: background-color
|
|
72
|
+
transition: background-color var(--u-transition-fast) var(--u-transition-ease), border-color var(--u-transition-fast) var(--u-transition-ease);
|
|
73
73
|
z-index: 1;
|
|
74
74
|
display: flex;
|
|
75
75
|
justify-content: center;
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
.u-progress-nodes__label {
|
|
83
83
|
font-size: var(--u-font-size-assist-small);
|
|
84
84
|
color: var(--u-text-color-second);
|
|
85
|
-
transition: color
|
|
85
|
+
transition: color var(--u-transition-fast) var(--u-transition-ease);
|
|
86
86
|
overflow: hidden;
|
|
87
87
|
text-overflow: ellipsis;
|
|
88
88
|
white-space: nowrap;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeModels, normalizeClass, openBlock, renderSlot, toDisplayString, unref, useModel, vModelRadio, withDirectives } from "vue";
|
|
2
2
|
import { useFormFallbackProps } from "@veltra/compositions";
|
|
3
3
|
import { bem, injectFormContext } from "@veltra/utils";
|
|
4
|
-
|
|
4
|
+
// src/components/radio/radio.vue
|
|
5
5
|
const _hoisted_1 = ["value", "disabled"];
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
name: "URadio",
|
|
@@ -53,16 +53,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
53
53
|
disabled: unref(disabled)
|
|
54
54
|
}, null, 10, _hoisted_1), [[vModelRadio, model.value]]),
|
|
55
55
|
createCommentVNode(" radio框 "),
|
|
56
|
-
createElementVNode("section", { class: normalizeClass(unref(cls).e("button")) }, [
|
|
57
|
-
key: 0,
|
|
58
|
-
class: normalizeClass(unref(cls).e("inner"))
|
|
59
|
-
}, null, 2)) : createCommentVNode("v-if", true)], 2),
|
|
56
|
+
createElementVNode("section", { class: normalizeClass(unref(cls).e("button")) }, [createElementVNode("span", { class: normalizeClass(unref(cls).e("inner")) }, null, 2)], 2),
|
|
60
57
|
createElementVNode("span", { class: normalizeClass(unref(cls).e("label")) }, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])], 2)
|
|
61
58
|
], 2);
|
|
62
59
|
};
|
|
63
60
|
}
|
|
64
61
|
});
|
|
65
|
-
//#endregion
|
|
66
62
|
export { _sfc_main as default };
|
|
67
63
|
|
|
68
64
|
//# sourceMappingURL=radio.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio.js","names":["_useModel","_openBlock","_createElementBlock","_normalizeClass","_withDirectives","_createElementVNode","_unref","_vModelRadio","_createCommentVNode","_renderSlot","_createTextVNode","_toDisplayString"],"sources":["../../../src/components/radio/radio.vue"],"sourcesContent":["<template>\n <label :class=\"classList\">\n <input\n type=\"radio\"\n :class=\"cls.e('native')\"\n :value=\"value\"\n v-model=\"model\"\n :disabled=\"disabled\"\n />\n\n <!-- radio框 -->\n <section :class=\"cls.e('button')\">\n <span :class=\"cls.e('inner')\"
|
|
1
|
+
{"version":3,"file":"radio.js","names":["_useModel","_openBlock","_createElementBlock","_normalizeClass","_withDirectives","_createElementVNode","_unref","_vModelRadio","_createCommentVNode","_renderSlot","_createTextVNode","_toDisplayString"],"sources":["../../../src/components/radio/radio.vue"],"sourcesContent":["<template>\n <label :class=\"classList\">\n <input\n type=\"radio\"\n :class=\"cls.e('native')\"\n :value=\"value\"\n v-model=\"model\"\n :disabled=\"disabled\"\n />\n\n <!-- radio框 -->\n <section :class=\"cls.e('button')\">\n <span :class=\"cls.e('inner')\"></span>\n </section>\n\n <span :class=\"cls.e('label')\">\n <slot>{{ label }}</slot>\n </span>\n </label>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useFormFallbackProps } from '@veltra/compositions'\nimport { bem } from '@veltra/utils'\nimport { injectFormContext } from '@veltra/utils'\nimport { computed } from 'vue'\n\nimport type { RadioProps, RadioEmits } from '../../types'\n\ndefineOptions({ name: 'URadio' })\n\nconst model = defineModel<any>()\n\nconst props = withDefaults(defineProps<RadioProps>(), { disabled: undefined })\n\ndefineEmits<RadioEmits>()\n\nconst cls = bem('radio')\n\nconst { formProps } = injectFormContext()\n\nconst { size, disabled } = useFormFallbackProps([formProps ?? {}, props], {\n size: 'default',\n disabled: false\n})\n\nconst radioChecked = computed(() => model.value === props.value)\n\nconst classList = computed(() => {\n return [\n cls.b,\n cls.m(size.value),\n bem.is('disabled', disabled.value),\n bem.is('checked', radioChecked.value)\n ]\n})\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BA,MAAM,QAAQA,SAAgB,SAAA,YAAC;EAE/B,MAAM,QAAQ;EAId,MAAM,MAAM,IAAI,OAAO;EAEvB,MAAM,EAAE,cAAc,kBAAkB;EAExC,MAAM,EAAE,MAAM,aAAa,qBAAqB,CAAC,aAAa,CAAC,GAAG,KAAK,GAAG;GACxE,MAAM;GACN,UAAU;EACZ,CAAC;EAED,MAAM,eAAe,eAAe,MAAM,UAAU,MAAM,KAAK;EAE/D,MAAM,YAAY,eAAe;GAC/B,OAAO;IACL,IAAI;IACJ,IAAI,EAAE,KAAK,KAAK;IAChB,IAAI,GAAG,YAAY,SAAS,KAAK;IACjC,IAAI,GAAG,WAAW,aAAa,KAAK;GACtC;EACF,CAAC;;GAtDC,OAAAC,UAAA,GAAAC,mBAiBQ,SAAA,EAjBA,OAAKC,eAAE,UAAA,KAAS,E;IACtBC,eAAAC,mBAME,SAAA;KALA,MAAK;KACJ,OAAKF,eAAEG,MAAA,GAAA,CAAG,CAAC,EAAC,QAAA,CAAA;KACZ,OAAO,QAAA;KACC,uBAAA,OAAA,OAAA,OAAA,MAAA,WAAA,MAAK,QAAA;KACb,UAAUA,MAAA,QAAA;I,2BADF,CAAAC,aAAA,MAAA,KAAK,C;IAIhBC,mBAAA,UAAA;IACAH,mBAEU,WAAA,EAFA,OAAKF,eAAEG,MAAA,GAAA,CAAG,CAAC,EAAC,QAAA,CAAA,E,IACpBD,mBAAqC,QAAA,EAA9B,OAAKF,eAAEG,MAAA,GAAA,CAAG,CAAC,EAAC,OAAA,CAAA,E;IAGrBD,mBAEO,QAAA,EAFA,OAAKF,eAAEG,MAAA,GAAA,CAAG,CAAC,EAAC,OAAA,CAAA,E,IACjBG,WAAwB,KAAA,QAAA,WAAA,CAAA,SAAA,CAAfC,gBAAAC,gBAAA,QAAA,KAAK,GAAA,CAAA,C"}
|
|
@@ -71,11 +71,15 @@
|
|
|
71
71
|
border-radius: 50%;
|
|
72
72
|
border: var(--u-border-width) var(--u-border-style) var(--u-radio-border, #ccc);
|
|
73
73
|
overflow: hidden;
|
|
74
|
-
transition: border-color var(--u-transition-fast) var(--u-transition-ease), box-shadow var(--u-transition-fast) var(--u-transition-ease);
|
|
74
|
+
transition: border-color var(--u-transition-fast) var(--u-transition-ease), box-shadow var(--u-transition-fast) var(--u-transition-ease), transform var(--u-transition-fast) var(--u-transition-ease-out);
|
|
75
75
|
}
|
|
76
76
|
.u-radio.is-checked .u-radio__button {
|
|
77
77
|
border-color: var(--u-color-primary);
|
|
78
78
|
}
|
|
79
|
+
.u-radio.is-checked .u-radio__inner {
|
|
80
|
+
transform: scale(1);
|
|
81
|
+
opacity: 1;
|
|
82
|
+
}
|
|
79
83
|
.u-radio__native {
|
|
80
84
|
position: absolute;
|
|
81
85
|
width: 0;
|
|
@@ -92,10 +96,16 @@
|
|
|
92
96
|
border-radius: 50%;
|
|
93
97
|
display: block;
|
|
94
98
|
height: 100%;
|
|
99
|
+
transform: scale(0.5);
|
|
100
|
+
opacity: 0;
|
|
101
|
+
transition: transform var(--u-transition-fast) var(--u-transition-ease-out), opacity var(--u-transition-fast) var(--u-transition-ease-out);
|
|
95
102
|
}
|
|
96
103
|
.u-radio:not(.is-disabled):hover .u-radio__button {
|
|
97
104
|
border-color: var(--u-color-primary);
|
|
98
105
|
}
|
|
106
|
+
.u-radio:not(.is-disabled):active .u-radio__button {
|
|
107
|
+
transform: scale(0.92);
|
|
108
|
+
}
|
|
99
109
|
.u-radio:not(.is-disabled) .u-radio__native:focus-visible + .u-radio__button {
|
|
100
110
|
box-shadow: var(--u-focus-ring);
|
|
101
111
|
}
|
|
@@ -2,7 +2,7 @@ import _sfc_main$1 from "../radio/radio.js";
|
|
|
2
2
|
import { Fragment, computed, createBlock, createElementBlock, createTextVNode, defineComponent, mergeModels, mergeProps, openBlock, renderList, toDisplayString, unref, useModel, withCtx } from "vue";
|
|
3
3
|
import { useFormFallbackProps } from "@veltra/compositions";
|
|
4
4
|
import { FORM_EMPTY_CONTENT, bem, fieldKey, injectFormContext } from "@veltra/utils";
|
|
5
|
-
|
|
5
|
+
// src/components/radio-group/radio-group.vue
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
name: "URadioGroup",
|
|
8
8
|
inheritAttrs: false,
|
|
@@ -77,7 +77,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
|
-
//#endregion
|
|
81
80
|
export { _sfc_main as default };
|
|
82
81
|
|
|
83
82
|
//# sourceMappingURL=radio-group.js.map
|
|
@@ -3,7 +3,7 @@ import { Fragment, computed, createBlock, createElementBlock, createElementVNode
|
|
|
3
3
|
import { useFormFallbackProps } from "@veltra/compositions";
|
|
4
4
|
import { bem, injectFormContext } from "@veltra/utils";
|
|
5
5
|
import { StarFilled } from "@veltra/icons/normal";
|
|
6
|
-
|
|
6
|
+
// src/components/rate/rate.vue
|
|
7
7
|
const _hoisted_1 = [
|
|
8
8
|
"tabindex",
|
|
9
9
|
"aria-valuemax",
|
|
@@ -124,7 +124,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
|
-
//#endregion
|
|
128
127
|
export { _sfc_main as default };
|
|
129
128
|
|
|
130
129
|
//# sourceMappingURL=rate.js.map
|
|
@@ -38,6 +38,12 @@
|
|
|
38
38
|
.u-rate:not(.is-readonly):not(.is-disabled):focus-visible {
|
|
39
39
|
box-shadow: var(--u-focus-ring);
|
|
40
40
|
}
|
|
41
|
+
.u-rate:not(.is-readonly):not(.is-disabled) .u-rate__item {
|
|
42
|
+
transition: transform var(--u-transition-fast) var(--u-transition-ease-out);
|
|
43
|
+
}
|
|
44
|
+
.u-rate:not(.is-readonly):not(.is-disabled) .u-rate__item:active {
|
|
45
|
+
transform: scale(0.9);
|
|
46
|
+
}
|
|
41
47
|
.u-rate__item {
|
|
42
48
|
position: relative;
|
|
43
49
|
display: inline-flex;
|
|
@@ -55,4 +61,5 @@
|
|
|
55
61
|
white-space: nowrap;
|
|
56
62
|
pointer-events: none;
|
|
57
63
|
color: var(--u-rate-active-color, var(--u-color-warning));
|
|
64
|
+
transition: width var(--u-transition-fast) var(--u-transition-ease);
|
|
58
65
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $insertNodes, DecoratorNode } from "lexical";
|
|
2
|
-
|
|
2
|
+
// src/components/rich-text-editor/image-node.ts
|
|
3
3
|
let imageUid = 0;
|
|
4
4
|
function nextImageId() {
|
|
5
5
|
return `rte-img-${++imageUid}`;
|
|
@@ -187,7 +187,6 @@ function revokeImageObjectUrls(editor) {
|
|
|
187
187
|
objectUrls.get(editor)?.forEach((url) => URL.revokeObjectURL(url));
|
|
188
188
|
objectUrls.delete(editor);
|
|
189
189
|
}
|
|
190
|
-
//#endregion
|
|
191
190
|
export { $createImageNode, $isImageNode, ImageNode, gcImageObjectUrls, insertImageFiles, revokeImageObjectUrls };
|
|
192
191
|
|
|
193
192
|
//# sourceMappingURL=image-node.js.map
|
|
@@ -10,7 +10,7 @@ import { AutoLinkNode, LinkNode } from "@lexical/link";
|
|
|
10
10
|
import { ListItemNode, ListNode, registerList } from "@lexical/list";
|
|
11
11
|
import { HeadingNode, QuoteNode, registerRichText } from "@lexical/rich-text";
|
|
12
12
|
import { $createParagraphNode, $createRangeSelection, $getNodeByKey, $getRoot, $getSelection, $isNodeSelection, $nodesOfType, $setSelection, COMMAND_PRIORITY_HIGH, DROP_COMMAND, PASTE_COMMAND, createEditor } from "lexical";
|
|
13
|
-
|
|
13
|
+
// src/components/rich-text-editor/rich-text-editor.vue
|
|
14
14
|
const _hoisted_1 = ["contenteditable"];
|
|
15
15
|
const LEXICAL_THEME = {
|
|
16
16
|
paragraph: "u-rte-paragraph",
|
|
@@ -291,7 +291,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
291
291
|
};
|
|
292
292
|
}
|
|
293
293
|
});
|
|
294
|
-
//#endregion
|
|
295
294
|
export { _sfc_main as default };
|
|
296
295
|
|
|
297
296
|
//# sourceMappingURL=rich-text-editor.js.map
|