@dazhicheng/ui 1.5.68 → 1.5.69

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.
@@ -42,7 +42,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
42
42
  confirmContent: any;
43
43
  modal: {
44
44
  type: BooleanConstructor;
45
- default: () => any;
45
+ default: () => boolean | undefined;
46
46
  };
47
47
  direction: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
48
48
  resizable: BooleanConstructor;
@@ -1580,7 +1580,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
1580
1580
  confirmContent: any;
1581
1581
  modal: {
1582
1582
  type: BooleanConstructor;
1583
- default: () => any;
1583
+ default: () => boolean | undefined;
1584
1584
  };
1585
1585
  direction: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
1586
1586
  resizable: BooleanConstructor;
@@ -2653,7 +2653,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
2653
2653
  confirmContent: any;
2654
2654
  modal: {
2655
2655
  type: BooleanConstructor;
2656
- default: () => any;
2656
+ default: () => boolean | undefined;
2657
2657
  };
2658
2658
  direction: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
2659
2659
  resizable: BooleanConstructor;
@@ -520,7 +520,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
520
520
  confirmContent: any;
521
521
  modal: {
522
522
  type: BooleanConstructor;
523
- default: () => any;
523
+ default: () => boolean | undefined;
524
524
  };
525
525
  direction: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
526
526
  resizable: BooleanConstructor;
@@ -1542,7 +1542,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
1542
1542
  confirmContent: any;
1543
1543
  modal: {
1544
1544
  type: BooleanConstructor;
1545
- default: () => any;
1545
+ default: () => boolean | undefined;
1546
1546
  };
1547
1547
  direction: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
1548
1548
  resizable: BooleanConstructor;
@@ -94,6 +94,6 @@ export declare const basicProps: {
94
94
  /** 是否显示modal */
95
95
  modal: {
96
96
  type: BooleanConstructor;
97
- default: () => any;
97
+ default: () => boolean | undefined;
98
98
  };
99
99
  };
@@ -85,7 +85,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
85
85
  };
86
86
  modal: {
87
87
  type: BooleanConstructor;
88
- default: boolean;
88
+ default: () => boolean | undefined;
89
89
  };
90
90
  appendToBody: BooleanConstructor;
91
91
  appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown, "body", boolean>;
@@ -340,7 +340,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
340
340
  };
341
341
  modal: {
342
342
  type: BooleanConstructor;
343
- default: boolean;
343
+ default: () => boolean | undefined;
344
344
  };
345
345
  }>> & Readonly<{
346
346
  "onIs-scroll"?: ((...args: any[]) => any) | undefined;
@@ -502,7 +502,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
502
502
  };
503
503
  modal: {
504
504
  type: BooleanConstructor;
505
- default: boolean;
505
+ default: () => boolean | undefined;
506
506
  };
507
507
  }>> & Readonly<{
508
508
  "onIs-scroll"?: ((...args: any[]) => any) | undefined;
@@ -607,7 +607,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
607
607
  };
608
608
  modal: {
609
609
  type: BooleanConstructor;
610
- default: boolean;
610
+ default: () => boolean | undefined;
611
611
  };
612
612
  appendToBody: BooleanConstructor;
613
613
  appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown, "body", boolean>;
@@ -789,7 +789,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
789
789
  };
790
790
  modal: {
791
791
  type: BooleanConstructor;
792
- default: boolean;
792
+ default: () => boolean | undefined;
793
793
  };
794
794
  appendToBody: BooleanConstructor;
795
795
  appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown, "body", boolean>;
@@ -990,7 +990,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
990
990
  };
991
991
  modal: {
992
992
  type: BooleanConstructor;
993
- default: boolean;
993
+ default: () => boolean | undefined;
994
994
  };
995
995
  appendToBody: BooleanConstructor;
996
996
  appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown, "body", boolean>;
@@ -1245,7 +1245,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
1245
1245
  };
1246
1246
  modal: {
1247
1247
  type: BooleanConstructor;
1248
- default: boolean;
1248
+ default: () => boolean | undefined;
1249
1249
  };
1250
1250
  }>> & Readonly<{
1251
1251
  "onIs-scroll"?: ((...args: any[]) => any) | undefined;
@@ -1407,7 +1407,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
1407
1407
  };
1408
1408
  modal: {
1409
1409
  type: BooleanConstructor;
1410
- default: boolean;
1410
+ default: () => boolean | undefined;
1411
1411
  };
1412
1412
  }>> & Readonly<{
1413
1413
  "onIs-scroll"?: ((...args: any[]) => any) | undefined;
@@ -1512,7 +1512,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
1512
1512
  };
1513
1513
  modal: {
1514
1514
  type: BooleanConstructor;
1515
- default: boolean;
1515
+ default: () => boolean | undefined;
1516
1516
  };
1517
1517
  appendToBody: BooleanConstructor;
1518
1518
  appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown, "body", boolean>;
@@ -1694,7 +1694,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
1694
1694
  };
1695
1695
  modal: {
1696
1696
  type: BooleanConstructor;
1697
- default: boolean;
1697
+ default: () => boolean | undefined;
1698
1698
  };
1699
1699
  appendToBody: BooleanConstructor;
1700
1700
  appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown, "body", boolean>;
@@ -175,7 +175,7 @@ declare function __VLS_template(): {
175
175
  };
176
176
  modal: {
177
177
  type: BooleanConstructor;
178
- default: boolean;
178
+ default: () => boolean | undefined;
179
179
  };
180
180
  }>> & Readonly<{
181
181
  "onIs-scroll"?: ((...args: any[]) => any) | undefined;
@@ -337,7 +337,7 @@ declare function __VLS_template(): {
337
337
  };
338
338
  modal: {
339
339
  type: BooleanConstructor;
340
- default: boolean;
340
+ default: () => boolean | undefined;
341
341
  };
342
342
  }>> & Readonly<{
343
343
  "onIs-scroll"?: ((...args: any[]) => any) | undefined;
@@ -440,7 +440,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
440
440
  };
441
441
  modal: {
442
442
  type: BooleanConstructor;
443
- default: boolean;
443
+ default: () => boolean | undefined;
444
444
  };
445
445
  appendToBody: BooleanConstructor;
446
446
  appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown, "body", boolean>;
@@ -575,7 +575,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
575
575
  };
576
576
  modal: {
577
577
  type: BooleanConstructor;
578
- default: boolean;
578
+ default: () => boolean | undefined;
579
579
  };
580
580
  appendToBody: BooleanConstructor;
581
581
  appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown, "body", boolean>;
@@ -824,7 +824,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
824
824
  };
825
825
  modal: {
826
826
  type: BooleanConstructor;
827
- default: boolean;
827
+ default: () => boolean | undefined;
828
828
  };
829
829
  }>> & Readonly<{
830
830
  "onIs-scroll"?: ((...args: any[]) => any) | undefined;
@@ -986,7 +986,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
986
986
  };
987
987
  modal: {
988
988
  type: BooleanConstructor;
989
- default: boolean;
989
+ default: () => boolean | undefined;
990
990
  };
991
991
  }>> & Readonly<{
992
992
  "onIs-scroll"?: ((...args: any[]) => any) | undefined;
@@ -98,7 +98,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
98
98
  };
99
99
  modal: {
100
100
  type: BooleanConstructor;
101
- default: boolean;
101
+ default: () => boolean | undefined;
102
102
  };
103
103
  }, "cancelText" | "okText" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps">>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
104
104
  cancel: (e: Event) => any;
@@ -185,7 +185,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
185
185
  };
186
186
  modal: {
187
187
  type: BooleanConstructor;
188
- default: boolean;
188
+ default: () => boolean | undefined;
189
189
  };
190
190
  }, "cancelText" | "okText" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps">>> & Readonly<{
191
191
  onCancel?: ((e: Event) => any) | undefined;
@@ -93,7 +93,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
93
93
  };
94
94
  modal: {
95
95
  type: BooleanConstructor;
96
- default: boolean;
96
+ default: () => boolean | undefined;
97
97
  };
98
98
  }>, {
99
99
  onScrollBottom: typeof onScrollBottom;
@@ -183,7 +183,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
183
183
  };
184
184
  modal: {
185
185
  type: BooleanConstructor;
186
- default: boolean;
186
+ default: () => boolean | undefined;
187
187
  };
188
188
  }>> & Readonly<{
189
189
  "onIs-scroll"?: ((...args: any[]) => any) | undefined;
@@ -156,6 +156,6 @@ export declare const basicProps: {
156
156
  /** 是否显示modal */
157
157
  modal: {
158
158
  type: BooleanConstructor;
159
- default: boolean;
159
+ default: () => boolean | undefined;
160
160
  };
161
161
  };
@@ -5,6 +5,10 @@ export type Fn<T = any, R = T> = (...arg: T[]) => R;
5
5
  export type Nullable<T> = T | null;
6
6
  export type Recordable<T = any> = Record<string, T>;
7
7
  export type TtUiGlobalConfig = {
8
+ /** 确认弹窗文本内容 */
9
+ confirmContent?: string;
10
+ /** 是否显示遮罩 */
11
+ showMask?: boolean;
8
12
  /**
9
13
  * 登录的用户id
10
14
  */
@@ -123,7 +127,7 @@ export type TtUiGlobalConfig = {
123
127
  /** 表格的size */
124
128
  size?: VxeGridPropTypes.Size;
125
129
  /** 表格边框 */
126
- border?: "full" | "inner" | boolean;
130
+ border?: "full" | "inner" | "outer" | "none" | boolean;
127
131
  /**
128
132
  * 是否开启缓存
129
133
  * @default-false 不开启