ep-lib-ts 0.1.42 → 0.1.43

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 (122) hide show
  1. package/dist/{BgAudio-12a94111.js → BgAudio-9074bf47.js} +1 -1
  2. package/dist/{DisplayBox-458ccfee.js → DisplayBox-e2f9c14b.js} +1 -1
  3. package/dist/{EpAlert-869e9a5a.js → EpAlert-98a8913b.js} +1 -1
  4. package/dist/{EpAudio-7b06fb87.js → EpAudio-8bca3f8b.js} +1 -1
  5. package/dist/EpBadge-aa69b61f.js +6 -0
  6. package/dist/{EpBarChart-2756826c.js → EpBarChart-89719705.js} +1 -1
  7. package/dist/EpBtn-94de00aa.js +6 -0
  8. package/dist/EpCard-d31b9544.js +6 -0
  9. package/dist/EpCheckbox-b4696548.js +41 -0
  10. package/dist/EpChip-b1c3761b.js +6 -0
  11. package/dist/EpCodeblock-f5d4bbd7.js +1467 -0
  12. package/dist/EpContentSlider-8b95883d.js +6 -0
  13. package/dist/EpDivider-717cb204.js +6 -0
  14. package/dist/{EpEdu-75241c80.js → EpEdu-1d62ac0f.js} +1 -1
  15. package/dist/EpFlex-4931d64b.js +6 -0
  16. package/dist/EpHeader-bf8e2580.js +6 -0
  17. package/dist/EpHotsPot-f4deb558.js +56 -0
  18. package/dist/EpHover-073dc31c.js +32 -0
  19. package/dist/{EpIcon-c83cee4a.js → EpIcon-e311fbad.js} +1 -1
  20. package/dist/EpIframe-d9f071a1.js +6 -0
  21. package/dist/EpImg-69c0feaf.js +6 -0
  22. package/dist/{EpInput-bfe1f0a8.js → EpInput-867e4d4d.js} +1 -1
  23. package/dist/EpLineChart-0954dd9c.js +6 -0
  24. package/dist/EpLink-d3b39f02.js +6 -0
  25. package/dist/EpLinkVersion-b760bbd8.js +6 -0
  26. package/dist/{EpList-ca9a647d.js → EpList-8a3621c1.js} +1 -1
  27. package/dist/EpModal-5f7b55e3.js +6 -0
  28. package/dist/{EpNothing-27aa18ae.js → EpNothing-ad160acf.js} +1 -1
  29. package/dist/EpPieChart-b4ace5f7.js +6 -0
  30. package/dist/EpQuestion-15d6c264.js +6 -0
  31. package/dist/EpQuote-2f8b0fd5.js +6 -0
  32. package/dist/EpRadio-53ea7ddf.js +6 -0
  33. package/dist/EpRadioSummative-e834a5da.js +6 -0
  34. package/dist/EpReading-6d3adc21.js +6 -0
  35. package/dist/EpResource-730effb3.js +6 -0
  36. package/dist/EpScope-9fa20a62.js +6 -0
  37. package/dist/EpSection-7a940784.js +6 -0
  38. package/dist/{EpSelect-f2ec0108.js → EpSelect-2b3b90bf.js} +1 -1
  39. package/dist/EpSkeleton-579dd745.js +6 -0
  40. package/dist/EpSoftware-705be204.js +6 -0
  41. package/dist/EpSpinner-34dd8e0e.js +6 -0
  42. package/dist/EpSummativeTable-4765167a.js +6 -0
  43. package/dist/EpSvg-c3fcd0c2.js +6 -0
  44. package/dist/{EpSwitch-9feee893.js → EpSwitch-778610f4.js} +20 -20
  45. package/dist/EpTable-5c9216b8.js +6 -0
  46. package/dist/EpTerm-507bdfb9.js +6 -0
  47. package/dist/EpText-1915cfeb.js +6 -0
  48. package/dist/EpTimeLine-73c0ce36.js +6 -0
  49. package/dist/{EpToggle-9755056a.js → EpToggle-79231e19.js} +2 -2
  50. package/dist/EpVideo-1d6e8d50.js +6 -0
  51. package/dist/EpVideoPanopto-4cb0d51e.js +6 -0
  52. package/dist/EpWordDef-6bc37d76.js +6 -0
  53. package/dist/components/basics/EpHover.vue.d.ts +49 -0
  54. package/dist/components/basics/EpImg.vue.d.ts +5 -0
  55. package/dist/components/educationals/EpCodeblock.vue.d.ts +42 -0
  56. package/dist/components/forms/EpCheckbox.vue.d.ts +10 -14
  57. package/dist/components/forms/EpInput.vue.d.ts +1 -1
  58. package/dist/components/forms/EpRadioSummative.vue.d.ts +56 -0
  59. package/dist/components/forms/EpSelect.vue.d.ts +1 -1
  60. package/dist/components/forms/EpTextarea.vue.d.ts +1 -1
  61. package/dist/components/forms/EpToggle.vue.d.ts +1 -1
  62. package/dist/components/interactions/EpHotsPot.vue.d.ts +32 -0
  63. package/dist/components/interactions/EpSummativeTable.vue.d.ts +24 -0
  64. package/dist/components/medias/EpCarousel.vue.d.ts +5 -0
  65. package/dist/components/signages/EpQuote.vue.d.ts +4 -0
  66. package/dist/ep-lib-ts.js +28 -27
  67. package/dist/ep-lib-ts.umd.cjs +98 -42
  68. package/dist/index-96f36524.js +47690 -0
  69. package/dist/{index-c3629e3f.js → index-a3ad71e0.js} +2428 -2333
  70. package/dist/index.d.ts +2 -1
  71. package/dist/prism-04608307.js +1182 -0
  72. package/dist/style.css +1 -1
  73. package/dist/types/Codeblock.d.ts +223 -0
  74. package/dist/types/Image.d.ts +6 -0
  75. package/dist/types/SummativeTable.d.ts +10 -0
  76. package/package.json +7 -2
  77. package/src/components/basics/EpHover.vue +57 -0
  78. package/src/components/basics/EpImg.vue +27 -20
  79. package/src/components/educationals/EpCodeblock.vue +48 -0
  80. package/src/components/forms/EpCheckbox.vue +26 -28
  81. package/src/components/forms/EpRadioSummative.vue +53 -0
  82. package/src/components/forms/EpToggle.vue +3 -12
  83. package/src/components/interactions/EpHotsPot.vue +77 -0
  84. package/src/components/interactions/EpSummativeTable.vue +56 -0
  85. package/src/components/medias/EpCarousel.vue +5 -2
  86. package/src/components/medias/EpKatex.vue +1 -1
  87. package/src/components/medias/EpSvg.vue +4 -2
  88. package/src/components/signages/EpQuote.vue +19 -16
  89. package/dist/EpBadge-13bd272a.js +0 -6
  90. package/dist/EpBtn-bf4e1bb8.js +0 -6
  91. package/dist/EpCard-138f7849.js +0 -6
  92. package/dist/EpCheckbox-fe632df9.js +0 -36
  93. package/dist/EpChip-ce9ab539.js +0 -6
  94. package/dist/EpContentSlider-9f860b5e.js +0 -6
  95. package/dist/EpDivider-5161e1a3.js +0 -6
  96. package/dist/EpFlex-56c39d33.js +0 -6
  97. package/dist/EpHeader-b573621c.js +0 -6
  98. package/dist/EpIframe-1d774546.js +0 -6
  99. package/dist/EpImg-b8c89895.js +0 -6
  100. package/dist/EpLineChart-09eeadf9.js +0 -6
  101. package/dist/EpLink-f0451bc0.js +0 -6
  102. package/dist/EpLinkVersion-2974758a.js +0 -6
  103. package/dist/EpModal-7538ea52.js +0 -6
  104. package/dist/EpPieChart-d4e42024.js +0 -6
  105. package/dist/EpQuestion-ce045112.js +0 -6
  106. package/dist/EpQuote-f25965fb.js +0 -6
  107. package/dist/EpRadio-d7d089ac.js +0 -6
  108. package/dist/EpReading-cd6d9d42.js +0 -6
  109. package/dist/EpResource-e7b8e1d6.js +0 -6
  110. package/dist/EpScope-f857c493.js +0 -6
  111. package/dist/EpSection-a4260ae8.js +0 -6
  112. package/dist/EpSkeleton-07341c6f.js +0 -6
  113. package/dist/EpSoftware-8ff5b189.js +0 -6
  114. package/dist/EpSpinner-bca72b93.js +0 -6
  115. package/dist/EpSvg-c3ef1c16.js +0 -6
  116. package/dist/EpTable-6d34cf99.js +0 -6
  117. package/dist/EpTerm-5893b315.js +0 -6
  118. package/dist/EpText-bef0cd7e.js +0 -6
  119. package/dist/EpTimeLine-77889a4d.js +0 -6
  120. package/dist/EpVideo-3c188b92.js +0 -6
  121. package/dist/EpVideoPanopto-7bdb0a19.js +0 -6
  122. package/dist/EpWordDef-e6ebb0d2.js +0 -6
@@ -1,4 +1,4 @@
1
- import { N as o } from "./index-c3629e3f.js";
1
+ import { S as o } from "./index-a3ad71e0.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { O as o } from "./index-c3629e3f.js";
1
+ import { T as o } from "./index-a3ad71e0.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { J as o } from "./index-c3629e3f.js";
1
+ import { O as o } from "./index-a3ad71e0.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { z as o } from "./index-c3629e3f.js";
1
+ import { E as o } from "./index-a3ad71e0.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {
@@ -0,0 +1,6 @@
1
+ import { c as o } from "./index-a3ad71e0.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -1,4 +1,4 @@
1
- import { o as m } from "./index-c3629e3f.js";
1
+ import { o as m } from "./index-a3ad71e0.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {
@@ -0,0 +1,6 @@
1
+ import { d as o } from "./index-a3ad71e0.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { e as o } from "./index-a3ad71e0.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,41 @@
1
+ import { defineComponent as y, computed as b, toRefs as g, openBlock as x, createElementBlock as v, withDirectives as _, createElementVNode as d, unref as e, vModelCheckbox as h, toDisplayString as k } from "vue";
2
+ const V = { class: "cursor-pointer flex items-center rounded-md py-3 px-3 text-xs font-semibold uppercase sm:flex-1 hover:bg-gray-200" }, B = ["id", "value", "disabled", "readonly"], C = { class: "ml-2" }, D = /* @__PURE__ */ y({
3
+ __name: "EpCheckbox",
4
+ props: {
5
+ id: { default: "0" },
6
+ label: { default: "check" },
7
+ modelValue: { type: [String, Array, Boolean], default: "" },
8
+ disabled: { type: Boolean, default: !1 },
9
+ readonly: { type: Boolean, default: !1 },
10
+ value: { default: void 0 }
11
+ },
12
+ emits: ["update:modelValue"],
13
+ setup(r, { emit: s }) {
14
+ const o = r, n = s, t = b({
15
+ get() {
16
+ return o.modelValue;
17
+ },
18
+ set(a) {
19
+ n("update:modelValue", a);
20
+ }
21
+ }), { id: u, label: i, disabled: c, readonly: p, value: m } = g(o);
22
+ return (a, l) => (x(), v("label", V, [
23
+ _(d("input", {
24
+ type: "checkbox",
25
+ id: e(u),
26
+ "onUpdate:modelValue": l[0] || (l[0] = (f) => t.value = f),
27
+ value: e(m),
28
+ disabled: e(c),
29
+ readonly: e(p),
30
+ name: "notification-method",
31
+ class: "rounded bg-gray-200 border-gray-300 focus:border-transparent focus:bg-gray-200 text-primary focus:ring-1 focus:ring-offset-2 focus:ring-primary"
32
+ }, null, 8, B), [
33
+ [h, t.value]
34
+ ]),
35
+ d("span", C, k(e(i)), 1)
36
+ ]));
37
+ }
38
+ });
39
+ export {
40
+ D as default
41
+ };
@@ -0,0 +1,6 @@
1
+ import { f as o } from "./index-a3ad71e0.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };