ep-lib-ts 1.0.0 → 1.0.1

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 (162) hide show
  1. package/.vscode/extensions.json +3 -0
  2. package/LICENSE +21 -0
  3. package/dist/BgAudio-C8bS54bl.js +4 -0
  4. package/dist/DisplayBox-BTPVW9_v.js +4 -0
  5. package/dist/EpAlert-Daji8LsR.js +4 -0
  6. package/dist/EpAudio-Dq7twl4x.js +4 -0
  7. package/dist/EpAvatar-Dmpg0PFj.js +50 -0
  8. package/dist/EpBadge-DBfMe1r_.js +4 -0
  9. package/dist/EpBadge-DqmSNdbi.js +55 -0
  10. package/dist/EpBarChart-cAlm0rKf.js +4 -0
  11. package/dist/EpBtn-S2VJnt--.js +4 -0
  12. package/dist/EpCard-SvaBmdDK.js +4 -0
  13. package/dist/EpCheckbox-BtJRFbS_.js +41 -0
  14. package/dist/EpChip-Chn_9bRP.js +4 -0
  15. package/dist/EpCodeblock-DVX2XFFj.js +1477 -0
  16. package/dist/EpContentSlider-Ds2GlrkO.js +4 -0
  17. package/dist/EpDarkmode--_9Qi6HH.js +19 -0
  18. package/dist/EpDivider-Bj4Zya_F.js +4 -0
  19. package/dist/EpEdu-Y7Lkf3Ew.js +4 -0
  20. package/dist/EpFlex-5yWhvYX7.js +4 -0
  21. package/dist/EpHeader-CEQBk1ah.js +4 -0
  22. package/dist/EpHotsPot-NGjKJCc8.js +56 -0
  23. package/dist/EpHover-BL7JsbVZ.js +31 -0
  24. package/dist/EpIcon-CuhZ90Zx.js +4 -0
  25. package/dist/EpIframe-DbPnkezB.js +4 -0
  26. package/dist/EpImg-DJ9gNwhJ.js +4 -0
  27. package/dist/EpInput-DMIxjwBM.js +1177 -0
  28. package/dist/EpLineChart-ALvSFQ-w.js +4 -0
  29. package/dist/EpLink-CQSfQHRj.js +4 -0
  30. package/dist/EpLinkVersion-VIxCHjDt.js +4 -0
  31. package/dist/EpList-BkH08ROd.js +12 -0
  32. package/dist/EpListitem-DzQrc-k2.js +37 -0
  33. package/dist/EpModal-CYy1Iu1T.js +4 -0
  34. package/dist/EpNothing-IEAPsIPI.js +10 -0
  35. package/dist/EpPieChart-Cpxylmzw.js +4 -0
  36. package/dist/EpQuestion-gFjB_YVU.js +4 -0
  37. package/dist/EpQuote-C2WMKC8z.js +4 -0
  38. package/dist/EpRadio-CZu2BYd-.js +4 -0
  39. package/dist/EpRadioSummative-POEEv1YI.js +4 -0
  40. package/dist/EpReading-6LKvPJl5.js +4 -0
  41. package/dist/EpResource-Bqu38I44.js +4 -0
  42. package/dist/EpScope-B04S9t4O.js +4 -0
  43. package/dist/EpSection-B9obOS7v.js +4 -0
  44. package/dist/EpSelect-DLGx5g-U.js +31 -0
  45. package/dist/EpSkeleton-rkvPpE2y.js +4 -0
  46. package/dist/EpSoftware-DmH-rUDN.js +4 -0
  47. package/dist/EpSpinner-7XiNy9LV.js +4 -0
  48. package/dist/EpSummativeTable-JWOA25gE.js +4 -0
  49. package/dist/EpSvg-Dfvodejy.js +4 -0
  50. package/dist/EpSwitch-C7NMjBk9.js +64 -0
  51. package/dist/EpTable-C0lD6aED.js +4 -0
  52. package/dist/EpTerm-XGV0Zf2w.js +4 -0
  53. package/dist/EpText-DhHXfEHv.js +4 -0
  54. package/dist/EpTextarea-DyMM95ER.js +41 -0
  55. package/dist/EpTimeLine-CDL7liGh.js +4 -0
  56. package/dist/EpToggle-CfXYpI1b.js +44 -0
  57. package/dist/EpTooltip-B4s0_PvZ.js +99 -0
  58. package/dist/EpVideo-em0qb_rk.js +4 -0
  59. package/dist/EpVideoPanopto-DAMRV6HD.js +4 -0
  60. package/dist/EpWordDef-bLyQzqx8.js +4 -0
  61. package/dist/components/basics/EpAvatar.vue.d.ts +51 -0
  62. package/dist/components/basics/EpBadge.vue.d.ts +37 -0
  63. package/dist/components/basics/EpBtn.vue.d.ts +69 -0
  64. package/dist/components/basics/EpCard.vue.d.ts +71 -0
  65. package/dist/components/basics/EpChip.vue.d.ts +58 -0
  66. package/dist/components/basics/EpDivider.vue.d.ts +46 -0
  67. package/dist/components/basics/EpFlex.vue.d.ts +9 -0
  68. package/dist/components/basics/EpHover.vue.d.ts +49 -0
  69. package/dist/components/basics/EpIcon.vue.d.ts +34 -0
  70. package/dist/components/basics/EpImg.vue.d.ts +52 -0
  71. package/dist/components/basics/EpList.vue.d.ts +9 -0
  72. package/dist/components/basics/EpListitem.vue.d.ts +43 -0
  73. package/dist/components/basics/EpSection.vue.d.ts +50 -0
  74. package/dist/components/basics/EpSpinner.vue.d.ts +40 -0
  75. package/dist/components/basics/EpTable.vue.d.ts +24 -0
  76. package/dist/components/basics/EpText.vue.d.ts +31 -0
  77. package/dist/components/charts/EpBarChart.vue.d.ts +54 -0
  78. package/dist/components/charts/EpLineChart.vue.d.ts +54 -0
  79. package/dist/components/charts/EpPieChart.vue.d.ts +58 -0
  80. package/dist/components/educationals/EpCodeblock.vue.d.ts +43 -0
  81. package/dist/components/educationals/EpEdu.vue.d.ts +57 -0
  82. package/dist/components/educationals/EpReading.vue.d.ts +78 -0
  83. package/dist/components/educationals/EpResource.vue.d.ts +34 -0
  84. package/dist/components/educationals/EpScope.vue.d.ts +32 -0
  85. package/dist/components/forms/EpCheckbox.vue.d.ts +52 -0
  86. package/dist/components/forms/EpInput.vue.d.ts +65 -0
  87. package/dist/components/forms/EpRadio.vue.d.ts +57 -0
  88. package/dist/components/forms/EpRadioSummative.vue.d.ts +57 -0
  89. package/dist/components/forms/EpSelect.vue.d.ts +57 -0
  90. package/dist/components/forms/EpSwitch.vue.d.ts +58 -0
  91. package/dist/components/forms/EpTextarea.vue.d.ts +64 -0
  92. package/dist/components/forms/EpToggle.vue.d.ts +60 -0
  93. package/dist/components/interactions/EpAccordeon.vue.d.ts +50 -0
  94. package/dist/components/interactions/EpContentSlider.vue.d.ts +24 -0
  95. package/dist/components/interactions/EpDarkmode.vue.d.ts +3 -0
  96. package/dist/components/interactions/EpHotsPot.vue.d.ts +32 -0
  97. package/dist/components/interactions/EpModal.vue.d.ts +65 -0
  98. package/dist/components/interactions/EpQuestion.vue.d.ts +53 -0
  99. package/dist/components/interactions/EpSummativeTable.vue.d.ts +25 -0
  100. package/dist/components/interactions/EpTabs.vue.d.ts +2 -0
  101. package/dist/components/interactions/EpTooltip.vue.d.ts +49 -0
  102. package/dist/components/medias/EpAudio.vue.d.ts +48 -0
  103. package/dist/components/medias/EpCarousel.vue.d.ts +44 -0
  104. package/dist/components/medias/EpIframe.vue.d.ts +42 -0
  105. package/dist/components/medias/EpKatex.vue.d.ts +36 -0
  106. package/dist/components/medias/EpLink.vue.d.ts +48 -0
  107. package/dist/components/medias/EpLinkVersion.vue.d.ts +37 -0
  108. package/dist/components/medias/EpSoftware.vue.d.ts +55 -0
  109. package/dist/components/medias/EpSvg.vue.d.ts +36 -0
  110. package/dist/components/medias/EpTerm.vue.d.ts +54 -0
  111. package/dist/components/medias/EpTimeLine.vue.d.ts +32 -0
  112. package/dist/components/medias/EpVideo.vue.d.ts +44 -0
  113. package/dist/components/medias/EpVideoPanopto.vue.d.ts +45 -0
  114. package/dist/components/medias/EpWordDef.vue.d.ts +28 -0
  115. package/dist/components/signages/EpAlert.vue.d.ts +56 -0
  116. package/dist/components/signages/EpBadge.vue.d.ts +57 -0
  117. package/dist/components/signages/EpHeader.vue.d.ts +64 -0
  118. package/dist/components/signages/EpNothing.vue.d.ts +2 -0
  119. package/dist/components/signages/EpQuote.vue.d.ts +47 -0
  120. package/dist/components/signages/EpSkeleton.vue.d.ts +41 -0
  121. package/dist/components/tools/BgAudio.vue.d.ts +29 -0
  122. package/dist/components/tools/DisplayBox.vue.d.ts +17 -0
  123. package/dist/components/tools/SvgFilter.vue.d.ts +2 -0
  124. package/dist/components/tools/TimelineItem.vue.d.ts +38 -0
  125. package/dist/composables/isHtml.d.ts +1 -0
  126. package/dist/composables/useColors.d.ts +1 -0
  127. package/dist/composables/useComponent.d.ts +6 -0
  128. package/dist/composables/useIcons.d.ts +26 -0
  129. package/dist/composables/useMarkdown.d.ts +1 -0
  130. package/dist/composables/useRenderText.d.ts +1 -0
  131. package/dist/ep-lib-ts.js +45 -0
  132. package/dist/ep-lib-ts.umd.cjs +406 -0
  133. package/dist/index-Dl6z_ITi.js +18485 -0
  134. package/dist/index-M54_P8uC.js +47687 -0
  135. package/dist/index.d.ts +44 -0
  136. package/dist/main.d.ts +1 -0
  137. package/dist/prism-B0q7vMaL.js +1182 -0
  138. package/dist/router.d.ts +2 -0
  139. package/dist/style.css +1 -0
  140. package/dist/types/Accordeon.d.ts +47 -0
  141. package/dist/types/Alert.d.ts +35 -0
  142. package/dist/types/Answer.d.ts +16 -0
  143. package/dist/types/Avatar.d.ts +18 -0
  144. package/dist/types/Badge.d.ts +23 -0
  145. package/dist/types/Border.d.ts +2 -0
  146. package/dist/types/Btn.d.ts +41 -0
  147. package/dist/types/Card.d.ts +6 -0
  148. package/dist/types/Chip.d.ts +41 -0
  149. package/dist/types/Codeblock.d.ts +223 -0
  150. package/dist/types/GlossaryEntry.d.ts +10 -0
  151. package/dist/types/Image.d.ts +6 -0
  152. package/dist/types/MandateLevel.d.ts +5 -0
  153. package/dist/types/MediaCarousel.d.ts +7 -0
  154. package/dist/types/Medias.d.ts +11 -0
  155. package/dist/types/Radio.d.ts +11 -0
  156. package/dist/types/Slides.d.ts +15 -0
  157. package/dist/types/SummativeTable.d.ts +10 -0
  158. package/dist/types/Switch.d.ts +11 -0
  159. package/dist/types/TimeLine.d.ts +124 -0
  160. package/dist/types/Tooltip.d.ts +75 -0
  161. package/dist/vite.svg +1 -0
  162. package/package.json +4 -3
@@ -0,0 +1,29 @@
1
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ fill?: string | undefined;
3
+ }>, {
4
+ fill: string;
5
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
+ fill?: string | undefined;
7
+ }>, {
8
+ fill: string;
9
+ }>>>, {
10
+ fill: string;
11
+ }, {}>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithDefaults<P, D> = {
23
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
+ default: D[K];
25
+ }> : P[K];
26
+ };
27
+ type __VLS_Prettify<T> = {
28
+ [K in keyof T]: T[K];
29
+ } & {};
@@ -0,0 +1,17 @@
1
+ declare function open(): boolean;
2
+ declare function close(): boolean;
3
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {
4
+ default?(_: {
5
+ open: typeof open;
6
+ }): any;
7
+ menu?(_: {
8
+ isOpen: any;
9
+ close: typeof close;
10
+ }): any;
11
+ }>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,38 @@
1
+ import { EventTimeLine } from '../../types/TimeLine';
2
+
3
+ interface Props {
4
+ title?: string | null;
5
+ date?: string;
6
+ event: EventTimeLine;
7
+ collapse?: boolean;
8
+ }
9
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
10
+ title: string;
11
+ type: string;
12
+ collapse: boolean;
13
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
+ title: string;
15
+ type: string;
16
+ collapse: boolean;
17
+ }>>>, {
18
+ title: string | null;
19
+ collapse: boolean;
20
+ }, {}>;
21
+ export default _default;
22
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
+ type __VLS_TypePropsToRuntimeProps<T> = {
24
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
25
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
+ } : {
27
+ type: import('vue').PropType<T[K]>;
28
+ required: true;
29
+ };
30
+ };
31
+ type __VLS_WithDefaults<P, D> = {
32
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
+ default: D[K];
34
+ }> : P[K];
35
+ };
36
+ type __VLS_Prettify<T> = {
37
+ [K in keyof T]: T[K];
38
+ } & {};
@@ -0,0 +1 @@
1
+ export declare function isHtml(content: string): boolean;
@@ -0,0 +1 @@
1
+ export default function useColors(prefix: string, color: string): string;
@@ -0,0 +1,6 @@
1
+ interface InfoComponent {
2
+ name: string;
3
+ path: string;
4
+ }
5
+ export declare function useComponent(componentName: string | undefined): InfoComponent;
6
+ export {};
@@ -0,0 +1,26 @@
1
+ export declare const useIcons: {
2
+ base: {
3
+ icon: string;
4
+ };
5
+ warning: {
6
+ icon: string;
7
+ };
8
+ success: {
9
+ icon: string;
10
+ };
11
+ error: {
12
+ icon: string;
13
+ };
14
+ info: {
15
+ icon: string;
16
+ };
17
+ question: {
18
+ icon: string;
19
+ };
20
+ Question: {
21
+ icon: string;
22
+ };
23
+ tip: {
24
+ icon: string;
25
+ };
26
+ };
@@ -0,0 +1 @@
1
+ export declare function useMarkdown(str: string): string;
@@ -0,0 +1 @@
1
+ export declare function useRenderText(text: string): string;
@@ -0,0 +1,45 @@
1
+ import { S as s, M as E, C as e, c as o, o as r, d as i, e as n, U as t, f as d, y as l, g as S, r as m, h as C, N as c, i as u, D as T, j as f, V as g, p as h, E as L, F as b, z as k, q as x, A, O as B, b as I, s as V, t as v, k as D, P, G as F, l as H, B as K, H as M, m as Q, T as R, _ as j, n as q, I as w, J as y, K as z, L as G } from "./index-Dl6z_ITi.js";
2
+ export {
3
+ s as EpAccordeon,
4
+ E as EpAlert,
5
+ e as EpAudio,
6
+ o as EpBadge,
7
+ r as EpBarChart,
8
+ i as EpBtn,
9
+ n as EpCard,
10
+ t as EpCarousel,
11
+ d as EpChip,
12
+ l as EpContentSlider,
13
+ S as EpDivider,
14
+ m as EpEdu,
15
+ C as EpFlex,
16
+ c as EpHeader,
17
+ u as EpIcon,
18
+ T as EpIframe,
19
+ f as EpImg,
20
+ g as EpKatex,
21
+ h as EpLineChart,
22
+ L as EpLink,
23
+ b as EpLinkVersion,
24
+ k as EpModal,
25
+ x as EpPieChart,
26
+ A as EpQuestion,
27
+ B as EpQuote,
28
+ I as EpReading,
29
+ V as EpResource,
30
+ v as EpScope,
31
+ D as EpSection,
32
+ P as EpSkeleton,
33
+ F as EpSoftware,
34
+ H as EpSpinner,
35
+ K as EpSummativeTable,
36
+ M as EpSvg,
37
+ Q as EpTable,
38
+ R as EpTabs,
39
+ j as EpTerm,
40
+ q as EpText,
41
+ w as EpTimeLine,
42
+ y as EpVideo,
43
+ z as EpVideoPanopto,
44
+ G as EpWordDef
45
+ };