@veltra/desktop 1.7.8 → 1.7.9
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/image-cropper/draw-crop.js +63 -0
- package/dist/components/image-cropper/draw-crop.js.map +1 -0
- package/dist/components/image-cropper/image-cropper.js +344 -0
- package/dist/components/image-cropper/image-cropper.js.map +1 -0
- package/dist/components/image-cropper/style.d.ts +1 -0
- package/dist/components/image-cropper/style.js +1 -0
- package/dist/components/image-cropper/style2.css +205 -0
- package/dist/components/image-cropper/use-image-loader.js +59 -0
- package/dist/components/image-cropper/use-image-loader.js.map +1 -0
- package/dist/components/image-cropper/use-preview.js +44 -0
- package/dist/components/image-cropper/use-preview.js.map +1 -0
- package/dist/components/image-cropper/use-selection.js +183 -0
- package/dist/components/image-cropper/use-selection.js.map +1 -0
- package/dist/components/image-cropper/use-transform.js +182 -0
- package/dist/components/image-cropper/use-transform.js.map +1 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +3 -1
- package/dist/components/index.js.map +1 -1
- package/dist/index.d.ts +47 -45
- package/dist/index.js +46 -45
- package/dist/types/image-cropper.d.ts +68 -0
- package/dist/types/index.d.ts +2 -1
- package/package.json +6 -6
- package/src/components/auto-complete/style.scss +3 -15
- package/src/components/contextmenu/style.scss +4 -20
- package/src/components/image-cropper/__test__/draw-crop.test.ts +131 -0
- package/src/components/image-cropper/__test__/image-cropper.test.ts +744 -0
- package/src/components/image-cropper/__test__/use-transform.test.ts +229 -0
- package/src/components/image-cropper/draw-crop.ts +112 -0
- package/src/components/image-cropper/image-cropper.vue +302 -0
- package/src/components/image-cropper/index.ts +1 -0
- package/src/components/image-cropper/style.scss +232 -0
- package/src/components/image-cropper/style.ts +1 -0
- package/src/components/image-cropper/use-image-loader.ts +79 -0
- package/src/components/image-cropper/use-preview.ts +58 -0
- package/src/components/image-cropper/use-selection.ts +255 -0
- package/src/components/image-cropper/use-transform.ts +256 -0
- package/src/components/index.ts +2 -0
- package/src/components/select/style.scss +3 -15
- package/src/types/image-cropper.ts +73 -0
- package/src/types/index.ts +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import _sfc_main$41 from "./components/icon/icon.js";
|
|
2
2
|
import _sfc_main$30 from "./components/empty/empty.js";
|
|
3
|
-
import _sfc_main$
|
|
4
|
-
import _sfc_main$
|
|
3
|
+
import _sfc_main$68 from "./components/scroll/scroll.js";
|
|
4
|
+
import _sfc_main$83 from "./components/tip/tip.js";
|
|
5
5
|
import _sfc_main$28 from "./components/dropdown/dropdown.js";
|
|
6
6
|
import input_default from "./components/input/input.js";
|
|
7
|
-
import _sfc_main$
|
|
7
|
+
import _sfc_main$70 from "./components/select/select.js";
|
|
8
8
|
import _sfc_main$21 from "./components/condition-editor/condition-editor.js";
|
|
9
|
-
import _sfc_main$
|
|
10
|
-
import _sfc_main$
|
|
11
|
-
import _sfc_main$
|
|
9
|
+
import _sfc_main$77 from "./components/tabs/tabs-horizontal.js";
|
|
10
|
+
import _sfc_main$78 from "./components/tabs/tabs-vertical.js";
|
|
11
|
+
import _sfc_main$76 from "./components/tabs/tabs.js";
|
|
12
12
|
import _sfc_main$15 from "./components/checkbox/checkbox.js";
|
|
13
|
-
import _sfc_main$
|
|
14
|
-
import _sfc_main$
|
|
13
|
+
import _sfc_main$84 from "./components/tree/tree.js";
|
|
14
|
+
import _sfc_main$85 from "./components/tree-select/tree-select.js";
|
|
15
15
|
import _sfc_main$18 from "./components/code-editor/code-editor.js";
|
|
16
16
|
import _sfc_main$27 from "./components/drawer/drawer.js";
|
|
17
17
|
import _sfc_main$36 from "./components/grid/grid.js";
|
|
@@ -20,9 +20,9 @@ import form_item_default from "./components/form-item/form-item.js";
|
|
|
20
20
|
import form_default from "./components/form/form.js";
|
|
21
21
|
import _sfc_main$5 from "./components/button/button.js";
|
|
22
22
|
import _sfc_main$6 from "./components/button/button-group.js";
|
|
23
|
-
import _sfc_main$
|
|
23
|
+
import _sfc_main$49 from "./components/message-confirm/message-confirm.js";
|
|
24
24
|
import _sfc_main$7 from "./components/calendar/calendar.js";
|
|
25
|
-
import _sfc_main$
|
|
25
|
+
import _sfc_main$65 from "./components/radio/radio.js";
|
|
26
26
|
import _sfc_main$8 from "./components/card/card.js";
|
|
27
27
|
import _sfc_main$12 from "./components/card/card-header.js";
|
|
28
28
|
import _sfc_main$11 from "./components/card/card-cover.js";
|
|
@@ -30,64 +30,65 @@ import _sfc_main$10 from "./components/card/card-content.js";
|
|
|
30
30
|
import _sfc_main$9 from "./components/card/card-action.js";
|
|
31
31
|
import _sfc_main$23 from "./components/date-panel/date-panel.js";
|
|
32
32
|
import _sfc_main$25 from "./components/date-range-picker/date-range-picker.js";
|
|
33
|
-
import _sfc_main$
|
|
34
|
-
import _sfc_main$
|
|
33
|
+
import _sfc_main$47 from "./components/loading/loading.js";
|
|
34
|
+
import _sfc_main$64 from "./components/progress-nodes/progress-nodes.js";
|
|
35
35
|
import _sfc_main$1 from "./components/auto-complete/auto-complete.js";
|
|
36
|
-
import _sfc_main$
|
|
37
|
-
import _sfc_main$
|
|
38
|
-
import _sfc_main$
|
|
39
|
-
import _sfc_main$
|
|
36
|
+
import _sfc_main$63 from "./components/progress/progress.js";
|
|
37
|
+
import _sfc_main$55 from "./components/notification/notification.js";
|
|
38
|
+
import _sfc_main$44 from "./components/layout/layout.js";
|
|
39
|
+
import _sfc_main$79 from "./components/tag/tag.js";
|
|
40
40
|
import _sfc_main$16 from "./components/checkbox/checkbox-button.js";
|
|
41
|
-
import _sfc_main$
|
|
42
|
-
import _sfc_main$
|
|
41
|
+
import _sfc_main$50 from "./components/multi-select/multi-select.js";
|
|
42
|
+
import _sfc_main$71 from "./components/slider/slider.js";
|
|
43
43
|
import _sfc_main$35 from "./components/gantt-chart/gantt-chart.js";
|
|
44
|
-
import _sfc_main$
|
|
44
|
+
import _sfc_main$48 from "./components/message/message.js";
|
|
45
45
|
import _sfc_main$32 from "./components/file-picker/file-picker.js";
|
|
46
|
-
import _sfc_main$
|
|
47
|
-
import _sfc_main$
|
|
46
|
+
import _sfc_main$57 from "./components/number-input/number-input.js";
|
|
47
|
+
import _sfc_main$58 from "./components/number-range-input/number-range-input.js";
|
|
48
48
|
import _sfc_main$19 from "./components/collapse/collapse.js";
|
|
49
49
|
import _sfc_main$20 from "./components/collapse/collapse-item.js";
|
|
50
|
-
import _sfc_main$
|
|
51
|
-
import _sfc_main$
|
|
50
|
+
import _sfc_main$74 from "./components/table/table.js";
|
|
51
|
+
import _sfc_main$75 from "./components/table-editor/table-editor.js";
|
|
52
52
|
import _sfc_main$14 from "./components/check-tag/check-tag.js";
|
|
53
53
|
import _sfc_main$22 from "./components/contextmenu/contextmenu.js";
|
|
54
|
-
import _sfc_main$
|
|
55
|
-
import _sfc_main$
|
|
54
|
+
import _sfc_main$61 from "./components/password-input/password-input.js";
|
|
55
|
+
import _sfc_main$56 from "./components/number/number.js";
|
|
56
56
|
import _sfc_main$26 from "./components/dialog/dialog.js";
|
|
57
57
|
import _sfc_main$31 from "./components/expression-editor/expression-editor.js";
|
|
58
|
-
import _sfc_main$
|
|
59
|
-
import _sfc_main$
|
|
60
|
-
import _sfc_main$
|
|
58
|
+
import _sfc_main$86 from "./components/watermark/watermark.js";
|
|
59
|
+
import _sfc_main$43 from "./components/kbd/kbd.js";
|
|
60
|
+
import _sfc_main$62 from "./components/pop-confirm/pop-confirm.js";
|
|
61
61
|
import _sfc_main from "./components/action/action.js";
|
|
62
62
|
import action_group_default from "./components/action/action-group.js";
|
|
63
63
|
import _sfc_main$3 from "./components/batch-edit/batch-edit.js";
|
|
64
|
-
import _sfc_main$
|
|
64
|
+
import _sfc_main$81 from "./components/textarea/textarea.js";
|
|
65
65
|
import _sfc_main$13 from "./components/cascade/cascade.js";
|
|
66
|
-
import _sfc_main$
|
|
66
|
+
import _sfc_main$72 from "./components/steps/steps.js";
|
|
67
67
|
import _sfc_main$24 from "./components/date-picker/date-picker.js";
|
|
68
|
-
import _sfc_main$
|
|
69
|
-
import _sfc_main$
|
|
70
|
-
import _sfc_main$
|
|
68
|
+
import _sfc_main$60 from "./components/palette/palette.js";
|
|
69
|
+
import _sfc_main$82 from "./components/theme/theme.js";
|
|
70
|
+
import _sfc_main$51 from "./components/multi-tree-select/multi-tree-select.js";
|
|
71
71
|
import _sfc_main$39 from "./components/group-input/group-input.js";
|
|
72
|
-
import _sfc_main$
|
|
73
|
-
import _sfc_main$
|
|
74
|
-
import _sfc_main$
|
|
75
|
-
import _sfc_main$
|
|
76
|
-
import _sfc_main$
|
|
77
|
-
import _sfc_main$
|
|
72
|
+
import _sfc_main$45 from "./components/list/list.js";
|
|
73
|
+
import _sfc_main$46 from "./components/list/list-item.js";
|
|
74
|
+
import _sfc_main$67 from "./components/rich-text-editor/rich-text-editor.js";
|
|
75
|
+
import _sfc_main$53 from "./components/nav/nav-item.js";
|
|
76
|
+
import _sfc_main$54 from "./components/nav/nav-sub.js";
|
|
77
|
+
import _sfc_main$52 from "./components/nav/nav.js";
|
|
78
78
|
import _sfc_main$29 from "./components/dual-nav/dual-nav.js";
|
|
79
79
|
import _sfc_main$40 from "./components/group-nav/group-nav.js";
|
|
80
80
|
import _sfc_main$37 from "./components/grid-input/grid-input.js";
|
|
81
|
-
import _sfc_main$
|
|
82
|
-
import _sfc_main$
|
|
81
|
+
import _sfc_main$73 from "./components/switch/switch.js";
|
|
82
|
+
import _sfc_main$66 from "./components/radio-group/radio-group.js";
|
|
83
83
|
import _sfc_main$17 from "./components/checkbox-group/checkbox-group.js";
|
|
84
84
|
import _sfc_main$33 from "./components/file-viewer/file-viewer.js";
|
|
85
|
-
import _sfc_main$
|
|
85
|
+
import _sfc_main$80 from "./components/text/text.js";
|
|
86
86
|
import _sfc_main$4 from "./components/breadcrumb/breadcrumb.js";
|
|
87
|
-
import _sfc_main$
|
|
87
|
+
import _sfc_main$59 from "./components/paginator/paginator.js";
|
|
88
88
|
import _sfc_main$34 from "./components/float-button/float-button.js";
|
|
89
89
|
import _sfc_main$2 from "./components/badge/badge.js";
|
|
90
|
-
import _sfc_main$
|
|
90
|
+
import _sfc_main$69 from "./components/segment/segment.js";
|
|
91
|
+
import _sfc_main$42 from "./components/image-cropper/image-cropper.js";
|
|
91
92
|
import { CascadeEmits, CascadeExposed, CascadeNode, CascadeProps, PanelItem, _CascadeExposed } from "./types/cascade.js";
|
|
92
93
|
import { Message, MessageEmits, MessageExposed, MessageInstance, MessageOptions, MessageProps, MessageType, _MessageExposed } from "./types/message.js";
|
|
93
94
|
import { MultiSelectEmits, MultiSelectExposed, MultiSelectProps, _MultiSelectExposed } from "./types/multi-select.js";
|
|
@@ -170,6 +171,7 @@ import { RichTextEditorEmits, RichTextEditorExposed, RichTextEditorProps, RichTe
|
|
|
170
171
|
import { FileViewerEmits, FileViewerExposed, FileViewerItem, FileViewerKind, FileViewerProps, _FileViewerExposed } from "./types/file-viewer.js";
|
|
171
172
|
import { CollapseEmits, CollapseItemEmits, CollapseItemProps, CollapseModelValue, CollapseProps, CollapseValue } from "./types/collapse.js";
|
|
172
173
|
import { SegmentEmits, SegmentExposed, SegmentItem, SegmentProps, _SegmentExposed } from "./types/segment.js";
|
|
174
|
+
import { ImageCropperChangePayload, ImageCropperCropTransform, ImageCropperEmits, ImageCropperExposed, ImageCropperProps, ImageCropperResult, ImageCropperResultOptions, ImageCropperSelection, _ImageCropperExposed } from "./types/image-cropper.js";
|
|
173
175
|
import "./types/index.js";
|
|
174
176
|
import { EvaluateOptions, createEmptyGroup, createEmptyLeaf, evaluate } from "./components/condition-editor/core/evaluator.js";
|
|
175
177
|
import { messageConfirm } from "./components/message-confirm/message-confirm.js";
|
|
@@ -183,4 +185,4 @@ import { defineBatchEditColumns } from "./components/batch-edit/helper.js";
|
|
|
183
185
|
import { defineTableColumns } from "./components/table/use-columns.js";
|
|
184
186
|
import "./components/index.js";
|
|
185
187
|
export * from "@veltra/utils";
|
|
186
|
-
export { type ActionEmits, type ActionExposed, type ActionGroupExposed, type ActionGroupProps, type ActionProps, type AnimationEmits, type AnimationExposed, type AnimationProps, type AutoCompleteEmits, type AutoCompleteExposed, type AutoCompleteProps, type BadgeEmits, type BadgeExposed, type BadgeProps, type BarType, type BatchEditColumn, type BatchEditEmits, type BatchEditExposed, type BatchEditFeature, type BatchEditFormStatus, type BatchEditProps, type BatchEditSlots, type BatchEditStates, type BreadcrumbEmits, type BreadcrumbExposed, type BreadcrumbItem, type BreadcrumbProps, type BreadcrumbSlotScope, type BreakCols, type Breakpoint, type ButtonEmits, type ButtonExposed, type ButtonProps, type ButtonType, type CalendarDay, type CalendarEmits, type CalendarExposed, type CalendarMonth, type CalendarProps, type CalendarYear, type CardActionProps, type CardContentProps, type CardCoverProps, type CardEmits, type CardExposed, type CardProps, type CascadeEmits, type CascadeExposed, type CascadeNode, type CascadeProps, type CheckTagEmits, type CheckTagExposed, type CheckTagProps, type CheckboxButtonEmits, type CheckboxButtonProps, type CheckboxEmits, type CheckboxExposed, type CheckboxGroupEmits, type CheckboxGroupExposed, type CheckboxGroupProps, type CheckboxProps, type CodeEditorEmits, type CodeEditorExposed, type CodeEditorLang, type CodeEditorProps, type CollapseEmits, type CollapseItemEmits, type CollapseItemProps, type CollapseModelValue, type CollapseProps, type CollapseValue, type ConditionConnector, type ConditionEditorEmits, type ConditionEditorExposed, type ConditionEditorProps, type EvaluateOptions as ConditionEvaluateOptions, type ConditionExpression, type ConditionField, type ConditionGroup, type ConditionLeaf, type ConditionNode, type ConditionValue, type ContextmenuEmits, type ContextmenuExposed, type ContextmenuItem, ContextmenuPanelDIKey, type ContextmenuProps, ContextmenuRootDIKey, type CssTransitionEmits, type CssTransitionExposed, type CssTransitionProps, type DatePanelEmits, type DatePanelProps, type DatePickerDataType, type DatePickerEmits, type DatePickerExposed, type DatePickerProps, type DateRangePickerDataType, type DateRangePickerEmits, type DateRangePickerExposed, type DateRangePickerProps, type DateRangeValue, type DialogEmits, type DialogExposed, type DialogProps, type DialogTransition, type DrawerDirection, type DrawerEmits, type DrawerExposed, type DrawerMode, type DrawerProps, type DropdownEmits, type DropdownExposed, type DropdownProps, type DualNavEmits, type DualNavExposed, type DualNavProps, type DualNavRailVariant, type DualNavRootItem, type EmptyEmits, type EmptyExposed, type EmptyProps, type ExpressionEditorEmits, type ExpressionEditorExposed, type ExpressionEditorProps, type ExpressionSelectableLevels, type FileViewerEmits, type FileViewerExposed, type FileViewerItem, type FileViewerKind, type FileViewerProps, type FloatButtonEmits, type FloatButtonExposed, type FloatButtonItem, type FloatButtonProps, type FormEmits, type FormExposed, type FormItemEmits, type FormItemExposed, type FormItemProps, type FormProps, type GanttChartEmits, type GanttChartExposed, type GanttChartProps, type GridEmits, type GridExposed, type GridInputEmits, type GridInputExposed, type GridInputProps, type GridItemProps, type GridProps, type GroupInputEmits, type GroupInputExposed, type GroupInputProps, type GroupNavEmits, type GroupNavGroup, type GroupNavProps, type IconEmits, type IconExposed, type IconProps, type InputEmits, type InputExposed, type InputProps, type LayoutEmits, type LayoutExposed, type LayoutProps, type ListEmits, type ListExposed, type ListProps, type LoadingEmits, type LoadingExposed, type LoadingProps, type LoadingType, type Message, type MessageConfirm, type MessageConfirmAction, type MessageConfirmEmits, type MessageConfirmExposed, type MessageConfirmInstance, type MessageConfirmOptions, type MessageConfirmProps, type MessageEmits, type MessageExposed, type MessageInstance, type MessageOptions, type MessageProps, type MessageType, type MultiAutoCompleteEmits, type MultiAutoCompleteExposed, type MultiAutoCompleteProps, type MultiSelectEmits, type MultiSelectExposed, type MultiSelectProps, type MultiTreeSelectEmits, type MultiTreeSelectExposed, type MultiTreeSelectProps, type NavEmits, type NavExposed, type NavItem, type NavProps, type NodeRenderExposed, type NodeRenderProps, type Notification, type NotificationEmits, type NotificationExposed, type NotificationInstance, type NotificationOptions, type NotificationPosition, type NotificationProps, type NumberEmits, type NumberExposed, type NumberInputEmits, type NumberInputExposed, type NumberInputProps, type NumberProps, type NumberRangeInputEmits, type NumberRangeInputExposed, type NumberRangeInputProps, type NumberRangeTuple, type PaginatorEmits, type PaginatorExposed, type PaginatorProps, type PaletteColorType, type PaletteEmits, type PaletteExposed, type PaletteHSV, type PaletteProps, type PaletteRGB, type PanelItem, type PanelType, type PasswordInputEmits, type PasswordInputExposed, type PasswordInputProps, type PopConfirmEmits, type PopConfirmExposed, type PopConfirmProps, type PopEmits, type PopExposed, type PopProps, type ProgressEmits, type ProgressExposed, type ProgressNodesEmits, type ProgressNodesExposed, type ProgressNodesProps, type ProgressProps, type QuickBatchEditEmits, type QuickBatchEditExposed, type QuickBatchEditProps, type RadioEmits, type RadioExposed, type RadioGroupEmits, type RadioGroupExposed, type RadioGroupProps, type RadioProps, type RichTextEditorEmits, type RichTextEditorExposed, type RichTextEditorProps, type RichTextFormat, type ScrollEmits, type ScrollExposed, type ScrollPosition, type ScrollProps, type SegmentEmits, type SegmentExposed, type SegmentItem, type SegmentProps, type SelectEmits, type SelectExposed, type SelectProps, type SliderEmits, type SliderExposed, type SliderProps, type StepsEmits, type StepsExposed, type StepsProps, type StepsSlotScope, type SwitchEmits, type SwitchExposed, type SwitchProps, type TabItem, type TableColumn, type TableColumnAlign, type TableColumnNode, type TableColumnRenderContext, type TableColumnSlotsScope, type TableEditorEmits, type TableEditorExposed, type TableEditorProps, type TableEmits, type TableExposed, type TableProps, type TableRow, type TableRowSlotsScope, type TableSummaryContext, type TabsEmits, type TabsExposed, type TabsHorizontalEmits, type TabsHorizontalExposed, type TabsHorizontalProps, type TabsProps, type TabsVerticalEmits, type TabsVerticalExposed, type TabsVerticalProps, type TagEmits, type TagExposed, type TagProps, type TextEditorEmits, type TextEditorExposed, type TextEditorProps, type TextEmits, type TextExposed, type TextProps, type TextareaEmits, type TextareaExposed, type TextareaProps, type ThemeExposed, type ThemeProps, type TipAlign, type TipDirection, type TipEmits, type TipExposed, type TipProps, type ToolbarItem, type TreeEmit, type TreeExposed, type TreeNode, type TreeNodeProps, type TreeProps, type TreeSelectEmits, type TreeSelectExposed, type TreeSelectProps, _sfc_main as UAction, action_group_default as UActionGroup, _sfc_main$1 as UAutoComplete, _sfc_main$2 as UBadge, _sfc_main$3 as UBatchEdit, _sfc_main$4 as UBreadcrumb, _sfc_main$5 as UButton, _sfc_main$6 as UButtonGroup, _sfc_main$7 as UCalendar, _sfc_main$8 as UCard, _sfc_main$9 as UCardAction, _sfc_main$10 as UCardContent, _sfc_main$11 as UCardCover, _sfc_main$12 as UCardHeader, _sfc_main$13 as UCascade, _sfc_main$14 as UCheckTag, _sfc_main$15 as UCheckbox, _sfc_main$16 as UCheckboxButton, _sfc_main$17 as UCheckboxGroup, _sfc_main$18 as UCodeEditor, _sfc_main$19 as UCollapse, _sfc_main$20 as UCollapseItem, _sfc_main$21 as UConditionEditor, _sfc_main$22 as UContextmenu, _sfc_main$23 as UDatePanel, _sfc_main$24 as UDatePicker, _sfc_main$25 as UDateRangePicker, _sfc_main$26 as UDialog, _sfc_main$27 as UDrawer, _sfc_main$28 as UDropdown, _sfc_main$29 as UDualNav, _sfc_main$30 as UEmpty, _sfc_main$31 as UExpressionEditor, _sfc_main$32 as UFilePicker, _sfc_main$33 as UFileViewer, _sfc_main$34 as UFloatButton, form_default as UForm, form_item_default as UFormItem, _sfc_main$35 as UGanttChart, _sfc_main$36 as UGrid, _sfc_main$37 as UGridInput, _sfc_main$38 as UGridItem, _sfc_main$39 as UGroupInput, _sfc_main$40 as UGroupNav, _sfc_main$41 as UIcon, input_default as UInput, _sfc_main$42 as UKbd, _sfc_main$43 as ULayout, _sfc_main$44 as UList, _sfc_main$45 as UListItem, _sfc_main$46 as ULoading, _sfc_main$47 as UMessage, _sfc_main$48 as UMessageConfirm, _sfc_main$49 as UMultiSelect, _sfc_main$50 as UMultiTreeSelect, _sfc_main$51 as UNav, _sfc_main$52 as UNavItem, _sfc_main$53 as UNavSub, NodeRender as UNodeRender, _sfc_main$54 as UNotification, _sfc_main$55 as UNumber, _sfc_main$56 as UNumberInput, _sfc_main$57 as UNumberRangeInput, _sfc_main$58 as UPaginator, _sfc_main$59 as UPalette, _sfc_main$60 as UPasswordInput, _sfc_main$61 as UPopConfirm, _sfc_main$62 as UProgress, _sfc_main$63 as UProgressNodes, _sfc_main$64 as URadio, _sfc_main$65 as URadioGroup, _sfc_main$66 as URichTextEditor, _sfc_main$67 as UScroll, _sfc_main$68 as USegment, _sfc_main$69 as USelect, _sfc_main$70 as USlider, _sfc_main$71 as USteps, _sfc_main$72 as USwitch, _sfc_main$73 as UTable, _sfc_main$74 as UTableEditor, _sfc_main$75 as UTabs, _sfc_main$76 as UTabsHorizontal, _sfc_main$77 as UTabsVertical, _sfc_main$78 as UTag, _sfc_main$79 as UText, _sfc_main$80 as UTextarea, _sfc_main$81 as UTheme, _sfc_main$82 as UTip, _sfc_main$83 as UTree, _sfc_main$84 as UTreeSelect, _sfc_main$85 as UWatermark, type UploaderEmits, type UploaderExposed, type UploaderProps, type VariableItem, type WatermarkEmits, type WatermarkExposed, type WatermarkProps, type _ActionExposed, type _ActionGroupExposed, type _AnimationExposed, type _AutoCompleteExposed, type _BadgeExposed, type _BatchEditExposed, type _BreadcrumbExposed, type _ButtonExposed, type _CalendarExposed, type _CardExposed, type _CascadeExposed, type _CheckTagExposed, type _CodeEditorExposed, type _ConditionEditorExposed, type _ContextmenuExposed, type _CssTransitionExposed, type _DatePickerExposed, type _DateRangePickerExposed, type _DialogExposed, type _DrawerExposed, type _DropdownExposed, type _DualNavExposed, type _EmptyExposed, type _ExpressionEditorExposed, type _FileViewerExposed, type _FloatButtonExposed, type _FormExposed, type _GanttChartExposed, type _GridExposed, type _GridInputExposed, type _GroupInputExposed, type _InputExposed, type _LayoutExposed, type _ListExposed, type _LoadingExposed, type _MessageConfirmExposed, type _MessageExposed, type _MultiAutoCompleteExposed, type _MultiSelectExposed, type _MultiTreeSelectExposed, type _NavExposed, type _NotificationExposed, type _PaginatorExposed, type _PaletteExposed, type _PasswordInputExposed, type _PopConfirmExposed, type _PopExposed, type _ProgressExposed, type _ProgressNodesExposed, type _QuickBatchEditExposed, type _RadioExposed, type _RadioGroupExposed, type _RichTextEditorExposed, type _ScrollExposed, type _SegmentExposed, type _SelectExposed, type _SliderExposed, type _StepsExposed, type _SwitchExposed, type _TableEditorExposed, type _TableExposed, type _TabsExposed, type _TabsHorizontalExposed, type _TabsVerticalExposed, type _TextEditorExposed, type _TextExposed, type _TextareaExposed, type _ThemeExposed, type _TipExposed, type _TreeExposed, type _TreeSelectExposed, type _UploaderExposed, type _WatermarkExposed, contextmenu, createEmptyGroup, createEmptyLeaf, defineBatchEditColumns, defineTableColumns, evaluate as evaluateConditionExpression, message, messageConfirm, notification, vLoading };
|
|
188
|
+
export { type ActionEmits, type ActionExposed, type ActionGroupExposed, type ActionGroupProps, type ActionProps, type AnimationEmits, type AnimationExposed, type AnimationProps, type AutoCompleteEmits, type AutoCompleteExposed, type AutoCompleteProps, type BadgeEmits, type BadgeExposed, type BadgeProps, type BarType, type BatchEditColumn, type BatchEditEmits, type BatchEditExposed, type BatchEditFeature, type BatchEditFormStatus, type BatchEditProps, type BatchEditSlots, type BatchEditStates, type BreadcrumbEmits, type BreadcrumbExposed, type BreadcrumbItem, type BreadcrumbProps, type BreadcrumbSlotScope, type BreakCols, type Breakpoint, type ButtonEmits, type ButtonExposed, type ButtonProps, type ButtonType, type CalendarDay, type CalendarEmits, type CalendarExposed, type CalendarMonth, type CalendarProps, type CalendarYear, type CardActionProps, type CardContentProps, type CardCoverProps, type CardEmits, type CardExposed, type CardProps, type CascadeEmits, type CascadeExposed, type CascadeNode, type CascadeProps, type CheckTagEmits, type CheckTagExposed, type CheckTagProps, type CheckboxButtonEmits, type CheckboxButtonProps, type CheckboxEmits, type CheckboxExposed, type CheckboxGroupEmits, type CheckboxGroupExposed, type CheckboxGroupProps, type CheckboxProps, type CodeEditorEmits, type CodeEditorExposed, type CodeEditorLang, type CodeEditorProps, type CollapseEmits, type CollapseItemEmits, type CollapseItemProps, type CollapseModelValue, type CollapseProps, type CollapseValue, type ConditionConnector, type ConditionEditorEmits, type ConditionEditorExposed, type ConditionEditorProps, type EvaluateOptions as ConditionEvaluateOptions, type ConditionExpression, type ConditionField, type ConditionGroup, type ConditionLeaf, type ConditionNode, type ConditionValue, type ContextmenuEmits, type ContextmenuExposed, type ContextmenuItem, ContextmenuPanelDIKey, type ContextmenuProps, ContextmenuRootDIKey, type CssTransitionEmits, type CssTransitionExposed, type CssTransitionProps, type DatePanelEmits, type DatePanelProps, type DatePickerDataType, type DatePickerEmits, type DatePickerExposed, type DatePickerProps, type DateRangePickerDataType, type DateRangePickerEmits, type DateRangePickerExposed, type DateRangePickerProps, type DateRangeValue, type DialogEmits, type DialogExposed, type DialogProps, type DialogTransition, type DrawerDirection, type DrawerEmits, type DrawerExposed, type DrawerMode, type DrawerProps, type DropdownEmits, type DropdownExposed, type DropdownProps, type DualNavEmits, type DualNavExposed, type DualNavProps, type DualNavRailVariant, type DualNavRootItem, type EmptyEmits, type EmptyExposed, type EmptyProps, type ExpressionEditorEmits, type ExpressionEditorExposed, type ExpressionEditorProps, type ExpressionSelectableLevels, type FileViewerEmits, type FileViewerExposed, type FileViewerItem, type FileViewerKind, type FileViewerProps, type FloatButtonEmits, type FloatButtonExposed, type FloatButtonItem, type FloatButtonProps, type FormEmits, type FormExposed, type FormItemEmits, type FormItemExposed, type FormItemProps, type FormProps, type GanttChartEmits, type GanttChartExposed, type GanttChartProps, type GridEmits, type GridExposed, type GridInputEmits, type GridInputExposed, type GridInputProps, type GridItemProps, type GridProps, type GroupInputEmits, type GroupInputExposed, type GroupInputProps, type GroupNavEmits, type GroupNavGroup, type GroupNavProps, type IconEmits, type IconExposed, type IconProps, type ImageCropperChangePayload, type ImageCropperCropTransform, type ImageCropperEmits, type ImageCropperExposed, type ImageCropperProps, type ImageCropperResult, type ImageCropperResultOptions, type ImageCropperSelection, type InputEmits, type InputExposed, type InputProps, type LayoutEmits, type LayoutExposed, type LayoutProps, type ListEmits, type ListExposed, type ListProps, type LoadingEmits, type LoadingExposed, type LoadingProps, type LoadingType, type Message, type MessageConfirm, type MessageConfirmAction, type MessageConfirmEmits, type MessageConfirmExposed, type MessageConfirmInstance, type MessageConfirmOptions, type MessageConfirmProps, type MessageEmits, type MessageExposed, type MessageInstance, type MessageOptions, type MessageProps, type MessageType, type MultiAutoCompleteEmits, type MultiAutoCompleteExposed, type MultiAutoCompleteProps, type MultiSelectEmits, type MultiSelectExposed, type MultiSelectProps, type MultiTreeSelectEmits, type MultiTreeSelectExposed, type MultiTreeSelectProps, type NavEmits, type NavExposed, type NavItem, type NavProps, type NodeRenderExposed, type NodeRenderProps, type Notification, type NotificationEmits, type NotificationExposed, type NotificationInstance, type NotificationOptions, type NotificationPosition, type NotificationProps, type NumberEmits, type NumberExposed, type NumberInputEmits, type NumberInputExposed, type NumberInputProps, type NumberProps, type NumberRangeInputEmits, type NumberRangeInputExposed, type NumberRangeInputProps, type NumberRangeTuple, type PaginatorEmits, type PaginatorExposed, type PaginatorProps, type PaletteColorType, type PaletteEmits, type PaletteExposed, type PaletteHSV, type PaletteProps, type PaletteRGB, type PanelItem, type PanelType, type PasswordInputEmits, type PasswordInputExposed, type PasswordInputProps, type PopConfirmEmits, type PopConfirmExposed, type PopConfirmProps, type PopEmits, type PopExposed, type PopProps, type ProgressEmits, type ProgressExposed, type ProgressNodesEmits, type ProgressNodesExposed, type ProgressNodesProps, type ProgressProps, type QuickBatchEditEmits, type QuickBatchEditExposed, type QuickBatchEditProps, type RadioEmits, type RadioExposed, type RadioGroupEmits, type RadioGroupExposed, type RadioGroupProps, type RadioProps, type RichTextEditorEmits, type RichTextEditorExposed, type RichTextEditorProps, type RichTextFormat, type ScrollEmits, type ScrollExposed, type ScrollPosition, type ScrollProps, type SegmentEmits, type SegmentExposed, type SegmentItem, type SegmentProps, type SelectEmits, type SelectExposed, type SelectProps, type SliderEmits, type SliderExposed, type SliderProps, type StepsEmits, type StepsExposed, type StepsProps, type StepsSlotScope, type SwitchEmits, type SwitchExposed, type SwitchProps, type TabItem, type TableColumn, type TableColumnAlign, type TableColumnNode, type TableColumnRenderContext, type TableColumnSlotsScope, type TableEditorEmits, type TableEditorExposed, type TableEditorProps, type TableEmits, type TableExposed, type TableProps, type TableRow, type TableRowSlotsScope, type TableSummaryContext, type TabsEmits, type TabsExposed, type TabsHorizontalEmits, type TabsHorizontalExposed, type TabsHorizontalProps, type TabsProps, type TabsVerticalEmits, type TabsVerticalExposed, type TabsVerticalProps, type TagEmits, type TagExposed, type TagProps, type TextEditorEmits, type TextEditorExposed, type TextEditorProps, type TextEmits, type TextExposed, type TextProps, type TextareaEmits, type TextareaExposed, type TextareaProps, type ThemeExposed, type ThemeProps, type TipAlign, type TipDirection, type TipEmits, type TipExposed, type TipProps, type ToolbarItem, type TreeEmit, type TreeExposed, type TreeNode, type TreeNodeProps, type TreeProps, type TreeSelectEmits, type TreeSelectExposed, type TreeSelectProps, _sfc_main as UAction, action_group_default as UActionGroup, _sfc_main$1 as UAutoComplete, _sfc_main$2 as UBadge, _sfc_main$3 as UBatchEdit, _sfc_main$4 as UBreadcrumb, _sfc_main$5 as UButton, _sfc_main$6 as UButtonGroup, _sfc_main$7 as UCalendar, _sfc_main$8 as UCard, _sfc_main$9 as UCardAction, _sfc_main$10 as UCardContent, _sfc_main$11 as UCardCover, _sfc_main$12 as UCardHeader, _sfc_main$13 as UCascade, _sfc_main$14 as UCheckTag, _sfc_main$15 as UCheckbox, _sfc_main$16 as UCheckboxButton, _sfc_main$17 as UCheckboxGroup, _sfc_main$18 as UCodeEditor, _sfc_main$19 as UCollapse, _sfc_main$20 as UCollapseItem, _sfc_main$21 as UConditionEditor, _sfc_main$22 as UContextmenu, _sfc_main$23 as UDatePanel, _sfc_main$24 as UDatePicker, _sfc_main$25 as UDateRangePicker, _sfc_main$26 as UDialog, _sfc_main$27 as UDrawer, _sfc_main$28 as UDropdown, _sfc_main$29 as UDualNav, _sfc_main$30 as UEmpty, _sfc_main$31 as UExpressionEditor, _sfc_main$32 as UFilePicker, _sfc_main$33 as UFileViewer, _sfc_main$34 as UFloatButton, form_default as UForm, form_item_default as UFormItem, _sfc_main$35 as UGanttChart, _sfc_main$36 as UGrid, _sfc_main$37 as UGridInput, _sfc_main$38 as UGridItem, _sfc_main$39 as UGroupInput, _sfc_main$40 as UGroupNav, _sfc_main$41 as UIcon, _sfc_main$42 as UImageCropper, input_default as UInput, _sfc_main$43 as UKbd, _sfc_main$44 as ULayout, _sfc_main$45 as UList, _sfc_main$46 as UListItem, _sfc_main$47 as ULoading, _sfc_main$48 as UMessage, _sfc_main$49 as UMessageConfirm, _sfc_main$50 as UMultiSelect, _sfc_main$51 as UMultiTreeSelect, _sfc_main$52 as UNav, _sfc_main$53 as UNavItem, _sfc_main$54 as UNavSub, NodeRender as UNodeRender, _sfc_main$55 as UNotification, _sfc_main$56 as UNumber, _sfc_main$57 as UNumberInput, _sfc_main$58 as UNumberRangeInput, _sfc_main$59 as UPaginator, _sfc_main$60 as UPalette, _sfc_main$61 as UPasswordInput, _sfc_main$62 as UPopConfirm, _sfc_main$63 as UProgress, _sfc_main$64 as UProgressNodes, _sfc_main$65 as URadio, _sfc_main$66 as URadioGroup, _sfc_main$67 as URichTextEditor, _sfc_main$68 as UScroll, _sfc_main$69 as USegment, _sfc_main$70 as USelect, _sfc_main$71 as USlider, _sfc_main$72 as USteps, _sfc_main$73 as USwitch, _sfc_main$74 as UTable, _sfc_main$75 as UTableEditor, _sfc_main$76 as UTabs, _sfc_main$77 as UTabsHorizontal, _sfc_main$78 as UTabsVertical, _sfc_main$79 as UTag, _sfc_main$80 as UText, _sfc_main$81 as UTextarea, _sfc_main$82 as UTheme, _sfc_main$83 as UTip, _sfc_main$84 as UTree, _sfc_main$85 as UTreeSelect, _sfc_main$86 as UWatermark, type UploaderEmits, type UploaderExposed, type UploaderProps, type VariableItem, type WatermarkEmits, type WatermarkExposed, type WatermarkProps, type _ActionExposed, type _ActionGroupExposed, type _AnimationExposed, type _AutoCompleteExposed, type _BadgeExposed, type _BatchEditExposed, type _BreadcrumbExposed, type _ButtonExposed, type _CalendarExposed, type _CardExposed, type _CascadeExposed, type _CheckTagExposed, type _CodeEditorExposed, type _ConditionEditorExposed, type _ContextmenuExposed, type _CssTransitionExposed, type _DatePickerExposed, type _DateRangePickerExposed, type _DialogExposed, type _DrawerExposed, type _DropdownExposed, type _DualNavExposed, type _EmptyExposed, type _ExpressionEditorExposed, type _FileViewerExposed, type _FloatButtonExposed, type _FormExposed, type _GanttChartExposed, type _GridExposed, type _GridInputExposed, type _GroupInputExposed, type _ImageCropperExposed, type _InputExposed, type _LayoutExposed, type _ListExposed, type _LoadingExposed, type _MessageConfirmExposed, type _MessageExposed, type _MultiAutoCompleteExposed, type _MultiSelectExposed, type _MultiTreeSelectExposed, type _NavExposed, type _NotificationExposed, type _PaginatorExposed, type _PaletteExposed, type _PasswordInputExposed, type _PopConfirmExposed, type _PopExposed, type _ProgressExposed, type _ProgressNodesExposed, type _QuickBatchEditExposed, type _RadioExposed, type _RadioGroupExposed, type _RichTextEditorExposed, type _ScrollExposed, type _SegmentExposed, type _SelectExposed, type _SliderExposed, type _StepsExposed, type _SwitchExposed, type _TableEditorExposed, type _TableExposed, type _TabsExposed, type _TabsHorizontalExposed, type _TabsVerticalExposed, type _TextEditorExposed, type _TextExposed, type _TextareaExposed, type _ThemeExposed, type _TipExposed, type _TreeExposed, type _TreeSelectExposed, type _UploaderExposed, type _WatermarkExposed, contextmenu, createEmptyGroup, createEmptyLeaf, defineBatchEditColumns, defineTableColumns, evaluate as evaluateConditionExpression, message, messageConfirm, notification, vLoading };
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import _sfc_main$41 from "./components/icon/icon.js";
|
|
2
2
|
import _sfc_main$30 from "./components/empty/empty.js";
|
|
3
|
-
import _sfc_main$
|
|
3
|
+
import _sfc_main$68 from "./components/scroll/scroll.js";
|
|
4
4
|
import NodeRender from "./components/node-render/node-render.js";
|
|
5
|
-
import _sfc_main$
|
|
5
|
+
import _sfc_main$83 from "./components/tip/tip.js";
|
|
6
6
|
import { createEmptyGroup, createEmptyLeaf, evaluate } from "./components/condition-editor/core/evaluator.js";
|
|
7
7
|
import _sfc_main$28 from "./components/dropdown/dropdown.js";
|
|
8
8
|
import input_default from "./components/input/input.js";
|
|
9
|
-
import _sfc_main$
|
|
9
|
+
import _sfc_main$70 from "./components/select/select.js";
|
|
10
10
|
import _sfc_main$21 from "./components/condition-editor/condition-editor.js";
|
|
11
|
-
import _sfc_main$
|
|
12
|
-
import _sfc_main$
|
|
13
|
-
import _sfc_main$
|
|
11
|
+
import _sfc_main$77 from "./components/tabs/tabs-horizontal.js";
|
|
12
|
+
import _sfc_main$78 from "./components/tabs/tabs-vertical.js";
|
|
13
|
+
import _sfc_main$76 from "./components/tabs/tabs.js";
|
|
14
14
|
import _sfc_main$15 from "./components/checkbox/checkbox.js";
|
|
15
|
-
import _sfc_main$
|
|
16
|
-
import _sfc_main$
|
|
15
|
+
import _sfc_main$84 from "./components/tree/tree.js";
|
|
16
|
+
import _sfc_main$85 from "./components/tree-select/tree-select.js";
|
|
17
17
|
import _sfc_main$18 from "./components/code-editor/code-editor.js";
|
|
18
18
|
import _sfc_main$27 from "./components/drawer/drawer.js";
|
|
19
19
|
import _sfc_main$36 from "./components/grid/grid.js";
|
|
@@ -22,10 +22,10 @@ import form_item_default from "./components/form-item/form-item.js";
|
|
|
22
22
|
import form_default from "./components/form/form.js";
|
|
23
23
|
import _sfc_main$5 from "./components/button/button.js";
|
|
24
24
|
import _sfc_main$6 from "./components/button/button-group.js";
|
|
25
|
-
import _sfc_main$
|
|
25
|
+
import _sfc_main$49 from "./components/message-confirm/message-confirm.js";
|
|
26
26
|
import { messageConfirm } from "./components/message-confirm/message-confirm2.js";
|
|
27
27
|
import _sfc_main$7 from "./components/calendar/calendar.js";
|
|
28
|
-
import _sfc_main$
|
|
28
|
+
import _sfc_main$65 from "./components/radio/radio.js";
|
|
29
29
|
import _sfc_main$8 from "./components/card/card.js";
|
|
30
30
|
import _sfc_main$12 from "./components/card/card-header.js";
|
|
31
31
|
import _sfc_main$11 from "./components/card/card-cover.js";
|
|
@@ -33,69 +33,70 @@ import _sfc_main$10 from "./components/card/card-content.js";
|
|
|
33
33
|
import _sfc_main$9 from "./components/card/card-action.js";
|
|
34
34
|
import _sfc_main$23 from "./components/date-panel/date-panel.js";
|
|
35
35
|
import _sfc_main$25 from "./components/date-range-picker/date-range-picker.js";
|
|
36
|
-
import _sfc_main$
|
|
36
|
+
import _sfc_main$47 from "./components/loading/loading.js";
|
|
37
37
|
import { vLoading } from "./components/loading/directive.js";
|
|
38
|
-
import _sfc_main$
|
|
38
|
+
import _sfc_main$64 from "./components/progress-nodes/progress-nodes.js";
|
|
39
39
|
import _sfc_main$1 from "./components/auto-complete/auto-complete.js";
|
|
40
|
-
import _sfc_main$
|
|
41
|
-
import _sfc_main$
|
|
40
|
+
import _sfc_main$63 from "./components/progress/progress.js";
|
|
41
|
+
import _sfc_main$55 from "./components/notification/notification.js";
|
|
42
42
|
import { notification } from "./components/notification/notification2.js";
|
|
43
|
-
import _sfc_main$
|
|
44
|
-
import _sfc_main$
|
|
43
|
+
import _sfc_main$44 from "./components/layout/layout.js";
|
|
44
|
+
import _sfc_main$79 from "./components/tag/tag.js";
|
|
45
45
|
import _sfc_main$16 from "./components/checkbox/checkbox-button.js";
|
|
46
|
-
import _sfc_main$
|
|
47
|
-
import _sfc_main$
|
|
46
|
+
import _sfc_main$50 from "./components/multi-select/multi-select.js";
|
|
47
|
+
import _sfc_main$71 from "./components/slider/slider.js";
|
|
48
48
|
import _sfc_main$35 from "./components/gantt-chart/gantt-chart.js";
|
|
49
|
-
import _sfc_main$
|
|
49
|
+
import _sfc_main$48 from "./components/message/message.js";
|
|
50
50
|
import { message } from "./components/message/message2.js";
|
|
51
51
|
import _sfc_main$32 from "./components/file-picker/file-picker.js";
|
|
52
|
-
import _sfc_main$
|
|
53
|
-
import _sfc_main$
|
|
52
|
+
import _sfc_main$57 from "./components/number-input/number-input.js";
|
|
53
|
+
import _sfc_main$58 from "./components/number-range-input/number-range-input.js";
|
|
54
54
|
import _sfc_main$19 from "./components/collapse/collapse.js";
|
|
55
55
|
import _sfc_main$20 from "./components/collapse/collapse-item.js";
|
|
56
56
|
import { defineTableColumns } from "./components/table/use-columns.js";
|
|
57
|
-
import _sfc_main$
|
|
58
|
-
import _sfc_main$
|
|
57
|
+
import _sfc_main$74 from "./components/table/table.js";
|
|
58
|
+
import _sfc_main$75 from "./components/table-editor/table-editor.js";
|
|
59
59
|
import _sfc_main$14 from "./components/check-tag/check-tag.js";
|
|
60
60
|
import { ContextmenuPanelDIKey, ContextmenuRootDIKey } from "./components/contextmenu/di.js";
|
|
61
61
|
import _sfc_main$22 from "./components/contextmenu/contextmenu.js";
|
|
62
62
|
import { contextmenu } from "./components/contextmenu/api.js";
|
|
63
|
-
import _sfc_main$
|
|
64
|
-
import _sfc_main$
|
|
63
|
+
import _sfc_main$61 from "./components/password-input/password-input.js";
|
|
64
|
+
import _sfc_main$56 from "./components/number/number.js";
|
|
65
65
|
import _sfc_main$26 from "./components/dialog/dialog.js";
|
|
66
66
|
import _sfc_main$31 from "./components/expression-editor/expression-editor.js";
|
|
67
|
-
import _sfc_main$
|
|
68
|
-
import _sfc_main$
|
|
69
|
-
import _sfc_main$
|
|
67
|
+
import _sfc_main$86 from "./components/watermark/watermark.js";
|
|
68
|
+
import _sfc_main$43 from "./components/kbd/kbd.js";
|
|
69
|
+
import _sfc_main$62 from "./components/pop-confirm/pop-confirm.js";
|
|
70
70
|
import _sfc_main from "./components/action/action.js";
|
|
71
71
|
import action_group_default from "./components/action/action-group.js";
|
|
72
72
|
import _sfc_main$3 from "./components/batch-edit/batch-edit.js";
|
|
73
73
|
import { defineBatchEditColumns } from "./components/batch-edit/helper.js";
|
|
74
|
-
import _sfc_main$
|
|
74
|
+
import _sfc_main$81 from "./components/textarea/textarea.js";
|
|
75
75
|
import _sfc_main$13 from "./components/cascade/cascade.js";
|
|
76
|
-
import _sfc_main$
|
|
76
|
+
import _sfc_main$72 from "./components/steps/steps.js";
|
|
77
77
|
import _sfc_main$24 from "./components/date-picker/date-picker.js";
|
|
78
|
-
import _sfc_main$
|
|
79
|
-
import _sfc_main$
|
|
80
|
-
import _sfc_main$
|
|
78
|
+
import _sfc_main$60 from "./components/palette/palette.js";
|
|
79
|
+
import _sfc_main$82 from "./components/theme/theme.js";
|
|
80
|
+
import _sfc_main$51 from "./components/multi-tree-select/multi-tree-select.js";
|
|
81
81
|
import _sfc_main$39 from "./components/group-input/group-input.js";
|
|
82
|
-
import _sfc_main$
|
|
83
|
-
import _sfc_main$
|
|
84
|
-
import _sfc_main$
|
|
85
|
-
import _sfc_main$
|
|
86
|
-
import _sfc_main$
|
|
87
|
-
import _sfc_main$
|
|
82
|
+
import _sfc_main$45 from "./components/list/list.js";
|
|
83
|
+
import _sfc_main$46 from "./components/list/list-item.js";
|
|
84
|
+
import _sfc_main$67 from "./components/rich-text-editor/rich-text-editor.js";
|
|
85
|
+
import _sfc_main$53 from "./components/nav/nav-item.js";
|
|
86
|
+
import _sfc_main$54 from "./components/nav/nav-sub.js";
|
|
87
|
+
import _sfc_main$52 from "./components/nav/nav.js";
|
|
88
88
|
import _sfc_main$29 from "./components/dual-nav/dual-nav.js";
|
|
89
89
|
import _sfc_main$40 from "./components/group-nav/group-nav.js";
|
|
90
90
|
import _sfc_main$37 from "./components/grid-input/grid-input.js";
|
|
91
|
-
import _sfc_main$
|
|
92
|
-
import _sfc_main$
|
|
91
|
+
import _sfc_main$73 from "./components/switch/switch.js";
|
|
92
|
+
import _sfc_main$66 from "./components/radio-group/radio-group.js";
|
|
93
93
|
import _sfc_main$17 from "./components/checkbox-group/checkbox-group.js";
|
|
94
94
|
import _sfc_main$33 from "./components/file-viewer/file-viewer.js";
|
|
95
|
-
import _sfc_main$
|
|
95
|
+
import _sfc_main$80 from "./components/text/text.js";
|
|
96
96
|
import _sfc_main$4 from "./components/breadcrumb/breadcrumb.js";
|
|
97
|
-
import _sfc_main$
|
|
97
|
+
import _sfc_main$59 from "./components/paginator/paginator.js";
|
|
98
98
|
import _sfc_main$34 from "./components/float-button/float-button.js";
|
|
99
99
|
import _sfc_main$2 from "./components/badge/badge.js";
|
|
100
|
-
import _sfc_main$
|
|
101
|
-
|
|
100
|
+
import _sfc_main$69 from "./components/segment/segment.js";
|
|
101
|
+
import _sfc_main$42 from "./components/image-cropper/image-cropper.js";
|
|
102
|
+
export { ContextmenuPanelDIKey, ContextmenuRootDIKey, _sfc_main as UAction, action_group_default as UActionGroup, _sfc_main$1 as UAutoComplete, _sfc_main$2 as UBadge, _sfc_main$3 as UBatchEdit, _sfc_main$4 as UBreadcrumb, _sfc_main$5 as UButton, _sfc_main$6 as UButtonGroup, _sfc_main$7 as UCalendar, _sfc_main$8 as UCard, _sfc_main$9 as UCardAction, _sfc_main$10 as UCardContent, _sfc_main$11 as UCardCover, _sfc_main$12 as UCardHeader, _sfc_main$13 as UCascade, _sfc_main$14 as UCheckTag, _sfc_main$15 as UCheckbox, _sfc_main$16 as UCheckboxButton, _sfc_main$17 as UCheckboxGroup, _sfc_main$18 as UCodeEditor, _sfc_main$19 as UCollapse, _sfc_main$20 as UCollapseItem, _sfc_main$21 as UConditionEditor, _sfc_main$22 as UContextmenu, _sfc_main$23 as UDatePanel, _sfc_main$24 as UDatePicker, _sfc_main$25 as UDateRangePicker, _sfc_main$26 as UDialog, _sfc_main$27 as UDrawer, _sfc_main$28 as UDropdown, _sfc_main$29 as UDualNav, _sfc_main$30 as UEmpty, _sfc_main$31 as UExpressionEditor, _sfc_main$32 as UFilePicker, _sfc_main$33 as UFileViewer, _sfc_main$34 as UFloatButton, form_default as UForm, form_item_default as UFormItem, _sfc_main$35 as UGanttChart, _sfc_main$36 as UGrid, _sfc_main$37 as UGridInput, _sfc_main$38 as UGridItem, _sfc_main$39 as UGroupInput, _sfc_main$40 as UGroupNav, _sfc_main$41 as UIcon, _sfc_main$42 as UImageCropper, input_default as UInput, _sfc_main$43 as UKbd, _sfc_main$44 as ULayout, _sfc_main$45 as UList, _sfc_main$46 as UListItem, _sfc_main$47 as ULoading, _sfc_main$48 as UMessage, _sfc_main$49 as UMessageConfirm, _sfc_main$50 as UMultiSelect, _sfc_main$51 as UMultiTreeSelect, _sfc_main$52 as UNav, _sfc_main$53 as UNavItem, _sfc_main$54 as UNavSub, NodeRender as UNodeRender, _sfc_main$55 as UNotification, _sfc_main$56 as UNumber, _sfc_main$57 as UNumberInput, _sfc_main$58 as UNumberRangeInput, _sfc_main$59 as UPaginator, _sfc_main$60 as UPalette, _sfc_main$61 as UPasswordInput, _sfc_main$62 as UPopConfirm, _sfc_main$63 as UProgress, _sfc_main$64 as UProgressNodes, _sfc_main$65 as URadio, _sfc_main$66 as URadioGroup, _sfc_main$67 as URichTextEditor, _sfc_main$68 as UScroll, _sfc_main$69 as USegment, _sfc_main$70 as USelect, _sfc_main$71 as USlider, _sfc_main$72 as USteps, _sfc_main$73 as USwitch, _sfc_main$74 as UTable, _sfc_main$75 as UTableEditor, _sfc_main$76 as UTabs, _sfc_main$77 as UTabsHorizontal, _sfc_main$78 as UTabsVertical, _sfc_main$79 as UTag, _sfc_main$80 as UText, _sfc_main$81 as UTextarea, _sfc_main$82 as UTheme, _sfc_main$83 as UTip, _sfc_main$84 as UTree, _sfc_main$85 as UTreeSelect, _sfc_main$86 as UWatermark, contextmenu, createEmptyGroup, createEmptyLeaf, defineBatchEditColumns, defineTableColumns, evaluate as evaluateConditionExpression, message, messageConfirm, notification, vLoading };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { DeconstructValue } from "@veltra/utils";
|
|
2
|
+
//#region src/types/image-cropper.d.ts
|
|
3
|
+
/** 图片裁剪组件属性 */
|
|
4
|
+
interface ImageCropperProps {
|
|
5
|
+
/** 图片源:File / Blob / URL */
|
|
6
|
+
src?: File | Blob | string;
|
|
7
|
+
/** 选区宽高比,不传为自由比例 */
|
|
8
|
+
aspectRatio?: number;
|
|
9
|
+
/** 是否显示工具栏 */
|
|
10
|
+
showToolbar?: boolean;
|
|
11
|
+
/** 是否显示预览区 */
|
|
12
|
+
showPreview?: boolean;
|
|
13
|
+
}
|
|
14
|
+
/** getResult 输出尺寸:缺省维度按选区比例推算,都不传则为原图选区像素尺寸 */
|
|
15
|
+
interface ImageCropperResultOptions {
|
|
16
|
+
/** 目标输出宽度(像素) */
|
|
17
|
+
width?: number;
|
|
18
|
+
/** 目标输出高度(像素) */
|
|
19
|
+
height?: number;
|
|
20
|
+
}
|
|
21
|
+
/** getResult 裁剪结果 */
|
|
22
|
+
interface ImageCropperResult {
|
|
23
|
+
/** 裁剪图像 Blob(image/png) */
|
|
24
|
+
blob: Blob;
|
|
25
|
+
/** 裁剪图像的 dataURL(data:image/png;base64,...),可直接用于 img.src */
|
|
26
|
+
base64: string;
|
|
27
|
+
}
|
|
28
|
+
/** 裁剪选区(图片像素坐标) */
|
|
29
|
+
interface ImageCropperSelection {
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
width: number;
|
|
33
|
+
height: number;
|
|
34
|
+
}
|
|
35
|
+
/** 影响裁剪输出的图片变换(缩放 / 平移只影响画布展示,不在其列) */
|
|
36
|
+
interface ImageCropperCropTransform {
|
|
37
|
+
/** 90° 步进角度:0 / 90 / 180 / 270 */
|
|
38
|
+
rotation: number;
|
|
39
|
+
/** 水平翻转 */
|
|
40
|
+
flipX: boolean;
|
|
41
|
+
/** 垂直翻转 */
|
|
42
|
+
flipY: boolean;
|
|
43
|
+
}
|
|
44
|
+
/** 裁剪变化事件载荷 */
|
|
45
|
+
interface ImageCropperChangePayload {
|
|
46
|
+
/** 当前选区(图片像素坐标) */
|
|
47
|
+
selection: ImageCropperSelection;
|
|
48
|
+
/** 影响输出的图片变换摘要,与 getResult 应用的一致 */
|
|
49
|
+
transform: ImageCropperCropTransform;
|
|
50
|
+
}
|
|
51
|
+
/** 图片裁剪组件定义的事件 */
|
|
52
|
+
interface ImageCropperEmits {
|
|
53
|
+
/** 选区或图片变换变化时触发 */
|
|
54
|
+
(e: 'crop-change', payload: ImageCropperChangePayload): void;
|
|
55
|
+
}
|
|
56
|
+
/** 图片裁剪组件暴露的属性和方法(组件内部使用) */
|
|
57
|
+
interface _ImageCropperExposed {
|
|
58
|
+
/**
|
|
59
|
+
* 输出当前选区裁剪结果:默认按原图选区像素,可传目标宽 / 高缩放输出。
|
|
60
|
+
* 图片未加载 / 无选区、或跨域图片污染画布时 Promise 拒绝,不静默失败
|
|
61
|
+
*/
|
|
62
|
+
getResult: (options?: ImageCropperResultOptions) => Promise<ImageCropperResult>;
|
|
63
|
+
}
|
|
64
|
+
/** 图片裁剪组件暴露的属性和方法(组件外部使用, 引用的值会被自动解构) */
|
|
65
|
+
type ImageCropperExposed = DeconstructValue<_ImageCropperExposed>;
|
|
66
|
+
//#endregion
|
|
67
|
+
export { ImageCropperChangePayload, ImageCropperCropTransform, ImageCropperEmits, ImageCropperExposed, ImageCropperProps, ImageCropperResult, ImageCropperResultOptions, ImageCropperSelection, _ImageCropperExposed };
|
|
68
|
+
//# sourceMappingURL=image-cropper.d.ts.map
|
package/dist/types/index.d.ts
CHANGED
|
@@ -80,5 +80,6 @@ import { RichTextEditorEmits, RichTextEditorExposed, RichTextEditorProps, RichTe
|
|
|
80
80
|
import { FileViewerEmits, FileViewerExposed, FileViewerItem, FileViewerKind, FileViewerProps, _FileViewerExposed } from "./file-viewer.js";
|
|
81
81
|
import { CollapseEmits, CollapseItemEmits, CollapseItemProps, CollapseModelValue, CollapseProps, CollapseValue } from "./collapse.js";
|
|
82
82
|
import { SegmentEmits, SegmentExposed, SegmentItem, SegmentProps, _SegmentExposed } from "./segment.js";
|
|
83
|
+
import { ImageCropperChangePayload, ImageCropperCropTransform, ImageCropperEmits, ImageCropperExposed, ImageCropperProps, ImageCropperResult, ImageCropperResultOptions, ImageCropperSelection, _ImageCropperExposed } from "./image-cropper.js";
|
|
83
84
|
export type * from "@veltra/utils";
|
|
84
|
-
export { ActionEmits, ActionExposed, ActionGroupExposed, ActionGroupProps, ActionProps, AnimationEmits, AnimationExposed, AnimationProps, AutoCompleteEmits, AutoCompleteExposed, AutoCompleteProps, BadgeEmits, BadgeExposed, BadgeProps, BarType, BatchEditColumn, BatchEditEmits, BatchEditExposed, BatchEditFeature, BatchEditFormStatus, BatchEditProps, BatchEditSlots, BatchEditStates, BreadcrumbEmits, BreadcrumbExposed, BreadcrumbItem, BreadcrumbProps, BreadcrumbSlotScope, BreakCols, Breakpoint, ButtonEmits, ButtonExposed, ButtonProps, ButtonType, CalendarDay, CalendarEmits, CalendarExposed, CalendarMonth, CalendarProps, CalendarYear, CardActionProps, CardContentProps, CardCoverProps, CardEmits, CardExposed, CardProps, CascadeEmits, CascadeExposed, CascadeNode, CascadeProps, CheckTagEmits, CheckTagExposed, CheckTagProps, CheckboxButtonEmits, CheckboxButtonProps, CheckboxEmits, CheckboxExposed, CheckboxGroupEmits, CheckboxGroupExposed, CheckboxGroupProps, CheckboxProps, CodeEditorEmits, CodeEditorExposed, CodeEditorLang, CodeEditorProps, CollapseEmits, CollapseItemEmits, CollapseItemProps, CollapseModelValue, CollapseProps, CollapseValue, ConditionConnector, ConditionEditorEmits, ConditionEditorExposed, ConditionEditorProps, ConditionExpression, ConditionField, ConditionGroup, ConditionLeaf, ConditionNode, ConditionValue, ContextmenuEmits, ContextmenuExposed, ContextmenuItem, ContextmenuProps, CssTransitionEmits, CssTransitionExposed, CssTransitionProps, DatePanelEmits, DatePanelProps, DatePickerDataType, DatePickerEmits, DatePickerExposed, DatePickerProps, DateRangePickerDataType, DateRangePickerEmits, DateRangePickerExposed, DateRangePickerProps, DateRangeValue, DialogEmits, DialogExposed, DialogProps, DialogTransition, DrawerDirection, DrawerEmits, DrawerExposed, DrawerMode, DrawerProps, DropdownEmits, DropdownExposed, DropdownProps, DualNavEmits, DualNavExposed, DualNavProps, DualNavRailVariant, DualNavRootItem, EmptyEmits, EmptyExposed, EmptyProps, ExpressionEditorEmits, ExpressionEditorExposed, ExpressionEditorProps, ExpressionSelectableLevels, FileViewerEmits, FileViewerExposed, FileViewerItem, FileViewerKind, FileViewerProps, FloatButtonEmits, FloatButtonExposed, FloatButtonItem, FloatButtonProps, FormEmits, FormExposed, FormItemEmits, FormItemExposed, FormItemProps, FormProps, GanttChartEmits, GanttChartExposed, GanttChartProps, GridEmits, GridExposed, GridInputEmits, GridInputExposed, GridInputProps, GridItemProps, GridProps, GroupInputEmits, GroupInputExposed, GroupInputProps, GroupNavEmits, GroupNavGroup, GroupNavProps, IconEmits, IconExposed, IconProps, InputEmits, InputExposed, InputProps, LayoutEmits, LayoutExposed, LayoutProps, ListEmits, ListExposed, ListProps, LoadingEmits, LoadingExposed, LoadingProps, LoadingType, Message, MessageConfirm, MessageConfirmAction, MessageConfirmEmits, MessageConfirmExposed, MessageConfirmInstance, MessageConfirmOptions, MessageConfirmProps, MessageEmits, MessageExposed, MessageInstance, MessageOptions, MessageProps, MessageType, MultiAutoCompleteEmits, MultiAutoCompleteExposed, MultiAutoCompleteProps, MultiSelectEmits, MultiSelectExposed, MultiSelectProps, MultiTreeSelectEmits, MultiTreeSelectExposed, MultiTreeSelectProps, NavEmits, NavExposed, NavItem, NavProps, NodeRenderExposed, NodeRenderProps, Notification, NotificationEmits, NotificationExposed, NotificationInstance, NotificationOptions, NotificationPosition, NotificationProps, NumberEmits, NumberExposed, NumberInputEmits, NumberInputExposed, NumberInputProps, NumberProps, NumberRangeInputEmits, NumberRangeInputExposed, NumberRangeInputProps, NumberRangeTuple, PaginatorEmits, PaginatorExposed, PaginatorProps, PaletteColorType, PaletteEmits, PaletteExposed, PaletteHSV, PaletteProps, PaletteRGB, PanelItem, PanelType, PasswordInputEmits, PasswordInputExposed, PasswordInputProps, PopConfirmEmits, PopConfirmExposed, PopConfirmProps, PopEmits, PopExposed, PopProps, ProgressEmits, ProgressExposed, ProgressNodesEmits, ProgressNodesExposed, ProgressNodesProps, ProgressProps, QuickBatchEditEmits, QuickBatchEditExposed, QuickBatchEditProps, RadioEmits, RadioExposed, RadioGroupEmits, RadioGroupExposed, RadioGroupProps, RadioProps, RichTextEditorEmits, RichTextEditorExposed, RichTextEditorProps, RichTextFormat, ScrollEmits, ScrollExposed, ScrollPosition, ScrollProps, SegmentEmits, SegmentExposed, SegmentItem, SegmentProps, SelectEmits, SelectExposed, SelectProps, SliderEmits, SliderExposed, SliderProps, StepsEmits, StepsExposed, StepsProps, StepsSlotScope, SwitchEmits, SwitchExposed, SwitchProps, TabItem, TableColumn, TableColumnAlign, TableColumnNode, TableColumnRenderContext, TableColumnSlotsScope, TableEditorEmits, TableEditorExposed, TableEditorProps, TableEmits, TableExposed, TableProps, TableRow, TableRowSlotsScope, TableSummaryContext, TabsEmits, TabsExposed, TabsHorizontalEmits, TabsHorizontalExposed, TabsHorizontalProps, TabsProps, TabsVerticalEmits, TabsVerticalExposed, TabsVerticalProps, TagEmits, TagExposed, TagProps, TextEditorEmits, TextEditorExposed, TextEditorProps, TextEmits, TextExposed, TextProps, TextareaEmits, TextareaExposed, TextareaProps, ThemeExposed, ThemeProps, TipAlign, TipDirection, TipEmits, TipExposed, TipProps, ToolbarItem, TreeEmit, TreeExposed, TreeNode, TreeNodeProps, TreeProps, TreeSelectEmits, TreeSelectExposed, TreeSelectProps, UploaderEmits, UploaderExposed, UploaderProps, VariableItem, WatermarkEmits, WatermarkExposed, WatermarkProps, _ActionExposed, _ActionGroupExposed, _AnimationExposed, _AutoCompleteExposed, _BadgeExposed, _BatchEditExposed, _BreadcrumbExposed, _ButtonExposed, _CalendarExposed, _CardExposed, _CascadeExposed, _CheckTagExposed, _CodeEditorExposed, _ConditionEditorExposed, _ContextmenuExposed, _CssTransitionExposed, _DatePickerExposed, _DateRangePickerExposed, _DialogExposed, _DrawerExposed, _DropdownExposed, _DualNavExposed, _EmptyExposed, _ExpressionEditorExposed, _FileViewerExposed, _FloatButtonExposed, _FormExposed, _GanttChartExposed, _GridExposed, _GridInputExposed, _GroupInputExposed, _InputExposed, _LayoutExposed, _ListExposed, _LoadingExposed, _MessageConfirmExposed, _MessageExposed, _MultiAutoCompleteExposed, _MultiSelectExposed, _MultiTreeSelectExposed, _NavExposed, _NotificationExposed, _PaginatorExposed, _PaletteExposed, _PasswordInputExposed, _PopConfirmExposed, _PopExposed, _ProgressExposed, _ProgressNodesExposed, _QuickBatchEditExposed, _RadioExposed, _RadioGroupExposed, _RichTextEditorExposed, _ScrollExposed, _SegmentExposed, _SelectExposed, _SliderExposed, _StepsExposed, _SwitchExposed, _TableEditorExposed, _TableExposed, _TabsExposed, _TabsHorizontalExposed, _TabsVerticalExposed, _TextEditorExposed, _TextExposed, _TextareaExposed, _ThemeExposed, _TipExposed, _TreeExposed, _TreeSelectExposed, _UploaderExposed, _WatermarkExposed };
|
|
85
|
+
export { ActionEmits, ActionExposed, ActionGroupExposed, ActionGroupProps, ActionProps, AnimationEmits, AnimationExposed, AnimationProps, AutoCompleteEmits, AutoCompleteExposed, AutoCompleteProps, BadgeEmits, BadgeExposed, BadgeProps, BarType, BatchEditColumn, BatchEditEmits, BatchEditExposed, BatchEditFeature, BatchEditFormStatus, BatchEditProps, BatchEditSlots, BatchEditStates, BreadcrumbEmits, BreadcrumbExposed, BreadcrumbItem, BreadcrumbProps, BreadcrumbSlotScope, BreakCols, Breakpoint, ButtonEmits, ButtonExposed, ButtonProps, ButtonType, CalendarDay, CalendarEmits, CalendarExposed, CalendarMonth, CalendarProps, CalendarYear, CardActionProps, CardContentProps, CardCoverProps, CardEmits, CardExposed, CardProps, CascadeEmits, CascadeExposed, CascadeNode, CascadeProps, CheckTagEmits, CheckTagExposed, CheckTagProps, CheckboxButtonEmits, CheckboxButtonProps, CheckboxEmits, CheckboxExposed, CheckboxGroupEmits, CheckboxGroupExposed, CheckboxGroupProps, CheckboxProps, CodeEditorEmits, CodeEditorExposed, CodeEditorLang, CodeEditorProps, CollapseEmits, CollapseItemEmits, CollapseItemProps, CollapseModelValue, CollapseProps, CollapseValue, ConditionConnector, ConditionEditorEmits, ConditionEditorExposed, ConditionEditorProps, ConditionExpression, ConditionField, ConditionGroup, ConditionLeaf, ConditionNode, ConditionValue, ContextmenuEmits, ContextmenuExposed, ContextmenuItem, ContextmenuProps, CssTransitionEmits, CssTransitionExposed, CssTransitionProps, DatePanelEmits, DatePanelProps, DatePickerDataType, DatePickerEmits, DatePickerExposed, DatePickerProps, DateRangePickerDataType, DateRangePickerEmits, DateRangePickerExposed, DateRangePickerProps, DateRangeValue, DialogEmits, DialogExposed, DialogProps, DialogTransition, DrawerDirection, DrawerEmits, DrawerExposed, DrawerMode, DrawerProps, DropdownEmits, DropdownExposed, DropdownProps, DualNavEmits, DualNavExposed, DualNavProps, DualNavRailVariant, DualNavRootItem, EmptyEmits, EmptyExposed, EmptyProps, ExpressionEditorEmits, ExpressionEditorExposed, ExpressionEditorProps, ExpressionSelectableLevels, FileViewerEmits, FileViewerExposed, FileViewerItem, FileViewerKind, FileViewerProps, FloatButtonEmits, FloatButtonExposed, FloatButtonItem, FloatButtonProps, FormEmits, FormExposed, FormItemEmits, FormItemExposed, FormItemProps, FormProps, GanttChartEmits, GanttChartExposed, GanttChartProps, GridEmits, GridExposed, GridInputEmits, GridInputExposed, GridInputProps, GridItemProps, GridProps, GroupInputEmits, GroupInputExposed, GroupInputProps, GroupNavEmits, GroupNavGroup, GroupNavProps, IconEmits, IconExposed, IconProps, ImageCropperChangePayload, ImageCropperCropTransform, ImageCropperEmits, ImageCropperExposed, ImageCropperProps, ImageCropperResult, ImageCropperResultOptions, ImageCropperSelection, InputEmits, InputExposed, InputProps, LayoutEmits, LayoutExposed, LayoutProps, ListEmits, ListExposed, ListProps, LoadingEmits, LoadingExposed, LoadingProps, LoadingType, Message, MessageConfirm, MessageConfirmAction, MessageConfirmEmits, MessageConfirmExposed, MessageConfirmInstance, MessageConfirmOptions, MessageConfirmProps, MessageEmits, MessageExposed, MessageInstance, MessageOptions, MessageProps, MessageType, MultiAutoCompleteEmits, MultiAutoCompleteExposed, MultiAutoCompleteProps, MultiSelectEmits, MultiSelectExposed, MultiSelectProps, MultiTreeSelectEmits, MultiTreeSelectExposed, MultiTreeSelectProps, NavEmits, NavExposed, NavItem, NavProps, NodeRenderExposed, NodeRenderProps, Notification, NotificationEmits, NotificationExposed, NotificationInstance, NotificationOptions, NotificationPosition, NotificationProps, NumberEmits, NumberExposed, NumberInputEmits, NumberInputExposed, NumberInputProps, NumberProps, NumberRangeInputEmits, NumberRangeInputExposed, NumberRangeInputProps, NumberRangeTuple, PaginatorEmits, PaginatorExposed, PaginatorProps, PaletteColorType, PaletteEmits, PaletteExposed, PaletteHSV, PaletteProps, PaletteRGB, PanelItem, PanelType, PasswordInputEmits, PasswordInputExposed, PasswordInputProps, PopConfirmEmits, PopConfirmExposed, PopConfirmProps, PopEmits, PopExposed, PopProps, ProgressEmits, ProgressExposed, ProgressNodesEmits, ProgressNodesExposed, ProgressNodesProps, ProgressProps, QuickBatchEditEmits, QuickBatchEditExposed, QuickBatchEditProps, RadioEmits, RadioExposed, RadioGroupEmits, RadioGroupExposed, RadioGroupProps, RadioProps, RichTextEditorEmits, RichTextEditorExposed, RichTextEditorProps, RichTextFormat, ScrollEmits, ScrollExposed, ScrollPosition, ScrollProps, SegmentEmits, SegmentExposed, SegmentItem, SegmentProps, SelectEmits, SelectExposed, SelectProps, SliderEmits, SliderExposed, SliderProps, StepsEmits, StepsExposed, StepsProps, StepsSlotScope, SwitchEmits, SwitchExposed, SwitchProps, TabItem, TableColumn, TableColumnAlign, TableColumnNode, TableColumnRenderContext, TableColumnSlotsScope, TableEditorEmits, TableEditorExposed, TableEditorProps, TableEmits, TableExposed, TableProps, TableRow, TableRowSlotsScope, TableSummaryContext, TabsEmits, TabsExposed, TabsHorizontalEmits, TabsHorizontalExposed, TabsHorizontalProps, TabsProps, TabsVerticalEmits, TabsVerticalExposed, TabsVerticalProps, TagEmits, TagExposed, TagProps, TextEditorEmits, TextEditorExposed, TextEditorProps, TextEmits, TextExposed, TextProps, TextareaEmits, TextareaExposed, TextareaProps, ThemeExposed, ThemeProps, TipAlign, TipDirection, TipEmits, TipExposed, TipProps, ToolbarItem, TreeEmit, TreeExposed, TreeNode, TreeNodeProps, TreeProps, TreeSelectEmits, TreeSelectExposed, TreeSelectProps, UploaderEmits, UploaderExposed, UploaderProps, VariableItem, WatermarkEmits, WatermarkExposed, WatermarkProps, _ActionExposed, _ActionGroupExposed, _AnimationExposed, _AutoCompleteExposed, _BadgeExposed, _BatchEditExposed, _BreadcrumbExposed, _ButtonExposed, _CalendarExposed, _CardExposed, _CascadeExposed, _CheckTagExposed, _CodeEditorExposed, _ConditionEditorExposed, _ContextmenuExposed, _CssTransitionExposed, _DatePickerExposed, _DateRangePickerExposed, _DialogExposed, _DrawerExposed, _DropdownExposed, _DualNavExposed, _EmptyExposed, _ExpressionEditorExposed, _FileViewerExposed, _FloatButtonExposed, _FormExposed, _GanttChartExposed, _GridExposed, _GridInputExposed, _GroupInputExposed, _ImageCropperExposed, _InputExposed, _LayoutExposed, _ListExposed, _LoadingExposed, _MessageConfirmExposed, _MessageExposed, _MultiAutoCompleteExposed, _MultiSelectExposed, _MultiTreeSelectExposed, _NavExposed, _NotificationExposed, _PaginatorExposed, _PaletteExposed, _PasswordInputExposed, _PopConfirmExposed, _PopExposed, _ProgressExposed, _ProgressNodesExposed, _QuickBatchEditExposed, _RadioExposed, _RadioGroupExposed, _RichTextEditorExposed, _ScrollExposed, _SegmentExposed, _SelectExposed, _SliderExposed, _StepsExposed, _SwitchExposed, _TableEditorExposed, _TableExposed, _TabsExposed, _TabsHorizontalExposed, _TabsVerticalExposed, _TextEditorExposed, _TextExposed, _TextareaExposed, _ThemeExposed, _TipExposed, _TreeExposed, _TreeSelectExposed, _UploaderExposed, _WatermarkExposed };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltra/desktop",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.9",
|
|
4
4
|
"homepage": "https://github.com/cabinet-fe/ultra-ui#readme",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/cabinet-fe/ultra-ui/issues"
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
"peerDependencies": {
|
|
81
81
|
"@cat-kit/core": ">=1.2.1",
|
|
82
82
|
"@cat-kit/fe": ">=1.2.1",
|
|
83
|
-
"@veltra/compositions": "^1.7.
|
|
84
|
-
"@veltra/directives": "^1.7.
|
|
83
|
+
"@veltra/compositions": "^1.7.9",
|
|
84
|
+
"@veltra/directives": "^1.7.9",
|
|
85
85
|
"@veltra/icons": "^1.5.0",
|
|
86
|
-
"@veltra/sheet-core": "^2.5.
|
|
87
|
-
"@veltra/styles": "^1.7.
|
|
88
|
-
"@veltra/utils": "^1.7.
|
|
86
|
+
"@veltra/sheet-core": "^2.5.5",
|
|
87
|
+
"@veltra/styles": "^1.7.9",
|
|
88
|
+
"@veltra/utils": "^1.7.9",
|
|
89
89
|
"vue": ">=3.5.42"
|
|
90
90
|
},
|
|
91
91
|
"peerDependenciesMeta": {
|
|
@@ -38,11 +38,7 @@ $root-name: auto-complete;
|
|
|
38
38
|
option-hover-bg,
|
|
39
39
|
fn.use-var(bg-color, hover)
|
|
40
40
|
);
|
|
41
|
-
color: fn.component-var(
|
|
42
|
-
auto-complete,
|
|
43
|
-
option-hover-color,
|
|
44
|
-
fn.use-var(text-color, title)
|
|
45
|
-
);
|
|
41
|
+
color: fn.component-var(auto-complete, option-hover-color, fn.use-var(text-color, title));
|
|
46
42
|
}
|
|
47
43
|
|
|
48
44
|
@include m.is(active) {
|
|
@@ -51,11 +47,7 @@ $root-name: auto-complete;
|
|
|
51
47
|
option-hover-bg,
|
|
52
48
|
fn.use-var(bg-color, hover)
|
|
53
49
|
);
|
|
54
|
-
color: fn.component-var(
|
|
55
|
-
auto-complete,
|
|
56
|
-
option-hover-color,
|
|
57
|
-
fn.use-var(text-color, title)
|
|
58
|
-
);
|
|
50
|
+
color: fn.component-var(auto-complete, option-hover-color, fn.use-var(text-color, title));
|
|
59
51
|
}
|
|
60
52
|
|
|
61
53
|
@include m.is(selected) {
|
|
@@ -64,11 +56,7 @@ $root-name: auto-complete;
|
|
|
64
56
|
option-selected-bg,
|
|
65
57
|
fn.use-var(color, primary, light-9)
|
|
66
58
|
);
|
|
67
|
-
color: fn.component-var(
|
|
68
|
-
auto-complete,
|
|
69
|
-
option-selected-color,
|
|
70
|
-
fn.use-var(color, primary)
|
|
71
|
-
);
|
|
59
|
+
color: fn.component-var(auto-complete, option-selected-color, fn.use-var(color, primary));
|
|
72
60
|
}
|
|
73
61
|
}
|
|
74
62
|
|
|
@@ -92,31 +92,15 @@ $arrow-size: 12px;
|
|
|
92
92
|
|
|
93
93
|
#{$b}__item:not(.is-disabled):not(.is-loading) > & {
|
|
94
94
|
&:hover {
|
|
95
|
-
background-color: fn.component-var(
|
|
96
|
-
|
|
97
|
-
item-hover-bg,
|
|
98
|
-
fn.use-var(bg-color, hover)
|
|
99
|
-
);
|
|
100
|
-
color: fn.component-var(
|
|
101
|
-
contextmenu,
|
|
102
|
-
item-hover-color,
|
|
103
|
-
fn.use-var(text-color, title)
|
|
104
|
-
);
|
|
95
|
+
background-color: fn.component-var(contextmenu, item-hover-bg, fn.use-var(bg-color, hover));
|
|
96
|
+
color: fn.component-var(contextmenu, item-hover-color, fn.use-var(text-color, title));
|
|
105
97
|
}
|
|
106
98
|
}
|
|
107
99
|
}
|
|
108
100
|
|
|
109
101
|
#{$b}__item.is-open:not(.is-disabled) > #{$b}__item-content {
|
|
110
|
-
background-color: fn.component-var(
|
|
111
|
-
|
|
112
|
-
item-hover-bg,
|
|
113
|
-
fn.use-var(bg-color, hover)
|
|
114
|
-
);
|
|
115
|
-
color: fn.component-var(
|
|
116
|
-
contextmenu,
|
|
117
|
-
item-hover-color,
|
|
118
|
-
fn.use-var(text-color, title)
|
|
119
|
-
);
|
|
102
|
+
background-color: fn.component-var(contextmenu, item-hover-bg, fn.use-var(bg-color, hover));
|
|
103
|
+
color: fn.component-var(contextmenu, item-hover-color, fn.use-var(text-color, title));
|
|
120
104
|
}
|
|
121
105
|
|
|
122
106
|
@include m.e(icon-place) {
|