@robot-admin/naive-ui-components 0.29.0 → 0.29.1

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.
Files changed (83) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/README_EN.md +1 -1
  4. package/dist/C_DataPicker.css +36 -19
  5. package/dist/C_DataPicker2.cjs +1 -1
  6. package/dist/C_DataPicker2.js +1 -1
  7. package/dist/constants.d.cts +1 -1
  8. package/dist/constants.d.ts +1 -1
  9. package/dist/constants3.d.cts +1 -1
  10. package/dist/constants3.d.ts +1 -1
  11. package/dist/constants4.d.cts +6 -6
  12. package/dist/constants4.d.ts +6 -6
  13. package/dist/constants5.d.cts +2 -2
  14. package/dist/constants5.d.ts +2 -2
  15. package/dist/data2.d.cts +6 -6
  16. package/dist/data2.d.ts +6 -6
  17. package/dist/index.vue.d.cts +4 -4
  18. package/dist/index.vue.d.ts +4 -4
  19. package/dist/index10.vue.d.cts +6 -6
  20. package/dist/index10.vue.d.ts +4 -4
  21. package/dist/index11.vue.d.cts +4 -4
  22. package/dist/index11.vue.d.ts +2 -0
  23. package/dist/index12.vue.d.cts +2 -0
  24. package/dist/index13.vue.d.ts +5 -5
  25. package/dist/index14.vue.d.cts +5 -5
  26. package/dist/index16.vue.d.ts +1 -1
  27. package/dist/index17.vue.d.cts +1 -1
  28. package/dist/index17.vue.d.ts +4 -4
  29. package/dist/index18.vue.d.cts +4 -4
  30. package/dist/index19.vue.d.ts +1 -1
  31. package/dist/index2.vue.d.cts +2 -2
  32. package/dist/index2.vue.d.ts +2 -2
  33. package/dist/index20.vue.d.cts +1 -1
  34. package/dist/index21.vue.d.ts +2 -2
  35. package/dist/index22.vue.d.cts +2 -2
  36. package/dist/index23.vue.d.cts +2 -2
  37. package/dist/index23.vue.d.ts +2 -2
  38. package/dist/index24.vue.d.cts +2 -2
  39. package/dist/index24.vue.d.ts +2 -2
  40. package/dist/index26.vue.d.cts +1 -1
  41. package/dist/index26.vue.d.ts +1 -1
  42. package/dist/index27.vue.d.cts +2 -2
  43. package/dist/index27.vue.d.ts +2 -2
  44. package/dist/index3.vue.d.cts +6 -6
  45. package/dist/index3.vue.d.ts +6 -6
  46. package/dist/index30.vue.d.cts +3 -3
  47. package/dist/index30.vue.d.ts +3 -3
  48. package/dist/index31.vue.d.cts +2 -2
  49. package/dist/index31.vue.d.ts +2 -2
  50. package/dist/index9.vue.d.ts +6 -6
  51. package/dist/mapUtils.d.cts +3 -3
  52. package/dist/mapUtils.d.ts +3 -3
  53. package/dist/presets.d.cts +1 -1
  54. package/dist/presets.d.ts +1 -1
  55. package/dist/style.css +36 -19
  56. package/dist/useCalendarEvents.d.cts +1 -1
  57. package/dist/useCalendarEvents.d.ts +1 -1
  58. package/dist/useCollapsePanel.d.cts +6 -6
  59. package/dist/useCollapsePanel.d.ts +6 -6
  60. package/dist/useComponentLocale.cjs +1 -1
  61. package/dist/useComponentLocale.js +1 -1
  62. package/dist/useCropperCore.d.cts +6 -6
  63. package/dist/useCropperCore.d.ts +6 -6
  64. package/dist/useEdgeInteraction.d.cts +2 -2
  65. package/dist/useEdgeInteraction.d.ts +2 -2
  66. package/dist/useFullscreen.d.cts +2 -2
  67. package/dist/useFullscreen.d.ts +2 -2
  68. package/dist/useInfiniteScroll.d.cts +1 -1
  69. package/dist/useInfiniteScroll.d.ts +1 -1
  70. package/dist/useQRCode.d.cts +3 -3
  71. package/dist/useQRCode.d.ts +3 -3
  72. package/dist/useSignatureHistory.d.cts +7 -7
  73. package/dist/useSignatureHistory.d.ts +7 -7
  74. package/dist/useSplitResize.d.cts +4 -4
  75. package/dist/useSplitResize.d.ts +4 -4
  76. package/dist/useTableQuery.d.cts +5 -5
  77. package/dist/useTableQuery.d.ts +5 -5
  78. package/dist/useWorkflowValidation.d.cts +5 -5
  79. package/dist/useWorkflowValidation.d.ts +5 -5
  80. package/dist/verification.d.cts +3 -3
  81. package/dist/verification.d.ts +3 -3
  82. package/docs/guides/data-picker.md +2 -1
  83. package/package.json +1 -1
@@ -62,26 +62,26 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
64
  select: (item: ContextMenuItem) => any;
65
+ close: () => any;
65
66
  open: (position: {
66
67
  x: number;
67
68
  y: number;
68
69
  }) => any;
69
- close: () => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
71
  onSelect?: ((item: ContextMenuItem) => any) | undefined;
72
+ onClose?: (() => any) | undefined;
72
73
  onOpen?: ((position: {
73
74
  x: number;
74
75
  y: number;
75
76
  }) => any) | undefined;
76
- onClose?: (() => any) | undefined;
77
77
  }>, {
78
78
  disabled: boolean;
79
- items: ContextMenuItem[];
79
+ zIndex: number;
80
80
  minWidth: number;
81
81
  maxWidth: number;
82
+ items: ContextMenuItem[];
82
83
  subMenuPlacement: "right" | "left";
83
84
  autoClose: boolean;
84
- zIndex: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const _default: typeof __VLS_export;
87
87
  //#endregion
@@ -1116,6 +1116,8 @@ interface DataPickerProps<T extends object, TFilters extends object = Record<str
1116
1116
  density?: ComponentDensity;
1117
1117
  locale?: ComponentLocale;
1118
1118
  pageSize?: number;
1119
+ /** Prevent confirming an empty selection when the action needs a row. */
1120
+ requireSelection?: boolean;
1119
1121
  /** Inline selection keeps the current page or dialog as the sole overlay. */
1120
1122
  presentation?: 'modal' | 'inline';
1121
1123
  /** Each session starts with these filters. A changed baseline invalidates the old session. */
@@ -1116,6 +1116,8 @@ interface DataPickerProps<T extends object, TFilters extends object = Record<str
1116
1116
  density?: ComponentDensity;
1117
1117
  locale?: ComponentLocale;
1118
1118
  pageSize?: number;
1119
+ /** Prevent confirming an empty selection when the action needs a row. */
1120
+ requireSelection?: boolean;
1119
1121
  /** Inline selection keeps the current page or dialog as the sole overlay. */
1120
1122
  presentation?: 'modal' | 'inline';
1121
1123
  /** Each session starts with these filters. A changed baseline invalidates the old session. */
@@ -43,21 +43,21 @@ declare const __VLS_export: vue.DefineComponent<Props, {
43
43
  isInitialized: Readonly<vue.Ref<boolean, boolean>>;
44
44
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
45
45
  "update:modelValue": (value: string) => any;
46
+ error: (error: Error) => any;
46
47
  "editor-mounted": (editor: EditorInstance) => any;
47
48
  "editor-change": (html: string) => any;
48
- error: (error: Error) => any;
49
49
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
50
50
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
51
+ onError?: ((error: Error) => any) | undefined;
51
52
  "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
52
53
  "onEditor-change"?: ((html: string) => any) | undefined;
53
- onError?: ((error: Error) => any) | undefined;
54
54
  }>, {
55
55
  modelValue: string;
56
- placeholder: string;
57
- disabled: boolean;
58
- readonly: boolean;
59
56
  height: number;
60
57
  theme: "light" | "dark";
58
+ disabled: boolean;
59
+ readonly: boolean;
60
+ placeholder: string;
61
61
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
62
62
  declare const _default: typeof __VLS_export;
63
63
  //#endregion
@@ -43,21 +43,21 @@ declare const __VLS_export: vue.DefineComponent<Props, {
43
43
  isInitialized: Readonly<vue.Ref<boolean, boolean>>;
44
44
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
45
45
  "update:modelValue": (value: string) => any;
46
+ error: (error: Error) => any;
46
47
  "editor-mounted": (editor: EditorInstance) => any;
47
48
  "editor-change": (html: string) => any;
48
- error: (error: Error) => any;
49
49
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
50
50
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
51
+ onError?: ((error: Error) => any) | undefined;
51
52
  "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
52
53
  "onEditor-change"?: ((html: string) => any) | undefined;
53
- onError?: ((error: Error) => any) | undefined;
54
54
  }>, {
55
55
  modelValue: string;
56
- placeholder: string;
57
- disabled: boolean;
58
- readonly: boolean;
59
56
  height: number;
60
57
  theme: "light" | "dark";
58
+ disabled: boolean;
59
+ readonly: boolean;
60
+ placeholder: string;
61
61
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
62
62
  declare const _default: typeof __VLS_export;
63
63
  //#endregion
@@ -111,8 +111,8 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
111
111
  onSkip?: ((currentStep: number) => any) | undefined;
112
112
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
113
113
  }>, {
114
- steps: GuideStep[];
115
114
  keyboard: boolean;
115
+ steps: GuideStep[];
116
116
  doneBtnText: string;
117
117
  nextBtnText: string;
118
118
  prevBtnText: string;
@@ -111,8 +111,8 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
111
111
  onSkip?: ((currentStep: number) => any) | undefined;
112
112
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
113
113
  }>, {
114
- steps: GuideStep[];
115
114
  keyboard: boolean;
115
+ steps: GuideStep[];
116
116
  doneBtnText: string;
117
117
  nextBtnText: string;
118
118
  prevBtnText: string;
@@ -38,20 +38,20 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
38
38
  onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
- size: number | string;
42
41
  type: "iconify" | "unocss" | "component" | "svg" | "image";
42
+ size: number | string;
43
43
  loading: boolean;
44
- title: string;
45
44
  color: string;
46
- ariaLabel: string;
47
- rotate: number;
48
45
  svgPath: string;
49
46
  viewBox: string;
50
47
  alt: string;
51
48
  clickable: boolean;
52
49
  fallbackIcon: string;
53
50
  loadTimeout: number;
51
+ title: string;
52
+ ariaLabel: string;
54
53
  customClass: string;
54
+ rotate: number;
55
55
  flip: "horizontal" | "vertical" | "both";
56
56
  componentProps: Record<string, unknown>;
57
57
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -38,20 +38,20 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
38
38
  onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
- size: number | string;
42
41
  type: "iconify" | "unocss" | "component" | "svg" | "image";
42
+ size: number | string;
43
43
  loading: boolean;
44
- title: string;
45
44
  color: string;
46
- ariaLabel: string;
47
- rotate: number;
48
45
  svgPath: string;
49
46
  viewBox: string;
50
47
  alt: string;
51
48
  clickable: boolean;
52
49
  fallbackIcon: string;
53
50
  loadTimeout: number;
51
+ title: string;
52
+ ariaLabel: string;
54
53
  customClass: string;
54
+ rotate: number;
55
55
  flip: "horizontal" | "vertical" | "both";
56
56
  componentProps: Record<string, unknown>;
57
57
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -12,8 +12,8 @@ interface LoadingProps {
12
12
  //#endregion
13
13
  //#region src/components/C_Loading/index.vue.d.ts
14
14
  declare const __VLS_export: vue.DefineComponent<LoadingProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<LoadingProps> & Readonly<{}>, {
15
- size: number;
16
15
  label: string;
16
+ size: number;
17
17
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  //#endregion
@@ -73,10 +73,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
75
  size: number;
76
- direction: "ltr" | "rtl";
77
- overlap: number;
78
76
  clickable: boolean;
77
+ overlap: number;
79
78
  max: number;
79
+ direction: "ltr" | "rtl";
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -73,10 +73,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
75
  size: number;
76
- direction: "ltr" | "rtl";
77
- overlap: number;
78
76
  clickable: boolean;
77
+ overlap: number;
79
78
  max: number;
79
+ direction: "ltr" | "rtl";
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -12,8 +12,8 @@ interface LoadingProps {
12
12
  //#endregion
13
13
  //#region src/components/C_Loading/index.vue.d.ts
14
14
  declare const __VLS_export: vue.DefineComponent<LoadingProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<LoadingProps> & Readonly<{}>, {
15
- size: number;
16
15
  label: string;
16
+ size: number;
17
17
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  //#endregion
@@ -62,10 +62,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
64
  modelValue: string;
65
- placeholder: string;
66
- disabled: boolean;
67
65
  height: string | number;
66
+ disabled: boolean;
68
67
  mode: "edit" | "editable" | "preview";
68
+ placeholder: string;
69
69
  tocNavPosition: "left" | "right";
70
70
  defaultFullscreen: boolean;
71
71
  autofocus: boolean;
@@ -62,10 +62,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
64
  modelValue: string;
65
- placeholder: string;
66
- disabled: boolean;
67
65
  height: string | number;
66
+ disabled: boolean;
68
67
  mode: "edit" | "editable" | "preview";
68
+ placeholder: string;
69
69
  tocNavPosition: "left" | "right";
70
70
  defaultFullscreen: boolean;
71
71
  autofocus: boolean;
@@ -80,11 +80,11 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
80
80
  "onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
- direction: OrgChartDirection;
84
83
  lineColor: string;
84
+ lineWidth: number;
85
+ direction: OrgChartDirection;
85
86
  collapsible: boolean;
86
87
  lineStyle: OrgChartLineStyle;
87
- lineWidth: number;
88
88
  nodeSpacing: number;
89
89
  levelSpacing: number;
90
90
  zoomable: boolean;
@@ -80,11 +80,11 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
80
80
  "onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
- direction: OrgChartDirection;
84
83
  lineColor: string;
84
+ lineWidth: number;
85
+ direction: OrgChartDirection;
85
86
  collapsible: boolean;
86
87
  lineStyle: OrgChartLineStyle;
87
- lineWidth: number;
88
88
  nodeSpacing: number;
89
89
  levelSpacing: number;
90
90
  zoomable: boolean;
@@ -34,9 +34,9 @@ type __VLS_Slots = {} & {
34
34
  indicator?: (props: typeof __VLS_9) => any;
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
- status: "default" | "success" | "error" | "warning" | "info";
38
- strokeWidth: number;
39
37
  time: number;
38
+ strokeWidth: number;
39
+ status: "default" | "success" | "error" | "warning" | "info";
40
40
  percentage: number | number[];
41
41
  isAnimation: boolean;
42
42
  indicatorPlacement: "inside" | "outside";
@@ -34,9 +34,9 @@ type __VLS_Slots = {} & {
34
34
  indicator?: (props: typeof __VLS_9) => any;
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
- status: "default" | "success" | "error" | "warning" | "info";
38
- strokeWidth: number;
39
37
  time: number;
38
+ strokeWidth: number;
39
+ status: "default" | "success" | "error" | "warning" | "info";
40
40
  percentage: number | number[];
41
41
  isAnimation: boolean;
42
42
  indicatorPlacement: "inside" | "outside";
@@ -87,8 +87,8 @@ type __VLS_Slots = {} & {
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
89
  loading: boolean;
90
- repeat: number;
91
90
  borderRadius: string;
91
+ repeat: number;
92
92
  preset: SkeletonPreset;
93
93
  animation: SkeletonAnimation;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -87,8 +87,8 @@ type __VLS_Slots = {} & {
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
89
  loading: boolean;
90
- repeat: number;
91
90
  borderRadius: string;
91
+ repeat: number;
92
92
  preset: SkeletonPreset;
93
93
  animation: SkeletonAnimation;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -35,10 +35,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
35
35
  onChange?: ((args_0: number) => any) | undefined;
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
- direction: "horizontal" | "vertical";
39
38
  clickable: boolean;
40
- connected: boolean;
41
39
  current: number;
40
+ direction: "horizontal" | "vertical";
41
+ connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -35,10 +35,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
35
35
  onChange?: ((args_0: number) => any) | undefined;
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
- direction: "horizontal" | "vertical";
39
38
  clickable: boolean;
40
- connected: boolean;
41
39
  current: number;
40
+ direction: "horizontal" | "vertical";
41
+ connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
20
20
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
- height: number;
24
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
25
- width: number;
26
23
  label: string;
27
- showText: boolean;
24
+ width: number;
25
+ height: number;
28
26
  fontSize: number;
29
- textPosition: "bottom" | "top";
30
27
  lineColor: string;
31
- background: string;
32
28
  showBorder: boolean;
29
+ background: string;
33
30
  showLabel: boolean;
31
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
32
+ showText: boolean;
33
+ textPosition: "bottom" | "top";
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
20
20
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
- height: number;
24
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
25
- width: number;
26
23
  label: string;
27
- showText: boolean;
24
+ width: number;
25
+ height: number;
28
26
  fontSize: number;
29
- textPosition: "bottom" | "top";
30
27
  lineColor: string;
31
- background: string;
32
28
  showBorder: boolean;
29
+ background: string;
33
30
  showLabel: boolean;
31
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
32
+ showText: boolean;
33
+ textPosition: "bottom" | "top";
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -90,12 +90,12 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
90
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
91
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
- size: "small" | "medium" | "large";
94
93
  reverse: boolean;
95
- items: TimelineItem[];
94
+ size: "small" | "medium" | "large";
96
95
  mode: "vertical" | "horizontal";
97
- pending: boolean;
96
+ items: TimelineItem[];
98
97
  labelPlacement: "left" | "right" | "alternate";
98
+ pending: boolean;
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
101
101
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -90,12 +90,12 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
90
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
91
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
- size: "small" | "medium" | "large";
94
93
  reverse: boolean;
95
- items: TimelineItem[];
94
+ size: "small" | "medium" | "large";
96
95
  mode: "vertical" | "horizontal";
97
- pending: boolean;
96
+ items: TimelineItem[];
98
97
  labelPlacement: "left" | "right" | "alternate";
98
+ pending: boolean;
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
101
101
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -58,14 +58,14 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
58
58
  declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
59
59
  props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
60
60
  "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
61
- onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
61
+ onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
62
62
  }> & (typeof globalThis extends {
63
63
  __VLS_PROPS_FALLBACK: infer P;
64
64
  } ? P : {});
65
65
  expose: (exposed: {}) => void;
66
66
  attrs: any;
67
67
  slots: {};
68
- emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
68
+ emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void);
69
69
  }>) => vue.VNode & {
70
70
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
71
71
  };
@@ -58,14 +58,14 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
58
58
  declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
59
59
  props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
60
60
  "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
61
- onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
61
+ onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
62
62
  }> & (typeof globalThis extends {
63
63
  __VLS_PROPS_FALLBACK: infer P;
64
64
  } ? P : {});
65
65
  expose: (exposed: {}) => void;
66
66
  attrs: any;
67
67
  slots: {};
68
- emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
68
+ emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void);
69
69
  }>) => vue.VNode & {
70
70
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
71
71
  };
@@ -23,20 +23,20 @@ declare const __VLS_export: vue.DefineComponent<Props, {
23
23
  copyCode: typeof copyCode;
24
24
  toggleFullscreen: typeof toggleFullscreen;
25
25
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
26
- copy: (code: string) => any;
27
- click: (event: MouseEvent) => any;
28
26
  fullscreen: (isFullscreen: boolean) => any;
27
+ click: (event: MouseEvent) => any;
28
+ copy: (code: string) => any;
29
29
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
30
- onCopy?: ((code: string) => any) | undefined;
31
- onClick?: ((event: MouseEvent) => any) | undefined;
32
30
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
31
+ onClick?: ((event: MouseEvent) => any) | undefined;
32
+ onCopy?: ((code: string) => any) | undefined;
33
33
  }>, {
34
- code: string;
35
34
  language: string;
35
+ code: string;
36
+ trim: boolean;
36
37
  showHeader: boolean;
37
38
  showLineNumbers: boolean;
38
39
  wordWrap: boolean;
39
- trim: boolean;
40
40
  showFullscreen: boolean;
41
41
  autoLoadLanguage: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -83,18 +83,18 @@ interface MapExpose {
83
83
  //#endregion
84
84
  //#region src/components/C_Map/index.vue.d.ts
85
85
  declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
86
- error: (error: Error) => any;
87
86
  ready: (map: MapInstance) => any;
87
+ error: (error: Error) => any;
88
88
  markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
89
89
  }, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
90
- onError?: ((error: Error) => any) | undefined;
91
90
  onReady?: ((map: MapInstance) => any) | undefined;
91
+ onError?: ((error: Error) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
94
  height: string;
95
95
  ariaLabel: string;
96
- zoom: number;
97
96
  center: MapCoordinate;
97
+ zoom: number;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
@@ -83,18 +83,18 @@ interface MapExpose {
83
83
  //#endregion
84
84
  //#region src/components/C_Map/index.vue.d.ts
85
85
  declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
86
- error: (error: Error) => any;
87
86
  ready: (map: MapInstance) => any;
87
+ error: (error: Error) => any;
88
88
  markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
89
89
  }, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
90
- onError?: ((error: Error) => any) | undefined;
91
90
  onReady?: ((map: MapInstance) => any) | undefined;
91
+ onError?: ((error: Error) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
94
  height: string;
95
95
  ariaLabel: string;
96
- zoom: number;
97
96
  center: MapCoordinate;
97
+ zoom: number;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
@@ -15,10 +15,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
15
15
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
16
16
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
17
17
  }>, {
18
- config: ActionBarConfig;
19
18
  actions: ActionItem[];
20
19
  leftActions: ActionItem[];
21
20
  rightActions: ActionItem[];
21
+ config: ActionBarConfig;
22
22
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
24
  declare const _default: typeof __VLS_export;
package/dist/presets.d.ts CHANGED
@@ -15,10 +15,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
15
15
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
16
16
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
17
17
  }>, {
18
- config: ActionBarConfig;
19
18
  actions: ActionItem[];
20
19
  leftActions: ActionItem[];
21
20
  rightActions: ActionItem[];
21
+ config: ActionBarConfig;
22
22
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
24
  declare const _default: typeof __VLS_export;