turmag-vue-components 0.0.23 → 0.0.24

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 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<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
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<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
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<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<IProps_2>, {
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<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<IProps_2>, {
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;
@@ -272,14 +272,6 @@ inline: {
272
272
  type: PropType<boolean>;
273
273
  default: boolean;
274
274
  };
275
- disabled: {
276
- type: PropType<boolean>;
277
- default: boolean;
278
- };
279
- duration: {
280
- type: PropType<number[]>;
281
- default: () => number[];
282
- };
283
275
  action: {
284
276
  type: PropType<"click" | "mouseenter" | "manual">;
285
277
  default: string;
@@ -296,6 +288,14 @@ delay: {
296
288
  type: PropType<number[]>;
297
289
  default: () => number[];
298
290
  };
291
+ disabled: {
292
+ type: PropType<boolean>;
293
+ default: boolean;
294
+ };
295
+ duration: {
296
+ type: PropType<number[]>;
297
+ default: () => number[];
298
+ };
299
299
  flip: {
300
300
  type: PropType<boolean>;
301
301
  default: boolean;
@@ -334,12 +334,12 @@ onChange?: ((value: boolean) => any) | undefined;
334
334
  onHide?: (() => any) | undefined;
335
335
  }>, {
336
336
  inline: boolean;
337
- disabled: boolean;
338
- duration: number[];
339
337
  action: "mouseenter" | "click" | "manual";
340
338
  appendTo: HTMLElement | Element | string;
341
339
  arrow: boolean;
342
340
  delay: number[];
341
+ disabled: boolean;
342
+ duration: number[];
343
343
  flip: boolean;
344
344
  hideOnClick: boolean;
345
345
  interactive: boolean;
@@ -358,6 +358,8 @@ declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
358
358
 
359
359
  declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
360
360
 
361
+ declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
362
+
361
363
  declare type __VLS_Prettify<T> = {
362
364
  [K in keyof T]: T[K];
363
365
  } & {};
@@ -374,6 +376,10 @@ declare type __VLS_Prettify_4<T> = {
374
376
  [K in keyof T]: T[K];
375
377
  } & {};
376
378
 
379
+ declare type __VLS_Prettify_5<T> = {
380
+ [K in keyof T]: T[K];
381
+ } & {};
382
+
377
383
  declare function __VLS_template(): {
378
384
  default?(_: {}): any;
379
385
  };
@@ -427,6 +433,15 @@ declare type __VLS_TypePropsToRuntimeProps_4<T> = {
427
433
  };
428
434
  };
429
435
 
436
+ declare type __VLS_TypePropsToRuntimeProps_5<T> = {
437
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
438
+ type: PropType<__VLS_NonUndefinedable_5<T[K]>>;
439
+ } : {
440
+ type: PropType<T[K]>;
441
+ required: true;
442
+ };
443
+ };
444
+
430
445
  declare type __VLS_WithDefaults<P, D> = {
431
446
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
432
447
  default: D[K];
@@ -451,6 +466,12 @@ declare type __VLS_WithDefaults_4<P, D> = {
451
466
  }> : P[K];
452
467
  };
453
468
 
469
+ declare type __VLS_WithDefaults_5<P, D> = {
470
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_5<P[K] & {
471
+ default: D[K];
472
+ }> : P[K];
473
+ };
474
+
454
475
  declare type __VLS_WithTemplateSlots<T, S> = T & {
455
476
  new (): {
456
477
  $slots: S;
@@ -487,6 +508,10 @@ declare interface IProps {
487
508
  }
488
509
 
489
510
  declare interface IProps_2 {
511
+ width?: number;
512
+ }
513
+
514
+ declare interface IProps_3 {
490
515
  justifyContent?: '' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'normal' | 'space-between' | 'space-around' | 'space-evenly';
491
516
  padding?: '' | 'p2' | 'p4' | 'p6' | 'p8' | 'p10' | 'p12' | 'p14' | 'p16' | 'p18' | 'p20' | 'p24' | 'p28' | 'p32' | 'p36' | 'p40' | 'p42' | 'p64' | 'p80' | 'p120';
492
517
  paddingBlock?: '' | 'p2' | 'p4' | 'p6' | 'p8' | 'p10' | 'p12' | 'p14' | 'p16' | 'p18' | 'p20' | 'p24' | 'p28' | 'p32' | 'p36' | 'p40' | 'p42' | 'p64' | 'p80' | 'p120';
@@ -509,13 +534,13 @@ export declare type TUiTextSize = 'fs12' | 'fs14' | 'fs16' | 'fs18' | 'fs20' | '
509
534
 
510
535
  export declare const UiFlex: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
511
536
 
512
- export declare const UiIcon: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<IProps>, {
537
+ export declare const UiIcon: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<IProps>, {
513
538
  color: string;
514
539
  height: number;
515
540
  viewBoxHeight: number;
516
541
  viewBoxWidth: number;
517
542
  width: number;
518
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<IProps>, {
543
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<IProps>, {
519
544
  color: string;
520
545
  height: number;
521
546
  viewBoxHeight: number;
@@ -529,6 +554,14 @@ viewBoxHeight: string | number;
529
554
  viewBoxWidth: string | number;
530
555
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
531
556
 
557
+ export declare const UiLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<IProps_2>, {
558
+ width: number;
559
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<IProps_2>, {
560
+ width: number;
561
+ }>>> & Readonly<{}>, {
562
+ width: number;
563
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
564
+
532
565
  export declare const UiText: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
533
566
 
534
567
  export declare const UiThemeToggler: DefineComponent<ExtractPropTypes< {
@@ -563,6 +596,7 @@ declare module '@vue/runtime-core' {
563
596
  interface IGlobalComponents {
564
597
  UiFlex: typeof UiFlex;
565
598
  UiIcon: typeof UiIcon;
599
+ UiLoader: typeof UiLoader;
566
600
  UiText: typeof UiText;
567
601
  UiThemeToggler: typeof UiThemeToggler;
568
602
  UiTooltipContent: typeof UiTooltipContent;