@cyberpunk-vue/components 1.7.3 → 1.7.5
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/card/index.d.ts +53 -0
- package/dist/card/index.d.ts.map +1 -1
- package/dist/card/src/card.d.ts +35 -0
- package/dist/card/src/card.d.ts.map +1 -1
- package/dist/card/src/card.vue.d.ts +32 -0
- package/dist/card/src/card.vue.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +3485 -3166
- package/dist/input/src/input.d.ts +2 -1
- package/dist/input/src/input.d.ts.map +1 -1
- package/dist/input/src/input.vue.d.ts.map +1 -1
- package/dist/notification/index.d.ts +98 -10
- package/dist/notification/index.d.ts.map +1 -1
- package/dist/notification/src/notification.d.ts +95 -3
- package/dist/notification/src/notification.d.ts.map +1 -1
- package/dist/notification/src/notification.vue.d.ts +49 -3
- package/dist/notification/src/notification.vue.d.ts.map +1 -1
- package/dist/notification/src/notify.d.ts +13 -0
- package/dist/notification/src/notify.d.ts.map +1 -0
- package/dist/textarea/src/textarea.vue.d.ts.map +1 -1
- package/dist/utils/install.d.ts +6 -0
- package/dist/utils/install.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/card/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* @slot footer - 卡片底部区域
|
|
19
19
|
* @slot cover - 卡片封面区域(位于头部前)
|
|
20
20
|
* @slot overlay - 卡片悬停操作层
|
|
21
|
+
* @slot loading - 自定义加载中内容
|
|
21
22
|
*/
|
|
22
23
|
export declare const CpCard: import('../utils').SFCWithInstall<{
|
|
23
24
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -128,10 +129,26 @@ export declare const CpCard: import('../utils').SFCWithInstall<{
|
|
|
128
129
|
readonly headerStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
129
130
|
readonly bodyClass: import('vue').PropType<import('.').CardCustomClass>;
|
|
130
131
|
readonly bodyStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
132
|
+
readonly loading: {
|
|
133
|
+
readonly type: BooleanConstructor;
|
|
134
|
+
readonly default: false;
|
|
135
|
+
};
|
|
136
|
+
readonly loadingText: {
|
|
137
|
+
readonly type: StringConstructor;
|
|
138
|
+
readonly default: "加载中...";
|
|
139
|
+
};
|
|
140
|
+
readonly loadingClass: import('vue').PropType<import('.').CardCustomClass>;
|
|
141
|
+
readonly loadingStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
142
|
+
readonly disabled: {
|
|
143
|
+
readonly type: BooleanConstructor;
|
|
144
|
+
readonly default: false;
|
|
145
|
+
};
|
|
131
146
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
132
147
|
readonly type: import('.').CardType;
|
|
133
148
|
readonly variant: import('.').CardVariant;
|
|
134
149
|
readonly dimmed: boolean;
|
|
150
|
+
readonly disabled: boolean;
|
|
151
|
+
readonly loading: boolean;
|
|
135
152
|
readonly color: string;
|
|
136
153
|
readonly shape: import('.').CardShape;
|
|
137
154
|
readonly title: string;
|
|
@@ -153,6 +170,7 @@ export declare const CpCard: import('../utils').SFCWithInstall<{
|
|
|
153
170
|
readonly dimmedDuration: import('@cyberpunk-vue/hooks').DurationValue;
|
|
154
171
|
readonly triggerImageHover: boolean;
|
|
155
172
|
readonly hoverScale: boolean;
|
|
173
|
+
readonly loadingText: string;
|
|
156
174
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
157
175
|
P: {};
|
|
158
176
|
B: {};
|
|
@@ -268,10 +286,26 @@ export declare const CpCard: import('../utils').SFCWithInstall<{
|
|
|
268
286
|
readonly headerStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
269
287
|
readonly bodyClass: import('vue').PropType<import('.').CardCustomClass>;
|
|
270
288
|
readonly bodyStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
289
|
+
readonly loading: {
|
|
290
|
+
readonly type: BooleanConstructor;
|
|
291
|
+
readonly default: false;
|
|
292
|
+
};
|
|
293
|
+
readonly loadingText: {
|
|
294
|
+
readonly type: StringConstructor;
|
|
295
|
+
readonly default: "加载中...";
|
|
296
|
+
};
|
|
297
|
+
readonly loadingClass: import('vue').PropType<import('.').CardCustomClass>;
|
|
298
|
+
readonly loadingStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
299
|
+
readonly disabled: {
|
|
300
|
+
readonly type: BooleanConstructor;
|
|
301
|
+
readonly default: false;
|
|
302
|
+
};
|
|
271
303
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
272
304
|
readonly type: import('.').CardType;
|
|
273
305
|
readonly variant: import('.').CardVariant;
|
|
274
306
|
readonly dimmed: boolean;
|
|
307
|
+
readonly disabled: boolean;
|
|
308
|
+
readonly loading: boolean;
|
|
275
309
|
readonly color: string;
|
|
276
310
|
readonly shape: import('.').CardShape;
|
|
277
311
|
readonly title: string;
|
|
@@ -293,6 +327,7 @@ export declare const CpCard: import('../utils').SFCWithInstall<{
|
|
|
293
327
|
readonly dimmedDuration: import('@cyberpunk-vue/hooks').DurationValue;
|
|
294
328
|
readonly triggerImageHover: boolean;
|
|
295
329
|
readonly hoverScale: boolean;
|
|
330
|
+
readonly loadingText: string;
|
|
296
331
|
}>;
|
|
297
332
|
__isFragment?: never;
|
|
298
333
|
__isTeleport?: never;
|
|
@@ -405,10 +440,26 @@ export declare const CpCard: import('../utils').SFCWithInstall<{
|
|
|
405
440
|
readonly headerStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
406
441
|
readonly bodyClass: import('vue').PropType<import('.').CardCustomClass>;
|
|
407
442
|
readonly bodyStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
443
|
+
readonly loading: {
|
|
444
|
+
readonly type: BooleanConstructor;
|
|
445
|
+
readonly default: false;
|
|
446
|
+
};
|
|
447
|
+
readonly loadingText: {
|
|
448
|
+
readonly type: StringConstructor;
|
|
449
|
+
readonly default: "加载中...";
|
|
450
|
+
};
|
|
451
|
+
readonly loadingClass: import('vue').PropType<import('.').CardCustomClass>;
|
|
452
|
+
readonly loadingStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
453
|
+
readonly disabled: {
|
|
454
|
+
readonly type: BooleanConstructor;
|
|
455
|
+
readonly default: false;
|
|
456
|
+
};
|
|
408
457
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
409
458
|
readonly type: import('.').CardType;
|
|
410
459
|
readonly variant: import('.').CardVariant;
|
|
411
460
|
readonly dimmed: boolean;
|
|
461
|
+
readonly disabled: boolean;
|
|
462
|
+
readonly loading: boolean;
|
|
412
463
|
readonly color: string;
|
|
413
464
|
readonly shape: import('.').CardShape;
|
|
414
465
|
readonly title: string;
|
|
@@ -430,6 +481,7 @@ export declare const CpCard: import('../utils').SFCWithInstall<{
|
|
|
430
481
|
readonly dimmedDuration: import('@cyberpunk-vue/hooks').DurationValue;
|
|
431
482
|
readonly triggerImageHover: boolean;
|
|
432
483
|
readonly hoverScale: boolean;
|
|
484
|
+
readonly loadingText: string;
|
|
433
485
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
434
486
|
$slots: {
|
|
435
487
|
cover?(_: {}): any;
|
|
@@ -439,6 +491,7 @@ export declare const CpCard: import('../utils').SFCWithInstall<{
|
|
|
439
491
|
default?(_: {}): any;
|
|
440
492
|
footer?(_: {}): any;
|
|
441
493
|
overlay?(_: {}): any;
|
|
494
|
+
loading?(_: {}): any;
|
|
442
495
|
};
|
|
443
496
|
})>;
|
|
444
497
|
export default CpCard;
|
package/dist/card/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../card/index.ts"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../card/index.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAA;AACvC,eAAe,MAAM,CAAA;AAErB,cAAc,YAAY,CAAA;AAC1B,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA"}
|
package/dist/card/src/card.d.ts
CHANGED
|
@@ -94,6 +94,7 @@ export type CardCustomClass = string | Record<string, boolean> | Array<string |
|
|
|
94
94
|
* - `footer` - 卡片底部区域
|
|
95
95
|
* - `cover` - 卡片封面区域(位于头部前)
|
|
96
96
|
* - `overlay` - 卡片悬停操作层
|
|
97
|
+
* - `loading` - 自定义加载中内容
|
|
97
98
|
*/
|
|
98
99
|
export declare const cardProps: {
|
|
99
100
|
/**
|
|
@@ -349,6 +350,40 @@ export declare const cardProps: {
|
|
|
349
350
|
* 主体自定义样式
|
|
350
351
|
*/
|
|
351
352
|
readonly bodyStyle: PropType<string | CSSProperties>;
|
|
353
|
+
/**
|
|
354
|
+
* 是否处于加载状态
|
|
355
|
+
* 加载时会在卡片内容上显示遮罩层,阻止用户交互
|
|
356
|
+
* @default false
|
|
357
|
+
*/
|
|
358
|
+
readonly loading: {
|
|
359
|
+
readonly type: BooleanConstructor;
|
|
360
|
+
readonly default: false;
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* 加载中显示的文字
|
|
364
|
+
* @default '加载中...'
|
|
365
|
+
*/
|
|
366
|
+
readonly loadingText: {
|
|
367
|
+
readonly type: StringConstructor;
|
|
368
|
+
readonly default: "加载中...";
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* 加载遮罩自定义类名
|
|
372
|
+
*/
|
|
373
|
+
readonly loadingClass: PropType<CardCustomClass>;
|
|
374
|
+
/**
|
|
375
|
+
* 加载遮罩自定义样式
|
|
376
|
+
*/
|
|
377
|
+
readonly loadingStyle: PropType<string | CSSProperties>;
|
|
378
|
+
/**
|
|
379
|
+
* 是否处于禁用状态
|
|
380
|
+
* 禁用时卡片整体变灰且不可交互
|
|
381
|
+
* @default false
|
|
382
|
+
*/
|
|
383
|
+
readonly disabled: {
|
|
384
|
+
readonly type: BooleanConstructor;
|
|
385
|
+
readonly default: false;
|
|
386
|
+
};
|
|
352
387
|
};
|
|
353
388
|
export type CardProps = ExtractPropTypes<typeof cardProps>;
|
|
354
389
|
//# sourceMappingURL=card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../card/src/card.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;A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
10
|
overlay?(_: {}): any;
|
|
11
|
+
loading?(_: {}): any;
|
|
11
12
|
};
|
|
12
13
|
refs: {};
|
|
13
14
|
rootEl: HTMLDivElement;
|
|
@@ -121,6 +122,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
121
122
|
readonly headerStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
122
123
|
readonly bodyClass: import('vue').PropType<import('./card').CardCustomClass>;
|
|
123
124
|
readonly bodyStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
125
|
+
readonly loading: {
|
|
126
|
+
readonly type: BooleanConstructor;
|
|
127
|
+
readonly default: false;
|
|
128
|
+
};
|
|
129
|
+
readonly loadingText: {
|
|
130
|
+
readonly type: StringConstructor;
|
|
131
|
+
readonly default: "加载中...";
|
|
132
|
+
};
|
|
133
|
+
readonly loadingClass: import('vue').PropType<import('./card').CardCustomClass>;
|
|
134
|
+
readonly loadingStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
135
|
+
readonly disabled: {
|
|
136
|
+
readonly type: BooleanConstructor;
|
|
137
|
+
readonly default: false;
|
|
138
|
+
};
|
|
124
139
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
125
140
|
readonly title: {
|
|
126
141
|
readonly type: StringConstructor;
|
|
@@ -229,10 +244,26 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
229
244
|
readonly headerStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
230
245
|
readonly bodyClass: import('vue').PropType<import('./card').CardCustomClass>;
|
|
231
246
|
readonly bodyStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
247
|
+
readonly loading: {
|
|
248
|
+
readonly type: BooleanConstructor;
|
|
249
|
+
readonly default: false;
|
|
250
|
+
};
|
|
251
|
+
readonly loadingText: {
|
|
252
|
+
readonly type: StringConstructor;
|
|
253
|
+
readonly default: "加载中...";
|
|
254
|
+
};
|
|
255
|
+
readonly loadingClass: import('vue').PropType<import('./card').CardCustomClass>;
|
|
256
|
+
readonly loadingStyle: import('vue').PropType<string | import('vue').CSSProperties>;
|
|
257
|
+
readonly disabled: {
|
|
258
|
+
readonly type: BooleanConstructor;
|
|
259
|
+
readonly default: false;
|
|
260
|
+
};
|
|
232
261
|
}>> & Readonly<{}>, {
|
|
233
262
|
readonly type: import('./card').CardType;
|
|
234
263
|
readonly variant: import('./card').CardVariant;
|
|
235
264
|
readonly dimmed: boolean;
|
|
265
|
+
readonly disabled: boolean;
|
|
266
|
+
readonly loading: boolean;
|
|
236
267
|
readonly color: string;
|
|
237
268
|
readonly shape: import('./card').CardShape;
|
|
238
269
|
readonly title: string;
|
|
@@ -254,6 +285,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
254
285
|
readonly dimmedDuration: import('@cyberpunk-vue/hooks').DurationValue;
|
|
255
286
|
readonly triggerImageHover: boolean;
|
|
256
287
|
readonly hoverScale: boolean;
|
|
288
|
+
readonly loadingText: string;
|
|
257
289
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
258
290
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
259
291
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.vue.d.ts","sourceRoot":"","sources":["../../../card/src/card.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"card.vue.d.ts","sourceRoot":"","sources":["../../../card/src/card.vue"],"names":[],"mappings":"AA8gBA,iBAAS,cAAc;WA0IT,OAAO,IAA6B;;uBAjBvB,GAAG;wBACF,GAAG;uBACJ,GAAG;uBACH,GAAG;yBACD,GAAG;wBACJ,GAAG;yBACF,GAAG;yBACF,GAAG;;;;EAehC;AA2BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|