ep-lib-ts 0.1.32 → 0.1.33

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.
Files changed (146) hide show
  1. package/dist/{BgAudio-6ae98417.js → BgAudio-03ab87a2.js} +1 -1
  2. package/dist/{DisplayBox-3033a4bd.js → DisplayBox-2a24a5ba.js} +1 -1
  3. package/dist/{EpAlert-6e930863.js → EpAlert-174fcb58.js} +1 -1
  4. package/dist/{EpAudio-84ef53c8.js → EpAudio-3273480f.js} +1 -1
  5. package/dist/EpAvatar-b8e6cc02.js +50 -0
  6. package/dist/EpBadge-1001b3f1.js +6 -0
  7. package/dist/EpBadge-f5faab43.js +55 -0
  8. package/dist/{EpBarChart-a1d0bce5.js → EpBarChart-9f7bfb0a.js} +1 -1
  9. package/dist/EpBtn-d2ee85de.js +6 -0
  10. package/dist/EpCard-eb83211e.js +6 -0
  11. package/dist/EpChip-916932cb.js +6 -0
  12. package/dist/EpContentSlider-0cf1508d.js +6 -0
  13. package/dist/EpDivider-e7cb7f8a.js +6 -0
  14. package/dist/{EpEdu-a55c4620.js → EpEdu-5a7baed7.js} +1 -1
  15. package/dist/EpFlex-5a98c073.js +6 -0
  16. package/dist/EpHeader-6434c484.js +6 -0
  17. package/dist/{EpIcon-3295a9ac.js → EpIcon-ee0a43f7.js} +1 -1
  18. package/dist/EpIframe-22b07140.js +6 -0
  19. package/dist/EpImg-a6041dc8.js +6 -0
  20. package/dist/{EpInput-18403969.js → EpInput-84694089.js} +1 -1
  21. package/dist/EpLineChart-2575d63d.js +6 -0
  22. package/dist/EpLink-973bc022.js +6 -0
  23. package/dist/EpLinkVersion-24002433.js +6 -0
  24. package/dist/EpModal-c85f0d51.js +6 -0
  25. package/dist/{EpNothing-6cab5dda.js → EpNothing-97d18b42.js} +1 -1
  26. package/dist/EpPieChart-0eb59e41.js +6 -0
  27. package/dist/EpQuestion-9a2344da.js +6 -0
  28. package/dist/EpQuote-aaa938d0.js +6 -0
  29. package/dist/EpRadio-57e34517.js +6 -0
  30. package/dist/EpReading-e17c098f.js +6 -0
  31. package/dist/EpResource-2adf0ce4.js +6 -0
  32. package/dist/{EpScope-14c4bba6.js → EpScope-2eceb2e9.js} +1 -1
  33. package/dist/EpSection-d658f245.js +6 -0
  34. package/dist/{EpSelect-1b84ad43.js → EpSelect-c508997b.js} +1 -1
  35. package/dist/EpSkeleton-fccbc6be.js +6 -0
  36. package/dist/EpSoftware-32ca0529.js +6 -0
  37. package/dist/EpSpinner-d8682586.js +6 -0
  38. package/dist/EpSvg-7d74c2b2.js +6 -0
  39. package/dist/EpTable-e5bd6c19.js +6 -0
  40. package/dist/EpTerm-427f5b86.js +6 -0
  41. package/dist/EpText-f96b3863.js +6 -0
  42. package/dist/EpTimeLine-54cbf65e.js +6 -0
  43. package/dist/EpTooltip-05e1d8fe.js +99 -0
  44. package/dist/EpVideo-9a9ce1e1.js +6 -0
  45. package/dist/EpVideoPanopto-f42c01cc.js +6 -0
  46. package/dist/components/basics/EpAvatar.vue.d.ts +51 -0
  47. package/dist/components/basics/EpBadge.vue.d.ts +33 -34
  48. package/dist/components/basics/EpBtn.vue.d.ts +54 -94
  49. package/dist/components/basics/EpCard.vue.d.ts +51 -76
  50. package/dist/components/basics/EpChip.vue.d.ts +44 -59
  51. package/dist/components/basics/EpDivider.vue.d.ts +38 -44
  52. package/dist/components/basics/EpIcon.vue.d.ts +30 -33
  53. package/dist/components/basics/EpImg.vue.d.ts +40 -73
  54. package/dist/components/basics/EpSection.vue.d.ts +39 -73
  55. package/dist/components/basics/EpSpinner.vue.d.ts +34 -35
  56. package/dist/components/basics/EpTable.vue.d.ts +22 -22
  57. package/dist/components/basics/EpText.vue.d.ts +28 -31
  58. package/dist/components/charts/EpBarChart.vue.d.ts +35 -69
  59. package/dist/components/charts/EpLineChart.vue.d.ts +35 -69
  60. package/dist/components/charts/EpPieChart.vue.d.ts +37 -66
  61. package/dist/components/educationals/EpEdu.vue.d.ts +41 -66
  62. package/dist/components/educationals/EpReading.vue.d.ts +65 -140
  63. package/dist/components/educationals/EpResource.vue.d.ts +30 -32
  64. package/dist/components/educationals/EpScope.vue.d.ts +28 -19
  65. package/dist/components/forms/EpCheckbox.vue.d.ts +44 -60
  66. package/dist/components/forms/EpInput.vue.d.ts +51 -84
  67. package/dist/components/forms/EpRadio.vue.d.ts +46 -59
  68. package/dist/components/forms/EpSelect.vue.d.ts +47 -73
  69. package/dist/components/forms/EpSwitch.vue.d.ts +47 -68
  70. package/dist/components/forms/EpTextarea.vue.d.ts +50 -76
  71. package/dist/components/forms/EpToggle.vue.d.ts +47 -68
  72. package/dist/components/interactions/EpAccordeon.vue.d.ts +37 -42
  73. package/dist/components/interactions/EpContentSlider.vue.d.ts +20 -10
  74. package/dist/components/interactions/EpModal.vue.d.ts +47 -52
  75. package/dist/components/interactions/EpQuestion.vue.d.ts +45 -84
  76. package/dist/components/interactions/EpTooltip.vue.d.ts +48 -0
  77. package/dist/components/medias/EpAudio.vue.d.ts +41 -68
  78. package/dist/components/medias/EpCarousel.vue.d.ts +32 -35
  79. package/dist/components/medias/EpIframe.vue.d.ts +37 -54
  80. package/dist/components/medias/EpKatex.vue.d.ts +32 -49
  81. package/dist/components/medias/EpLink.vue.d.ts +41 -68
  82. package/dist/components/medias/EpLinkVersion.vue.d.ts +27 -27
  83. package/dist/components/medias/EpSoftware.vue.d.ts +47 -82
  84. package/dist/components/medias/EpSvg.vue.d.ts +31 -41
  85. package/dist/components/medias/EpTerm.vue.d.ts +41 -69
  86. package/dist/components/medias/EpTimeLine.vue.d.ts +22 -24
  87. package/dist/components/medias/EpVideo.vue.d.ts +38 -60
  88. package/dist/components/medias/EpVideoPanopto.vue.d.ts +38 -60
  89. package/dist/components/signages/EpAlert.vue.d.ts +36 -42
  90. package/dist/components/signages/EpBadge.vue.d.ts +56 -0
  91. package/dist/components/signages/EpHeader.vue.d.ts +53 -94
  92. package/dist/components/signages/EpQuote.vue.d.ts +31 -27
  93. package/dist/components/signages/EpSkeleton.vue.d.ts +40 -1
  94. package/dist/components/tools/BgAudio.vue.d.ts +26 -11
  95. package/dist/components/tools/TimelineItem.vue.d.ts +32 -33
  96. package/dist/ep-lib-ts.js +25 -24
  97. package/dist/ep-lib-ts.umd.cjs +31 -31
  98. package/dist/{index-20e915f7.js → index-a7b2a6d7.js} +3352 -3314
  99. package/dist/index.d.ts +2 -1
  100. package/dist/style.css +1 -1
  101. package/dist/types/Avatar.d.ts +18 -0
  102. package/dist/types/Badge.d.ts +23 -0
  103. package/dist/types/Tooltip.d.ts +75 -0
  104. package/package.json +2 -2
  105. package/src/components/basics/EpAvatar.vue +72 -0
  106. package/src/components/basics/EpText.vue +1 -1
  107. package/src/components/educationals/EpEdu.vue +1 -0
  108. package/src/components/educationals/EpReading.vue +2 -2
  109. package/src/components/interactions/EpQuestion.vue +1 -1
  110. package/src/components/interactions/EpTooltip.vue +164 -0
  111. package/src/components/medias/EpCarousel.vue +21 -18
  112. package/src/components/signages/EpBadge.vue +82 -0
  113. package/src/components/signages/EpQuote.vue +53 -37
  114. package/src/components/signages/EpSkeleton.vue +36 -9
  115. package/src/components/tools/TimelineItem.vue +1 -1
  116. package/dist/EpBadge-93f2b94c.js +0 -6
  117. package/dist/EpBtn-668f42ba.js +0 -6
  118. package/dist/EpCard-6093b0ee.js +0 -6
  119. package/dist/EpChip-caf0d258.js +0 -6
  120. package/dist/EpContentSlider-bad04488.js +0 -6
  121. package/dist/EpDivider-75d5d66c.js +0 -6
  122. package/dist/EpFlex-75a7f492.js +0 -6
  123. package/dist/EpHeader-a78fa103.js +0 -6
  124. package/dist/EpIframe-7454aac5.js +0 -6
  125. package/dist/EpImg-20520265.js +0 -6
  126. package/dist/EpLineChart-17f12586.js +0 -6
  127. package/dist/EpLink-880190ed.js +0 -6
  128. package/dist/EpLinkVersion-ed4fab24.js +0 -6
  129. package/dist/EpModal-d4218262.js +0 -6
  130. package/dist/EpPieChart-1a893e73.js +0 -6
  131. package/dist/EpQuestion-ab29713a.js +0 -6
  132. package/dist/EpQuote-ffe88c7e.js +0 -6
  133. package/dist/EpRadio-b3b1094a.js +0 -6
  134. package/dist/EpReading-e1f2913e.js +0 -6
  135. package/dist/EpResource-0ea2ee11.js +0 -6
  136. package/dist/EpSection-317337e3.js +0 -6
  137. package/dist/EpSkeleton-9542d360.js +0 -10
  138. package/dist/EpSoftware-f88dae21.js +0 -6
  139. package/dist/EpSpinner-de7aeb71.js +0 -6
  140. package/dist/EpSvg-0a1e63ad.js +0 -6
  141. package/dist/EpTable-dc6c3eff.js +0 -6
  142. package/dist/EpTerm-b0ebfe20.js +0 -6
  143. package/dist/EpText-5de02f6c.js +0 -6
  144. package/dist/EpTimeLine-7703e204.js +0 -6
  145. package/dist/EpVideo-df8c065a.js +0 -6
  146. package/dist/EpVideoPanopto-26dd2dd2.js +0 -6
@@ -1,72 +1,27 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- src: {
3
- type: import("vue").PropType<string>;
4
- };
5
- term: {
6
- type: import("vue").PropType<string>;
7
- required: true;
8
- default: string;
9
- };
10
- word: {
11
- type: import("vue").PropType<string>;
12
- required: true;
13
- };
14
- definition: {
15
- type: import("vue").PropType<string>;
16
- };
17
- variations: {
18
- type: import("vue").PropType<string>;
19
- default: string;
20
- };
21
- domain: {
22
- type: import("vue").PropType<string>;
23
- };
24
- graminfo: {
25
- type: import("vue").PropType<string>;
26
- };
27
- relations: {
28
- type: import("vue").PropType<string>;
29
- default: string;
30
- };
31
- labelClose: {
32
- type: import("vue").PropType<string>;
33
- default: string;
34
- };
35
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
- src: {
37
- type: import("vue").PropType<string>;
38
- };
39
- term: {
40
- type: import("vue").PropType<string>;
41
- required: true;
42
- default: string;
43
- };
44
- word: {
45
- type: import("vue").PropType<string>;
46
- required: true;
47
- };
48
- definition: {
49
- type: import("vue").PropType<string>;
50
- };
51
- variations: {
52
- type: import("vue").PropType<string>;
53
- default: string;
54
- };
55
- domain: {
56
- type: import("vue").PropType<string>;
57
- };
58
- graminfo: {
59
- type: import("vue").PropType<string>;
60
- };
61
- relations: {
62
- type: import("vue").PropType<string>;
63
- default: string;
64
- };
65
- labelClose: {
66
- type: import("vue").PropType<string>;
67
- default: string;
68
- };
69
- }>>, {
1
+ interface Props {
2
+ term: string;
3
+ word: string;
4
+ definition?: string;
5
+ variations?: string;
6
+ domain?: string;
7
+ graminfo?: string;
8
+ relations?: string;
9
+ labelClose?: string;
10
+ src?: string;
11
+ }
12
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
13
+ term: string;
14
+ variations: string;
15
+ relations: string;
16
+ idrelation: string;
17
+ labelClose: string;
18
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
19
+ term: string;
20
+ variations: string;
21
+ relations: string;
22
+ idrelation: string;
23
+ labelClose: string;
24
+ }>>>, {
70
25
  term: string;
71
26
  variations: string;
72
27
  relations: string;
@@ -75,6 +30,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
75
30
  default?(_: {}): any;
76
31
  }>;
77
32
  export default _default;
33
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
+ type __VLS_TypePropsToRuntimeProps<T> = {
35
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
36
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
+ } : {
38
+ type: import('vue').PropType<T[K]>;
39
+ required: true;
40
+ };
41
+ };
42
+ type __VLS_WithDefaults<P, D> = {
43
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
+ default: D[K];
45
+ }> : P[K];
46
+ };
47
+ type __VLS_Prettify<T> = {
48
+ [K in keyof T]: T[K];
49
+ } & {};
78
50
  type __VLS_WithTemplateSlots<T, S> = T & {
79
51
  new (): {
80
52
  $slots: S;
@@ -4,29 +4,27 @@ interface TimelineHeading {
4
4
  text?: HeadTimeLine;
5
5
  };
6
6
  }
7
- declare const _default: import("vue").DefineComponent<{
8
- title: {
9
- type: import("vue").PropType<TimelineHeading>;
10
- };
11
- tags: {
12
- type: import("vue").PropType<TagTimeLine[]>;
13
- required: true;
14
- };
15
- events: {
16
- type: import("vue").PropType<EventTimeLine[]>;
17
- required: true;
18
- };
19
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
- title: {
21
- type: import("vue").PropType<TimelineHeading>;
22
- };
23
- tags: {
24
- type: import("vue").PropType<TagTimeLine[]>;
25
- required: true;
26
- };
27
- events: {
28
- type: import("vue").PropType<EventTimeLine[]>;
7
+ interface Props {
8
+ tags: TagTimeLine[];
9
+ events: EventTimeLine[];
10
+ title?: TimelineHeading;
11
+ }
12
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>>, {}, {}>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
29
20
  required: true;
30
21
  };
31
- }>>, {}, {}>;
32
- export default _default;
22
+ };
23
+ type __VLS_WithDefaults<P, D> = {
24
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
25
+ default: D[K];
26
+ }> : P[K];
27
+ };
28
+ type __VLS_Prettify<T> = {
29
+ [K in keyof T]: T[K];
30
+ } & {};
@@ -1,65 +1,43 @@
1
+ import { MediaVariants } from "../../types/Medias";
1
2
  import { MandateLevel } from '../../types/MandateLevel';
2
- declare const _default: import("vue").DefineComponent<{
3
- title: {
4
- type: import("vue").PropType<string>;
5
- };
6
- type: {
7
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
8
- default: string;
9
- };
10
- src: {
11
- type: import("vue").PropType<string>;
12
- required: true;
13
- };
14
- mandateLevel: {
15
- type: import("vue").PropType<string | MandateLevel | null>;
16
- };
17
- intentions: {
18
- type: import("vue").PropType<string>;
19
- };
20
- hideIcon: {
21
- type: import("vue").PropType<boolean>;
22
- default: boolean;
23
- };
24
- labelIntentions: {
25
- type: import("vue").PropType<string>;
26
- default: string;
27
- };
28
- credits: {
29
- type: import("vue").PropType<string>;
30
- };
31
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
- title: {
33
- type: import("vue").PropType<string>;
34
- };
35
- type: {
36
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
37
- default: string;
38
- };
39
- src: {
40
- type: import("vue").PropType<string>;
41
- required: true;
42
- };
43
- mandateLevel: {
44
- type: import("vue").PropType<string | MandateLevel | null>;
45
- };
46
- intentions: {
47
- type: import("vue").PropType<string>;
48
- };
49
- hideIcon: {
50
- type: import("vue").PropType<boolean>;
51
- default: boolean;
52
- };
53
- labelIntentions: {
54
- type: import("vue").PropType<string>;
55
- default: string;
56
- };
57
- credits: {
58
- type: import("vue").PropType<string>;
59
- };
60
- }>>, {
61
- type: "base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error";
3
+ interface Props {
4
+ src: string;
5
+ title?: string;
6
+ intentions?: string;
7
+ credits?: string;
8
+ mandateLevel?: string | MandateLevel | null;
9
+ labelIntentions?: string;
10
+ type?: MediaVariants;
11
+ hideIcon?: boolean;
12
+ }
13
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
+ labelIntentions: string;
15
+ type: string;
16
+ hideIcon: boolean;
17
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
18
+ labelIntentions: string;
19
+ type: string;
20
+ hideIcon: boolean;
21
+ }>>>, {
22
+ type: "base" | "primary" | "secondary" | "accent" | "error" | "warning" | "success" | "info";
62
23
  hideIcon: boolean;
63
24
  labelIntentions: string;
64
25
  }, {}>;
65
26
  export default _default;
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToRuntimeProps<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
36
+ type __VLS_WithDefaults<P, D> = {
37
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
+ default: D[K];
39
+ }> : P[K];
40
+ };
41
+ type __VLS_Prettify<T> = {
42
+ [K in keyof T]: T[K];
43
+ } & {};
@@ -1,65 +1,43 @@
1
+ import { MediaVariants } from "../../types/Medias";
1
2
  import { MandateLevel } from '../../types/MandateLevel';
2
- declare const _default: import("vue").DefineComponent<{
3
- title: {
4
- type: import("vue").PropType<string>;
5
- };
6
- type: {
7
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
8
- default: string;
9
- };
10
- src: {
11
- type: import("vue").PropType<string>;
12
- required: true;
13
- };
14
- mandateLevel: {
15
- type: import("vue").PropType<string | MandateLevel | null>;
16
- };
17
- intentions: {
18
- type: import("vue").PropType<string>;
19
- };
20
- hideIcon: {
21
- type: import("vue").PropType<boolean>;
22
- default: boolean;
23
- };
24
- labelIntentions: {
25
- type: import("vue").PropType<string>;
26
- default: string;
27
- };
28
- credits: {
29
- type: import("vue").PropType<string>;
30
- };
31
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
- title: {
33
- type: import("vue").PropType<string>;
34
- };
35
- type: {
36
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
37
- default: string;
38
- };
39
- src: {
40
- type: import("vue").PropType<string>;
41
- required: true;
42
- };
43
- mandateLevel: {
44
- type: import("vue").PropType<string | MandateLevel | null>;
45
- };
46
- intentions: {
47
- type: import("vue").PropType<string>;
48
- };
49
- hideIcon: {
50
- type: import("vue").PropType<boolean>;
51
- default: boolean;
52
- };
53
- labelIntentions: {
54
- type: import("vue").PropType<string>;
55
- default: string;
56
- };
57
- credits: {
58
- type: import("vue").PropType<string>;
59
- };
60
- }>>, {
61
- type: "base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error";
3
+ interface Props {
4
+ src: string;
5
+ title?: string;
6
+ intentions?: string;
7
+ credits?: string;
8
+ mandateLevel?: string | MandateLevel | null;
9
+ labelIntentions?: string;
10
+ type?: MediaVariants;
11
+ hideIcon?: boolean;
12
+ }
13
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
+ labelIntentions: string;
15
+ type: string;
16
+ hideIcon: boolean;
17
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
18
+ labelIntentions: string;
19
+ type: string;
20
+ hideIcon: boolean;
21
+ }>>>, {
22
+ type: "base" | "primary" | "secondary" | "accent" | "error" | "warning" | "success" | "info";
62
23
  hideIcon: boolean;
63
24
  labelIntentions: string;
64
25
  }, {}>;
65
26
  export default _default;
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToRuntimeProps<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
36
+ type __VLS_WithDefaults<P, D> = {
37
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
+ default: D[K];
39
+ }> : P[K];
40
+ };
41
+ type __VLS_Prettify<T> = {
42
+ [K in keyof T]: T[K];
43
+ } & {};
@@ -5,55 +5,49 @@ interface OldType {
5
5
  type: TypeAlert;
6
6
  color: string;
7
7
  }
8
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
9
- title: {
10
- type: import("vue").PropType<string | null>;
11
- default: null;
12
- };
13
- type: {
14
- type: import("vue").PropType<"base" | "info" | "warning" | "success" | "error" | "question" | "Question" | "tip" | OldType>;
15
- default: string;
16
- };
17
- outlined: {
18
- type: import("vue").PropType<boolean>;
19
- default: boolean;
20
- };
21
- compact: {
22
- type: import("vue").PropType<boolean>;
23
- };
24
- noIcon: {
25
- type: import("vue").PropType<boolean>;
26
- default: boolean;
27
- };
28
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
- title: {
30
- type: import("vue").PropType<string | null>;
31
- default: null;
32
- };
33
- type: {
34
- type: import("vue").PropType<"base" | "info" | "warning" | "success" | "error" | "question" | "Question" | "tip" | OldType>;
35
- default: string;
36
- };
37
- outlined: {
38
- type: import("vue").PropType<boolean>;
39
- default: boolean;
40
- };
41
- compact: {
42
- type: import("vue").PropType<boolean>;
43
- };
44
- noIcon: {
45
- type: import("vue").PropType<boolean>;
46
- default: boolean;
47
- };
48
- }>>, {
8
+ interface Props {
9
+ type?: TypeAlert | OldType;
10
+ title?: string | null;
11
+ outlined?: boolean;
12
+ noIcon?: boolean;
13
+ compact?: boolean;
14
+ }
15
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
16
+ type: string;
17
+ title: null;
18
+ outlined: boolean;
19
+ noIcon: boolean;
20
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
21
+ type: string;
22
+ title: null;
23
+ outlined: boolean;
24
+ noIcon: boolean;
25
+ }>>>, {
49
26
  title: string | null;
50
- type: "base" | "info" | "warning" | "success" | "error" | "question" | "Question" | "tip" | OldType;
27
+ type: "base" | "error" | "warning" | "success" | "info" | "question" | "tip" | "Question" | OldType;
51
28
  outlined: boolean;
52
29
  noIcon: boolean;
53
30
  }, {}>, {
54
31
  default?(_: {}): any;
55
32
  }>;
56
33
  export default _default;
34
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
+ type __VLS_TypePropsToRuntimeProps<T> = {
36
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
37
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
38
+ } : {
39
+ type: import('vue').PropType<T[K]>;
40
+ required: true;
41
+ };
42
+ };
43
+ type __VLS_WithDefaults<P, D> = {
44
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
45
+ default: D[K];
46
+ }> : P[K];
47
+ };
48
+ type __VLS_Prettify<T> = {
49
+ [K in keyof T]: T[K];
50
+ } & {};
57
51
  type __VLS_WithTemplateSlots<T, S> = T & {
58
52
  new (): {
59
53
  $slots: S;
@@ -0,0 +1,56 @@
1
+ import { TypeBadge } from "../../types/Badge";
2
+ type Mode = "default" | "dot";
3
+ type Color = "primary" | "secondary" | "accent" | "error" | "warning" | "success" | "info" | "question" | "tip";
4
+ type Visibility = "true" | "false";
5
+ interface Props {
6
+ content: number;
7
+ mode?: Mode;
8
+ placement?: TypeBadge;
9
+ visibility: Visibility;
10
+ color: Color;
11
+ maxValue: number;
12
+ }
13
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
+ mode: string;
15
+ placement: string;
16
+ visibility: string;
17
+ color: string;
18
+ maxValue: number;
19
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
20
+ mode: string;
21
+ placement: string;
22
+ visibility: string;
23
+ color: string;
24
+ maxValue: number;
25
+ }>>>, {
26
+ color: Color;
27
+ mode: Mode;
28
+ placement: "top_left" | "top_right" | "bottom_left" | "bottom_right";
29
+ visibility: Visibility;
30
+ maxValue: number;
31
+ }, {}>, {
32
+ default?(_: {}): any;
33
+ }>;
34
+ export default _default;
35
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
+ type __VLS_TypePropsToRuntimeProps<T> = {
37
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
38
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
+ } : {
40
+ type: import('vue').PropType<T[K]>;
41
+ required: true;
42
+ };
43
+ };
44
+ type __VLS_WithDefaults<P, D> = {
45
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
46
+ default: D[K];
47
+ }> : P[K];
48
+ };
49
+ type __VLS_Prettify<T> = {
50
+ [K in keyof T]: T[K];
51
+ } & {};
52
+ type __VLS_WithTemplateSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };