ep-lib-ts 1.0.0 → 1.0.3
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.
- package/.vscode/extensions.json +3 -0
- package/LICENSE +21 -0
- package/dist/BgAudio-frhyHkqr.js +4 -0
- package/dist/DisplayBox-CSCmHlo9.js +4 -0
- package/dist/EpAlert-Ccz2Wiz3.js +4 -0
- package/dist/EpAudio-DW24CuDl.js +4 -0
- package/dist/EpAvatar-Dmpg0PFj.js +50 -0
- package/dist/EpBadge-DqmSNdbi.js +55 -0
- package/dist/EpBadge-YYV6LeIH.js +4 -0
- package/dist/EpBarChart-CQpD2vBz.js +4 -0
- package/dist/EpBtn-BXFxStb5.js +4 -0
- package/dist/EpCard-dMLoFxCZ.js +4 -0
- package/dist/EpCheckbox-BtJRFbS_.js +41 -0
- package/dist/EpChip-D14YJQjn.js +4 -0
- package/dist/EpCodeblock-DX7H-PE3.js +1477 -0
- package/dist/EpContentSlider-B6sOe3Dp.js +4 -0
- package/dist/EpDarkmode-CVX7I7Oh.js +22 -0
- package/dist/EpDivider-BlzeUfhe.js +4 -0
- package/dist/EpEdu-OSZN0dVy.js +4 -0
- package/dist/EpFlex-CajOntOn.js +4 -0
- package/dist/EpFunnelChart-CAmKAY6K.js +4 -0
- package/dist/EpHeader-s6mu1YDy.js +4 -0
- package/dist/EpHotsPot-DFz_Du9o.js +59 -0
- package/dist/EpHover-DvBaw8H4.js +31 -0
- package/dist/EpIcon-BKdKZ6VL.js +4 -0
- package/dist/EpIframe-Cw50hPQt.js +4 -0
- package/dist/EpImg-ltzMUbfa.js +4 -0
- package/dist/EpInput-C3Db2Mgx.js +1168 -0
- package/dist/EpLineChart-C1Z5zC77.js +4 -0
- package/dist/EpLink-9J5EAO2L.js +4 -0
- package/dist/EpLinkVersion-DoA4Xrmj.js +4 -0
- package/dist/EpList-u8yx-VQ3.js +12 -0
- package/dist/EpListitem-DzQrc-k2.js +37 -0
- package/dist/EpModal-EPQLtKSs.js +4 -0
- package/dist/EpNothing-dQbMRW9h.js +10 -0
- package/dist/EpPieChart-DALf9BAs.js +4 -0
- package/dist/EpQuestion-CrOo3ejB.js +4 -0
- package/dist/EpQuote-BDthjTq5.js +4 -0
- package/dist/EpRadio-B_MUtViE.js +4 -0
- package/dist/EpRadioSummative-DqXsCXq1.js +4 -0
- package/dist/EpReading-KUPnrrth.js +4 -0
- package/dist/EpResource-BMPKDLj8.js +4 -0
- package/dist/EpScope-C3jsb2no.js +4 -0
- package/dist/EpSection-CdA_6u_G.js +4 -0
- package/dist/EpSelect-DxDETrPv.js +43 -0
- package/dist/EpSkeleton-B7Vvky8C.js +4 -0
- package/dist/EpSoftware-CBGrw-TM.js +4 -0
- package/dist/EpSpinner-CPXurjKk.js +4 -0
- package/dist/EpSummativeTable-Cl4DD-eg.js +4 -0
- package/dist/EpSvg-D7ZjOSNK.js +4 -0
- package/dist/EpSwitch-C7NMjBk9.js +64 -0
- package/dist/EpTable-BJg2IDFP.js +4 -0
- package/dist/EpTerm-BqEk32qp.js +4 -0
- package/dist/EpText-C0XpPsof.js +4 -0
- package/dist/EpTextarea-D8UCQuga.js +44 -0
- package/dist/EpTimeLine-D9aVz430.js +4 -0
- package/dist/EpToggle-BDp54LpY.js +47 -0
- package/dist/EpTooltip-B4s0_PvZ.js +99 -0
- package/dist/EpVideo-B9Bqi_qW.js +4 -0
- package/dist/EpVideoPanopto-BibKcJ2y.js +4 -0
- package/dist/EpWordDef-O6xFtf2E.js +4 -0
- package/dist/components/basics/EpAvatar.vue.d.ts +51 -0
- package/dist/components/basics/EpBadge.vue.d.ts +49 -0
- package/dist/components/basics/EpBtn.vue.d.ts +62 -0
- package/dist/components/basics/EpCard.vue.d.ts +71 -0
- package/dist/components/basics/EpChip.vue.d.ts +58 -0
- package/dist/components/basics/EpDivider.vue.d.ts +46 -0
- package/dist/components/basics/EpFlex.vue.d.ts +9 -0
- package/dist/components/basics/EpHover.vue.d.ts +49 -0
- package/dist/components/basics/EpIcon.vue.d.ts +34 -0
- package/dist/components/basics/EpImg.vue.d.ts +72 -0
- package/dist/components/basics/EpList.vue.d.ts +9 -0
- package/dist/components/basics/EpListitem.vue.d.ts +43 -0
- package/dist/components/basics/EpSection.vue.d.ts +50 -0
- package/dist/components/basics/EpSpinner.vue.d.ts +40 -0
- package/dist/components/basics/EpTable.vue.d.ts +24 -0
- package/dist/components/basics/EpText.vue.d.ts +43 -0
- package/dist/components/charts/EpBarChart.vue.d.ts +66 -0
- package/dist/components/charts/EpFunnelChart.vue.d.ts +62 -0
- package/dist/components/charts/EpLineChart.vue.d.ts +66 -0
- package/dist/components/charts/EpPieChart.vue.d.ts +70 -0
- package/dist/components/educationals/EpCodeblock.vue.d.ts +43 -0
- package/dist/components/educationals/EpEdu.vue.d.ts +69 -0
- package/dist/components/educationals/EpReading.vue.d.ts +110 -0
- package/dist/components/educationals/EpResource.vue.d.ts +34 -0
- package/dist/components/educationals/EpScope.vue.d.ts +32 -0
- package/dist/components/forms/EpCheckbox.vue.d.ts +52 -0
- package/dist/components/forms/EpInput.vue.d.ts +65 -0
- package/dist/components/forms/EpRadio.vue.d.ts +57 -0
- package/dist/components/forms/EpRadioSummative.vue.d.ts +57 -0
- package/dist/components/forms/EpSelect.vue.d.ts +89 -0
- package/dist/components/forms/EpSwitch.vue.d.ts +58 -0
- package/dist/components/forms/EpTextarea.vue.d.ts +76 -0
- package/dist/components/forms/EpToggle.vue.d.ts +72 -0
- package/dist/components/interactions/EpAccordeon.vue.d.ts +58 -0
- package/dist/components/interactions/EpContentSlider.vue.d.ts +43 -0
- package/dist/components/interactions/EpDarkmode.vue.d.ts +7 -0
- package/dist/components/interactions/EpHotsPot.vue.d.ts +47 -0
- package/dist/components/interactions/EpModal.vue.d.ts +65 -0
- package/dist/components/interactions/EpQuestion.vue.d.ts +73 -0
- package/dist/components/interactions/EpSummativeTable.vue.d.ts +25 -0
- package/dist/components/interactions/EpTabs.vue.d.ts +2 -0
- package/dist/components/interactions/EpTooltip.vue.d.ts +49 -0
- package/dist/components/medias/EpAudio.vue.d.ts +56 -0
- package/dist/components/medias/EpCarousel.vue.d.ts +44 -0
- package/dist/components/medias/EpIframe.vue.d.ts +43 -0
- package/dist/components/medias/EpKatex.vue.d.ts +36 -0
- package/dist/components/medias/EpLink.vue.d.ts +48 -0
- package/dist/components/medias/EpLinkVersion.vue.d.ts +49 -0
- package/dist/components/medias/EpSoftware.vue.d.ts +67 -0
- package/dist/components/medias/EpSvg.vue.d.ts +36 -0
- package/dist/components/medias/EpTerm.vue.d.ts +78 -0
- package/dist/components/medias/EpTimeLine.vue.d.ts +32 -0
- package/dist/components/medias/EpVideo.vue.d.ts +52 -0
- package/dist/components/medias/EpVideoPanopto.vue.d.ts +45 -0
- package/dist/components/medias/EpWordDef.vue.d.ts +63 -0
- package/dist/components/signages/EpAlert.vue.d.ts +56 -0
- package/dist/components/signages/EpBadge.vue.d.ts +57 -0
- package/dist/components/signages/EpHeader.vue.d.ts +80 -0
- package/dist/components/signages/EpNothing.vue.d.ts +2 -0
- package/dist/components/signages/EpQuote.vue.d.ts +47 -0
- package/dist/components/signages/EpSkeleton.vue.d.ts +41 -0
- package/dist/components/tools/BgAudio.vue.d.ts +29 -0
- package/dist/components/tools/DisplayBox.vue.d.ts +17 -0
- package/dist/components/tools/SvgFilter.vue.d.ts +2 -0
- package/dist/components/tools/TimelineItem.vue.d.ts +38 -0
- package/dist/composables/isHtml.d.ts +1 -0
- package/dist/composables/useColors.d.ts +1 -0
- package/dist/composables/useComponent.d.ts +6 -0
- package/dist/composables/useIcons.d.ts +26 -0
- package/dist/composables/useMarkdown.d.ts +1 -0
- package/dist/composables/useRenderText.d.ts +1 -0
- package/dist/ep-lib-ts.js +46 -0
- package/dist/ep-lib-ts.umd.cjs +413 -0
- package/dist/index-BgNRIUzY.js +18681 -0
- package/dist/index-DNwUz3uD.js +47687 -0
- package/dist/index.d.ts +86 -0
- package/dist/main.d.ts +1 -0
- package/dist/prism-DENTMpmV.js +1182 -0
- package/dist/router.d.ts +2 -0
- package/dist/style.css +1 -0
- package/dist/types/Accordeon.d.ts +47 -0
- package/dist/types/Alert.d.ts +35 -0
- package/dist/types/Answer.d.ts +16 -0
- package/dist/types/Avatar.d.ts +18 -0
- package/dist/types/Badge.d.ts +23 -0
- package/dist/types/Border.d.ts +2 -0
- package/dist/types/Btn.d.ts +49 -0
- package/dist/types/Card.d.ts +6 -0
- package/dist/types/Chip.d.ts +41 -0
- package/dist/types/Codeblock.d.ts +223 -0
- package/dist/types/GlossaryEntry.d.ts +10 -0
- package/dist/types/Image.d.ts +6 -0
- package/dist/types/MandateLevel.d.ts +5 -0
- package/dist/types/MediaCarousel.d.ts +7 -0
- package/dist/types/Medias.d.ts +11 -0
- package/dist/types/Radio.d.ts +11 -0
- package/dist/types/Slides.d.ts +15 -0
- package/dist/types/SummativeTable.d.ts +10 -0
- package/dist/types/Switch.d.ts +11 -0
- package/dist/types/TimeLine.d.ts +124 -0
- package/dist/types/Tooltip.d.ts +75 -0
- package/dist/vite.svg +1 -0
- package/package.json +5 -4
- package/src/components/basics/EpAvatar.vue +1 -1
- package/src/components/basics/EpBadge.vue +11 -2
- package/src/components/basics/EpBtn.vue +3 -15
- package/src/components/basics/EpCard.vue +21 -11
- package/src/components/basics/EpChip.vue +1 -2
- package/src/components/basics/EpImg.vue +18 -6
- package/src/components/basics/EpSection.vue +1 -1
- package/src/components/basics/EpTable.vue +5 -5
- package/src/components/basics/EpText.vue +10 -2
- package/src/components/charts/EpBarChart.vue +11 -3
- package/src/components/charts/EpFunnelChart.vue +129 -0
- package/src/components/charts/EpLineChart.vue +11 -3
- package/src/components/charts/EpPieChart.vue +12 -4
- package/src/components/educationals/EpCodeblock.vue +1 -1
- package/src/components/educationals/EpEdu.vue +17 -10
- package/src/components/educationals/EpReading.vue +45 -27
- package/src/components/educationals/EpResource.vue +2 -2
- package/src/components/educationals/EpScope.vue +1 -1
- package/src/components/forms/EpRadio.vue +1 -1
- package/src/components/forms/EpRadioSummative.vue +1 -1
- package/src/components/forms/EpSelect.vue +24 -6
- package/src/components/forms/EpSwitch.vue +1 -1
- package/src/components/forms/EpTextarea.vue +9 -1
- package/src/components/forms/EpToggle.vue +9 -1
- package/src/components/interactions/EpAccordeon.vue +13 -7
- package/src/components/interactions/EpContentSlider.vue +17 -6
- package/src/components/interactions/EpDarkmode.vue +25 -14
- package/src/components/interactions/EpHotsPot.vue +11 -2
- package/src/components/interactions/EpQuestion.vue +17 -5
- package/src/components/interactions/EpSummativeTable.vue +1 -1
- package/src/components/interactions/EpTabs.vue +1 -1
- package/src/components/interactions/EpTooltip.vue +1 -1
- package/src/components/medias/EpAudio.vue +17 -11
- package/src/components/medias/EpCarousel.vue +2 -2
- package/src/components/medias/EpIframe.vue +6 -2
- package/src/components/medias/EpKatex.vue +1 -1
- package/src/components/medias/EpLink.vue +2 -2
- package/src/components/medias/EpLinkVersion.vue +11 -3
- package/src/components/medias/EpSoftware.vue +12 -4
- package/src/components/medias/EpSvg.vue +2 -2
- package/src/components/medias/EpTerm.vue +24 -11
- package/src/components/medias/EpTimeLine.vue +2 -2
- package/src/components/medias/EpVideo.vue +13 -7
- package/src/components/medias/EpVideoPanopto.vue +2 -3
- package/src/components/medias/EpWordDef.vue +33 -11
- package/src/components/signages/EpAlert.vue +1 -1
- package/src/components/signages/EpBadge.vue +1 -1
- package/src/components/signages/EpHeader.vue +13 -3
- package/src/components/signages/EpSkeleton.vue +2 -2
- package/src/components/tools/TimelineItem.vue +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as o, renderSlot as r } from "vue";
|
|
2
|
+
import { a as s } from "./index-BgNRIUzY.js";
|
|
3
|
+
const c = {}, n = { class: "py-6 px-3 w-1/4 min-w-[180px]" };
|
|
4
|
+
function a(e, l) {
|
|
5
|
+
return t(), o("ul", n, [
|
|
6
|
+
r(e.$slots, "default")
|
|
7
|
+
]);
|
|
8
|
+
}
|
|
9
|
+
const f = /* @__PURE__ */ s(c, [["render", a]]);
|
|
10
|
+
export {
|
|
11
|
+
f as default
|
|
12
|
+
};
|
|
@@ -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,10 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as o } from "vue";
|
|
2
|
+
import { a as t } from "./index-BgNRIUzY.js";
|
|
3
|
+
const n = {};
|
|
4
|
+
function r(c, a) {
|
|
5
|
+
return e(), o("div", null, " no data ");
|
|
6
|
+
}
|
|
7
|
+
const s = /* @__PURE__ */ t(n, [["render", r]]);
|
|
8
|
+
export {
|
|
9
|
+
s as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { defineComponent as t, openBlock as l, createElementBlock as a, createElementVNode as r, toDisplayString as o, createVNode as n, unref as d } from "vue";
|
|
2
|
+
import { c as s, w as b } from "./index-BgNRIUzY.js";
|
|
3
|
+
const p = { class: "relative h-10 w-72 min-w-[200px]" }, f = ["disabled"], i = { value: "option" }, u = { value: "vanderpoel" }, c = { value: "vanaert" }, h = { value: "pogacar" }, m = { value: "evenepoel" }, g = { class: "before:content[' '] after:content[' '] pointer-events-none absolute left-0 border-red-500 -top-1.5 flex h-full w-full select-none text-[11px] font-normal leading-tight text-blue-gray-400 transition-all before:pointer-events-none before:mt-[6.5px] before:mr-1 before:box-border before:block before:h-1.5 before:w-2.5 before:rounded-tl-md before:border-t before:border-l before:border-blue-gray-200 before:transition-all after:pointer-events-none after:mt-[6.5px] after:ml-1 after:box-border after:block after:h-1.5 after:w-2.5 after:flex-grow after:rounded-tr-md after:border-t after:border-r after:border-blue-gray-200 after:transition-all peer-placeholder-shown:text-sm peer-placeholder-shown:leading-[3.75] peer-placeholder-shown:text-blue-gray-500 peer-placeholder-shown:before:border-transparent peer-placeholder-shown:after:border-transparent peer-focus:text-[11px] peer-focus:leading-tight peer-focus:text-blue-500 peer-focus:before:border-t-2 peer-focus:before:border-l-2 peer-focus:before:border-blue-500 peer-focus:after:border-t-2 peer-focus:after:border-r-2 peer-focus:after:border-blue-500 peer-disabled:text-transparent peer-disabled:before:border-transparent peer-disabled:after:border-transparent peer-disabled:peer-placeholder-shown:text-blue-gray-500" }, y = /* @__PURE__ */ t({
|
|
4
|
+
__name: "EpSelect",
|
|
5
|
+
props: {
|
|
6
|
+
id: { default: "0" },
|
|
7
|
+
label: { default: "label" },
|
|
8
|
+
modelValue: { default: "" },
|
|
9
|
+
type: { default: "text" },
|
|
10
|
+
placeholder: { default: "" },
|
|
11
|
+
iconPath: { default: "" },
|
|
12
|
+
iconSize: { default: "" },
|
|
13
|
+
disabled: { type: Boolean, default: !1 },
|
|
14
|
+
readonly: { type: Boolean },
|
|
15
|
+
labels: { default: () => ({
|
|
16
|
+
option: "Choisissez une option",
|
|
17
|
+
vanderpoel: "Van Der Poel",
|
|
18
|
+
vanaert: "Van Aert",
|
|
19
|
+
pogacar: "Pogacar",
|
|
20
|
+
evenepoel: "Evenepoel",
|
|
21
|
+
meilleur: "Quel est le meilleur cycliste"
|
|
22
|
+
}) }
|
|
23
|
+
},
|
|
24
|
+
setup(v) {
|
|
25
|
+
return (e, w) => (l(), a("div", p, [
|
|
26
|
+
r("select", {
|
|
27
|
+
disabled: e.disabled,
|
|
28
|
+
class: "peer h-full w-full rounded-[7px] border border-neutral-300 border-t-transparent bg-transparent px-3 py-2.5 font-sans text-sm font-normal text-blue-gray-700 outline outline-0 transition-all placeholder-shown:border placeholder-shown:border-blue-gray-200 placeholder-shown:border-t-blue-gray-200 empty:!bg-red-500 focus:border-2 focus:border-blue-500 focus:border-t-transparent focus:outline-4 placeholder-shown:outline-0 disabled:border-0 disabled:cursor-not-allowed disabled:bg-neutral-200 focus:ring-0"
|
|
29
|
+
}, [
|
|
30
|
+
r("option", i, o(e.labels.option), 1),
|
|
31
|
+
r("option", u, o(e.labels.vanderpoel), 1),
|
|
32
|
+
r("option", c, o(e.labels.vanaert), 1),
|
|
33
|
+
r("option", h, o(e.labels.pogacar), 1),
|
|
34
|
+
r("option", m, o(e.labels.evenepoel), 1)
|
|
35
|
+
], 8, f),
|
|
36
|
+
r("label", g, o(e.labels.meilleur), 1),
|
|
37
|
+
n(s, { iconPath: d(b) }, null, 8, ["iconPath"])
|
|
38
|
+
]));
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
export {
|
|
42
|
+
y as default
|
|
43
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { defineComponent as g, computed as f, toRefs as b, openBlock as k, createElementBlock as h, createElementVNode as r, unref as e, normalizeClass as y, toDisplayString as m } from "vue";
|
|
2
|
+
const _ = {
|
|
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
|
+
}, w = { class: "relative inline-flex items-center cursor-pointer" }, x = ["id", "checked", "value", "disabled"], v = ["for"], $ = /* @__PURE__ */ g({
|
|
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, s = n, o = (t) => {
|
|
25
|
+
s("update:modelValue", t.target.checked);
|
|
26
|
+
}, u = f(() => `${_[a.type]}`), {
|
|
27
|
+
id: d,
|
|
28
|
+
label: i,
|
|
29
|
+
type: V,
|
|
30
|
+
modelValue: l,
|
|
31
|
+
disabled: p,
|
|
32
|
+
readonly: B,
|
|
33
|
+
checked: C
|
|
34
|
+
} = b(a);
|
|
35
|
+
return (t, E) => (k(), h("div", null, [
|
|
36
|
+
r("label", w, [
|
|
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(p),
|
|
46
|
+
onChange: o
|
|
47
|
+
}, null, 40, x),
|
|
48
|
+
r("div", {
|
|
49
|
+
class: y(`w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4
|
|
50
|
+
${u.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
|
+
}, m(e(i)), 9, v)
|
|
59
|
+
]));
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
export {
|
|
63
|
+
$ as default
|
|
64
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { defineComponent as a, toRefs as n, openBlock as d, createElementBlock as s, createElementVNode as e, unref as f, toDisplayString as b } from "vue";
|
|
2
|
+
const p = { class: "w-96" }, u = { class: "relative w-full min-w-[200px]" }, i = ["disabled"], c = { class: "before:content[' '] after:content[' '] pointer-events-none absolute left-0 -top-1.5 flex h-full w-full select-none text-[11px] font-normal leading-tight text-blue-400 transition-all before:pointer-events-none before:mt-[6.5px] before:mr-1 before:box-border before:block before:h-1.5 before:w-2.5 before:rounded-tl-md before:border-t before:border-l before:border-neutral-300 before:transition-all after:pointer-events-none after:mt-[6.5px] after:ml-1 after:box-border after:block after:h-1.5 after:w-2.5 after:flex-grow after:rounded-tr-md after:border-t after:border-r after:border-neutral-300 after:transition-all peer-placeholder-shown:text-sm peer-placeholder-shown:leading-[3.75] peer-placeholder-shown:text-blue-500 peer-placeholder-shown:before:border-transparent peer-placeholder-shown:after:border-transparent peer-focus:text-[11px] peer-focus:leading-tight peer-focus:text-blue-500 peer-focus:before:border-t-2 peer-focus:before:border-l-2 peer-focus:before:border-blue-500 peer-focus:after:border-t-2 peer-focus:after:border-r-2 peer-focus:after:border-blue-500 peer-disabled:text-transparent peer-disabled:before:border-transparent peer-disabled:after:border-transparent peer-disabled:peer-placeholder-shown:text-blue-500" }, V = /* @__PURE__ */ a({
|
|
3
|
+
__name: "EpTextarea",
|
|
4
|
+
props: {
|
|
5
|
+
id: { default: "0" },
|
|
6
|
+
label: { default: "label" },
|
|
7
|
+
modelValue: { default: "" },
|
|
8
|
+
type: { default: "text" },
|
|
9
|
+
placeholder: { default: "" },
|
|
10
|
+
iconPath: { default: "" },
|
|
11
|
+
iconSize: { default: "" },
|
|
12
|
+
disabled: { type: Boolean, default: !1 },
|
|
13
|
+
readonly: { type: Boolean, default: !1 },
|
|
14
|
+
labels: { default: () => ({
|
|
15
|
+
message: "Message"
|
|
16
|
+
}) }
|
|
17
|
+
},
|
|
18
|
+
emits: ["update:modelValue"],
|
|
19
|
+
setup(r, { emit: h }) {
|
|
20
|
+
const t = r, {
|
|
21
|
+
id: m,
|
|
22
|
+
label: x,
|
|
23
|
+
type: w,
|
|
24
|
+
modelValue: _,
|
|
25
|
+
placeholder: g,
|
|
26
|
+
iconPath: y,
|
|
27
|
+
disabled: o,
|
|
28
|
+
readonly: v
|
|
29
|
+
} = n(t);
|
|
30
|
+
return (l, k) => (d(), s("div", p, [
|
|
31
|
+
e("div", u, [
|
|
32
|
+
e("textarea", {
|
|
33
|
+
disabled: f(o),
|
|
34
|
+
class: "peer h-full min-h-[100px] w-full resize-none rounded-[7px] border border-neutral-300 bg-transparent px-3 py-2.5 font-sans text-sm font-normal text-neutral-700 outline outline-0 transition-all placeholder-shown:border placeholder-shown:border-neutral-300 placeholder-shown:border-t-neutral-200 focus:border-2 focus:border-blue-500 focus:border-t-transparent focus:outline-0 disabled:resize-none disabled:border-0 disabled:bg-neutral-100 disabled:cursor-not-allowed disabled:bg-neutral-200 focus:ring-0",
|
|
35
|
+
placeholder: " "
|
|
36
|
+
}, null, 8, i),
|
|
37
|
+
e("label", c, b(l.labels.message), 1)
|
|
38
|
+
])
|
|
39
|
+
]));
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
export {
|
|
43
|
+
V as default
|
|
44
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { defineComponent as s, toRefs as n, openBlock as u, createElementBlock as b, createElementVNode as o, unref as e, toDisplayString as _ } from "vue";
|
|
2
|
+
const p = ["id", "type", "checked", "disabled"], h = ["for"], B = /* @__PURE__ */ s({
|
|
3
|
+
__name: "EpToggle",
|
|
4
|
+
props: {
|
|
5
|
+
id: { default: "toggle" },
|
|
6
|
+
label: { default: "label" },
|
|
7
|
+
modelValue: { default: "" },
|
|
8
|
+
type: { default: "checkbox" },
|
|
9
|
+
placeholder: { default: "" },
|
|
10
|
+
disabled: { type: Boolean, default: !1 },
|
|
11
|
+
readonly: { type: Boolean, default: !1 },
|
|
12
|
+
checked: { type: Boolean, default: !1 },
|
|
13
|
+
labels: { default: () => ({
|
|
14
|
+
defaultSwitch: "Default switch checkbox input"
|
|
15
|
+
}) }
|
|
16
|
+
},
|
|
17
|
+
emits: ["update:modelValue"],
|
|
18
|
+
setup(a, { emit: i }) {
|
|
19
|
+
const t = a, {
|
|
20
|
+
id: r,
|
|
21
|
+
label: k,
|
|
22
|
+
type: c,
|
|
23
|
+
modelValue: m,
|
|
24
|
+
placeholder: x,
|
|
25
|
+
disabled: f,
|
|
26
|
+
readonly: g,
|
|
27
|
+
checked: l
|
|
28
|
+
} = n(t);
|
|
29
|
+
return (d, w) => (u(), b("div", null, [
|
|
30
|
+
o("input", {
|
|
31
|
+
id: e(r),
|
|
32
|
+
type: e(c),
|
|
33
|
+
checked: e(l),
|
|
34
|
+
class: "form-checkbox mr-2 mt-[0rem] h-4 w-8 appearance-none rounded-full bg-neutral-200 border-neutral-300 before:pointer-events-none before:absolute before:h-3.5 before:w-3.5 before:rounded-full before:bg-transparent before:content-[''] after:absolute after:z-[2] after:-mt-[0rem] after:h-3.5 after:w-3.5 after:rounded-full after:border-none after:bg-neutral-50 after:shadow-[0_0px_3px_0_rgb(0_0_0_/_7%),_0_2px_2px_0_rgb(0_0_0_/_4%)] after:transition-[background-color_0.2s,transform_0.2s] after:content-[''] checked:bg-none checked:bg-blue-600 checked:after:absolute checked:after:z-[2] checked:after:-mt-[0px] checked:after:ml-[1.0625rem] checked:after:h-3.5 checked:after:w-3.5 checked:after:rounded-full checked:after:border-none checked:after:bg-neutral-100 checked:after:shadow-[0_3px_1px_-2px_rgba(0,0,0,0.2),_0_2px_2px_0_rgba(0,0,0,0.14),_0_1px_5px_0_rgba(0,0,0,0.12)] checked:after:transition-[background-color_0.2s,transform_0.2s] checked:after:content-[''] hover:cursor-pointer focus:outline-none focus:ring-0 focus:before:scale-75 focus:before:opacity-[0.12] focus:before:mt-[0.1rem] focus:before:shadow-[3px_-1px_0px_13px_rgba(0,0,0,0.6)] focus:before:transition-[box-shadow_0.2s,transform_0.2s] focus:after:absolute focus:after:z-[1] focus:after:block focus:after:h-3.5 focus:after:w-3.5 focus:after:-mt-[0rem] focus:after:rounded-full focus:after:content-[''] checked:focus:border-neutral-200 checked:focus:bg-blue-600 checked:focus:before:ml-[1rem] checked:focus:before:mt-[0.1rem] checked:focus:before:scale-75 checked:focus:before:shadow-[3px_-1px_0px_13px_#3b71ca] checked:focus:before:transition-[box-shadow_0.2s,transform_0.2s] dark:bg-neutral-600 dark:after:bg-neutral-400 dark:checked:bg-blue-600 dark:checked:after:bg-blue-600 dark:focus:before:shadow-[3px_-1px_0px_13px_rgba(255,255,255,0.4)] dark:checked:focus:before:shadow-[3px_-1px_0px_13px_#3b71ca] disabled:opacity-40 disabled:cursor-not-allowed",
|
|
35
|
+
role: "switch",
|
|
36
|
+
disabled: e(f)
|
|
37
|
+
}, null, 8, p),
|
|
38
|
+
o("label", {
|
|
39
|
+
class: "inline-block pl-[0.15rem] hover:cursor-pointer",
|
|
40
|
+
for: e(r)
|
|
41
|
+
}, _(d.labels.defaultSwitch), 9, h)
|
|
42
|
+
]));
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
B as default
|
|
47
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { defineComponent as i, computed as a, openBlock as b, createElementBlock as w, renderSlot as d, createElementVNode as h, normalizeClass as y, toDisplayString as k } from "vue";
|
|
2
|
+
const x = {
|
|
3
|
+
top: {
|
|
4
|
+
default: "text-gray-600 bg-gray-300 -top-7 inset-x-0",
|
|
5
|
+
dark: "text-white bg-black -top-7 inset-x-0",
|
|
6
|
+
arrow: "text-gray-600 bg-gray-300 -top-7 inset-x-0 arrow-light-top",
|
|
7
|
+
arrowdark: "text-white bg-black -top-7 inset-x-0 arrow-dark-top "
|
|
8
|
+
},
|
|
9
|
+
top_start: {
|
|
10
|
+
default: "text-gray-600 bg-gray-300 -top-7 left-0",
|
|
11
|
+
dark: "text-white bg-black -top-7 left-0",
|
|
12
|
+
arrow: "text-gray-600 bg-gray-300 -top-7 left-0 arrow-light-top ",
|
|
13
|
+
arrowdark: "text-white bg-black -top-7 inset-x-0 arrow-dark-top "
|
|
14
|
+
},
|
|
15
|
+
top_end: {
|
|
16
|
+
default: "text-gray-600 bg-gray-300 -top-7 right-0",
|
|
17
|
+
dark: "text-white bg-black -top-7 right-0",
|
|
18
|
+
arrow: "text-gray-600 bg-gray-300 -top-7 right-0 arrow-light-top ",
|
|
19
|
+
arrowdark: "text-white bg-black -top-7 right-0 arrow-dark-top "
|
|
20
|
+
},
|
|
21
|
+
bottom: {
|
|
22
|
+
default: "text-gray-600 bg-gray-300 -bottom-7 inset-x-0 ",
|
|
23
|
+
dark: "text-white bg-black -bottom-7 inset-x-0 ",
|
|
24
|
+
arrow: "text-gray-600 bg-gray-300 -bottom-7 inset-x-0 arrow-light-bottom ",
|
|
25
|
+
arrowdark: "text-white bg-black -bottom-7 inset-x-0 arrow-dark-bottom "
|
|
26
|
+
},
|
|
27
|
+
bottom_start: {
|
|
28
|
+
default: "text-gray-600 bg-gray-300 -bottom-7 left-0",
|
|
29
|
+
dark: "text-white bg-black -bottom-7 left-0",
|
|
30
|
+
arrow: "text-gray-600 bg-gray-300 -bottom-7 left-0 arrow-light-bottom",
|
|
31
|
+
arrowdark: "text-white bg-black -bottom-7 left-0 arrow-dark-bottom "
|
|
32
|
+
},
|
|
33
|
+
bottom_end: {
|
|
34
|
+
default: "text-gray-600 bg-gray-300 -bottom-7 right-0",
|
|
35
|
+
dark: "text-white bg-black -bottom-7 right-0",
|
|
36
|
+
arrow: "text-gray-600 bg-gray-300 -bottom-7 right-0 arrow-light-bottom ",
|
|
37
|
+
arrowdark: "text-white bg-black -bottom-7 right-0 arrow-dark-bottom "
|
|
38
|
+
},
|
|
39
|
+
left: {
|
|
40
|
+
default: "text-gray-600 bg-gray-300 inset-y-0 -left-12",
|
|
41
|
+
dark: "text-white bg-black inset-y-0 -left-12",
|
|
42
|
+
arrow: "arrow-light-left text-gray-600 bg-gray-300 inset-y-0 -left-12",
|
|
43
|
+
arrowdark: "text-white bg-black inset-y-0 -left-12 arrow-dark-left "
|
|
44
|
+
},
|
|
45
|
+
left_start: {
|
|
46
|
+
default: "text-gray-600 bg-gray-300 top-0 -left-12",
|
|
47
|
+
dark: "text-white bg-black top-0 -left-12",
|
|
48
|
+
arrow: "text-gray-600 bg-gray-300 top-0 -left-12 arrow-light-left",
|
|
49
|
+
arrowdark: "text-white bg-black top-0 -left-12 arrow-dark-left "
|
|
50
|
+
},
|
|
51
|
+
left_end: {
|
|
52
|
+
default: "text-gray-600 bg-gray-300 bottom-0 -left-12",
|
|
53
|
+
dark: "text-white bg-black bottom-0 -left-12",
|
|
54
|
+
arrow: "text-gray-600 bg-gray-300 bottom-0 -left-12 arrow-light-left ",
|
|
55
|
+
arrowdark: "text-white bg-black arrow-dark-left bottom-0 -left-12"
|
|
56
|
+
},
|
|
57
|
+
right: {
|
|
58
|
+
default: "text-gray-600 bg-gray-300 inset-y-0 -right-12",
|
|
59
|
+
dark: "text-white bg-black inset-y-0 -right-12",
|
|
60
|
+
arrow: "text-gray-600 bg-gray-300 inset-y-0 -right-12 arrow-light-right ",
|
|
61
|
+
arrowdark: "text-white bg-black inset-y-0 -right-12 arrow-dark-right"
|
|
62
|
+
},
|
|
63
|
+
right_start: {
|
|
64
|
+
default: "text-gray-600 bg-gray-300 top-0 -right-12",
|
|
65
|
+
dark: "text-white bg-black top-0 -right-12",
|
|
66
|
+
arrow: "text-gray-600 bg-gray-300 top-0 -right-12 arrow-light-right",
|
|
67
|
+
arrowdark: "text-white bg-black arrow-dark-right top-0 -right-12"
|
|
68
|
+
},
|
|
69
|
+
right_end: {
|
|
70
|
+
default: "text-gray-600 bg-gray-300 bottom-0 -right-12",
|
|
71
|
+
dark: "text-white bg-black bottom-0 -right-12",
|
|
72
|
+
arrow: "text-gray-600 bg-gray-300 bottom-0 -right-12 arrow-light-right",
|
|
73
|
+
arrowdark: "text-white bg-black bottom-0 -right-12 arrow-dark-right "
|
|
74
|
+
}
|
|
75
|
+
}, n = { class: "group relative w-max" }, f = /* @__PURE__ */ i({
|
|
76
|
+
__name: "EpTooltip",
|
|
77
|
+
props: {
|
|
78
|
+
text: {},
|
|
79
|
+
styles: { default: "light" },
|
|
80
|
+
placement: { default: "top" },
|
|
81
|
+
type: {},
|
|
82
|
+
arrow: { default: "none" }
|
|
83
|
+
},
|
|
84
|
+
setup(e) {
|
|
85
|
+
const r = e, o = a(() => r.placement), g = a(() => r.arrow == "arrow" ? r.styles == "dark" ? "arrowdark" : "arrow" : r.styles == "light" ? "default" : "dark"), l = a(() => {
|
|
86
|
+
var t;
|
|
87
|
+
return `${(t = x[o.value]) == null ? void 0 : t[g.value]}`;
|
|
88
|
+
});
|
|
89
|
+
return (t, s) => (b(), w("div", n, [
|
|
90
|
+
d(t.$slots, "default"),
|
|
91
|
+
h("span", {
|
|
92
|
+
class: y(`pointer-events-none absolute w-max rounded px-2 py-1 text-sm font-medium opacity-0 shadow transition-opacity group-hover:opacity-100 ${l.value} `)
|
|
93
|
+
}, k(t.text), 3)
|
|
94
|
+
]));
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
export {
|
|
98
|
+
f as default
|
|
99
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
type Color = "primary" | "secondary" | "accent" | "error" | "warning" | "success" | "info" | "question" | "tip";
|
|
2
|
+
type Variant = "circle" | "square" | "rounded";
|
|
3
|
+
type Size = "small" | "middle" | "big";
|
|
4
|
+
interface Props {
|
|
5
|
+
src?: string;
|
|
6
|
+
alt?: string;
|
|
7
|
+
color?: Color;
|
|
8
|
+
size?: Size;
|
|
9
|
+
variant?: Variant;
|
|
10
|
+
name?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
13
|
+
src: string;
|
|
14
|
+
alt: string;
|
|
15
|
+
color: string;
|
|
16
|
+
size: string;
|
|
17
|
+
variant: string;
|
|
18
|
+
name: string;
|
|
19
|
+
}>, {}, unknown, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
20
|
+
src: string;
|
|
21
|
+
alt: string;
|
|
22
|
+
color: string;
|
|
23
|
+
size: string;
|
|
24
|
+
variant: string;
|
|
25
|
+
name: string;
|
|
26
|
+
}>>>, {
|
|
27
|
+
src: string;
|
|
28
|
+
alt: string;
|
|
29
|
+
color: Color;
|
|
30
|
+
size: Size;
|
|
31
|
+
variant: Variant;
|
|
32
|
+
name: string;
|
|
33
|
+
}, {}>;
|
|
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/dist/vue.esm-bundler.js').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
+
} : {
|
|
40
|
+
type: import('../../../vue/dist/vue.esm-bundler.js').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
|
+
} & {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
color?: string;
|
|
3
|
+
outlined?: boolean;
|
|
4
|
+
square?: boolean;
|
|
5
|
+
iconPath?: string | null;
|
|
6
|
+
labels?: {
|
|
7
|
+
inProgress?: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
11
|
+
color: string;
|
|
12
|
+
square: boolean;
|
|
13
|
+
iconPath: null;
|
|
14
|
+
labels: () => {
|
|
15
|
+
inProgress: string;
|
|
16
|
+
};
|
|
17
|
+
}>, {}, unknown, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
18
|
+
color: string;
|
|
19
|
+
square: boolean;
|
|
20
|
+
iconPath: null;
|
|
21
|
+
labels: () => {
|
|
22
|
+
inProgress: string;
|
|
23
|
+
};
|
|
24
|
+
}>>>, {
|
|
25
|
+
square: boolean;
|
|
26
|
+
color: string;
|
|
27
|
+
iconPath: string | null;
|
|
28
|
+
labels: {
|
|
29
|
+
inProgress?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
}, {}>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
+
type: import('../../../vue/dist/vue.esm-bundler.js').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
+
} : {
|
|
38
|
+
type: import('../../../vue/dist/vue.esm-bundler.js').PropType<T[K]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
type __VLS_WithDefaults<P, D> = {
|
|
43
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
|
+
default: D[K];
|
|
45
|
+
}> : P[K];
|
|
46
|
+
};
|
|
47
|
+
type __VLS_Prettify<T> = {
|
|
48
|
+
[K in keyof T]: T[K];
|
|
49
|
+
} & {};
|