@robot-admin/naive-ui-components 0.26.0 → 0.27.0

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 (177) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +7 -11
  3. package/README_EN.md +6 -8
  4. package/dist/C_Form.base.css +31 -13
  5. package/dist/C_Form.css +31 -13
  6. package/dist/C_Form.d.cts +3 -2
  7. package/dist/C_Form.d.ts +3 -19
  8. package/dist/C_FormModal.d.cts +1 -1
  9. package/dist/C_FormModal.d.ts +2 -17
  10. package/dist/C_FormSearch.css +79 -79
  11. package/dist/C_FormSearch.d.cts +2 -1
  12. package/dist/C_FormSearch.d.ts +2 -2
  13. package/dist/C_FormulaEditor.d.cts +1 -1
  14. package/dist/C_FormulaEditor.d.ts +1 -1
  15. package/dist/C_Guide.d.cts +1 -1
  16. package/dist/C_Guide.d.ts +1 -1
  17. package/dist/C_Icon.d.cts +1 -1
  18. package/dist/C_Icon.d.ts +1 -1
  19. package/dist/C_Language.d.cts +1 -1
  20. package/dist/C_Language.d.ts +1 -1
  21. package/dist/C_Loading.d.cts +1 -1
  22. package/dist/C_Loading.d.ts +1 -1
  23. package/dist/C_Login.d.cts +1 -1
  24. package/dist/C_Login.d.ts +1 -1
  25. package/dist/C_Markdown.d.cts +1 -1
  26. package/dist/C_Markdown.d.ts +1 -1
  27. package/dist/C_Menu.d.ts +1 -1
  28. package/dist/C_OrgChart.d.cts +1 -1
  29. package/dist/C_OrgChart.d.ts +1 -1
  30. package/dist/C_Progress.d.cts +1 -1
  31. package/dist/C_Progress.d.ts +1 -1
  32. package/dist/C_SectionNav.d.cts +1 -1
  33. package/dist/C_SectionNav.d.ts +1 -1
  34. package/dist/C_Skeleton.d.cts +1 -1
  35. package/dist/C_Skeleton.d.ts +1 -1
  36. package/dist/C_Steps.d.cts +1 -1
  37. package/dist/C_Steps.d.ts +1 -1
  38. package/dist/C_Table.base.css +140 -135
  39. package/dist/C_Table.css +109 -122
  40. package/dist/C_Table.d.cts +1 -1
  41. package/dist/C_Table.d.ts +7 -5
  42. package/dist/C_Table2.cjs +3 -3
  43. package/dist/C_Table2.js +3 -3
  44. package/dist/C_TagsView.d.cts +1 -1
  45. package/dist/C_TagsView.d.ts +1 -1
  46. package/dist/C_Theme.d.cts +1 -1
  47. package/dist/C_Theme.d.ts +1 -1
  48. package/dist/C_Timeline.d.cts +1 -1
  49. package/dist/C_Timeline.d.ts +1 -1
  50. package/dist/C_Transfer.d.cts +1 -1
  51. package/dist/C_Transfer.d.ts +1 -1
  52. package/dist/C_Tree.d.cts +1 -1
  53. package/dist/C_Tree.d.ts +7 -5
  54. package/dist/C_Upload.d.cts +1 -1
  55. package/dist/C_Upload.d.ts +1 -1
  56. package/dist/config.cjs +1 -1
  57. package/dist/config.d.cts +1 -4
  58. package/dist/config.d.ts +1 -4
  59. package/dist/config.js +1 -1
  60. package/dist/constants2.d.cts +173 -402
  61. package/dist/constants2.d.ts +173 -402
  62. package/dist/constants3.d.cts +3 -3
  63. package/dist/constants3.d.ts +3 -3
  64. package/dist/constants4.d.cts +402 -173
  65. package/dist/constants4.d.ts +402 -173
  66. package/dist/constants5.d.cts +2 -2
  67. package/dist/constants5.d.ts +2 -2
  68. package/dist/data.cjs +1 -1
  69. package/dist/data.d.cts +1 -2
  70. package/dist/data.d.ts +1 -2
  71. package/dist/data.js +1 -1
  72. package/dist/data2.d.cts +9 -9
  73. package/dist/data2.d.ts +9 -9
  74. package/dist/dateRange.d.cts +3 -2
  75. package/dist/dateRange.d.ts +3 -2
  76. package/dist/helpers.cjs +1 -1
  77. package/dist/helpers.js +1 -1
  78. package/dist/index.cjs +1 -1
  79. package/dist/index.d.cts +34 -34
  80. package/dist/index.d.ts +41 -42
  81. package/dist/index.js +1 -1
  82. package/dist/index.vue.d.cts +4 -4
  83. package/dist/index.vue.d.ts +4 -4
  84. package/dist/index10.vue.d.cts +4 -4
  85. package/dist/index10.vue.d.ts +4 -4
  86. package/dist/index11.vue.d.cts +4 -4
  87. package/dist/index11.vue.d.ts +7 -6
  88. package/dist/index12.vue.d.cts +7 -6
  89. package/dist/index13.vue.d.ts +5 -5
  90. package/dist/index14.vue.d.cts +5 -5
  91. package/dist/index15.vue.d.ts +52 -54
  92. package/dist/index16.vue.d.cts +52 -54
  93. package/dist/index16.vue.d.ts +125 -13
  94. package/dist/index17.vue.d.cts +125 -13
  95. package/dist/index17.vue.d.ts +51 -123
  96. package/dist/index18.vue.d.cts +51 -123
  97. package/dist/index18.vue.d.ts +26 -47
  98. package/dist/index19.vue.d.cts +26 -47
  99. package/dist/index19.vue.d.ts +13 -38
  100. package/dist/index2.vue.d.cts +3 -3
  101. package/dist/index2.vue.d.ts +3 -3
  102. package/dist/index20.vue.d.cts +13 -38
  103. package/dist/index20.vue.d.ts +128 -11
  104. package/dist/index21.vue.d.cts +128 -11
  105. package/dist/index21.vue.d.ts +75 -25
  106. package/dist/index22.vue.d.cts +75 -25
  107. package/dist/index22.vue.d.ts +72 -78
  108. package/dist/index23.vue.d.cts +97 -75
  109. package/dist/index23.vue.d.ts +96 -68
  110. package/dist/index24.vue.d.cts +47 -89
  111. package/dist/index24.vue.d.ts +47 -89
  112. package/dist/index25.vue.d.cts +19 -127
  113. package/dist/index25.vue.d.ts +19 -127
  114. package/dist/index26.vue.d.cts +87 -94
  115. package/dist/index26.vue.d.ts +87 -94
  116. package/dist/index27.vue.d.cts +36 -66
  117. package/dist/index27.vue.d.ts +36 -66
  118. package/dist/index28.vue.d.cts +12 -96
  119. package/dist/index28.vue.d.ts +12 -96
  120. package/dist/index29.vue.d.cts +85 -94
  121. package/dist/index29.vue.d.ts +85 -94
  122. package/dist/index3.vue.d.cts +5 -5
  123. package/dist/index3.vue.d.ts +5 -5
  124. package/dist/index30.vue.d.cts +103 -21
  125. package/dist/index30.vue.d.ts +103 -21
  126. package/dist/index31.vue.d.cts +75 -0
  127. package/dist/index31.vue.d.ts +75 -0
  128. package/dist/index5.vue.d.cts +3 -3
  129. package/dist/index7.vue.d.ts +1 -1
  130. package/dist/index8.vue.d.cts +1 -1
  131. package/dist/index9.vue.d.ts +4 -4
  132. package/dist/mapUtils.d.cts +1 -1
  133. package/dist/mapUtils.d.ts +1 -1
  134. package/dist/options.cjs +1 -0
  135. package/dist/options.d.cts +9 -0
  136. package/dist/options.js +1 -0
  137. package/dist/serializeSearch.cjs +1 -1
  138. package/dist/serializeSearch.js +1 -1
  139. package/dist/style.css +219 -214
  140. package/dist/useCollapsePanel.d.cts +4 -4
  141. package/dist/useCollapsePanel.d.ts +4 -4
  142. package/dist/useComponentLocale.cjs +1 -1
  143. package/dist/useComponentLocale.js +1 -1
  144. package/dist/useCropperCore.d.cts +3 -3
  145. package/dist/useCropperCore.d.ts +3 -3
  146. package/dist/useDynamicFormState.d.cts +11 -969
  147. package/dist/useDynamicFormState.d.ts +11 -959
  148. package/dist/useEdgeInteraction.d.cts +1 -1
  149. package/dist/useEdgeInteraction.d.ts +1 -1
  150. package/dist/useFormConfig.d.cts +5 -5
  151. package/dist/useFormConfig.d.ts +13 -6
  152. package/dist/useFullscreen.d.cts +2 -2
  153. package/dist/useFullscreen.d.ts +2 -2
  154. package/dist/useInfiniteScroll.d.cts +2 -2
  155. package/dist/useInfiniteScroll.d.ts +2 -2
  156. package/dist/useQRCode.d.cts +5 -5
  157. package/dist/useQRCode.d.ts +5 -5
  158. package/dist/useSignatureHistory.d.cts +5 -5
  159. package/dist/useSignatureHistory.d.ts +5 -5
  160. package/dist/useSplitResize.d.cts +8 -8
  161. package/dist/useSplitResize.d.ts +8 -8
  162. package/dist/useTableQuery.d.cts +899 -0
  163. package/dist/useTableQuery.d.ts +889 -0
  164. package/dist/useWorkflowValidation.d.cts +1 -1
  165. package/dist/useWorkflowValidation.d.ts +1 -1
  166. package/dist/verification.d.cts +5 -5
  167. package/dist/verification.d.ts +5 -5
  168. package/docs/guides/data-workflows.md +8 -48
  169. package/docs/guides/search-workflows.md +3 -5
  170. package/docs/guides/table-density.md +9 -1
  171. package/package.json +1 -1
  172. package/dist/dictionary.cjs +0 -1
  173. package/dist/dictionary.d.cts +0 -47
  174. package/dist/dictionary.d.ts +0 -47
  175. package/dist/dictionary.js +0 -1
  176. package/dist/useDictionary.cjs +0 -1
  177. package/dist/useDictionary.js +0 -1
@@ -264,11 +264,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
264
264
  onReady?: ((graph: Graph) => any) | undefined;
265
265
  "onData-change"?: ((data: DiagramData) => any) | undefined;
266
266
  }>, {
267
+ theme: "light" | "dark";
267
268
  width: string | number;
268
269
  height: string | number;
269
270
  readonly: boolean;
270
271
  showToolbar: boolean;
271
- theme: "light" | "dark";
272
272
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
273
273
  declare const _default: typeof __VLS_export;
274
274
  //#endregion
@@ -264,11 +264,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
264
264
  onReady?: ((graph: Graph) => any) | undefined;
265
265
  "onData-change"?: ((data: DiagramData) => any) | undefined;
266
266
  }>, {
267
+ theme: "light" | "dark";
267
268
  width: string | number;
268
269
  height: string | number;
269
270
  readonly: boolean;
270
271
  showToolbar: boolean;
271
- theme: "light" | "dark";
272
272
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
273
273
  declare const _default: typeof __VLS_export;
274
274
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { n as ComponentLocale, t as ComponentFeedback } from "./contracts.cjs";
2
- import { t as DictionaryBinding } from "./dictionary.cjs";
2
+ import { t as OptionsState } from "./options.cjs";
3
3
  import { t as ComponentDensity } from "./density.cjs";
4
4
  import { CSSProperties, ComputedRef, DeepReadonly, VNode } from "vue";
5
5
  import { FormInst, FormItemRule } from "naive-ui";
@@ -288,9 +288,9 @@ interface FormOptionBase<T extends object> {
288
288
  placeholder?: string;
289
289
  rules?: readonly FormValidationRule[];
290
290
  attrs?: Record<string, unknown>;
291
+ /** 外部受控选项状态;仅呈现,不触发或订阅外部数据源。 */
292
+ optionsState?: OptionsState;
291
293
  children?: OptionItem[];
292
- /** 应用字典名称或直接选项源;asyncOptions、显式 children 优先。 */
293
- dictionary?: DictionaryBinding;
294
294
  show?: boolean;
295
295
  layout?: ItemLayoutConfig;
296
296
  help?: string;
@@ -365,8 +365,8 @@ interface FormInstance<T extends object = FormRecord> {
365
365
  asyncLoadingMap: Record<string, boolean>;
366
366
  /** 字段异步选项加载错误 */
367
367
  asyncErrorMap: Record<string, unknown>;
368
- /** 当前字段字典加载错误;不修改模型,不等同于业务校验错误。 */
369
- getDictionaryError(field: FieldPath<T>): unknown;
368
+ /** 当前选项加载错误;不修改模型,不等同于业务校验错误。 */
369
+ getOptionsError(field: FieldPath<T>): unknown;
370
370
  /** 重新加载全部或指定字段的异步选项 */
371
371
  reloadOptions(field?: FieldPath<T>): Promise<void>;
372
372
  /** 是否正在提交 */
@@ -1,10 +1,17 @@
1
1
  import { n as ComponentLocale, t as ComponentFeedback } from "./contracts.js";
2
- import { t as DictionaryBinding } from "./dictionary.js";
3
2
  import { t as ComponentDensity } from "./density.js";
4
3
  import { CSSProperties, ComputedRef, DeepReadonly, VNode } from "vue";
5
4
  import { FormInst, FormItemRule } from "naive-ui";
6
5
  import { NAIVE_COMBOS, NaiveRule, PRESET_RULES, RuleSpec, RuleSpec as RuleSpec$1, SPEC_RULES } from "@robot-admin/form-validate";
7
6
 
7
+ //#region src/core/options.d.ts
8
+ /** 受控选项状态:组件只呈现传入值,不识别数据来源或管理外部请求。 */
9
+ interface OptionsState {
10
+ loading?: boolean;
11
+ error?: unknown;
12
+ retry?: () => void | Promise<unknown>;
13
+ }
14
+ //#endregion
8
15
  //#region src/components/C_Form/utils/formValidation.d.ts
9
16
  /** 原生规则、验证库规则和框架无关规则均可直接作为字段配置。 */
10
17
  type FormValidationRule = FormItemRule | NaiveRule | RuleSpec;
@@ -288,9 +295,9 @@ interface FormOptionBase<T extends object> {
288
295
  placeholder?: string;
289
296
  rules?: readonly FormValidationRule[];
290
297
  attrs?: Record<string, unknown>;
298
+ /** 外部受控选项状态;仅呈现,不触发或订阅外部数据源。 */
299
+ optionsState?: OptionsState;
291
300
  children?: OptionItem[];
292
- /** 应用字典名称或直接选项源;asyncOptions、显式 children 优先。 */
293
- dictionary?: DictionaryBinding;
294
301
  show?: boolean;
295
302
  layout?: ItemLayoutConfig;
296
303
  help?: string;
@@ -365,8 +372,8 @@ interface FormInstance<T extends object = FormRecord> {
365
372
  asyncLoadingMap: Record<string, boolean>;
366
373
  /** 字段异步选项加载错误 */
367
374
  asyncErrorMap: Record<string, unknown>;
368
- /** 当前字段字典加载错误;不修改模型,不等同于业务校验错误。 */
369
- getDictionaryError(field: FieldPath<T>): unknown;
375
+ /** 当前选项加载错误;不修改模型,不等同于业务校验错误。 */
376
+ getOptionsError(field: FieldPath<T>): unknown;
370
377
  /** 重新加载全部或指定字段的异步选项 */
371
378
  reloadOptions(field?: FieldPath<T>): Promise<void>;
372
379
  /** 是否正在提交 */
@@ -589,4 +596,4 @@ declare function resolveFormConfig(config?: FormConfig): ResolvedFormConfig;
589
596
  */
590
597
  declare function shouldShowActions(resolved: ResolvedFormConfig): boolean;
591
598
  //#endregion
592
- export { FormTabActionsSlotProps as A, TabsLayoutConfig as B, FormMode as C, FormSlots as D, FormRecord as E, LayoutType as F, SPEC_RULES as G, NAIVE_COMBOS as H, MaybePromise as I, OptionItem as L, InlineLayoutConfig as M, LabelPlacement as N, FormStepActionsSlotProps as O, LayoutConfig as P, StepsLayoutConfig as R, FormInstance as S, FormOption as T, PRESET_RULES as U, FormValidationRule as V, RuleSpec$1 as W, DynamicFormState as _, ResolvedFormConfig as a, FormActionSlotProps as b, shouldShowActions as c, CardLayoutConfig as d, ComponentType as f, DynamicFormController as g, DynamicFormConfig as h, LayoutCallbacks as i, GridLayoutConfig as j, FormSubmitContext as k, useFormGlobalConfig as l, DynamicFieldConfig as m, FormConfig as n, mergeFormConfig as o, CustomLayoutConfig as p, LAYOUTS_WITH_OWN_CONTROLS as r, resolveFormConfig as s, FORM_DEFAULTS as t, AsyncOptionsContext as u, FieldPath as v, FormModel as w, FormErrorContext as x, FieldPathValue as y, SubmitEventPayload as z };
599
+ export { FormTabActionsSlotProps as A, TabsLayoutConfig as B, FormMode as C, FormSlots as D, FormRecord as E, LayoutType as F, SPEC_RULES as G, NAIVE_COMBOS as H, MaybePromise as I, OptionsState as K, OptionItem as L, InlineLayoutConfig as M, LabelPlacement as N, FormStepActionsSlotProps as O, LayoutConfig as P, StepsLayoutConfig as R, FormInstance as S, FormOption as T, PRESET_RULES as U, FormValidationRule as V, RuleSpec$1 as W, DynamicFormState as _, ResolvedFormConfig as a, FormActionSlotProps as b, shouldShowActions as c, CardLayoutConfig as d, ComponentType as f, DynamicFormController as g, DynamicFormConfig as h, LayoutCallbacks as i, GridLayoutConfig as j, FormSubmitContext as k, useFormGlobalConfig as l, DynamicFieldConfig as m, FormConfig as n, mergeFormConfig as o, CustomLayoutConfig as p, LAYOUTS_WITH_OWN_CONTROLS as r, resolveFormConfig as s, FORM_DEFAULTS as t, AsyncOptionsContext as u, FieldPath as v, FormModel as w, FormErrorContext as x, FieldPathValue as y, SubmitEventPayload as z };
@@ -94,11 +94,11 @@ interface ExcelLoadResult {
94
94
  //#endregion
95
95
  //#region src/components/C_FilePreview/index.vue.d.ts
96
96
  declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
97
- download: (file: string | File) => any;
98
97
  preview: (file: string | File) => any;
98
+ download: (file: string | File) => any;
99
99
  }, string, vue.PublicProps, Readonly<FilePreviewProps> & Readonly<{
100
- onDownload?: ((file: string | File) => any) | undefined;
101
100
  onPreview?: ((file: string | File) => any) | undefined;
101
+ onDownload?: ((file: string | File) => any) | undefined;
102
102
  }>, {
103
103
  inline: boolean;
104
104
  fileName: string;
@@ -94,11 +94,11 @@ interface ExcelLoadResult {
94
94
  //#endregion
95
95
  //#region src/components/C_FilePreview/index.vue.d.ts
96
96
  declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
97
- download: (file: string | File) => any;
98
97
  preview: (file: string | File) => any;
98
+ download: (file: string | File) => any;
99
99
  }, string, vue.PublicProps, Readonly<FilePreviewProps> & Readonly<{
100
- onDownload?: ((file: string | File) => any) | undefined;
101
100
  onPreview?: ((file: string | File) => any) | undefined;
101
+ onDownload?: ((file: string | File) => any) | undefined;
102
102
  }>, {
103
103
  inline: boolean;
104
104
  fileName: string;
@@ -87,10 +87,10 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
87
87
  "onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
88
88
  "onImage-error"?: ((item: WaterFallItem) => any) | undefined;
89
89
  }>, {
90
+ virtualScroll: boolean;
90
91
  loading: boolean;
91
- gap: number;
92
92
  columns: number;
93
- virtualScroll: boolean;
93
+ gap: number;
94
94
  lazy: boolean;
95
95
  infinite: boolean;
96
96
  skeleton: boolean;
@@ -87,10 +87,10 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
87
87
  "onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
88
88
  "onImage-error"?: ((item: WaterFallItem) => any) | undefined;
89
89
  }>, {
90
+ virtualScroll: boolean;
90
91
  loading: boolean;
91
- gap: number;
92
92
  columns: number;
93
- virtualScroll: boolean;
93
+ gap: number;
94
94
  lazy: boolean;
95
95
  infinite: boolean;
96
96
  skeleton: boolean;
@@ -50,16 +50,16 @@ 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
- color: string;
54
53
  mode: RenderMode;
55
- size: number;
54
+ showBorder: boolean;
56
55
  label: string;
56
+ showLabel: boolean;
57
+ size: number;
58
+ color: string;
59
+ margin: number;
57
60
  bgColor: string;
58
61
  errorCorrectionLevel: ErrorCorrectionLevel;
59
- margin: number;
60
62
  logo: LogoOptions;
61
- showBorder: boolean;
62
- showLabel: boolean;
63
63
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
64
64
  declare const _default: typeof __VLS_export;
65
65
  //#endregion
@@ -50,16 +50,16 @@ 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
- color: string;
54
53
  mode: RenderMode;
55
- size: number;
54
+ showBorder: boolean;
56
55
  label: string;
56
+ showLabel: boolean;
57
+ size: number;
58
+ color: string;
59
+ margin: number;
57
60
  bgColor: string;
58
61
  errorCorrectionLevel: ErrorCorrectionLevel;
59
- margin: number;
60
62
  logo: LogoOptions;
61
- showBorder: boolean;
62
- showLabel: boolean;
63
63
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
64
64
  declare const _default: typeof __VLS_export;
65
65
  //#endregion
@@ -92,29 +92,29 @@ interface SignatureEmits {
92
92
  //#endregion
93
93
  //#region src/components/C_Signature/index.vue.d.ts
94
94
  declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
95
+ error: (error: Error) => any;
96
+ change: (data: SignatureStroke[]) => any;
95
97
  clear: () => any;
96
98
  "start-draw": () => any;
97
99
  drawing: (point: SignaturePoint) => any;
98
100
  "end-draw": (stroke: SignatureStroke) => any;
99
101
  undo: () => any;
100
102
  redo: () => any;
101
- change: (data: SignatureStroke[]) => any;
102
- error: (error: Error) => any;
103
103
  }, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
104
+ onError?: ((error: Error) => any) | undefined;
105
+ onChange?: ((data: SignatureStroke[]) => any) | undefined;
104
106
  onClear?: (() => any) | undefined;
105
107
  "onStart-draw"?: (() => any) | undefined;
106
108
  onDrawing?: ((point: SignaturePoint) => any) | undefined;
107
109
  "onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
108
110
  onUndo?: (() => any) | undefined;
109
111
  onRedo?: (() => any) | undefined;
110
- onChange?: ((data: SignatureStroke[]) => any) | undefined;
111
- onError?: ((error: Error) => any) | undefined;
112
112
  }>, {
113
113
  width: number | string;
114
114
  height: number | string;
115
- disabled: boolean;
116
115
  readonly: boolean;
117
116
  showToolbar: boolean;
117
+ disabled: boolean;
118
118
  maxHistory: number;
119
119
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
120
120
  declare const _default: typeof __VLS_export;
@@ -92,29 +92,29 @@ interface SignatureEmits {
92
92
  //#endregion
93
93
  //#region src/components/C_Signature/index.vue.d.ts
94
94
  declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
95
+ error: (error: Error) => any;
96
+ change: (data: SignatureStroke[]) => any;
95
97
  clear: () => any;
96
98
  "start-draw": () => any;
97
99
  drawing: (point: SignaturePoint) => any;
98
100
  "end-draw": (stroke: SignatureStroke) => any;
99
101
  undo: () => any;
100
102
  redo: () => any;
101
- change: (data: SignatureStroke[]) => any;
102
- error: (error: Error) => any;
103
103
  }, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
104
+ onError?: ((error: Error) => any) | undefined;
105
+ onChange?: ((data: SignatureStroke[]) => any) | undefined;
104
106
  onClear?: (() => any) | undefined;
105
107
  "onStart-draw"?: (() => any) | undefined;
106
108
  onDrawing?: ((point: SignaturePoint) => any) | undefined;
107
109
  "onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
108
110
  onUndo?: (() => any) | undefined;
109
111
  onRedo?: (() => any) | undefined;
110
- onChange?: ((data: SignatureStroke[]) => any) | undefined;
111
- onError?: ((error: Error) => any) | undefined;
112
112
  }>, {
113
113
  width: number | string;
114
114
  height: number | string;
115
- disabled: boolean;
116
115
  readonly: boolean;
117
116
  showToolbar: boolean;
117
+ disabled: boolean;
118
118
  maxHistory: number;
119
119
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
120
120
  declare const _default: typeof __VLS_export;
@@ -55,31 +55,31 @@ type __VLS_Slots = {
55
55
  second(props: PanelInfo): unknown;
56
56
  };
57
57
  declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
58
- "drag-start": (size: number) => any;
59
- "drag-end": (size: number) => any;
58
+ resize: (firstSize: number, secondSize: number) => any;
60
59
  expand: (target: CollapseTarget) => any;
61
60
  collapse: (target: CollapseTarget) => any;
62
- resize: (firstSize: number, secondSize: number) => any;
63
61
  "update:size": (size: number) => any;
62
+ "drag-start": (size: number) => any;
63
+ "drag-end": (size: number) => any;
64
64
  }, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
65
- "onDrag-start"?: ((size: number) => any) | undefined;
66
- "onDrag-end"?: ((size: number) => any) | undefined;
65
+ onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
67
66
  onExpand?: ((target: CollapseTarget) => any) | undefined;
68
67
  onCollapse?: ((target: CollapseTarget) => any) | undefined;
69
- onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
70
68
  "onUpdate:size"?: ((size: number) => any) | undefined;
69
+ "onDrag-start"?: ((size: number) => any) | undefined;
70
+ "onDrag-end"?: ((size: number) => any) | undefined;
71
71
  }>, {
72
- disabled: boolean;
73
72
  direction: SplitDirection;
73
+ disabled: boolean;
74
74
  maxSize: number;
75
75
  collapsible: boolean;
76
- step: number;
77
76
  defaultSize: number;
78
77
  minSize: number;
79
78
  minFirstSize: number;
80
79
  minSecondSize: number;
81
80
  showCollapseButton: boolean;
82
81
  gutterSize: number;
82
+ step: number;
83
83
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
84
84
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
85
85
  declare const _default: typeof __VLS_export;
@@ -55,31 +55,31 @@ type __VLS_Slots = {
55
55
  second(props: PanelInfo): unknown;
56
56
  };
57
57
  declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
58
- "drag-start": (size: number) => any;
59
- "drag-end": (size: number) => any;
58
+ resize: (firstSize: number, secondSize: number) => any;
60
59
  expand: (target: CollapseTarget) => any;
61
60
  collapse: (target: CollapseTarget) => any;
62
- resize: (firstSize: number, secondSize: number) => any;
63
61
  "update:size": (size: number) => any;
62
+ "drag-start": (size: number) => any;
63
+ "drag-end": (size: number) => any;
64
64
  }, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
65
- "onDrag-start"?: ((size: number) => any) | undefined;
66
- "onDrag-end"?: ((size: number) => any) | undefined;
65
+ onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
67
66
  onExpand?: ((target: CollapseTarget) => any) | undefined;
68
67
  onCollapse?: ((target: CollapseTarget) => any) | undefined;
69
- onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
70
68
  "onUpdate:size"?: ((size: number) => any) | undefined;
69
+ "onDrag-start"?: ((size: number) => any) | undefined;
70
+ "onDrag-end"?: ((size: number) => any) | undefined;
71
71
  }>, {
72
- disabled: boolean;
73
72
  direction: SplitDirection;
73
+ disabled: boolean;
74
74
  maxSize: number;
75
75
  collapsible: boolean;
76
- step: number;
77
76
  defaultSize: number;
78
77
  minSize: number;
79
78
  minFirstSize: number;
80
79
  minSecondSize: number;
81
80
  showCollapseButton: boolean;
82
81
  gutterSize: number;
82
+ step: number;
83
83
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
84
84
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
85
85
  declare const _default: typeof __VLS_export;