@robot-admin/naive-ui-components 0.17.3 → 0.17.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 (119) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/C_Form.cjs +1 -1
  3. package/dist/C_Form.js +1 -1
  4. package/dist/C_FormModal2.cjs +1 -1
  5. package/dist/C_FormModal2.js +1 -1
  6. package/dist/C_FormSearch.css +52 -52
  7. package/dist/C_FormSearch2.cjs +1 -1
  8. package/dist/C_FormSearch2.js +1 -1
  9. package/dist/C_Table.base.css +155 -145
  10. package/dist/C_Table.css +155 -145
  11. package/dist/C_Table.d.cts +1 -1
  12. package/dist/C_Table.d.ts +1 -1
  13. package/dist/C_Time.css +4 -4
  14. package/dist/C_Time2.cjs +1 -1
  15. package/dist/C_Time2.js +1 -1
  16. package/dist/C_Tree.css +23 -23
  17. package/dist/C_Tree2.cjs +1 -1
  18. package/dist/C_Tree2.js +1 -1
  19. package/dist/C_WorkFlow.css +39 -39
  20. package/dist/C_WorkFlow2.cjs +1 -1
  21. package/dist/C_WorkFlow2.js +1 -1
  22. package/dist/constants.d.cts +1 -1
  23. package/dist/constants.d.ts +1 -1
  24. package/dist/constants3.d.cts +1 -1
  25. package/dist/constants3.d.ts +1 -1
  26. package/dist/constants4.d.cts +6 -6
  27. package/dist/constants4.d.ts +6 -6
  28. package/dist/constants5.d.cts +2 -2
  29. package/dist/constants5.d.ts +2 -2
  30. package/dist/data.d.cts +8 -8
  31. package/dist/data.d.ts +8 -8
  32. package/dist/formValidation.cjs +1 -0
  33. package/dist/formValidation.js +1 -0
  34. package/dist/helpers.cjs +1 -1
  35. package/dist/helpers.js +1 -1
  36. package/dist/index.cjs +1 -1
  37. package/dist/index.d.cts +1 -1
  38. package/dist/index.d.ts +1 -1
  39. package/dist/index.js +1 -1
  40. package/dist/index.vue.d.cts +2 -2
  41. package/dist/index.vue.d.ts +2 -2
  42. package/dist/index10.vue.d.cts +5 -5
  43. package/dist/index10.vue.d.ts +2 -2
  44. package/dist/index11.vue.d.cts +2 -2
  45. package/dist/index11.vue.d.ts +3 -3
  46. package/dist/index12.vue.d.cts +3 -3
  47. package/dist/index12.vue.d.ts +2 -2
  48. package/dist/index13.vue.d.cts +2 -2
  49. package/dist/index13.vue.d.ts +3 -3
  50. package/dist/index14.vue.d.cts +3 -3
  51. package/dist/index14.vue.d.ts +8 -8
  52. package/dist/index15.vue.d.cts +8 -8
  53. package/dist/index15.vue.d.ts +1 -1
  54. package/dist/index16.vue.d.cts +1 -1
  55. package/dist/index17.vue.d.ts +1 -1
  56. package/dist/index18.vue.d.cts +1 -1
  57. package/dist/index18.vue.d.ts +5 -5
  58. package/dist/index19.vue.d.cts +5 -5
  59. package/dist/index19.vue.d.ts +5 -4
  60. package/dist/index2.vue.d.cts +2 -2
  61. package/dist/index2.vue.d.ts +2 -2
  62. package/dist/index20.vue.d.cts +2 -2
  63. package/dist/index20.vue.d.ts +2 -2
  64. package/dist/index21.vue.d.cts +2 -2
  65. package/dist/index21.vue.d.ts +2 -2
  66. package/dist/index22.vue.d.cts +2 -2
  67. package/dist/index22.vue.d.ts +2 -2
  68. package/dist/index25.vue.d.cts +4 -4
  69. package/dist/index25.vue.d.ts +4 -4
  70. package/dist/index26.vue.d.cts +1 -1
  71. package/dist/index26.vue.d.ts +1 -1
  72. package/dist/index27.vue.d.cts +4 -4
  73. package/dist/index27.vue.d.ts +4 -4
  74. package/dist/index28.vue.d.cts +2 -2
  75. package/dist/index28.vue.d.ts +2 -2
  76. package/dist/index3.vue.d.cts +4 -4
  77. package/dist/index3.vue.d.ts +4 -4
  78. package/dist/index4.vue.d.cts +5 -4
  79. package/dist/index8.vue.d.ts +3 -3
  80. package/dist/index9.vue.d.cts +3 -3
  81. package/dist/index9.vue.d.ts +5 -5
  82. package/dist/mapUtils.d.cts +2 -2
  83. package/dist/mapUtils.d.ts +2 -2
  84. package/dist/style.css +274 -264
  85. package/dist/useCalendarEvents.d.cts +1 -1
  86. package/dist/useCalendarEvents.d.ts +1 -1
  87. package/dist/useCollapsePanel.d.cts +4 -4
  88. package/dist/useCollapsePanel.d.ts +4 -4
  89. package/dist/useCropperCore.d.cts +6 -6
  90. package/dist/useCropperCore.d.ts +6 -6
  91. package/dist/useDraggableLayout.d.cts +6 -6
  92. package/dist/useDraggableLayout.d.ts +6 -6
  93. package/dist/useDynamicFormState.d.cts +4 -3
  94. package/dist/useDynamicFormState.d.ts +4 -3
  95. package/dist/useEdgeInteraction.d.cts +2 -2
  96. package/dist/useEdgeInteraction.d.ts +2 -2
  97. package/dist/useInfiniteScroll.d.cts +2 -2
  98. package/dist/useInfiniteScroll.d.ts +2 -2
  99. package/dist/useQRCode.d.cts +3 -3
  100. package/dist/useQRCode.d.ts +3 -3
  101. package/dist/useSearchState.d.cts +2 -2
  102. package/dist/useSearchState.d.ts +2 -2
  103. package/dist/useSignatureHistory.d.cts +4 -4
  104. package/dist/useSignatureHistory.d.ts +4 -4
  105. package/dist/useSplitResize.d.cts +11 -11
  106. package/dist/useSplitResize.d.ts +11 -11
  107. package/dist/useTableQuery.cjs +3 -3
  108. package/dist/useTableQuery.d.cts +535 -509
  109. package/dist/useTableQuery.d.ts +535 -509
  110. package/dist/useTableQuery.js +3 -3
  111. package/dist/useTimeSelection.d.cts +11 -6
  112. package/dist/useTimeSelection.d.ts +11 -6
  113. package/dist/useWorkflowValidation.d.cts +5 -5
  114. package/dist/useWorkflowValidation.d.ts +5 -5
  115. package/dist/verification.d.cts +4 -4
  116. package/dist/verification.d.ts +4 -4
  117. package/docs/guides/usage.en.md +16 -0
  118. package/docs/guides/usage.md +38 -0
  119. package/package.json +2 -1
@@ -61,23 +61,23 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
61
61
  close: () => void; /** 当前是否可见 */
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
+ close: () => any;
65
+ select: (item: ContextMenuItem) => any;
64
66
  open: (position: {
65
67
  x: number;
66
68
  y: number;
67
69
  }) => any;
68
- close: () => any;
69
- select: (item: ContextMenuItem) => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
+ onClose?: (() => any) | undefined;
72
+ onSelect?: ((item: ContextMenuItem) => any) | undefined;
71
73
  onOpen?: ((position: {
72
74
  x: number;
73
75
  y: number;
74
76
  }) => any) | undefined;
75
- onClose?: (() => any) | undefined;
76
- onSelect?: ((item: ContextMenuItem) => any) | undefined;
77
77
  }>, {
78
78
  disabled: boolean;
79
- items: ContextMenuItem[];
80
79
  zIndex: number;
80
+ items: ContextMenuItem[];
81
81
  minWidth: number;
82
82
  maxWidth: number;
83
83
  subMenuPlacement: "right" | "left";
@@ -44,20 +44,20 @@ interface DateExpose {
44
44
  //#region src/components/C_Date/index.vue.d.ts
45
45
  declare const __VLS_export: vue.DefineComponent<DateProps, DateExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
46
46
  "update:modelValue": (value: DateModelValue) => any;
47
- change: (value: DateModelValue) => any;
48
47
  "update:singleDate": (value: DateValue) => any;
49
48
  "update:singleDateTime": (value: DateValue) => any;
50
49
  "update:dateRange": (value: DateRangeValue) => any;
51
50
  "update:dateTimeRange": (value: DateRangeValue) => any;
52
51
  "update:smartRange": (value: DateRangeValue) => any;
52
+ change: (value: DateModelValue) => any;
53
53
  }, string, vue.PublicProps, Readonly<DateProps> & Readonly<{
54
54
  "onUpdate:modelValue"?: ((value: DateModelValue) => any) | undefined;
55
- onChange?: ((value: DateModelValue) => any) | undefined;
56
55
  "onUpdate:singleDate"?: ((value: DateValue) => any) | undefined;
57
56
  "onUpdate:singleDateTime"?: ((value: DateValue) => any) | undefined;
58
57
  "onUpdate:dateRange"?: ((value: DateRangeValue) => any) | undefined;
59
58
  "onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
60
59
  "onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
60
+ onChange?: ((value: DateModelValue) => any) | undefined;
61
61
  }>, {
62
62
  disabled: boolean;
63
63
  mode: DatePickerMode;
@@ -44,20 +44,20 @@ interface DateExpose {
44
44
  //#region src/components/C_Date/index.vue.d.ts
45
45
  declare const __VLS_export: vue.DefineComponent<DateProps, DateExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
46
46
  "update:modelValue": (value: DateModelValue) => any;
47
- change: (value: DateModelValue) => any;
48
47
  "update:singleDate": (value: DateValue) => any;
49
48
  "update:singleDateTime": (value: DateValue) => any;
50
49
  "update:dateRange": (value: DateRangeValue) => any;
51
50
  "update:dateTimeRange": (value: DateRangeValue) => any;
52
51
  "update:smartRange": (value: DateRangeValue) => any;
52
+ change: (value: DateModelValue) => any;
53
53
  }, string, vue.PublicProps, Readonly<DateProps> & Readonly<{
54
54
  "onUpdate:modelValue"?: ((value: DateModelValue) => any) | undefined;
55
- onChange?: ((value: DateModelValue) => any) | undefined;
56
55
  "onUpdate:singleDate"?: ((value: DateValue) => any) | undefined;
57
56
  "onUpdate:singleDateTime"?: ((value: DateValue) => any) | undefined;
58
57
  "onUpdate:dateRange"?: ((value: DateRangeValue) => any) | undefined;
59
58
  "onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
60
59
  "onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
60
+ onChange?: ((value: DateModelValue) => any) | undefined;
61
61
  }>, {
62
62
  disabled: boolean;
63
63
  mode: DatePickerMode;
@@ -52,12 +52,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
52
52
  "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
53
53
  "onEditor-change"?: ((html: string) => any) | undefined;
54
54
  }>, {
55
- modelValue: string;
56
55
  disabled: boolean;
57
- height: number;
56
+ readonly: boolean;
57
+ modelValue: string;
58
58
  theme: "light" | "dark";
59
59
  placeholder: string;
60
- readonly: boolean;
60
+ height: number;
61
61
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
62
62
  declare const _default: typeof __VLS_export;
63
63
  //#endregion
@@ -52,12 +52,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
52
52
  "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
53
53
  "onEditor-change"?: ((html: string) => any) | undefined;
54
54
  }>, {
55
- modelValue: string;
56
55
  disabled: boolean;
57
- height: number;
56
+ readonly: boolean;
57
+ modelValue: string;
58
58
  theme: "light" | "dark";
59
59
  placeholder: string;
60
- readonly: boolean;
60
+ height: number;
61
61
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
62
62
  declare const _default: typeof __VLS_export;
63
63
  //#endregion
@@ -38,8 +38,8 @@ interface FormModalEmits<T extends object = FormRecord> {
38
38
  //#region src/components/C_FormModal/index.vue.d.ts
39
39
  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<{
40
40
  props: vue.PublicProps & __VLS_PrettifyLocal<FormModalProps<T> & {
41
- onClose?: (() => any) | undefined;
42
41
  onSubmit?: ((payload: SubmitEventPayload<T>, saved: boolean) => any) | undefined;
42
+ onClose?: (() => any) | undefined;
43
43
  }> & (typeof globalThis extends {
44
44
  __VLS_PROPS_FALLBACK: infer P;
45
45
  } ? P : {});
@@ -48,7 +48,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
48
48
  slots: {
49
49
  [x: string]: ((props: any) => any) | undefined;
50
50
  };
51
- emit: ((evt: "close") => void) & ((evt: "submit", payload: SubmitEventPayload<T>, saved: boolean) => void);
51
+ emit: ((evt: "submit", payload: SubmitEventPayload<T>, saved: boolean) => void) & ((evt: "close") => void);
52
52
  }>) => vue.VNode & {
53
53
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
54
54
  };
@@ -38,8 +38,8 @@ interface FormModalEmits<T extends object = FormRecord> {
38
38
  //#region src/components/C_FormModal/index.vue.d.ts
39
39
  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<{
40
40
  props: vue.PublicProps & __VLS_PrettifyLocal<FormModalProps<T> & {
41
- onClose?: (() => any) | undefined;
42
41
  onSubmit?: ((payload: SubmitEventPayload<T>, saved: boolean) => any) | undefined;
42
+ onClose?: (() => any) | undefined;
43
43
  }> & (typeof globalThis extends {
44
44
  __VLS_PROPS_FALLBACK: infer P;
45
45
  } ? P : {});
@@ -48,7 +48,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
48
48
  slots: {
49
49
  [x: string]: ((props: any) => any) | undefined;
50
50
  };
51
- emit: ((evt: "close") => void) & ((evt: "submit", payload: SubmitEventPayload<T>, saved: boolean) => void);
51
+ emit: ((evt: "submit", payload: SubmitEventPayload<T>, saved: boolean) => void) & ((evt: "close") => void);
52
52
  }>) => vue.VNode & {
53
53
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
54
54
  };
@@ -97,22 +97,22 @@ 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
100
  close: (currentStep: number) => any;
101
+ error: (error: unknown) => any;
102
102
  start: () => 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
107
  onClose?: ((currentStep: number) => any) | undefined;
108
+ onError?: ((error: unknown) => any) | undefined;
109
109
  onStart?: (() => 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
- keyboard: boolean;
115
114
  steps: GuideStep[];
115
+ keyboard: boolean;
116
116
  doneBtnText: string;
117
117
  nextBtnText: string;
118
118
  prevBtnText: string;
@@ -97,22 +97,22 @@ 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
100
  close: (currentStep: number) => any;
101
+ error: (error: unknown) => any;
102
102
  start: () => 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
107
  onClose?: ((currentStep: number) => any) | undefined;
108
+ onError?: ((error: unknown) => any) | undefined;
109
109
  onStart?: (() => 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
- keyboard: boolean;
115
114
  steps: GuideStep[];
115
+ keyboard: boolean;
116
116
  doneBtnText: string;
117
117
  nextBtnText: string;
118
118
  prevBtnText: string;
@@ -30,29 +30,29 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
30
30
  errorMessage: Readonly<vue.Ref<string, string>>;
31
31
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
32
32
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
33
- click: (event: MouseEvent | KeyboardEvent) => any;
34
33
  error: (type: string, error?: unknown) => any;
34
+ click: (event: MouseEvent | KeyboardEvent) => any;
35
35
  load: () => any;
36
36
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
37
- onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
38
37
  onError?: ((type: string, error?: unknown) => any) | undefined;
38
+ onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
- type: "iconify" | "unocss" | "component" | "svg" | "image";
42
- ariaLabel: string;
43
41
  size: number | string;
42
+ type: "iconify" | "unocss" | "component" | "svg" | "image";
43
+ title: string;
44
+ loading: boolean;
44
45
  color: string;
46
+ flip: "horizontal" | "vertical" | "both";
47
+ ariaLabel: string;
48
+ rotate: number;
45
49
  svgPath: string;
46
50
  viewBox: string;
47
51
  alt: string;
48
52
  clickable: boolean;
49
- loading: boolean;
50
53
  fallbackIcon: string;
51
54
  loadTimeout: number;
52
- title: string;
53
55
  customClass: string;
54
- rotate: number;
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;
@@ -30,29 +30,29 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
30
30
  errorMessage: Readonly<vue.Ref<string, string>>;
31
31
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
32
32
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
33
- click: (event: MouseEvent | KeyboardEvent) => any;
34
33
  error: (type: string, error?: unknown) => any;
34
+ click: (event: MouseEvent | KeyboardEvent) => any;
35
35
  load: () => any;
36
36
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
37
- onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
38
37
  onError?: ((type: string, error?: unknown) => any) | undefined;
38
+ onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
- type: "iconify" | "unocss" | "component" | "svg" | "image";
42
- ariaLabel: string;
43
41
  size: number | string;
42
+ type: "iconify" | "unocss" | "component" | "svg" | "image";
43
+ title: string;
44
+ loading: boolean;
44
45
  color: string;
46
+ flip: "horizontal" | "vertical" | "both";
47
+ ariaLabel: string;
48
+ rotate: number;
45
49
  svgPath: string;
46
50
  viewBox: string;
47
51
  alt: string;
48
52
  clickable: boolean;
49
- loading: boolean;
50
53
  fallbackIcon: string;
51
54
  loadTimeout: number;
52
- title: string;
53
55
  customClass: string;
54
- rotate: number;
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;
@@ -25,8 +25,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
25
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
26
  onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
- modelValue: string;
29
28
  options: LegacyLanguageOption[];
29
+ modelValue: string;
30
30
  tooltip: string;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
@@ -25,8 +25,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
25
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
26
  onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
- modelValue: string;
29
28
  options: LegacyLanguageOption[];
29
+ modelValue: string;
30
30
  tooltip: string;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  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;
@@ -41,9 +41,9 @@ 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
+ save: (text: string, html: string) => any;
44
45
  "update:modelValue": (value: string) => any;
45
46
  change: (text: string, html: string) => any;
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;
49
49
  "copy-code-success": (text: string) => any;
@@ -51,9 +51,9 @@ 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
+ onSave?: ((text: string, html: string) => any) | undefined;
54
55
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
55
56
  onChange?: ((text: string, html: string) => any) | undefined;
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;
59
59
  "onCopy-code-success"?: ((text: string) => any) | undefined;
@@ -61,18 +61,18 @@ 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
- modelValue: string;
65
64
  disabled: boolean;
66
- height: string | number;
67
65
  mode: "edit" | "editable" | "preview";
66
+ modelValue: string;
68
67
  placeholder: string;
68
+ height: string | number;
69
+ maxLength: number;
69
70
  tocNavPosition: "left" | "right";
70
71
  defaultFullscreen: boolean;
71
72
  autofocus: boolean;
72
73
  includeLevel: number[];
73
74
  leftToolbar: string;
74
75
  rightToolbar: string;
75
- maxLength: number;
76
76
  showWordCount: boolean;
77
77
  autoSave: boolean;
78
78
  autoSaveInterval: number;
@@ -41,9 +41,9 @@ 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
+ save: (text: string, html: string) => any;
44
45
  "update:modelValue": (value: string) => any;
45
46
  change: (text: string, html: string) => any;
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;
49
49
  "copy-code-success": (text: string) => any;
@@ -51,9 +51,9 @@ 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
+ onSave?: ((text: string, html: string) => any) | undefined;
54
55
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
55
56
  onChange?: ((text: string, html: string) => any) | undefined;
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;
59
59
  "onCopy-code-success"?: ((text: string) => any) | undefined;
@@ -61,18 +61,18 @@ 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
- modelValue: string;
65
64
  disabled: boolean;
66
- height: string | number;
67
65
  mode: "edit" | "editable" | "preview";
66
+ modelValue: string;
68
67
  placeholder: string;
68
+ height: string | number;
69
+ maxLength: number;
69
70
  tocNavPosition: "left" | "right";
70
71
  defaultFullscreen: boolean;
71
72
  autofocus: boolean;
72
73
  includeLevel: number[];
73
74
  leftToolbar: string;
74
75
  rightToolbar: string;
75
- maxLength: number;
76
76
  showWordCount: boolean;
77
77
  autoSave: boolean;
78
78
  autoSaveInterval: number;
@@ -37,7 +37,8 @@ interface MenuEmits {
37
37
  }
38
38
  interface MenuExpose {
39
39
  showOption: (key: string) => void;
40
- menuRef: Ref<MenuInst | null>;
40
+ /** Vue 公开实例会解包顶层 Ref。 */
41
+ menuRef: MenuInst | null;
41
42
  }
42
43
  //#endregion
43
44
  //#region src/components/C_Menu/index.vue.d.ts
@@ -47,19 +48,19 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
47
48
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
48
49
  "update:modelValue": (key: MenuValue) => any;
49
50
  select: (key: string) => any;
51
+ "update:expandedKeys": (keys: string[]) => any;
50
52
  intent: (key: string) => any;
51
53
  "update:value": (key: MenuValue) => any;
52
- "update:expandedKeys": (keys: string[]) => any;
53
54
  }, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
54
55
  "onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
55
56
  onSelect?: ((key: string) => any) | undefined;
57
+ "onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
56
58
  onIntent?: ((key: string) => any) | undefined;
57
59
  "onUpdate:value"?: ((key: MenuValue) => any) | undefined;
58
- "onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
59
60
  }>, {
60
61
  mode: "vertical" | "horizontal";
61
- indent: number;
62
62
  defaultExpandedKeys: string[];
63
+ indent: number;
63
64
  collapsed: boolean;
64
65
  collapsedWidth: number;
65
66
  collapsedIconSize: number;
@@ -72,11 +72,11 @@ 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;
79
77
  overlap: number;
78
+ direction: "ltr" | "rtl";
79
+ clickable: boolean;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -72,11 +72,11 @@ 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;
79
77
  overlap: number;
78
+ direction: "ltr" | "rtl";
79
+ clickable: boolean;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -81,9 +81,8 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
83
  direction: OrgChartDirection;
84
- collapsible: boolean;
85
- lineStyle: OrgChartLineStyle;
86
84
  lineColor: string;
85
+ lineStyle: OrgChartLineStyle;
87
86
  lineWidth: number;
88
87
  nodeSpacing: number;
89
88
  levelSpacing: number;
@@ -93,6 +92,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
93
92
  fitOnInit: boolean;
94
93
  minZoom: number;
95
94
  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;
@@ -81,9 +81,8 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
83
  direction: OrgChartDirection;
84
- collapsible: boolean;
85
- lineStyle: OrgChartLineStyle;
86
84
  lineColor: string;
85
+ lineStyle: OrgChartLineStyle;
87
86
  lineWidth: number;
88
87
  nodeSpacing: number;
89
88
  levelSpacing: number;
@@ -93,6 +92,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
93
92
  fitOnInit: boolean;
94
93
  minZoom: number;
95
94
  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;
@@ -34,9 +34,9 @@ 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
- status: "default" | "success" | "error" | "warning" | "info";
39
37
  strokeWidth: number;
38
+ status: "default" | "success" | "error" | "warning" | "info";
39
+ time: number;
40
40
  percentage: number | number[];
41
41
  isAnimation: boolean;
42
42
  indicatorPlacement: "inside" | "outside";
@@ -34,9 +34,9 @@ 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
- status: "default" | "success" | "error" | "warning" | "info";
39
37
  strokeWidth: number;
38
+ status: "default" | "success" | "error" | "warning" | "info";
39
+ time: number;
40
40
  percentage: number | number[];
41
41
  isAnimation: boolean;
42
42
  indicatorPlacement: "inside" | "outside";
@@ -86,11 +86,11 @@ type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_1) => any;
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
- loading: boolean;
90
89
  repeat: number;
90
+ loading: boolean;
91
91
  preset: SkeletonPreset;
92
- animation: SkeletonAnimation;
93
92
  borderRadius: string;
93
+ animation: SkeletonAnimation;
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;
@@ -86,11 +86,11 @@ type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_1) => any;
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
- loading: boolean;
90
89
  repeat: number;
90
+ loading: boolean;
91
91
  preset: SkeletonPreset;
92
- animation: SkeletonAnimation;
93
92
  borderRadius: string;
93
+ animation: SkeletonAnimation;
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;
@@ -652,13 +652,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
652
652
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
653
653
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
654
654
  }>, {
655
- data: GanttTask[];
655
+ options: GanttOptions;
656
656
  title: string;
657
+ preset: GanttPreset;
658
+ theme: "light" | "dark";
657
659
  height: string | number;
658
- options: GanttOptions;
660
+ data: GanttTask[];
659
661
  showToolbar: boolean;
660
- theme: "light" | "dark";
661
- preset: GanttPreset;
662
662
  showFullscreenButton: boolean;
663
663
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
664
664
  declare const _default: typeof __VLS_export;
@@ -652,13 +652,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
652
652
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
653
653
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
654
654
  }>, {
655
- data: GanttTask[];
655
+ options: GanttOptions;
656
656
  title: string;
657
+ preset: GanttPreset;
658
+ theme: "light" | "dark";
657
659
  height: string | number;
658
- options: GanttOptions;
660
+ data: GanttTask[];
659
661
  showToolbar: boolean;
660
- theme: "light" | "dark";
661
- preset: GanttPreset;
662
662
  showFullscreenButton: boolean;
663
663
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
664
664
  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;
89
88
  homePath: string;
90
89
  homeTitle: string;
91
90
  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;
89
88
  homePath: string;
90
89
  homeTitle: string;
91
90
  homeIcon: string;
91
+ persistKey: string;
92
92
  contextMenuLabels: LegacyContextMenuLabels;
93
93
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
94
  declare const _default: typeof __VLS_export;