turmag-vue-components 0.0.23 → 0.0.25
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.ts +67 -24
- package/dist/turmag-vue-components.es.js +897 -864
- package/dist/turmag-vue-components.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -125,7 +125,7 @@ tag: keyof HTMLElementTagNameMap | "router-link";
|
|
|
125
125
|
width: "" | "wfull";
|
|
126
126
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
127
127
|
|
|
128
|
-
declare const __VLS_component_2: DefineComponent<ExtractPropTypes<
|
|
128
|
+
declare const __VLS_component_2: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<{
|
|
129
129
|
color?: "default" | "hover" | "active" | "secondary";
|
|
130
130
|
display?: "block" | "inline" | "flex" | "";
|
|
131
131
|
line?: "lh100" | "lh110" | "lh120" | "lh130" | "lh140" | "lh150";
|
|
@@ -145,7 +145,7 @@ text: string;
|
|
|
145
145
|
textAlign: string;
|
|
146
146
|
weight: string;
|
|
147
147
|
wrap: string;
|
|
148
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
148
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<{
|
|
149
149
|
color?: "default" | "hover" | "active" | "secondary";
|
|
150
150
|
display?: "block" | "inline" | "flex" | "";
|
|
151
151
|
line?: "lh100" | "lh110" | "lh120" | "lh130" | "lh140" | "lh150";
|
|
@@ -177,14 +177,14 @@ textAlign: "left" | "center" | "right" | "";
|
|
|
177
177
|
weight: "fw400" | "fw500" | "fw600" | "fw700";
|
|
178
178
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
179
179
|
|
|
180
|
-
declare const __VLS_component_3: DefineComponent<ExtractPropTypes<
|
|
180
|
+
declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<IProps_3>, {
|
|
181
181
|
justifyContent: string;
|
|
182
182
|
padding: string;
|
|
183
183
|
paddingBlock: string;
|
|
184
184
|
paddingInline: string;
|
|
185
185
|
radius: string;
|
|
186
186
|
width: string;
|
|
187
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
187
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<IProps_3>, {
|
|
188
188
|
justifyContent: string;
|
|
189
189
|
padding: string;
|
|
190
190
|
paddingBlock: string;
|
|
@@ -206,14 +206,6 @@ inline: {
|
|
|
206
206
|
type: PropType<boolean>;
|
|
207
207
|
default: boolean;
|
|
208
208
|
};
|
|
209
|
-
disabled: {
|
|
210
|
-
type: PropType<boolean>;
|
|
211
|
-
default: boolean;
|
|
212
|
-
};
|
|
213
|
-
duration: {
|
|
214
|
-
type: PropType<number[]>;
|
|
215
|
-
default: () => number[];
|
|
216
|
-
};
|
|
217
209
|
action: {
|
|
218
210
|
type: PropType<"click" | "mouseenter" | "manual">;
|
|
219
211
|
default: string;
|
|
@@ -230,6 +222,14 @@ delay: {
|
|
|
230
222
|
type: PropType<number[]>;
|
|
231
223
|
default: () => number[];
|
|
232
224
|
};
|
|
225
|
+
disabled: {
|
|
226
|
+
type: PropType<boolean>;
|
|
227
|
+
default: boolean;
|
|
228
|
+
};
|
|
229
|
+
duration: {
|
|
230
|
+
type: PropType<number[]>;
|
|
231
|
+
default: () => number[];
|
|
232
|
+
};
|
|
233
233
|
flip: {
|
|
234
234
|
type: PropType<boolean>;
|
|
235
235
|
default: boolean;
|
|
@@ -258,6 +258,10 @@ placement: {
|
|
|
258
258
|
type: PropType<"left" | "right" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end">;
|
|
259
259
|
default: string;
|
|
260
260
|
};
|
|
261
|
+
triggerClass: {
|
|
262
|
+
type: PropType<string>;
|
|
263
|
+
default: string;
|
|
264
|
+
};
|
|
261
265
|
zIndex: {
|
|
262
266
|
type: PropType<number>;
|
|
263
267
|
default: number;
|
|
@@ -272,14 +276,6 @@ inline: {
|
|
|
272
276
|
type: PropType<boolean>;
|
|
273
277
|
default: boolean;
|
|
274
278
|
};
|
|
275
|
-
disabled: {
|
|
276
|
-
type: PropType<boolean>;
|
|
277
|
-
default: boolean;
|
|
278
|
-
};
|
|
279
|
-
duration: {
|
|
280
|
-
type: PropType<number[]>;
|
|
281
|
-
default: () => number[];
|
|
282
|
-
};
|
|
283
279
|
action: {
|
|
284
280
|
type: PropType<"click" | "mouseenter" | "manual">;
|
|
285
281
|
default: string;
|
|
@@ -296,6 +292,14 @@ delay: {
|
|
|
296
292
|
type: PropType<number[]>;
|
|
297
293
|
default: () => number[];
|
|
298
294
|
};
|
|
295
|
+
disabled: {
|
|
296
|
+
type: PropType<boolean>;
|
|
297
|
+
default: boolean;
|
|
298
|
+
};
|
|
299
|
+
duration: {
|
|
300
|
+
type: PropType<number[]>;
|
|
301
|
+
default: () => number[];
|
|
302
|
+
};
|
|
299
303
|
flip: {
|
|
300
304
|
type: PropType<boolean>;
|
|
301
305
|
default: boolean;
|
|
@@ -324,6 +328,10 @@ placement: {
|
|
|
324
328
|
type: PropType<"left" | "right" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end">;
|
|
325
329
|
default: string;
|
|
326
330
|
};
|
|
331
|
+
triggerClass: {
|
|
332
|
+
type: PropType<string>;
|
|
333
|
+
default: string;
|
|
334
|
+
};
|
|
327
335
|
zIndex: {
|
|
328
336
|
type: PropType<number>;
|
|
329
337
|
default: number;
|
|
@@ -334,12 +342,12 @@ onChange?: ((value: boolean) => any) | undefined;
|
|
|
334
342
|
onHide?: (() => any) | undefined;
|
|
335
343
|
}>, {
|
|
336
344
|
inline: boolean;
|
|
337
|
-
disabled: boolean;
|
|
338
|
-
duration: number[];
|
|
339
345
|
action: "mouseenter" | "click" | "manual";
|
|
340
346
|
appendTo: HTMLElement | Element | string;
|
|
341
347
|
arrow: boolean;
|
|
342
348
|
delay: number[];
|
|
349
|
+
disabled: boolean;
|
|
350
|
+
duration: number[];
|
|
343
351
|
flip: boolean;
|
|
344
352
|
hideOnClick: boolean;
|
|
345
353
|
interactive: boolean;
|
|
@@ -347,6 +355,7 @@ interactiveBorder: number;
|
|
|
347
355
|
maxWidth: number;
|
|
348
356
|
offset: number[];
|
|
349
357
|
placement: TTooltipPosition;
|
|
358
|
+
triggerClass: string;
|
|
350
359
|
zIndex: number;
|
|
351
360
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
352
361
|
|
|
@@ -358,6 +367,8 @@ declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
|
358
367
|
|
|
359
368
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
360
369
|
|
|
370
|
+
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
371
|
+
|
|
361
372
|
declare type __VLS_Prettify<T> = {
|
|
362
373
|
[K in keyof T]: T[K];
|
|
363
374
|
} & {};
|
|
@@ -374,6 +385,10 @@ declare type __VLS_Prettify_4<T> = {
|
|
|
374
385
|
[K in keyof T]: T[K];
|
|
375
386
|
} & {};
|
|
376
387
|
|
|
388
|
+
declare type __VLS_Prettify_5<T> = {
|
|
389
|
+
[K in keyof T]: T[K];
|
|
390
|
+
} & {};
|
|
391
|
+
|
|
377
392
|
declare function __VLS_template(): {
|
|
378
393
|
default?(_: {}): any;
|
|
379
394
|
};
|
|
@@ -427,6 +442,15 @@ declare type __VLS_TypePropsToRuntimeProps_4<T> = {
|
|
|
427
442
|
};
|
|
428
443
|
};
|
|
429
444
|
|
|
445
|
+
declare type __VLS_TypePropsToRuntimeProps_5<T> = {
|
|
446
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
447
|
+
type: PropType<__VLS_NonUndefinedable_5<T[K]>>;
|
|
448
|
+
} : {
|
|
449
|
+
type: PropType<T[K]>;
|
|
450
|
+
required: true;
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
|
|
430
454
|
declare type __VLS_WithDefaults<P, D> = {
|
|
431
455
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
432
456
|
default: D[K];
|
|
@@ -451,6 +475,12 @@ declare type __VLS_WithDefaults_4<P, D> = {
|
|
|
451
475
|
}> : P[K];
|
|
452
476
|
};
|
|
453
477
|
|
|
478
|
+
declare type __VLS_WithDefaults_5<P, D> = {
|
|
479
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_5<P[K] & {
|
|
480
|
+
default: D[K];
|
|
481
|
+
}> : P[K];
|
|
482
|
+
};
|
|
483
|
+
|
|
454
484
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
455
485
|
new (): {
|
|
456
486
|
$slots: S;
|
|
@@ -487,6 +517,10 @@ declare interface IProps {
|
|
|
487
517
|
}
|
|
488
518
|
|
|
489
519
|
declare interface IProps_2 {
|
|
520
|
+
width?: number;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
declare interface IProps_3 {
|
|
490
524
|
justifyContent?: '' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'normal' | 'space-between' | 'space-around' | 'space-evenly';
|
|
491
525
|
padding?: '' | 'p2' | 'p4' | 'p6' | 'p8' | 'p10' | 'p12' | 'p14' | 'p16' | 'p18' | 'p20' | 'p24' | 'p28' | 'p32' | 'p36' | 'p40' | 'p42' | 'p64' | 'p80' | 'p120';
|
|
492
526
|
paddingBlock?: '' | 'p2' | 'p4' | 'p6' | 'p8' | 'p10' | 'p12' | 'p14' | 'p16' | 'p18' | 'p20' | 'p24' | 'p28' | 'p32' | 'p36' | 'p40' | 'p42' | 'p64' | 'p80' | 'p120';
|
|
@@ -509,13 +543,13 @@ export declare type TUiTextSize = 'fs12' | 'fs14' | 'fs16' | 'fs18' | 'fs20' | '
|
|
|
509
543
|
|
|
510
544
|
export declare const UiFlex: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
511
545
|
|
|
512
|
-
export declare const UiIcon: DefineComponent<ExtractPropTypes<
|
|
546
|
+
export declare const UiIcon: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<IProps>, {
|
|
513
547
|
color: string;
|
|
514
548
|
height: number;
|
|
515
549
|
viewBoxHeight: number;
|
|
516
550
|
viewBoxWidth: number;
|
|
517
551
|
width: number;
|
|
518
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
552
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<IProps>, {
|
|
519
553
|
color: string;
|
|
520
554
|
height: number;
|
|
521
555
|
viewBoxHeight: number;
|
|
@@ -529,6 +563,14 @@ viewBoxHeight: string | number;
|
|
|
529
563
|
viewBoxWidth: string | number;
|
|
530
564
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
531
565
|
|
|
566
|
+
export declare const UiLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<IProps_2>, {
|
|
567
|
+
width: number;
|
|
568
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<IProps_2>, {
|
|
569
|
+
width: number;
|
|
570
|
+
}>>> & Readonly<{}>, {
|
|
571
|
+
width: number;
|
|
572
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
573
|
+
|
|
532
574
|
export declare const UiText: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
|
|
533
575
|
|
|
534
576
|
export declare const UiThemeToggler: DefineComponent<ExtractPropTypes< {
|
|
@@ -563,6 +605,7 @@ declare module '@vue/runtime-core' {
|
|
|
563
605
|
interface IGlobalComponents {
|
|
564
606
|
UiFlex: typeof UiFlex;
|
|
565
607
|
UiIcon: typeof UiIcon;
|
|
608
|
+
UiLoader: typeof UiLoader;
|
|
566
609
|
UiText: typeof UiText;
|
|
567
610
|
UiThemeToggler: typeof UiThemeToggler;
|
|
568
611
|
UiTooltipContent: typeof UiTooltipContent;
|