@cyberpunk-vue/components 1.9.3 → 1.9.4
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.cjs +1 -1
- package/dist/index.mjs +2908 -2854
- package/dist/popover/index.d.ts +36 -6
- package/dist/popover/index.d.ts.map +1 -1
- package/dist/popover/src/popover.d.ts +41 -2
- package/dist/popover/src/popover.d.ts.map +1 -1
- package/dist/popover/src/popover.vue.d.ts +22 -3
- package/dist/popover/src/popover.vue.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/popover/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
9
9
|
readonly default: "top";
|
|
10
10
|
};
|
|
11
11
|
readonly trigger: {
|
|
12
|
-
readonly type: import('vue').PropType<import('.').PopoverTrigger>;
|
|
12
|
+
readonly type: import('vue').PropType<import('.').PopoverTrigger | import('.').PopoverTrigger[]>;
|
|
13
13
|
readonly default: "hover";
|
|
14
14
|
};
|
|
15
15
|
readonly content: {
|
|
@@ -84,6 +84,14 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
84
84
|
readonly type: StringConstructor;
|
|
85
85
|
readonly default: "";
|
|
86
86
|
};
|
|
87
|
+
readonly transition: {
|
|
88
|
+
readonly type: import('vue').PropType<import('.').PopoverTransition>;
|
|
89
|
+
readonly default: "fade";
|
|
90
|
+
};
|
|
91
|
+
readonly fallback: {
|
|
92
|
+
readonly type: import('vue').PropType<import('.').PopoverFallback>;
|
|
93
|
+
readonly default: "flip";
|
|
94
|
+
};
|
|
87
95
|
}>> & Readonly<{
|
|
88
96
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
89
97
|
onClose?: (() => any) | undefined;
|
|
@@ -105,6 +113,7 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
105
113
|
readonly disabled: boolean;
|
|
106
114
|
readonly shape: import('.').PopoverShape;
|
|
107
115
|
readonly title: string;
|
|
116
|
+
readonly transition: import('.').PopoverTransition;
|
|
108
117
|
readonly content: string;
|
|
109
118
|
readonly modelValue: boolean;
|
|
110
119
|
readonly tooltip: boolean;
|
|
@@ -112,13 +121,14 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
112
121
|
readonly offset: number;
|
|
113
122
|
readonly teleportTo: string | HTMLElement;
|
|
114
123
|
readonly placement: import('.').PopoverPlacement;
|
|
115
|
-
readonly trigger: import('.').PopoverTrigger;
|
|
124
|
+
readonly trigger: import('.').PopoverTrigger | import('.').PopoverTrigger[];
|
|
116
125
|
readonly showArrow: boolean;
|
|
117
126
|
readonly flipArrow: boolean;
|
|
118
127
|
readonly openDelay: number;
|
|
119
128
|
readonly closeDelay: number;
|
|
120
129
|
readonly closeOnClickOutside: boolean;
|
|
121
130
|
readonly closeOnEscape: boolean;
|
|
131
|
+
readonly fallback: import('.').PopoverFallback;
|
|
122
132
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
123
133
|
triggerRef: HTMLDivElement;
|
|
124
134
|
popoverRef: HTMLDivElement;
|
|
@@ -139,7 +149,7 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
139
149
|
readonly default: "top";
|
|
140
150
|
};
|
|
141
151
|
readonly trigger: {
|
|
142
|
-
readonly type: import('vue').PropType<import('.').PopoverTrigger>;
|
|
152
|
+
readonly type: import('vue').PropType<import('.').PopoverTrigger | import('.').PopoverTrigger[]>;
|
|
143
153
|
readonly default: "hover";
|
|
144
154
|
};
|
|
145
155
|
readonly content: {
|
|
@@ -214,6 +224,14 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
214
224
|
readonly type: StringConstructor;
|
|
215
225
|
readonly default: "";
|
|
216
226
|
};
|
|
227
|
+
readonly transition: {
|
|
228
|
+
readonly type: import('vue').PropType<import('.').PopoverTransition>;
|
|
229
|
+
readonly default: "fade";
|
|
230
|
+
};
|
|
231
|
+
readonly fallback: {
|
|
232
|
+
readonly type: import('vue').PropType<import('.').PopoverFallback>;
|
|
233
|
+
readonly default: "flip";
|
|
234
|
+
};
|
|
217
235
|
}>> & Readonly<{
|
|
218
236
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
219
237
|
onClose?: (() => any) | undefined;
|
|
@@ -231,6 +249,7 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
231
249
|
readonly disabled: boolean;
|
|
232
250
|
readonly shape: import('.').PopoverShape;
|
|
233
251
|
readonly title: string;
|
|
252
|
+
readonly transition: import('.').PopoverTransition;
|
|
234
253
|
readonly content: string;
|
|
235
254
|
readonly modelValue: boolean;
|
|
236
255
|
readonly tooltip: boolean;
|
|
@@ -238,13 +257,14 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
238
257
|
readonly offset: number;
|
|
239
258
|
readonly teleportTo: string | HTMLElement;
|
|
240
259
|
readonly placement: import('.').PopoverPlacement;
|
|
241
|
-
readonly trigger: import('.').PopoverTrigger;
|
|
260
|
+
readonly trigger: import('.').PopoverTrigger | import('.').PopoverTrigger[];
|
|
242
261
|
readonly showArrow: boolean;
|
|
243
262
|
readonly flipArrow: boolean;
|
|
244
263
|
readonly openDelay: number;
|
|
245
264
|
readonly closeDelay: number;
|
|
246
265
|
readonly closeOnClickOutside: boolean;
|
|
247
266
|
readonly closeOnEscape: boolean;
|
|
267
|
+
readonly fallback: import('.').PopoverFallback;
|
|
248
268
|
}>;
|
|
249
269
|
__isFragment?: never;
|
|
250
270
|
__isTeleport?: never;
|
|
@@ -259,7 +279,7 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
259
279
|
readonly default: "top";
|
|
260
280
|
};
|
|
261
281
|
readonly trigger: {
|
|
262
|
-
readonly type: import('vue').PropType<import('.').PopoverTrigger>;
|
|
282
|
+
readonly type: import('vue').PropType<import('.').PopoverTrigger | import('.').PopoverTrigger[]>;
|
|
263
283
|
readonly default: "hover";
|
|
264
284
|
};
|
|
265
285
|
readonly content: {
|
|
@@ -334,6 +354,14 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
334
354
|
readonly type: StringConstructor;
|
|
335
355
|
readonly default: "";
|
|
336
356
|
};
|
|
357
|
+
readonly transition: {
|
|
358
|
+
readonly type: import('vue').PropType<import('.').PopoverTransition>;
|
|
359
|
+
readonly default: "fade";
|
|
360
|
+
};
|
|
361
|
+
readonly fallback: {
|
|
362
|
+
readonly type: import('vue').PropType<import('.').PopoverFallback>;
|
|
363
|
+
readonly default: "flip";
|
|
364
|
+
};
|
|
337
365
|
}>> & Readonly<{
|
|
338
366
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
339
367
|
onClose?: (() => any) | undefined;
|
|
@@ -355,6 +383,7 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
355
383
|
readonly disabled: boolean;
|
|
356
384
|
readonly shape: import('.').PopoverShape;
|
|
357
385
|
readonly title: string;
|
|
386
|
+
readonly transition: import('.').PopoverTransition;
|
|
358
387
|
readonly content: string;
|
|
359
388
|
readonly modelValue: boolean;
|
|
360
389
|
readonly tooltip: boolean;
|
|
@@ -362,13 +391,14 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
362
391
|
readonly offset: number;
|
|
363
392
|
readonly teleportTo: string | HTMLElement;
|
|
364
393
|
readonly placement: import('.').PopoverPlacement;
|
|
365
|
-
readonly trigger: import('.').PopoverTrigger;
|
|
394
|
+
readonly trigger: import('.').PopoverTrigger | import('.').PopoverTrigger[];
|
|
366
395
|
readonly showArrow: boolean;
|
|
367
396
|
readonly flipArrow: boolean;
|
|
368
397
|
readonly openDelay: number;
|
|
369
398
|
readonly closeDelay: number;
|
|
370
399
|
readonly closeOnClickOutside: boolean;
|
|
371
400
|
readonly closeOnEscape: boolean;
|
|
401
|
+
readonly fallback: import('.').PopoverFallback;
|
|
372
402
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
373
403
|
$slots: {
|
|
374
404
|
default?(_: {}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../popover/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../popover/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuB,CAAA;AAC7C,eAAe,SAAS,CAAA;AAExB,cAAc,eAAe,CAAA;AAC7B,YAAY,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -24,6 +24,21 @@ export type PopoverPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bot
|
|
|
24
24
|
* - `round` - 圆角矩形
|
|
25
25
|
*/
|
|
26
26
|
export type PopoverShape = 'clip' | 'no-clip' | 'round';
|
|
27
|
+
/**
|
|
28
|
+
* 弹层过渡动画
|
|
29
|
+
* - `fade` - 渐入淡出 + 缩放(默认,从中心展开)
|
|
30
|
+
* - `slide` - 从 placement 方向滑入/滑出
|
|
31
|
+
* - `slide-reverse` - 从 placement 反方向滑入/滑出
|
|
32
|
+
* - `none` - 无动画
|
|
33
|
+
*/
|
|
34
|
+
export type PopoverTransition = 'fade' | 'slide' | 'slide-reverse' | 'none';
|
|
35
|
+
/**
|
|
36
|
+
* 弹层退避策略(视口边界检测)
|
|
37
|
+
* - `flip` - 空间不足时自动翻转到反方向
|
|
38
|
+
* - `shift` - 保持方向不变,但将弹层位移到视口可见范围内
|
|
39
|
+
* - `none` - 不做任何退避
|
|
40
|
+
*/
|
|
41
|
+
export type PopoverFallback = 'flip' | 'shift' | 'none';
|
|
27
42
|
/**
|
|
28
43
|
* 触发方式
|
|
29
44
|
* - `hover` - 鼠标悬停
|
|
@@ -75,11 +90,12 @@ export declare const popoverProps: {
|
|
|
75
90
|
readonly default: "top";
|
|
76
91
|
};
|
|
77
92
|
/**
|
|
78
|
-
*
|
|
93
|
+
* 触发方式,支持单个或多个同时启用
|
|
94
|
+
* 多模式时各触发方式独立退出(hover 入→hover 出;click 入→click 出)
|
|
79
95
|
* @default 'hover'
|
|
80
96
|
*/
|
|
81
97
|
readonly trigger: {
|
|
82
|
-
readonly type: PropType<PopoverTrigger>;
|
|
98
|
+
readonly type: PropType<PopoverTrigger | PopoverTrigger[]>;
|
|
83
99
|
readonly default: "hover";
|
|
84
100
|
};
|
|
85
101
|
/**
|
|
@@ -232,6 +248,29 @@ export declare const popoverProps: {
|
|
|
232
248
|
readonly type: StringConstructor;
|
|
233
249
|
readonly default: "";
|
|
234
250
|
};
|
|
251
|
+
/**
|
|
252
|
+
* 过渡动画类型
|
|
253
|
+
* - `fade` - 渐入淡出 + 缩放(从中心展开)
|
|
254
|
+
* - `slide` - 从 placement 方向滑入/滑出
|
|
255
|
+
* - `slide-reverse` - 从 placement 反方向滑入/滑出
|
|
256
|
+
* - `none` - 无动画
|
|
257
|
+
* @default 'fade'
|
|
258
|
+
*/
|
|
259
|
+
readonly transition: {
|
|
260
|
+
readonly type: PropType<PopoverTransition>;
|
|
261
|
+
readonly default: "fade";
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* 视口边界退避策略
|
|
265
|
+
* - `flip` - 空间不足时自动翻转到反方向
|
|
266
|
+
* - `shift` - 保持方向不变,将弹层位移到视口可见范围内
|
|
267
|
+
* - `none` - 不做任何退避
|
|
268
|
+
* @default 'flip'
|
|
269
|
+
*/
|
|
270
|
+
readonly fallback: {
|
|
271
|
+
readonly type: PropType<PopoverFallback>;
|
|
272
|
+
readonly default: "flip";
|
|
273
|
+
};
|
|
235
274
|
};
|
|
236
275
|
export type PopoverProps = ExtractPropTypes<typeof popoverProps>;
|
|
237
276
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../popover/src/popover.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAErD;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AAEnE;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;AAE1F;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GACxB,KAAK,GAAG,WAAW,GAAG,SAAS,GAC/B,QAAQ,GAAG,cAAc,GAAG,YAAY,GACxC,MAAM,GAAG,YAAY,GAAG,UAAU,GAClC,OAAO,GAAG,aAAa,GAAG,WAAW,CAAA;AAEzC;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAA;AAEvD;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAA;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,YAAY;IACvB;;;OAGG;;;;;IAKH;;;OAGG;;uBAEe,QAAQ,CAAC,gBAAgB,CAAC;;;IAG5C
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../popover/src/popover.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAErD;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AAEnE;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;AAE1F;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GACxB,KAAK,GAAG,WAAW,GAAG,SAAS,GAC/B,QAAQ,GAAG,cAAc,GAAG,YAAY,GACxC,MAAM,GAAG,YAAY,GAAG,UAAU,GAClC,OAAO,GAAG,aAAa,GAAG,WAAW,CAAA;AAEzC;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAA;AAEvD;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,OAAO,GAAG,eAAe,GAAG,MAAM,CAAA;AAE3E;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;AAEvD;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAA;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,YAAY;IACvB;;;OAGG;;;;;IAKH;;;OAGG;;uBAEe,QAAQ,CAAC,gBAAgB,CAAC;;;IAG5C;;;;OAIG;;uBAEwB,QAAQ,CAAC,cAAc,GAAG,cAAc,EAAE,CAAC;;;IAGtE;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;;;OAKG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;uBAEyB,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;;;IAGrD;;;OAGG;;uBAEyB,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;;;IAGrD;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;uBAEyB,QAAQ,CAAC,MAAM,GAAG,WAAW,CAAC;;;IAG1D;;;OAGG;;uBAEe,QAAQ,CAAC,cAAc,CAAC;;;IAG1C;;;OAGG;;uBAEe,QAAQ,CAAC,WAAW,CAAC;;;IAGvC;;;;;;OAMG;;uBAEe,QAAQ,CAAC,YAAY,CAAC;;;IAGxC;;;;OAIG;;;;;IAKH;;;;;;;OAOG;;uBAEe,QAAQ,CAAC,iBAAiB,CAAC;;;IAG7C;;;;;;OAMG;;uBAEe,QAAQ,CAAC,eAAe,CAAC;;;CAGnC,CAAA;AAEV,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAC,OAAO,YAAY,CAAC,CAAA;AAEhE;;GAEG;AACH,eAAO,MAAM,YAAY;IACvB;;OAEG;iCAC0B,OAAO;IACpC;;OAEG;;IAEH;;OAEG;;CAEJ,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PopoverTrigger } from './popover';
|
|
1
2
|
declare function __VLS_template(): {
|
|
2
3
|
attrs: Partial<{}>;
|
|
3
4
|
slots: {
|
|
@@ -22,7 +23,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
22
23
|
readonly default: "top";
|
|
23
24
|
};
|
|
24
25
|
readonly trigger: {
|
|
25
|
-
readonly type: import('vue').PropType<
|
|
26
|
+
readonly type: import('vue').PropType<PopoverTrigger | PopoverTrigger[]>;
|
|
26
27
|
readonly default: "hover";
|
|
27
28
|
};
|
|
28
29
|
readonly content: {
|
|
@@ -97,6 +98,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
97
98
|
readonly type: StringConstructor;
|
|
98
99
|
readonly default: "";
|
|
99
100
|
};
|
|
101
|
+
readonly transition: {
|
|
102
|
+
readonly type: import('vue').PropType<import('./popover').PopoverTransition>;
|
|
103
|
+
readonly default: "fade";
|
|
104
|
+
};
|
|
105
|
+
readonly fallback: {
|
|
106
|
+
readonly type: import('vue').PropType<import('./popover').PopoverFallback>;
|
|
107
|
+
readonly default: "flip";
|
|
108
|
+
};
|
|
100
109
|
}>, {
|
|
101
110
|
/** @description 打开弹层 */
|
|
102
111
|
open: () => void;
|
|
@@ -120,7 +129,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
120
129
|
readonly default: "top";
|
|
121
130
|
};
|
|
122
131
|
readonly trigger: {
|
|
123
|
-
readonly type: import('vue').PropType<
|
|
132
|
+
readonly type: import('vue').PropType<PopoverTrigger | PopoverTrigger[]>;
|
|
124
133
|
readonly default: "hover";
|
|
125
134
|
};
|
|
126
135
|
readonly content: {
|
|
@@ -195,6 +204,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
195
204
|
readonly type: StringConstructor;
|
|
196
205
|
readonly default: "";
|
|
197
206
|
};
|
|
207
|
+
readonly transition: {
|
|
208
|
+
readonly type: import('vue').PropType<import('./popover').PopoverTransition>;
|
|
209
|
+
readonly default: "fade";
|
|
210
|
+
};
|
|
211
|
+
readonly fallback: {
|
|
212
|
+
readonly type: import('vue').PropType<import('./popover').PopoverFallback>;
|
|
213
|
+
readonly default: "flip";
|
|
214
|
+
};
|
|
198
215
|
}>> & Readonly<{
|
|
199
216
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
200
217
|
onClose?: (() => any) | undefined;
|
|
@@ -207,6 +224,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
207
224
|
readonly disabled: boolean;
|
|
208
225
|
readonly shape: import('./popover').PopoverShape;
|
|
209
226
|
readonly title: string;
|
|
227
|
+
readonly transition: import('./popover').PopoverTransition;
|
|
210
228
|
readonly content: string;
|
|
211
229
|
readonly modelValue: boolean;
|
|
212
230
|
readonly tooltip: boolean;
|
|
@@ -214,13 +232,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
214
232
|
readonly offset: number;
|
|
215
233
|
readonly teleportTo: string | HTMLElement;
|
|
216
234
|
readonly placement: import('./popover').PopoverPlacement;
|
|
217
|
-
readonly trigger:
|
|
235
|
+
readonly trigger: PopoverTrigger | PopoverTrigger[];
|
|
218
236
|
readonly showArrow: boolean;
|
|
219
237
|
readonly flipArrow: boolean;
|
|
220
238
|
readonly openDelay: number;
|
|
221
239
|
readonly closeDelay: number;
|
|
222
240
|
readonly closeOnClickOutside: boolean;
|
|
223
241
|
readonly closeOnEscape: boolean;
|
|
242
|
+
readonly fallback: import('./popover').PopoverFallback;
|
|
224
243
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
225
244
|
triggerRef: HTMLDivElement;
|
|
226
245
|
popoverRef: HTMLDivElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.vue.d.ts","sourceRoot":"","sources":["../../../popover/src/popover.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"popover.vue.d.ts","sourceRoot":"","sources":["../../../popover/src/popover.vue"],"names":[],"mappings":"AA4dA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAsa/C,iBAAS,cAAc;WAkGT,OAAO,IAA6B;;yBAdrB,GAAG;yBACF,GAAG;yBACH,GAAG;;;;;;;EAiBhC;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAxKnB,wBAAwB;;IAExB,wBAAwB;;IAExB,wBAAwB;;IAExB,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA4KxB,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyberpunk-vue/components",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"description": "Cyberpunk Vue components - A futuristic Vue 3 component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"vue": "^3.5.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@cyberpunk-vue/hooks": "1.9.
|
|
27
|
-
"@cyberpunk-vue/constants": "1.9.
|
|
28
|
-
"@cyberpunk-vue/theme-chalk": "1.9.
|
|
26
|
+
"@cyberpunk-vue/hooks": "1.9.4",
|
|
27
|
+
"@cyberpunk-vue/constants": "1.9.4",
|
|
28
|
+
"@cyberpunk-vue/theme-chalk": "1.9.4"
|
|
29
29
|
},
|
|
30
30
|
"author": "Juxest",
|
|
31
31
|
"license": "MIT",
|