@tu-design/vue 0.5.1 → 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 +398 -101
- package/dist/index.mjs +524 -179
- 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;
|
|
@@ -98,8 +98,8 @@ declare const __VLS_base$34: import("vue").DefineComponent<import("vue").Extract
|
|
|
98
98
|
defaultChecked: 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>;
|
|
@@ -199,10 +199,10 @@ declare const __VLS_export$50: import("vue").DefineComponent<import("vue").Extra
|
|
|
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>;
|
|
@@ -352,10 +352,10 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
|
|
|
352
352
|
closeOnSelect: boolean;
|
|
353
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>;
|
|
@@ -516,7 +516,7 @@ declare const __VLS_export$48: import("vue").DefineComponent<import("vue").Extra
|
|
|
516
516
|
numOfMonths: number;
|
|
517
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>;
|
|
@@ -676,10 +676,10 @@ declare const __VLS_export$46: import("vue").DefineComponent<import("vue").Extra
|
|
|
676
676
|
closeOnSelect: boolean;
|
|
677
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>;
|
|
@@ -831,14 +831,14 @@ declare const __VLS_export$45: import("vue").DefineComponent<import("vue").Extra
|
|
|
831
831
|
closeOnSelect: boolean;
|
|
832
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
|
-
declare var __VLS_16$6: {}, __VLS_29: {};
|
|
837
|
+
declare var __VLS_16$6: {}, __VLS_29$1: {};
|
|
838
838
|
type __VLS_Slots$33 = {} & {
|
|
839
839
|
decrement?: (props: typeof __VLS_16$6) => any;
|
|
840
840
|
} & {
|
|
841
|
-
increment?: (props: typeof __VLS_29) => any;
|
|
841
|
+
increment?: (props: typeof __VLS_29$1) => any;
|
|
842
842
|
};
|
|
843
843
|
declare const __VLS_base$33: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
844
844
|
/** 受控值:number 或 null(空);undefined 走内部非受控 */
|
|
@@ -922,8 +922,8 @@ declare const __VLS_base$33: import("vue").DefineComponent<import("vue").Extract
|
|
|
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;
|
|
@@ -1021,8 +1021,8 @@ declare const __VLS_base$32: import("vue").DefineComponent<import("vue").Extract
|
|
|
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[]>;
|
|
@@ -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[]>;
|
|
@@ -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,7 +1625,7 @@ 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;
|
|
@@ -1634,7 +1634,7 @@ declare const __VLS_export$38: import("vue").DefineComponent<__VLS_Props$11, {},
|
|
|
1634
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: {};
|
|
@@ -1685,8 +1685,8 @@ declare const __VLS_base$29: import("vue").DefineComponent<import("vue").Extract
|
|
|
1685
1685
|
checked: boolean;
|
|
1686
1686
|
defaultChecked: 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>;
|
|
@@ -1851,7 +1851,7 @@ declare const __VLS_export$35: import("vue").DefineComponent<import("vue").Extra
|
|
|
1851
1851
|
closeOnSelect: boolean;
|
|
1852
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;
|
|
@@ -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;
|
|
@@ -2312,7 +2349,7 @@ type __VLS_WithSlots$24<T, S> = T & {
|
|
|
2312
2349
|
//#region src/components/button/index.d.ts
|
|
2313
2350
|
export declare const buttonVariants: (props?: {
|
|
2314
2351
|
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link";
|
|
2315
|
-
size?: "sm" | "
|
|
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
|
|
@@ -2434,8 +2471,8 @@ declare const __VLS_base$23: import("vue").DefineComponent<import("vue").Extract
|
|
|
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?: "sm" | "
|
|
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;
|
|
@@ -3061,8 +3098,8 @@ declare const __VLS_base$13: import("vue").DefineComponent<import("vue").Extract
|
|
|
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;
|
|
@@ -3072,11 +3109,21 @@ type __VLS_WithSlots$13<T, S> = T & {
|
|
|
3072
3109
|
//#region src/components/popover/Popover.vue.d.ts
|
|
3073
3110
|
/** 面板相对触发器的对齐方向 */
|
|
3074
3111
|
type Align = "start" | "center" | "end";
|
|
3075
|
-
|
|
3112
|
+
/** 面板主轴方向(与 align 组合成 12 方位 placement) */
|
|
3113
|
+
type Side = "top" | "bottom" | "left" | "right";
|
|
3114
|
+
/** 触发方式:click 内建切换;hover/focus 延迟桥接;manual 纯受控 */
|
|
3115
|
+
type TriggerMode = "click" | "hover" | "focus" | "manual";
|
|
3116
|
+
declare var __VLS_16$3: {}, __VLS_29: {}, __VLS_65: {}, __VLS_67: {}, __VLS_69: {};
|
|
3076
3117
|
type __VLS_Slots$12 = {} & {
|
|
3077
3118
|
default?: (props: typeof __VLS_16$3) => any;
|
|
3078
3119
|
} & {
|
|
3079
|
-
|
|
3120
|
+
default?: (props: typeof __VLS_29) => any;
|
|
3121
|
+
} & {
|
|
3122
|
+
header?: (props: typeof __VLS_65) => any;
|
|
3123
|
+
} & {
|
|
3124
|
+
content?: (props: typeof __VLS_67) => any;
|
|
3125
|
+
} & {
|
|
3126
|
+
footer?: (props: typeof __VLS_69) => any;
|
|
3080
3127
|
};
|
|
3081
3128
|
declare const __VLS_base$12: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3082
3129
|
/** 受控开关(配合 v-model:open);不传时为非受控 */
|
|
@@ -3099,11 +3146,72 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3099
3146
|
type: BooleanConstructor;
|
|
3100
3147
|
default: boolean;
|
|
3101
3148
|
};
|
|
3102
|
-
/**
|
|
3149
|
+
/** 触发方式:click(默认,内建切换+完整 aria) / hover / focus(带延迟,Anchor+手动 aria) / manual(纯受控,仅定位锚点) */
|
|
3150
|
+
trigger: {
|
|
3151
|
+
type: PropType<TriggerMode>;
|
|
3152
|
+
default: string;
|
|
3153
|
+
};
|
|
3154
|
+
/** hover/focus 打开延迟(毫秒) */
|
|
3155
|
+
openDelay: {
|
|
3156
|
+
type: NumberConstructor;
|
|
3157
|
+
default: number;
|
|
3158
|
+
};
|
|
3159
|
+
/** hover/focus 关闭延迟(毫秒) */
|
|
3160
|
+
closeDelay: {
|
|
3161
|
+
type: NumberConstructor;
|
|
3162
|
+
default: number;
|
|
3163
|
+
};
|
|
3164
|
+
/** hover/focus 时悬浮/聚焦面板保持打开 */
|
|
3165
|
+
keepAliveOnHover: {
|
|
3166
|
+
type: BooleanConstructor;
|
|
3167
|
+
default: boolean;
|
|
3168
|
+
};
|
|
3169
|
+
/** 面板主轴方向(与 align 组合定位);attrs.positioning.placement 显式给出时以其为准 */
|
|
3170
|
+
side: {
|
|
3171
|
+
type: PropType<Side>;
|
|
3172
|
+
default: string;
|
|
3173
|
+
};
|
|
3174
|
+
/** 面板相对触发器的对齐方向(默认居中) */
|
|
3103
3175
|
align: {
|
|
3104
3176
|
type: PropType<Align>;
|
|
3105
3177
|
default: string;
|
|
3106
3178
|
};
|
|
3179
|
+
/** 显示箭头(shadcn 风格默认无箭头) */
|
|
3180
|
+
arrow: {
|
|
3181
|
+
type: BooleanConstructor;
|
|
3182
|
+
default: boolean;
|
|
3183
|
+
};
|
|
3184
|
+
/** 追加/覆盖箭头样式类 */
|
|
3185
|
+
arrowClass: {
|
|
3186
|
+
type: StringConstructor;
|
|
3187
|
+
default: any;
|
|
3188
|
+
};
|
|
3189
|
+
/** 禁用触发(不响应任何触发事件;已打开状态不受影响) */
|
|
3190
|
+
disabled: {
|
|
3191
|
+
type: BooleanConstructor;
|
|
3192
|
+
default: boolean;
|
|
3193
|
+
};
|
|
3194
|
+
/** 是否 Teleport(浮层定位不受嵌套裁剪影响);false 时面板留在原地 */
|
|
3195
|
+
portal: {
|
|
3196
|
+
type: BooleanConstructor;
|
|
3197
|
+
default: boolean;
|
|
3198
|
+
};
|
|
3199
|
+
/** Teleport 目标(选择器或元素),仅 portal=true 时生效;
|
|
3200
|
+
缺省时若应用挂载容器处于 shadow DOM 或 wujie graft 沙箱,自动降级为该容器,否则 body */
|
|
3201
|
+
to: {
|
|
3202
|
+
type: PropType<string | HTMLElement>;
|
|
3203
|
+
default: any;
|
|
3204
|
+
};
|
|
3205
|
+
/** 面板宽度与触发元素一致 */
|
|
3206
|
+
matchTriggerWidth: {
|
|
3207
|
+
type: BooleanConstructor;
|
|
3208
|
+
default: boolean;
|
|
3209
|
+
};
|
|
3210
|
+
/** 覆盖面板/定位层级(默认走 --z-overlay) */
|
|
3211
|
+
zIndex: {
|
|
3212
|
+
type: NumberConstructor;
|
|
3213
|
+
default: any;
|
|
3214
|
+
};
|
|
3107
3215
|
/** 追加/覆盖面板样式类(默认 w-72 可由此覆盖,如 "w-56 p-0") */
|
|
3108
3216
|
contentClass: {
|
|
3109
3217
|
type: StringConstructor;
|
|
@@ -3137,11 +3245,72 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3137
3245
|
type: BooleanConstructor;
|
|
3138
3246
|
default: boolean;
|
|
3139
3247
|
};
|
|
3140
|
-
/**
|
|
3248
|
+
/** 触发方式:click(默认,内建切换+完整 aria) / hover / focus(带延迟,Anchor+手动 aria) / manual(纯受控,仅定位锚点) */
|
|
3249
|
+
trigger: {
|
|
3250
|
+
type: PropType<TriggerMode>;
|
|
3251
|
+
default: string;
|
|
3252
|
+
};
|
|
3253
|
+
/** hover/focus 打开延迟(毫秒) */
|
|
3254
|
+
openDelay: {
|
|
3255
|
+
type: NumberConstructor;
|
|
3256
|
+
default: number;
|
|
3257
|
+
};
|
|
3258
|
+
/** hover/focus 关闭延迟(毫秒) */
|
|
3259
|
+
closeDelay: {
|
|
3260
|
+
type: NumberConstructor;
|
|
3261
|
+
default: number;
|
|
3262
|
+
};
|
|
3263
|
+
/** hover/focus 时悬浮/聚焦面板保持打开 */
|
|
3264
|
+
keepAliveOnHover: {
|
|
3265
|
+
type: BooleanConstructor;
|
|
3266
|
+
default: boolean;
|
|
3267
|
+
};
|
|
3268
|
+
/** 面板主轴方向(与 align 组合定位);attrs.positioning.placement 显式给出时以其为准 */
|
|
3269
|
+
side: {
|
|
3270
|
+
type: PropType<Side>;
|
|
3271
|
+
default: string;
|
|
3272
|
+
};
|
|
3273
|
+
/** 面板相对触发器的对齐方向(默认居中) */
|
|
3141
3274
|
align: {
|
|
3142
3275
|
type: PropType<Align>;
|
|
3143
3276
|
default: string;
|
|
3144
3277
|
};
|
|
3278
|
+
/** 显示箭头(shadcn 风格默认无箭头) */
|
|
3279
|
+
arrow: {
|
|
3280
|
+
type: BooleanConstructor;
|
|
3281
|
+
default: boolean;
|
|
3282
|
+
};
|
|
3283
|
+
/** 追加/覆盖箭头样式类 */
|
|
3284
|
+
arrowClass: {
|
|
3285
|
+
type: StringConstructor;
|
|
3286
|
+
default: any;
|
|
3287
|
+
};
|
|
3288
|
+
/** 禁用触发(不响应任何触发事件;已打开状态不受影响) */
|
|
3289
|
+
disabled: {
|
|
3290
|
+
type: BooleanConstructor;
|
|
3291
|
+
default: boolean;
|
|
3292
|
+
};
|
|
3293
|
+
/** 是否 Teleport(浮层定位不受嵌套裁剪影响);false 时面板留在原地 */
|
|
3294
|
+
portal: {
|
|
3295
|
+
type: BooleanConstructor;
|
|
3296
|
+
default: boolean;
|
|
3297
|
+
};
|
|
3298
|
+
/** Teleport 目标(选择器或元素),仅 portal=true 时生效;
|
|
3299
|
+
缺省时若应用挂载容器处于 shadow DOM 或 wujie graft 沙箱,自动降级为该容器,否则 body */
|
|
3300
|
+
to: {
|
|
3301
|
+
type: PropType<string | HTMLElement>;
|
|
3302
|
+
default: any;
|
|
3303
|
+
};
|
|
3304
|
+
/** 面板宽度与触发元素一致 */
|
|
3305
|
+
matchTriggerWidth: {
|
|
3306
|
+
type: BooleanConstructor;
|
|
3307
|
+
default: boolean;
|
|
3308
|
+
};
|
|
3309
|
+
/** 覆盖面板/定位层级(默认走 --z-overlay) */
|
|
3310
|
+
zIndex: {
|
|
3311
|
+
type: NumberConstructor;
|
|
3312
|
+
default: any;
|
|
3313
|
+
};
|
|
3145
3314
|
/** 追加/覆盖面板样式类(默认 w-72 可由此覆盖,如 "w-56 p-0") */
|
|
3146
3315
|
contentClass: {
|
|
3147
3316
|
type: StringConstructor;
|
|
@@ -3157,14 +3326,26 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3157
3326
|
}>, {
|
|
3158
3327
|
open: boolean;
|
|
3159
3328
|
defaultOpen: boolean;
|
|
3329
|
+
disabled: boolean;
|
|
3160
3330
|
lazyMount: boolean;
|
|
3161
3331
|
unmountOnExit: boolean;
|
|
3162
3332
|
contentClass: string;
|
|
3333
|
+
trigger: TriggerMode;
|
|
3334
|
+
openDelay: number;
|
|
3335
|
+
closeDelay: number;
|
|
3336
|
+
keepAliveOnHover: boolean;
|
|
3337
|
+
side: Side;
|
|
3163
3338
|
align: Align;
|
|
3339
|
+
arrow: boolean;
|
|
3340
|
+
arrowClass: string;
|
|
3341
|
+
portal: boolean;
|
|
3342
|
+
to: string | HTMLElement;
|
|
3343
|
+
matchTriggerWidth: boolean;
|
|
3344
|
+
zIndex: number;
|
|
3164
3345
|
contentProps: Record<string, unknown>;
|
|
3165
3346
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3166
|
-
declare const __VLS_export$
|
|
3167
|
-
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;
|
|
3168
3349
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
3169
3350
|
new (): {
|
|
3170
3351
|
$slots: S;
|
|
@@ -3176,17 +3357,17 @@ interface Props$3 {
|
|
|
3176
3357
|
orientation?: "horizontal" | "vertical";
|
|
3177
3358
|
class?: string;
|
|
3178
3359
|
}
|
|
3179
|
-
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<{}>, {
|
|
3180
3361
|
orientation: "horizontal" | "vertical";
|
|
3181
3362
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3182
|
-
declare const _default$38: typeof __VLS_export$
|
|
3363
|
+
declare const _default$38: typeof __VLS_export$15;
|
|
3183
3364
|
//#endregion
|
|
3184
3365
|
//#region src/components/skeleton/Skeleton.vue.d.ts
|
|
3185
3366
|
type __VLS_Props$4 = {
|
|
3186
3367
|
class?: string;
|
|
3187
3368
|
};
|
|
3188
|
-
declare const __VLS_export$
|
|
3189
|
-
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;
|
|
3190
3371
|
//#endregion
|
|
3191
3372
|
//#region src/components/slot/Slot.d.ts
|
|
3192
3373
|
/**
|
|
@@ -3443,6 +3624,100 @@ interface TableRenderDefinition<T extends DataRecord = DataRecord> {
|
|
|
3443
3624
|
setRowKey: (rowKey: string | undefined) => void;
|
|
3444
3625
|
}
|
|
3445
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
|
|
3446
3721
|
//#region src/components/table-render/TableRender.vue.d.ts
|
|
3447
3722
|
type __VLS_Slots$11 = {
|
|
3448
3723
|
empty?: () => VNodeChild;
|
|
@@ -3540,6 +3815,16 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3540
3815
|
type: PropType<boolean | undefined>;
|
|
3541
3816
|
default: any;
|
|
3542
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
|
+
};
|
|
3543
3828
|
}>, {
|
|
3544
3829
|
table: import("@tanstack/vue-table").Table<DataRecord> | import("@tanstack/vue-table").Table<any>;
|
|
3545
3830
|
page: Readonly<PageableOptions>;
|
|
@@ -3670,6 +3955,16 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3670
3955
|
type: PropType<boolean | undefined>;
|
|
3671
3956
|
default: any;
|
|
3672
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
|
+
};
|
|
3673
3968
|
}>> & Readonly<{
|
|
3674
3969
|
onSearch?: (values: DataRecord) => any;
|
|
3675
3970
|
onReset?: (values: DataRecord) => any;
|
|
@@ -3691,9 +3986,11 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3691
3986
|
rowSelection: "radio" | "checkbox" | TableSelectionOptions<DataRecord>;
|
|
3692
3987
|
virtual: boolean;
|
|
3693
3988
|
columnSettings: boolean;
|
|
3989
|
+
showSearch: boolean;
|
|
3990
|
+
showPagination: boolean;
|
|
3694
3991
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3695
3992
|
declare const __VLS_export$12: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
|
|
3696
|
-
declare const _default$
|
|
3993
|
+
declare const _default$44: typeof __VLS_export$12;
|
|
3697
3994
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
3698
3995
|
new (): {
|
|
3699
3996
|
$slots: S;
|
|
@@ -3795,7 +4092,7 @@ declare const __VLS_base$10: import("vue").DefineComponent<Props$2, {}, {}, {},
|
|
|
3795
4092
|
"onUpdate:value"?: (value: string) => any;
|
|
3796
4093
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3797
4094
|
declare const __VLS_export$11: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
3798
|
-
declare const _default$
|
|
4095
|
+
declare const _default$45: typeof __VLS_export$11;
|
|
3799
4096
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
3800
4097
|
new (): {
|
|
3801
4098
|
$slots: S;
|
|
@@ -3911,7 +4208,7 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3911
4208
|
closeDuration: number;
|
|
3912
4209
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3913
4210
|
declare const __VLS_export$10: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
3914
|
-
declare const _default$
|
|
4211
|
+
declare const _default$49: typeof __VLS_export$10;
|
|
3915
4212
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
3916
4213
|
new (): {
|
|
3917
4214
|
$slots: S;
|
|
@@ -4153,7 +4450,7 @@ declare const __VLS_base$5: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4153
4450
|
duration: number;
|
|
4154
4451
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4155
4452
|
declare const __VLS_export$5: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
4156
|
-
declare const _default$
|
|
4453
|
+
declare const _default$48: typeof __VLS_export$5;
|
|
4157
4454
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
4158
4455
|
new (): {
|
|
4159
4456
|
$slots: S;
|
|
@@ -4537,7 +4834,7 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
|
|
|
4537
4834
|
mode: TimelineVariants["mode"];
|
|
4538
4835
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4539
4836
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4540
|
-
declare const _default$
|
|
4837
|
+
declare const _default$47: typeof __VLS_export;
|
|
4541
4838
|
type __VLS_WithSlots<T, S> = T & {
|
|
4542
4839
|
new (): {
|
|
4543
4840
|
$slots: S;
|
|
@@ -4580,4 +4877,4 @@ export declare const timelineDotVariants: (props?: {
|
|
|
4580
4877
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
4581
4878
|
export type TimelineDotVariants = VariantProps<typeof timelineDotVariants>;
|
|
4582
4879
|
//#endregion
|
|
4583
|
-
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 };
|