ep-lib-ts 0.1.30 → 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 (155) hide show
  1. package/dist/BgAudio-03ab87a2.js +6 -0
  2. package/dist/DisplayBox-2a24a5ba.js +6 -0
  3. package/dist/EpAlert-174fcb58.js +6 -0
  4. package/dist/EpAudio-3273480f.js +6 -0
  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-9f7bfb0a.js +6 -0
  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-5a7baed7.js +6 -0
  15. package/dist/EpFlex-5a98c073.js +6 -0
  16. package/dist/EpHeader-6434c484.js +6 -0
  17. package/dist/EpIcon-ee0a43f7.js +6 -0
  18. package/dist/EpIframe-22b07140.js +6 -0
  19. package/dist/EpImg-a6041dc8.js +6 -0
  20. package/dist/{EpInput-81ae2a5e.js → EpInput-84694089.js} +4 -3
  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-97d18b42.js +11 -0
  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-2eceb2e9.js +6 -0
  33. package/dist/EpSection-d658f245.js +6 -0
  34. package/dist/{EpSelect-0bc80667.js → EpSelect-c508997b.js} +4 -3
  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 +35 -33
  97. package/dist/ep-lib-ts.umd.cjs +31 -35
  98. package/dist/{index-78ac7d74.js → index-a7b2a6d7.js} +3544 -3532
  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/BgAudio-820c0a39.js +0 -5
  117. package/dist/DisplayBox-05ba8755.js +0 -5
  118. package/dist/EpAlert-f32ad986.js +0 -5
  119. package/dist/EpAudio-80dbaf40.js +0 -5
  120. package/dist/EpBadge-cb67d4b1.js +0 -5
  121. package/dist/EpBarChart-710b4ff4.js +0 -5
  122. package/dist/EpBtn-5c939189.js +0 -5
  123. package/dist/EpCard-3c75fd57.js +0 -5
  124. package/dist/EpChip-75b64fd5.js +0 -5
  125. package/dist/EpContentSlider-5f4ed454.js +0 -5
  126. package/dist/EpDivider-05f71886.js +0 -5
  127. package/dist/EpEdu-b7e92524.js +0 -5
  128. package/dist/EpFlex-f7103829.js +0 -5
  129. package/dist/EpHeader-564a55a0.js +0 -5
  130. package/dist/EpIcon-5c184634.js +0 -5
  131. package/dist/EpIframe-e47cdf06.js +0 -5
  132. package/dist/EpImg-4ac885e3.js +0 -5
  133. package/dist/EpLineChart-468b3ed7.js +0 -5
  134. package/dist/EpLink-9f599e06.js +0 -5
  135. package/dist/EpLinkVersion-9a5026a6.js +0 -5
  136. package/dist/EpModal-8208c45a.js +0 -5
  137. package/dist/EpNothing-2c04e40e.js +0 -10
  138. package/dist/EpPieChart-0b7f0752.js +0 -5
  139. package/dist/EpQuestion-f5c0082f.js +0 -5
  140. package/dist/EpQuote-c51e2778.js +0 -5
  141. package/dist/EpRadio-edd52b6b.js +0 -5
  142. package/dist/EpReading-19d5e14b.js +0 -5
  143. package/dist/EpResource-d05a5a4a.js +0 -5
  144. package/dist/EpScope-e4c2d014.js +0 -5
  145. package/dist/EpSection-97392b3b.js +0 -5
  146. package/dist/EpSkeleton-9542d360.js +0 -10
  147. package/dist/EpSoftware-3c6dce6e.js +0 -5
  148. package/dist/EpSpinner-d47f52b4.js +0 -5
  149. package/dist/EpSvg-c08f08c7.js +0 -5
  150. package/dist/EpTable-15f79011.js +0 -5
  151. package/dist/EpTerm-892a5db3.js +0 -5
  152. package/dist/EpText-466d34a5.js +0 -5
  153. package/dist/EpTimeLine-7c0f2078.js +0 -5
  154. package/dist/EpVideo-ddedb1ac.js +0 -5
  155. package/dist/EpVideoPanopto-2d7bdf5f.js +0 -5
@@ -1,38 +1,37 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- iconPath: {
3
- type: import("vue").PropType<string | null>;
4
- default: null;
5
- };
6
- color: {
7
- type: import("vue").PropType<string>;
8
- default: string;
9
- };
10
- outlined: {
11
- type: import("vue").PropType<boolean>;
12
- };
13
- square: {
14
- type: import("vue").PropType<boolean>;
15
- default: boolean;
16
- };
17
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
- iconPath: {
19
- type: import("vue").PropType<string | null>;
20
- default: null;
21
- };
22
- color: {
23
- type: import("vue").PropType<string>;
24
- default: string;
25
- };
26
- outlined: {
27
- type: import("vue").PropType<boolean>;
28
- };
29
- square: {
30
- type: import("vue").PropType<boolean>;
31
- default: boolean;
32
- };
33
- }>>, {
34
- iconPath: string | null;
1
+ interface Props {
2
+ color?: string;
3
+ outlined?: boolean;
4
+ square?: boolean;
5
+ iconPath?: string | null;
6
+ }
7
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
+ color: string;
9
+ square: boolean;
10
+ iconPath: null;
11
+ }>, {}, 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>, {
35
12
  color: string;
36
13
  square: boolean;
14
+ iconPath: null;
15
+ }>>>, {
16
+ square: boolean;
17
+ color: string;
18
+ iconPath: string | null;
37
19
  }, {}>;
38
20
  export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToRuntimeProps<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
30
+ type __VLS_WithDefaults<P, D> = {
31
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
+ default: D[K];
33
+ }> : P[K];
34
+ };
35
+ type __VLS_Prettify<T> = {
36
+ [K in keyof T]: T[K];
37
+ } & {};
@@ -1,106 +1,66 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- text: {
3
- type: import("vue").PropType<boolean>;
4
- default: boolean;
5
- };
6
- type: {
7
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
8
- default: string;
9
- };
10
- size: {
11
- type: import("vue").PropType<"small" | "medium" | "large">;
12
- default: string;
13
- };
14
- extraClass: {
15
- type: import("vue").PropType<string | null>;
16
- default: null;
17
- };
18
- color: {
19
- type: import("vue").PropType<string>;
20
- default: string;
21
- };
22
- outlined: {
23
- type: import("vue").PropType<boolean>;
24
- };
25
- disabled: {
26
- type: import("vue").PropType<boolean>;
27
- };
28
- block: {
29
- type: import("vue").PropType<boolean>;
30
- };
31
- rounded: {
32
- type: import("vue").PropType<boolean>;
33
- default: boolean;
34
- };
35
- appendIcon: {
36
- type: import("vue").PropType<string | null>;
37
- default: null;
38
- };
39
- prependIcon: {
40
- type: import("vue").PropType<string | null>;
41
- default: null;
42
- };
43
- href: {
44
- type: import("vue").PropType<string>;
45
- };
46
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
- text: {
48
- type: import("vue").PropType<boolean>;
49
- default: boolean;
50
- };
51
- type: {
52
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
53
- default: string;
54
- };
55
- size: {
56
- type: import("vue").PropType<"small" | "medium" | "large">;
57
- default: string;
58
- };
59
- extraClass: {
60
- type: import("vue").PropType<string | null>;
61
- default: null;
62
- };
63
- color: {
64
- type: import("vue").PropType<string>;
65
- default: string;
66
- };
67
- outlined: {
68
- type: import("vue").PropType<boolean>;
69
- };
70
- disabled: {
71
- type: import("vue").PropType<boolean>;
72
- };
73
- block: {
74
- type: import("vue").PropType<boolean>;
75
- };
76
- rounded: {
77
- type: import("vue").PropType<boolean>;
78
- default: boolean;
79
- };
80
- appendIcon: {
81
- type: import("vue").PropType<string | null>;
82
- default: null;
83
- };
84
- prependIcon: {
85
- type: import("vue").PropType<string | null>;
86
- default: null;
87
- };
88
- href: {
89
- type: import("vue").PropType<string>;
90
- };
91
- }>>, {
1
+ import { ButtonBgVariant, ButtonSize } from "../../types/Btn";
2
+ interface Props {
3
+ type?: ButtonBgVariant;
4
+ disabled?: boolean;
5
+ block?: boolean;
6
+ rounded?: boolean;
7
+ size?: ButtonSize;
8
+ appendIcon?: string | null;
9
+ prependIcon?: string | null;
10
+ outlined?: boolean;
11
+ text?: boolean;
12
+ color?: string;
13
+ extraClass?: string | null;
14
+ href?: string;
15
+ }
16
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
17
+ type: string;
18
+ rounded: boolean;
19
+ size: string;
20
+ appendIcon: null;
21
+ prependIcon: null;
92
22
  text: boolean;
93
- type: "base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error";
94
- size: "small" | "medium" | "large";
95
- extraClass: string | null;
23
+ extraClass: null;
24
+ color: string;
25
+ }>, {}, 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>, {
26
+ type: string;
27
+ rounded: boolean;
28
+ size: string;
29
+ appendIcon: null;
30
+ prependIcon: null;
31
+ text: boolean;
32
+ extraClass: null;
96
33
  color: string;
34
+ }>>>, {
35
+ text: boolean;
36
+ type: "base" | "primary" | "secondary" | "accent" | "error" | "warning" | "success" | "info";
97
37
  rounded: boolean;
38
+ color: string;
39
+ size: "small" | "medium" | "large";
40
+ extraClass: string | null;
98
41
  appendIcon: string | null;
99
42
  prependIcon: string | null;
100
43
  }, {}>, {
101
44
  default?(_: {}): any;
102
45
  }>;
103
46
  export default _default;
47
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
+ type __VLS_TypePropsToRuntimeProps<T> = {
49
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
50
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
51
+ } : {
52
+ type: import('vue').PropType<T[K]>;
53
+ required: true;
54
+ };
55
+ };
56
+ type __VLS_WithDefaults<P, D> = {
57
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
58
+ default: D[K];
59
+ }> : P[K];
60
+ };
61
+ type __VLS_Prettify<T> = {
62
+ [K in keyof T]: T[K];
63
+ } & {};
104
64
  type __VLS_WithTemplateSlots<T, S> = T & {
105
65
  new (): {
106
66
  $slots: S;
@@ -1,85 +1,43 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- flat: {
3
- type: import("vue").PropType<boolean>;
4
- default: boolean;
5
- };
6
- title: {
7
- type: import("vue").PropType<string | null>;
8
- default: null;
9
- };
10
- color: {
11
- type: import("vue").PropType<string | null>;
12
- default: null;
13
- };
14
- outlined: {
15
- type: import("vue").PropType<boolean>;
16
- default: boolean;
17
- };
18
- subtitle: {
19
- type: import("vue").PropType<string | null>;
20
- default: null;
21
- };
22
- icon: {
23
- type: import("vue").PropType<string | null>;
24
- default: null;
25
- };
26
- src: {
27
- type: import("vue").PropType<string | null>;
28
- default: null;
29
- };
30
- maxWidth: {
31
- type: import("vue").PropType<string>;
32
- default: string;
33
- };
34
- density: {
35
- type: import("vue").PropType<"default" | "compact" | "comfortable">;
36
- default: string;
37
- };
38
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
39
- flat: {
40
- type: import("vue").PropType<boolean>;
41
- default: boolean;
42
- };
43
- title: {
44
- type: import("vue").PropType<string | null>;
45
- default: null;
46
- };
47
- color: {
48
- type: import("vue").PropType<string | null>;
49
- default: null;
50
- };
51
- outlined: {
52
- type: import("vue").PropType<boolean>;
53
- default: boolean;
54
- };
55
- subtitle: {
56
- type: import("vue").PropType<string | null>;
57
- default: null;
58
- };
59
- icon: {
60
- type: import("vue").PropType<string | null>;
61
- default: null;
62
- };
63
- src: {
64
- type: import("vue").PropType<string | null>;
65
- default: null;
66
- };
67
- maxWidth: {
68
- type: import("vue").PropType<string>;
69
- default: string;
70
- };
71
- density: {
72
- type: import("vue").PropType<"default" | "compact" | "comfortable">;
73
- default: string;
74
- };
75
- }>>, {
1
+ import { Density } from "../../types/Card";
2
+ interface Props {
3
+ title?: string | null;
4
+ subtitle?: string | null;
5
+ outlined?: boolean;
6
+ flat?: boolean;
7
+ icon?: string | null;
8
+ color?: string | null;
9
+ src?: string | null;
10
+ maxWidth?: string;
11
+ density?: Density;
12
+ }
13
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
+ title: null;
15
+ subtitle: null;
16
+ outlined: boolean;
17
+ flat: boolean;
18
+ icon: null;
19
+ color: null;
20
+ src: null;
21
+ density: string;
22
+ maxWidth: string;
23
+ }>, {}, 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>, {
24
+ title: null;
25
+ subtitle: null;
26
+ outlined: boolean;
27
+ flat: boolean;
28
+ icon: null;
29
+ color: null;
30
+ src: null;
31
+ density: string;
32
+ maxWidth: string;
33
+ }>>>, {
76
34
  flat: boolean;
77
35
  title: string | null;
36
+ src: string | null;
78
37
  color: string | null;
79
38
  outlined: boolean;
80
39
  subtitle: string | null;
81
40
  icon: string | null;
82
- src: string | null;
83
41
  maxWidth: string;
84
42
  density: "default" | "compact" | "comfortable";
85
43
  }, {}>, {
@@ -88,6 +46,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
88
46
  "card-actions"?(_: {}): any;
89
47
  }>;
90
48
  export default _default;
49
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
50
+ type __VLS_TypePropsToRuntimeProps<T> = {
51
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
52
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
53
+ } : {
54
+ type: import('vue').PropType<T[K]>;
55
+ required: true;
56
+ };
57
+ };
58
+ type __VLS_WithDefaults<P, D> = {
59
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
60
+ default: D[K];
61
+ }> : P[K];
62
+ };
63
+ type __VLS_Prettify<T> = {
64
+ [K in keyof T]: T[K];
65
+ } & {};
91
66
  type __VLS_WithTemplateSlots<T, S> = T & {
92
67
  new (): {
93
68
  $slots: S;
@@ -1,63 +1,31 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- type: {
3
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
4
- default: string;
5
- };
6
- size: {
7
- type: import("vue").PropType<"small" | "medium" | "large">;
8
- default: string;
9
- };
10
- outlined: {
11
- type: import("vue").PropType<boolean>;
12
- };
13
- square: {
14
- type: import("vue").PropType<boolean>;
15
- default: boolean;
16
- };
17
- appendIcon: {
18
- type: import("vue").PropType<string | null>;
19
- default: null;
20
- };
21
- prependIcon: {
22
- type: import("vue").PropType<string | null>;
23
- default: null;
24
- };
25
- dark: {
26
- type: import("vue").PropType<boolean>;
27
- default: boolean;
28
- };
29
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
- type: {
31
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
32
- default: string;
33
- };
34
- size: {
35
- type: import("vue").PropType<"small" | "medium" | "large">;
36
- default: string;
37
- };
38
- outlined: {
39
- type: import("vue").PropType<boolean>;
40
- };
41
- square: {
42
- type: import("vue").PropType<boolean>;
43
- default: boolean;
44
- };
45
- appendIcon: {
46
- type: import("vue").PropType<string | null>;
47
- default: null;
48
- };
49
- prependIcon: {
50
- type: import("vue").PropType<string | null>;
51
- default: null;
52
- };
53
- dark: {
54
- type: import("vue").PropType<boolean>;
55
- default: boolean;
56
- };
57
- }>>, {
58
- type: "base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error";
59
- size: "small" | "medium" | "large";
1
+ import { ChipBgVariant, ChipSize } from '../../types/Chip';
2
+ interface Props {
3
+ type?: ChipBgVariant;
4
+ size?: ChipSize;
5
+ outlined?: boolean;
6
+ appendIcon?: string | null;
7
+ prependIcon?: string | null;
8
+ square?: boolean;
9
+ dark?: boolean;
10
+ }
11
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
+ type: string;
13
+ size: string;
60
14
  square: boolean;
15
+ appendIcon: null;
16
+ prependIcon: null;
17
+ dark: boolean;
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
+ type: string;
20
+ size: string;
21
+ square: boolean;
22
+ appendIcon: null;
23
+ prependIcon: null;
24
+ dark: boolean;
25
+ }>>>, {
26
+ type: "base" | "primary" | "secondary" | "accent" | "error" | "warning" | "success" | "info";
27
+ square: boolean;
28
+ size: "small" | "medium" | "large";
61
29
  appendIcon: string | null;
62
30
  prependIcon: string | null;
63
31
  dark: boolean;
@@ -65,6 +33,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
65
33
  default?(_: {}): any;
66
34
  }>;
67
35
  export default _default;
36
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
+ type __VLS_TypePropsToRuntimeProps<T> = {
38
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
39
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
40
+ } : {
41
+ type: import('vue').PropType<T[K]>;
42
+ required: true;
43
+ };
44
+ };
45
+ type __VLS_WithDefaults<P, D> = {
46
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
47
+ default: D[K];
48
+ }> : P[K];
49
+ };
50
+ type __VLS_Prettify<T> = {
51
+ [K in keyof T]: T[K];
52
+ } & {};
68
53
  type __VLS_WithTemplateSlots<T, S> = T & {
69
54
  new (): {
70
55
  $slots: S;
@@ -1,51 +1,45 @@
1
1
  import type Border from '../../types/Border';
2
- declare const _default: import("vue").DefineComponent<{
3
- size: {
4
- type: import("vue").PropType<Border>;
5
- default: string;
6
- };
7
- color: {
8
- type: import("vue").PropType<string | null>;
9
- default: null;
10
- };
11
- icon: {
12
- type: import("vue").PropType<string | null>;
13
- default: null;
14
- };
15
- inset: {
16
- type: import("vue").PropType<boolean>;
17
- default: boolean;
18
- };
19
- margin: {
20
- type: import("vue").PropType<string>;
21
- default: string;
22
- };
23
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
24
- size: {
25
- type: import("vue").PropType<Border>;
26
- default: string;
27
- };
28
- color: {
29
- type: import("vue").PropType<string | null>;
30
- default: null;
31
- };
32
- icon: {
33
- type: import("vue").PropType<string | null>;
34
- default: null;
35
- };
36
- inset: {
37
- type: import("vue").PropType<boolean>;
38
- default: boolean;
39
- };
40
- margin: {
41
- type: import("vue").PropType<string>;
42
- default: string;
43
- };
44
- }>>, {
45
- size: Border;
2
+ interface Props {
3
+ color?: string | null;
4
+ size?: Border;
5
+ inset?: boolean;
6
+ icon?: string | null;
7
+ margin?: string;
8
+ }
9
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
10
+ color: null;
11
+ size: string;
12
+ inset: boolean;
13
+ icon: null;
14
+ margin: string;
15
+ }>, {}, 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>, {
16
+ color: null;
17
+ size: string;
18
+ inset: boolean;
19
+ icon: null;
20
+ margin: string;
21
+ }>>>, {
46
22
  color: string | null;
23
+ size: Border;
47
24
  icon: string | null;
48
25
  inset: boolean;
49
26
  margin: string;
50
27
  }, {}>;
51
28
  export default _default;
29
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
+ type __VLS_TypePropsToRuntimeProps<T> = {
31
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
32
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
+ } : {
34
+ type: import('vue').PropType<T[K]>;
35
+ required: true;
36
+ };
37
+ };
38
+ type __VLS_WithDefaults<P, D> = {
39
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
+ default: D[K];
41
+ }> : P[K];
42
+ };
43
+ type __VLS_Prettify<T> = {
44
+ [K in keyof T]: T[K];
45
+ } & {};
@@ -1,37 +1,34 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- size: {
3
- type: import("vue").PropType<string | number>;
4
- default: number;
5
- };
6
- viewBox: {
7
- type: import("vue").PropType<string>;
8
- default: string;
9
- };
10
- iconPath: {
11
- type: import("vue").PropType<string>;
12
- required: true;
13
- };
14
- extraClass: {
15
- type: import("vue").PropType<string>;
16
- };
17
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
- size: {
19
- type: import("vue").PropType<string | number>;
20
- default: number;
21
- };
22
- viewBox: {
23
- type: import("vue").PropType<string>;
24
- default: string;
25
- };
26
- iconPath: {
27
- type: import("vue").PropType<string>;
28
- required: true;
29
- };
30
- extraClass: {
31
- type: import("vue").PropType<string>;
32
- };
33
- }>>, {
1
+ interface Props {
2
+ size?: string | number;
3
+ viewBox?: string;
4
+ iconPath: string;
5
+ extraClass?: string;
6
+ }
7
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
+ size: number;
9
+ viewBox: string;
10
+ }>, {}, 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>, {
11
+ size: number;
12
+ viewBox: string;
13
+ }>>>, {
34
14
  size: string | number;
35
15
  viewBox: string;
36
16
  }, {}>;
37
17
  export default _default;
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToRuntimeProps<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
27
+ type __VLS_WithDefaults<P, D> = {
28
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
+ default: D[K];
30
+ }> : P[K];
31
+ };
32
+ type __VLS_Prettify<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};