@robot-admin/naive-ui-components 0.28.0 → 0.29.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 (106) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +4 -12
  3. package/README_EN.md +4 -12
  4. package/dist/C_DataPicker.css +23 -13
  5. package/dist/C_DataPicker.d.cts +2 -2
  6. package/dist/C_DataPicker.d.ts +2 -2
  7. package/dist/C_DataPicker2.cjs +1 -1
  8. package/dist/C_DataPicker2.js +1 -1
  9. package/dist/C_FormModal.css +1 -1
  10. package/dist/C_FormModal2.cjs +1 -1
  11. package/dist/C_FormModal2.js +1 -1
  12. package/dist/C_FormSearch.css +115 -111
  13. package/dist/C_Table.base.css +109 -109
  14. package/dist/C_Table.css +109 -109
  15. package/dist/C_Table.d.cts +1 -1
  16. package/dist/C_Table.d.ts +1 -1
  17. package/dist/C_Table2.cjs +3 -3
  18. package/dist/C_Table2.js +2 -2
  19. package/dist/constants.d.cts +2 -2
  20. package/dist/constants.d.ts +2 -2
  21. package/dist/constants2.d.cts +2 -2
  22. package/dist/constants2.d.ts +2 -2
  23. package/dist/constants3.d.cts +4 -4
  24. package/dist/constants3.d.ts +4 -4
  25. package/dist/constants4.d.cts +5 -5
  26. package/dist/constants4.d.ts +5 -5
  27. package/dist/data2.d.cts +9 -9
  28. package/dist/data2.d.ts +9 -9
  29. package/dist/dateRange.d.cts +5 -1
  30. package/dist/dateRange.d.ts +5 -1
  31. package/dist/index.d.cts +2 -2
  32. package/dist/index.d.ts +2 -2
  33. package/dist/index.vue.d.cts +4 -4
  34. package/dist/index.vue.d.ts +4 -4
  35. package/dist/index10.vue.d.cts +4 -4
  36. package/dist/index10.vue.d.ts +3 -3
  37. package/dist/index11.vue.d.cts +3 -3
  38. package/dist/index11.vue.d.ts +33 -14
  39. package/dist/index12.vue.d.cts +33 -14
  40. package/dist/index15.vue.d.ts +3 -0
  41. package/dist/index16.vue.d.cts +3 -0
  42. package/dist/index16.vue.d.ts +2 -2
  43. package/dist/index17.vue.d.cts +2 -2
  44. package/dist/index17.vue.d.ts +7 -7
  45. package/dist/index18.vue.d.cts +7 -7
  46. package/dist/index18.vue.d.ts +2 -2
  47. package/dist/index19.vue.d.cts +2 -2
  48. package/dist/index2.vue.d.cts +2 -2
  49. package/dist/index2.vue.d.ts +2 -2
  50. package/dist/index20.vue.d.ts +1 -1
  51. package/dist/index21.vue.d.cts +1 -1
  52. package/dist/index21.vue.d.ts +2 -2
  53. package/dist/index22.vue.d.cts +2 -2
  54. package/dist/index22.vue.d.ts +2 -2
  55. package/dist/index23.vue.d.cts +2 -2
  56. package/dist/index23.vue.d.ts +2 -2
  57. package/dist/index24.vue.d.cts +3 -3
  58. package/dist/index24.vue.d.ts +3 -3
  59. package/dist/index26.vue.d.cts +2 -2
  60. package/dist/index26.vue.d.ts +2 -2
  61. package/dist/index27.vue.d.cts +1 -1
  62. package/dist/index27.vue.d.ts +1 -1
  63. package/dist/index3.vue.d.cts +6 -6
  64. package/dist/index3.vue.d.ts +6 -6
  65. package/dist/index30.vue.d.cts +1 -1
  66. package/dist/index30.vue.d.ts +1 -1
  67. package/dist/index31.vue.d.cts +2 -2
  68. package/dist/index31.vue.d.ts +2 -2
  69. package/dist/index5.vue.d.cts +2 -2
  70. package/dist/index6.vue.d.ts +2 -2
  71. package/dist/index7.vue.d.cts +2 -2
  72. package/dist/index8.vue.d.ts +2 -2
  73. package/dist/index9.vue.d.cts +2 -2
  74. package/dist/index9.vue.d.ts +4 -4
  75. package/dist/mapUtils.d.cts +1 -1
  76. package/dist/mapUtils.d.ts +1 -1
  77. package/dist/serializeSearch.cjs +1 -1
  78. package/dist/serializeSearch.js +1 -1
  79. package/dist/style.css +248 -234
  80. package/dist/useCalendarEvents.d.cts +1 -1
  81. package/dist/useCalendarEvents.d.ts +1 -1
  82. package/dist/useCropperCore.d.cts +6 -6
  83. package/dist/useCropperCore.d.ts +6 -6
  84. package/dist/useFullscreen.d.cts +1 -1
  85. package/dist/useFullscreen.d.ts +1 -1
  86. package/dist/useInfiniteScroll.d.cts +4 -4
  87. package/dist/useInfiniteScroll.d.ts +4 -4
  88. package/dist/useQRCode.d.cts +3 -3
  89. package/dist/useQRCode.d.ts +3 -3
  90. package/dist/useSignatureHistory.d.cts +2 -2
  91. package/dist/useSignatureHistory.d.ts +2 -2
  92. package/dist/useSplitResize.d.cts +4 -4
  93. package/dist/useSplitResize.d.ts +4 -4
  94. package/dist/useTableQuery.d.cts +11 -11
  95. package/dist/useTableQuery.d.ts +11 -11
  96. package/dist/useWorkflowValidation.d.cts +80 -80
  97. package/dist/useWorkflowValidation.d.ts +80 -80
  98. package/dist/verification.d.cts +4 -4
  99. package/dist/verification.d.ts +4 -4
  100. package/docs/guides/data-picker.md +44 -1
  101. package/docs/guides/data-workflows.md +17 -0
  102. package/docs/guides/runtime-performance.md +4 -0
  103. package/docs/guides/search-workflows.md +3 -0
  104. package/docs/guides/usage.en.md +2 -3
  105. package/docs/guides/usage.md +2 -3
  106. package/package.json +1 -1
@@ -1084,24 +1084,27 @@ type ColumnWithKey = TableColumn & {
1084
1084
  //#endregion
1085
1085
  //#region src/components/C_DataPicker/types.d.ts
1086
1086
  type DataPickerValue = string | number;
1087
+ interface DataPickerRequest<TFilters extends object = Record<string, unknown>> {
1088
+ page: number;
1089
+ pageSize: number;
1090
+ search: string;
1091
+ signal: AbortSignal;
1092
+ /** Only present when a structured query is configured or submitted. */
1093
+ filters?: Readonly<TFilters>;
1094
+ }
1087
1095
  /** 接口、鉴权与实体映射只在应用中注册一次,组件不探测后端返回结构。 */
1088
- interface DataPickerSource<T extends object> {
1096
+ interface DataPickerSource<T extends object, TFilters extends object = Record<string, unknown>> {
1089
1097
  rowKey: TableRowKey<T>;
1090
1098
  value: (row: T) => DataPickerValue;
1091
1099
  label: (row: T) => string;
1092
- request: (query: {
1093
- page: number;
1094
- pageSize: number;
1095
- search: string;
1096
- signal: AbortSignal;
1097
- }) => Promise<{
1100
+ request: (query: DataPickerRequest<TFilters>) => Promise<{
1098
1101
  rows: T[];
1099
1102
  total: number;
1100
1103
  }>;
1101
1104
  resolve?: (values: readonly DataPickerValue[], signal: AbortSignal) => Promise<readonly T[]>;
1102
1105
  }
1103
- interface DataPickerProps<T extends object> {
1104
- source: DataPickerSource<T>;
1106
+ interface DataPickerProps<T extends object, TFilters extends object = Record<string, unknown>> {
1107
+ source: DataPickerSource<T, TFilters>;
1105
1108
  columns: TableColumn<T>[];
1106
1109
  modelValue?: DataPickerValue | readonly DataPickerValue[] | null;
1107
1110
  multiple?: boolean;
@@ -1113,6 +1116,10 @@ interface DataPickerProps<T extends object> {
1113
1116
  density?: ComponentDensity;
1114
1117
  locale?: ComponentLocale;
1115
1118
  pageSize?: number;
1119
+ /** Inline selection keeps the current page or dialog as the sole overlay. */
1120
+ presentation?: 'modal' | 'inline';
1121
+ /** Each session starts with these filters. A changed baseline invalidates the old session. */
1122
+ initialValues?: TFilters;
1116
1123
  }
1117
1124
  interface DataPickerEmits<T extends object> {
1118
1125
  'update:modelValue': [value: DataPickerValue | DataPickerValue[] | null];
@@ -1121,19 +1128,31 @@ interface DataPickerEmits<T extends object> {
1121
1128
  }
1122
1129
  //#endregion
1123
1130
  //#region src/components/C_DataPicker/index.vue.d.ts
1124
- declare const __VLS_export: <T extends object>(__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<{
1125
- props: vue.PublicProps & __VLS_PrettifyLocal<DataPickerProps<T> & {
1131
+ declare const __VLS_export: <T extends object, TFilters extends object = Record<string, unknown>>(__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<{
1132
+ props: vue.PublicProps & __VLS_PrettifyLocal<DataPickerProps<T, TFilters> & {
1126
1133
  "onUpdate:modelValue"?: ((value: DataPickerValue | DataPickerValue[] | null) => any) | undefined;
1127
1134
  onSelect?: ((rows: T[]) => any) | undefined;
1128
1135
  }> & (typeof globalThis extends {
1129
1136
  __VLS_PROPS_FALLBACK: infer P;
1130
1137
  } ? P : {});
1131
1138
  expose: (exposed: vue.ShallowUnwrapRef<{
1132
- open: () => void;
1139
+ open: (event?: Event) => void;
1133
1140
  close: () => void;
1134
1141
  }>) => void;
1135
1142
  attrs: any;
1136
- slots: {};
1143
+ slots: {
1144
+ trigger?(props: {
1145
+ open: () => void;
1146
+ disabled: boolean;
1147
+ opened: boolean;
1148
+ display: string;
1149
+ }): unknown;
1150
+ query?(props: {
1151
+ initialValues: TFilters | undefined;
1152
+ submit: (filters: TFilters) => void;
1153
+ loading: boolean;
1154
+ }): unknown;
1155
+ };
1137
1156
  emit: ((evt: "update:modelValue", value: DataPickerValue | DataPickerValue[] | null) => void) & ((evt: "select", rows: T[]) => void);
1138
1157
  }>) => vue.VNode & {
1139
1158
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
@@ -1141,4 +1160,4 @@ declare const __VLS_export: <T extends object>(__VLS_props: NonNullable<Awaited<
1141
1160
  declare const _default: typeof __VLS_export;
1142
1161
  type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
1143
1162
  //#endregion
1144
- export { FormatterConfig as $, UseTableActionsOptions as A, ExpandConfig$1 as B, TableEmits as C, TableRowKey as D, TableProps as E, ColumnDragConfig as F, ToolbarConfig as G, SelectionConfig$1 as H, CrudBinding as I, createEditModeChecker as J, TreeConfig as K, DisplayConfig as L, UseTableExpandOptions as M, UseTableExpandReturn as N, TableRowKeyIssue as O, BatchActionsConfig as P, ColumnFormatter as Q, EditConfig as R, TableColumn as S, TableManagerApi as T, SummaryConfig as U, ResolvedConfig as V, TableConfig as W, ExportConfig as X, resolveConfig as Y, exportTableData as Z, RenderFunction as _, PrintWatermarkOptions as _t, DataPickerValue as a, useTableGlobalConfig as at, SimpleTableActions as b, ColumnStatus as bt, ChildSelectionState as c, UseCrossPageSelectionReturn as ct, DataRecord as d, UseRowDragOptions as dt, FormatterType as et, EditMode as f, UseRowDragReturn as ft, ParentChildLinkMode as g, useDynamicRows as gt, PaginationConfig as h, DynamicRowsReturn as ht, DataPickerSource as i, mergeGlobalConfig as it, UseTableActionsReturn as j, TableRuntimeProps as k, ColumnWithKey as l, useCrossPageSelection as lt, NormalTableColumn as m, DynamicRowsOptions as mt, DataPickerEmits as n, TableGlobalConfig as nt, ApiFunction as o, CrossPageSelectionConfig as ot, MaybeRefLike as p, useRowDrag as pt, VirtualScrollConfig as q, DataPickerProps as r, applyFormatter as rt, BuiltInTableColumn as s, UseCrossPageSelectionOptions as st, _default as t, TABLE_GLOBAL_CONFIG_KEY as tt, CustomAction as u, RowDragConfig as ut, RowAction as v, printPresets as vt, TableInstance as w, StrictTableColumn as x, SelectOption as y, usePrintWatermark as yt, ErrorConfig as z };
1163
+ export { ColumnFormatter as $, TableRuntimeProps as A, ErrorConfig as B, TableColumn as C, TableProps as D, TableManagerApi as E, BatchActionsConfig as F, TableConfig as G, ResolvedConfig as H, ColumnDragConfig as I, VirtualScrollConfig as J, ToolbarConfig as K, CrudBinding as L, UseTableActionsReturn as M, UseTableExpandOptions as N, TableRowKey as O, UseTableExpandReturn as P, exportTableData as Q, DisplayConfig as R, StrictTableColumn as S, TableInstance as T, SelectionConfig$1 as U, ExpandConfig$1 as V, SummaryConfig as W, resolveConfig as X, createEditModeChecker as Y, ExportConfig as Z, ParentChildLinkMode as _, useDynamicRows as _t, DataPickerSource as a, mergeGlobalConfig as at, SelectOption as b, usePrintWatermark as bt, BuiltInTableColumn as c, UseCrossPageSelectionOptions as ct, CustomAction as d, RowDragConfig as dt, FormatterConfig as et, DataRecord as f, UseRowDragOptions as ft, PaginationConfig as g, DynamicRowsReturn as gt, NormalTableColumn as h, DynamicRowsOptions as ht, DataPickerRequest as i, applyFormatter as it, UseTableActionsOptions as j, TableRowKeyIssue as k, ChildSelectionState as l, UseCrossPageSelectionReturn as lt, MaybeRefLike as m, useRowDrag as mt, DataPickerEmits as n, TABLE_GLOBAL_CONFIG_KEY as nt, DataPickerValue as o, useTableGlobalConfig as ot, EditMode as p, UseRowDragReturn as pt, TreeConfig as q, DataPickerProps as r, TableGlobalConfig as rt, ApiFunction as s, CrossPageSelectionConfig as st, _default as t, FormatterType as tt, ColumnWithKey as u, useCrossPageSelection as ut, RenderFunction as v, PrintWatermarkOptions as vt, TableEmits as w, SimpleTableActions as x, ColumnStatus as xt, RowAction as y, printPresets as yt, EditConfig as z };
@@ -1,4 +1,5 @@
1
1
  import { E as FormRecord, T as FormOption, n as FormConfig, z as SubmitEventPayload } from "./useFormConfig.js";
2
+ import { g as FormRenderer } from "./useDynamicFormState.js";
2
3
  import * as vue from "vue";
3
4
  import { ComputedRef, Ref } from "vue";
4
5
 
@@ -22,6 +23,8 @@ interface FormModalProps<T extends object = FormRecord> {
22
23
  editor: FormModalEditor<T>;
23
24
  options: FormOption<T>[];
24
25
  config?: FormConfig<T>;
26
+ /** 当前弹窗使用的自定义字段渲染器。 */
27
+ renderers?: Record<string, FormRenderer>;
25
28
  width?: number | string;
26
29
  createText?: string;
27
30
  saveText?: string;
@@ -1,4 +1,5 @@
1
1
  import { E as FormRecord, T as FormOption, n as FormConfig, z as SubmitEventPayload } from "./useFormConfig.cjs";
2
+ import { g as FormRenderer } from "./useDynamicFormState.cjs";
2
3
  import * as vue from "vue";
3
4
  import { ComputedRef, Ref } from "vue";
4
5
 
@@ -22,6 +23,8 @@ interface FormModalProps<T extends object = FormRecord> {
22
23
  editor: FormModalEditor<T>;
23
24
  options: FormOption<T>[];
24
25
  config?: FormConfig<T>;
26
+ /** 当前弹窗使用的自定义字段渲染器。 */
27
+ renderers?: Record<string, FormRenderer>;
25
28
  width?: number | string;
26
29
  createText?: string;
27
30
  saveText?: string;
@@ -98,15 +98,15 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
98
98
  isCompleted: () => boolean;
99
99
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
100
100
  error: (error: unknown) => any;
101
- start: () => any;
102
101
  close: (currentStep: number) => any;
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
107
  onError?: ((error: unknown) => any) | undefined;
108
- onStart?: (() => any) | undefined;
109
108
  onClose?: ((currentStep: number) => any) | undefined;
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;
@@ -98,15 +98,15 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
98
98
  isCompleted: () => boolean;
99
99
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
100
100
  error: (error: unknown) => any;
101
- start: () => any;
102
101
  close: (currentStep: number) => any;
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
107
  onError?: ((error: unknown) => any) | undefined;
108
- onStart?: (() => any) | undefined;
109
108
  onClose?: ((currentStep: number) => any) | undefined;
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;
@@ -31,28 +31,28 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
31
31
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
32
32
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
33
33
  error: (type: string, error?: unknown) => any;
34
- click: (event: KeyboardEvent | MouseEvent) => any;
34
+ click: (event: MouseEvent | KeyboardEvent) => any;
35
35
  load: () => any;
36
36
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
37
37
  onError?: ((type: string, error?: unknown) => any) | undefined;
38
- onClick?: ((event: KeyboardEvent | MouseEvent) => any) | undefined;
38
+ onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
41
  size: number | string;
42
42
  type: "iconify" | "unocss" | "component" | "svg" | "image";
43
- color: string;
43
+ loading: boolean;
44
44
  title: string;
45
+ color: string;
45
46
  ariaLabel: string;
46
- viewBox: string;
47
- clickable: boolean;
48
- loading: boolean;
49
47
  rotate: number;
50
- flip: "horizontal" | "vertical" | "both";
51
48
  svgPath: string;
49
+ viewBox: string;
52
50
  alt: string;
51
+ clickable: boolean;
53
52
  fallbackIcon: string;
54
53
  loadTimeout: number;
55
54
  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;
@@ -31,28 +31,28 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
31
31
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
32
32
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
33
33
  error: (type: string, error?: unknown) => any;
34
- click: (event: KeyboardEvent | MouseEvent) => any;
34
+ click: (event: MouseEvent | KeyboardEvent) => any;
35
35
  load: () => any;
36
36
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
37
37
  onError?: ((type: string, error?: unknown) => any) | undefined;
38
- onClick?: ((event: KeyboardEvent | MouseEvent) => any) | undefined;
38
+ onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
41
  size: number | string;
42
42
  type: "iconify" | "unocss" | "component" | "svg" | "image";
43
- color: string;
43
+ loading: boolean;
44
44
  title: string;
45
+ color: string;
45
46
  ariaLabel: string;
46
- viewBox: string;
47
- clickable: boolean;
48
- loading: boolean;
49
47
  rotate: number;
50
- flip: "horizontal" | "vertical" | "both";
51
48
  svgPath: string;
49
+ viewBox: string;
52
50
  alt: string;
51
+ clickable: boolean;
53
52
  fallbackIcon: string;
54
53
  loadTimeout: number;
55
54
  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,11 +19,11 @@ 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
28
  modelValue: string;
29
29
  options: LegacyLanguageOption[];
@@ -19,11 +19,11 @@ 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
28
  modelValue: string;
29
29
  options: LegacyLanguageOption[];
@@ -73,10 +73,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
75
  size: number;
76
- max: number;
77
76
  direction: "ltr" | "rtl";
78
- clickable: boolean;
79
77
  overlap: number;
78
+ clickable: boolean;
79
+ max: number;
80
80
  shape: "circle" | "square";
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
  size: number;
76
- max: number;
77
76
  direction: "ltr" | "rtl";
78
- clickable: boolean;
79
77
  overlap: number;
78
+ clickable: boolean;
79
+ max: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -116,9 +116,9 @@ 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;
119
120
  title: string;
120
121
  storageKey: string;
121
- loading: boolean;
122
122
  defaultUsername: string;
123
123
  defaultPassword: string;
124
124
  captchaProvider: CaptchaProvider;
@@ -116,9 +116,9 @@ 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;
119
120
  title: string;
120
121
  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;
@@ -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;
@@ -55,9 +55,9 @@ declare const __VLS_export: <Options extends MenuOption[] | undefined = undefine
55
55
  props: vue.PublicProps & __VLS_PrettifyLocal<MenuProps<Options> & {
56
56
  "onUpdate:modelValue"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
57
57
  onSelect?: ((key: MenuSelectionKey<Options>) => any) | undefined;
58
+ "onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
58
59
  onIntent?: ((key: MenuSelectionKey<Options>) => any) | undefined;
59
60
  "onUpdate:value"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
60
- "onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
61
61
  }> & (typeof globalThis extends {
62
62
  __VLS_PROPS_FALLBACK: infer P;
63
63
  } ? P : {});
@@ -67,7 +67,7 @@ declare const __VLS_export: <Options extends MenuOption[] | undefined = undefine
67
67
  }>) => void;
68
68
  attrs: any;
69
69
  slots: {};
70
- emit: ((evt: "update:modelValue", key: MenuSelectionKey<Options> | null) => void) & ((evt: "select", key: MenuSelectionKey<Options>) => void) & ((evt: "intent", key: MenuSelectionKey<Options>) => void) & ((evt: "update:value", key: MenuSelectionKey<Options> | null) => void) & ((evt: "update:expandedKeys", keys: MenuSelectionKey<Options>[]) => void);
70
+ emit: ((evt: "update:modelValue", key: MenuSelectionKey<Options> | null) => void) & ((evt: "select", key: MenuSelectionKey<Options>) => void) & ((evt: "update:expandedKeys", keys: MenuSelectionKey<Options>[]) => void) & ((evt: "intent", key: MenuSelectionKey<Options>) => void) & ((evt: "update:value", key: MenuSelectionKey<Options> | null) => void);
71
71
  }>) => vue.VNode & {
72
72
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
73
73
  };
@@ -81,8 +81,9 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
83
  direction: OrgChartDirection;
84
- lineStyle: OrgChartLineStyle;
85
84
  lineColor: string;
85
+ collapsible: boolean;
86
+ lineStyle: OrgChartLineStyle;
86
87
  lineWidth: number;
87
88
  nodeSpacing: number;
88
89
  levelSpacing: number;
@@ -92,7 +93,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
92
93
  fitOnInit: boolean;
93
94
  minZoom: number;
94
95
  maxZoom: number;
95
- collapsible: boolean;
96
96
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
97
97
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
98
98
  declare const _default: typeof __VLS_export;
@@ -81,8 +81,9 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
83
  direction: OrgChartDirection;
84
- lineStyle: OrgChartLineStyle;
85
84
  lineColor: string;
85
+ collapsible: boolean;
86
+ lineStyle: OrgChartLineStyle;
86
87
  lineWidth: number;
87
88
  nodeSpacing: number;
88
89
  levelSpacing: number;
@@ -92,7 +93,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
92
93
  fitOnInit: boolean;
93
94
  minZoom: number;
94
95
  maxZoom: number;
95
- collapsible: boolean;
96
96
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
97
97
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
98
98
  declare const _default: typeof __VLS_export;
@@ -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
+ status: "default" | "success" | "error" | "warning" | "info";
38
+ strokeWidth: number;
39
+ time: number;
37
40
  percentage: number | number[];
38
41
  isAnimation: boolean;
39
- time: number;
40
42
  indicatorPlacement: "inside" | "outside";
41
43
  showIndicator: boolean;
42
- status: "default" | "success" | "error" | "warning" | "info";
43
- strokeWidth: number;
44
44
  unit: string;
45
45
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
46
46
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -34,13 +34,13 @@ type __VLS_Slots = {} & {
34
34
  indicator?: (props: typeof __VLS_9) => any;
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
+ status: "default" | "success" | "error" | "warning" | "info";
38
+ strokeWidth: number;
39
+ time: number;
37
40
  percentage: number | number[];
38
41
  isAnimation: boolean;
39
- time: number;
40
42
  indicatorPlacement: "inside" | "outside";
41
43
  showIndicator: boolean;
42
- status: "default" | "success" | "error" | "warning" | "info";
43
- strokeWidth: number;
44
44
  unit: string;
45
45
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
46
46
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -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;
89
90
  repeat: number;
90
91
  borderRadius: string;
91
- loading: boolean;
92
- animation: SkeletonAnimation;
93
92
  preset: SkeletonPreset;
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;
89
90
  repeat: number;
90
91
  borderRadius: string;
91
- loading: boolean;
92
- animation: SkeletonAnimation;
93
92
  preset: SkeletonPreset;
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;
@@ -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
- current: number;
40
39
  clickable: boolean;
41
40
  connected: boolean;
41
+ current: number;
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
- current: number;
40
39
  clickable: boolean;
41
40
  connected: boolean;
41
+ current: number;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -21,16 +21,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  height: number;
24
- fontSize: number;
25
- label: string;
26
- width: number;
27
- showBorder: boolean;
28
- showLabel: boolean;
29
- lineColor: string;
30
24
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
25
+ width: number;
26
+ label: string;
31
27
  showText: boolean;
28
+ fontSize: number;
32
29
  textPosition: "bottom" | "top";
30
+ lineColor: string;
33
31
  background: string;
32
+ showBorder: boolean;
33
+ showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -21,16 +21,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  height: number;
24
- fontSize: number;
25
- label: string;
26
- width: number;
27
- showBorder: boolean;
28
- showLabel: boolean;
29
- lineColor: string;
30
24
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
25
+ width: number;
26
+ label: string;
31
27
  showText: boolean;
28
+ fontSize: number;
32
29
  textPosition: "bottom" | "top";
30
+ lineColor: string;
33
31
  background: string;
32
+ showBorder: boolean;
33
+ showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -90,8 +90,8 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
90
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
91
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
- reverse: boolean;
94
93
  size: "small" | "medium" | "large";
94
+ reverse: boolean;
95
95
  items: TimelineItem[];
96
96
  mode: "vertical" | "horizontal";
97
97
  pending: boolean;
@@ -90,8 +90,8 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
90
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
91
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
- reverse: boolean;
94
93
  size: "small" | "medium" | "large";
94
+ reverse: boolean;
95
95
  items: TimelineItem[];
96
96
  mode: "vertical" | "horizontal";
97
97
  pending: boolean;
@@ -57,15 +57,15 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
57
57
  //#region src/components/C_Transfer/index.vue.d.ts
58
58
  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<{
59
59
  props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
60
- onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
61
60
  "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
61
+ onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
62
62
  }> & (typeof globalThis extends {
63
63
  __VLS_PROPS_FALLBACK: infer P;
64
64
  } ? P : {});
65
65
  expose: (exposed: {}) => void;
66
66
  attrs: any;
67
67
  slots: {};
68
- emit: ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void) & ((evt: "update:modelValue", value: T["key"][]) => void);
68
+ emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
69
69
  }>) => vue.VNode & {
70
70
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
71
71
  };
@@ -57,15 +57,15 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
57
57
  //#region src/components/C_Transfer/index.vue.d.ts
58
58
  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<{
59
59
  props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
60
- onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
61
60
  "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
61
+ onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
62
62
  }> & (typeof globalThis extends {
63
63
  __VLS_PROPS_FALLBACK: infer P;
64
64
  } ? P : {});
65
65
  expose: (exposed: {}) => void;
66
66
  attrs: any;
67
67
  slots: {};
68
- emit: ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void) & ((evt: "update:modelValue", value: T["key"][]) => void);
68
+ emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
69
69
  }>) => vue.VNode & {
70
70
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
71
71
  };