yc-pro-components 0.0.80 → 0.0.81

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 (151) hide show
  1. package/es/components/check-card/index.d.ts +61 -61
  2. package/es/components/check-card/src/index.vue.d.ts +4 -4
  3. package/es/components/check-card-group/index.d.ts +43 -43
  4. package/es/components/check-card-group/src/index.vue.d.ts +3 -3
  5. package/es/components/date-picker/index.d.ts +30 -30
  6. package/es/components/date-picker/src/index.vue.d.ts +22 -22
  7. package/es/components/dialog/index.d.ts +45 -45
  8. package/es/components/dialog/src/index.vue.d.ts +3 -3
  9. package/es/components/dialog-form/index.d.ts +31 -31
  10. package/es/components/dialog-form/src/index.vue.d.ts +9 -9
  11. package/es/components/display-item/index.d.ts +41 -41
  12. package/es/components/display-item/src/index.vue.d.ts +22 -22
  13. package/es/components/drawer-form/index.d.ts +68 -68
  14. package/es/components/drawer-form/src/index.vue.d.ts +16 -16
  15. package/es/components/form/index.d.ts +71 -71
  16. package/es/components/form/src/form-content.vue.d.ts +21 -21
  17. package/es/components/form/src/index.vue.d.ts +19 -19
  18. package/es/components/form-item/index.d.ts +69 -69
  19. package/es/components/form-item/src/index.vue.d.ts +21 -21
  20. package/es/components/header/index.d.ts +19 -19
  21. package/es/components/header/src/index.vue.d.ts +1 -1
  22. package/es/components/input-tag/index.d.ts +15 -15
  23. package/es/components/input-tag/src/index.vue.d.ts +3 -3
  24. package/es/components/layout/index.d.ts +30 -30
  25. package/es/components/layout/src/index.vue.d.ts +10 -10
  26. package/es/components/page/index.d.ts +548 -536
  27. package/es/components/page/src/index.vue.d.ts +186 -182
  28. package/es/components/pagination/index.d.ts +42 -42
  29. package/es/components/pagination/src/index.vue.d.ts +3 -3
  30. package/es/components/radio/index.d.ts +35 -35
  31. package/es/components/radio/src/index.vue.d.ts +27 -27
  32. package/es/components/render/index.d.ts +3 -3
  33. package/es/components/render/src/index.vue.d.ts +1 -1
  34. package/es/components/search/index.d.ts +243 -243
  35. package/es/components/search/src/index.vue.d.ts +73 -73
  36. package/es/components/sidebar/index.d.ts +15 -15
  37. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  38. package/es/components/steps-form/index.d.ts +23 -23
  39. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  40. package/es/components/table/index.d.ts +6 -0
  41. package/es/components/table/src/index.vue.d.ts +2 -0
  42. package/es/components/table/src/index.vue2.mjs +30 -1
  43. package/es/components/table/src/table-action-bar.vue.d.ts +1 -1
  44. package/es/components/table/src/table-column.vue.d.ts +37 -37
  45. package/es/components/utils/index.d.ts +2 -2
  46. package/es/components/yc-dialog/index.d.ts +24 -24
  47. package/es/components/yc-download-dialog/index.d.ts +19 -19
  48. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  49. package/es/components/yc-form-container-header/index.d.ts +12 -12
  50. package/es/components/yc-more-actions/index.d.ts +46 -46
  51. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  52. package/es/components/yc-plus-page/src/index.vue.d.ts +376 -364
  53. package/es/components/yc-segmented/index.d.ts +2 -2
  54. package/es/components/yc-segmented/src/index.d.ts +2 -2
  55. package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
  56. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  57. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  58. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  59. package/es/hooks/usePlusFormReset.d.ts +244 -244
  60. package/es/index.css +9 -9
  61. package/es/version.d.ts +1 -1
  62. package/es/version.mjs +1 -1
  63. package/es/yc-components/version.d.ts +1 -1
  64. package/index.js +32 -3
  65. package/index.min.js +11 -11
  66. package/index.min.mjs +12 -12
  67. package/index.mjs +32 -3
  68. package/lib/components/check-card/index.d.ts +61 -61
  69. package/lib/components/check-card/src/index.vue.d.ts +4 -4
  70. package/lib/components/check-card-group/index.d.ts +43 -43
  71. package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
  72. package/lib/components/date-picker/index.d.ts +30 -30
  73. package/lib/components/date-picker/src/index.vue.d.ts +22 -22
  74. package/lib/components/dialog/index.d.ts +45 -45
  75. package/lib/components/dialog/src/index.vue.d.ts +3 -3
  76. package/lib/components/dialog-form/index.d.ts +31 -31
  77. package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
  78. package/lib/components/display-item/index.d.ts +41 -41
  79. package/lib/components/display-item/src/index.vue.d.ts +22 -22
  80. package/lib/components/drawer-form/index.d.ts +68 -68
  81. package/lib/components/drawer-form/src/index.vue.d.ts +16 -16
  82. package/lib/components/form/index.d.ts +71 -71
  83. package/lib/components/form/src/form-content.vue.d.ts +21 -21
  84. package/lib/components/form/src/index.vue.d.ts +19 -19
  85. package/lib/components/form-item/index.d.ts +69 -69
  86. package/lib/components/form-item/src/index.vue.d.ts +21 -21
  87. package/lib/components/header/index.d.ts +19 -19
  88. package/lib/components/header/src/index.vue.d.ts +1 -1
  89. package/lib/components/input-tag/index.d.ts +15 -15
  90. package/lib/components/input-tag/src/index.vue.d.ts +3 -3
  91. package/lib/components/layout/index.d.ts +30 -30
  92. package/lib/components/layout/src/index.vue.d.ts +10 -10
  93. package/lib/components/page/index.d.ts +548 -536
  94. package/lib/components/page/src/index.vue.d.ts +186 -182
  95. package/lib/components/pagination/index.d.ts +42 -42
  96. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  97. package/lib/components/radio/index.d.ts +35 -35
  98. package/lib/components/radio/src/index.vue.d.ts +27 -27
  99. package/lib/components/render/index.d.ts +3 -3
  100. package/lib/components/render/src/index.vue.d.ts +1 -1
  101. package/lib/components/search/index.d.ts +243 -243
  102. package/lib/components/search/src/index.vue.d.ts +73 -73
  103. package/lib/components/sidebar/index.d.ts +15 -15
  104. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  105. package/lib/components/steps-form/index.d.ts +23 -23
  106. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  107. package/lib/components/table/index.d.ts +6 -0
  108. package/lib/components/table/src/index.vue.d.ts +2 -0
  109. package/lib/components/table/src/index.vue2.js +30 -1
  110. package/lib/components/table/src/table-action-bar.vue.d.ts +1 -1
  111. package/lib/components/table/src/table-column.vue.d.ts +37 -37
  112. package/lib/components/utils/index.d.ts +2 -2
  113. package/lib/components/yc-dialog/index.d.ts +24 -24
  114. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  115. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  116. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  117. package/lib/components/yc-more-actions/index.d.ts +46 -46
  118. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  119. package/lib/components/yc-plus-page/src/index.vue.d.ts +376 -364
  120. package/lib/components/yc-segmented/index.d.ts +2 -2
  121. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  122. package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
  123. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  124. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  125. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  126. package/lib/hooks/usePlusFormReset.d.ts +244 -244
  127. package/lib/index.css +10 -10
  128. package/lib/version.d.ts +1 -1
  129. package/lib/version.js +1 -1
  130. package/lib/yc-components/version.d.ts +1 -1
  131. package/locale/en.js +1 -1
  132. package/locale/en.min.js +1 -1
  133. package/locale/en.min.mjs +1 -1
  134. package/locale/en.mjs +1 -1
  135. package/locale/ja.js +1 -1
  136. package/locale/ja.min.js +1 -1
  137. package/locale/ja.min.mjs +1 -1
  138. package/locale/ja.mjs +1 -1
  139. package/locale/ko.js +1 -1
  140. package/locale/ko.min.js +1 -1
  141. package/locale/ko.min.mjs +1 -1
  142. package/locale/ko.mjs +1 -1
  143. package/locale/zh-cn.js +1 -1
  144. package/locale/zh-cn.min.js +1 -1
  145. package/locale/zh-cn.min.mjs +1 -1
  146. package/locale/zh-cn.mjs +1 -1
  147. package/locale/zh-tw.js +1 -1
  148. package/locale/zh-tw.min.js +1 -1
  149. package/locale/zh-tw.min.mjs +1 -1
  150. package/locale/zh-tw.mjs +1 -1
  151. package/package.json +1 -1
@@ -7,10 +7,6 @@ export type { PlusStepsFormProps } from './src/index.vue';
7
7
  export * from './src/type';
8
8
  export declare const PlusStepsForm: {
9
9
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
10
- modelValue: {
11
- type: PropType<number>;
12
- default: number;
13
- };
14
10
  data: {
15
11
  type: PropType< PlusStepFromRow[]>;
16
12
  default: () => never[];
@@ -19,6 +15,10 @@ export declare const PlusStepsForm: {
19
15
  type: PropType<string>;
20
16
  default: undefined;
21
17
  };
18
+ modelValue: {
19
+ type: PropType<number>;
20
+ default: number;
21
+ };
22
22
  submitText: {
23
23
  type: PropType<string>;
24
24
  default: undefined;
@@ -28,9 +28,9 @@ export declare const PlusStepsForm: {
28
28
  default: undefined;
29
29
  };
30
30
  }>> & {
31
- "onUpdate:modelValue"?: ((active: number) => any) | undefined;
32
31
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
33
32
  onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
33
+ "onUpdate:modelValue"?: ((active: number) => any) | undefined;
34
34
  onPre?: ((modelValue: number) => any) | undefined;
35
35
  onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
36
36
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -40,10 +40,6 @@ export declare const PlusStepsForm: {
40
40
  "update:modelValue": (active: number) => void;
41
41
  change: (values: FieldValues, column: PlusColumn) => void;
42
42
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
43
- modelValue: {
44
- type: PropType<number>;
45
- default: number;
46
- };
47
43
  data: {
48
44
  type: PropType< PlusStepFromRow[]>;
49
45
  default: () => never[];
@@ -52,6 +48,10 @@ export declare const PlusStepsForm: {
52
48
  type: PropType<string>;
53
49
  default: undefined;
54
50
  };
51
+ modelValue: {
52
+ type: PropType<number>;
53
+ default: number;
54
+ };
55
55
  submitText: {
56
56
  type: PropType<string>;
57
57
  default: undefined;
@@ -61,15 +61,15 @@ export declare const PlusStepsForm: {
61
61
  default: undefined;
62
62
  };
63
63
  }>> & {
64
- "onUpdate:modelValue"?: ((active: number) => any) | undefined;
65
64
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
66
65
  onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
66
+ "onUpdate:modelValue"?: ((active: number) => any) | undefined;
67
67
  onPre?: ((modelValue: number) => any) | undefined;
68
68
  onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
69
69
  }, {
70
- modelValue: number;
71
70
  data: PlusStepFromRow[];
72
71
  nextText: string;
72
+ modelValue: number;
73
73
  submitText: string;
74
74
  preText: string;
75
75
  }, true, {}, {}, {
@@ -80,10 +80,6 @@ export declare const PlusStepsForm: {
80
80
  M: {};
81
81
  Defaults: {};
82
82
  }, Readonly< ExtractPropTypes<{
83
- modelValue: {
84
- type: PropType<number>;
85
- default: number;
86
- };
87
83
  data: {
88
84
  type: PropType< PlusStepFromRow[]>;
89
85
  default: () => never[];
@@ -92,6 +88,10 @@ export declare const PlusStepsForm: {
92
88
  type: PropType<string>;
93
89
  default: undefined;
94
90
  };
91
+ modelValue: {
92
+ type: PropType<number>;
93
+ default: number;
94
+ };
95
95
  submitText: {
96
96
  type: PropType<string>;
97
97
  default: undefined;
@@ -101,15 +101,15 @@ export declare const PlusStepsForm: {
101
101
  default: undefined;
102
102
  };
103
103
  }>> & {
104
- "onUpdate:modelValue"?: ((active: number) => any) | undefined;
105
104
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
106
105
  onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
106
+ "onUpdate:modelValue"?: ((active: number) => any) | undefined;
107
107
  onPre?: ((modelValue: number) => any) | undefined;
108
108
  onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
109
109
  }, {}, {}, {}, {}, {
110
- modelValue: number;
111
110
  data: PlusStepFromRow[];
112
111
  nextText: string;
112
+ modelValue: number;
113
113
  submitText: string;
114
114
  preText: string;
115
115
  }>;
@@ -117,10 +117,6 @@ export declare const PlusStepsForm: {
117
117
  __isTeleport?: undefined;
118
118
  __isSuspense?: undefined;
119
119
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
120
- modelValue: {
121
- type: PropType<number>;
122
- default: number;
123
- };
124
120
  data: {
125
121
  type: PropType< PlusStepFromRow[]>;
126
122
  default: () => never[];
@@ -129,6 +125,10 @@ export declare const PlusStepsForm: {
129
125
  type: PropType<string>;
130
126
  default: undefined;
131
127
  };
128
+ modelValue: {
129
+ type: PropType<number>;
130
+ default: number;
131
+ };
132
132
  submitText: {
133
133
  type: PropType<string>;
134
134
  default: undefined;
@@ -138,9 +138,9 @@ export declare const PlusStepsForm: {
138
138
  default: undefined;
139
139
  };
140
140
  }>> & {
141
- "onUpdate:modelValue"?: ((active: number) => any) | undefined;
142
141
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
143
142
  onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
143
+ "onUpdate:modelValue"?: ((active: number) => any) | undefined;
144
144
  onPre?: ((modelValue: number) => any) | undefined;
145
145
  onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
146
146
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -150,9 +150,9 @@ export declare const PlusStepsForm: {
150
150
  "update:modelValue": (active: number) => void;
151
151
  change: (values: FieldValues, column: PlusColumn) => void;
152
152
  }, string, {
153
- modelValue: number;
154
153
  data: PlusStepFromRow[];
155
154
  nextText: string;
155
+ modelValue: number;
156
156
  submitText: string;
157
157
  preText: string;
158
158
  }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
@@ -66,15 +66,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
66
66
  nextText: undefined;
67
67
  preText: undefined;
68
68
  }>>> & {
69
- "onUpdate:modelValue"?: ((active: number) => any) | undefined;
70
69
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
71
70
  onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
71
+ "onUpdate:modelValue"?: ((active: number) => any) | undefined;
72
72
  onPre?: ((modelValue: number) => any) | undefined;
73
73
  onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
74
74
  }, {
75
- modelValue: number;
76
75
  data: PlusStepFromRow[];
77
76
  nextText: string;
77
+ modelValue: number;
78
78
  submitText: string;
79
79
  preText: string;
80
80
  }, {}>, Partial<Record<string, (_: {
@@ -161,6 +161,8 @@ export declare const PlusTable: {
161
161
  }, {
162
162
  formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
163
163
  tableInstance: ShallowRef< TableInstance | null>;
164
+ startRowEdit: (rowIndex: number, prop?: string | undefined) => Promise<boolean>;
165
+ stopRowEdit: (rowIndex: number, prop?: string | undefined) => Promise<boolean>;
164
166
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
165
167
  paginationChange: (pageInfo: PageInfo) => void;
166
168
  clickAction: (data: ButtonsCallBackParams) => void;
@@ -528,6 +530,8 @@ export declare const PlusTable: {
528
530
  }, {
529
531
  formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
530
532
  tableInstance: ShallowRef< TableInstance | null>;
533
+ startRowEdit: (rowIndex: number, prop?: string | undefined) => Promise<boolean>;
534
+ stopRowEdit: (rowIndex: number, prop?: string | undefined) => Promise<boolean>;
531
535
  }, {}, {}, {}, {
532
536
  data: RecordType[];
533
537
  columns: PlusColumn[];
@@ -731,6 +735,8 @@ export declare const PlusTable: {
731
735
  }, {
732
736
  formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
733
737
  tableInstance: ShallowRef< TableInstance | null>;
738
+ startRowEdit: (rowIndex: number, prop?: string | undefined) => Promise<boolean>;
739
+ stopRowEdit: (rowIndex: number, prop?: string | undefined) => Promise<boolean>;
734
740
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
735
741
  paginationChange: (pageInfo: PageInfo) => void;
736
742
  clickAction: (data: ButtonsCallBackParams) => void;
@@ -42,6 +42,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
42
42
  }>, {
43
43
  formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
44
44
  tableInstance: ShallowRef<TableInstance | null>;
45
+ startRowEdit: (rowIndex: number, prop?: string | undefined) => Promise<boolean>;
46
+ stopRowEdit: (rowIndex: number, prop?: string | undefined) => Promise<boolean>;
45
47
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
46
48
  paginationChange: (pageInfo: PageInfo) => void;
47
49
  clickAction: (data: ButtonsCallBackParams) => void;
@@ -237,9 +237,38 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
237
237
  }
238
238
  });
239
239
  const { subPageInfo, size } = vue.toRefs(state);
240
+ const getRowFormRefs = (rowIndex, prop) => {
241
+ const cells = (formRefs.value[rowIndex] || []).filter(Boolean);
242
+ if (prop) {
243
+ return cells.filter((item) => item.prop === prop);
244
+ }
245
+ return cells;
246
+ };
247
+ const waitForRowFormRefs = async (rowIndex, prop, retries = 8) => {
248
+ for (let i = 0; i < retries; i++) {
249
+ await vue.nextTick();
250
+ const cells = getRowFormRefs(rowIndex, prop);
251
+ if (cells.length) {
252
+ return cells;
253
+ }
254
+ }
255
+ return [];
256
+ };
257
+ const startRowEdit = async (rowIndex, prop) => {
258
+ const cells = await waitForRowFormRefs(rowIndex, prop);
259
+ cells.forEach((item) => item.startCellEdit());
260
+ return cells.length > 0;
261
+ };
262
+ const stopRowEdit = async (rowIndex, prop) => {
263
+ const cells = await waitForRowFormRefs(rowIndex, prop);
264
+ cells.forEach((item) => item.stopCellEdit());
265
+ return cells.length > 0;
266
+ };
240
267
  __expose({
241
268
  formRefs,
242
- tableInstance
269
+ tableInstance,
270
+ startRowEdit,
271
+ stopRowEdit
243
272
  });
244
273
  return (_ctx, _cache) => {
245
274
  return vue.openBlock(), vue.createElementBlock(
@@ -40,9 +40,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
40
40
  fixed: string;
41
41
  label: string | ComputedRef<string>;
42
42
  width: string | number;
43
+ buttons: ActionBarButtonsRow[];
43
44
  showNumber: number | ((row: RecordType, index: number) => number);
44
45
  showLimitIncludeMore: boolean;
45
- buttons: ActionBarButtonsRow[];
46
46
  actionBarTableColumnProps: Partial< TableColumnCtx<RecordType>>;
47
47
  confirmType: "messageBox" | "popconfirm";
48
48
  moreType: "text" | "icon";
@@ -26,15 +26,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
26
26
  $data: {};
27
27
  $props: Partial<{
28
28
  index: number;
29
- formProps: PlusFormProps;
30
29
  rest: RecordType;
30
+ formProps: PlusFormProps;
31
31
  column: PlusColumn;
32
32
  row: RecordType;
33
33
  editable: boolean | "click" | "dblclick";
34
34
  }> & Omit<{
35
35
  readonly index: number;
36
- readonly formProps: PlusFormProps;
37
36
  readonly rest: RecordType;
37
+ readonly formProps: PlusFormProps;
38
38
  readonly column: PlusColumn;
39
39
  readonly row: RecordType;
40
40
  readonly editable: boolean | "click" | "dblclick";
@@ -48,14 +48,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
48
48
  type: PropType<number>;
49
49
  default: number;
50
50
  };
51
- formProps: {
52
- type: PropType<PlusFormProps>;
53
- default: () => {};
54
- };
55
51
  rest: {
56
52
  type: PropType<RecordType>;
57
53
  default: () => {};
58
54
  };
55
+ formProps: {
56
+ type: PropType<PlusFormProps>;
57
+ default: () => {};
58
+ };
59
59
  column: {
60
60
  type: PropType<PlusColumn>;
61
61
  required: true;
@@ -79,7 +79,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
79
79
  prop: string;
80
80
  row: RecordType;
81
81
  }) => any) | undefined;
82
- }, "index" | "formProps" | "rest" | "column" | "row" | "editable">;
82
+ }, "index" | "rest" | "formProps" | "column" | "row" | "editable">;
83
83
  $attrs: {
84
84
  [x: string]: unknown;
85
85
  };
@@ -102,14 +102,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
102
102
  type: PropType<number>;
103
103
  default: number;
104
104
  };
105
- formProps: {
106
- type: PropType<PlusFormProps>;
107
- default: () => {};
108
- };
109
105
  rest: {
110
106
  type: PropType<RecordType>;
111
107
  default: () => {};
112
108
  };
109
+ formProps: {
110
+ type: PropType<PlusFormProps>;
111
+ default: () => {};
112
+ };
113
113
  column: {
114
114
  type: PropType<PlusColumn>;
115
115
  required: true;
@@ -152,8 +152,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
152
152
  }) => void;
153
153
  }, string, {
154
154
  index: number;
155
- formProps: PlusFormProps;
156
155
  rest: RecordType;
156
+ formProps: PlusFormProps;
157
157
  column: PlusColumn;
158
158
  row: RecordType;
159
159
  editable: boolean | "click" | "dblclick";
@@ -182,14 +182,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
182
182
  type: PropType<number>;
183
183
  default: number;
184
184
  };
185
- formProps: {
186
- type: PropType<PlusFormProps>;
187
- default: () => {};
188
- };
189
185
  rest: {
190
186
  type: PropType<RecordType>;
191
187
  default: () => {};
192
188
  };
189
+ formProps: {
190
+ type: PropType<PlusFormProps>;
191
+ default: () => {};
192
+ };
193
193
  column: {
194
194
  type: PropType<PlusColumn>;
195
195
  required: true;
@@ -226,14 +226,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
226
226
  };
227
227
  }> & {} & ComponentCustomProperties & {} & {
228
228
  $slots: Partial<Record<string, (_: {
229
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
229
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
230
230
  readonly label: string | ComputedRef<string>;
231
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
231
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
232
232
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
233
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
233
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
234
234
  style?: CSSProperties | undefined;
235
235
  class?: any;
236
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
236
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
237
237
  style?: CSSProperties | undefined;
238
238
  class?: any;
239
239
  } & RecordType>>;
@@ -300,12 +300,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
300
300
  fieldInstance?: any;
301
301
  valueIsReady?: Ref<boolean> | undefined;
302
302
  prop: string;
303
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
303
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
304
304
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
305
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
305
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
306
306
  style?: CSSProperties | undefined;
307
307
  class?: any;
308
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
308
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
309
309
  style?: CSSProperties | undefined;
310
310
  class?: any;
311
311
  } & RecordType>>;
@@ -334,14 +334,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
334
334
  clearable: boolean;
335
335
  index: number;
336
336
  }) => any>> & Partial<Record<string, (_: {
337
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
337
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
338
338
  readonly label: string | ComputedRef<string>;
339
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
339
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
340
340
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
341
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
341
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
342
342
  style?: CSSProperties | undefined;
343
343
  class?: any;
344
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
344
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
345
345
  style?: CSSProperties | undefined;
346
346
  class?: any;
347
347
  } & RecordType>>;
@@ -408,12 +408,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
408
408
  fieldInstance?: any;
409
409
  valueIsReady?: Ref<boolean> | undefined;
410
410
  prop: string;
411
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
411
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
412
412
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
413
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
413
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
414
414
  style?: CSSProperties | undefined;
415
415
  class?: any;
416
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
416
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
417
417
  style?: CSSProperties | undefined;
418
418
  class?: any;
419
419
  } & RecordType>>;
@@ -442,14 +442,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
442
442
  clearable: boolean;
443
443
  index: number;
444
444
  }) => any>> & Partial<Record<string, (_: {
445
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
445
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
446
446
  readonly label: string | ComputedRef<string>;
447
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
447
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
448
448
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
449
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
449
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
450
450
  style?: CSSProperties | undefined;
451
451
  class?: any;
452
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
452
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
453
453
  style?: CSSProperties | undefined;
454
454
  class?: any;
455
455
  } & RecordType>>;
@@ -516,12 +516,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
516
516
  fieldInstance?: any;
517
517
  valueIsReady?: Ref<boolean> | undefined;
518
518
  prop: string;
519
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
519
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
520
520
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
521
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
521
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
522
522
  style?: CSSProperties | undefined;
523
523
  class?: any;
524
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
524
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
525
525
  style?: CSSProperties | undefined;
526
526
  class?: any;
527
527
  } & RecordType>>;
@@ -1,4 +1,4 @@
1
- import { RouteRecordName, RouteLocationNormalized, RouteComponent, RouteMeta, RouteRecordRedirectOption, NavigationGuardWithThis } from 'vue-router';
1
+ import { RouteRecordName, RouteLocationNormalized, RouteMeta, RouteComponent, RouteRecordRedirectOption, NavigationGuardWithThis } from 'vue-router';
2
2
  import { SetupContext, VNode, RendererNode, RendererElement, Component } from 'vue';
3
3
  import { FieldValueType, RecordType, PlusColumn, PlusRouteRecordRaw } from 'yc-pro-components/es/types';
4
4
 
@@ -120,7 +120,6 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
120
120
  __children: PlusRouteRecordRaw[] | undefined;
121
121
  name?: RouteRecordName | undefined;
122
122
  props?: (boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>)) | Record<string, boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>)> | undefined;
123
- components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
124
123
  meta?: ( RouteMeta & {
125
124
  title?: string | undefined;
126
125
  icon?: VNode<RendererNode, RendererElement, {
@@ -138,6 +137,7 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
138
137
  end?: boolean | undefined;
139
138
  sensitive?: boolean | undefined;
140
139
  strict?: boolean | undefined;
140
+ components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
141
141
  redirect?: RouteRecordRedirectOption | undefined;
142
142
  alias?: string | string[] | undefined;
143
143
  beforeEnter?: NavigationGuardWithThis<undefined> | NavigationGuardWithThis<undefined>[] | undefined;
@@ -6,12 +6,12 @@ export * from './src/type';
6
6
  export type YcDialogInstance = InstanceType<typeof YcDialogComponent>;
7
7
  export declare const YcDialog: {
8
8
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
9
- size: {
10
- type: PropType<DialogSize>;
11
- };
12
9
  width: {
13
10
  type: PropType<string | number>;
14
11
  };
12
+ size: {
13
+ type: PropType<DialogSize>;
14
+ };
15
15
  maxHeight: {
16
16
  type: PropType<string | number | false>;
17
17
  default: string;
@@ -21,12 +21,12 @@ export declare const YcDialog: {
21
21
  default: boolean;
22
22
  };
23
23
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
24
- size: {
25
- type: PropType<DialogSize>;
26
- };
27
24
  width: {
28
25
  type: PropType<string | number>;
29
26
  };
27
+ size: {
28
+ type: PropType<DialogSize>;
29
+ };
30
30
  maxHeight: {
31
31
  type: PropType<string | number | false>;
32
32
  default: string;
@@ -46,12 +46,12 @@ export declare const YcDialog: {
46
46
  M: {};
47
47
  Defaults: {};
48
48
  }, Readonly< ExtractPropTypes<{
49
- size: {
50
- type: PropType<DialogSize>;
51
- };
52
49
  width: {
53
50
  type: PropType<string | number>;
54
51
  };
52
+ size: {
53
+ type: PropType<DialogSize>;
54
+ };
55
55
  maxHeight: {
56
56
  type: PropType<string | number | false>;
57
57
  default: string;
@@ -68,12 +68,12 @@ export declare const YcDialog: {
68
68
  __isTeleport?: undefined;
69
69
  __isSuspense?: undefined;
70
70
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
71
- size: {
72
- type: PropType<DialogSize>;
73
- };
74
71
  width: {
75
72
  type: PropType<string | number>;
76
73
  };
74
+ size: {
75
+ type: PropType<DialogSize>;
76
+ };
77
77
  maxHeight: {
78
78
  type: PropType<string | number | false>;
79
79
  default: string;
@@ -94,12 +94,12 @@ export declare const YcDialog: {
94
94
  });
95
95
  export declare const ReDialog: {
96
96
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
97
- size: {
98
- type: PropType<DialogSize>;
99
- };
100
97
  width: {
101
98
  type: PropType<string | number>;
102
99
  };
100
+ size: {
101
+ type: PropType<DialogSize>;
102
+ };
103
103
  maxHeight: {
104
104
  type: PropType<string | number | false>;
105
105
  default: string;
@@ -109,12 +109,12 @@ export declare const ReDialog: {
109
109
  default: boolean;
110
110
  };
111
111
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
112
- size: {
113
- type: PropType<DialogSize>;
114
- };
115
112
  width: {
116
113
  type: PropType<string | number>;
117
114
  };
115
+ size: {
116
+ type: PropType<DialogSize>;
117
+ };
118
118
  maxHeight: {
119
119
  type: PropType<string | number | false>;
120
120
  default: string;
@@ -134,12 +134,12 @@ export declare const ReDialog: {
134
134
  M: {};
135
135
  Defaults: {};
136
136
  }, Readonly< ExtractPropTypes<{
137
- size: {
138
- type: PropType<DialogSize>;
139
- };
140
137
  width: {
141
138
  type: PropType<string | number>;
142
139
  };
140
+ size: {
141
+ type: PropType<DialogSize>;
142
+ };
143
143
  maxHeight: {
144
144
  type: PropType<string | number | false>;
145
145
  default: string;
@@ -156,12 +156,12 @@ export declare const ReDialog: {
156
156
  __isTeleport?: undefined;
157
157
  __isSuspense?: undefined;
158
158
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
159
- size: {
160
- type: PropType<DialogSize>;
161
- };
162
159
  width: {
163
160
  type: PropType<string | number>;
164
161
  };
162
+ size: {
163
+ type: PropType<DialogSize>;
164
+ };
165
165
  maxHeight: {
166
166
  type: PropType<string | number | false>;
167
167
  default: string;