@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
package/dist/style.css CHANGED
@@ -2797,17 +2797,17 @@ html.dark .action-divider[data-v-9dc5812b]:hover {
2797
2797
 
2798
2798
 
2799
2799
  /* --- C_Captcha --- */
2800
- /* unplugin-vue-components disabled */.c-captcha-modern[data-v-3b02fca0] {
2800
+ /* unplugin-vue-components disabled */.c-captcha-modern[data-v-29edd4c3] {
2801
2801
  width: 100%;
2802
2802
  font-family: inherit;
2803
2803
  }
2804
- .captcha-shell[data-v-3b02fca0] {
2804
+ .captcha-shell[data-v-29edd4c3] {
2805
2805
  position: relative;
2806
2806
  width: 100%;
2807
2807
  max-width: 280px;
2808
2808
  margin: 0 auto;
2809
2809
  }
2810
- .captcha-trigger[data-v-3b02fca0] {
2810
+ .captcha-trigger[data-v-29edd4c3] {
2811
2811
  appearance: none;
2812
2812
  border: 0;
2813
2813
  background: transparent;
@@ -2823,26 +2823,26 @@ html.dark .action-divider[data-v-9dc5812b]:hover {
2823
2823
  position: relative;
2824
2824
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
2825
2825
  }
2826
- .captcha-trigger[data-v-3b02fca0]:hover:not(.disabled) {
2826
+ .captcha-trigger[data-v-29edd4c3]:hover:not(.disabled) {
2827
2827
  transform: translateY(-1px);
2828
2828
  }
2829
- .captcha-trigger.disabled[data-v-3b02fca0] {
2829
+ .captcha-trigger.disabled[data-v-29edd4c3] {
2830
2830
  opacity: 0.5;
2831
2831
  cursor: not-allowed;
2832
2832
  }
2833
- .captcha-trigger[data-v-3b02fca0]:focus-visible,
2834
- .refresh-button[data-v-3b02fca0]:focus-visible {
2833
+ .captcha-trigger[data-v-29edd4c3]:focus-visible,
2834
+ .refresh-button[data-v-29edd4c3]:focus-visible {
2835
2835
  outline: 2px solid var(--n-color-target, #18a058);
2836
2836
  outline-offset: 2px;
2837
2837
  }
2838
- .captcha-content[data-v-3b02fca0] {
2838
+ .captcha-content[data-v-29edd4c3] {
2839
2839
  display: flex;
2840
2840
  align-items: center;
2841
2841
  justify-content: center;
2842
2842
  gap: 8px;
2843
2843
  flex: 1;
2844
2844
  }
2845
- .captcha-icon[data-v-3b02fca0] {
2845
+ .captcha-icon[data-v-29edd4c3] {
2846
2846
  font-size: 18px;
2847
2847
  width: 20px;
2848
2848
  height: 20px;
@@ -2851,7 +2851,7 @@ html.dark .action-divider[data-v-9dc5812b]:hover {
2851
2851
  justify-content: center;
2852
2852
  flex-shrink: 0;
2853
2853
  }
2854
- .captcha-text[data-v-3b02fca0] {
2854
+ .captcha-text[data-v-29edd4c3] {
2855
2855
  color: rgba(255, 255, 255, 0.8);
2856
2856
  font-size: 14px;
2857
2857
  font-weight: 500;
@@ -2859,7 +2859,7 @@ html.dark .action-divider[data-v-9dc5812b]:hover {
2859
2859
  text-align: center;
2860
2860
  white-space: nowrap;
2861
2861
  }
2862
- .refresh-button[data-v-3b02fca0] {
2862
+ .refresh-button[data-v-29edd4c3] {
2863
2863
  appearance: none;
2864
2864
  border: 0;
2865
2865
  background: transparent;
@@ -2878,25 +2878,25 @@ html.dark .action-divider[data-v-9dc5812b]:hover {
2878
2878
  font-size: 14px;
2879
2879
  flex-shrink: 0;
2880
2880
  }
2881
- .c-captcha-modern[data-theme=light] .captcha-text[data-v-3b02fca0] {
2881
+ .c-captcha-modern[data-theme=light] .captcha-text[data-v-29edd4c3] {
2882
2882
  color: rgba(0, 0, 0, 0.72);
2883
2883
  }
2884
- .c-captcha-modern[data-theme=light] .refresh-button[data-v-3b02fca0] {
2884
+ .c-captcha-modern[data-theme=light] .refresh-button[data-v-29edd4c3] {
2885
2885
  color: rgba(0, 0, 0, 0.52);
2886
2886
  }
2887
- .refresh-button[data-v-3b02fca0]:hover {
2887
+ .refresh-button[data-v-29edd4c3]:hover {
2888
2888
  color: rgba(255, 255, 255, 0.9);
2889
2889
  transform: translateY(-50%) rotate(180deg);
2890
2890
  }
2891
- .success-icon[data-v-3b02fca0],
2892
- .success-text[data-v-3b02fca0] {
2891
+ .success-icon[data-v-29edd4c3],
2892
+ .success-text[data-v-29edd4c3] {
2893
2893
  color: #43c23a;
2894
2894
  }
2895
- .error-icon[data-v-3b02fca0],
2896
- .error-text[data-v-3b02fca0] {
2895
+ .error-icon[data-v-29edd4c3],
2896
+ .error-text[data-v-29edd4c3] {
2897
2897
  color: #f56c6c;
2898
2898
  }
2899
- @keyframes shake-3b02fca0 {
2899
+ @keyframes shake-29edd4c3 {
2900
2900
  0%, 100% {
2901
2901
  transform: translateX(0);
2902
2902
  }
@@ -2908,21 +2908,21 @@ html.dark .action-divider[data-v-9dc5812b]:hover {
2908
2908
  }
2909
2909
  }
2910
2910
  @media (max-width: 768px) {
2911
- .captcha-trigger[data-v-3b02fca0] {
2911
+ .captcha-trigger[data-v-29edd4c3] {
2912
2912
  padding: 10px 14px;
2913
2913
  }
2914
- .captcha-shell[data-v-3b02fca0] {
2914
+ .captcha-shell[data-v-29edd4c3] {
2915
2915
  max-width: 240px;
2916
2916
  }
2917
- .captcha-icon[data-v-3b02fca0] {
2917
+ .captcha-icon[data-v-29edd4c3] {
2918
2918
  font-size: 16px;
2919
2919
  width: 18px;
2920
2920
  height: 18px;
2921
2921
  }
2922
- .captcha-text[data-v-3b02fca0] {
2922
+ .captcha-text[data-v-29edd4c3] {
2923
2923
  font-size: 13px;
2924
2924
  }
2925
- .refresh-button[data-v-3b02fca0] {
2925
+ .refresh-button[data-v-29edd4c3] {
2926
2926
  width: 24px;
2927
2927
  height: 24px;
2928
2928
  font-size: 12px;
@@ -66,9 +66,9 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
66
66
  }) => any) | undefined;
67
67
  "onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
68
68
  }>, {
69
+ editable: boolean;
69
70
  events: CalendarEvent[];
70
71
  initialView: CalendarViewType;
71
- editable: boolean;
72
72
  showAddDialog: boolean;
73
73
  showEditDialog: boolean;
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -66,9 +66,9 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
66
66
  }) => any) | undefined;
67
67
  "onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
68
68
  }>, {
69
+ editable: boolean;
69
70
  events: CalendarEvent[];
70
71
  initialView: CalendarViewType;
71
- editable: boolean;
72
72
  showAddDialog: boolean;
73
73
  showEditDialog: boolean;
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -71,14 +71,14 @@ 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
- "update:activeKeys": (keys: string[]) => any;
75
- expand: (key: string) => any;
76
74
  collapse: (key: string) => any;
75
+ expand: (key: string) => any;
76
+ "update:activeKeys": (keys: string[]) => any;
77
77
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
78
78
  onChange?: ((activeKeys: string[]) => any) | undefined;
79
- "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
80
- onExpand?: ((key: string) => any) | undefined;
81
79
  onCollapse?: ((key: string) => any) | undefined;
80
+ onExpand?: ((key: string) => any) | undefined;
81
+ "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
82
82
  }>, {
83
83
  bordered: boolean;
84
84
  persistKey: string;
@@ -71,14 +71,14 @@ 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
- "update:activeKeys": (keys: string[]) => any;
75
- expand: (key: string) => any;
76
74
  collapse: (key: string) => any;
75
+ expand: (key: string) => any;
76
+ "update:activeKeys": (keys: string[]) => any;
77
77
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
78
78
  onChange?: ((activeKeys: string[]) => any) | undefined;
79
- "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
80
- onExpand?: ((key: string) => any) | undefined;
81
79
  onCollapse?: ((key: string) => any) | undefined;
80
+ onExpand?: ((key: string) => any) | undefined;
81
+ "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
82
82
  }>, {
83
83
  bordered: boolean;
84
84
  persistKey: string;
@@ -51,21 +51,21 @@ interface ImageCropperEmits {
51
51
  //#endregion
52
52
  //#region src/components/C_ImageCropper/index.vue.d.ts
53
53
  declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
54
- cancel: () => any;
54
+ ready: () => any;
55
55
  error: (error: Event) => any;
56
56
  crop: (result: any) => any;
57
- ready: () => any;
58
57
  confirm: (result: any) => any;
58
+ cancel: () => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
- onCancel?: (() => any) | undefined;
60
+ onReady?: (() => any) | undefined;
61
61
  onError?: ((error: Event) => any) | undefined;
62
62
  onCrop?: ((result: any) => any) | undefined;
63
- onReady?: (() => any) | undefined;
64
63
  onConfirm?: ((result: any) => any) | undefined;
64
+ onCancel?: (() => any) | undefined;
65
65
  }>, {
66
- disabled: boolean;
67
66
  height: string | number;
68
67
  showToolbar: boolean;
68
+ disabled: boolean;
69
69
  src: string;
70
70
  aspectRatio: number;
71
71
  outputFormat: CropOutputFormat;
@@ -51,21 +51,21 @@ interface ImageCropperEmits {
51
51
  //#endregion
52
52
  //#region src/components/C_ImageCropper/index.vue.d.ts
53
53
  declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
54
- cancel: () => any;
54
+ ready: () => any;
55
55
  error: (error: Event) => any;
56
56
  crop: (result: any) => any;
57
- ready: () => any;
58
57
  confirm: (result: any) => any;
58
+ cancel: () => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
- onCancel?: (() => any) | undefined;
60
+ onReady?: (() => any) | undefined;
61
61
  onError?: ((error: Event) => any) | undefined;
62
62
  onCrop?: ((result: any) => any) | undefined;
63
- onReady?: (() => any) | undefined;
64
63
  onConfirm?: ((result: any) => any) | undefined;
64
+ onCancel?: (() => any) | undefined;
65
65
  }>, {
66
- disabled: boolean;
67
66
  height: string | number;
68
67
  showToolbar: boolean;
68
+ disabled: boolean;
69
69
  src: string;
70
70
  aspectRatio: number;
71
71
  outputFormat: CropOutputFormat;
@@ -118,13 +118,11 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
118
118
  }>, {
119
119
  sort: boolean;
120
120
  modelValue: DraggableItem[];
121
- layout: LayoutMode;
121
+ direction: "vertical" | "horizontal";
122
122
  disabled: boolean;
123
123
  delay: number;
124
- direction: "vertical" | "horizontal";
125
- animation: number;
126
- gap: string | number;
127
124
  group: string | GroupOptions;
125
+ animation: number;
128
126
  handle: string;
129
127
  showHandle: boolean;
130
128
  ghostClass: string;
@@ -137,8 +135,10 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
137
135
  emptyText: string;
138
136
  swapThreshold: number;
139
137
  invertSwap: boolean;
138
+ layout: LayoutMode;
140
139
  gridColumns: number;
141
140
  gridRows: number;
141
+ gap: string | number;
142
142
  flexWrap: boolean;
143
143
  justifyContent: JustifyContent;
144
144
  alignItems: AlignItems;
@@ -118,13 +118,11 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
118
118
  }>, {
119
119
  sort: boolean;
120
120
  modelValue: DraggableItem[];
121
- layout: LayoutMode;
121
+ direction: "vertical" | "horizontal";
122
122
  disabled: boolean;
123
123
  delay: number;
124
- direction: "vertical" | "horizontal";
125
- animation: number;
126
- gap: string | number;
127
124
  group: string | GroupOptions;
125
+ animation: number;
128
126
  handle: string;
129
127
  showHandle: boolean;
130
128
  ghostClass: string;
@@ -137,8 +135,10 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
137
135
  emptyText: string;
138
136
  swapThreshold: number;
139
137
  invertSwap: boolean;
138
+ layout: LayoutMode;
140
139
  gridColumns: number;
141
140
  gridRows: number;
141
+ gap: string | number;
142
142
  flexWrap: boolean;
143
143
  justifyContent: JustifyContent;
144
144
  alignItems: AlignItems;
@@ -580,8 +580,8 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
580
580
  config?: FormConfig<T>; /** 当前表单实例的自定义渲染器,不污染全局注册表 */
581
581
  renderers?: Record<string, FormRenderer>;
582
582
  } & {
583
- onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
584
583
  "onUpdate:modelValue"?: ((model: T) => any) | undefined;
584
+ onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
585
585
  "onValidate-success"?: ((model: T) => any) | undefined;
586
586
  "onValidate-error"?: ((errors: unknown) => any) | undefined;
587
587
  }> & (typeof globalThis extends {
@@ -626,7 +626,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
626
626
  }>) => void;
627
627
  attrs: any;
628
628
  slots: FormSlots<T>;
629
- emit: ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "update:modelValue", model: T) => void) & ((evt: "validate-success", model: T) => void) & ((evt: "validate-error", errors: unknown) => void);
629
+ emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void) & ((evt: "validate-error", errors: unknown) => void);
630
630
  }>) => vue.VNode & {
631
631
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
632
632
  };
@@ -580,8 +580,8 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
580
580
  config?: FormConfig<T>; /** 当前表单实例的自定义渲染器,不污染全局注册表 */
581
581
  renderers?: Record<string, FormRenderer>;
582
582
  } & {
583
- onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
584
583
  "onUpdate:modelValue"?: ((model: T) => any) | undefined;
584
+ onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
585
585
  "onValidate-success"?: ((model: T) => any) | undefined;
586
586
  "onValidate-error"?: ((errors: unknown) => any) | undefined;
587
587
  }> & (typeof globalThis extends {
@@ -626,7 +626,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
626
626
  }>) => void;
627
627
  attrs: any;
628
628
  slots: FormSlots<T>;
629
- emit: ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "update:modelValue", model: T) => void) & ((evt: "validate-success", model: T) => void) & ((evt: "validate-error", errors: unknown) => void);
629
+ emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void) & ((evt: "validate-error", errors: unknown) => void);
630
630
  }>) => vue.VNode & {
631
631
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
632
632
  };
@@ -259,11 +259,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
259
259
  onReady?: ((graph: any) => any) | undefined;
260
260
  "onData-change"?: ((data: DiagramData) => any) | undefined;
261
261
  }>, {
262
- readonly: boolean;
263
- theme: "light" | "dark";
264
- width: string | number;
265
262
  height: string | number;
266
263
  showToolbar: boolean;
264
+ theme: "light" | "dark";
265
+ width: string | number;
266
+ readonly: boolean;
267
267
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
268
268
  declare const _default: typeof __VLS_export;
269
269
  //#endregion
@@ -259,11 +259,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
259
259
  onReady?: ((graph: any) => any) | undefined;
260
260
  "onData-change"?: ((data: DiagramData) => any) | undefined;
261
261
  }>, {
262
- readonly: boolean;
263
- theme: "light" | "dark";
264
- width: string | number;
265
262
  height: string | number;
266
263
  showToolbar: boolean;
264
+ theme: "light" | "dark";
265
+ width: string | number;
266
+ readonly: boolean;
267
267
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
268
268
  declare const _default: typeof __VLS_export;
269
269
  //#endregion
@@ -9,11 +9,11 @@ type __VLS_Props = {
9
9
  autoPreview?: boolean;
10
10
  };
11
11
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
12
- download: (file: string | File) => any;
13
12
  preview: (file: string | File) => any;
13
+ download: (file: string | File) => any;
14
14
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
15
- onDownload?: ((file: string | File) => any) | undefined;
16
15
  onPreview?: ((file: string | File) => any) | undefined;
16
+ onDownload?: ((file: string | File) => any) | undefined;
17
17
  }>, {
18
18
  fileName: string;
19
19
  autoPreview: boolean;
@@ -9,11 +9,11 @@ type __VLS_Props = {
9
9
  autoPreview?: boolean;
10
10
  };
11
11
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
12
- download: (file: string | File) => any;
13
12
  preview: (file: string | File) => any;
13
+ download: (file: string | File) => any;
14
14
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
15
- onDownload?: ((file: string | File) => any) | undefined;
16
15
  onPreview?: ((file: string | File) => any) | undefined;
16
+ onDownload?: ((file: string | File) => any) | undefined;
17
17
  }>, {
18
18
  fileName: string;
19
19
  autoPreview: boolean;
@@ -79,19 +79,19 @@ type __VLS_Slots = {} & {
79
79
  footer?: (props: typeof __VLS_5) => any;
80
80
  };
81
81
  declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
82
- "item-click": (item: WaterFallItem, index: number) => any;
83
82
  "load-more": () => any;
83
+ "item-click": (item: WaterFallItem, index: number) => any;
84
84
  "image-loaded": (item: WaterFallItem) => any;
85
85
  "image-error": (item: WaterFallItem) => any;
86
86
  }, string, vue.PublicProps, Readonly<WaterFallProps> & Readonly<{
87
- "onItem-click"?: ((item: WaterFallItem, index: number) => any) | undefined;
88
87
  "onLoad-more"?: (() => any) | undefined;
88
+ "onItem-click"?: ((item: WaterFallItem, index: number) => any) | undefined;
89
89
  "onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
90
90
  "onImage-error"?: ((item: WaterFallItem) => any) | undefined;
91
91
  }>, {
92
92
  loading: boolean;
93
- columns: number;
94
93
  gap: number;
94
+ columns: number;
95
95
  lazy: boolean;
96
96
  infinite: boolean;
97
97
  skeleton: boolean;
@@ -79,19 +79,19 @@ type __VLS_Slots = {} & {
79
79
  footer?: (props: typeof __VLS_5) => any;
80
80
  };
81
81
  declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
82
- "item-click": (item: WaterFallItem, index: number) => any;
83
82
  "load-more": () => any;
83
+ "item-click": (item: WaterFallItem, index: number) => any;
84
84
  "image-loaded": (item: WaterFallItem) => any;
85
85
  "image-error": (item: WaterFallItem) => any;
86
86
  }, string, vue.PublicProps, Readonly<WaterFallProps> & Readonly<{
87
- "onItem-click"?: ((item: WaterFallItem, index: number) => any) | undefined;
88
87
  "onLoad-more"?: (() => any) | undefined;
88
+ "onItem-click"?: ((item: WaterFallItem, index: number) => any) | undefined;
89
89
  "onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
90
90
  "onImage-error"?: ((item: WaterFallItem) => any) | undefined;
91
91
  }>, {
92
92
  loading: boolean;
93
- columns: number;
94
93
  gap: number;
94
+ columns: number;
95
95
  lazy: boolean;
96
96
  infinite: boolean;
97
97
  skeleton: boolean;
@@ -50,15 +50,15 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
50
50
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
51
51
  onError?: ((error: Error) => any) | undefined;
52
52
  }>, {
53
- size: number;
54
53
  mode: RenderMode;
55
54
  label: string;
55
+ size: number;
56
56
  color: string;
57
57
  showBorder: boolean;
58
58
  showLabel: boolean;
59
- margin: number;
60
59
  bgColor: string;
61
60
  errorCorrectionLevel: ErrorCorrectionLevel;
61
+ margin: number;
62
62
  logo: LogoOptions;
63
63
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
64
64
  declare const _default: typeof __VLS_export;
@@ -50,15 +50,15 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
50
50
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
51
51
  onError?: ((error: Error) => any) | undefined;
52
52
  }>, {
53
- size: number;
54
53
  mode: RenderMode;
55
54
  label: string;
55
+ size: number;
56
56
  color: string;
57
57
  showBorder: boolean;
58
58
  showLabel: boolean;
59
- margin: number;
60
59
  bgColor: string;
61
60
  errorCorrectionLevel: ErrorCorrectionLevel;
61
+ margin: number;
62
62
  logo: LogoOptions;
63
63
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
64
64
  declare const _default: typeof __VLS_export;
@@ -84,13 +84,13 @@ declare const __VLS_export: vue.DefineComponent<FormSearchProps, {
84
84
  changeFoldState: () => void;
85
85
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
86
86
  "update:modelValue": (params: SearchFormParams) => any;
87
- search: (params: SearchFormParams) => any;
88
87
  reset: () => any;
88
+ search: (params: SearchFormParams) => any;
89
89
  "change-params": (params: SearchFormParams) => any;
90
90
  }, string, vue.PublicProps, Readonly<FormSearchProps> & Readonly<{
91
91
  "onUpdate:modelValue"?: ((params: SearchFormParams) => any) | undefined;
92
- onSearch?: ((params: SearchFormParams) => any) | undefined;
93
92
  onReset?: (() => any) | undefined;
93
+ onSearch?: ((params: SearchFormParams) => any) | undefined;
94
94
  "onChange-params"?: ((params: SearchFormParams) => any) | undefined;
95
95
  }>, {
96
96
  size: "small" | "medium" | "large";
@@ -164,13 +164,6 @@ declare function useSearchState(emits: {
164
164
  rules?: {
165
165
  type?: async_validator0.RuleType | undefined;
166
166
  required?: boolean | undefined;
167
- pattern?: (RegExp | string) | undefined;
168
- min?: number | undefined;
169
- max?: number | undefined;
170
- len?: number | undefined;
171
- enum?: Array<string | number | boolean | null | undefined> | undefined;
172
- whitespace?: boolean | undefined;
173
- fields?: Record<string, async_validator0.Rule> | undefined;
174
167
  options?: {
175
168
  suppressWarning?: boolean | undefined;
176
169
  suppressValidatorError?: boolean | undefined;
@@ -226,6 +219,13 @@ declare function useSearchState(emits: {
226
219
  keys?: string[] | undefined;
227
220
  error?: ((rule: async_validator0.InternalRuleItem, message: string) => async_validator0.ValidateError) | undefined;
228
221
  } | undefined;
222
+ pattern?: (RegExp | string) | undefined;
223
+ max?: number | undefined;
224
+ min?: number | undefined;
225
+ len?: number | undefined;
226
+ enum?: Array<string | number | boolean | null | undefined> | undefined;
227
+ whitespace?: boolean | undefined;
228
+ fields?: Record<string, async_validator0.Rule> | undefined;
229
229
  defaultField?: {
230
230
  type?: async_validator0.RuleType | undefined;
231
231
  required?: boolean | undefined;
@@ -395,13 +395,6 @@ declare function useSearchState(emits: {
395
395
  rules?: {
396
396
  type?: async_validator0.RuleType | undefined;
397
397
  required?: boolean | undefined;
398
- pattern?: (RegExp | string) | undefined;
399
- min?: number | undefined;
400
- max?: number | undefined;
401
- len?: number | undefined;
402
- enum?: Array<string | number | boolean | null | undefined> | undefined;
403
- whitespace?: boolean | undefined;
404
- fields?: Record<string, async_validator0.Rule> | undefined;
405
398
  options?: {
406
399
  suppressWarning?: boolean | undefined;
407
400
  suppressValidatorError?: boolean | undefined;
@@ -457,6 +450,13 @@ declare function useSearchState(emits: {
457
450
  keys?: string[] | undefined;
458
451
  error?: ((rule: async_validator0.InternalRuleItem, message: string) => async_validator0.ValidateError) | undefined;
459
452
  } | undefined;
453
+ pattern?: (RegExp | string) | undefined;
454
+ max?: number | undefined;
455
+ min?: number | undefined;
456
+ len?: number | undefined;
457
+ enum?: Array<string | number | boolean | null | undefined> | undefined;
458
+ whitespace?: boolean | undefined;
459
+ fields?: Record<string, async_validator0.Rule> | undefined;
460
460
  defaultField?: {
461
461
  type?: async_validator0.RuleType | undefined;
462
462
  required?: boolean | undefined;
@@ -638,13 +638,6 @@ declare function useSearchState(emits: {
638
638
  rules?: {
639
639
  type?: async_validator0.RuleType | undefined;
640
640
  required?: boolean | undefined;
641
- pattern?: (RegExp | string) | undefined;
642
- min?: number | undefined;
643
- max?: number | undefined;
644
- len?: number | undefined;
645
- enum?: Array<string | number | boolean | null | undefined> | undefined;
646
- whitespace?: boolean | undefined;
647
- fields?: Record<string, async_validator0.Rule> | undefined;
648
641
  options?: {
649
642
  suppressWarning?: boolean | undefined;
650
643
  suppressValidatorError?: boolean | undefined;
@@ -700,6 +693,13 @@ declare function useSearchState(emits: {
700
693
  keys?: string[] | undefined;
701
694
  error?: ((rule: async_validator0.InternalRuleItem, message: string) => async_validator0.ValidateError) | undefined;
702
695
  } | undefined;
696
+ pattern?: (RegExp | string) | undefined;
697
+ max?: number | undefined;
698
+ min?: number | undefined;
699
+ len?: number | undefined;
700
+ enum?: Array<string | number | boolean | null | undefined> | undefined;
701
+ whitespace?: boolean | undefined;
702
+ fields?: Record<string, async_validator0.Rule> | undefined;
703
703
  defaultField?: {
704
704
  type?: async_validator0.RuleType | undefined;
705
705
  required?: boolean | undefined;