@robot-admin/naive-ui-components 0.6.12 → 0.6.13

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 (46) hide show
  1. package/dist/C_Steps-HZ438_4G.css.map +1 -0
  2. package/dist/C_Steps-uMxhEbg-.css.map +1 -0
  3. package/dist/C_Steps.css +43 -39
  4. package/dist/C_Steps.js.map +1 -1
  5. package/dist/C_Steps2.js +1 -1
  6. package/dist/C_Steps2.js.map +1 -1
  7. package/dist/constants.d.ts +4 -4
  8. package/dist/constants2.d.ts +3 -3
  9. package/dist/constants3.d.ts +2 -2
  10. package/dist/constants4.d.ts +3 -3
  11. package/dist/constants5.d.ts +2 -2
  12. package/dist/data.d.ts +1 -1
  13. package/dist/index10.vue.d.ts +3 -3
  14. package/dist/index11.vue.d.ts +2 -2
  15. package/dist/index13.vue.d.ts +3 -3
  16. package/dist/index15.vue.d.ts +2 -2
  17. package/dist/index16.vue.d.ts +2 -2
  18. package/dist/index17.vue.d.ts +1 -1
  19. package/dist/index18.vue.d.ts +3 -3
  20. package/dist/index2.vue.d.ts +1 -1
  21. package/dist/index20.vue.d.ts +2 -2
  22. package/dist/index21.vue.d.ts +3 -1
  23. package/dist/index24.vue.d.ts +1 -1
  24. package/dist/index25.vue.d.ts +2 -2
  25. package/dist/index26.vue.d.ts +1 -1
  26. package/dist/index6.vue.d.ts +3 -3
  27. package/dist/index7.vue.d.ts +2 -2
  28. package/dist/index8.vue.d.ts +4 -4
  29. package/dist/index9.vue.d.ts +2 -2
  30. package/dist/style.css +45 -41
  31. package/dist/useCalendarEvents.d.ts +1 -1
  32. package/dist/useCollapsePanel.d.ts +3 -3
  33. package/dist/useCropperCore.d.ts +5 -5
  34. package/dist/useDraggableLayout.d.ts +2 -2
  35. package/dist/useDynamicFormState.d.ts +2 -2
  36. package/dist/useEdgeInteraction.d.ts +1 -1
  37. package/dist/useInfiniteScroll.d.ts +3 -3
  38. package/dist/useQRCode.d.ts +1 -1
  39. package/dist/useSignatureHistory.d.ts +1 -1
  40. package/dist/useSplitResize.d.ts +6 -6
  41. package/dist/useTimeSelection.d.ts +1 -1
  42. package/dist/useTreeOperations.d.ts +2 -2
  43. package/dist/useWorkflowValidation.d.ts +3 -3
  44. package/package.json +1 -1
  45. package/dist/C_Steps-B1Wf3E73.css.map +0 -1
  46. package/dist/C_Steps-C8cOf_tu.css.map +0 -1
@@ -71,11 +71,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
71
71
  onModeChange?: ((mode: string) => any) | undefined;
72
72
  }>, {
73
73
  theme: "default" | "minimal";
74
+ mode: "list" | "loop" | "single" | "shuffle";
74
75
  initialIndex: number;
75
76
  showPlaylist: boolean;
76
77
  showCover: boolean;
77
78
  autoplay: boolean;
78
- mode: "list" | "loop" | "single" | "shuffle";
79
79
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
80
80
  declare const _default: typeof __VLS_export;
81
81
  //#endregion
@@ -35,12 +35,12 @@ type __VLS_Slots = {} & {
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
37
  status: "default" | "success" | "error" | "warning" | "info";
38
- time: number;
39
- strokeWidth: number;
40
38
  percentage: number | number[];
41
39
  isAnimation: boolean;
40
+ time: number;
42
41
  indicatorPlacement: "inside" | "outside";
43
42
  showIndicator: boolean;
43
+ strokeWidth: number;
44
44
  unit: string;
45
45
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
46
46
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -14,7 +14,8 @@ type __VLS_Props = {
14
14
  steps: StepItem[];
15
15
  current?: number;
16
16
  direction?: "horizontal" | "vertical";
17
- clickable?: boolean;
17
+ clickable?: boolean; /** 水平模式下线条是否与图标紧密相连,默认 false(两端留有对称间距)*/
18
+ connected?: boolean;
18
19
  };
19
20
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
20
21
  change: (args_0: number) => any;
@@ -25,6 +26,7 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
25
26
  }>, {
26
27
  clickable: boolean;
27
28
  direction: "horizontal" | "vertical";
29
+ connected: boolean;
28
30
  current: number;
29
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
30
32
  declare const _default: typeof __VLS_export;
@@ -92,8 +92,8 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
92
92
  }>, {
93
93
  reverse: boolean;
94
94
  items: TimelineItem[];
95
- size: "small" | "medium" | "large";
96
95
  mode: "vertical" | "horizontal";
96
+ size: "small" | "medium" | "large";
97
97
  labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  pendingText: string;
@@ -61,11 +61,11 @@ type __VLS_Props = {
61
61
  size?: TransferProps['size'];
62
62
  };
63
63
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
- change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
65
64
  "update:modelValue": (value: (string | number)[]) => any;
65
+ change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
- onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
68
67
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
+ onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
70
  size: "small" | "medium" | "large";
71
71
  filterable: boolean;
@@ -649,10 +649,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
649
649
  }>, {
650
650
  height: string | number;
651
651
  data: GanttTask[];
652
- showToolbar: boolean;
653
652
  theme: "light" | "dark";
654
653
  title: string;
655
654
  options: GanttOptions;
655
+ showToolbar: boolean;
656
656
  preset: GanttPreset;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -18,26 +18,26 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
18
18
  reset: () => void;
19
19
  show: () => void;
20
20
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
21
+ change: (valid: boolean) => any;
21
22
  success: (data: {
22
23
  token: string;
23
24
  timestamp: number;
24
25
  }) => any;
25
26
  fail: (error: string) => any;
26
- change: (valid: boolean) => any;
27
27
  reset: () => any;
28
28
  }, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
29
+ onChange?: ((valid: boolean) => any) | undefined;
29
30
  onSuccess?: ((data: {
30
31
  token: string;
31
32
  timestamp: number;
32
33
  }) => any) | undefined;
33
34
  onFail?: ((error: string) => any) | undefined;
34
- onChange?: ((valid: boolean) => any) | undefined;
35
35
  onReset?: (() => any) | undefined;
36
36
  }>, {
37
- theme: "light" | "dark";
38
37
  triggerText: string;
39
38
  images: string[];
40
39
  disabled: boolean;
40
+ theme: "light" | "dark";
41
41
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
42
42
  declare const _default: typeof __VLS_export;
43
43
  //#endregion
@@ -17,11 +17,11 @@ type __VLS_Props = {
17
17
  modelValue?: CascadeValue;
18
18
  };
19
19
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
20
- change: (value: CascadeValue) => any;
21
20
  "update:modelValue": (value: CascadeValue) => any;
21
+ change: (value: CascadeValue) => any;
22
22
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
23
- onChange?: ((value: CascadeValue) => any) | undefined;
24
23
  "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
24
+ onChange?: ((value: CascadeValue) => any) | undefined;
25
25
  }>, {
26
26
  placeholders: string[];
27
27
  }, {}, {}, {}, 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;
89
90
  send: (content: string) => any;
90
91
  "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;
98
99
  onSend?: ((content: string) => any) | undefined;
99
100
  "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;
108
+ title: string;
109
+ messages: ChatMessage[];
109
110
  showContacts: boolean;
110
111
  showTimestamp: boolean;
111
112
  showSendBtn: boolean;
112
113
  loadingHistory: boolean;
113
114
  contacts: ChatContact[];
114
- messages: ChatMessage[];
115
115
  currentContactId: string;
116
116
  selfAvatar: string;
117
117
  selfName: string;
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
14
14
  trigger?: (props: typeof __VLS_9) => any;
15
15
  };
16
16
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
17
- change: (value: string) => any;
18
17
  "update:modelValue": (value: string) => any;
18
+ change: (value: string) => any;
19
19
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
20
- onChange?: ((value: string) => any) | undefined;
21
20
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
+ onChange?: ((value: string) => any) | undefined;
22
22
  }>, {
23
23
  placeholder: string;
24
24
  showLetters: boolean;