@robot-admin/naive-ui-components 0.37.1 → 0.37.2

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 (126) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +24 -3
  3. package/README_EN.md +23 -2
  4. package/dist/C_Captcha.d.ts +1 -1
  5. package/dist/C_DataPicker.d.ts +0 -1
  6. package/dist/C_Density2.cjs +1 -1
  7. package/dist/C_Density2.js +1 -1
  8. package/dist/C_Form.d.cts +1 -1
  9. package/dist/C_Form.d.ts +2 -1
  10. package/dist/C_FormModal.d.ts +2 -1
  11. package/dist/C_FormSearch.d.ts +2 -2
  12. package/dist/C_Login.d.ts +1 -1
  13. package/dist/C_Table.base.css +127 -111
  14. package/dist/C_Table.cjs +1 -1
  15. package/dist/C_Table.css +127 -111
  16. package/dist/C_Table.d.cts +1 -1
  17. package/dist/C_Table.d.ts +2 -3
  18. package/dist/C_Table.js +1 -1
  19. package/dist/C_Table2.cjs +4 -4
  20. package/dist/C_Table2.js +4 -4
  21. package/dist/C_Tree.d.ts +0 -1
  22. package/dist/C_UserPicker.d.ts +0 -1
  23. package/dist/C_WorkFlow.d.ts +0 -1
  24. package/dist/component-config.d.ts +1723 -2
  25. package/dist/config.cjs +1 -1
  26. package/dist/config.d.cts +2 -2
  27. package/dist/config.d.ts +3 -2
  28. package/dist/config.js +1 -1
  29. package/dist/constants.d.cts +2 -2
  30. package/dist/constants.d.ts +2 -2
  31. package/dist/constants2.d.cts +2 -2
  32. package/dist/constants2.d.ts +2 -2
  33. package/dist/constants3.d.cts +3 -3
  34. package/dist/constants3.d.ts +3 -3
  35. package/dist/constants4.d.cts +1 -1
  36. package/dist/constants4.d.ts +1 -1
  37. package/dist/constants5.d.cts +2 -2
  38. package/dist/constants5.d.ts +2 -2
  39. package/dist/context.cjs +1 -1
  40. package/dist/context.d.cts +1118 -3
  41. package/dist/context.js +1 -1
  42. package/dist/data2.d.cts +8 -8
  43. package/dist/data2.d.ts +8 -8
  44. package/dist/dateRange.d.ts +1 -1
  45. package/dist/editors.d.cts +12 -10
  46. package/dist/editors.d.ts +12 -10
  47. package/dist/index.cjs +1 -1
  48. package/dist/index.d.cts +2 -2
  49. package/dist/index.d.ts +2 -3
  50. package/dist/index.js +1 -1
  51. package/dist/index.vue.d.cts +4 -4
  52. package/dist/index.vue.d.ts +4 -4
  53. package/dist/index10.vue.d.cts +2 -2
  54. package/dist/index11.vue.d.ts +4 -4
  55. package/dist/index12.vue.d.cts +4 -4
  56. package/dist/index13.vue.d.ts +4 -4
  57. package/dist/index14.vue.d.cts +4 -4
  58. package/dist/index15.vue.d.ts +3 -3
  59. package/dist/index16.vue.d.cts +3 -3
  60. package/dist/index17.vue.d.ts +4 -4
  61. package/dist/index18.vue.d.cts +4 -4
  62. package/dist/index18.vue.d.ts +3 -3
  63. package/dist/index19.vue.d.cts +3 -3
  64. package/dist/index20.vue.d.ts +1 -1
  65. package/dist/index21.vue.d.cts +1 -1
  66. package/dist/index21.vue.d.ts +4 -4
  67. package/dist/index22.vue.d.cts +4 -4
  68. package/dist/index24.vue.d.cts +2 -2
  69. package/dist/index24.vue.d.ts +2 -2
  70. package/dist/index27.vue.d.cts +2 -2
  71. package/dist/index27.vue.d.ts +2 -2
  72. package/dist/index28.vue.d.cts +1 -1
  73. package/dist/index28.vue.d.ts +1 -1
  74. package/dist/index3.vue.d.cts +2 -2
  75. package/dist/index3.vue.d.ts +2 -2
  76. package/dist/index31.vue.d.cts +3 -3
  77. package/dist/index31.vue.d.ts +3 -3
  78. package/dist/index32.vue.d.cts +2 -2
  79. package/dist/index32.vue.d.ts +2 -2
  80. package/dist/index4.vue.d.cts +3 -3
  81. package/dist/index4.vue.d.ts +3 -3
  82. package/dist/index7.vue.d.ts +2 -2
  83. package/dist/index8.vue.d.cts +2 -2
  84. package/dist/index8.vue.d.ts +2 -2
  85. package/dist/index9.vue.d.cts +2 -2
  86. package/dist/index9.vue.d.ts +2 -2
  87. package/dist/mapUtils.d.cts +3 -3
  88. package/dist/mapUtils.d.ts +3 -3
  89. package/dist/style.css +127 -111
  90. package/dist/types3.d.ts +5 -1119
  91. package/dist/types4.d.cts +5 -1119
  92. package/dist/types6.d.ts +2 -1
  93. package/dist/types7.d.cts +2 -1
  94. package/dist/useCalendarEvents.d.cts +2 -2
  95. package/dist/useCalendarEvents.d.ts +2 -2
  96. package/dist/useCollapsePanel.d.cts +8 -8
  97. package/dist/useCollapsePanel.d.ts +8 -8
  98. package/dist/useCropperCore.d.cts +8 -8
  99. package/dist/useCropperCore.d.ts +8 -8
  100. package/dist/useDynamicFormState.d.cts +3 -3
  101. package/dist/useDynamicFormState.d.ts +3 -3
  102. package/dist/useEdgeInteraction.d.cts +2 -2
  103. package/dist/useEdgeInteraction.d.ts +2 -2
  104. package/dist/useFormRenderer.d.cts +1 -1
  105. package/dist/useFormRenderer.d.ts +1 -1
  106. package/dist/useFullscreen.d.cts +1 -1
  107. package/dist/useFullscreen.d.ts +1 -1
  108. package/dist/useGlobalSearch.d.cts +1 -1
  109. package/dist/useGlobalSearch.d.ts +1 -1
  110. package/dist/useInfiniteScroll.d.cts +4 -4
  111. package/dist/useInfiniteScroll.d.ts +4 -4
  112. package/dist/useQRCode.d.cts +3 -3
  113. package/dist/useQRCode.d.ts +3 -3
  114. package/dist/useSignatureHistory.d.cts +5 -5
  115. package/dist/useSignatureHistory.d.ts +5 -5
  116. package/dist/useSplitResize.d.cts +8 -8
  117. package/dist/useSplitResize.d.ts +8 -8
  118. package/dist/useWorkflowValidation.d.cts +2 -2
  119. package/dist/useWorkflowValidation.d.ts +2 -2
  120. package/dist/verification.d.cts +2 -2
  121. package/dist/verification.d.ts +2 -2
  122. package/docs/guides/table-density.md +19 -2
  123. package/package.json +1 -1
  124. package/dist/context.d.ts +0 -610
  125. package/dist/useTableGlobalConfig.cjs +0 -1
  126. package/dist/useTableGlobalConfig.js +0 -1
@@ -62,26 +62,26 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
64
  select: (item: ContextMenuItem) => any;
65
- close: () => any;
66
65
  open: (position: {
67
66
  x: number;
68
67
  y: number;
69
68
  }) => any;
69
+ close: () => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
71
  onSelect?: ((item: ContextMenuItem) => any) | undefined;
72
- onClose?: (() => any) | undefined;
73
72
  onOpen?: ((position: {
74
73
  x: number;
75
74
  y: number;
76
75
  }) => any) | undefined;
76
+ onClose?: (() => any) | undefined;
77
77
  }>, {
78
- items: ContextMenuItem[];
79
78
  disabled: boolean;
79
+ items: ContextMenuItem[];
80
+ zIndex: number;
80
81
  minWidth: number;
81
82
  maxWidth: number;
82
83
  subMenuPlacement: "right" | "left";
83
84
  autoClose: boolean;
84
- zIndex: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const _default: typeof __VLS_export;
87
87
  //#endregion
@@ -62,26 +62,26 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
64
  select: (item: ContextMenuItem) => any;
65
- close: () => any;
66
65
  open: (position: {
67
66
  x: number;
68
67
  y: number;
69
68
  }) => any;
69
+ close: () => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
71
  onSelect?: ((item: ContextMenuItem) => any) | undefined;
72
- onClose?: (() => any) | undefined;
73
72
  onOpen?: ((position: {
74
73
  x: number;
75
74
  y: number;
76
75
  }) => any) | undefined;
76
+ onClose?: (() => any) | undefined;
77
77
  }>, {
78
- items: ContextMenuItem[];
79
78
  disabled: boolean;
79
+ items: ContextMenuItem[];
80
+ zIndex: number;
80
81
  minWidth: number;
81
82
  maxWidth: number;
82
83
  subMenuPlacement: "right" | "left";
83
84
  autoClose: boolean;
84
- zIndex: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const _default: typeof __VLS_export;
87
87
  //#endregion
@@ -42,21 +42,21 @@ declare const __VLS_export: vue.DefineComponent<Props, {
42
42
  } | null>>;
43
43
  isInitialized: Readonly<vue.Ref<boolean, boolean>>;
44
44
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
45
- error: (error: Error) => any;
46
45
  "update:modelValue": (value: string) => any;
46
+ error: (error: Error) => any;
47
47
  "editor-mounted": (editor: EditorInstance) => any;
48
48
  "editor-change": (html: string) => any;
49
49
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
50
- onError?: ((error: Error) => any) | undefined;
51
50
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
51
+ onError?: ((error: Error) => any) | undefined;
52
52
  "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
53
53
  "onEditor-change"?: ((html: string) => any) | undefined;
54
54
  }>, {
55
- height: number;
56
55
  modelValue: string;
57
56
  disabled: boolean;
58
- placeholder: string;
59
57
  readonly: boolean;
58
+ height: number;
59
+ placeholder: string;
60
60
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
61
61
  declare const _default: typeof __VLS_export;
62
62
  //#endregion
@@ -42,21 +42,21 @@ declare const __VLS_export: vue.DefineComponent<Props, {
42
42
  } | null>>;
43
43
  isInitialized: Readonly<vue.Ref<boolean, boolean>>;
44
44
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
45
- error: (error: Error) => any;
46
45
  "update:modelValue": (value: string) => any;
46
+ error: (error: Error) => any;
47
47
  "editor-mounted": (editor: EditorInstance) => any;
48
48
  "editor-change": (html: string) => any;
49
49
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
50
- onError?: ((error: Error) => any) | undefined;
51
50
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
51
+ onError?: ((error: Error) => any) | undefined;
52
52
  "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
53
53
  "onEditor-change"?: ((html: string) => any) | undefined;
54
54
  }>, {
55
- height: number;
56
55
  modelValue: string;
57
56
  disabled: boolean;
58
- placeholder: string;
59
57
  readonly: boolean;
58
+ height: number;
59
+ placeholder: string;
60
60
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
61
61
  declare const _default: typeof __VLS_export;
62
62
  //#endregion
@@ -1,4 +1,4 @@
1
- import { H as SubmitEventPayload, O as FormOption, a as FormConfig, k as FormRecord } from "./context.js";
1
+ import { Ot as FormConfig, Qt as FormRecord, Zt as FormOption, dn as SubmitEventPayload } from "./component-config.js";
2
2
  import { r as FormRenderer } from "./useFormRenderer.js";
3
3
  import * as vue from "vue";
4
4
  import { ComputedRef, Ref } from "vue";
@@ -41,8 +41,8 @@ interface FormModalEmits<T extends object = FormRecord> {
41
41
  //#region src/components/C_FormModal/index.vue.d.ts
42
42
  declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
43
43
  props: vue.PublicProps & __VLS_PrettifyLocal<FormModalProps<T> & {
44
- onClose?: (() => any) | undefined;
45
44
  onSubmit?: ((payload: SubmitEventPayload<T>, saved: boolean) => any) | undefined;
45
+ onClose?: (() => any) | undefined;
46
46
  }> & (typeof globalThis extends {
47
47
  __VLS_PROPS_FALLBACK: infer P;
48
48
  } ? P : {});
@@ -51,7 +51,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
51
51
  slots: {
52
52
  [x: string]: ((props: any) => any) | undefined;
53
53
  };
54
- emit: ((evt: "close") => void) & ((evt: "submit", payload: SubmitEventPayload<T>, saved: boolean) => void);
54
+ emit: ((evt: "submit", payload: SubmitEventPayload<T>, saved: boolean) => void) & ((evt: "close") => void);
55
55
  }>) => vue.VNode & {
56
56
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
57
57
  };
@@ -1,4 +1,4 @@
1
- import { H as SubmitEventPayload, O as FormOption, a as FormConfig, k as FormRecord } from "./context.cjs";
1
+ import { Et as FormConfig, Xt as FormRecord, Yt as FormOption, ln as SubmitEventPayload } from "./context.cjs";
2
2
  import { r as FormRenderer } from "./useFormRenderer.cjs";
3
3
  import * as vue from "vue";
4
4
  import { ComputedRef, Ref } from "vue";
@@ -41,8 +41,8 @@ interface FormModalEmits<T extends object = FormRecord> {
41
41
  //#region src/components/C_FormModal/index.vue.d.ts
42
42
  declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
43
43
  props: vue.PublicProps & __VLS_PrettifyLocal<FormModalProps<T> & {
44
- onClose?: (() => any) | undefined;
45
44
  onSubmit?: ((payload: SubmitEventPayload<T>, saved: boolean) => any) | undefined;
45
+ onClose?: (() => any) | undefined;
46
46
  }> & (typeof globalThis extends {
47
47
  __VLS_PROPS_FALLBACK: infer P;
48
48
  } ? P : {});
@@ -51,7 +51,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
51
51
  slots: {
52
52
  [x: string]: ((props: any) => any) | undefined;
53
53
  };
54
- emit: ((evt: "close") => void) & ((evt: "submit", payload: SubmitEventPayload<T>, saved: boolean) => void);
54
+ emit: ((evt: "submit", payload: SubmitEventPayload<T>, saved: boolean) => void) & ((evt: "close") => void);
55
55
  }>) => vue.VNode & {
56
56
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
57
57
  };
@@ -40,19 +40,19 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
40
40
  }>, {
41
41
  title: string;
42
42
  type: "iconify" | "unocss" | "component" | "svg" | "image";
43
- size: number | string;
44
43
  loading: boolean;
44
+ size: number | string;
45
+ ariaLabel: string;
45
46
  color: string;
47
+ flip: "horizontal" | "vertical" | "both";
48
+ viewBox: string;
46
49
  clickable: boolean;
47
- ariaLabel: string;
48
50
  rotate: number;
49
51
  svgPath: string;
50
- viewBox: string;
51
52
  alt: string;
52
53
  fallbackIcon: string;
53
54
  loadTimeout: number;
54
55
  customClass: string;
55
- flip: "horizontal" | "vertical" | "both";
56
56
  componentProps: Record<string, unknown>;
57
57
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
58
58
  declare const _default: typeof __VLS_export;
@@ -40,19 +40,19 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
40
40
  }>, {
41
41
  title: string;
42
42
  type: "iconify" | "unocss" | "component" | "svg" | "image";
43
- size: number | string;
44
43
  loading: boolean;
44
+ size: number | string;
45
+ ariaLabel: string;
45
46
  color: string;
47
+ flip: "horizontal" | "vertical" | "both";
48
+ viewBox: string;
46
49
  clickable: boolean;
47
- ariaLabel: string;
48
50
  rotate: number;
49
51
  svgPath: string;
50
- viewBox: string;
51
52
  alt: string;
52
53
  fallbackIcon: string;
53
54
  loadTimeout: number;
54
55
  customClass: string;
55
- flip: "horizontal" | "vertical" | "both";
56
56
  componentProps: Record<string, unknown>;
57
57
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
58
58
  declare const _default: typeof __VLS_export;
@@ -19,14 +19,14 @@ type __VLS_Props = {
19
19
  tooltip?: string;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (key: string) => any;
23
22
  "update:modelValue": (key: string) => any;
23
+ change: (key: string) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((key: string) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
+ onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
- modelValue: string;
29
28
  options: LegacyLanguageOption[];
29
+ modelValue: string;
30
30
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
31
31
  declare const _default: typeof __VLS_export;
32
32
  //#endregion
@@ -19,14 +19,14 @@ type __VLS_Props = {
19
19
  tooltip?: string;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (key: string) => any;
23
22
  "update:modelValue": (key: string) => any;
23
+ change: (key: string) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((key: string) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
+ onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
- modelValue: string;
29
28
  options: LegacyLanguageOption[];
29
+ modelValue: string;
30
30
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
31
31
  declare const _default: typeof __VLS_export;
32
32
  //#endregion
@@ -117,8 +117,8 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
117
117
  "onUsername-change"?: ((username: string) => any) | undefined;
118
118
  }>, {
119
119
  title: string;
120
- loading: boolean;
121
120
  storageKey: string;
121
+ loading: boolean;
122
122
  defaultUsername: string;
123
123
  defaultPassword: string;
124
124
  captchaProvider: CaptchaProvider;
@@ -117,8 +117,8 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
117
117
  "onUsername-change"?: ((username: string) => any) | undefined;
118
118
  }>, {
119
119
  title: string;
120
- loading: boolean;
121
120
  storageKey: string;
121
+ loading: boolean;
122
122
  defaultUsername: string;
123
123
  defaultPassword: string;
124
124
  captchaProvider: CaptchaProvider;
@@ -41,8 +41,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
41
41
  insertText: (text: string) => void;
42
42
  wordCount: vue.ComputedRef<number>;
43
43
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
44
- change: (text: string, html: string) => any;
45
44
  "update:modelValue": (value: string) => any;
45
+ change: (text: string, html: string) => any;
46
46
  save: (text: string, html: string) => any;
47
47
  "upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
48
48
  "fullscreen-change": (isFullscreen: boolean) => any;
@@ -51,8 +51,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
51
51
  "auto-save": (text: string) => any;
52
52
  "max-length-exceeded": (currentLength: number, maxLength: number) => any;
53
53
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
54
- onChange?: ((text: string, html: string) => any) | undefined;
55
54
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
55
+ onChange?: ((text: string, html: string) => any) | undefined;
56
56
  onSave?: ((text: string, html: string) => any) | undefined;
57
57
  "onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
58
58
  "onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
@@ -61,14 +61,14 @@ declare const __VLS_export: vue.DefineComponent<Props, {
61
61
  "onAuto-save"?: ((text: string) => any) | undefined;
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
- height: string | number;
65
64
  modelValue: string;
66
65
  disabled: boolean;
66
+ height: string | number;
67
67
  placeholder: string;
68
68
  mode: "edit" | "editable" | "preview";
69
- autofocus: boolean;
70
69
  tocNavPosition: "left" | "right";
71
70
  defaultFullscreen: boolean;
71
+ autofocus: boolean;
72
72
  includeLevel: number[];
73
73
  leftToolbar: string;
74
74
  rightToolbar: string;
@@ -41,8 +41,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
41
41
  insertText: (text: string) => void;
42
42
  wordCount: vue.ComputedRef<number>;
43
43
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
44
- change: (text: string, html: string) => any;
45
44
  "update:modelValue": (value: string) => any;
45
+ change: (text: string, html: string) => any;
46
46
  save: (text: string, html: string) => any;
47
47
  "upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
48
48
  "fullscreen-change": (isFullscreen: boolean) => any;
@@ -51,8 +51,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
51
51
  "auto-save": (text: string) => any;
52
52
  "max-length-exceeded": (currentLength: number, maxLength: number) => any;
53
53
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
54
- onChange?: ((text: string, html: string) => any) | undefined;
55
54
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
55
+ onChange?: ((text: string, html: string) => any) | undefined;
56
56
  onSave?: ((text: string, html: string) => any) | undefined;
57
57
  "onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
58
58
  "onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
@@ -61,14 +61,14 @@ declare const __VLS_export: vue.DefineComponent<Props, {
61
61
  "onAuto-save"?: ((text: string) => any) | undefined;
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
- height: string | number;
65
64
  modelValue: string;
66
65
  disabled: boolean;
66
+ height: string | number;
67
67
  placeholder: string;
68
68
  mode: "edit" | "editable" | "preview";
69
- autofocus: boolean;
70
69
  tocNavPosition: "left" | "right";
71
70
  defaultFullscreen: boolean;
71
+ autofocus: boolean;
72
72
  includeLevel: number[];
73
73
  leftToolbar: string;
74
74
  rightToolbar: string;
@@ -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
- time: number;
38
37
  status: "default" | "success" | "error" | "warning" | "info";
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>;
@@ -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
- time: number;
38
37
  status: "default" | "success" | "error" | "warning" | "info";
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>;
@@ -88,9 +88,9 @@ type __VLS_Slots = {} & {
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
89
  repeat: number;
90
90
  loading: boolean;
91
- preset: SkeletonPreset;
92
- animation: SkeletonAnimation;
93
91
  borderRadius: string;
92
+ animation: SkeletonAnimation;
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;
@@ -88,9 +88,9 @@ type __VLS_Slots = {} & {
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
89
  repeat: number;
90
90
  loading: boolean;
91
- preset: SkeletonPreset;
92
- animation: SkeletonAnimation;
93
91
  borderRadius: string;
92
+ animation: SkeletonAnimation;
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;
@@ -36,9 +36,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
38
  direction: "horizontal" | "vertical";
39
+ connected: boolean;
39
40
  current: number;
40
41
  clickable: boolean;
41
- connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -36,9 +36,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
38
  direction: "horizontal" | "vertical";
39
+ connected: boolean;
39
40
  current: number;
40
41
  clickable: boolean;
41
- connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -73,10 +73,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
75
  direction: "ltr" | "rtl";
76
- size: number;
77
76
  max: number;
78
- clickable: boolean;
77
+ size: number;
79
78
  overlap: number;
79
+ clickable: boolean;
80
80
  shape: "square" | "circle";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -73,10 +73,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
75
  direction: "ltr" | "rtl";
76
- size: number;
77
76
  max: number;
78
- clickable: boolean;
77
+ size: number;
79
78
  overlap: number;
79
+ clickable: boolean;
80
80
  shape: "square" | "circle";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -84,17 +84,17 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- expand: (item: TimelineItem, expanded: boolean) => any;
88
87
  "item-click": (item: TimelineItem, index: number) => any;
88
+ expand: (item: TimelineItem, expanded: boolean) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
90
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
+ onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
92
92
  }>, {
93
93
  reverse: boolean;
94
94
  size: "small" | "medium" | "large";
95
+ mode: "vertical" | "horizontal";
95
96
  items: TimelineItem[];
96
97
  labelPlacement: "left" | "right" | "alternate";
97
- mode: "vertical" | "horizontal";
98
98
  pending: boolean;
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
@@ -84,17 +84,17 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- expand: (item: TimelineItem, expanded: boolean) => any;
88
87
  "item-click": (item: TimelineItem, index: number) => any;
88
+ expand: (item: TimelineItem, expanded: boolean) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
90
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
+ onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
92
92
  }>, {
93
93
  reverse: boolean;
94
94
  size: "small" | "medium" | "large";
95
+ mode: "vertical" | "horizontal";
95
96
  items: TimelineItem[];
96
97
  labelPlacement: "left" | "right" | "alternate";
97
- mode: "vertical" | "horizontal";
98
98
  pending: boolean;
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
@@ -61,15 +61,15 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
61
61
  //#region src/components/C_Transfer/index.vue.d.ts
62
62
  declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
63
63
  props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
64
- onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
65
64
  "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
65
+ onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
66
66
  }> & (typeof globalThis extends {
67
67
  __VLS_PROPS_FALLBACK: infer P;
68
68
  } ? P : {});
69
69
  expose: (exposed: {}) => void;
70
70
  attrs: any;
71
71
  slots: {};
72
- emit: ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void) & ((evt: "update:modelValue", value: T["key"][]) => void);
72
+ emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void);
73
73
  }>) => vue.VNode & {
74
74
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
75
75
  };
@@ -61,15 +61,15 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
61
61
  //#region src/components/C_Transfer/index.vue.d.ts
62
62
  declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
63
63
  props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
64
- onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
65
64
  "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
65
+ onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
66
66
  }> & (typeof globalThis extends {
67
67
  __VLS_PROPS_FALLBACK: infer P;
68
68
  } ? P : {});
69
69
  expose: (exposed: {}) => void;
70
70
  attrs: any;
71
71
  slots: {};
72
- emit: ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void) & ((evt: "update:modelValue", value: T["key"][]) => void);
72
+ emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void);
73
73
  }>) => vue.VNode & {
74
74
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
75
75
  };
@@ -21,15 +21,15 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  lineColor: string;
24
- width: number;
25
24
  height: number;
26
- label: string;
27
- fontSize: number;
28
25
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
26
+ width: number;
29
27
  showText: boolean;
28
+ fontSize: number;
30
29
  textPosition: "bottom" | "top";
31
30
  background: string;
32
31
  showBorder: boolean;
32
+ label: string;
33
33
  showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
@@ -21,15 +21,15 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  lineColor: string;
24
- width: number;
25
24
  height: number;
26
- label: string;
27
- fontSize: number;
28
25
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
26
+ width: number;
29
27
  showText: boolean;
28
+ fontSize: number;
30
29
  textPosition: "bottom" | "top";
31
30
  background: string;
32
31
  showBorder: boolean;
32
+ label: string;
33
33
  showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
@@ -24,11 +24,11 @@ type __VLS_Props = {
24
24
  density?: ComponentDensity;
25
25
  };
26
26
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
27
- change: (value: CascadeValue) => any;
28
27
  "update:modelValue": (value: CascadeValue) => any;
28
+ change: (value: CascadeValue) => any;
29
29
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
30
- onChange?: ((value: CascadeValue) => any) | undefined;
31
30
  "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
31
+ onChange?: ((value: CascadeValue) => any) | undefined;
32
32
  }>, {
33
33
  placeholders: string[];
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -24,11 +24,11 @@ type __VLS_Props = {
24
24
  density?: ComponentDensity;
25
25
  };
26
26
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
27
- change: (value: CascadeValue) => any;
28
27
  "update:modelValue": (value: CascadeValue) => any;
28
+ change: (value: CascadeValue) => any;
29
29
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
30
- onChange?: ((value: CascadeValue) => any) | undefined;
31
30
  "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
31
+ onChange?: ((value: CascadeValue) => any) | undefined;
32
32
  }>, {
33
33
  placeholders: string[];
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -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;