@tu-design/vue 0.5.2 → 0.5.3
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.
- package/dist/index.d.mts +295 -142
- package/dist/index.mjs +353 -171
- package/dist/registry/vue/alert-dialog.json +1 -1
- package/dist/registry/vue/alert.json +1 -1
- package/dist/registry/vue/avatar-group.json +1 -1
- package/dist/registry/vue/avatar.json +1 -1
- package/dist/registry/vue/badge.json +1 -1
- package/dist/registry/vue/button.json +1 -1
- package/dist/registry/vue/calendar.json +1 -1
- package/dist/registry/vue/card.json +1 -1
- package/dist/registry/vue/cascader.json +1 -1
- package/dist/registry/vue/checkbox.json +1 -1
- package/dist/registry/vue/context-menu.json +1 -1
- package/dist/registry/vue/currency-input.json +1 -1
- package/dist/registry/vue/date-picker.json +1 -1
- package/dist/registry/vue/date-range-picker.json +1 -1
- package/dist/registry/vue/date-shared.json +1 -1
- package/dist/registry/vue/dialog.json +1 -1
- package/dist/registry/vue/drawer.json +1 -1
- package/dist/registry/vue/dropdown-menu.json +1 -1
- package/dist/registry/vue/empty.json +1 -1
- package/dist/registry/vue/form-render.json +6 -6
- package/dist/registry/vue/form.json +1 -1
- package/dist/registry/vue/icon-shared.json +1 -1
- package/dist/registry/vue/input.json +1 -1
- package/dist/registry/vue/label.json +1 -1
- package/dist/registry/vue/month-picker.json +1 -1
- package/dist/registry/vue/number-input.json +1 -1
- package/dist/registry/vue/overlay-shared.json +7 -1
- package/dist/registry/vue/password-input.json +1 -1
- package/dist/registry/vue/pin-input.json +1 -1
- package/dist/registry/vue/popconfirm.json +1 -1
- package/dist/registry/vue/popover.json +2 -2
- package/dist/registry/vue/progress.json +1 -1
- package/dist/registry/vue/radio-group.json +1 -1
- package/dist/registry/vue/registry.json +52 -52
- package/dist/registry/vue/select.json +1 -1
- package/dist/registry/vue/separator.json +1 -1
- package/dist/registry/vue/skeleton.json +1 -1
- package/dist/registry/vue/slider.json +1 -1
- package/dist/registry/vue/slot.json +1 -1
- package/dist/registry/vue/spin.json +1 -1
- package/dist/registry/vue/switch.json +1 -1
- package/dist/registry/vue/table-render.json +4 -4
- package/dist/registry/vue/tabs.json +1 -1
- package/dist/registry/vue/textarea.json +1 -1
- package/dist/registry/vue/timeline.json +1 -1
- package/dist/registry/vue/toast.json +1 -1
- package/dist/registry/vue/tokens.json +1 -1
- package/dist/registry/vue/tooltip.json +1 -1
- package/dist/registry/vue/tree-select.json +1 -1
- package/dist/registry/vue/tree-shared.json +1 -1
- package/dist/registry/vue/utils.json +1 -1
- package/dist/registry/vue/week-picker.json +1 -1
- package/dist/registry/vue/year-picker.json +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -18,7 +18,7 @@ export declare function cn(...inputs: ClassValue[]): string;
|
|
|
18
18
|
* (Transition/Teleport 等 T 开头名称会被 slice(1) 解析成错误导入)。
|
|
19
19
|
* 白名单与 index.ts 的组件导出保持同步(resolver.test.ts 强制校验)。
|
|
20
20
|
*/
|
|
21
|
-
export declare const COMPONENT_NAMES: readonly ["Alert", "AlertDialog", "Avatar", "AvatarGroup", "Badge", "Button", "Calendar", "Card", "Cascader", "Checkbox", "ContextMenu", "CurrencyInput", "DatePicker", "DateRangePicker", "Dialog", "Drawer", "DropdownMenu", "Empty", "Form", "FormControl", "FormDescription", "FormField", "FormItem", "FormLabel", "FormMessage", "FormRender", "FormSubscribe", "Input", "Label", "MonthPicker", "NumberInput", "PasswordInput", "PinInput", "Popconfirm", "Popover", "Progress", "RadioGroup", "Select", "Separator", "Skeleton", "Slider", "Slot", "Spin", "Switch", "TableRender", "Tabs", "Textarea", "Timeline", "ToastProvider", "TreeSelect", "Tooltip", "WeekPicker", "YearPicker"];
|
|
21
|
+
export declare const COMPONENT_NAMES: readonly ["Alert", "AlertDialog", "Avatar", "AvatarGroup", "Badge", "Button", "Calendar", "Card", "Cascader", "Checkbox", "ContextMenu", "CurrencyInput", "DatePicker", "DateRangePicker", "Dialog", "Drawer", "DropdownMenu", "Empty", "Form", "FormControl", "FormDescription", "FormField", "FormItem", "FormLabel", "FormMessage", "FormRender", "FormSubscribe", "Input", "Label", "MonthPicker", "NumberInput", "PasswordInput", "PinInput", "Popconfirm", "Popover", "Progress", "RadioGroup", "Select", "Separator", "Skeleton", "Slider", "Slot", "Spin", "Switch", "TablePagination", "TableRender", "Tabs", "Textarea", "Timeline", "ToastProvider", "TreeSelect", "Tooltip", "WeekPicker", "YearPicker"];
|
|
22
22
|
/** 结构兼容 unplugin-vue-components 的 ComponentResolveResult,无需依赖其类型 */
|
|
23
23
|
export interface ComponentResolveResult {
|
|
24
24
|
name: string;
|
|
@@ -92,14 +92,14 @@ declare const __VLS_base$34: import("vue").DefineComponent<import("vue").Extract
|
|
|
92
92
|
"onUpdate:checked"?: (checked: boolean) => any;
|
|
93
93
|
}>, {
|
|
94
94
|
class: string;
|
|
95
|
+
disabled: boolean;
|
|
95
96
|
name: string;
|
|
96
97
|
checked: boolean | "indeterminate";
|
|
97
98
|
defaultChecked: boolean;
|
|
98
|
-
disabled: boolean;
|
|
99
99
|
form: string;
|
|
100
100
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
101
|
-
declare const __VLS_export$
|
|
102
|
-
declare const _default$9: typeof __VLS_export$
|
|
101
|
+
declare const __VLS_export$52: __VLS_WithSlots$34<typeof __VLS_base$34, __VLS_Slots$34>;
|
|
102
|
+
declare const _default$9: typeof __VLS_export$52;
|
|
103
103
|
type __VLS_WithSlots$34<T, S> = T & {
|
|
104
104
|
new (): {
|
|
105
105
|
$slots: S;
|
|
@@ -122,7 +122,7 @@ export declare function parseCurrency(raw: string, labelUnit: CurrencyUnit, valu
|
|
|
122
122
|
export declare function formatCurrency(value: number, valueUnit: CurrencyUnit, labelUnit: CurrencyUnit): string;
|
|
123
123
|
//#endregion
|
|
124
124
|
//#region src/components/currency-input/CurrencyInput.vue.d.ts
|
|
125
|
-
declare const __VLS_export$
|
|
125
|
+
declare const __VLS_export$51: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
126
126
|
/** 受控值(valueUnit 单位);undefined 走内部非受控,null 表示空 */
|
|
127
127
|
modelValue: {
|
|
128
128
|
type: PropType<number | null | undefined>;
|
|
@@ -193,16 +193,16 @@ declare const __VLS_export$50: import("vue").DefineComponent<import("vue").Extra
|
|
|
193
193
|
}>, {
|
|
194
194
|
class: string;
|
|
195
195
|
modelValue: number;
|
|
196
|
-
disabled: boolean;
|
|
197
196
|
placeholder: string;
|
|
197
|
+
disabled: boolean;
|
|
198
198
|
invalid: boolean;
|
|
199
199
|
labelUnit: CurrencyUnit;
|
|
200
200
|
valueUnit: CurrencyUnit;
|
|
201
201
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
202
|
-
declare const _default$11: typeof __VLS_export$
|
|
202
|
+
declare const _default$11: typeof __VLS_export$51;
|
|
203
203
|
//#endregion
|
|
204
204
|
//#region src/components/date-picker/DatePicker.vue.d.ts
|
|
205
|
-
declare const __VLS_export$
|
|
205
|
+
declare const __VLS_export$50: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
206
206
|
/** 受控值("yyyy-MM-dd");undefined 走内部非受控,null 表示空 */
|
|
207
207
|
modelValue: {
|
|
208
208
|
type: PropType<string | null | undefined>;
|
|
@@ -338,24 +338,24 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
|
|
|
338
338
|
"onUpdate:open"?: (open: boolean) => any;
|
|
339
339
|
}>, {
|
|
340
340
|
class: string;
|
|
341
|
-
max: string;
|
|
342
341
|
modelValue: string;
|
|
343
342
|
defaultValue: string;
|
|
344
|
-
min: string;
|
|
345
|
-
isDateUnavailable: (date: DateValue) => boolean;
|
|
346
|
-
locale: string;
|
|
347
|
-
disabled: boolean;
|
|
348
343
|
open: boolean;
|
|
349
344
|
defaultOpen: boolean;
|
|
350
345
|
placeholder: string;
|
|
346
|
+
disabled: boolean;
|
|
351
347
|
invalid: boolean;
|
|
352
348
|
readOnly: boolean;
|
|
349
|
+
min: string;
|
|
350
|
+
max: string;
|
|
351
|
+
isDateUnavailable: (date: DateValue) => boolean;
|
|
353
352
|
closeOnSelect: boolean;
|
|
353
|
+
locale: string;
|
|
354
354
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
355
|
-
declare const _default$12: typeof __VLS_export$
|
|
355
|
+
declare const _default$12: typeof __VLS_export$50;
|
|
356
356
|
//#endregion
|
|
357
357
|
//#region src/components/date-range-picker/DateRangePicker.vue.d.ts
|
|
358
|
-
declare const __VLS_export$
|
|
358
|
+
declare const __VLS_export$49: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
359
359
|
/** 受控值 [start, end]("yyyy-MM-dd",start ≤ end);undefined 走内部非受控,null 表示空 */
|
|
360
360
|
modelValue: {
|
|
361
361
|
type: PropType<[string, string] | null | undefined>;
|
|
@@ -501,22 +501,22 @@ declare const __VLS_export$48: import("vue").DefineComponent<import("vue").Extra
|
|
|
501
501
|
"onUpdate:open"?: (open: boolean) => any;
|
|
502
502
|
}>, {
|
|
503
503
|
class: string;
|
|
504
|
-
max: string;
|
|
505
|
-
numOfMonths: number;
|
|
506
504
|
modelValue: [string, string];
|
|
507
505
|
defaultValue: [string, string];
|
|
508
|
-
min: string;
|
|
509
|
-
isDateUnavailable: (date: DateValue) => boolean;
|
|
510
|
-
locale: string;
|
|
511
|
-
disabled: boolean;
|
|
512
506
|
open: boolean;
|
|
513
507
|
defaultOpen: boolean;
|
|
514
508
|
placeholder: string;
|
|
509
|
+
disabled: boolean;
|
|
515
510
|
invalid: boolean;
|
|
516
511
|
readOnly: boolean;
|
|
512
|
+
min: string;
|
|
513
|
+
max: string;
|
|
514
|
+
isDateUnavailable: (date: DateValue) => boolean;
|
|
517
515
|
closeOnSelect: boolean;
|
|
516
|
+
numOfMonths: number;
|
|
517
|
+
locale: string;
|
|
518
518
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
519
|
-
declare const _default$13: typeof __VLS_export$
|
|
519
|
+
declare const _default$13: typeof __VLS_export$49;
|
|
520
520
|
//#endregion
|
|
521
521
|
//#region src/components/input/Input.vue.d.ts
|
|
522
522
|
type __VLS_Props$12 = {
|
|
@@ -527,15 +527,15 @@ type __VLS_ModelProps$2 = {
|
|
|
527
527
|
modelValue?: string | number;
|
|
528
528
|
};
|
|
529
529
|
type __VLS_PublicProps$2 = __VLS_Props$12 & __VLS_ModelProps$2;
|
|
530
|
-
declare const __VLS_export$
|
|
530
|
+
declare const __VLS_export$48: import("vue").DefineComponent<__VLS_PublicProps$2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
531
531
|
"update:modelValue": (value: string | number) => any;
|
|
532
532
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$2> & Readonly<{
|
|
533
533
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
534
534
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
535
|
-
declare const _default$27: typeof __VLS_export$
|
|
535
|
+
declare const _default$27: typeof __VLS_export$48;
|
|
536
536
|
//#endregion
|
|
537
537
|
//#region src/components/month-picker/MonthPicker.vue.d.ts
|
|
538
|
-
declare const __VLS_export$
|
|
538
|
+
declare const __VLS_export$47: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
539
539
|
/** 受控月份("yyyy-MM");undefined 走内部非受控,null 表示空 */
|
|
540
540
|
modelValue: {
|
|
541
541
|
type: PropType<string | null | undefined>;
|
|
@@ -663,23 +663,23 @@ declare const __VLS_export$46: import("vue").DefineComponent<import("vue").Extra
|
|
|
663
663
|
"onUpdate:open"?: (open: boolean) => any;
|
|
664
664
|
}>, {
|
|
665
665
|
class: string;
|
|
666
|
-
max: string;
|
|
667
666
|
modelValue: string;
|
|
668
667
|
defaultValue: string;
|
|
669
|
-
min: string;
|
|
670
|
-
locale: string;
|
|
671
|
-
disabled: boolean;
|
|
672
668
|
open: boolean;
|
|
673
669
|
defaultOpen: boolean;
|
|
674
670
|
placeholder: string;
|
|
671
|
+
disabled: boolean;
|
|
675
672
|
invalid: boolean;
|
|
676
673
|
readOnly: boolean;
|
|
674
|
+
min: string;
|
|
675
|
+
max: string;
|
|
677
676
|
closeOnSelect: boolean;
|
|
677
|
+
locale: string;
|
|
678
678
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
679
|
-
declare const _default$29: typeof __VLS_export$
|
|
679
|
+
declare const _default$29: typeof __VLS_export$47;
|
|
680
680
|
//#endregion
|
|
681
681
|
//#region src/components/week-picker/WeekPicker.vue.d.ts
|
|
682
|
-
declare const __VLS_export$
|
|
682
|
+
declare const __VLS_export$46: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
683
683
|
/** 受控值("yyyy-MM-dd",语义=所在周起始日);undefined 走内部非受控,null 表示空 */
|
|
684
684
|
modelValue: {
|
|
685
685
|
type: PropType<string | null | undefined>;
|
|
@@ -817,21 +817,21 @@ declare const __VLS_export$45: import("vue").DefineComponent<import("vue").Extra
|
|
|
817
817
|
"onUpdate:open"?: (open: boolean) => any;
|
|
818
818
|
}>, {
|
|
819
819
|
class: string;
|
|
820
|
-
max: string;
|
|
821
820
|
modelValue: string;
|
|
822
821
|
defaultValue: string;
|
|
823
|
-
min: string;
|
|
824
|
-
isDateUnavailable: (date: DateValue) => boolean;
|
|
825
|
-
locale: string;
|
|
826
|
-
disabled: boolean;
|
|
827
822
|
open: boolean;
|
|
828
823
|
defaultOpen: boolean;
|
|
829
824
|
placeholder: string;
|
|
825
|
+
disabled: boolean;
|
|
830
826
|
invalid: boolean;
|
|
831
827
|
readOnly: boolean;
|
|
828
|
+
min: string;
|
|
829
|
+
max: string;
|
|
830
|
+
isDateUnavailable: (date: DateValue) => boolean;
|
|
832
831
|
closeOnSelect: boolean;
|
|
832
|
+
locale: string;
|
|
833
833
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
834
|
-
declare const _default$
|
|
834
|
+
declare const _default$51: typeof __VLS_export$46;
|
|
835
835
|
//#endregion
|
|
836
836
|
//#region src/components/number-input/NumberInput.vue.d.ts
|
|
837
837
|
declare var __VLS_16$6: {}, __VLS_29$1: {};
|
|
@@ -914,16 +914,16 @@ declare const __VLS_base$33: import("vue").DefineComponent<import("vue").Extract
|
|
|
914
914
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
915
915
|
}>, {
|
|
916
916
|
class: string;
|
|
917
|
-
max: number;
|
|
918
917
|
modelValue: number;
|
|
919
|
-
min: number;
|
|
920
918
|
disabled: boolean;
|
|
921
919
|
invalid: boolean;
|
|
920
|
+
min: number;
|
|
921
|
+
max: number;
|
|
922
922
|
step: number;
|
|
923
923
|
formatOptions: Intl.NumberFormatOptions;
|
|
924
924
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
925
|
-
declare const __VLS_export$
|
|
926
|
-
declare const _default$30: typeof __VLS_export$
|
|
925
|
+
declare const __VLS_export$45: __VLS_WithSlots$33<typeof __VLS_base$33, __VLS_Slots$33>;
|
|
926
|
+
declare const _default$30: typeof __VLS_export$45;
|
|
927
927
|
type __VLS_WithSlots$33<T, S> = T & {
|
|
928
928
|
new (): {
|
|
929
929
|
$slots: S;
|
|
@@ -1015,14 +1015,14 @@ declare const __VLS_base$32: import("vue").DefineComponent<import("vue").Extract
|
|
|
1015
1015
|
}>, {
|
|
1016
1016
|
class: string;
|
|
1017
1017
|
modelValue: string;
|
|
1018
|
-
disabled: boolean;
|
|
1019
1018
|
placeholder: string;
|
|
1019
|
+
disabled: boolean;
|
|
1020
1020
|
invalid: boolean;
|
|
1021
1021
|
visible: boolean;
|
|
1022
1022
|
autoComplete: "current-password" | "new-password";
|
|
1023
1023
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1024
|
-
declare const __VLS_export$
|
|
1025
|
-
declare const _default$31: typeof __VLS_export$
|
|
1024
|
+
declare const __VLS_export$44: __VLS_WithSlots$32<typeof __VLS_base$32, __VLS_Slots$32>;
|
|
1025
|
+
declare const _default$31: typeof __VLS_export$44;
|
|
1026
1026
|
type __VLS_WithSlots$32<T, S> = T & {
|
|
1027
1027
|
new (): {
|
|
1028
1028
|
$slots: S;
|
|
@@ -1071,8 +1071,8 @@ declare const __VLS_base$31: import("vue").DefineComponent<Props$9, {}, {}, {},
|
|
|
1071
1071
|
}, string, import("vue").PublicProps, Readonly<Props$9> & Readonly<{
|
|
1072
1072
|
"onUpdate:value"?: (value: string) => any;
|
|
1073
1073
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1074
|
-
declare const __VLS_export$
|
|
1075
|
-
declare const _default$36: typeof __VLS_export$
|
|
1074
|
+
declare const __VLS_export$43: __VLS_WithSlots$31<typeof __VLS_base$31, __VLS_Slots$31>;
|
|
1075
|
+
declare const _default$36: typeof __VLS_export$43;
|
|
1076
1076
|
type __VLS_WithSlots$31<T, S> = T & {
|
|
1077
1077
|
new (): {
|
|
1078
1078
|
$slots: S;
|
|
@@ -1101,7 +1101,7 @@ interface TreeOption {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
//#endregion
|
|
1103
1103
|
//#region src/components/cascader/Cascader.vue.d.ts
|
|
1104
|
-
declare const __VLS_export$
|
|
1104
|
+
declare const __VLS_export$42: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1105
1105
|
/** 树形选项(key 必填,label 展示名,children 子级) */
|
|
1106
1106
|
options: {
|
|
1107
1107
|
type: PropType<TreeOption[]>;
|
|
@@ -1275,10 +1275,10 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1275
1275
|
class: string;
|
|
1276
1276
|
modelValue: Key | Key[];
|
|
1277
1277
|
defaultValue: Key | Key[];
|
|
1278
|
-
disabled: boolean;
|
|
1279
1278
|
open: boolean;
|
|
1280
1279
|
defaultOpen: boolean;
|
|
1281
1280
|
placeholder: string;
|
|
1281
|
+
disabled: boolean;
|
|
1282
1282
|
multiple: boolean;
|
|
1283
1283
|
checkable: boolean;
|
|
1284
1284
|
cascade: boolean;
|
|
@@ -1289,10 +1289,10 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1289
1289
|
clearable: boolean;
|
|
1290
1290
|
maxTagCount: number;
|
|
1291
1291
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1292
|
-
declare const _default$8: typeof __VLS_export$
|
|
1292
|
+
declare const _default$8: typeof __VLS_export$42;
|
|
1293
1293
|
//#endregion
|
|
1294
1294
|
//#region src/components/tree-select/TreeSelect.vue.d.ts
|
|
1295
|
-
declare const __VLS_export$
|
|
1295
|
+
declare const __VLS_export$41: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1296
1296
|
/** 树选项(key/label/children/disabled) */
|
|
1297
1297
|
options: {
|
|
1298
1298
|
type: PropType<TreeOption[]>;
|
|
@@ -1476,10 +1476,10 @@ declare const __VLS_export$40: import("vue").DefineComponent<import("vue").Extra
|
|
|
1476
1476
|
class: string;
|
|
1477
1477
|
modelValue: Key | Key[];
|
|
1478
1478
|
defaultValue: Key | Key[];
|
|
1479
|
-
disabled: boolean;
|
|
1480
1479
|
open: boolean;
|
|
1481
1480
|
defaultOpen: boolean;
|
|
1482
1481
|
placeholder: string;
|
|
1482
|
+
disabled: boolean;
|
|
1483
1483
|
multiple: boolean;
|
|
1484
1484
|
checkable: boolean;
|
|
1485
1485
|
cascade: boolean;
|
|
@@ -1491,7 +1491,7 @@ declare const __VLS_export$40: import("vue").DefineComponent<import("vue").Extra
|
|
|
1491
1491
|
defaultExpandedKeys: Key[];
|
|
1492
1492
|
defaultExpandAll: boolean;
|
|
1493
1493
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1494
|
-
declare const _default$
|
|
1494
|
+
declare const _default$50: typeof __VLS_export$41;
|
|
1495
1495
|
//#endregion
|
|
1496
1496
|
//#region src/components/select/types.d.ts
|
|
1497
1497
|
interface SelectItemOption {
|
|
@@ -1604,8 +1604,8 @@ declare const __VLS_base$30: import("vue").DefineComponent<import("vue").Extract
|
|
|
1604
1604
|
contentClass: string;
|
|
1605
1605
|
triggerClass: string;
|
|
1606
1606
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1607
|
-
declare const __VLS_export$
|
|
1608
|
-
declare const _default$37: typeof __VLS_export$
|
|
1607
|
+
declare const __VLS_export$40: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
|
|
1608
|
+
declare const _default$37: typeof __VLS_export$40;
|
|
1609
1609
|
type __VLS_WithSlots$30<T, S> = T & {
|
|
1610
1610
|
new (): {
|
|
1611
1611
|
$slots: S;
|
|
@@ -1625,16 +1625,16 @@ type __VLS_Props$11 = {
|
|
|
1625
1625
|
disabled?: boolean;
|
|
1626
1626
|
class?: string;
|
|
1627
1627
|
};
|
|
1628
|
-
declare const __VLS_export$
|
|
1628
|
+
declare const __VLS_export$39: import("vue").DefineComponent<__VLS_Props$11, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1629
1629
|
"update:modelValue": (value: number[]) => any;
|
|
1630
1630
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props$11> & Readonly<{
|
|
1631
1631
|
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
1632
1632
|
}>, {
|
|
1633
|
-
max: number;
|
|
1634
1633
|
min: number;
|
|
1634
|
+
max: number;
|
|
1635
1635
|
step: number;
|
|
1636
1636
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1637
|
-
declare const _default$40: typeof __VLS_export$
|
|
1637
|
+
declare const _default$40: typeof __VLS_export$39;
|
|
1638
1638
|
//#endregion
|
|
1639
1639
|
//#region src/components/switch/Switch.vue.d.ts
|
|
1640
1640
|
declare var __VLS_32: {};
|
|
@@ -1681,12 +1681,12 @@ declare const __VLS_base$29: import("vue").DefineComponent<import("vue").Extract
|
|
|
1681
1681
|
"onUpdate:checked"?: (checked: boolean) => any;
|
|
1682
1682
|
}>, {
|
|
1683
1683
|
class: string;
|
|
1684
|
+
disabled: boolean;
|
|
1684
1685
|
checked: boolean;
|
|
1685
1686
|
defaultChecked: boolean;
|
|
1686
|
-
disabled: boolean;
|
|
1687
1687
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1688
|
-
declare const __VLS_export$
|
|
1689
|
-
declare const _default$42: typeof __VLS_export$
|
|
1688
|
+
declare const __VLS_export$38: __VLS_WithSlots$29<typeof __VLS_base$29, __VLS_Slots$29>;
|
|
1689
|
+
declare const _default$42: typeof __VLS_export$38;
|
|
1690
1690
|
type __VLS_WithSlots$29<T, S> = T & {
|
|
1691
1691
|
new (): {
|
|
1692
1692
|
$slots: S;
|
|
@@ -1702,15 +1702,15 @@ type __VLS_ModelProps$1 = {
|
|
|
1702
1702
|
modelValue?: string | number;
|
|
1703
1703
|
};
|
|
1704
1704
|
type __VLS_PublicProps$1 = __VLS_Props$10 & __VLS_ModelProps$1;
|
|
1705
|
-
declare const __VLS_export$
|
|
1705
|
+
declare const __VLS_export$37: import("vue").DefineComponent<__VLS_PublicProps$1, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1706
1706
|
"update:modelValue": (value: string | number) => any;
|
|
1707
1707
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
|
|
1708
1708
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
1709
1709
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1710
|
-
declare const _default$
|
|
1710
|
+
declare const _default$46: typeof __VLS_export$37;
|
|
1711
1711
|
//#endregion
|
|
1712
1712
|
//#region src/components/year-picker/YearPicker.vue.d.ts
|
|
1713
|
-
declare const __VLS_export$
|
|
1713
|
+
declare const __VLS_export$36: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1714
1714
|
/** 受控年份("yyyy");undefined 走内部非受控,null 表示空 */
|
|
1715
1715
|
modelValue: {
|
|
1716
1716
|
type: PropType<string | null | undefined>;
|
|
@@ -1838,20 +1838,20 @@ declare const __VLS_export$35: import("vue").DefineComponent<import("vue").Extra
|
|
|
1838
1838
|
"onUpdate:open"?: (open: boolean) => any;
|
|
1839
1839
|
}>, {
|
|
1840
1840
|
class: string;
|
|
1841
|
-
max: string;
|
|
1842
1841
|
modelValue: string;
|
|
1843
1842
|
defaultValue: string;
|
|
1844
|
-
min: string;
|
|
1845
|
-
locale: string;
|
|
1846
|
-
disabled: boolean;
|
|
1847
1843
|
open: boolean;
|
|
1848
1844
|
defaultOpen: boolean;
|
|
1849
1845
|
placeholder: string;
|
|
1846
|
+
disabled: boolean;
|
|
1850
1847
|
invalid: boolean;
|
|
1851
1848
|
readOnly: boolean;
|
|
1849
|
+
min: string;
|
|
1850
|
+
max: string;
|
|
1852
1851
|
closeOnSelect: boolean;
|
|
1852
|
+
locale: string;
|
|
1853
1853
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1854
|
-
declare const _default$
|
|
1854
|
+
declare const _default$52: typeof __VLS_export$36;
|
|
1855
1855
|
//#endregion
|
|
1856
1856
|
//#region src/components/form-render/types.d.ts
|
|
1857
1857
|
/**
|
|
@@ -1886,7 +1886,7 @@ type InputWidgetOptions = SfcOptions<typeof _default$27> & {
|
|
|
1886
1886
|
type?: string;
|
|
1887
1887
|
};
|
|
1888
1888
|
/** Textarea 自身无 placeholder/rows prop(原生 attr 透传),交叉手写 */
|
|
1889
|
-
type TextareaWidgetOptions = SfcOptions<typeof _default$
|
|
1889
|
+
type TextareaWidgetOptions = SfcOptions<typeof _default$46> & {
|
|
1890
1890
|
placeholder?: string;
|
|
1891
1891
|
rows?: number;
|
|
1892
1892
|
};
|
|
@@ -1910,15 +1910,15 @@ type RadioGroupWidgetOptions = Omit<SfcOptions<typeof _default$36>, "items"> & {
|
|
|
1910
1910
|
items: SelectItemOption[];
|
|
1911
1911
|
};
|
|
1912
1912
|
/** TreeSelect / Cascader:选项 prop 原名 options,受控走 modelValue(ControlledKey 自动剔除) */
|
|
1913
|
-
type TreeSelectWidgetOptions = SfcOptions<typeof _default$
|
|
1913
|
+
type TreeSelectWidgetOptions = SfcOptions<typeof _default$50>;
|
|
1914
1914
|
type CascaderWidgetOptions = SfcOptions<typeof _default$8>;
|
|
1915
1915
|
type SliderWidgetOptions = SfcOptions<typeof _default$40>;
|
|
1916
1916
|
/** picker 三组件 props 面不同(DatePicker 有 isDateUnavailable/max/min,Month/Year 有 locale),各自派生 */
|
|
1917
1917
|
type DatePickerWidgetOptions = SfcOptions<typeof _default$12>;
|
|
1918
1918
|
type MonthPickerWidgetOptions = SfcOptions<typeof _default$29>;
|
|
1919
|
-
type YearPickerWidgetOptions = SfcOptions<typeof _default$
|
|
1919
|
+
type YearPickerWidgetOptions = SfcOptions<typeof _default$52>;
|
|
1920
1920
|
type DateRangeWidgetOptions = SfcOptions<typeof _default$13>;
|
|
1921
|
-
type WeekPickerWidgetOptions = SfcOptions<typeof _default$
|
|
1921
|
+
type WeekPickerWidgetOptions = SfcOptions<typeof _default$51>;
|
|
1922
1922
|
/**
|
|
1923
1923
|
* widget 注册表类型契约:实现对象在 widgets/index.ts。
|
|
1924
1924
|
* 类型集中于此避免循环依赖(type-only import 无运行时环)。
|
|
@@ -1971,11 +1971,30 @@ interface FormRenderItem<T extends object> {
|
|
|
1971
1971
|
/** 逃逸口:原样合并到控件 vnode 的 props */
|
|
1972
1972
|
componentProps?: Record<string, unknown>;
|
|
1973
1973
|
}
|
|
1974
|
+
/** 按钮预设(A1 块级互斥:actions 存在时 <FormRender> 组件按钮 props 全量忽略) */
|
|
1975
|
+
interface FormActionsConfig {
|
|
1976
|
+
/** 搜索按钮,缺省 false */
|
|
1977
|
+
searchable?: boolean;
|
|
1978
|
+
/** 提交按钮,缺省 false */
|
|
1979
|
+
submitable?: boolean;
|
|
1980
|
+
/** 重置按钮;缺省跟随 searchable(A2,域内解析) */
|
|
1981
|
+
resetable?: boolean;
|
|
1982
|
+
/** 取消按钮;缺省跟随 submitable(A2,域内解析) */
|
|
1983
|
+
cancelable?: boolean;
|
|
1984
|
+
searchText?: string;
|
|
1985
|
+
submitText?: string;
|
|
1986
|
+
resetText?: string;
|
|
1987
|
+
}
|
|
1974
1988
|
interface FormRenderDefinition<T extends object> {
|
|
1975
1989
|
items: FormRenderItem<T>[];
|
|
1976
1990
|
form: FormRenderFormApi;
|
|
1977
1991
|
/** 重置到 items.default(搜索表单"重置"语义) */
|
|
1978
1992
|
resetToDefaults: () => void;
|
|
1993
|
+
/** 全量校验并返回是否通过(R30);不触发 FormRender 的 search/submit 事件。
|
|
1994
|
+
* 组合式外部查询标准链路:`if (await table.search.submit()) table.reload(true)` */
|
|
1995
|
+
submit: () => Promise<boolean>;
|
|
1996
|
+
/** 按钮预设投影(引擎从 options 七项直传;未配置为 undefined——此时组件按钮 props 全量生效) */
|
|
1997
|
+
actions?: FormActionsConfig;
|
|
1979
1998
|
}
|
|
1980
1999
|
//#endregion
|
|
1981
2000
|
//#region src/components/form-render/FormRender.vue.d.ts
|
|
@@ -2089,8 +2108,8 @@ declare const __VLS_base$28: import("vue").DefineComponent<import("vue").Extract
|
|
|
2089
2108
|
resetable: boolean;
|
|
2090
2109
|
cancelable: boolean;
|
|
2091
2110
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2092
|
-
declare const __VLS_export$
|
|
2093
|
-
declare const _default$25: typeof __VLS_export$
|
|
2111
|
+
declare const __VLS_export$35: __VLS_WithSlots$28<typeof __VLS_base$28, __VLS_Slots$28>;
|
|
2112
|
+
declare const _default$25: typeof __VLS_export$35;
|
|
2094
2113
|
type __VLS_WithSlots$28<T, S> = T & {
|
|
2095
2114
|
new (): {
|
|
2096
2115
|
$slots: S;
|
|
@@ -2105,16 +2124,26 @@ interface DefineFormOptions<T extends object> {
|
|
|
2105
2124
|
onSubmit?: (ctx: {
|
|
2106
2125
|
value: T;
|
|
2107
2126
|
}) => void | Promise<void>;
|
|
2127
|
+
/** 按钮预设七项(A1 块级互斥):显式传任一项即投影为 definition.actions,组件按钮 props 全量忽略 */
|
|
2128
|
+
searchable?: boolean;
|
|
2129
|
+
submitable?: boolean;
|
|
2130
|
+
resetable?: boolean;
|
|
2131
|
+
cancelable?: boolean;
|
|
2132
|
+
searchText?: string;
|
|
2133
|
+
submitText?: string;
|
|
2134
|
+
resetText?: string;
|
|
2108
2135
|
/** 其余 TanStack useForm 选项透传(如 onSubmitInvalid) */
|
|
2109
2136
|
formOptions?: Record<string, unknown>;
|
|
2110
2137
|
}
|
|
2111
2138
|
/**
|
|
2112
|
-
* 聚合入口:单次调用完成「字段定义 + 类型约束 +
|
|
2139
|
+
* 聚合入口:单次调用完成「字段定义 + 类型约束 + 表单实例 + 按钮预设」。
|
|
2113
2140
|
*
|
|
2114
|
-
* 返回 `{ items, form, resetToDefaults }`:
|
|
2141
|
+
* 返回 `{ items, form, resetToDefaults, submit, actions? }`:
|
|
2115
2142
|
* - `items` / `form` 传给 `<FormRender>`(支持 `:definition` 单 prop 或 `:form` + `:items` 拆分);
|
|
2116
2143
|
* - `form` 可直接 `reset()` / `validate()` / `handleSubmit()`;
|
|
2117
|
-
* - `resetToDefaults()` 重置到 `items.default`(搜索表单"重置"
|
|
2144
|
+
* - `resetToDefaults()` 重置到 `items.default`(搜索表单"重置"语义);
|
|
2145
|
+
* - `submit()` 全量校验并返回是否通过(R30,组合式查询链路);
|
|
2146
|
+
* - `actions` 按钮预设(searchable 等七项直传):存在时 `<FormRender>` 组件按钮 props 全量忽略(A1 块级互斥)。
|
|
2118
2147
|
*
|
|
2119
2148
|
* 须在组件 setup 中调用(TanStack useForm 约束)。
|
|
2120
2149
|
*/
|
|
@@ -2128,6 +2157,14 @@ interface UseFormRenderOptions<T extends object> {
|
|
|
2128
2157
|
onSubmit?: (ctx: {
|
|
2129
2158
|
value: T;
|
|
2130
2159
|
}) => void | Promise<void>;
|
|
2160
|
+
/** 按钮预设七项(A1):显式传任一项即投影为 actions(definition 域,组件按钮 props 全量忽略) */
|
|
2161
|
+
searchable?: boolean;
|
|
2162
|
+
submitable?: boolean;
|
|
2163
|
+
resetable?: boolean;
|
|
2164
|
+
cancelable?: boolean;
|
|
2165
|
+
searchText?: string;
|
|
2166
|
+
submitText?: string;
|
|
2167
|
+
resetText?: string;
|
|
2131
2168
|
/** 其余 TanStack useForm 选项透传(如 onSubmitInvalid) */
|
|
2132
2169
|
formOptions?: Record<string, unknown>;
|
|
2133
2170
|
}
|
|
@@ -2210,8 +2247,8 @@ declare const __VLS_base$27: import("vue").DefineComponent<Props$8, {}, {}, {},
|
|
|
2210
2247
|
shape: AvatarVariants["shape"];
|
|
2211
2248
|
objectFit: "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
2212
2249
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2213
|
-
declare const __VLS_export$
|
|
2214
|
-
declare const _default$2: typeof __VLS_export$
|
|
2250
|
+
declare const __VLS_export$34: __VLS_WithSlots$27<typeof __VLS_base$27, __VLS_Slots$27>;
|
|
2251
|
+
declare const _default$2: typeof __VLS_export$34;
|
|
2215
2252
|
type __VLS_WithSlots$27<T, S> = T & {
|
|
2216
2253
|
new (): {
|
|
2217
2254
|
$slots: S;
|
|
@@ -2220,7 +2257,7 @@ type __VLS_WithSlots$27<T, S> = T & {
|
|
|
2220
2257
|
//#endregion
|
|
2221
2258
|
//#region src/components/avatar/index.d.ts
|
|
2222
2259
|
export declare const avatarVariants: (props?: {
|
|
2223
|
-
size?: "
|
|
2260
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
2224
2261
|
shape?: "circle" | "square";
|
|
2225
2262
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
2226
2263
|
export type AvatarVariants = VariantProps<typeof avatarVariants>;
|
|
@@ -2250,8 +2287,8 @@ type __VLS_Slots$26 = {} & {
|
|
|
2250
2287
|
rest?: (props: typeof __VLS_12) => any;
|
|
2251
2288
|
};
|
|
2252
2289
|
declare const __VLS_base$26: import("vue").DefineComponent<Props$7, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$7> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2253
|
-
declare const __VLS_export$
|
|
2254
|
-
declare const _default$3: typeof __VLS_export$
|
|
2290
|
+
declare const __VLS_export$33: __VLS_WithSlots$26<typeof __VLS_base$26, __VLS_Slots$26>;
|
|
2291
|
+
declare const _default$3: typeof __VLS_export$33;
|
|
2255
2292
|
type __VLS_WithSlots$26<T, S> = T & {
|
|
2256
2293
|
new (): {
|
|
2257
2294
|
$slots: S;
|
|
@@ -2268,8 +2305,8 @@ type __VLS_Slots$25 = {} & {
|
|
|
2268
2305
|
default?: (props: typeof __VLS_1$10) => any;
|
|
2269
2306
|
};
|
|
2270
2307
|
declare const __VLS_base$25: import("vue").DefineComponent<Props$6, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$6> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2271
|
-
declare const __VLS_export$
|
|
2272
|
-
declare const _default$4: typeof __VLS_export$
|
|
2308
|
+
declare const __VLS_export$32: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
|
|
2309
|
+
declare const _default$4: typeof __VLS_export$32;
|
|
2273
2310
|
type __VLS_WithSlots$25<T, S> = T & {
|
|
2274
2311
|
new (): {
|
|
2275
2312
|
$slots: S;
|
|
@@ -2278,7 +2315,7 @@ type __VLS_WithSlots$25<T, S> = T & {
|
|
|
2278
2315
|
//#endregion
|
|
2279
2316
|
//#region src/components/badge/index.d.ts
|
|
2280
2317
|
export declare const badgeVariants: (props?: {
|
|
2281
|
-
variant?: "default" | "
|
|
2318
|
+
variant?: "default" | "secondary" | "destructive" | "outline";
|
|
2282
2319
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
2283
2320
|
export type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
2284
2321
|
//#endregion
|
|
@@ -2301,8 +2338,8 @@ type __VLS_Slots$24 = {} & {
|
|
|
2301
2338
|
declare const __VLS_base$24: import("vue").DefineComponent<Props$5, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$5> & Readonly<{}>, {
|
|
2302
2339
|
as: string;
|
|
2303
2340
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2304
|
-
declare const __VLS_export$
|
|
2305
|
-
declare const _default$5: typeof __VLS_export$
|
|
2341
|
+
declare const __VLS_export$31: __VLS_WithSlots$24<typeof __VLS_base$24, __VLS_Slots$24>;
|
|
2342
|
+
declare const _default$5: typeof __VLS_export$31;
|
|
2306
2343
|
type __VLS_WithSlots$24<T, S> = T & {
|
|
2307
2344
|
new (): {
|
|
2308
2345
|
$slots: S;
|
|
@@ -2311,8 +2348,8 @@ type __VLS_WithSlots$24<T, S> = T & {
|
|
|
2311
2348
|
//#endregion
|
|
2312
2349
|
//#region src/components/button/index.d.ts
|
|
2313
2350
|
export declare const buttonVariants: (props?: {
|
|
2314
|
-
variant?: "default" | "
|
|
2315
|
-
size?: "
|
|
2351
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link";
|
|
2352
|
+
size?: "sm" | "lg" | "default" | "icon";
|
|
2316
2353
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
2317
2354
|
export type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
2318
2355
|
//#endregion
|
|
@@ -2425,17 +2462,17 @@ declare const __VLS_base$23: import("vue").DefineComponent<import("vue").Extract
|
|
|
2425
2462
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
2426
2463
|
}>, {
|
|
2427
2464
|
mode: "day" | "month" | "year";
|
|
2428
|
-
max: string;
|
|
2429
|
-
numOfMonths: number;
|
|
2430
2465
|
modelValue: string;
|
|
2431
2466
|
defaultValue: string;
|
|
2432
2467
|
min: string;
|
|
2468
|
+
max: string;
|
|
2433
2469
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
2470
|
+
numOfMonths: number;
|
|
2434
2471
|
locale: string;
|
|
2435
2472
|
week: boolean;
|
|
2436
2473
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2437
|
-
declare const __VLS_export$
|
|
2438
|
-
declare const _default$6: typeof __VLS_export$
|
|
2474
|
+
declare const __VLS_export$30: __VLS_WithSlots$23<typeof __VLS_base$23, __VLS_Slots$23>;
|
|
2475
|
+
declare const _default$6: typeof __VLS_export$30;
|
|
2439
2476
|
type __VLS_WithSlots$23<T, S> = T & {
|
|
2440
2477
|
new (): {
|
|
2441
2478
|
$slots: S;
|
|
@@ -2490,8 +2527,8 @@ declare const __VLS_base$22: import("vue").DefineComponent<Props$4, {}, {}, {},
|
|
|
2490
2527
|
title: string;
|
|
2491
2528
|
description: string;
|
|
2492
2529
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2493
|
-
declare const __VLS_export$
|
|
2494
|
-
declare const _default$7: typeof __VLS_export$
|
|
2530
|
+
declare const __VLS_export$29: __VLS_WithSlots$22<typeof __VLS_base$22, __VLS_Slots$22>;
|
|
2531
|
+
declare const _default$7: typeof __VLS_export$29;
|
|
2495
2532
|
type __VLS_WithSlots$22<T, S> = T & {
|
|
2496
2533
|
new (): {
|
|
2497
2534
|
$slots: S;
|
|
@@ -2500,7 +2537,7 @@ type __VLS_WithSlots$22<T, S> = T & {
|
|
|
2500
2537
|
//#endregion
|
|
2501
2538
|
//#region src/components/card/index.d.ts
|
|
2502
2539
|
export declare const cardVariants: (props?: {
|
|
2503
|
-
size?: "
|
|
2540
|
+
size?: "sm" | "lg" | "default";
|
|
2504
2541
|
bordered?: boolean;
|
|
2505
2542
|
hoverable?: boolean;
|
|
2506
2543
|
interactive?: boolean;
|
|
@@ -2624,8 +2661,8 @@ declare const __VLS_base$21: import("vue").DefineComponent<import("vue").Extract
|
|
|
2624
2661
|
showCloseButton: boolean;
|
|
2625
2662
|
contentClass: string;
|
|
2626
2663
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2627
|
-
declare const __VLS_export$
|
|
2628
|
-
declare const _default$14: typeof __VLS_export$
|
|
2664
|
+
declare const __VLS_export$28: __VLS_WithSlots$21<typeof __VLS_base$21, __VLS_Slots$21>;
|
|
2665
|
+
declare const _default$14: typeof __VLS_export$28;
|
|
2629
2666
|
type __VLS_WithSlots$21<T, S> = T & {
|
|
2630
2667
|
new (): {
|
|
2631
2668
|
$slots: S;
|
|
@@ -2749,8 +2786,8 @@ declare const __VLS_base$20: import("vue").DefineComponent<import("vue").Extract
|
|
|
2749
2786
|
contentClass: string;
|
|
2750
2787
|
triggerClass: string;
|
|
2751
2788
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2752
|
-
declare const __VLS_export$
|
|
2753
|
-
declare const _default$16: typeof __VLS_export$
|
|
2789
|
+
declare const __VLS_export$27: __VLS_WithSlots$20<typeof __VLS_base$20, __VLS_Slots$20>;
|
|
2790
|
+
declare const _default$16: typeof __VLS_export$27;
|
|
2754
2791
|
type __VLS_WithSlots$20<T, S> = T & {
|
|
2755
2792
|
new (): {
|
|
2756
2793
|
$slots: S;
|
|
@@ -2772,8 +2809,8 @@ type __VLS_Slots$19 = {} & {
|
|
|
2772
2809
|
default?: (props: typeof __VLS_1$8) => any;
|
|
2773
2810
|
};
|
|
2774
2811
|
declare const __VLS_base$19: import("vue").DefineComponent<__VLS_Props$9, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2775
|
-
declare const __VLS_export$
|
|
2776
|
-
declare const _default$18: typeof __VLS_export$
|
|
2812
|
+
declare const __VLS_export$26: __VLS_WithSlots$19<typeof __VLS_base$19, __VLS_Slots$19>;
|
|
2813
|
+
declare const _default$18: typeof __VLS_export$26;
|
|
2777
2814
|
type __VLS_WithSlots$19<T, S> = T & {
|
|
2778
2815
|
new (): {
|
|
2779
2816
|
$slots: S;
|
|
@@ -2785,8 +2822,8 @@ type __VLS_WithSlots$19<T, S> = T & {
|
|
|
2785
2822
|
* 把 id / aria-invalid / aria-describedby 合并到唯一子元素(cloneVNode)。
|
|
2786
2823
|
* aria 全同步计算:description/message 的 presence 由 FormItem 的 refs 提供。
|
|
2787
2824
|
*/
|
|
2788
|
-
declare const _default$19: typeof __VLS_export$
|
|
2789
|
-
declare const __VLS_export$
|
|
2825
|
+
declare const _default$19: typeof __VLS_export$25;
|
|
2826
|
+
declare const __VLS_export$25: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2790
2827
|
class: {
|
|
2791
2828
|
type: StringConstructor;
|
|
2792
2829
|
default: any;
|
|
@@ -2811,8 +2848,8 @@ type __VLS_Slots$18 = {} & {
|
|
|
2811
2848
|
default?: (props: typeof __VLS_1$7) => any;
|
|
2812
2849
|
};
|
|
2813
2850
|
declare const __VLS_base$18: import("vue").DefineComponent<__VLS_Props$8, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$8> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2814
|
-
declare const __VLS_export$
|
|
2815
|
-
declare const _default$20: typeof __VLS_export$
|
|
2851
|
+
declare const __VLS_export$24: __VLS_WithSlots$18<typeof __VLS_base$18, __VLS_Slots$18>;
|
|
2852
|
+
declare const _default$20: typeof __VLS_export$24;
|
|
2816
2853
|
type __VLS_WithSlots$18<T, S> = T & {
|
|
2817
2854
|
new (): {
|
|
2818
2855
|
$slots: S;
|
|
@@ -2825,8 +2862,8 @@ type __VLS_WithSlots$18<T, S> = T & {
|
|
|
2825
2862
|
* field 实例只能在 form.Field 的插槽执行期取得(时序早于子组件 setup),
|
|
2826
2863
|
* 故用 defineComponent + render function 在插槽回调中写入 ShallowRef。
|
|
2827
2864
|
*/
|
|
2828
|
-
declare const _default$21: typeof __VLS_export$
|
|
2829
|
-
declare const __VLS_export$
|
|
2865
|
+
declare const _default$21: typeof __VLS_export$23;
|
|
2866
|
+
declare const __VLS_export$23: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2830
2867
|
/** 字段名(TanStack 深层 key 的运行时形态) */
|
|
2831
2868
|
name: {
|
|
2832
2869
|
type: StringConstructor;
|
|
@@ -2873,8 +2910,8 @@ type __VLS_Slots$17 = {} & {
|
|
|
2873
2910
|
default?: (props: typeof __VLS_1$6) => any;
|
|
2874
2911
|
};
|
|
2875
2912
|
declare const __VLS_base$17: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2876
|
-
declare const __VLS_export$
|
|
2877
|
-
declare const _default$22: typeof __VLS_export$
|
|
2913
|
+
declare const __VLS_export$22: __VLS_WithSlots$17<typeof __VLS_base$17, __VLS_Slots$17>;
|
|
2914
|
+
declare const _default$22: typeof __VLS_export$22;
|
|
2878
2915
|
type __VLS_WithSlots$17<T, S> = T & {
|
|
2879
2916
|
new (): {
|
|
2880
2917
|
$slots: S;
|
|
@@ -2890,8 +2927,8 @@ type __VLS_Slots$16 = {} & {
|
|
|
2890
2927
|
default?: (props: typeof __VLS_1$5) => any;
|
|
2891
2928
|
};
|
|
2892
2929
|
declare const __VLS_base$16: import("vue").DefineComponent<__VLS_Props$7, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$7> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2893
|
-
declare const __VLS_export$
|
|
2894
|
-
declare const _default$23: typeof __VLS_export$
|
|
2930
|
+
declare const __VLS_export$21: __VLS_WithSlots$16<typeof __VLS_base$16, __VLS_Slots$16>;
|
|
2931
|
+
declare const _default$23: typeof __VLS_export$21;
|
|
2895
2932
|
type __VLS_WithSlots$16<T, S> = T & {
|
|
2896
2933
|
new (): {
|
|
2897
2934
|
$slots: S;
|
|
@@ -2904,8 +2941,8 @@ type __VLS_Props$6 = {
|
|
|
2904
2941
|
message?: string;
|
|
2905
2942
|
class?: string;
|
|
2906
2943
|
};
|
|
2907
|
-
declare const __VLS_export$
|
|
2908
|
-
declare const _default$24: typeof __VLS_export$
|
|
2944
|
+
declare const __VLS_export$20: import("vue").DefineComponent<__VLS_Props$6, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$6> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2945
|
+
declare const _default$24: typeof __VLS_export$20;
|
|
2909
2946
|
//#endregion
|
|
2910
2947
|
//#region src/components/form/FormSubscribe.vue.d.ts
|
|
2911
2948
|
declare var __VLS_9: {
|
|
@@ -2916,8 +2953,8 @@ type __VLS_Slots$15 = {} & {
|
|
|
2916
2953
|
default?: (props: typeof __VLS_9) => any;
|
|
2917
2954
|
};
|
|
2918
2955
|
declare const __VLS_base$15: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2919
|
-
declare const __VLS_export$
|
|
2920
|
-
declare const _default$26: typeof __VLS_export$
|
|
2956
|
+
declare const __VLS_export$19: __VLS_WithSlots$15<typeof __VLS_base$15, __VLS_Slots$15>;
|
|
2957
|
+
declare const _default$26: typeof __VLS_export$19;
|
|
2921
2958
|
type __VLS_WithSlots$15<T, S> = T & {
|
|
2922
2959
|
new (): {
|
|
2923
2960
|
$slots: S;
|
|
@@ -2933,8 +2970,8 @@ type __VLS_Slots$14 = {} & {
|
|
|
2933
2970
|
default?: (props: typeof __VLS_1$4) => any;
|
|
2934
2971
|
};
|
|
2935
2972
|
declare const __VLS_base$14: import("vue").DefineComponent<__VLS_Props$5, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$5> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2936
|
-
declare const __VLS_export$
|
|
2937
|
-
declare const _default$28: typeof __VLS_export$
|
|
2973
|
+
declare const __VLS_export$18: __VLS_WithSlots$14<typeof __VLS_base$14, __VLS_Slots$14>;
|
|
2974
|
+
declare const _default$28: typeof __VLS_export$18;
|
|
2938
2975
|
type __VLS_WithSlots$14<T, S> = T & {
|
|
2939
2976
|
new (): {
|
|
2940
2977
|
$slots: S;
|
|
@@ -3051,18 +3088,18 @@ declare const __VLS_base$13: import("vue").DefineComponent<import("vue").Extract
|
|
|
3051
3088
|
}>, {
|
|
3052
3089
|
class: string;
|
|
3053
3090
|
length: number;
|
|
3054
|
-
type: "numeric" | "alphanumeric";
|
|
3055
3091
|
modelValue: string[];
|
|
3056
|
-
|
|
3092
|
+
type: "numeric" | "alphanumeric";
|
|
3057
3093
|
placeholder: string;
|
|
3094
|
+
disabled: boolean;
|
|
3058
3095
|
invalid: boolean;
|
|
3059
3096
|
otp: boolean;
|
|
3060
3097
|
mask: boolean;
|
|
3061
3098
|
autoSubmit: boolean;
|
|
3062
3099
|
blurOnComplete: boolean;
|
|
3063
3100
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3064
|
-
declare const __VLS_export$
|
|
3065
|
-
declare const _default$32: typeof __VLS_export$
|
|
3101
|
+
declare const __VLS_export$17: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
|
|
3102
|
+
declare const _default$32: typeof __VLS_export$17;
|
|
3066
3103
|
type __VLS_WithSlots$13<T, S> = T & {
|
|
3067
3104
|
new (): {
|
|
3068
3105
|
$slots: S;
|
|
@@ -3160,7 +3197,7 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3160
3197
|
default: boolean;
|
|
3161
3198
|
};
|
|
3162
3199
|
/** Teleport 目标(选择器或元素),仅 portal=true 时生效;
|
|
3163
|
-
缺省时若应用挂载容器处于 shadow DOM
|
|
3200
|
+
缺省时若应用挂载容器处于 shadow DOM 或 wujie graft 沙箱,自动降级为该容器,否则 body */
|
|
3164
3201
|
to: {
|
|
3165
3202
|
type: PropType<string | HTMLElement>;
|
|
3166
3203
|
default: any;
|
|
@@ -3259,7 +3296,7 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3259
3296
|
default: boolean;
|
|
3260
3297
|
};
|
|
3261
3298
|
/** Teleport 目标(选择器或元素),仅 portal=true 时生效;
|
|
3262
|
-
缺省时若应用挂载容器处于 shadow DOM
|
|
3299
|
+
缺省时若应用挂载容器处于 shadow DOM 或 wujie graft 沙箱,自动降级为该容器,否则 body */
|
|
3263
3300
|
to: {
|
|
3264
3301
|
type: PropType<string | HTMLElement>;
|
|
3265
3302
|
default: any;
|
|
@@ -3287,9 +3324,9 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3287
3324
|
}>> & Readonly<{
|
|
3288
3325
|
"onUpdate:open"?: (open: boolean) => any;
|
|
3289
3326
|
}>, {
|
|
3290
|
-
disabled: boolean;
|
|
3291
3327
|
open: boolean;
|
|
3292
3328
|
defaultOpen: boolean;
|
|
3329
|
+
disabled: boolean;
|
|
3293
3330
|
lazyMount: boolean;
|
|
3294
3331
|
unmountOnExit: boolean;
|
|
3295
3332
|
contentClass: string;
|
|
@@ -3307,8 +3344,8 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3307
3344
|
zIndex: number;
|
|
3308
3345
|
contentProps: Record<string, unknown>;
|
|
3309
3346
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3310
|
-
declare const __VLS_export$
|
|
3311
|
-
declare const _default$34: typeof __VLS_export$
|
|
3347
|
+
declare const __VLS_export$16: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
|
|
3348
|
+
declare const _default$34: typeof __VLS_export$16;
|
|
3312
3349
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
3313
3350
|
new (): {
|
|
3314
3351
|
$slots: S;
|
|
@@ -3320,17 +3357,17 @@ interface Props$3 {
|
|
|
3320
3357
|
orientation?: "horizontal" | "vertical";
|
|
3321
3358
|
class?: string;
|
|
3322
3359
|
}
|
|
3323
|
-
declare const __VLS_export$
|
|
3360
|
+
declare const __VLS_export$15: import("vue").DefineComponent<Props$3, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$3> & Readonly<{}>, {
|
|
3324
3361
|
orientation: "horizontal" | "vertical";
|
|
3325
3362
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3326
|
-
declare const _default$38: typeof __VLS_export$
|
|
3363
|
+
declare const _default$38: typeof __VLS_export$15;
|
|
3327
3364
|
//#endregion
|
|
3328
3365
|
//#region src/components/skeleton/Skeleton.vue.d.ts
|
|
3329
3366
|
type __VLS_Props$4 = {
|
|
3330
3367
|
class?: string;
|
|
3331
3368
|
};
|
|
3332
|
-
declare const __VLS_export$
|
|
3333
|
-
declare const _default$39: typeof __VLS_export$
|
|
3369
|
+
declare const __VLS_export$14: import("vue").DefineComponent<__VLS_Props$4, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$4> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3370
|
+
declare const _default$39: typeof __VLS_export$14;
|
|
3334
3371
|
//#endregion
|
|
3335
3372
|
//#region src/components/slot/Slot.d.ts
|
|
3336
3373
|
/**
|
|
@@ -3587,6 +3624,100 @@ interface TableRenderDefinition<T extends DataRecord = DataRecord> {
|
|
|
3587
3624
|
setRowKey: (rowKey: string | undefined) => void;
|
|
3588
3625
|
}
|
|
3589
3626
|
//#endregion
|
|
3627
|
+
//#region src/components/table-render/TablePagination.vue.d.ts
|
|
3628
|
+
declare const __VLS_export$13: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3629
|
+
/** 组合式:传 defineTable 返回值,自动接线 page/动作并按 R13 单页自隐藏;
|
|
3630
|
+
* 与手动分页 props 同传时以 definition 为准(DEV 警告,R29/R4 对齐) */
|
|
3631
|
+
definition: {
|
|
3632
|
+
type: PropType<TableRenderDefinition<any>>;
|
|
3633
|
+
};
|
|
3634
|
+
/** 1-based 当前页码(手动模式) */
|
|
3635
|
+
pageIndex: {
|
|
3636
|
+
type: NumberConstructor;
|
|
3637
|
+
default: any;
|
|
3638
|
+
};
|
|
3639
|
+
pageSize: {
|
|
3640
|
+
type: NumberConstructor;
|
|
3641
|
+
default: any;
|
|
3642
|
+
};
|
|
3643
|
+
pageSizeOpts: {
|
|
3644
|
+
type: PropType<readonly number[]>;
|
|
3645
|
+
default: any;
|
|
3646
|
+
};
|
|
3647
|
+
total: {
|
|
3648
|
+
type: NumberConstructor;
|
|
3649
|
+
default: any;
|
|
3650
|
+
};
|
|
3651
|
+
/** 「共 N 条」,缺省 true */
|
|
3652
|
+
showTotal: {
|
|
3653
|
+
type: PropType<boolean | undefined>;
|
|
3654
|
+
default: any;
|
|
3655
|
+
};
|
|
3656
|
+
/** 条/页 select,缺省 false(组合式简形分页条可保持关闭) */
|
|
3657
|
+
showSizeSelect: {
|
|
3658
|
+
type: PropType<boolean | undefined>;
|
|
3659
|
+
default: any;
|
|
3660
|
+
};
|
|
3661
|
+
/** 上一页/下一页形态:text 文字(缺省)/ icon 图标 */
|
|
3662
|
+
navMode: {
|
|
3663
|
+
type: PropType<"text" | "icon">;
|
|
3664
|
+
default: string;
|
|
3665
|
+
};
|
|
3666
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3667
|
+
"update:pageIndex": (pageIndex: number) => any;
|
|
3668
|
+
"update:pageSize": (pageSize: number) => any;
|
|
3669
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3670
|
+
/** 组合式:传 defineTable 返回值,自动接线 page/动作并按 R13 单页自隐藏;
|
|
3671
|
+
* 与手动分页 props 同传时以 definition 为准(DEV 警告,R29/R4 对齐) */
|
|
3672
|
+
definition: {
|
|
3673
|
+
type: PropType<TableRenderDefinition<any>>;
|
|
3674
|
+
};
|
|
3675
|
+
/** 1-based 当前页码(手动模式) */
|
|
3676
|
+
pageIndex: {
|
|
3677
|
+
type: NumberConstructor;
|
|
3678
|
+
default: any;
|
|
3679
|
+
};
|
|
3680
|
+
pageSize: {
|
|
3681
|
+
type: NumberConstructor;
|
|
3682
|
+
default: any;
|
|
3683
|
+
};
|
|
3684
|
+
pageSizeOpts: {
|
|
3685
|
+
type: PropType<readonly number[]>;
|
|
3686
|
+
default: any;
|
|
3687
|
+
};
|
|
3688
|
+
total: {
|
|
3689
|
+
type: NumberConstructor;
|
|
3690
|
+
default: any;
|
|
3691
|
+
};
|
|
3692
|
+
/** 「共 N 条」,缺省 true */
|
|
3693
|
+
showTotal: {
|
|
3694
|
+
type: PropType<boolean | undefined>;
|
|
3695
|
+
default: any;
|
|
3696
|
+
};
|
|
3697
|
+
/** 条/页 select,缺省 false(组合式简形分页条可保持关闭) */
|
|
3698
|
+
showSizeSelect: {
|
|
3699
|
+
type: PropType<boolean | undefined>;
|
|
3700
|
+
default: any;
|
|
3701
|
+
};
|
|
3702
|
+
/** 上一页/下一页形态:text 文字(缺省)/ icon 图标 */
|
|
3703
|
+
navMode: {
|
|
3704
|
+
type: PropType<"text" | "icon">;
|
|
3705
|
+
default: string;
|
|
3706
|
+
};
|
|
3707
|
+
}>> & Readonly<{
|
|
3708
|
+
"onUpdate:pageIndex"?: (pageIndex: number) => any;
|
|
3709
|
+
"onUpdate:pageSize"?: (pageSize: number) => any;
|
|
3710
|
+
}>, {
|
|
3711
|
+
pageIndex: number;
|
|
3712
|
+
pageSize: number;
|
|
3713
|
+
pageSizeOpts: readonly number[];
|
|
3714
|
+
total: number;
|
|
3715
|
+
showTotal: boolean;
|
|
3716
|
+
showSizeSelect: boolean;
|
|
3717
|
+
navMode: "icon" | "text";
|
|
3718
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3719
|
+
declare const _default$43: typeof __VLS_export$13;
|
|
3720
|
+
//#endregion
|
|
3590
3721
|
//#region src/components/table-render/TableRender.vue.d.ts
|
|
3591
3722
|
type __VLS_Slots$11 = {
|
|
3592
3723
|
empty?: () => VNodeChild;
|
|
@@ -3684,6 +3815,16 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3684
3815
|
type: PropType<boolean | undefined>;
|
|
3685
3816
|
default: any;
|
|
3686
3817
|
};
|
|
3818
|
+
/** 搜索区渲染开关(R27):false 关闭内置搜索区(组合式外置 FormRender);数据链路不变 */
|
|
3819
|
+
showSearch: {
|
|
3820
|
+
type: PropType<boolean | undefined>;
|
|
3821
|
+
default: any;
|
|
3822
|
+
};
|
|
3823
|
+
/** 分页条渲染开关(R28):false 关闭内置分页条(组合式外置 TablePagination);缺省模式 R13 不变 */
|
|
3824
|
+
showPagination: {
|
|
3825
|
+
type: PropType<boolean | undefined>;
|
|
3826
|
+
default: any;
|
|
3827
|
+
};
|
|
3687
3828
|
}>, {
|
|
3688
3829
|
table: import("@tanstack/vue-table").Table<DataRecord> | import("@tanstack/vue-table").Table<any>;
|
|
3689
3830
|
page: Readonly<PageableOptions>;
|
|
@@ -3814,6 +3955,16 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3814
3955
|
type: PropType<boolean | undefined>;
|
|
3815
3956
|
default: any;
|
|
3816
3957
|
};
|
|
3958
|
+
/** 搜索区渲染开关(R27):false 关闭内置搜索区(组合式外置 FormRender);数据链路不变 */
|
|
3959
|
+
showSearch: {
|
|
3960
|
+
type: PropType<boolean | undefined>;
|
|
3961
|
+
default: any;
|
|
3962
|
+
};
|
|
3963
|
+
/** 分页条渲染开关(R28):false 关闭内置分页条(组合式外置 TablePagination);缺省模式 R13 不变 */
|
|
3964
|
+
showPagination: {
|
|
3965
|
+
type: PropType<boolean | undefined>;
|
|
3966
|
+
default: any;
|
|
3967
|
+
};
|
|
3817
3968
|
}>> & Readonly<{
|
|
3818
3969
|
onSearch?: (values: DataRecord) => any;
|
|
3819
3970
|
onReset?: (values: DataRecord) => any;
|
|
@@ -3835,9 +3986,11 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3835
3986
|
rowSelection: "radio" | "checkbox" | TableSelectionOptions<DataRecord>;
|
|
3836
3987
|
virtual: boolean;
|
|
3837
3988
|
columnSettings: boolean;
|
|
3989
|
+
showSearch: boolean;
|
|
3990
|
+
showPagination: boolean;
|
|
3838
3991
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3839
3992
|
declare const __VLS_export$12: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
|
|
3840
|
-
declare const _default$
|
|
3993
|
+
declare const _default$44: typeof __VLS_export$12;
|
|
3841
3994
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
3842
3995
|
new (): {
|
|
3843
3996
|
$slots: S;
|
|
@@ -3939,7 +4092,7 @@ declare const __VLS_base$10: import("vue").DefineComponent<Props$2, {}, {}, {},
|
|
|
3939
4092
|
"onUpdate:value"?: (value: string) => any;
|
|
3940
4093
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3941
4094
|
declare const __VLS_export$11: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
3942
|
-
declare const _default$
|
|
4095
|
+
declare const _default$45: typeof __VLS_export$11;
|
|
3943
4096
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
3944
4097
|
new (): {
|
|
3945
4098
|
$slots: S;
|
|
@@ -4055,7 +4208,7 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4055
4208
|
closeDuration: number;
|
|
4056
4209
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4057
4210
|
declare const __VLS_export$10: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
4058
|
-
declare const _default$
|
|
4211
|
+
declare const _default$49: typeof __VLS_export$10;
|
|
4059
4212
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
4060
4213
|
new (): {
|
|
4061
4214
|
$slots: S;
|
|
@@ -4093,8 +4246,8 @@ declare const __VLS_base$8: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
4093
4246
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
4094
4247
|
onClose?: () => any;
|
|
4095
4248
|
}>, {
|
|
4096
|
-
class: string;
|
|
4097
4249
|
variant: AlertVariants["variant"];
|
|
4250
|
+
class: string;
|
|
4098
4251
|
title: string;
|
|
4099
4252
|
description: string;
|
|
4100
4253
|
closable: boolean;
|
|
@@ -4297,7 +4450,7 @@ declare const __VLS_base$5: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4297
4450
|
duration: number;
|
|
4298
4451
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4299
4452
|
declare const __VLS_export$5: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
4300
|
-
declare const _default$
|
|
4453
|
+
declare const _default$48: typeof __VLS_export$5;
|
|
4301
4454
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
4302
4455
|
new (): {
|
|
4303
4456
|
$slots: S;
|
|
@@ -4677,11 +4830,11 @@ type __VLS_Slots = {} & {
|
|
|
4677
4830
|
item?: (props: typeof __VLS_1) => any;
|
|
4678
4831
|
};
|
|
4679
4832
|
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
4680
|
-
mode: TimelineVariants["mode"];
|
|
4681
4833
|
size: TimelineItemVariants["size"];
|
|
4834
|
+
mode: TimelineVariants["mode"];
|
|
4682
4835
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4683
4836
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4684
|
-
declare const _default$
|
|
4837
|
+
declare const _default$47: typeof __VLS_export;
|
|
4685
4838
|
type __VLS_WithSlots<T, S> = T & {
|
|
4686
4839
|
new (): {
|
|
4687
4840
|
$slots: S;
|
|
@@ -4712,16 +4865,16 @@ export type TimelineVariants = VariantProps<typeof timelineVariants>;
|
|
|
4712
4865
|
/** 项变体:li 的 last:pb-0 相对 ol 语义正确;首末项连线裁切在模板内按 index 计算,不用伪类 */
|
|
4713
4866
|
export declare const timelineItemVariants: (props?: {
|
|
4714
4867
|
mode?: "right" | "alternate";
|
|
4715
|
-
size?: "
|
|
4868
|
+
size?: "sm" | "default";
|
|
4716
4869
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
4717
4870
|
export type TimelineItemVariants = VariantProps<typeof timelineItemVariants>;
|
|
4718
4871
|
/** 节点变体:hollow × color 经 compoundVariants 配对出边框色,实心直接配底色 */
|
|
4719
4872
|
export declare const timelineDotVariants: (props?: {
|
|
4720
4873
|
mode?: "right" | "alternate";
|
|
4721
|
-
size?: "
|
|
4722
|
-
color?: "
|
|
4874
|
+
size?: "sm" | "default";
|
|
4875
|
+
color?: "destructive" | "primary" | "success" | "warning" | "muted";
|
|
4723
4876
|
hollow?: boolean;
|
|
4724
4877
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
4725
4878
|
export type TimelineDotVariants = VariantProps<typeof timelineDotVariants>;
|
|
4726
4879
|
//#endregion
|
|
4727
|
-
export { _default as Alert, _default$1 as AlertDialog, _default$2 as Avatar, _default$3 as AvatarGroup, _default$4 as Badge, type BindingSpec, _default$5 as Button, _default$6 as Calendar, _default$7 as Card, _default$8 as Cascader, type CheckStrategy, _default$9 as Checkbox, type CheckboxWidgetOptions, type ColumnRenders, _default$10 as ContextMenu, _default$11 as CurrencyInput, type CurrencyUnit, type CurrencyWidgetOptions, type DataRecord, _default$12 as DatePicker, type DatePickerWidgetOptions, _default$13 as DateRangePicker, type DateRangeWidgetOptions, type DefineFormOptions, type DefineTableOptions, _default$14 as Dialog, type DictColumnMapping, type DictColumnOptions, type DictEntryVariant, _default$15 as Drawer, _default$16 as DropdownMenu, _default$17 as Empty, _default$18 as Form, _default$19 as FormControl, _default$20 as FormDescription, _default$21 as FormField, _default$22 as FormItem, _default$23 as FormLabel, _default$24 as FormMessage, _default$25 as FormRender, type FormRenderDefinition, type FormRenderFormApi, type FormRenderItem, _default$26 as FormSubscribe, _default$27 as Input, type InputWidgetOptions, type Key, _default$28 as Label, type MenuItemOption, _default$29 as MonthPicker, type MonthPickerWidgetOptions, _default$30 as NumberInput, type NumberWidgetOptions, type PageableOptions, _default$31 as PasswordInput, type PasswordWidgetOptions, _default$32 as PinInput, _default$33 as Popconfirm, _default$34 as Popover, _default$35 as Progress, _default$36 as RadioGroup, type RadioGroupWidgetOptions, _default$37 as Select, type SelectItemOption, type SelectWidgetOptions, _default$38 as Separator, type SerialColumnOptions, type SfcOptions, _default$39 as Skeleton, _default$40 as Slider, type SliderWidgetOptions, type SortableOptions, _default$41 as Spin, _default$42 as Switch, type SwitchWidgetOptions, type TabItem, type TableActionButton, type TableColumnOptions, type TableLoadParams, _default$43 as TableRender, type TableRenderDefinition, _default$
|
|
4880
|
+
export { _default as Alert, _default$1 as AlertDialog, _default$2 as Avatar, _default$3 as AvatarGroup, _default$4 as Badge, type BindingSpec, _default$5 as Button, _default$6 as Calendar, _default$7 as Card, _default$8 as Cascader, type CheckStrategy, _default$9 as Checkbox, type CheckboxWidgetOptions, type ColumnRenders, _default$10 as ContextMenu, _default$11 as CurrencyInput, type CurrencyUnit, type CurrencyWidgetOptions, type DataRecord, _default$12 as DatePicker, type DatePickerWidgetOptions, _default$13 as DateRangePicker, type DateRangeWidgetOptions, type DefineFormOptions, type DefineTableOptions, _default$14 as Dialog, type DictColumnMapping, type DictColumnOptions, type DictEntryVariant, _default$15 as Drawer, _default$16 as DropdownMenu, _default$17 as Empty, _default$18 as Form, type FormActionsConfig, _default$19 as FormControl, _default$20 as FormDescription, _default$21 as FormField, _default$22 as FormItem, _default$23 as FormLabel, _default$24 as FormMessage, _default$25 as FormRender, type FormRenderDefinition, type FormRenderFormApi, type FormRenderItem, _default$26 as FormSubscribe, _default$27 as Input, type InputWidgetOptions, type Key, _default$28 as Label, type MenuItemOption, _default$29 as MonthPicker, type MonthPickerWidgetOptions, _default$30 as NumberInput, type NumberWidgetOptions, type PageableOptions, _default$31 as PasswordInput, type PasswordWidgetOptions, _default$32 as PinInput, _default$33 as Popconfirm, _default$34 as Popover, _default$35 as Progress, _default$36 as RadioGroup, type RadioGroupWidgetOptions, _default$37 as Select, type SelectItemOption, type SelectWidgetOptions, _default$38 as Separator, type SerialColumnOptions, type SfcOptions, _default$39 as Skeleton, _default$40 as Slider, type SliderWidgetOptions, type SortableOptions, _default$41 as Spin, _default$42 as Switch, type SwitchWidgetOptions, type TabItem, type TableActionButton, type TableColumnOptions, type TableLoadParams, _default$43 as TablePagination, _default$44 as TableRender, type TableRenderDefinition, _default$45 as Tabs, _default$46 as Textarea, type TextareaWidgetOptions, _default$47 as Timeline, type ToastApi, type ToastOptions, type ToastPlacement, type ToastPromiseOptions, _default$48 as ToastProvider, _default$49 as Tooltip, type TreeOption, type TreeOptions, _default$50 as TreeSelect, type UseFormRenderOptions, type UseTableRenderOptions, _default$51 as WeekPicker, type WidgetContext, type WidgetItemOption, type WidgetRenderReturn, type WidgetRenders, _default$52 as YearPicker, type YearPickerWidgetOptions };
|