@robot-admin/naive-ui-components 0.13.5 → 0.13.6

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 (139) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +25 -5
  3. package/README_EN.md +17 -5
  4. package/dist/C_Loading.cjs +1 -0
  5. package/dist/C_Loading.css +119 -0
  6. package/dist/C_Loading.d.cts +2 -0
  7. package/dist/C_Loading.d.ts +2 -0
  8. package/dist/C_Loading.js +1 -0
  9. package/dist/C_Loading2.cjs +1 -0
  10. package/dist/C_Loading2.js +1 -0
  11. package/dist/C_Login.d.cts +1 -1
  12. package/dist/C_Login.d.ts +1 -1
  13. package/dist/C_Markdown.d.cts +1 -1
  14. package/dist/C_Markdown.d.ts +1 -1
  15. package/dist/C_Menu.d.ts +1 -1
  16. package/dist/C_OrgChart.d.cts +1 -1
  17. package/dist/C_OrgChart.d.ts +1 -1
  18. package/dist/C_Progress.d.cts +1 -1
  19. package/dist/C_Progress.d.ts +1 -1
  20. package/dist/C_Skeleton.d.cts +1 -1
  21. package/dist/C_Skeleton.d.ts +1 -1
  22. package/dist/C_Steps.d.cts +1 -1
  23. package/dist/C_Steps.d.ts +1 -1
  24. package/dist/C_Table.base.css +233 -113
  25. package/dist/C_Table.cjs +1 -1
  26. package/dist/C_Table.css +233 -113
  27. package/dist/C_Table.d.ts +2 -2
  28. package/dist/C_Table.js +1 -1
  29. package/dist/C_TagsView.d.cts +1 -1
  30. package/dist/C_TagsView.d.ts +1 -1
  31. package/dist/C_Theme.d.cts +1 -1
  32. package/dist/C_Theme.d.ts +1 -1
  33. package/dist/C_Timeline.d.cts +1 -1
  34. package/dist/C_Timeline.d.ts +1 -1
  35. package/dist/C_Transfer.d.cts +1 -1
  36. package/dist/C_Transfer.d.ts +1 -1
  37. package/dist/C_VtableGantt.d.cts +1 -1
  38. package/dist/C_VtableGantt.d.ts +1 -1
  39. package/dist/config.cjs +1 -1
  40. package/dist/config.js +1 -1
  41. package/dist/constants.d.cts +1 -1
  42. package/dist/constants.d.ts +1 -1
  43. package/dist/constants2.d.cts +1 -1
  44. package/dist/constants2.d.ts +1 -1
  45. package/dist/constants3.d.cts +4 -4
  46. package/dist/constants3.d.ts +4 -4
  47. package/dist/constants4.d.cts +6 -6
  48. package/dist/constants4.d.ts +6 -6
  49. package/dist/constants5.d.cts +2 -2
  50. package/dist/constants5.d.ts +2 -2
  51. package/dist/data.d.cts +7 -7
  52. package/dist/data.d.ts +7 -7
  53. package/dist/index.cjs +1 -1
  54. package/dist/index.d.cts +28 -27
  55. package/dist/index.d.ts +28 -27
  56. package/dist/index.js +1 -1
  57. package/dist/index.vue.d.cts +5 -5
  58. package/dist/index.vue.d.ts +5 -5
  59. package/dist/index10.vue.d.cts +3 -3
  60. package/dist/index11.vue.d.ts +4 -4
  61. package/dist/index12.vue.d.cts +4 -4
  62. package/dist/index13.vue.d.ts +2 -2
  63. package/dist/index14.vue.d.cts +2 -2
  64. package/dist/index14.vue.d.ts +7 -7
  65. package/dist/index15.vue.d.cts +7 -7
  66. package/dist/index16.vue.d.ts +13 -129
  67. package/dist/index17.vue.d.cts +13 -129
  68. package/dist/index17.vue.d.ts +129 -76
  69. package/dist/index18.vue.d.cts +129 -76
  70. package/dist/index18.vue.d.ts +75 -71
  71. package/dist/index19.vue.d.cts +75 -93
  72. package/dist/index19.vue.d.ts +68 -90
  73. package/dist/index2.vue.d.cts +2 -2
  74. package/dist/index2.vue.d.ts +2 -2
  75. package/dist/index20.vue.d.cts +87 -40
  76. package/dist/index20.vue.d.ts +87 -40
  77. package/dist/index21.vue.d.cts +40 -89
  78. package/dist/index21.vue.d.ts +40 -89
  79. package/dist/index22.vue.d.cts +95 -37
  80. package/dist/index22.vue.d.ts +95 -37
  81. package/dist/index23.vue.d.cts +34 -8
  82. package/dist/index23.vue.d.ts +34 -8
  83. package/dist/index24.vue.d.cts +12 -654
  84. package/dist/index24.vue.d.ts +12 -654
  85. package/dist/index25.vue.d.cts +650 -85
  86. package/dist/index25.vue.d.ts +650 -85
  87. package/dist/index26.vue.d.cts +85 -100
  88. package/dist/index26.vue.d.ts +85 -100
  89. package/dist/index27.vue.d.cts +92 -61
  90. package/dist/index27.vue.d.ts +92 -61
  91. package/dist/index28.vue.d.cts +80 -0
  92. package/dist/index28.vue.d.ts +80 -0
  93. package/dist/index3.vue.d.cts +5 -5
  94. package/dist/index3.vue.d.ts +5 -5
  95. package/dist/index6.vue.d.ts +1 -1
  96. package/dist/index7.vue.d.cts +1 -1
  97. package/dist/index8.vue.d.ts +2 -2
  98. package/dist/index9.vue.d.cts +2 -2
  99. package/dist/index9.vue.d.ts +3 -3
  100. package/dist/mapUtils.d.cts +2 -2
  101. package/dist/mapUtils.d.ts +2 -2
  102. package/dist/resolver.cjs +1 -1
  103. package/dist/resolver.d.cts +1 -1
  104. package/dist/resolver.d.ts +1 -1
  105. package/dist/resolver.js +1 -1
  106. package/dist/style.css +235 -113
  107. package/dist/useCalendarEvents.d.cts +1 -1
  108. package/dist/useCalendarEvents.d.ts +1 -1
  109. package/dist/useCollapsePanel.d.cts +4 -4
  110. package/dist/useCollapsePanel.d.ts +4 -4
  111. package/dist/useCropperCore.d.cts +9 -9
  112. package/dist/useCropperCore.d.ts +9 -9
  113. package/dist/useDraggableLayout.d.cts +5 -5
  114. package/dist/useDraggableLayout.d.ts +5 -5
  115. package/dist/useEdgeInteraction.d.cts +2 -2
  116. package/dist/useEdgeInteraction.d.ts +2 -2
  117. package/dist/useInfiniteScroll.d.cts +3 -3
  118. package/dist/useInfiniteScroll.d.ts +3 -3
  119. package/dist/useQRCode.d.cts +3 -3
  120. package/dist/useQRCode.d.ts +3 -3
  121. package/dist/useSearchState.d.cts +21 -21
  122. package/dist/useSearchState.d.ts +21 -21
  123. package/dist/useSignatureHistory.d.cts +4 -4
  124. package/dist/useSignatureHistory.d.ts +4 -4
  125. package/dist/useSplitResize.d.cts +5 -5
  126. package/dist/useSplitResize.d.ts +5 -5
  127. package/dist/useTableQuery.cjs +3 -3
  128. package/dist/useTableQuery.d.cts +3 -1
  129. package/dist/useTableQuery.d.ts +3 -1
  130. package/dist/useTableQuery.js +3 -3
  131. package/dist/useTimeSelection.d.cts +2 -2
  132. package/dist/useTimeSelection.d.ts +2 -2
  133. package/dist/useTreeOperations.d.cts +7 -7
  134. package/dist/useTreeOperations.d.ts +7 -7
  135. package/dist/useWorkflowValidation.d.cts +1 -1
  136. package/dist/useWorkflowValidation.d.ts +1 -1
  137. package/dist/verification.d.cts +3 -3
  138. package/dist/verification.d.ts +3 -3
  139. package/package.json +3 -3
@@ -1,80 +1,111 @@
1
1
  import * as vue from "vue";
2
2
 
3
- //#region src/components/C_Transfer/types.d.ts
3
+ //#region src/components/C_Timeline/types.d.ts
4
4
  /**
5
- * @Description: 穿梭框组件类型定义
5
+ * @Description: 时间线组件类型定义
6
6
  */
7
- /** 穿梭框数据项 */
8
- interface TransferItem {
7
+ /** 单条时间线节点 */
8
+ interface TimelineItem {
9
9
  /** 唯一标识 */
10
- key: string | number;
11
- /** 显示标签 */
12
- label: string;
13
- /** 是否禁用 */
14
- disabled?: boolean;
15
- /** 分组名称 */
16
- group?: string;
17
- /** 描述信息(用于详细模式) */
18
- description?: string;
19
- /** 图标(Iconify) */
10
+ id: string | number;
11
+ /** 标题 */
12
+ title: string;
13
+ /** 描述内容(支持 HTML 字符串) */
14
+ content?: string;
15
+ /** 时间标签 */
16
+ time?: string;
17
+ /** 节点颜色(CSS 颜色值) */
18
+ color?: string;
19
+ /** 节点图标(Iconify 图标名) */
20
20
  icon?: string;
21
- /** 额外数据 */
21
+ /** 节点状态 */
22
+ status?: 'default' | 'success' | 'warning' | 'error' | 'info';
23
+ /** 是否可展开/折叠详情 */
24
+ collapsible?: boolean;
25
+ /** 初始是否展开 */
26
+ defaultExpanded?: boolean;
27
+ /** 附加标签组 */
28
+ tags?: Array<{
29
+ text: string;
30
+ type?: string;
31
+ }>;
32
+ /** 自定义额外数据 */
22
33
  extra?: Record<string, unknown>;
23
34
  }
24
35
  /** 组件 Props */
25
- interface TransferProps {
26
- /** 数据源 */
27
- data: TransferItem[];
28
- /** 右侧已选 key 列表 (v-model) */
29
- modelValue: Array<string | number>;
30
- /** 左右栏标题 */
31
- titles?: [string, string];
32
- /** 是否可搜索 */
33
- filterable?: boolean;
34
- /** 搜索占位符 */
35
- filterPlaceholder?: string;
36
- /** 自定义筛选函数 */
37
- filterMethod?: (query: string, item: TransferItem) => boolean;
38
- /** 是否显示全选复选框 */
39
- showSelectAll?: boolean;
40
- /** 左侧空状态描述 */
41
- sourceEmptyText?: string;
42
- /** 右侧空状态描述 */
43
- targetEmptyText?: string;
44
- /** 尺寸 */
36
+ interface TimelineProps {
37
+ /** 时间线数据 */
38
+ items: TimelineItem[];
39
+ /** 布局方向 */
40
+ mode?: 'vertical' | 'horizontal';
41
+ /** 垂直模式下时间标签位置 */
42
+ labelPlacement?: 'left' | 'right' | 'alternate';
43
+ /** 是否显示尾部加载更多指示 */
44
+ pending?: boolean;
45
+ /** 加载更多文案 */
46
+ pendingText?: string;
47
+ /** 是否反转排列(最新在前) */
48
+ reverse?: boolean;
49
+ /** 节点大小 */
45
50
  size?: 'small' | 'medium' | 'large';
51
+ /** 连接线样式 */
52
+ lineType?: 'solid' | 'dashed' | 'dotted';
53
+ /** 是否显示时间标签 */
54
+ showTime?: boolean;
46
55
  }
47
56
  /** 默认 Props */
48
- declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
57
+ declare const DEFAULT_TIMELINE_PROPS: {
58
+ mode: "vertical";
59
+ labelPlacement: "right";
60
+ pending: boolean;
61
+ pendingText: string;
62
+ reverse: boolean;
63
+ size: "medium";
64
+ lineType: "solid";
65
+ showTime: boolean;
66
+ };
67
+ /** 状态 → 颜色映射 */
68
+ declare const STATUS_COLOR_MAP: Record<string, string>;
49
69
  //#endregion
50
- //#region src/components/C_Transfer/index.vue.d.ts
51
- type __VLS_Props = {
52
- data: TransferProps['data'];
53
- modelValue: TransferProps['modelValue'];
54
- titles?: TransferProps['titles'];
55
- filterable?: boolean;
56
- filterPlaceholder?: string;
57
- filterMethod?: TransferProps['filterMethod'];
58
- showSelectAll?: boolean;
59
- sourceEmptyText?: string;
60
- targetEmptyText?: string;
61
- size?: TransferProps['size'];
70
+ //#region src/components/C_Timeline/index.vue.d.ts
71
+ declare var __VLS_1: {
72
+ item: TimelineItem;
73
+ index: number;
74
+ }, __VLS_8: {
75
+ item: TimelineItem;
76
+ index: number;
77
+ };
78
+ type __VLS_Slots = {} & {
79
+ dot?: (props: typeof __VLS_1) => any;
80
+ } & {
81
+ title?: (props: typeof __VLS_8) => any;
62
82
  };
63
- declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
- "update:modelValue": (value: (string | number)[]) => any;
65
- change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
66
- }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
- "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
- onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
83
+ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
+ /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
+ collapseAll: () => void;
86
+ }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
+ expand: (item: TimelineItem, expanded: boolean) => any;
88
+ "item-click": (item: TimelineItem, index: number) => any;
89
+ }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
+ onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
+ "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
69
92
  }>, {
70
- titles: [string, string];
71
- filterable: boolean;
72
- filterPlaceholder: string;
73
- showSelectAll: boolean;
74
- sourceEmptyText: string;
75
- targetEmptyText: string;
93
+ reverse: boolean;
94
+ items: TimelineItem[];
76
95
  size: "small" | "medium" | "large";
96
+ mode: "vertical" | "horizontal";
97
+ labelPlacement: "left" | "right" | "alternate";
98
+ pending: boolean;
99
+ pendingText: string;
100
+ lineType: "solid" | "dashed" | "dotted";
101
+ showTime: boolean;
77
102
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
103
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
78
104
  declare const _default: typeof __VLS_export;
105
+ type __VLS_WithSlots<T, S> = T & {
106
+ new (): {
107
+ $slots: S;
108
+ };
109
+ };
79
110
  //#endregion
80
- export { TransferProps as i, DEFAULT_TRANSFER_PROPS as n, TransferItem as r, _default as t };
111
+ export { TimelineProps as a, TimelineItem as i, DEFAULT_TIMELINE_PROPS as n, STATUS_COLOR_MAP as r, _default as t };
@@ -0,0 +1,80 @@
1
+ import * as vue from "vue";
2
+
3
+ //#region src/components/C_Transfer/types.d.ts
4
+ /**
5
+ * @Description: 穿梭框组件类型定义
6
+ */
7
+ /** 穿梭框数据项 */
8
+ interface TransferItem {
9
+ /** 唯一标识 */
10
+ key: string | number;
11
+ /** 显示标签 */
12
+ label: string;
13
+ /** 是否禁用 */
14
+ disabled?: boolean;
15
+ /** 分组名称 */
16
+ group?: string;
17
+ /** 描述信息(用于详细模式) */
18
+ description?: string;
19
+ /** 图标(Iconify) */
20
+ icon?: string;
21
+ /** 额外数据 */
22
+ extra?: Record<string, unknown>;
23
+ }
24
+ /** 组件 Props */
25
+ interface TransferProps {
26
+ /** 数据源 */
27
+ data: TransferItem[];
28
+ /** 右侧已选 key 列表 (v-model) */
29
+ modelValue: Array<string | number>;
30
+ /** 左右栏标题 */
31
+ titles?: [string, string];
32
+ /** 是否可搜索 */
33
+ filterable?: boolean;
34
+ /** 搜索占位符 */
35
+ filterPlaceholder?: string;
36
+ /** 自定义筛选函数 */
37
+ filterMethod?: (query: string, item: TransferItem) => boolean;
38
+ /** 是否显示全选复选框 */
39
+ showSelectAll?: boolean;
40
+ /** 左侧空状态描述 */
41
+ sourceEmptyText?: string;
42
+ /** 右侧空状态描述 */
43
+ targetEmptyText?: string;
44
+ /** 尺寸 */
45
+ size?: 'small' | 'medium' | 'large';
46
+ }
47
+ /** 默认 Props */
48
+ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
49
+ //#endregion
50
+ //#region src/components/C_Transfer/index.vue.d.ts
51
+ type __VLS_Props = {
52
+ data: TransferProps['data'];
53
+ modelValue: TransferProps['modelValue'];
54
+ titles?: TransferProps['titles'];
55
+ filterable?: boolean;
56
+ filterPlaceholder?: string;
57
+ filterMethod?: TransferProps['filterMethod'];
58
+ showSelectAll?: boolean;
59
+ sourceEmptyText?: string;
60
+ targetEmptyText?: string;
61
+ size?: TransferProps['size'];
62
+ };
63
+ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
+ "update:modelValue": (value: (string | number)[]) => any;
65
+ change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
66
+ }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
+ onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
69
+ }>, {
70
+ size: "small" | "medium" | "large";
71
+ filterable: boolean;
72
+ titles: [string, string];
73
+ filterPlaceholder: string;
74
+ showSelectAll: boolean;
75
+ sourceEmptyText: string;
76
+ targetEmptyText: string;
77
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
78
+ declare const _default: typeof __VLS_export;
79
+ //#endregion
80
+ export { TransferProps as i, DEFAULT_TRANSFER_PROPS as n, TransferItem as r, _default as t };
@@ -0,0 +1,80 @@
1
+ import * as vue from "vue";
2
+
3
+ //#region src/components/C_Transfer/types.d.ts
4
+ /**
5
+ * @Description: 穿梭框组件类型定义
6
+ */
7
+ /** 穿梭框数据项 */
8
+ interface TransferItem {
9
+ /** 唯一标识 */
10
+ key: string | number;
11
+ /** 显示标签 */
12
+ label: string;
13
+ /** 是否禁用 */
14
+ disabled?: boolean;
15
+ /** 分组名称 */
16
+ group?: string;
17
+ /** 描述信息(用于详细模式) */
18
+ description?: string;
19
+ /** 图标(Iconify) */
20
+ icon?: string;
21
+ /** 额外数据 */
22
+ extra?: Record<string, unknown>;
23
+ }
24
+ /** 组件 Props */
25
+ interface TransferProps {
26
+ /** 数据源 */
27
+ data: TransferItem[];
28
+ /** 右侧已选 key 列表 (v-model) */
29
+ modelValue: Array<string | number>;
30
+ /** 左右栏标题 */
31
+ titles?: [string, string];
32
+ /** 是否可搜索 */
33
+ filterable?: boolean;
34
+ /** 搜索占位符 */
35
+ filterPlaceholder?: string;
36
+ /** 自定义筛选函数 */
37
+ filterMethod?: (query: string, item: TransferItem) => boolean;
38
+ /** 是否显示全选复选框 */
39
+ showSelectAll?: boolean;
40
+ /** 左侧空状态描述 */
41
+ sourceEmptyText?: string;
42
+ /** 右侧空状态描述 */
43
+ targetEmptyText?: string;
44
+ /** 尺寸 */
45
+ size?: 'small' | 'medium' | 'large';
46
+ }
47
+ /** 默认 Props */
48
+ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
49
+ //#endregion
50
+ //#region src/components/C_Transfer/index.vue.d.ts
51
+ type __VLS_Props = {
52
+ data: TransferProps['data'];
53
+ modelValue: TransferProps['modelValue'];
54
+ titles?: TransferProps['titles'];
55
+ filterable?: boolean;
56
+ filterPlaceholder?: string;
57
+ filterMethod?: TransferProps['filterMethod'];
58
+ showSelectAll?: boolean;
59
+ sourceEmptyText?: string;
60
+ targetEmptyText?: string;
61
+ size?: TransferProps['size'];
62
+ };
63
+ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
+ "update:modelValue": (value: (string | number)[]) => any;
65
+ change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
66
+ }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
+ onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
69
+ }>, {
70
+ size: "small" | "medium" | "large";
71
+ filterable: boolean;
72
+ titles: [string, string];
73
+ filterPlaceholder: string;
74
+ showSelectAll: boolean;
75
+ sourceEmptyText: string;
76
+ targetEmptyText: string;
77
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
78
+ declare const _default: typeof __VLS_export;
79
+ //#endregion
80
+ export { TransferProps as i, DEFAULT_TRANSFER_PROPS as n, TransferItem as r, _default as t };
@@ -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
- label: string;
24
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
25
23
  height: number;
24
+ fontSize: number;
25
+ label: string;
26
26
  width: number;
27
27
  lineColor: string;
28
+ showBorder: boolean;
29
+ showLabel: boolean;
30
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
31
  showText: boolean;
29
- fontSize: number;
30
32
  textPosition: "bottom" | "top";
31
33
  background: string;
32
- showBorder: boolean;
33
- showLabel: boolean;
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
- label: string;
24
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
25
23
  height: number;
24
+ fontSize: number;
25
+ label: string;
26
26
  width: number;
27
27
  lineColor: string;
28
+ showBorder: boolean;
29
+ showLabel: boolean;
30
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
31
  showText: boolean;
29
- fontSize: number;
30
32
  textPosition: "bottom" | "top";
31
33
  background: string;
32
- showBorder: boolean;
33
- showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -105,13 +105,13 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
107
  placeholder: string;
108
- messages: ChatMessage[];
109
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;
@@ -105,13 +105,13 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
107
  placeholder: string;
108
- messages: ChatMessage[];
109
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;
@@ -25,12 +25,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
25
25
  copyCode: typeof copyCode;
26
26
  toggleFullscreen: typeof toggleFullscreen;
27
27
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
28
- copy: (code: string) => any;
29
28
  click: (event: MouseEvent) => any;
29
+ copy: (code: string) => any;
30
30
  fullscreen: (isFullscreen: boolean) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
- onCopy?: ((code: string) => any) | undefined;
33
32
  onClick?: ((event: MouseEvent) => any) | undefined;
33
+ onCopy?: ((code: string) => any) | undefined;
34
34
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
35
  }>, {
36
36
  trim: boolean;
@@ -25,12 +25,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
25
25
  copyCode: typeof copyCode;
26
26
  toggleFullscreen: typeof toggleFullscreen;
27
27
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
28
- copy: (code: string) => any;
29
28
  click: (event: MouseEvent) => any;
29
+ copy: (code: string) => any;
30
30
  fullscreen: (isFullscreen: boolean) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
- onCopy?: ((code: string) => any) | undefined;
33
32
  onClick?: ((event: MouseEvent) => any) | undefined;
33
+ onCopy?: ((code: string) => any) | undefined;
34
34
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
35
  }>, {
36
36
  trim: boolean;
@@ -61,22 +61,22 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
61
61
  close: () => void; /** 当前是否可见 */
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
+ close: () => any;
64
65
  select: (item: ContextMenuItem) => 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
+ onClose?: (() => any) | undefined;
71
72
  onSelect?: ((item: ContextMenuItem) => 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
- disabled: boolean;
79
78
  items: ContextMenuItem[];
79
+ disabled: boolean;
80
80
  zIndex: number;
81
81
  minWidth: number;
82
82
  maxWidth: number;
@@ -92,10 +92,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
94
  height: string;
95
- zoom: number;
96
95
  center: MapCoordinate;
97
- mapType: MapType;
98
96
  ariaLabel: string;
97
+ zoom: number;
98
+ mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
@@ -92,10 +92,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
94
  height: string;
95
- zoom: number;
96
95
  center: MapCoordinate;
97
- mapType: MapType;
98
96
  ariaLabel: string;
97
+ zoom: number;
98
+ mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
package/dist/resolver.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=`@robot-admin/naive-ui-components`,t=`C_ActionBar.C_AntV.C_AudioPlayer.C_AvatarGroup.C_Barcode.C_Breadcrumb.C_Captcha.C_Cascade.C_Chat.C_City.C_Code.C_CollapsePanel.C_ContextMenu.C_Cron.C_Date.C_Draggable.C_Editor.C_FilePreview.C_Form.C_FormModal.C_FormSearch.C_FormulaEditor.C_FullCalendar.C_GlobalSearch.C_Guide.C_Icon.C_ImageCropper.C_Language.C_Login.C_Map.C_Markdown.C_Menu.C_NotificationCenter.C_OrgChart.C_Progress.C_QRCode.C_Signature.C_Skeleton.C_SplitPane.C_Steps.C_Table.C_Tabs.C_TagsView.C_Theme.C_Time.C_Timeline.C_Transfer.C_Tree.C_Upload.C_VideoPlayer.C_VtableGantt.C_WaterFall.C_WorkFlow`.split(`.`),n=new Set(t);function r(t={}){let{importOnDemand:r=!0,importStyle:i=!1}=t;return{type:`component`,resolve:t=>{if(n.has(t)){let n=r?`${e}/${t}`:e,a=i===!0?`full`:i;return{name:t,from:n,sideEffects:r&&a?`${e}/${t}/${a===`base`&&(t===`C_Form`||t===`C_Table`)?`base.css`:`style.css`}`:void 0}}}}}exports.RobotNaiveUiResolver=r,exports.componentNames=t;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=`@robot-admin/naive-ui-components`,t=`C_ActionBar.C_AntV.C_AudioPlayer.C_AvatarGroup.C_Barcode.C_Breadcrumb.C_Captcha.C_Cascade.C_Chat.C_City.C_Code.C_CollapsePanel.C_ContextMenu.C_Cron.C_Date.C_Draggable.C_Editor.C_FilePreview.C_Form.C_FormModal.C_FormSearch.C_FormulaEditor.C_FullCalendar.C_GlobalSearch.C_Guide.C_Icon.C_ImageCropper.C_Language.C_Login.C_Loading.C_Map.C_Markdown.C_Menu.C_NotificationCenter.C_OrgChart.C_Progress.C_QRCode.C_Signature.C_Skeleton.C_SplitPane.C_Steps.C_Table.C_Tabs.C_TagsView.C_Theme.C_Time.C_Timeline.C_Transfer.C_Tree.C_Upload.C_VideoPlayer.C_VtableGantt.C_WaterFall.C_WorkFlow`.split(`.`),n=new Set(t);function r(t={}){let{importOnDemand:r=!0,importStyle:i=!1}=t;return{type:`component`,resolve:t=>{if(n.has(t)){let n=r?`${e}/${t}`:e,a=i===!0?`full`:i;return{name:t,from:n,sideEffects:r&&a?`${e}/${t}/${a===`base`&&(t===`C_Form`||t===`C_Table`)?`base.css`:`style.css`}`:void 0}}}}}exports.RobotNaiveUiResolver=r,exports.componentNames=t;
@@ -1,6 +1,6 @@
1
1
  //#region src/resolver.d.ts
2
2
  /** 组件库包含的所有组件名称 */
3
- declare const componentNames: readonly ["C_ActionBar", "C_AntV", "C_AudioPlayer", "C_AvatarGroup", "C_Barcode", "C_Breadcrumb", "C_Captcha", "C_Cascade", "C_Chat", "C_City", "C_Code", "C_CollapsePanel", "C_ContextMenu", "C_Cron", "C_Date", "C_Draggable", "C_Editor", "C_FilePreview", "C_Form", "C_FormModal", "C_FormSearch", "C_FormulaEditor", "C_FullCalendar", "C_GlobalSearch", "C_Guide", "C_Icon", "C_ImageCropper", "C_Language", "C_Login", "C_Map", "C_Markdown", "C_Menu", "C_NotificationCenter", "C_OrgChart", "C_Progress", "C_QRCode", "C_Signature", "C_Skeleton", "C_SplitPane", "C_Steps", "C_Table", "C_Tabs", "C_TagsView", "C_Theme", "C_Time", "C_Timeline", "C_Transfer", "C_Tree", "C_Upload", "C_VideoPlayer", "C_VtableGantt", "C_WaterFall", "C_WorkFlow"];
3
+ declare const componentNames: readonly ["C_ActionBar", "C_AntV", "C_AudioPlayer", "C_AvatarGroup", "C_Barcode", "C_Breadcrumb", "C_Captcha", "C_Cascade", "C_Chat", "C_City", "C_Code", "C_CollapsePanel", "C_ContextMenu", "C_Cron", "C_Date", "C_Draggable", "C_Editor", "C_FilePreview", "C_Form", "C_FormModal", "C_FormSearch", "C_FormulaEditor", "C_FullCalendar", "C_GlobalSearch", "C_Guide", "C_Icon", "C_ImageCropper", "C_Language", "C_Login", "C_Loading", "C_Map", "C_Markdown", "C_Menu", "C_NotificationCenter", "C_OrgChart", "C_Progress", "C_QRCode", "C_Signature", "C_Skeleton", "C_SplitPane", "C_Steps", "C_Table", "C_Tabs", "C_TagsView", "C_Theme", "C_Time", "C_Timeline", "C_Transfer", "C_Tree", "C_Upload", "C_VideoPlayer", "C_VtableGantt", "C_WaterFall", "C_WorkFlow"];
4
4
  /** 组件名称类型 */
5
5
  type ComponentName = (typeof componentNames)[number];
6
6
  /** Component style loading strategy. `true` is kept as an alias of `full`. */
@@ -1,6 +1,6 @@
1
1
  //#region src/resolver.d.ts
2
2
  /** 组件库包含的所有组件名称 */
3
- declare const componentNames: readonly ["C_ActionBar", "C_AntV", "C_AudioPlayer", "C_AvatarGroup", "C_Barcode", "C_Breadcrumb", "C_Captcha", "C_Cascade", "C_Chat", "C_City", "C_Code", "C_CollapsePanel", "C_ContextMenu", "C_Cron", "C_Date", "C_Draggable", "C_Editor", "C_FilePreview", "C_Form", "C_FormModal", "C_FormSearch", "C_FormulaEditor", "C_FullCalendar", "C_GlobalSearch", "C_Guide", "C_Icon", "C_ImageCropper", "C_Language", "C_Login", "C_Map", "C_Markdown", "C_Menu", "C_NotificationCenter", "C_OrgChart", "C_Progress", "C_QRCode", "C_Signature", "C_Skeleton", "C_SplitPane", "C_Steps", "C_Table", "C_Tabs", "C_TagsView", "C_Theme", "C_Time", "C_Timeline", "C_Transfer", "C_Tree", "C_Upload", "C_VideoPlayer", "C_VtableGantt", "C_WaterFall", "C_WorkFlow"];
3
+ declare const componentNames: readonly ["C_ActionBar", "C_AntV", "C_AudioPlayer", "C_AvatarGroup", "C_Barcode", "C_Breadcrumb", "C_Captcha", "C_Cascade", "C_Chat", "C_City", "C_Code", "C_CollapsePanel", "C_ContextMenu", "C_Cron", "C_Date", "C_Draggable", "C_Editor", "C_FilePreview", "C_Form", "C_FormModal", "C_FormSearch", "C_FormulaEditor", "C_FullCalendar", "C_GlobalSearch", "C_Guide", "C_Icon", "C_ImageCropper", "C_Language", "C_Login", "C_Loading", "C_Map", "C_Markdown", "C_Menu", "C_NotificationCenter", "C_OrgChart", "C_Progress", "C_QRCode", "C_Signature", "C_Skeleton", "C_SplitPane", "C_Steps", "C_Table", "C_Tabs", "C_TagsView", "C_Theme", "C_Time", "C_Timeline", "C_Transfer", "C_Tree", "C_Upload", "C_VideoPlayer", "C_VtableGantt", "C_WaterFall", "C_WorkFlow"];
4
4
  /** 组件名称类型 */
5
5
  type ComponentName = (typeof componentNames)[number];
6
6
  /** Component style loading strategy. `true` is kept as an alias of `full`. */
package/dist/resolver.js CHANGED
@@ -1 +1 @@
1
- const e=`@robot-admin/naive-ui-components`,t=`C_ActionBar.C_AntV.C_AudioPlayer.C_AvatarGroup.C_Barcode.C_Breadcrumb.C_Captcha.C_Cascade.C_Chat.C_City.C_Code.C_CollapsePanel.C_ContextMenu.C_Cron.C_Date.C_Draggable.C_Editor.C_FilePreview.C_Form.C_FormModal.C_FormSearch.C_FormulaEditor.C_FullCalendar.C_GlobalSearch.C_Guide.C_Icon.C_ImageCropper.C_Language.C_Login.C_Map.C_Markdown.C_Menu.C_NotificationCenter.C_OrgChart.C_Progress.C_QRCode.C_Signature.C_Skeleton.C_SplitPane.C_Steps.C_Table.C_Tabs.C_TagsView.C_Theme.C_Time.C_Timeline.C_Transfer.C_Tree.C_Upload.C_VideoPlayer.C_VtableGantt.C_WaterFall.C_WorkFlow`.split(`.`),n=new Set(t);function r(t={}){let{importOnDemand:r=!0,importStyle:i=!1}=t;return{type:`component`,resolve:t=>{if(n.has(t)){let n=r?`${e}/${t}`:e,a=i===!0?`full`:i;return{name:t,from:n,sideEffects:r&&a?`${e}/${t}/${a===`base`&&(t===`C_Form`||t===`C_Table`)?`base.css`:`style.css`}`:void 0}}}}}export{r as RobotNaiveUiResolver,t as componentNames};
1
+ const e=`@robot-admin/naive-ui-components`,t=`C_ActionBar.C_AntV.C_AudioPlayer.C_AvatarGroup.C_Barcode.C_Breadcrumb.C_Captcha.C_Cascade.C_Chat.C_City.C_Code.C_CollapsePanel.C_ContextMenu.C_Cron.C_Date.C_Draggable.C_Editor.C_FilePreview.C_Form.C_FormModal.C_FormSearch.C_FormulaEditor.C_FullCalendar.C_GlobalSearch.C_Guide.C_Icon.C_ImageCropper.C_Language.C_Login.C_Loading.C_Map.C_Markdown.C_Menu.C_NotificationCenter.C_OrgChart.C_Progress.C_QRCode.C_Signature.C_Skeleton.C_SplitPane.C_Steps.C_Table.C_Tabs.C_TagsView.C_Theme.C_Time.C_Timeline.C_Transfer.C_Tree.C_Upload.C_VideoPlayer.C_VtableGantt.C_WaterFall.C_WorkFlow`.split(`.`),n=new Set(t);function r(t={}){let{importOnDemand:r=!0,importStyle:i=!1}=t;return{type:`component`,resolve:t=>{if(n.has(t)){let n=r?`${e}/${t}`:e,a=i===!0?`full`:i;return{name:t,from:n,sideEffects:r&&a?`${e}/${t}/${a===`base`&&(t===`C_Form`||t===`C_Table`)?`base.css`:`style.css`}`:void 0}}}}}export{r as RobotNaiveUiResolver,t as componentNames};