@robot-admin/naive-ui-components 0.24.3 → 0.24.5

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 +13 -0
  2. package/README.md +4 -2
  3. package/README_EN.md +4 -2
  4. package/dist/C_FormModal.css +273 -45
  5. package/dist/C_FormModal2.cjs +1 -1
  6. package/dist/C_FormModal2.js +1 -1
  7. package/dist/constants.d.cts +1 -1
  8. package/dist/constants.d.ts +1 -1
  9. package/dist/constants2.d.cts +5 -5
  10. package/dist/constants2.d.ts +5 -5
  11. package/dist/constants3.d.cts +5 -5
  12. package/dist/constants3.d.ts +5 -5
  13. package/dist/data2.cjs +1 -1
  14. package/dist/data2.d.cts +9 -9
  15. package/dist/data2.d.ts +9 -9
  16. package/dist/data2.js +1 -1
  17. package/dist/helpers.cjs +1 -1
  18. package/dist/helpers.js +1 -1
  19. package/dist/index.vue.d.cts +5 -5
  20. package/dist/index.vue.d.ts +5 -5
  21. package/dist/index10.vue.d.cts +1 -1
  22. package/dist/index10.vue.d.ts +6 -6
  23. package/dist/index11.vue.d.cts +6 -6
  24. package/dist/index13.vue.d.ts +4 -4
  25. package/dist/index14.vue.d.cts +4 -4
  26. package/dist/index15.vue.d.ts +4 -4
  27. package/dist/index16.vue.d.cts +4 -4
  28. package/dist/index17.vue.d.ts +5 -5
  29. package/dist/index18.vue.d.cts +5 -5
  30. package/dist/index18.vue.d.ts +1 -1
  31. package/dist/index19.vue.d.cts +1 -1
  32. package/dist/index19.vue.d.ts +1 -1
  33. package/dist/index2.vue.d.cts +2 -2
  34. package/dist/index2.vue.d.ts +2 -2
  35. package/dist/index20.vue.d.cts +1 -1
  36. package/dist/index22.vue.d.ts +2 -2
  37. package/dist/index23.vue.d.cts +2 -2
  38. package/dist/index24.vue.d.cts +1 -1
  39. package/dist/index24.vue.d.ts +1 -1
  40. package/dist/index25.vue.d.cts +1 -1
  41. package/dist/index25.vue.d.ts +1 -1
  42. package/dist/index26.vue.d.cts +5 -5
  43. package/dist/index26.vue.d.ts +5 -5
  44. package/dist/index28.vue.d.cts +2 -2
  45. package/dist/index28.vue.d.ts +2 -2
  46. package/dist/index29.vue.d.cts +3 -3
  47. package/dist/index29.vue.d.ts +3 -3
  48. package/dist/index3.vue.d.cts +3 -3
  49. package/dist/index3.vue.d.ts +3 -3
  50. package/dist/index7.vue.d.ts +2 -2
  51. package/dist/index8.vue.d.cts +2 -2
  52. package/dist/index9.vue.d.ts +1 -1
  53. package/dist/mapUtils.d.cts +1 -1
  54. package/dist/mapUtils.d.ts +1 -1
  55. package/dist/style.css +3 -56
  56. package/dist/useCalendarEvents.d.cts +1 -1
  57. package/dist/useCalendarEvents.d.ts +1 -1
  58. package/dist/useCollapsePanel.d.cts +4 -4
  59. package/dist/useCollapsePanel.d.ts +4 -4
  60. package/dist/useCropperCore.d.cts +9 -9
  61. package/dist/useCropperCore.d.ts +9 -9
  62. package/dist/useDynamicFormState.d.cts +10 -10
  63. package/dist/useDynamicFormState.d.ts +10 -10
  64. package/dist/useEdgeInteraction.d.cts +3 -3
  65. package/dist/useEdgeInteraction.d.ts +3 -3
  66. package/dist/useFullscreen.d.cts +2 -2
  67. package/dist/useFullscreen.d.ts +2 -2
  68. package/dist/useInfiniteScroll.d.cts +3 -3
  69. package/dist/useInfiniteScroll.d.ts +3 -3
  70. package/dist/useQRCode.d.cts +2 -2
  71. package/dist/useQRCode.d.ts +2 -2
  72. package/dist/useSignatureHistory.d.cts +2 -2
  73. package/dist/useSignatureHistory.d.ts +2 -2
  74. package/dist/useSplitResize.d.cts +11 -11
  75. package/dist/useSplitResize.d.ts +11 -11
  76. package/dist/useWorkflowValidation.d.cts +99 -99
  77. package/dist/useWorkflowValidation.d.ts +99 -99
  78. package/dist/verification.d.cts +3 -3
  79. package/dist/verification.d.ts +3 -3
  80. package/docs/guides/form-density.en.md +2 -0
  81. package/docs/guides/form-density.md +2 -0
  82. package/docs/stability-review-20261031.md +15 -15
  83. package/package.json +1 -1
@@ -41,15 +41,15 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
41
41
  type: "iconify" | "unocss" | "component" | "svg" | "image";
42
42
  size: number | string;
43
43
  color: string;
44
- svgPath: string;
44
+ title: string;
45
45
  viewBox: string;
46
- alt: string;
47
46
  clickable: boolean;
47
+ ariaLabel: string;
48
+ svgPath: string;
49
+ alt: string;
48
50
  loading: boolean;
49
51
  fallbackIcon: string;
50
52
  loadTimeout: number;
51
- title: string;
52
- ariaLabel: string;
53
53
  customClass: string;
54
54
  rotate: number;
55
55
  flip: "horizontal" | "vertical" | "both";
@@ -41,15 +41,15 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
41
41
  type: "iconify" | "unocss" | "component" | "svg" | "image";
42
42
  size: number | string;
43
43
  color: string;
44
- svgPath: string;
44
+ title: string;
45
45
  viewBox: string;
46
- alt: string;
47
46
  clickable: boolean;
47
+ ariaLabel: string;
48
+ svgPath: string;
49
+ alt: string;
48
50
  loading: boolean;
49
51
  fallbackIcon: string;
50
52
  loadTimeout: number;
51
- title: string;
52
- ariaLabel: string;
53
53
  customClass: string;
54
54
  rotate: number;
55
55
  flip: "horizontal" | "vertical" | "both";
@@ -97,28 +97,28 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
97
97
  resetCompleted: () => void;
98
98
  isCompleted: () => boolean;
99
99
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
100
- error: (error: unknown) => any;
101
- close: (currentStep: number) => any;
102
100
  start: () => any;
101
+ close: (currentStep: number) => any;
102
+ error: (error: unknown) => any;
103
103
  complete: () => any;
104
104
  skip: (currentStep: number) => any;
105
105
  "step-change": (stepIndex: number, step: GuideStep) => any;
106
106
  }, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
107
- onError?: ((error: unknown) => any) | undefined;
108
- onClose?: ((currentStep: number) => any) | undefined;
109
107
  onStart?: (() => any) | undefined;
108
+ onClose?: ((currentStep: number) => any) | undefined;
109
+ onError?: ((error: unknown) => any) | undefined;
110
110
  onComplete?: (() => any) | undefined;
111
111
  onSkip?: ((currentStep: number) => any) | undefined;
112
112
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
113
113
  }>, {
114
114
  steps: GuideStep[];
115
- keyboard: boolean;
116
115
  doneBtnText: string;
117
116
  nextBtnText: string;
118
117
  prevBtnText: string;
119
118
  showSkipButton: boolean;
120
119
  skipBtnText: string;
121
120
  showProgress: boolean;
121
+ keyboard: boolean;
122
122
  animate: boolean;
123
123
  allowClose: boolean;
124
124
  skipMissingElements: boolean;
@@ -97,28 +97,28 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
97
97
  resetCompleted: () => void;
98
98
  isCompleted: () => boolean;
99
99
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
100
- error: (error: unknown) => any;
101
- close: (currentStep: number) => any;
102
100
  start: () => any;
101
+ close: (currentStep: number) => any;
102
+ error: (error: unknown) => any;
103
103
  complete: () => any;
104
104
  skip: (currentStep: number) => any;
105
105
  "step-change": (stepIndex: number, step: GuideStep) => any;
106
106
  }, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
107
- onError?: ((error: unknown) => any) | undefined;
108
- onClose?: ((currentStep: number) => any) | undefined;
109
107
  onStart?: (() => any) | undefined;
108
+ onClose?: ((currentStep: number) => any) | undefined;
109
+ onError?: ((error: unknown) => any) | undefined;
110
110
  onComplete?: (() => any) | undefined;
111
111
  onSkip?: ((currentStep: number) => any) | undefined;
112
112
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
113
113
  }>, {
114
114
  steps: GuideStep[];
115
- keyboard: boolean;
116
115
  doneBtnText: string;
117
116
  nextBtnText: string;
118
117
  prevBtnText: string;
119
118
  showSkipButton: boolean;
120
119
  skipBtnText: string;
121
120
  showProgress: boolean;
121
+ keyboard: boolean;
122
122
  animate: boolean;
123
123
  allowClose: boolean;
124
124
  skipMissingElements: boolean;
@@ -34,13 +34,13 @@ 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
- strokeWidth: number;
38
37
  percentage: number | number[];
39
38
  isAnimation: boolean;
40
39
  time: number;
41
40
  indicatorPlacement: "inside" | "outside";
42
41
  showIndicator: boolean;
43
42
  status: "default" | "success" | "error" | "warning" | "info";
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>;
@@ -34,13 +34,13 @@ 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
- strokeWidth: number;
38
37
  percentage: number | number[];
39
38
  isAnimation: boolean;
40
39
  time: number;
41
40
  indicatorPlacement: "inside" | "outside";
42
41
  showIndicator: boolean;
43
42
  status: "default" | "success" | "error" | "warning" | "info";
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>;
@@ -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
+ current: number;
38
39
  direction: "horizontal" | "vertical";
39
40
  clickable: boolean;
40
41
  connected: boolean;
41
- current: number;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -72,10 +72,10 @@ 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
- direction: "ltr" | "rtl";
76
75
  size: number;
77
- clickable: boolean;
78
76
  max: number;
77
+ direction: "ltr" | "rtl";
78
+ clickable: boolean;
79
79
  overlap: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
@@ -72,10 +72,10 @@ 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
- direction: "ltr" | "rtl";
76
75
  size: number;
77
- clickable: boolean;
78
76
  max: number;
77
+ direction: "ltr" | "rtl";
78
+ clickable: boolean;
79
79
  overlap: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
@@ -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
+ current: number;
38
39
  direction: "horizontal" | "vertical";
39
40
  clickable: boolean;
40
41
  connected: boolean;
41
- current: number;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#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
- height: string | number;
66
65
  disabled: boolean;
67
- placeholder: string;
68
66
  mode: "edit" | "editable" | "preview";
67
+ placeholder: string;
68
+ height: string | number;
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
- height: string | number;
66
65
  disabled: boolean;
67
- placeholder: string;
68
66
  mode: "edit" | "editable" | "preview";
67
+ placeholder: string;
68
+ height: string | number;
69
69
  tocNavPosition: "left" | "right";
70
70
  defaultFullscreen: boolean;
71
71
  autofocus: boolean;
@@ -85,10 +85,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
85
85
  onClose?: ((fallbackPath: string) => any) | undefined;
86
86
  onCloseAll?: (() => any) | undefined;
87
87
  }>, {
88
+ persistKey: string;
88
89
  homePath: string;
89
90
  homeTitle: string;
90
91
  homeIcon: string;
91
- persistKey: string;
92
92
  contextMenuLabels: LegacyContextMenuLabels;
93
93
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
94
  declare const _default: typeof __VLS_export;
@@ -85,10 +85,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
85
85
  onClose?: ((fallbackPath: string) => any) | undefined;
86
86
  onCloseAll?: (() => any) | undefined;
87
87
  }>, {
88
+ persistKey: string;
88
89
  homePath: string;
89
90
  homeTitle: string;
90
91
  homeIcon: string;
91
- persistKey: string;
92
92
  contextMenuLabels: LegacyContextMenuLabels;
93
93
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
94
  declare const _default: typeof __VLS_export;
@@ -116,8 +116,8 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
116
116
  "onCaptcha-visible-change"?: ((visible: boolean) => any) | undefined;
117
117
  "onUsername-change"?: ((username: string) => any) | undefined;
118
118
  }>, {
119
- loading: boolean;
120
119
  title: string;
120
+ loading: boolean;
121
121
  storageKey: string;
122
122
  defaultUsername: string;
123
123
  defaultPassword: string;
@@ -116,8 +116,8 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
116
116
  "onCaptcha-visible-change"?: ((visible: boolean) => any) | undefined;
117
117
  "onUsername-change"?: ((username: string) => any) | undefined;
118
118
  }>, {
119
- loading: boolean;
120
119
  title: string;
120
+ loading: boolean;
121
121
  storageKey: string;
122
122
  defaultUsername: string;
123
123
  defaultPassword: string;
@@ -84,18 +84,18 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- "item-click": (item: TimelineItem, index: number) => any;
88
87
  expand: (item: TimelineItem, expanded: boolean) => any;
88
+ "item-click": (item: TimelineItem, index: number) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
+ "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
+ items: TimelineItem[];
94
+ size: "small" | "medium" | "large";
93
95
  reverse: boolean;
94
96
  mode: "vertical" | "horizontal";
95
- size: "small" | "medium" | "large";
96
- labelPlacement: "left" | "right" | "alternate";
97
- items: TimelineItem[];
98
97
  pending: boolean;
98
+ labelPlacement: "left" | "right" | "alternate";
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
101
101
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -84,18 +84,18 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- "item-click": (item: TimelineItem, index: number) => any;
88
87
  expand: (item: TimelineItem, expanded: boolean) => any;
88
+ "item-click": (item: TimelineItem, index: number) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
+ "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
+ items: TimelineItem[];
94
+ size: "small" | "medium" | "large";
93
95
  reverse: boolean;
94
96
  mode: "vertical" | "horizontal";
95
- size: "small" | "medium" | "large";
96
- labelPlacement: "left" | "right" | "alternate";
97
- items: TimelineItem[];
98
97
  pending: boolean;
98
+ labelPlacement: "left" | "right" | "alternate";
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
101
101
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -87,10 +87,10 @@ 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
  repeat: number;
90
- animation: SkeletonAnimation;
91
90
  loading: boolean;
92
- preset: SkeletonPreset;
91
+ animation: SkeletonAnimation;
93
92
  borderRadius: string;
93
+ preset: SkeletonPreset;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
96
96
  declare const _default: typeof __VLS_export;
@@ -87,10 +87,10 @@ 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
  repeat: number;
90
- animation: SkeletonAnimation;
91
90
  loading: boolean;
92
- preset: SkeletonPreset;
91
+ animation: SkeletonAnimation;
93
92
  borderRadius: string;
93
+ preset: SkeletonPreset;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
96
96
  declare const _default: typeof __VLS_export;
@@ -80,10 +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
- lineStyle: OrgChartLineStyle;
85
83
  lineColor: string;
86
84
  lineWidth: number;
85
+ direction: OrgChartDirection;
86
+ collapsible: boolean;
87
+ lineStyle: OrgChartLineStyle;
87
88
  nodeSpacing: number;
88
89
  levelSpacing: number;
89
90
  zoomable: boolean;
@@ -92,7 +93,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
92
93
  fitOnInit: boolean;
93
94
  minZoom: number;
94
95
  maxZoom: number;
95
- collapsible: boolean;
96
96
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
97
97
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
98
98
  declare const _default: typeof __VLS_export;
@@ -80,10 +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
- lineStyle: OrgChartLineStyle;
85
83
  lineColor: string;
86
84
  lineWidth: number;
85
+ direction: OrgChartDirection;
86
+ collapsible: boolean;
87
+ lineStyle: OrgChartLineStyle;
87
88
  nodeSpacing: number;
88
89
  levelSpacing: number;
89
90
  zoomable: boolean;
@@ -92,7 +93,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
92
93
  fitOnInit: boolean;
93
94
  minZoom: number;
94
95
  maxZoom: number;
95
- collapsible: boolean;
96
96
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
97
97
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
98
98
  declare const _default: typeof __VLS_export;
@@ -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;
23
+ fontSize: number;
24
24
  label: string;
25
25
  width: number;
26
26
  lineColor: string;
27
- fontSize: number;
27
+ height: number;
28
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
29
  showBorder: boolean;
29
30
  showLabel: boolean;
30
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
33
33
  background: string;
@@ -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;
23
+ fontSize: number;
24
24
  label: string;
25
25
  width: number;
26
26
  lineColor: string;
27
- fontSize: number;
27
+ height: number;
28
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
29
  showBorder: boolean;
29
30
  showLabel: boolean;
30
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
33
33
  background: string;
@@ -88,18 +88,18 @@ type __VLS_Slots = {} & {
88
88
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
89
89
  scrollToBottom: () => void;
90
90
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
91
- "load-more": () => any;
92
91
  send: (content: string) => any;
93
92
  "select-contact": (id: string) => any;
93
+ "load-more": () => any;
94
94
  "image-preview": (url: string) => any;
95
95
  "file-click": (msg: ChatMessage) => any;
96
96
  "file-upload": () => any;
97
97
  "emoji-click": () => any;
98
98
  resend: (msg: ChatMessage) => any;
99
99
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
100
- "onLoad-more"?: (() => any) | undefined;
101
100
  onSend?: ((content: string) => any) | undefined;
102
101
  "onSelect-contact"?: ((id: string) => any) | undefined;
102
+ "onLoad-more"?: (() => any) | undefined;
103
103
  "onImage-preview"?: ((url: string) => any) | undefined;
104
104
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
105
105
  "onFile-upload"?: (() => any) | undefined;
@@ -88,18 +88,18 @@ type __VLS_Slots = {} & {
88
88
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
89
89
  scrollToBottom: () => void;
90
90
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
91
- "load-more": () => any;
92
91
  send: (content: string) => any;
93
92
  "select-contact": (id: string) => any;
93
+ "load-more": () => any;
94
94
  "image-preview": (url: string) => any;
95
95
  "file-click": (msg: ChatMessage) => any;
96
96
  "file-upload": () => any;
97
97
  "emoji-click": () => any;
98
98
  resend: (msg: ChatMessage) => any;
99
99
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
100
- "onLoad-more"?: (() => any) | undefined;
101
100
  onSend?: ((content: string) => any) | undefined;
102
101
  "onSelect-contact"?: ((id: string) => any) | undefined;
102
+ "onLoad-more"?: (() => any) | undefined;
103
103
  "onImage-preview"?: ((url: string) => any) | undefined;
104
104
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
105
105
  "onFile-upload"?: (() => any) | undefined;
@@ -32,9 +32,9 @@ declare const __VLS_export: vue.DefineComponent<Props, {
32
32
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
33
33
  }>, {
34
34
  trim: boolean;
35
+ showHeader: boolean;
35
36
  code: string;
36
37
  language: string;
37
- showHeader: boolean;
38
38
  showLineNumbers: boolean;
39
39
  wordWrap: boolean;
40
40
  showFullscreen: boolean;
@@ -91,9 +91,9 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
91
91
  onReady?: ((map: MapInstance) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
- height: string;
95
94
  center: MapCoordinate;
96
95
  ariaLabel: string;
96
+ height: string;
97
97
  zoom: number;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
@@ -91,9 +91,9 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
91
91
  onReady?: ((map: MapInstance) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
- height: string;
95
94
  center: MapCoordinate;
96
95
  ariaLabel: string;
96
+ height: string;
97
97
  zoom: number;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
package/dist/style.css CHANGED
@@ -7219,64 +7219,11 @@ to {
7219
7219
 
7220
7220
 
7221
7221
  /* --- C_FormModal --- */
7222
- /*
7223
- * @Author: ChenYu ycyplus@gmail.com
7224
- * @Date: 2026-09-13
7225
- * @FilePath: \naive-ui-components\src\components\C_FormModal\index.scss
7226
- * @Description: 紧凑型数据驱动表单弹窗样式
7227
- * Copyright (c) 2026 by CHENY, All Rights Reserved 😎.
7228
- */
7229
- .c-form-modal[data-v-66511257] {
7230
- overflow: hidden;
7231
- border-radius: 10px;
7232
- }
7233
- .c-form-modal[data-v-66511257] .n-card-header {
7234
- min-height: 46px;
7235
- padding: 12px 16px;
7236
- border-bottom: 1px solid var(--n-border-color);
7237
- }
7238
- .c-form-modal[data-v-66511257] .n-card-header__main {
7239
- font-size: 15px;
7240
- font-weight: 650;
7241
- }
7242
- .c-form-modal[data-v-66511257] :is(.n-card-content, .n-card__content) {
7243
- padding: 14px 16px 8px;
7244
- }
7245
- .c-form-modal[data-v-66511257] .n-form-item {
7246
- margin-bottom: 2px;
7247
- }
7248
- .c-form-modal[data-v-66511257] .n-card__action {
7249
- display: flex;
7250
- justify-content: flex-end;
7251
- padding: 10px 16px;
7252
- background: color-mix(in srgb, var(--n-color-modal) 94%, var(--n-border-color));
7253
- border-top: 1px solid var(--n-border-color);
7254
- }
7255
- @media (max-width: 640px) {
7256
- .c-form-modal[data-v-66511257] :is(.n-card-content, .n-card__content) {
7257
- padding-inline: 12px;
7258
- }
7259
- .c-form-modal[data-v-66511257] .n-card__action {
7260
- padding-inline: 12px;
7261
- }
7262
- }
7263
- .c-form-modal--compact[data-v-66511257] .n-form-item {
7264
- margin-bottom: 0;
7265
- }
7266
- .c-form-modal--compact[data-v-66511257] .n-card-header {
7267
- min-height: 40px;
7268
- padding: 8px 12px;
7269
- }
7270
- .c-form-modal--compact[data-v-66511257] :is(.n-card-content, .n-card__content) {
7271
- padding: 10px 12px 8px;
7272
- }
7273
- .c-form-modal--compact[data-v-66511257] .n-card__action {
7274
- padding: 8px 12px;
7275
- }
7276
7222
 
7277
7223
  /* layer: default */
7278
- .visible[data-v-66511257]{visibility:visible;}
7279
- .px[data-v-66511257]{padding-left:1rem;padding-right:1rem;}
7224
+ .visible[data-v-25307ec4]{visibility:visible;}
7225
+ .hidden[data-v-25307ec4]{display:none;}
7226
+ .px[data-v-25307ec4]{padding-left:1rem;padding-right:1rem;}
7280
7227
 
7281
7228
 
7282
7229
  /* --- C_FormSearch --- */
@@ -72,8 +72,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
72
72
  }) => any) | undefined;
73
73
  "onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
74
74
  }>, {
75
- editable: boolean;
76
75
  initialView: CalendarViewType;
76
+ editable: boolean;
77
77
  events: CalendarEvent[];
78
78
  showAddDialog: boolean;
79
79
  showEditDialog: boolean;
@@ -72,8 +72,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
72
72
  }) => any) | undefined;
73
73
  "onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
74
74
  }>, {
75
- editable: boolean;
76
75
  initialView: CalendarViewType;
76
+ editable: boolean;
77
77
  events: CalendarEvent[];
78
78
  showAddDialog: boolean;
79
79
  showEditDialog: boolean;
@@ -71,22 +71,22 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
71
71
  type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
72
72
  declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
73
73
  change: (activeKeys: string[]) => any;
74
+ collapse: (key: string) => any;
74
75
  expand: (key: string) => any;
75
76
  "update:activeKeys": (keys: string[]) => any;
76
- collapse: (key: string) => any;
77
77
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
78
78
  onChange?: ((activeKeys: string[]) => any) | undefined;
79
+ onCollapse?: ((key: string) => any) | undefined;
79
80
  onExpand?: ((key: string) => any) | undefined;
80
81
  "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
81
- onCollapse?: ((key: string) => any) | undefined;
82
82
  }>, {
83
- bordered: boolean;
84
- persistKey: string;
85
83
  activeKeys: string[];
86
84
  defaultActiveKeys: string[];
87
85
  accordion: boolean;
88
86
  variant: CollapsePanelVariant;
89
87
  expandIconPosition: ExpandIconPosition;
88
+ bordered: boolean;
89
+ persistKey: string;
90
90
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
91
91
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
92
92
  declare const _default: typeof __VLS_export;