@robot-admin/naive-ui-components 0.11.6 → 0.11.7

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 (109) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +4 -0
  3. package/README_EN.md +4 -0
  4. package/dist/C_ActionBar.css +59 -0
  5. package/dist/C_AudioPlayer.css +59 -0
  6. package/dist/C_Breadcrumb.css +59 -0
  7. package/dist/C_Captcha.css +24 -24
  8. package/dist/C_Captcha2.cjs +1 -1
  9. package/dist/C_Captcha2.js +1 -1
  10. package/dist/C_Chat.css +59 -0
  11. package/dist/C_Code.css +59 -0
  12. package/dist/C_CollapsePanel.css +59 -0
  13. package/dist/C_ContextMenu.css +59 -0
  14. package/dist/C_Guide.css +59 -0
  15. package/dist/C_Guide2.cjs +1 -1
  16. package/dist/C_Guide2.js +1 -1
  17. package/dist/C_Language.css +58 -1
  18. package/dist/C_Login.css +244 -0
  19. package/dist/C_Menu2.cjs +1 -1
  20. package/dist/C_Menu2.js +1 -1
  21. package/dist/C_Table.base.css +59 -0
  22. package/dist/C_Table.css +59 -0
  23. package/dist/C_TagsView.css +59 -0
  24. package/dist/C_Theme.css +58 -1
  25. package/dist/C_Timeline.css +59 -0
  26. package/dist/C_Transfer.css +59 -0
  27. package/dist/C_WorkFlow.css +59 -0
  28. package/dist/constants.d.cts +1 -1
  29. package/dist/constants.d.ts +1 -1
  30. package/dist/constants2.d.cts +2 -2
  31. package/dist/constants2.d.ts +2 -2
  32. package/dist/constants3.d.cts +3 -3
  33. package/dist/constants3.d.ts +3 -3
  34. package/dist/constants4.d.cts +3 -3
  35. package/dist/constants4.d.ts +3 -3
  36. package/dist/constants5.d.cts +4 -4
  37. package/dist/constants5.d.ts +4 -4
  38. package/dist/index.vue.d.cts +1 -1
  39. package/dist/index.vue.d.ts +1 -1
  40. package/dist/index10.vue.d.ts +5 -5
  41. package/dist/index11.vue.d.cts +5 -5
  42. package/dist/index11.vue.d.ts +2 -2
  43. package/dist/index12.vue.d.cts +2 -2
  44. package/dist/index12.vue.d.ts +5 -5
  45. package/dist/index13.vue.d.cts +5 -5
  46. package/dist/index13.vue.d.ts +2 -2
  47. package/dist/index14.vue.d.cts +2 -2
  48. package/dist/index14.vue.d.ts +8 -8
  49. package/dist/index15.vue.d.cts +8 -8
  50. package/dist/index15.vue.d.ts +1 -1
  51. package/dist/index16.vue.d.cts +1 -1
  52. package/dist/index17.vue.d.ts +2 -2
  53. package/dist/index18.vue.d.cts +2 -2
  54. package/dist/index18.vue.d.ts +7 -3
  55. package/dist/index19.vue.d.cts +2 -2
  56. package/dist/index19.vue.d.ts +2 -2
  57. package/dist/index2.vue.d.cts +1 -1
  58. package/dist/index2.vue.d.ts +1 -1
  59. package/dist/index20.vue.d.cts +1 -1
  60. package/dist/index20.vue.d.ts +1 -1
  61. package/dist/index21.vue.d.cts +2 -2
  62. package/dist/index21.vue.d.ts +2 -2
  63. package/dist/index24.vue.d.cts +4 -4
  64. package/dist/index24.vue.d.ts +4 -4
  65. package/dist/index26.vue.d.cts +3 -3
  66. package/dist/index26.vue.d.ts +3 -3
  67. package/dist/index3.vue.d.cts +3 -3
  68. package/dist/index3.vue.d.ts +3 -3
  69. package/dist/index4.vue.d.cts +3 -3
  70. package/dist/index4.vue.d.ts +3 -3
  71. package/dist/index5.vue.d.cts +7 -3
  72. package/dist/index7.vue.d.ts +4 -4
  73. package/dist/index8.vue.d.cts +4 -4
  74. package/dist/mapUtils.d.cts +3 -3
  75. package/dist/mapUtils.d.ts +3 -3
  76. package/dist/style.css +24 -24
  77. package/dist/useCalendarEvents.d.cts +1 -1
  78. package/dist/useCalendarEvents.d.ts +1 -1
  79. package/dist/useCollapsePanel.d.cts +4 -4
  80. package/dist/useCollapsePanel.d.ts +4 -4
  81. package/dist/useCropperCore.d.cts +5 -5
  82. package/dist/useCropperCore.d.ts +5 -5
  83. package/dist/useDraggableLayout.d.cts +4 -4
  84. package/dist/useDraggableLayout.d.ts +4 -4
  85. package/dist/useDynamicFormState.d.cts +2 -2
  86. package/dist/useDynamicFormState.d.ts +2 -2
  87. package/dist/useEdgeInteraction.d.cts +3 -3
  88. package/dist/useEdgeInteraction.d.ts +3 -3
  89. package/dist/useFullscreen.d.cts +2 -2
  90. package/dist/useFullscreen.d.ts +2 -2
  91. package/dist/useInfiniteScroll.d.cts +3 -3
  92. package/dist/useInfiniteScroll.d.ts +3 -3
  93. package/dist/useQRCode.d.cts +2 -2
  94. package/dist/useQRCode.d.ts +2 -2
  95. package/dist/useSearchState.d.cts +23 -23
  96. package/dist/useSearchState.d.ts +23 -23
  97. package/dist/useSignatureHistory.d.cts +5 -5
  98. package/dist/useSignatureHistory.d.ts +5 -5
  99. package/dist/useSplitResize.d.cts +5 -5
  100. package/dist/useSplitResize.d.ts +5 -5
  101. package/dist/useTimeSelection.d.cts +3 -3
  102. package/dist/useTimeSelection.d.ts +3 -3
  103. package/dist/useTreeOperations.d.cts +6 -6
  104. package/dist/useTreeOperations.d.ts +6 -6
  105. package/dist/useWorkflowValidation.d.cts +5 -5
  106. package/dist/useWorkflowValidation.d.ts +5 -5
  107. package/dist/verification.d.cts +1 -1
  108. package/dist/verification.d.ts +1 -1
  109. package/package.json +1 -1
@@ -61,29 +61,29 @@ declare const __VLS_export: vue.DefineComponent<LegacyIconProps, {
61
61
  errorMessage: Readonly<vue.Ref<string, string>>; /** DOM引用 */
62
62
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
- click: (event: MouseEvent) => any;
65
64
  error: (type: string, error?: any) => any;
65
+ click: (event: MouseEvent) => any;
66
66
  load: () => any;
67
67
  }, string, vue.PublicProps, Readonly<LegacyIconProps> & Readonly<{
68
- onClick?: ((event: MouseEvent) => any) | undefined;
69
68
  onError?: ((type: string, error?: any) => any) | undefined;
69
+ onClick?: ((event: MouseEvent) => any) | undefined;
70
70
  onLoad?: (() => any) | undefined;
71
71
  }>, {
72
+ ariaLabel: string;
72
73
  type: "iconify" | "unocss" | "component" | "svg" | "image";
73
- size: number | string;
74
+ clickable: boolean;
74
75
  title: string;
75
- flip: "horizontal" | "vertical" | "both";
76
- color: string;
77
76
  name: string | any;
77
+ size: number | string;
78
+ color: string;
78
79
  loading: boolean;
79
- clickable: boolean;
80
- rotate: number;
81
- ariaLabel: string;
80
+ flip: "horizontal" | "vertical" | "both";
82
81
  svgPath: string;
83
82
  viewBox: string;
84
83
  alt: string;
85
84
  fallbackIcon: string;
86
85
  customClass: string;
86
+ rotate: number;
87
87
  componentProps: Record<string, any>;
88
88
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
89
89
  declare const _default: typeof __VLS_export;
@@ -61,29 +61,29 @@ declare const __VLS_export: vue.DefineComponent<LegacyIconProps, {
61
61
  errorMessage: Readonly<vue.Ref<string, string>>; /** DOM引用 */
62
62
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
- click: (event: MouseEvent) => any;
65
64
  error: (type: string, error?: any) => any;
65
+ click: (event: MouseEvent) => any;
66
66
  load: () => any;
67
67
  }, string, vue.PublicProps, Readonly<LegacyIconProps> & Readonly<{
68
- onClick?: ((event: MouseEvent) => any) | undefined;
69
68
  onError?: ((type: string, error?: any) => any) | undefined;
69
+ onClick?: ((event: MouseEvent) => any) | undefined;
70
70
  onLoad?: (() => any) | undefined;
71
71
  }>, {
72
+ ariaLabel: string;
72
73
  type: "iconify" | "unocss" | "component" | "svg" | "image";
73
- size: number | string;
74
+ clickable: boolean;
74
75
  title: string;
75
- flip: "horizontal" | "vertical" | "both";
76
- color: string;
77
76
  name: string | any;
77
+ size: number | string;
78
+ color: string;
78
79
  loading: boolean;
79
- clickable: boolean;
80
- rotate: number;
81
- ariaLabel: string;
80
+ flip: "horizontal" | "vertical" | "both";
82
81
  svgPath: string;
83
82
  viewBox: string;
84
83
  alt: string;
85
84
  fallbackIcon: string;
86
85
  customClass: string;
86
+ rotate: number;
87
87
  componentProps: Record<string, any>;
88
88
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
89
89
  declare const _default: typeof __VLS_export;
@@ -25,8 +25,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
25
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
26
  onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
- options: LegacyLanguageOption[];
29
28
  modelValue: string;
29
+ options: LegacyLanguageOption[];
30
30
  tooltip: string;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
@@ -25,8 +25,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
25
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
26
  onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
- options: LegacyLanguageOption[];
29
28
  modelValue: string;
29
+ options: LegacyLanguageOption[];
30
30
  tooltip: string;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
@@ -61,11 +61,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
61
61
  "onAuto-save"?: ((text: string) => any) | undefined;
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
+ height: string | number;
64
65
  modelValue: string;
65
- disabled: boolean;
66
66
  mode: "edit" | "editable" | "preview";
67
67
  placeholder: string;
68
- height: string | number;
68
+ disabled: boolean;
69
69
  isDark: boolean;
70
70
  tocNavPosition: "left" | "right";
71
71
  defaultFullscreen: boolean;
@@ -61,11 +61,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
61
61
  "onAuto-save"?: ((text: string) => any) | undefined;
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
+ height: string | number;
64
65
  modelValue: string;
65
- disabled: boolean;
66
66
  mode: "edit" | "editable" | "preview";
67
67
  placeholder: string;
68
- height: string | number;
68
+ disabled: boolean;
69
69
  isDark: boolean;
70
70
  tocNavPosition: "left" | "right";
71
71
  defaultFullscreen: boolean;
@@ -29,6 +29,8 @@ interface MenuProps {
29
29
  }
30
30
  interface MenuEmits {
31
31
  select: [key: string];
32
+ /** 鼠标或键盘聚焦叶子项时触发,可用于无副作用的路由预取。 */
33
+ intent: [key: string];
32
34
  'update:modelValue': [key: MenuValue];
33
35
  /** @deprecated Use update:modelValue. */
34
36
  'update:value': [key: MenuValue];
@@ -50,23 +52,25 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
50
52
  deriveResponsiveState: () => void;
51
53
  } | null>;
52
54
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
53
- select: (key: string) => any;
54
55
  "update:modelValue": (key: MenuValue) => any;
56
+ select: (key: string) => any;
57
+ intent: (key: string) => any;
55
58
  "update:value": (key: MenuValue) => any;
56
59
  "update:expandedKeys": (keys: string[]) => any;
57
60
  }, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
58
- onSelect?: ((key: string) => any) | undefined;
59
61
  "onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
62
+ onSelect?: ((key: string) => any) | undefined;
63
+ onIntent?: ((key: string) => any) | undefined;
60
64
  "onUpdate:value"?: ((key: MenuValue) => any) | undefined;
61
65
  "onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
62
66
  }>, {
63
67
  mode: "vertical" | "horizontal";
68
+ indent: number;
64
69
  defaultExpandedKeys: string[];
65
70
  collapsed: boolean;
66
71
  collapsedWidth: number;
67
72
  collapsedIconSize: number;
68
73
  inverted: boolean;
69
- indent: number;
70
74
  rootIndent: number;
71
75
  dropdownProps: naive_ui0.DropdownProps;
72
76
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -78,8 +78,9 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
78
78
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
79
79
  }>, {
80
80
  direction: OrgChartDirection;
81
- lineStyle: OrgChartLineStyle;
81
+ collapsible: boolean;
82
82
  lineColor: string;
83
+ lineStyle: OrgChartLineStyle;
83
84
  lineWidth: number;
84
85
  nodeSpacing: number;
85
86
  levelSpacing: number;
@@ -88,7 +89,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
88
89
  initialZoom: number;
89
90
  minZoom: number;
90
91
  maxZoom: number;
91
- collapsible: boolean;
92
92
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
93
93
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
94
94
  declare const _default: typeof __VLS_export;
@@ -78,8 +78,9 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
78
78
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
79
79
  }>, {
80
80
  direction: OrgChartDirection;
81
- lineStyle: OrgChartLineStyle;
81
+ collapsible: boolean;
82
82
  lineColor: string;
83
+ lineStyle: OrgChartLineStyle;
83
84
  lineWidth: number;
84
85
  nodeSpacing: number;
85
86
  levelSpacing: number;
@@ -88,7 +89,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
88
89
  initialZoom: number;
89
90
  minZoom: number;
90
91
  maxZoom: number;
91
- collapsible: boolean;
92
92
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
93
93
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
94
94
  declare const _default: typeof __VLS_export;
@@ -70,7 +70,7 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
70
70
  onPlay?: ((index: number) => any) | undefined;
71
71
  onModeChange?: ((mode: string) => any) | undefined;
72
72
  }>, {
73
- mode: "list" | "loop" | "single" | "shuffle";
73
+ mode: "single" | "list" | "loop" | "shuffle";
74
74
  theme: "default" | "minimal";
75
75
  initialIndex: number;
76
76
  showPlaylist: boolean;
@@ -70,7 +70,7 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
70
70
  onPlay?: ((index: number) => any) | undefined;
71
71
  onModeChange?: ((mode: string) => any) | undefined;
72
72
  }>, {
73
- mode: "list" | "loop" | "single" | "shuffle";
73
+ mode: "single" | "list" | "loop" | "shuffle";
74
74
  theme: "default" | "minimal";
75
75
  initialIndex: number;
76
76
  showPlaylist: boolean;
@@ -34,10 +34,10 @@ 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
- time: number;
38
37
  status: "default" | "success" | "error" | "warning" | "info";
39
38
  percentage: number | number[];
40
39
  isAnimation: boolean;
40
+ time: number;
41
41
  indicatorPlacement: "inside" | "outside";
42
42
  showIndicator: boolean;
43
43
  strokeWidth: number;
@@ -34,10 +34,10 @@ 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
- time: number;
38
37
  status: "default" | "success" | "error" | "warning" | "info";
39
38
  percentage: number | number[];
40
39
  isAnimation: boolean;
40
+ time: number;
41
41
  indicatorPlacement: "inside" | "outside";
42
42
  showIndicator: boolean;
43
43
  strokeWidth: number;
@@ -86,10 +86,10 @@ type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_1) => any;
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
+ preset: SkeletonPreset;
89
90
  repeat: number;
90
- borderRadius: string;
91
91
  loading: boolean;
92
- preset: SkeletonPreset;
92
+ borderRadius: string;
93
93
  animation: SkeletonAnimation;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -86,10 +86,10 @@ type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_1) => any;
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
+ preset: SkeletonPreset;
89
90
  repeat: number;
90
- borderRadius: string;
91
91
  loading: boolean;
92
- preset: SkeletonPreset;
92
+ borderRadius: string;
93
93
  animation: SkeletonAnimation;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -647,14 +647,14 @@ declare const __VLS_export: vue.DefineComponent<Props, {
647
647
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
648
648
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
649
  }>, {
650
- options: GanttOptions;
651
- data: GanttTask[];
652
- title: string;
653
- theme: "light" | "dark";
654
650
  height: string | number;
651
+ title: string;
652
+ data: GanttTask[];
653
+ options: GanttOptions;
655
654
  preset: GanttPreset;
656
655
  showToolbar: boolean;
657
656
  showFullscreenButton: boolean;
657
+ theme: "light" | "dark";
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
659
  declare const _default: typeof __VLS_export;
660
660
  //#endregion
@@ -647,14 +647,14 @@ declare const __VLS_export: vue.DefineComponent<Props, {
647
647
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
648
648
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
649
  }>, {
650
- options: GanttOptions;
651
- data: GanttTask[];
652
- title: string;
653
- theme: "light" | "dark";
654
650
  height: string | number;
651
+ title: string;
652
+ data: GanttTask[];
653
+ options: GanttOptions;
655
654
  preset: GanttPreset;
656
655
  showToolbar: boolean;
657
656
  showFullscreenButton: boolean;
657
+ theme: "light" | "dark";
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
659
  declare const _default: typeof __VLS_export;
660
660
  //#endregion
@@ -90,11 +90,11 @@ 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
- items: TimelineItem[];
94
93
  reverse: boolean;
95
- labelPlacement: "left" | "right" | "alternate";
96
- size: "small" | "medium" | "large";
97
94
  mode: "vertical" | "horizontal";
95
+ size: "small" | "medium" | "large";
96
+ items: TimelineItem[];
97
+ labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
@@ -90,11 +90,11 @@ 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
- items: TimelineItem[];
94
93
  reverse: boolean;
95
- labelPlacement: "left" | "right" | "alternate";
96
- size: "small" | "medium" | "large";
97
94
  mode: "vertical" | "horizontal";
95
+ size: "small" | "medium" | "large";
96
+ items: TimelineItem[];
97
+ labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
@@ -72,11 +72,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
72
72
  onItemClick?: ((item: AvatarItem) => any) | undefined;
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
- max: number;
76
- size: number;
77
- overlap: number;
78
75
  direction: "ltr" | "rtl";
79
76
  clickable: boolean;
77
+ size: number;
78
+ overlap: number;
79
+ max: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -72,11 +72,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
72
72
  onItemClick?: ((item: AvatarItem) => any) | undefined;
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
- max: number;
76
- size: number;
77
- overlap: number;
78
75
  direction: "ltr" | "rtl";
79
76
  clickable: boolean;
77
+ size: number;
78
+ overlap: number;
79
+ max: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -20,14 +20,14 @@ 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";
23
25
  label: string;
24
26
  width: number;
25
- height: number;
26
27
  fontSize: number;
27
- lineColor: string;
28
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
29
28
  showText: boolean;
30
29
  textPosition: "bottom" | "top";
30
+ lineColor: string;
31
31
  background: string;
32
32
  showBorder: boolean;
33
33
  showLabel: boolean;
@@ -20,14 +20,14 @@ 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";
23
25
  label: string;
24
26
  width: number;
25
- height: number;
26
27
  fontSize: number;
27
- lineColor: string;
28
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
29
28
  showText: boolean;
30
29
  textPosition: "bottom" | "top";
30
+ lineColor: string;
31
31
  background: string;
32
32
  showBorder: boolean;
33
33
  showLabel: boolean;
@@ -87,6 +87,8 @@ interface MenuProps {
87
87
  }
88
88
  interface MenuEmits {
89
89
  select: [key: string];
90
+ /** 鼠标或键盘聚焦叶子项时触发,可用于无副作用的路由预取。 */
91
+ intent: [key: string];
90
92
  'update:modelValue': [key: MenuValue];
91
93
  /** @deprecated Use update:modelValue. */
92
94
  'update:value': [key: MenuValue];
@@ -108,23 +110,25 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
108
110
  deriveResponsiveState: () => void;
109
111
  } | null>;
110
112
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
111
- select: (key: string) => any;
112
113
  "update:modelValue": (key: MenuValue) => any;
114
+ select: (key: string) => any;
115
+ intent: (key: string) => any;
113
116
  "update:value": (key: MenuValue) => any;
114
117
  "update:expandedKeys": (keys: string[]) => any;
115
118
  }, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
116
- onSelect?: ((key: string) => any) | undefined;
117
119
  "onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
120
+ onSelect?: ((key: string) => any) | undefined;
121
+ onIntent?: ((key: string) => any) | undefined;
118
122
  "onUpdate:value"?: ((key: MenuValue) => any) | undefined;
119
123
  "onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
120
124
  }>, {
121
125
  mode: "vertical" | "horizontal";
126
+ indent: number;
122
127
  defaultExpandedKeys: string[];
123
128
  collapsed: boolean;
124
129
  collapsedWidth: number;
125
130
  collapsedIconSize: number;
126
131
  inverted: boolean;
127
- indent: number;
128
132
  rootIndent: number;
129
133
  dropdownProps: naive_ui0.DropdownProps;
130
134
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -86,32 +86,32 @@ type __VLS_Slots = {} & {
86
86
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
87
87
  scrollToBottom: () => void;
88
88
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
89
- "load-more": () => any;
90
89
  send: (content: string) => any;
91
90
  "select-contact": (id: string) => any;
91
+ "load-more": () => any;
92
92
  "image-preview": (url: string) => any;
93
93
  "file-click": (msg: ChatMessage) => any;
94
94
  "file-upload": () => any;
95
95
  "emoji-click": () => any;
96
96
  resend: (msg: ChatMessage) => any;
97
97
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
98
- "onLoad-more"?: (() => any) | undefined;
99
98
  onSend?: ((content: string) => any) | undefined;
100
99
  "onSelect-contact"?: ((id: string) => any) | undefined;
100
+ "onLoad-more"?: (() => any) | undefined;
101
101
  "onImage-preview"?: ((url: string) => any) | undefined;
102
102
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
103
103
  "onFile-upload"?: (() => any) | undefined;
104
104
  "onEmoji-click"?: (() => any) | undefined;
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
- title: string;
108
107
  placeholder: string;
109
- messages: ChatMessage[];
108
+ title: string;
110
109
  showContacts: boolean;
111
110
  showTimestamp: boolean;
112
111
  showSendBtn: boolean;
113
112
  loadingHistory: boolean;
114
113
  contacts: ChatContact[];
114
+ messages: ChatMessage[];
115
115
  currentContactId: string;
116
116
  selfAvatar: string;
117
117
  selfName: string;
@@ -86,32 +86,32 @@ type __VLS_Slots = {} & {
86
86
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
87
87
  scrollToBottom: () => void;
88
88
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
89
- "load-more": () => any;
90
89
  send: (content: string) => any;
91
90
  "select-contact": (id: string) => any;
91
+ "load-more": () => any;
92
92
  "image-preview": (url: string) => any;
93
93
  "file-click": (msg: ChatMessage) => any;
94
94
  "file-upload": () => any;
95
95
  "emoji-click": () => any;
96
96
  resend: (msg: ChatMessage) => any;
97
97
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
98
- "onLoad-more"?: (() => any) | undefined;
99
98
  onSend?: ((content: string) => any) | undefined;
100
99
  "onSelect-contact"?: ((id: string) => any) | undefined;
100
+ "onLoad-more"?: (() => any) | undefined;
101
101
  "onImage-preview"?: ((url: string) => any) | undefined;
102
102
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
103
103
  "onFile-upload"?: (() => any) | undefined;
104
104
  "onEmoji-click"?: (() => any) | undefined;
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
- title: string;
108
107
  placeholder: string;
109
- messages: ChatMessage[];
108
+ title: string;
110
109
  showContacts: boolean;
111
110
  showTimestamp: boolean;
112
111
  showSendBtn: boolean;
113
112
  loadingHistory: boolean;
114
113
  contacts: ChatContact[];
114
+ messages: ChatMessage[];
115
115
  currentContactId: string;
116
116
  selfAvatar: string;
117
117
  selfName: string;
@@ -83,17 +83,17 @@ 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;
88
87
  markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
88
+ error: (error: Error) => any;
89
89
  }, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
90
- onError?: ((error: Error) => any) | undefined;
91
90
  onReady?: ((map: MapInstance) => any) | undefined;
92
91
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
92
+ onError?: ((error: Error) => any) | undefined;
93
93
  }>, {
94
94
  height: string;
95
- zoom: number;
96
95
  center: MapCoordinate;
96
+ zoom: number;
97
97
  mapType: MapType;
98
98
  ariaLabel: string;
99
99
  markers: MapMarker[];
@@ -83,17 +83,17 @@ 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;
88
87
  markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
88
+ error: (error: Error) => any;
89
89
  }, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
90
- onError?: ((error: Error) => any) | undefined;
91
90
  onReady?: ((map: MapInstance) => any) | undefined;
92
91
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
92
+ onError?: ((error: Error) => any) | undefined;
93
93
  }>, {
94
94
  height: string;
95
- zoom: number;
96
95
  center: MapCoordinate;
96
+ zoom: number;
97
97
  mapType: MapType;
98
98
  ariaLabel: string;
99
99
  markers: MapMarker[];