ep-lib-ts 0.1.33 → 0.1.35

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 (93) hide show
  1. package/dist/{BgAudio-03ab87a2.js → BgAudio-bf61de51.js} +1 -1
  2. package/dist/{DisplayBox-2a24a5ba.js → DisplayBox-89b549f2.js} +1 -1
  3. package/dist/{EpAlert-174fcb58.js → EpAlert-97de6de7.js} +1 -1
  4. package/dist/{EpAudio-3273480f.js → EpAudio-9ab815f1.js} +1 -1
  5. package/dist/{EpAvatar-b8e6cc02.js → EpAvatar-1e55fdc7.js} +9 -9
  6. package/dist/EpBadge-dd8e857c.js +6 -0
  7. package/dist/{EpBarChart-9f7bfb0a.js → EpBarChart-0bbf2ef2.js} +1 -1
  8. package/dist/EpBtn-18387d10.js +6 -0
  9. package/dist/EpCard-31f18d9b.js +6 -0
  10. package/dist/EpChip-32ef487d.js +6 -0
  11. package/dist/EpContentSlider-d64d71f8.js +6 -0
  12. package/dist/EpDivider-233fb36b.js +6 -0
  13. package/dist/{EpEdu-5a7baed7.js → EpEdu-5f3c59a4.js} +1 -1
  14. package/dist/EpFlex-eeda64e3.js +6 -0
  15. package/dist/EpHeader-333e073c.js +6 -0
  16. package/dist/{EpIcon-ee0a43f7.js → EpIcon-3d10cc80.js} +1 -1
  17. package/dist/EpIframe-2ffab515.js +6 -0
  18. package/dist/EpImg-f1ed48bc.js +6 -0
  19. package/dist/{EpInput-84694089.js → EpInput-8b77b684.js} +1 -1
  20. package/dist/EpLineChart-07cccc87.js +6 -0
  21. package/dist/EpLink-4ebb0f75.js +6 -0
  22. package/dist/EpLinkVersion-9504b6f0.js +6 -0
  23. package/dist/EpList-d8433794.js +13 -0
  24. package/dist/EpListitem-aa4a0f95.js +37 -0
  25. package/dist/EpModal-e17bd732.js +6 -0
  26. package/dist/{EpNothing-97d18b42.js → EpNothing-30ef41e6.js} +1 -1
  27. package/dist/EpPieChart-7b5c7d64.js +6 -0
  28. package/dist/EpQuestion-90a88ae5.js +6 -0
  29. package/dist/EpQuote-26dbbb13.js +6 -0
  30. package/dist/EpRadio-6eddd7b3.js +6 -0
  31. package/dist/EpReading-b9565583.js +6 -0
  32. package/dist/EpResource-8302d3d8.js +6 -0
  33. package/dist/{EpScope-2eceb2e9.js → EpScope-b84566a4.js} +1 -1
  34. package/dist/EpSection-ddd3a8b3.js +6 -0
  35. package/dist/{EpSelect-c508997b.js → EpSelect-63be92d8.js} +1 -1
  36. package/dist/EpSkeleton-1c722632.js +6 -0
  37. package/dist/EpSoftware-80fc1d51.js +6 -0
  38. package/dist/EpSpinner-55270b38.js +6 -0
  39. package/dist/EpSvg-89224f2a.js +6 -0
  40. package/dist/EpSwitch-9feee893.js +64 -0
  41. package/dist/EpTable-934c61e4.js +6 -0
  42. package/dist/EpTerm-cc9dc6c5.js +6 -0
  43. package/dist/EpText-f2758226.js +6 -0
  44. package/dist/EpTimeLine-94895947.js +6 -0
  45. package/dist/EpVideo-a581818c.js +6 -0
  46. package/dist/EpVideoPanopto-3681c5d8.js +6 -0
  47. package/dist/components/basics/EpList.vue.d.ts +9 -0
  48. package/dist/components/basics/EpListitem.vue.d.ts +43 -0
  49. package/dist/components/forms/EpSwitch.vue.d.ts +9 -12
  50. package/dist/ep-lib-ts.js +1 -1
  51. package/dist/ep-lib-ts.umd.cjs +34 -31
  52. package/dist/{index-a7b2a6d7.js → index-fbf251b4.js} +120 -120
  53. package/dist/types/Switch.d.ts +11 -0
  54. package/package.json +2 -2
  55. package/src/components/basics/EpList.vue +10 -0
  56. package/src/components/basics/EpListitem.vue +70 -0
  57. package/src/components/educationals/EpReading.vue +2 -2
  58. package/src/components/forms/EpSwitch.vue +38 -22
  59. package/src/components/interactions/EpQuestion.vue +1 -1
  60. package/src/components/signages/EpHeader.vue +2 -2
  61. package/src/components/signages/EpQuote.vue +1 -1
  62. package/dist/EpBadge-1001b3f1.js +0 -6
  63. package/dist/EpBtn-d2ee85de.js +0 -6
  64. package/dist/EpCard-eb83211e.js +0 -6
  65. package/dist/EpChip-916932cb.js +0 -6
  66. package/dist/EpContentSlider-0cf1508d.js +0 -6
  67. package/dist/EpDivider-e7cb7f8a.js +0 -6
  68. package/dist/EpFlex-5a98c073.js +0 -6
  69. package/dist/EpHeader-6434c484.js +0 -6
  70. package/dist/EpIframe-22b07140.js +0 -6
  71. package/dist/EpImg-a6041dc8.js +0 -6
  72. package/dist/EpLineChart-2575d63d.js +0 -6
  73. package/dist/EpLink-973bc022.js +0 -6
  74. package/dist/EpLinkVersion-24002433.js +0 -6
  75. package/dist/EpModal-c85f0d51.js +0 -6
  76. package/dist/EpPieChart-0eb59e41.js +0 -6
  77. package/dist/EpQuestion-9a2344da.js +0 -6
  78. package/dist/EpQuote-aaa938d0.js +0 -6
  79. package/dist/EpRadio-57e34517.js +0 -6
  80. package/dist/EpReading-e17c098f.js +0 -6
  81. package/dist/EpResource-2adf0ce4.js +0 -6
  82. package/dist/EpSection-d658f245.js +0 -6
  83. package/dist/EpSkeleton-fccbc6be.js +0 -6
  84. package/dist/EpSoftware-32ca0529.js +0 -6
  85. package/dist/EpSpinner-d8682586.js +0 -6
  86. package/dist/EpSvg-7d74c2b2.js +0 -6
  87. package/dist/EpSwitch-1eaf9d3f.js +0 -44
  88. package/dist/EpTable-e5bd6c19.js +0 -6
  89. package/dist/EpTerm-427f5b86.js +0 -6
  90. package/dist/EpText-f96b3863.js +0 -6
  91. package/dist/EpTimeLine-54cbf65e.js +0 -6
  92. package/dist/EpVideo-9a9ce1e1.js +0 -6
  93. package/dist/EpVideoPanopto-f42c01cc.js +0 -6
@@ -1,4 +1,4 @@
1
- import { M as o } from "./index-a7b2a6d7.js";
1
+ import { M as o } from "./index-fbf251b4.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { N as o } from "./index-a7b2a6d7.js";
1
+ import { N as o } from "./index-fbf251b4.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { I as o } from "./index-a7b2a6d7.js";
1
+ import { I as o } from "./index-fbf251b4.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { z as o } from "./index-a7b2a6d7.js";
1
+ import { z as o } from "./index-fbf251b4.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {
@@ -1,19 +1,19 @@
1
1
  import { defineComponent as x, computed as t, openBlock as r, createElementBlock as n, createElementVNode as s, normalizeClass as o, toDisplayString as f, createCommentVNode as h } from "vue";
2
2
  const p = {
3
3
  circle: {
4
- small: " rounded-full w-16 h-16 text-5xl ",
5
- middle: "rounded-full w-20 h-20 text-6xl",
6
- big: "rounded-full w-24 h-24 text-7xl"
4
+ small: " rounded-full w-12 h-12 text-5xl ",
5
+ middle: "rounded-full w-14 h-14 text-6xl",
6
+ big: "rounded-full w-16 h-16 text-7xl"
7
7
  },
8
8
  square: {
9
- small: "w-16 h-16 text-5xl",
10
- middle: "w-20 h-20 text-6xl",
11
- big: "w-24 h-24 text-7xl"
9
+ small: "w-12 h-12 text-5xl",
10
+ middle: "w-14 h-14 text-6xl",
11
+ big: "w-16 h-16 text-7xl"
12
12
  },
13
13
  rounded: {
14
- small: "rounded w-16 h-16 text-5xl",
15
- middle: "rounded w-20 h-20 text-6xl",
16
- big: "rounded w-24 h-24 text-7xl"
14
+ small: "rounded w-12 h-12 text-5xl",
15
+ middle: "rounded w-14 h-14 text-6xl",
16
+ big: "rounded w-16 h-16 text-7xl"
17
17
  }
18
18
  }, v = { key: 0 }, _ = ["src", "alt"], w = { key: 1 }, b = /* @__PURE__ */ x({
19
19
  __name: "EpAvatar",
@@ -0,0 +1,6 @@
1
+ import { c as o } from "./index-fbf251b4.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-a7b2a6d7.js";
1
+ import { o as m } from "./index-fbf251b4.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {
@@ -0,0 +1,6 @@
1
+ import { d as o } from "./index-fbf251b4.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-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { f as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { w as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { g as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -1,4 +1,4 @@
1
- import { r as m } from "./index-a7b2a6d7.js";
1
+ import { r as m } from "./index-fbf251b4.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {
@@ -0,0 +1,6 @@
1
+ import { h as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { J as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -1,4 +1,4 @@
1
- import { i as m } from "./index-a7b2a6d7.js";
1
+ import { i as m } from "./index-fbf251b4.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {
@@ -0,0 +1,6 @@
1
+ import { A as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { j as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -1,5 +1,5 @@
1
1
  import { computed as N, toValue as V, unref as f, onMounted as qe, getCurrentInstance as z, watch as I, warn as Ye, provide as Xe, isRef as ue, onBeforeUnmount as Ze, inject as et, ref as re, reactive as tt, onUnmounted as rt, nextTick as nt, defineComponent as ot, toRefs as it, toRef as lt, openBlock as be, createElementBlock as ge, Fragment as at, createTextVNode as ye, toDisplayString as J, createElementVNode as P, createVNode as ut, withDirectives as st, vModelText as ct, createCommentVNode as dt } from "vue";
2
- import { c as ft, u as vt } from "./index-a7b2a6d7.js";
2
+ import { c as ft, u as vt } from "./index-fbf251b4.js";
3
3
  import "vue-router";
4
4
  function pt() {
5
5
  return Ee().__VUE_DEVTOOLS_GLOBAL_HOOK__;
@@ -0,0 +1,6 @@
1
+ import { p as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { B as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { C as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,13 @@
1
+ import { openBlock as t, createElementBlock as o, renderSlot as r } from "vue";
2
+ import { a as s } from "./index-fbf251b4.js";
3
+ import "vue-router";
4
+ const c = {}, n = { class: "py-6 px-3 w-1/4 min-w-[180px]" };
5
+ function p(e, a) {
6
+ return t(), o("ul", n, [
7
+ r(e.$slots, "default")
8
+ ]);
9
+ }
10
+ const i = /* @__PURE__ */ s(c, [["render", p]]);
11
+ export {
12
+ i as default
13
+ };
@@ -0,0 +1,37 @@
1
+ import { defineComponent as m, useSlots as h, computed as e, openBlock as n, createElementBlock as o, normalizeClass as v, createElementVNode as a, renderSlot as l, createCommentVNode as i } from "vue";
2
+ const y = { class: "flex items-center" }, C = {
3
+ key: 0,
4
+ class: "mr-2 min-w-fit px-2"
5
+ }, _ = {
6
+ key: 0,
7
+ class: "px-2"
8
+ }, b = /* @__PURE__ */ m({
9
+ __name: "EpListitem",
10
+ props: {
11
+ type: { default: "default" },
12
+ disabled: { default: "false" }
13
+ },
14
+ setup(u) {
15
+ const r = u, t = h();
16
+ console.log(t);
17
+ const c = e(() => !!t.leftContent), d = e(() => !!t.rightContent), f = e(() => r.type == "nested" ? "px-10" : ""), p = e(() => r.disabled == "true" ? "opacity-75 text-slate-500 " : "hover:bg-gray-200 active:bg-gray-300");
18
+ return (s, g) => (n(), o("li", {
19
+ class: v(`flex flex-row flex-nowrap justify-between font-medium items-center py-4 ${f.value} ${p.value}`)
20
+ }, [
21
+ a("div", y, [
22
+ c.value ? (n(), o("div", C, [
23
+ l(s.$slots, "leftContent")
24
+ ])) : i("", !0),
25
+ a("div", null, [
26
+ l(s.$slots, "default")
27
+ ])
28
+ ]),
29
+ d.value ? (n(), o("div", _, [
30
+ l(s.$slots, "rightContent")
31
+ ])) : i("", !0)
32
+ ], 2));
33
+ }
34
+ });
35
+ export {
36
+ b as default
37
+ };
@@ -0,0 +1,6 @@
1
+ import { x as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -1,5 +1,5 @@
1
1
  import { openBlock as o, createElementBlock as t } from "vue";
2
- import { a as e } from "./index-a7b2a6d7.js";
2
+ import { a as e } from "./index-fbf251b4.js";
3
3
  import "vue-router";
4
4
  const r = {};
5
5
  function n(c, a) {
@@ -0,0 +1,6 @@
1
+ import { q as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { y as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { K as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { v as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { b as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { s as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -1,4 +1,4 @@
1
- import { t as m } from "./index-a7b2a6d7.js";
1
+ import { t as m } from "./index-fbf251b4.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {
@@ -0,0 +1,6 @@
1
+ import { k as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as t, createElementBlock as a, createElementVNode as e, createVNode as l, unref as n, createStaticVNode as d } from "vue";
2
- import { c as s, u as p } from "./index-a7b2a6d7.js";
2
+ import { c as s, u as p } from "./index-fbf251b4.js";
3
3
  import "vue-router";
4
4
  const b = { class: "relative h-10 w-72 min-w-[200px]" }, f = ["disabled"], i = /* @__PURE__ */ d('<option value="option">Choisissez une option</option><option value="vanderpoel">Van Der Poel</option><option value="vanaert">Van Aert</option><option value="pogacar">Pogacar</option><option value="evenepoel">Evenepoel</option>', 5), u = [
5
5
  i
@@ -0,0 +1,6 @@
1
+ import { L as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { D as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { l as o } from "./index-fbf251b4.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-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,64 @@
1
+ import { defineComponent as p, computed as g, toRefs as f, openBlock as b, createElementBlock as k, createElementVNode as r, unref as e, normalizeClass as h, toDisplayString as y } from "vue";
2
+ const m = {
3
+ base: "peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:border-gray-600 peer-checked:bg-blue-600 ",
4
+ primary: "peer-focus:ring-bg-primary-light dark:peer-focus:ring-bg-primary-dark rounded-full peer dark:border-gray-600 peer-checked:bg-primary",
5
+ secondary: "peer-focus:ring-bg-secondary-light dark:peer-focus:ring-bg-secondary-dark rounded-full peer dark:border-gray-600 peer-checked:bg-secondary",
6
+ accent: "peer-focus:ring-bg-accent-light dark:peer-focus:ring-bg-accent-dark rounded-full peer dark:border-gray-600 peer-checked:bg-accent",
7
+ info: "peer-focus:ring-bg-info-light dark:peer-focus:ring-bg-info-dark rounded-full peer dark:border-gray-600 peer-checked:bg-info",
8
+ warning: "peer-focus:ring-bg-warning-light dark:peer-focus:ring-bg-warning-dark rounded-full peer dark:border-gray-600 peer-checked:bg-warning",
9
+ success: "peer-focus:ring-bg-success-light dark:peer-focus:ring-bg-success-dark rounded-full peer dark:border-gray-600 peer-checked:bg-success",
10
+ error: "peer-focus:ring-bg-error-light dark:peer-focus:ring-bg-error-dark rounded-full peer dark:border-gray-600 peer-checked:bg-error"
11
+ }, _ = { class: "relative inline-flex items-center cursor-pointer" }, w = ["id", "checked", "value", "disabled"], x = ["for"], S = /* @__PURE__ */ p({
12
+ __name: "EpSwitch",
13
+ props: {
14
+ id: { default: "toggle" },
15
+ type: { default: "base" },
16
+ label: { default: "" },
17
+ modelValue: { type: Boolean, default: !1 },
18
+ disabled: { type: Boolean, default: !1 },
19
+ readonly: { type: Boolean, default: !1 },
20
+ checked: { type: Boolean, default: !1 }
21
+ },
22
+ emits: ["update:modelValue"],
23
+ setup(c, { emit: n }) {
24
+ const a = c, o = (t) => {
25
+ n("update:modelValue", t.target.checked);
26
+ }, s = g(() => `${m[a.type]}`), {
27
+ id: d,
28
+ label: u,
29
+ type: v,
30
+ modelValue: l,
31
+ disabled: i,
32
+ readonly: V,
33
+ checked: B
34
+ } = f(a);
35
+ return (t, C) => (b(), k("div", null, [
36
+ r("label", _, [
37
+ r("input", {
38
+ id: e(d),
39
+ type: "checkbox",
40
+ checked: e(l),
41
+ value: e(l),
42
+ onInput: o,
43
+ class: "sr-only peer",
44
+ role: "switch",
45
+ disabled: e(i),
46
+ onChange: o
47
+ }, null, 40, w),
48
+ r("div", {
49
+ class: h(`w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4
50
+ ${s.value} dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full
51
+ peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px]
52
+ after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all `)
53
+ }, null, 2)
54
+ ]),
55
+ r("label", {
56
+ class: "inline-block pl-[0.15rem] hover:cursor-pointer",
57
+ for: e(d)
58
+ }, y(e(u)), 9, x)
59
+ ]));
60
+ }
61
+ });
62
+ export {
63
+ S as default
64
+ };
@@ -0,0 +1,6 @@
1
+ import { m as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { _ as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { n as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { F as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { G as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { H as o } from "./index-fbf251b4.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ export {
5
+ o as default
6
+ };
@@ -0,0 +1,9 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
@@ -0,0 +1,43 @@
1
+ type Type = "default" | "nested";
2
+ type Disabled = "false" | "true";
3
+ interface Props {
4
+ type?: Type;
5
+ disabled?: Disabled;
6
+ }
7
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
+ type: string;
9
+ disabled: 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
+ type: string;
12
+ disabled: string;
13
+ }>>>, {
14
+ type: Type;
15
+ disabled: Disabled;
16
+ }, {}>, {
17
+ leftContent?(_: {}): any;
18
+ default?(_: {}): any;
19
+ rightContent?(_: {}): any;
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
+ } & {};
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
@@ -1,9 +1,9 @@
1
+ import { SwitchColorVariant } from "../../types/Switch";
1
2
  interface Props {
2
3
  id?: string;
4
+ type?: SwitchColorVariant;
3
5
  label?: string;
4
- modelValue?: string;
5
- type?: string;
6
- placeholder?: string;
6
+ modelValue?: boolean;
7
7
  disabled?: boolean;
8
8
  readonly?: boolean;
9
9
  checked?: boolean;
@@ -11,34 +11,31 @@ interface Props {
11
11
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
12
  id: string;
13
13
  label: string;
14
- modelValue: string;
15
14
  type: string;
16
- placeholder: string;
15
+ modelValue: boolean;
17
16
  disabled: boolean;
18
17
  readonly: boolean;
19
18
  checked: boolean;
20
19
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
- "update:modelValue": (modelValue: string) => void;
20
+ "update:modelValue": (...args: any[]) => void;
22
21
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
23
22
  id: string;
24
23
  label: string;
25
- modelValue: string;
26
24
  type: string;
27
- placeholder: string;
25
+ modelValue: boolean;
28
26
  disabled: boolean;
29
27
  readonly: boolean;
30
28
  checked: boolean;
31
29
  }>>> & {
32
- "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
30
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
33
31
  }, {
34
32
  label: string;
35
- type: string;
33
+ type: "base" | "primary" | "secondary" | "accent" | "error" | "warning" | "success" | "info";
36
34
  disabled: boolean;
37
- modelValue: string;
35
+ modelValue: boolean;
38
36
  id: string;
39
37
  readonly: boolean;
40
38
  checked: boolean;
41
- placeholder: string;
42
39
  }, {}>;
43
40
  export default _default;
44
41
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
package/dist/ep-lib-ts.js CHANGED
@@ -1,4 +1,4 @@
1
- import { O as e, I as o, z as r, c as i, o as t, d as n, e as d, Q as l, f as m, w as C, g as c, r as S, h as u, J as g, i as h, A as x, j as L, R as T, p as f, B as k, C as A, x as B, q as I, y as b, K as P, b as Q, s as R, t as V, k as v, L as w, D, l as F, E as H, m as K, P as j, _ as q, n as y, F as z, G, H as J } from "./index-a7b2a6d7.js";
1
+ import { O as e, I as o, z as r, c as i, o as t, d as n, e as d, Q as l, f as m, w as C, g as c, r as S, h as u, J as g, i as h, A as x, j as L, R as T, p as f, B as k, C as A, x as B, q as I, y as b, K as P, b as Q, s as R, t as V, k as v, L as w, D, l as F, E as H, m as K, P as j, _ as q, n as y, F as z, G, H as J } from "./index-fbf251b4.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {