z-ui-pc 0.3.5 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1102
- package/dist/index.d.ts +81 -22
- package/dist/index.js +3116 -4573
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -165,12 +165,15 @@ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
|
165
165
|
declare namespace allComponents {
|
|
166
166
|
export {
|
|
167
167
|
installer_2 as ZAutoTooltip,
|
|
168
|
-
installer_3 as
|
|
169
|
-
installer_4 as
|
|
170
|
-
installer_5 as
|
|
171
|
-
installer_6 as
|
|
172
|
-
installer_7 as
|
|
173
|
-
installer_8 as
|
|
168
|
+
installer_3 as ZCircleText,
|
|
169
|
+
installer_4 as ZClassifyTitle,
|
|
170
|
+
installer_5 as ZEmpty,
|
|
171
|
+
installer_6 as ZForm,
|
|
172
|
+
installer_7 as ZPlusBold,
|
|
173
|
+
installer_8 as ZShowToTags,
|
|
174
|
+
installer_9 as ZTable,
|
|
175
|
+
installer_10 as ZTableLinkButton,
|
|
176
|
+
installer_11 as ZTipsFormItem
|
|
174
177
|
}
|
|
175
178
|
}
|
|
176
179
|
|
|
@@ -1386,6 +1389,11 @@ export declare interface IBaseTableProps extends Partial<TableProps<TObj>> {
|
|
|
1386
1389
|
* @default false
|
|
1387
1390
|
*/
|
|
1388
1391
|
whenFixedPaginationNoPadding?: boolean;
|
|
1392
|
+
/**
|
|
1393
|
+
* 是否高度百分百
|
|
1394
|
+
* @default true
|
|
1395
|
+
*/
|
|
1396
|
+
fullHeight?: boolean;
|
|
1389
1397
|
}
|
|
1390
1398
|
|
|
1391
1399
|
/**
|
|
@@ -1512,16 +1520,6 @@ export declare interface ICustomFormComponentType {
|
|
|
1512
1520
|
};
|
|
1513
1521
|
}
|
|
1514
1522
|
|
|
1515
|
-
/**
|
|
1516
|
-
* 弹框事件
|
|
1517
|
-
* NOTICE:不处理多个参数的情况,如果需要传递多个参数,请自行包裹一个object处理
|
|
1518
|
-
* optimize:不使用枚举定义类型,sfc在静态编译类型的时候无法识别,会导致类型警告
|
|
1519
|
-
*/
|
|
1520
|
-
export declare interface IDialogEmits<T = unknown, U = unknown> {
|
|
1521
|
-
(e: "dialog:confirm", data?: T): void;
|
|
1522
|
-
(e: "dialog:cancel", data?: U): void;
|
|
1523
|
-
}
|
|
1524
|
-
|
|
1525
1523
|
/**
|
|
1526
1524
|
* 动态值表达式信息
|
|
1527
1525
|
*/
|
|
@@ -1620,19 +1618,25 @@ declare const installer: {
|
|
|
1620
1618
|
};
|
|
1621
1619
|
export default installer;
|
|
1622
1620
|
|
|
1621
|
+
declare const installer_10 = withInstallComponent(ZTableLinkButton, "ZTableLinkButton");
|
|
1622
|
+
|
|
1623
|
+
declare const installer_11 = withInstallComponent(ZTipsFormItem, "ZTipsFormItem");
|
|
1624
|
+
|
|
1623
1625
|
declare const installer_2 = withInstallComponent(ZAutoTooltip, "ZAutoTooltip");
|
|
1624
1626
|
|
|
1625
|
-
declare const installer_3 = withInstallComponent(
|
|
1627
|
+
declare const installer_3 = withInstallComponent(ZCircleText, "ZCircleText");
|
|
1628
|
+
|
|
1629
|
+
declare const installer_4 = withInstallComponent(ZClassifyTitle, "ZClassifyTitle");
|
|
1626
1630
|
|
|
1627
|
-
declare const
|
|
1631
|
+
declare const installer_5 = withInstallComponent(ZEmpty, "ZEmpty");
|
|
1628
1632
|
|
|
1629
|
-
declare const
|
|
1633
|
+
declare const installer_6 = withInstallComponent(ZForm, "ZForm");
|
|
1630
1634
|
|
|
1631
|
-
declare const
|
|
1635
|
+
declare const installer_7 = withInstallComponent(ZPlusBold, "ZPlusBold");
|
|
1632
1636
|
|
|
1633
|
-
declare const
|
|
1637
|
+
declare const installer_8 = withInstallComponent(ZShowToTags, "ZShowToTags");
|
|
1634
1638
|
|
|
1635
|
-
declare const
|
|
1639
|
+
declare const installer_9 = withInstallComponent(ZTable, "ZTable");
|
|
1636
1640
|
|
|
1637
1641
|
/**
|
|
1638
1642
|
* 操作列配置
|
|
@@ -2179,6 +2183,44 @@ export declare type TCreateBaseFormItemParams<T extends keyof IComponentProps, U
|
|
|
2179
2183
|
|
|
2180
2184
|
export declare const ZAutoTooltip: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2181
2185
|
|
|
2186
|
+
export declare const ZCircleText: {
|
|
2187
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2188
|
+
content?: TNumberOrString;
|
|
2189
|
+
fontSize?: TNumberOrString;
|
|
2190
|
+
size?: TNumberOrString;
|
|
2191
|
+
color?: string;
|
|
2192
|
+
showFirstLetter?: boolean;
|
|
2193
|
+
}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
2194
|
+
P: {};
|
|
2195
|
+
B: {};
|
|
2196
|
+
D: {};
|
|
2197
|
+
C: {};
|
|
2198
|
+
M: {};
|
|
2199
|
+
Defaults: {};
|
|
2200
|
+
}, Readonly<{
|
|
2201
|
+
content?: TNumberOrString;
|
|
2202
|
+
fontSize?: TNumberOrString;
|
|
2203
|
+
size?: TNumberOrString;
|
|
2204
|
+
color?: string;
|
|
2205
|
+
showFirstLetter?: boolean;
|
|
2206
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
2207
|
+
__isFragment?: never;
|
|
2208
|
+
__isTeleport?: never;
|
|
2209
|
+
__isSuspense?: never;
|
|
2210
|
+
} & ComponentOptionsBase<Readonly<{
|
|
2211
|
+
content?: TNumberOrString;
|
|
2212
|
+
fontSize?: TNumberOrString;
|
|
2213
|
+
size?: TNumberOrString;
|
|
2214
|
+
color?: string;
|
|
2215
|
+
showFirstLetter?: boolean;
|
|
2216
|
+
}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2217
|
+
$slots: Readonly<{
|
|
2218
|
+
default: () => void;
|
|
2219
|
+
}> & {
|
|
2220
|
+
default: () => void;
|
|
2221
|
+
};
|
|
2222
|
+
});
|
|
2223
|
+
|
|
2182
2224
|
export declare const ZClassifyTitle: {
|
|
2183
2225
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2184
2226
|
title?: string;
|
|
@@ -2245,6 +2287,20 @@ export declare type TCreateBaseFormItemParams<T extends keyof IComponentProps, U
|
|
|
2245
2287
|
colRefs: unknown;
|
|
2246
2288
|
}, any>;
|
|
2247
2289
|
|
|
2290
|
+
export declare const ZPlusBold: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2291
|
+
|
|
2292
|
+
export declare const ZShowToTags: DefineComponent< {
|
|
2293
|
+
modelValue?: string[];
|
|
2294
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2295
|
+
"update:modelValue": (value: string[]) => any;
|
|
2296
|
+
}, string, PublicProps, Readonly<{
|
|
2297
|
+
modelValue?: string[];
|
|
2298
|
+
}> & Readonly<{
|
|
2299
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
2300
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2301
|
+
contentRef: HTMLDivElement;
|
|
2302
|
+
}, HTMLDivElement>;
|
|
2303
|
+
|
|
2248
2304
|
export declare const ZTable: {
|
|
2249
2305
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2250
2306
|
selectList?: TAllType[];
|
|
@@ -2331,6 +2387,7 @@ export declare type TCreateBaseFormItemParams<T extends keyof IComponentProps, U
|
|
|
2331
2387
|
stickyHeader: boolean;
|
|
2332
2388
|
enableColumnSearch: boolean;
|
|
2333
2389
|
whenFixedPaginationNoPadding: boolean;
|
|
2390
|
+
fullHeight: boolean;
|
|
2334
2391
|
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
2335
2392
|
baseTableContainerRef: HTMLDivElement;
|
|
2336
2393
|
baseTableOperationElement: HTMLDivElement;
|
|
@@ -2426,6 +2483,7 @@ export declare type TCreateBaseFormItemParams<T extends keyof IComponentProps, U
|
|
|
2426
2483
|
stickyHeader: boolean;
|
|
2427
2484
|
enableColumnSearch: boolean;
|
|
2428
2485
|
whenFixedPaginationNoPadding: boolean;
|
|
2486
|
+
fullHeight: boolean;
|
|
2429
2487
|
}>;
|
|
2430
2488
|
__isFragment?: never;
|
|
2431
2489
|
__isTeleport?: never;
|
|
@@ -2515,6 +2573,7 @@ export declare type TCreateBaseFormItemParams<T extends keyof IComponentProps, U
|
|
|
2515
2573
|
stickyHeader: boolean;
|
|
2516
2574
|
enableColumnSearch: boolean;
|
|
2517
2575
|
whenFixedPaginationNoPadding: boolean;
|
|
2576
|
+
fullHeight: boolean;
|
|
2518
2577
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2519
2578
|
$slots: Readonly<{
|
|
2520
2579
|
header: (_props: {
|