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,3 +1,4 @@
1
+ import { MediaVariants } from "../../types/Medias";
1
2
  interface TitlePie {
2
3
  text: string;
3
4
  align?: string;
@@ -10,72 +11,42 @@ interface OptionsPieChart {
10
11
  title: TitlePie;
11
12
  labels: string[];
12
13
  }
13
- declare const _default: import("vue").DefineComponent<{
14
- source: {
15
- type: import("vue").PropType<string>;
16
- };
17
- type: {
18
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
19
- default: string;
20
- };
21
- center: {
22
- type: import("vue").PropType<boolean>;
23
- default: boolean;
24
- };
25
- mandateLevel: {
26
- type: import("vue").PropType<string | null>;
27
- };
28
- intentions: {
29
- type: import("vue").PropType<string>;
30
- };
31
- hideIcon: {
32
- type: import("vue").PropType<boolean>;
33
- };
34
- series: {
35
- type: import("vue").PropType<number[]>;
36
- required: true;
37
- };
38
- options: {
39
- type: import("vue").PropType<OptionsPieChart>;
40
- required: true;
41
- };
42
- id: {
43
- type: import("vue").PropType<string>;
44
- };
45
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
46
- source: {
47
- type: import("vue").PropType<string>;
48
- };
49
- type: {
50
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
51
- default: string;
52
- };
53
- center: {
54
- type: import("vue").PropType<boolean>;
55
- default: boolean;
56
- };
57
- mandateLevel: {
58
- type: import("vue").PropType<string | null>;
59
- };
60
- intentions: {
61
- type: import("vue").PropType<string>;
62
- };
63
- hideIcon: {
64
- type: import("vue").PropType<boolean>;
65
- };
66
- series: {
67
- type: import("vue").PropType<number[]>;
68
- required: true;
69
- };
70
- options: {
71
- type: import("vue").PropType<OptionsPieChart>;
72
- required: true;
73
- };
74
- id: {
75
- type: import("vue").PropType<string>;
76
- };
77
- }>>, {
78
- type: "base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error";
14
+ interface Props {
15
+ series: number[];
16
+ options: OptionsPieChart;
17
+ id?: string;
18
+ center?: boolean;
19
+ intentions?: string;
20
+ hideIcon?: boolean;
21
+ type?: MediaVariants;
22
+ mandateLevel?: string | null;
23
+ source?: string;
24
+ }
25
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
26
+ center: boolean;
27
+ type: string;
28
+ }>, {}, 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>, {
29
+ center: boolean;
30
+ type: string;
31
+ }>>>, {
32
+ type: "base" | "primary" | "secondary" | "accent" | "error" | "warning" | "success" | "info";
79
33
  center: boolean;
80
34
  }, {}>;
81
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
+ } & {};
@@ -1,72 +1,30 @@
1
+ import { MediaVariants } from "../../types/Medias";
1
2
  import { MandateLevel } from "../../types/MandateLevel";
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
- flat: {
4
- type: import("vue").PropType<boolean>;
5
- default: boolean;
6
- };
7
- title: {
8
- type: import("vue").PropType<string | null>;
9
- default: null;
10
- };
11
- type: {
12
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
13
- default: string;
14
- };
15
- subtitle: {
16
- type: import("vue").PropType<string | null>;
17
- };
18
- icon: {
19
- type: import("vue").PropType<string>;
20
- };
21
- synchrone: {
22
- type: import("vue").PropType<boolean>;
23
- };
24
- mandateLevel: {
25
- type: import("vue").PropType<string | MandateLevel | null>;
26
- };
27
- intentions: {
28
- type: import("vue").PropType<string>;
29
- };
30
- hideIcon: {
31
- type: import("vue").PropType<boolean>;
32
- default: boolean;
33
- };
34
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
- flat: {
36
- type: import("vue").PropType<boolean>;
37
- default: boolean;
38
- };
39
- title: {
40
- type: import("vue").PropType<string | null>;
41
- default: null;
42
- };
43
- type: {
44
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
45
- default: string;
46
- };
47
- subtitle: {
48
- type: import("vue").PropType<string | null>;
49
- };
50
- icon: {
51
- type: import("vue").PropType<string>;
52
- };
53
- synchrone: {
54
- type: import("vue").PropType<boolean>;
55
- };
56
- mandateLevel: {
57
- type: import("vue").PropType<string | MandateLevel | null>;
58
- };
59
- intentions: {
60
- type: import("vue").PropType<string>;
61
- };
62
- hideIcon: {
63
- type: import("vue").PropType<boolean>;
64
- default: boolean;
65
- };
66
- }>>, {
3
+ interface Props {
4
+ title?: string | null;
5
+ subtitle?: string | null;
6
+ icon?: string;
7
+ mandateLevel?: string | MandateLevel | null;
8
+ synchrone?: boolean;
9
+ type?: MediaVariants;
10
+ intentions?: string;
11
+ hideIcon?: boolean;
12
+ flat?: boolean;
13
+ }
14
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
15
+ title: null;
16
+ type: string;
17
+ hideIcon: boolean;
18
+ flat: boolean;
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
+ title: null;
21
+ type: string;
22
+ hideIcon: boolean;
23
+ flat: boolean;
24
+ }>>>, {
67
25
  flat: boolean;
68
26
  title: string | null;
69
- type: "base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error";
27
+ type: "base" | "primary" | "secondary" | "accent" | "error" | "warning" | "success" | "info";
70
28
  hideIcon: boolean;
71
29
  }, {}>, {
72
30
  intentions?(_: {}): any;
@@ -74,6 +32,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
74
32
  actions?(_: {}): any;
75
33
  }>;
76
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
+ } & {};
77
52
  type __VLS_WithTemplateSlots<T, S> = T & {
78
53
  new (): {
79
54
  $slots: S;
@@ -1,145 +1,53 @@
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 | null>;
5
- required: true;
6
- default: null;
7
- };
8
- type: {
9
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
10
- default: string;
11
- };
12
- compact: {
13
- type: import("vue").PropType<boolean>;
14
- default: boolean;
15
- };
16
- mandateLevel: {
17
- type: import("vue").PropType<string | MandateLevel | null>;
18
- };
19
- intentions: {
20
- type: import("vue").PropType<string>;
21
- default: string;
22
- };
23
- hideIcon: {
24
- type: import("vue").PropType<boolean>;
25
- default: boolean;
26
- };
27
- url: {
28
- type: import("vue").PropType<string>;
29
- };
30
- year: {
31
- type: import("vue").PropType<string>;
32
- };
33
- author: {
34
- type: import("vue").PropType<string>;
35
- };
36
- cover: {
37
- type: import("vue").PropType<string>;
38
- default: string;
39
- };
40
- container: {
41
- type: import("vue").PropType<string>;
42
- };
43
- editor: {
44
- type: import("vue").PropType<string>;
45
- };
46
- pages: {
47
- type: import("vue").PropType<string | string[]>;
48
- };
49
- more: {
50
- type: import("vue").PropType<boolean>;
51
- };
52
- version_link: {
53
- type: import("vue").PropType<null>;
54
- };
55
- hideCover: {
56
- type: import("vue").PropType<boolean>;
57
- default: boolean;
58
- };
59
- labelcard: {
60
- type: import("vue").PropType<string>;
61
- default: string;
62
- };
63
- labelBtb: {
64
- type: import("vue").PropType<string>;
65
- default: string;
66
- };
67
- labelIntentions: {
68
- type: import("vue").PropType<string>;
69
- default: string;
70
- };
71
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
72
- title: {
73
- type: import("vue").PropType<string | null>;
74
- required: true;
75
- default: null;
76
- };
77
- type: {
78
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
79
- default: string;
80
- };
81
- compact: {
82
- type: import("vue").PropType<boolean>;
83
- default: boolean;
84
- };
85
- mandateLevel: {
86
- type: import("vue").PropType<string | MandateLevel | null>;
87
- };
88
- intentions: {
89
- type: import("vue").PropType<string>;
90
- default: string;
91
- };
92
- hideIcon: {
93
- type: import("vue").PropType<boolean>;
94
- default: boolean;
95
- };
96
- url: {
97
- type: import("vue").PropType<string>;
98
- };
99
- year: {
100
- type: import("vue").PropType<string>;
101
- };
102
- author: {
103
- type: import("vue").PropType<string>;
104
- };
105
- cover: {
106
- type: import("vue").PropType<string>;
107
- default: string;
108
- };
109
- container: {
110
- type: import("vue").PropType<string>;
111
- };
112
- editor: {
113
- type: import("vue").PropType<string>;
114
- };
115
- pages: {
116
- type: import("vue").PropType<string | string[]>;
117
- };
118
- more: {
119
- type: import("vue").PropType<boolean>;
120
- };
121
- version_link: {
122
- type: import("vue").PropType<null>;
123
- };
124
- hideCover: {
125
- type: import("vue").PropType<boolean>;
126
- default: boolean;
127
- };
128
- labelcard: {
129
- type: import("vue").PropType<string>;
130
- default: string;
131
- };
132
- labelBtb: {
133
- type: import("vue").PropType<string>;
134
- default: string;
135
- };
136
- labelIntentions: {
137
- type: import("vue").PropType<string>;
138
- default: string;
139
- };
140
- }>>, {
3
+ interface Props {
4
+ url?: string;
5
+ year?: string;
6
+ author?: string;
7
+ cover?: string;
141
8
  title: string | null;
142
- type: "base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error";
9
+ container?: string;
10
+ editor?: string;
11
+ pages?: string | string[];
12
+ mandateLevel?: string | MandateLevel | null;
13
+ intentions?: string;
14
+ compact?: boolean;
15
+ more?: boolean;
16
+ version_link?: null;
17
+ hideCover?: boolean;
18
+ labelcard?: string;
19
+ labelBtb?: string;
20
+ labelIntentions?: string;
21
+ type?: MediaVariants;
22
+ hideIcon?: boolean;
23
+ }
24
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
25
+ title: null;
26
+ cover: string;
27
+ icon: string;
28
+ hideCover: boolean;
29
+ labelcard: string;
30
+ labelBtb: string;
31
+ labelIntentions: string;
32
+ intentions: string;
33
+ compact: boolean;
34
+ type: string;
35
+ hideIcon: boolean;
36
+ }>, {}, 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>, {
37
+ title: null;
38
+ cover: string;
39
+ icon: string;
40
+ hideCover: boolean;
41
+ labelcard: string;
42
+ labelBtb: string;
43
+ labelIntentions: string;
44
+ intentions: string;
45
+ compact: boolean;
46
+ type: string;
47
+ hideIcon: boolean;
48
+ }>>>, {
49
+ title: string | null;
50
+ type: "base" | "primary" | "secondary" | "accent" | "error" | "warning" | "success" | "info";
143
51
  compact: boolean;
144
52
  intentions: string;
145
53
  hideIcon: boolean;
@@ -150,3 +58,20 @@ declare const _default: import("vue").DefineComponent<{
150
58
  labelIntentions: string;
151
59
  }, {}>;
152
60
  export default _default;
61
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
62
+ type __VLS_TypePropsToRuntimeProps<T> = {
63
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
64
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
65
+ } : {
66
+ type: import('vue').PropType<T[K]>;
67
+ required: true;
68
+ };
69
+ };
70
+ type __VLS_WithDefaults<P, D> = {
71
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
72
+ default: D[K];
73
+ }> : P[K];
74
+ };
75
+ type __VLS_Prettify<T> = {
76
+ [K in keyof T]: T[K];
77
+ } & {};
@@ -1,35 +1,33 @@
1
1
  import { MandateLevel } from '../../types/MandateLevel';
2
- declare const _default: import("vue").DefineComponent<{
3
- type: {
4
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
5
- default: string;
6
- };
7
- mandateLevel: {
8
- type: import("vue").PropType<string | MandateLevel | null>;
9
- };
10
- pages: {
11
- type: import("vue").PropType<string>;
12
- };
13
- resource: {
14
- type: import("vue").PropType<any>;
15
- required: true;
16
- };
17
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
- type: {
19
- type: import("vue").PropType<"base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error">;
20
- default: string;
21
- };
22
- mandateLevel: {
23
- type: import("vue").PropType<string | MandateLevel | null>;
24
- };
25
- pages: {
26
- type: import("vue").PropType<string>;
27
- };
28
- resource: {
29
- type: import("vue").PropType<any>;
30
- required: true;
31
- };
32
- }>>, {
33
- type: "base" | "primary" | "secondary" | "accent" | "info" | "warning" | "success" | "error";
2
+ import { MediaVariants } from "../../types/Medias";
3
+ interface Props {
4
+ pages?: string;
5
+ resource: any;
6
+ mandateLevel?: string | MandateLevel | null;
7
+ type?: MediaVariants;
8
+ }
9
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
10
+ type: string;
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>, {
12
+ type: string;
13
+ }>>>, {
14
+ type: "base" | "primary" | "secondary" | "accent" | "error" | "warning" | "success" | "info";
34
15
  }, {}>;
35
16
  export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToRuntimeProps<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
26
+ type __VLS_WithDefaults<P, D> = {
27
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
28
+ default: D[K];
29
+ }> : P[K];
30
+ };
31
+ type __VLS_Prettify<T> = {
32
+ [K in keyof T]: T[K];
33
+ } & {};
@@ -1,23 +1,32 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- title: {
3
- type: import("vue").PropType<string>;
4
- default: string;
5
- };
6
- type: {
7
- type: import("vue").PropType<string>;
8
- default: string;
9
- };
10
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
- title: {
12
- type: import("vue").PropType<string>;
13
- default: string;
14
- };
15
- type: {
16
- type: import("vue").PropType<string>;
17
- default: string;
18
- };
19
- }>>, {
1
+ interface Props {
2
+ title?: string;
3
+ type?: string;
4
+ }
5
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
6
+ title: string;
7
+ type: string;
8
+ }>, {}, 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>, {
9
+ title: string;
10
+ type: string;
11
+ }>>>, {
20
12
  title: string;
21
13
  type: string;
22
14
  }, {}>;
23
15
  export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToRuntimeProps<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ type __VLS_WithDefaults<P, D> = {
26
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
+ default: D[K];
28
+ }> : P[K];
29
+ };
30
+ type __VLS_Prettify<T> = {
31
+ [K in keyof T]: T[K];
32
+ } & {};
@@ -1,64 +1,31 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- label: {
3
- type: import("vue").PropType<string>;
4
- default: string;
5
- };
6
- type: {
7
- type: import("vue").PropType<"checkbox" | "radio">;
8
- default: string;
9
- };
10
- disabled: {
11
- type: import("vue").PropType<boolean>;
12
- default: boolean;
13
- };
14
- modelValue: {
15
- type: import("vue").PropType<string>;
16
- default: string;
17
- };
18
- id: {
19
- type: import("vue").PropType<string>;
20
- default: string;
21
- };
22
- readonly: {
23
- type: import("vue").PropType<boolean>;
24
- default: boolean;
25
- };
26
- checked: {
27
- type: import("vue").PropType<boolean>;
28
- default: boolean;
29
- };
30
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ interface Props {
2
+ id?: string;
3
+ label?: string;
4
+ modelValue?: string;
5
+ type?: "checkbox" | "radio";
6
+ disabled?: boolean;
7
+ readonly?: boolean;
8
+ checked?: boolean;
9
+ }
10
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
+ id: string;
12
+ label: string;
13
+ modelValue: string;
14
+ type: string;
15
+ disabled: boolean;
16
+ readonly: boolean;
17
+ checked: boolean;
18
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
19
  "update:modelValue": (modelValue: string) => void;
32
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
- label: {
34
- type: import("vue").PropType<string>;
35
- default: string;
36
- };
37
- type: {
38
- type: import("vue").PropType<"checkbox" | "radio">;
39
- default: string;
40
- };
41
- disabled: {
42
- type: import("vue").PropType<boolean>;
43
- default: boolean;
44
- };
45
- modelValue: {
46
- type: import("vue").PropType<string>;
47
- default: string;
48
- };
49
- id: {
50
- type: import("vue").PropType<string>;
51
- default: string;
52
- };
53
- readonly: {
54
- type: import("vue").PropType<boolean>;
55
- default: boolean;
56
- };
57
- checked: {
58
- type: import("vue").PropType<boolean>;
59
- default: boolean;
60
- };
61
- }>> & {
20
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
21
+ id: string;
22
+ label: string;
23
+ modelValue: string;
24
+ type: string;
25
+ disabled: boolean;
26
+ readonly: boolean;
27
+ checked: boolean;
28
+ }>>> & {
62
29
  "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
63
30
  }, {
64
31
  label: string;
@@ -70,3 +37,20 @@ declare const _default: import("vue").DefineComponent<{
70
37
  checked: boolean;
71
38
  }, {}>;
72
39
  export default _default;
40
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
41
+ type __VLS_TypePropsToRuntimeProps<T> = {
42
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
43
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
44
+ } : {
45
+ type: import('vue').PropType<T[K]>;
46
+ required: true;
47
+ };
48
+ };
49
+ type __VLS_WithDefaults<P, D> = {
50
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
51
+ default: D[K];
52
+ }> : P[K];
53
+ };
54
+ type __VLS_Prettify<T> = {
55
+ [K in keyof T]: T[K];
56
+ } & {};