bonkers-ui 1.0.68 → 1.0.70
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/.eslintrc.js +12 -2
- package/CONSTANTS.d.ts +3 -1
- package/CONSTANTS.d.ts.map +1 -1
- package/_types/colors.d.ts +4 -0
- package/_types/colors.d.ts.map +1 -1
- package/_types/colors.js +1 -1
- package/_types/colors.js.map +1 -1
- package/_types/sizing.d.ts +28 -4
- package/_types/sizing.d.ts.map +1 -1
- package/_types/sizing.js +1 -1
- package/_types/sizing.js.map +1 -1
- package/bonkers-ui.umd.js +7 -7
- package/bonkers-ui.umd.js.map +1 -1
- package/components/ui-alert/index.d.ts +3 -3
- package/components/ui-alert/ui-alert.vue.d.ts +8 -6
- package/components/ui-alert/ui-alert.vue.d.ts.map +1 -1
- package/components/ui-alert/ui-alert.vue.js +3 -3
- package/components/ui-badge/_typings.d.ts +5 -1
- package/components/ui-badge/_typings.d.ts.map +1 -1
- package/components/ui-badge/_typings.js +3 -3
- package/components/ui-badge/_typings.js.map +1 -1
- package/components/ui-badge/index.d.ts +50 -14
- package/components/ui-badge/index.d.ts.map +1 -1
- package/components/ui-badge/ui-badge.vue.d.ts +34 -10
- package/components/ui-badge/ui-badge.vue.d.ts.map +1 -1
- package/components/ui-badge/ui-badge.vue.js +41 -35
- package/components/ui-badge/ui-badge.vue.js.map +1 -1
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +2 -2
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts.map +1 -1
- package/components/ui-button/index.d.ts +3 -3
- package/components/ui-button/ui-button.vue.d.ts +8 -6
- package/components/ui-button/ui-button.vue.d.ts.map +1 -1
- package/components/ui-button/ui-button.vue.js +4 -4
- package/components/ui-button/ui-button.vue.js.map +1 -1
- package/components/ui-card-cta/index.d.ts +3 -3
- package/components/ui-card-cta/ui-card-cta.vue.d.ts +16 -14
- package/components/ui-card-cta/ui-card-cta.vue.d.ts.map +1 -1
- package/components/ui-card-cta/ui-card-cta.vue.js +1 -1
- package/components/ui-card-result/index.d.ts +3 -3
- package/components/ui-card-result/ui-card-result.vue.d.ts +16 -14
- package/components/ui-card-result/ui-card-result.vue.d.ts.map +1 -1
- package/components/ui-card-result/ui-card-result.vue.js +4 -4
- package/components/ui-card-result/ui-card-result.vue2.js +14 -14
- package/components/ui-card-simple/_typings.d.ts +5 -0
- package/components/ui-card-simple/_typings.d.ts.map +1 -0
- package/components/ui-card-simple/index.d.ts +3 -3
- package/components/ui-card-simple/ui-card-simple.vue.d.ts +4 -2
- package/components/ui-card-simple/ui-card-simple.vue.d.ts.map +1 -1
- package/components/ui-card-simple/ui-card-simple.vue.js +7 -8
- package/components/ui-card-simple/ui-card-simple.vue.js.map +1 -1
- package/components/ui-checkbox/index.d.ts +3 -3
- package/components/ui-checkbox/ui-checkbox.vue.d.ts +14 -12
- package/components/ui-checkbox/ui-checkbox.vue.d.ts.map +1 -1
- package/components/ui-dropdown/index.d.ts +3 -3
- package/components/ui-dropdown/ui-dropdown.vue.d.ts +14 -12
- package/components/ui-dropdown/ui-dropdown.vue.d.ts.map +1 -1
- package/components/ui-dropdown/ui-dropdown.vue.js +4 -4
- package/components/ui-dropdown/ui-dropdown.vue.js.map +1 -1
- package/components/ui-icon/ui-icon.vue.d.ts +2 -2
- package/components/ui-icon/ui-icon.vue.d.ts.map +1 -1
- package/components/ui-icon/ui-icon.vue.js +19 -15
- package/components/ui-icon/ui-icon.vue.js.map +1 -1
- package/components/ui-icon-wrapper/index.d.ts +3 -3
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +6 -4
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts.map +1 -1
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js +2 -2
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js +2 -2
- package/components/ui-input/index.d.ts +3 -3
- package/components/ui-input/ui-input.vue.d.ts +33 -31
- package/components/ui-input/ui-input.vue.d.ts.map +1 -1
- package/components/ui-input/ui-input.vue.js +3 -3
- package/components/ui-input/ui-input.vue.js.map +1 -1
- package/components/ui-input-range/ui-input-range.vue.d.ts.map +1 -1
- package/components/ui-input-range/ui-input-range.vue.js +2 -2
- package/components/ui-input-range/ui-input-range.vue2.js +11 -11
- package/components/ui-input-range/ui-input-range.vue2.js.map +1 -1
- package/components/ui-list-item/index.d.ts +7 -7
- package/components/ui-list-item/ui-list-item.vue.d.ts +21 -19
- package/components/ui-list-item/ui-list-item.vue.d.ts.map +1 -1
- package/components/ui-list-item/ui-list-item.vue.js +6 -6
- package/components/ui-modal/index.d.ts +3 -3
- package/components/ui-modal/ui-backdrop/index.d.ts +3 -3
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts +4 -2
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts.map +1 -1
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js +6 -6
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js.map +1 -1
- package/components/ui-modal/ui-modal.vue.d.ts +13 -11
- package/components/ui-modal/ui-modal.vue.d.ts.map +1 -1
- package/components/ui-modal/ui-modal.vue.js +2 -2
- package/components/ui-modal/ui-modal.vue2.js +20 -24
- package/components/ui-modal/ui-modal.vue2.js.map +1 -1
- package/components/ui-notification-badge/index.d.ts +3 -3
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +8 -6
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts.map +1 -1
- package/components/ui-notification-badge/ui-notification-badge.vue.js +1 -1
- package/components/ui-order-card/index.d.ts +3 -3
- package/components/ui-order-card/ui-order-card.vue.d.ts +10 -8
- package/components/ui-order-card/ui-order-card.vue.d.ts.map +1 -1
- package/components/ui-order-card/ui-order-card.vue.js +4 -4
- package/components/ui-order-card/ui-order-card.vue.js.map +1 -1
- package/components/ui-plain-radio/index.d.ts +3 -3
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +13 -11
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts.map +1 -1
- package/components/ui-plain-radio/ui-plain-radio.vue.js +5 -5
- package/components/ui-plain-radio/ui-plain-radio.vue.js.map +1 -1
- package/components/ui-product-card/index.d.ts +2 -0
- package/components/ui-product-card/index.d.ts.map +1 -0
- package/components/ui-product-card/index.js +5 -0
- package/components/ui-product-card/index.js.map +1 -0
- package/components/ui-product-card/ui-product-card.vue.d.ts +32 -0
- package/components/ui-product-card/ui-product-card.vue.d.ts.map +1 -0
- package/components/ui-product-card/ui-product-card.vue.js +64 -0
- package/components/ui-product-card/ui-product-card.vue.js.map +1 -0
- package/components/ui-product-card/ui-product-card.vue2.js +5 -0
- package/components/ui-product-card/ui-product-card.vue2.js.map +1 -0
- package/components/ui-progress/index.d.ts +9 -0
- package/components/ui-progress/index.d.ts.map +1 -1
- package/components/ui-progress/ui-progress.vue.d.ts +5 -0
- package/components/ui-progress/ui-progress.vue.d.ts.map +1 -1
- package/components/ui-progress/ui-progress.vue.js +29 -13
- package/components/ui-progress/ui-progress.vue.js.map +1 -1
- package/components/ui-radio/index.d.ts +3 -3
- package/components/ui-radio/ui-radio.vue.d.ts +12 -10
- package/components/ui-radio/ui-radio.vue.d.ts.map +1 -1
- package/components/ui-radio/ui-radio.vue.js +2 -2
- package/components/ui-radio/ui-radio.vue2.js +9 -9
- package/components/ui-radio/ui-radio.vue2.js.map +1 -1
- package/components/ui-radio-compact/index.d.ts +3 -3
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts +8 -6
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts.map +1 -1
- package/components/ui-radio-compact/ui-radio-compact.vue.js +5 -5
- package/components/ui-radio-compact/ui-radio-compact.vue.js.map +1 -1
- package/components/ui-radio-fancy/index.d.ts +3 -3
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +12 -10
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts.map +1 -1
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js +20 -20
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js.map +1 -1
- package/components/ui-result-card-range/index.d.ts +3 -3
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts +10 -8
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts.map +1 -1
- package/components/ui-result-card-range/ui-result-card-range.vue.js +2 -2
- package/components/ui-ripple/index.d.ts +3 -3
- package/components/ui-ripple/ui-ripple.vue.d.ts +4 -2
- package/components/ui-ripple/ui-ripple.vue.d.ts.map +1 -1
- package/components/ui-select/index.d.ts +3 -3
- package/components/ui-select/ui-select.vue.d.ts +15 -13
- package/components/ui-select/ui-select.vue.d.ts.map +1 -1
- package/components/ui-select/ui-select.vue.js +5 -5
- package/components/ui-select/ui-select.vue.js.map +1 -1
- package/components/ui-skeleton/ui-skeleton.vue.d.ts +2 -2
- package/components/ui-skeleton/ui-skeleton.vue.d.ts.map +1 -1
- package/components/ui-skeleton/ui-skeleton.vue.js +26 -28
- package/components/ui-skeleton/ui-skeleton.vue.js.map +1 -1
- package/components/ui-snackbar/index.d.ts +3 -3
- package/components/ui-snackbar/ui-snackbar.vue.d.ts +10 -8
- package/components/ui-snackbar/ui-snackbar.vue.d.ts.map +1 -1
- package/components/ui-snackbar/ui-snackbar.vue.js +2 -2
- package/components/ui-table/index.d.ts +3 -3
- package/components/ui-table/ui-table-cell/index.d.ts +3 -3
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts +10 -8
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts.map +1 -1
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.js +1 -1
- package/components/ui-table/ui-table-row/index.d.ts +3 -3
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts +8 -6
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts.map +1 -1
- package/components/ui-table/ui-table-row/ui-table-row.vue.js +3 -3
- package/components/ui-table/ui-table.vue.d.ts +8 -6
- package/components/ui-table/ui-table.vue.d.ts.map +1 -1
- package/components/ui-table/ui-table.vue.js +4 -4
- package/components/ui-table/ui-table.vue2.js +1 -1
- package/components/ui-tabs/ui-tabs.vue.d.ts +2 -2
- package/components/ui-tabs/ui-tabs.vue.d.ts.map +1 -1
- package/components/ui-tabs/ui-tabs.vue.js +3 -3
- package/components/ui-tabs/ui-tabs.vue2.js +6 -6
- package/components/ui-tabs/ui-tabs.vue2.js.map +1 -1
- package/components/ui-toggle/index.d.ts +3 -3
- package/components/ui-toggle/ui-toggle.vue.d.ts +19 -17
- package/components/ui-toggle/ui-toggle.vue.d.ts.map +1 -1
- package/components/ui-toggle/ui-toggle.vue.js +3 -3
- package/components/ui-toggle/ui-toggle.vue2.js +8 -8
- package/components/ui-toggle/ui-toggle.vue2.js.map +1 -1
- package/components/ui-typography/index.d.ts +3 -3
- package/components/ui-typography/ui-typography.vue.d.ts +22 -20
- package/components/ui-typography/ui-typography.vue.d.ts.map +1 -1
- package/components/ui-typography/ui-typography.vue.js +7 -3
- package/components/ui-typography/ui-typography.vue.js.map +1 -1
- package/components/ui-verification-input/index.d.ts +3 -3
- package/components/ui-verification-input/ui-verification-input.vue.d.ts +6 -4
- package/components/ui-verification-input/ui-verification-input.vue.d.ts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +124 -122
- package/index.js.map +1 -1
- package/package.json +26 -25
- package/plugin.ts +17 -9
- package/src/_styles/_colors.json +5 -1
- package/src/_styles/_spacing.json +7 -3
- package/tailwind.config.ts +1 -1
- package/types.js +56 -55
- package/types.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-skeleton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-skeleton/ui-skeleton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-skeleton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-skeleton/ui-skeleton.vue"],"names":[],"mappings":"AAsIA;AAEC,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;;WA+MlC,aAAa;;;;WAAb,aAAa;;;;UAAb,aAAa;;AANvB,wBAQG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,43 +1,41 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as a, unref as r, openBlock as t, createElementBlock as d, createElementVNode as e, Fragment as c, renderList as _, normalizeClass as i, createStaticVNode as u } from "vue";
|
|
2
2
|
import { ESkeletonKind as o } from "./_typings.js";
|
|
3
|
-
const
|
|
3
|
+
const x = {
|
|
4
4
|
key: 0,
|
|
5
|
-
class: "ui-skeleton-card animate-pulse rounded-2xl border-2 border-secondary-alt-300 p-
|
|
6
|
-
},
|
|
7
|
-
/* @__PURE__ */ e("div", { class: "ui-skeleton-card__footer__text h-md w-1/4 self-end rounded-
|
|
8
|
-
/* @__PURE__ */ e("div", { class: "ui-skeleton-card__footer__text h-
|
|
9
|
-
], -1),
|
|
5
|
+
class: "ui-skeleton-card animate-pulse rounded-2xl border-2 border-secondary-alt-300 p-xxs"
|
|
6
|
+
}, m = /* @__PURE__ */ u('<div class="ui-skeleton-card__header flex items-center gap-xs rounded-xl bg-secondary-alt-200 p-xxs"><div class="grid grow gap-xxs"><div class="ui-skeleton-card__content__text h-md rounded-md bg-secondary-alt-300"></div><div class="ui-skeleton-card__content__text h-md w-5/6 rounded-md bg-secondary-alt-300"></div></div><div class="ui-skeleton-card__header__image size-xxxl rounded-lg bg-secondary-alt-300"></div></div>', 1), g = { class: "ui-skeleton-card__content flex flex-col items-start justify-start rounded-xl pt-sm" }, k = /* @__PURE__ */ e("div", { class: "ui-skeleton-card__footer flex flex-row justify-between" }, [
|
|
7
|
+
/* @__PURE__ */ e("div", { class: "ui-skeleton-card__footer__text h-md w-1/4 self-end rounded-xl bg-secondary-alt-300" }),
|
|
8
|
+
/* @__PURE__ */ e("div", { class: "ui-skeleton-card__footer__text h-xl w-1/4 rounded-xl bg-secondary-alt-300" })
|
|
9
|
+
], -1), h = /* @__PURE__ */ e("div", { class: "ui-skeleton-card__button mt-xxs flex h-md w-full items-center justify-center rounded-xl bg-secondary-alt-300 py-md" }, null, -1), f = {
|
|
10
10
|
key: 1,
|
|
11
|
-
class: "ui-skeleton-
|
|
12
|
-
},
|
|
11
|
+
class: "ui-skeleton-card__header flex items-center gap-xs rounded-xl p-xxs"
|
|
12
|
+
}, v = /* @__PURE__ */ e("div", { class: "grow" }, [
|
|
13
|
+
/* @__PURE__ */ e("div", { class: "ui-skeleton-card__content__text h-md w-3/6 rounded-md bg-secondary-alt-300" })
|
|
14
|
+
], -1), p = /* @__PURE__ */ e("div", { class: "ui-skeleton-card__header__image size-xxl rounded-lg bg-secondary-alt-300" }, null, -1), y = /* @__PURE__ */ e("div", { class: "ui-skeleton-card__header__image size-xxl rounded-lg bg-secondary-alt-300" }, null, -1), b = [
|
|
15
|
+
v,
|
|
16
|
+
p,
|
|
17
|
+
y
|
|
18
|
+
], R = /* @__PURE__ */ a({
|
|
13
19
|
__name: "ui-skeleton",
|
|
14
20
|
props: {
|
|
15
21
|
kind: { default: o.RESULT_CARD }
|
|
16
22
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
19
|
-
return (
|
|
20
|
-
|
|
21
|
-
e("div",
|
|
22
|
-
(
|
|
23
|
-
key:
|
|
24
|
-
class:
|
|
23
|
+
setup(n) {
|
|
24
|
+
const l = n;
|
|
25
|
+
return (w, E) => l.kind === r(o).RESULT_CARD ? (t(), d("div", x, [
|
|
26
|
+
m,
|
|
27
|
+
e("div", g, [
|
|
28
|
+
(t(), d(c, null, _(["w-1/2", "w-1/3", "w-2/3", "w-3/4"], (s) => e("div", {
|
|
29
|
+
key: s,
|
|
30
|
+
class: i([`${s}`, "ui-skeleton-card__content__text mb-xxs h-md rounded-md bg-secondary-alt-300"])
|
|
25
31
|
}, null, 2)), 64))
|
|
26
32
|
]),
|
|
27
33
|
k,
|
|
28
|
-
|
|
29
|
-
])) : (
|
|
30
|
-
w,
|
|
31
|
-
e("div", g, [
|
|
32
|
-
(s(), l(d, null, n(2, (t) => e("div", {
|
|
33
|
-
key: t,
|
|
34
|
-
class: "ui-skeleton-menu__filters__item relative w-xl rounded-md bg-secondary-alt-300"
|
|
35
|
-
})), 64))
|
|
36
|
-
])
|
|
37
|
-
]));
|
|
34
|
+
h
|
|
35
|
+
])) : (t(), d("div", f, b));
|
|
38
36
|
}
|
|
39
37
|
});
|
|
40
38
|
export {
|
|
41
|
-
|
|
39
|
+
R as default
|
|
42
40
|
};
|
|
43
41
|
//# sourceMappingURL=ui-skeleton.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-skeleton.vue.js","sources":["../../../src/components/ui-skeleton/ui-skeleton.vue"],"sourcesContent":["<template>\n\t<div\n\t\tv-if=\"props.kind === ESkeletonKind.RESULT_CARD\"\n\t\tclass=\"ui-skeleton-card animate-pulse rounded-2xl border-2 border-secondary-alt-300 p-
|
|
1
|
+
{"version":3,"file":"ui-skeleton.vue.js","sources":["../../../src/components/ui-skeleton/ui-skeleton.vue"],"sourcesContent":["<template>\n\t<div\n\t\tv-if=\"props.kind === ESkeletonKind.RESULT_CARD\"\n\t\tclass=\"ui-skeleton-card animate-pulse rounded-2xl border-2 border-secondary-alt-300 p-xxs\"\n\t>\n\t\t<div\n\t\t\tclass=\"\n\t\t\t\tui-skeleton-card__header\n\t\t\t\tflex\n\t\t\t\titems-center\n\t\t\t\tgap-xs\n\t\t\t\trounded-xl\n\t\t\t\tbg-secondary-alt-200\n\t\t\t\tp-xxs\n\t\t\t\t\"\n\t\t>\n\t\t\t<div class=\"grid grow gap-xxs\">\n\t\t\t\t<div\n\t\t\t\t\tclass=\"\n\t\t\t\t\t\tui-skeleton-card__content__text\n\t\t\t\t\t\th-md\n\t\t\t\t\t\trounded-md\n\t\t\t\t\t\tbg-secondary-alt-300\n\t\t\t\t\t\t\"\n\t\t\t\t/>\n\t\t\t\t<div\n\t\t\t\t\tclass=\"\n\t\t\t\t\t\tui-skeleton-card__content__text\n\t\t\t\t\t\th-md\n\t\t\t\t\t\tw-5/6\n\t\t\t\t\t\trounded-md\n\t\t\t\t\t\tbg-secondary-alt-300\n\t\t\t\t\t\t\"\n\t\t\t\t/>\n\t\t\t</div>\n\n\t\t\t<div\n\t\t\t\tclass=\"\n\t\t\t\t\tui-skeleton-card__header__image\n\t\t\t\t\tsize-xxxl\n\t\t\t\t\trounded-lg\n\t\t\t\t\tbg-secondary-alt-300\n\t\t\t\t\t\"\n\t\t\t/>\n\t\t</div>\n\n\t\t<div\n\t\t\tclass=\"\n\t\t\t\tui-skeleton-card__content\n\t\t\t\tflex\n\t\t\t\tflex-col\n\t\t\t\titems-start\n\t\t\t\tjustify-start\n\t\t\t\trounded-xl\n\t\t\t\tpt-sm\n\t\t\t\t\"\n\t\t>\n\t\t\t<div\n\t\t\t\tv-for=\"i in ['w-1/2', 'w-1/3', 'w-2/3', 'w-3/4']\"\n\t\t\t\t:key=\"i\"\n\t\t\t\t:class=\"`${i}`\"\n\t\t\t\tclass=\"\n\t\t\t\t\tui-skeleton-card__content__text\n\t\t\t\t\tmb-xxs\n\t\t\t\t\th-md\n\t\t\t\t\trounded-md\n\t\t\t\t\tbg-secondary-alt-300\n\t\t\t\t\t\"\n\t\t\t/>\n\t\t</div>\n\n\t\t<div class=\"ui-skeleton-card__footer flex flex-row justify-between\">\n\t\t\t<div\n\t\t\t\tclass=\"\n\t\t\t\t\tui-skeleton-card__footer__text\n\t\t\t\t\th-md\n\t\t\t\t\tw-1/4\n\t\t\t\t\tself-end\n\t\t\t\t\trounded-xl\n\t\t\t\t\tbg-secondary-alt-300\n\t\t\t\t\t\"\n\t\t\t/>\n\t\t\t<div\n\t\t\t\tclass=\"\n\t\t\t\t\tui-skeleton-card__footer__text\n\t\t\t\t\th-xl\n\t\t\t\t\tw-1/4\n\t\t\t\t\trounded-xl\n\t\t\t\t\tbg-secondary-alt-300\n\t\t\t\t\t\"\n\t\t\t/>\n\t\t</div>\n\n\t\t<div\n\t\t\tclass=\"\n\t\t\t\tui-skeleton-card__button\n\t\t\t\tmt-xxs\n\t\t\t\tflex\n\t\t\t\th-md\n\t\t\t\tw-full\n\t\t\t\titems-center\n\t\t\t\tjustify-center\n\t\t\t\trounded-xl\n\t\t\t\tbg-secondary-alt-300\n\t\t\t\tpy-md\n\t\t\t\t\"\n\t\t/>\n\t</div>\n\n\t<div\n\t\tv-else\n\t\tclass=\"ui-skeleton-card__header flex items-center gap-xs rounded-xl p-xxs\"\n\t>\n\t\t<div class=\"grow\">\n\t\t\t<div\n\t\t\t\tclass=\"\n\t\t\t\t\tui-skeleton-card__content__text\n\t\t\t\t\th-md\n\t\t\t\t\tw-3/6\n\t\t\t\t\trounded-md\n\t\t\t\t\tbg-secondary-alt-300\n\t\t\t\t\t\"\n\t\t\t/>\n\t\t</div>\n\n\t\t<div\n\t\t\tclass=\"ui-skeleton-card__header__image size-xxl rounded-lg bg-secondary-alt-300\"\n\t\t/>\n\n\t\t<div\n\t\t\tclass=\"ui-skeleton-card__header__image size-xxl rounded-lg bg-secondary-alt-300\"\n\t\t/>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { ESkeletonKind } from \"./_typings\";\n\n\tconst props = withDefaults(\n\t\tdefineProps<{\n\t\t\tkind?: ESkeletonKind\n\t\t}>(),\n\t\t{\n\t\t\tkind: ESkeletonKind.RESULT_CARD,\n\t\t});\n</script>\n"],"names":["props","__props"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA0IC,UAAMA,IAAQC;;;;;;;;;;;;;;"}
|
|
@@ -47,9 +47,9 @@ declare const deprecatedDefault: {
|
|
|
47
47
|
}>>, {}, {}, {}, {}, {
|
|
48
48
|
kind: ESnackbarTypes;
|
|
49
49
|
}>;
|
|
50
|
-
__isFragment?:
|
|
51
|
-
__isTeleport?:
|
|
52
|
-
__isSuspense?:
|
|
50
|
+
__isFragment?: never;
|
|
51
|
+
__isTeleport?: never;
|
|
52
|
+
__isSuspense?: never;
|
|
53
53
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
54
54
|
title: {
|
|
55
55
|
type: PropType<string>;
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import { ESnackbarTypes } from './_types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
|
-
declare
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
titleSlot?(_: {}): any;
|
|
7
|
+
articleSlot?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
10
|
title: string;
|
|
6
|
-
kind?: ESnackbarTypes
|
|
11
|
+
kind?: ESnackbarTypes;
|
|
7
12
|
}>, {
|
|
8
13
|
kind: ESnackbarTypes;
|
|
9
14
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
15
|
title: string;
|
|
11
|
-
kind?: ESnackbarTypes
|
|
16
|
+
kind?: ESnackbarTypes;
|
|
12
17
|
}>, {
|
|
13
18
|
kind: ESnackbarTypes;
|
|
14
19
|
}>>>, {
|
|
15
20
|
kind: ESnackbarTypes;
|
|
16
|
-
}, {}
|
|
17
|
-
|
|
18
|
-
titleSlot?(_: {}): any;
|
|
19
|
-
articleSlot?(_: {}): any;
|
|
20
|
-
}>;
|
|
21
|
+
}, {}>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
21
23
|
export default _default;
|
|
22
24
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
25
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-snackbar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-snackbar/ui-snackbar.vue"],"names":[],"mappings":"AA8BA;AAGC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"ui-snackbar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-snackbar/ui-snackbar.vue"],"names":[],"mappings":"AA8BA;AAGC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAiB3C,iBAAS,cAAc;qBAwFM,GAAG;uBACA,GAAG;yBACD,GAAG;EAKpC;AAcD,QAAA,MAAM,eAAe;WAMZ,MAAM;WACN,cAAc;;;;WADd,MAAM;WACN,cAAc;;;;UAAd,cAAc;MAErB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -9,8 +9,8 @@ const c = /* @__PURE__ */ s({
|
|
|
9
9
|
kind: { default: i.DEFAULT }
|
|
10
10
|
},
|
|
11
11
|
setup(h) {
|
|
12
|
-
return (e,
|
|
13
|
-
class: f(["ui-snackbar flex w-full justify-between rounded-
|
|
12
|
+
return (e, k) => (d(), p("div", {
|
|
13
|
+
class: f(["ui-snackbar flex w-full justify-between rounded-xl p-sm shadow-md", [
|
|
14
14
|
e.kind === t(i).DEFAULT && "bg-white",
|
|
15
15
|
e.kind === t(i).PRIMARY && "bg-primary text-white",
|
|
16
16
|
e.kind === t(i).WARNING && "bg-warning text-white",
|
|
@@ -38,9 +38,9 @@ declare const deprecatedDefault: {
|
|
|
38
38
|
}>>, {}, {}, {}, {}, {
|
|
39
39
|
kind: ETableKind;
|
|
40
40
|
}>;
|
|
41
|
-
__isFragment?:
|
|
42
|
-
__isTeleport?:
|
|
43
|
-
__isSuspense?:
|
|
41
|
+
__isFragment?: never;
|
|
42
|
+
__isTeleport?: never;
|
|
43
|
+
__isSuspense?: never;
|
|
44
44
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
45
45
|
kind: {
|
|
46
46
|
type: PropType<ETableKind>;
|
|
@@ -36,9 +36,9 @@ declare const deprecatedDefault: {
|
|
|
36
36
|
type: PropType<ETextWeight>;
|
|
37
37
|
};
|
|
38
38
|
}>>, {}, {}, {}, {}, {}>;
|
|
39
|
-
__isFragment?:
|
|
40
|
-
__isTeleport?:
|
|
41
|
-
__isSuspense?:
|
|
39
|
+
__isFragment?: never;
|
|
40
|
+
__isTeleport?: never;
|
|
41
|
+
__isSuspense?: never;
|
|
42
42
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
43
43
|
align: {
|
|
44
44
|
type: PropType<ETextAlign>;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { ETextAlign, ETextWeight } from '../../ui-typography';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
|
-
declare
|
|
5
|
-
align?: ETextAlign | undefined;
|
|
6
|
-
weight?: ETextWeight | undefined;
|
|
7
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
-
align?: ETextAlign | undefined;
|
|
9
|
-
weight?: ETextWeight | undefined;
|
|
10
|
-
}>>>, {}, {}>, {
|
|
4
|
+
declare function __VLS_template(): {
|
|
11
5
|
default?(_: {}): any;
|
|
12
6
|
subtext?(_: {}): any;
|
|
13
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
align?: ETextAlign;
|
|
10
|
+
weight?: ETextWeight;
|
|
11
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
align?: ETextAlign;
|
|
13
|
+
weight?: ETextWeight;
|
|
14
|
+
}>>>, {}, {}>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
14
16
|
export default _default;
|
|
15
17
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
18
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-table-cell.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui-table/ui-table-cell/ui-table-cell.vue"],"names":[],"mappings":"AAsBA;AAGC,OAAqB,EAAoB,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC
|
|
1
|
+
{"version":3,"file":"ui-table-cell.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui-table/ui-table-cell/ui-table-cell.vue"],"names":[],"mappings":"AAsBA;AAGC,OAAqB,EAAoB,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAa/F,iBAAS,cAAc;qBAiEM,GAAG;qBACF,GAAG;EAGhC;AAeD,QAAA,MAAM,eAAe;YAMX,UAAU;aACT,WAAW;;YADZ,UAAU;aACT,WAAW;aAEpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -22,7 +22,7 @@ const z = /* @__PURE__ */ n({
|
|
|
22
22
|
key: 0,
|
|
23
23
|
size: t(r).XXS,
|
|
24
24
|
weight: t(u).SEMI_BOLD,
|
|
25
|
-
class: p(["flex flex-col gap-
|
|
25
|
+
class: p(["flex flex-col gap-xxxs", e.$slots.default && "pt-sm"]),
|
|
26
26
|
kind: t(f).PRIMARY_ALT_700
|
|
27
27
|
}, {
|
|
28
28
|
default: o(() => [
|
|
@@ -28,9 +28,9 @@ declare const deprecatedDefault: {
|
|
|
28
28
|
type: PropType<ERowKind>;
|
|
29
29
|
};
|
|
30
30
|
}>>, {}, {}, {}, {}, {}>;
|
|
31
|
-
__isFragment?:
|
|
32
|
-
__isTeleport?:
|
|
33
|
-
__isSuspense?:
|
|
31
|
+
__isFragment?: never;
|
|
32
|
+
__isTeleport?: never;
|
|
33
|
+
__isSuspense?: never;
|
|
34
34
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
35
35
|
kind: {
|
|
36
36
|
type: PropType<ERowKind>;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { ERowKind } from './_typings';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
|
-
declare
|
|
5
|
-
kind?: ERowKind | undefined;
|
|
6
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
kind?: ERowKind | undefined;
|
|
8
|
-
}>>>, {}, {}>, {
|
|
4
|
+
declare function __VLS_template(): {
|
|
9
5
|
default?(_: {}): any;
|
|
10
|
-
}
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
kind?: ERowKind;
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
kind?: ERowKind;
|
|
11
|
+
}>>>, {}, {}>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
13
|
export default _default;
|
|
12
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
15
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-table-row.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui-table/ui-table-row/ui-table-row.vue"],"names":[],"mappings":"AAQA;AAEC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"ui-table-row.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui-table/ui-table-row/ui-table-row.vue"],"names":[],"mappings":"AAQA;AAEC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAYvC,iBAAS,cAAc;qBA0CM,GAAG;EAK/B;AAWD,QAAA,MAAM,eAAe;WAMZ,QAAQ;;WAAR,QAAQ;aAEf,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".ui-table-row[data-v-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".ui-table-row[data-v-a9579e20] td:first-child{border-top-left-radius:var(--xxs);border-bottom-left-radius:var(--xxs);text-align:left}.ui-table-row[data-v-a9579e20] td:last-child{border-top-right-radius:var(--xxs);border-bottom-right-radius:var(--xxs);text-align:right}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
import o from "./ui-table-row.vue3.js";
|
|
3
3
|
|
|
4
4
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a9579e20"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
m as default
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=ui-table-row.vue.js.map
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { ETableKind } from './_types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
|
-
declare
|
|
5
|
-
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
kind?: ETableKind;
|
|
6
9
|
}>, {
|
|
7
10
|
kind: ETableKind;
|
|
8
11
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
-
kind?: ETableKind
|
|
12
|
+
kind?: ETableKind;
|
|
10
13
|
}>, {
|
|
11
14
|
kind: ETableKind;
|
|
12
15
|
}>>>, {
|
|
13
16
|
kind: ETableKind;
|
|
14
|
-
}, {}
|
|
15
|
-
|
|
16
|
-
}>;
|
|
17
|
+
}, {}>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
17
19
|
export default _default;
|
|
18
20
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
21
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-table.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-table/ui-table.vue"],"names":[],"mappings":"AAWA;AAEC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"ui-table.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-table/ui-table.vue"],"names":[],"mappings":"AAWA;AAEC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAgBvC,iBAAS,cAAc;qBAmDM,GAAG;EAK/B;AAWD,QAAA,MAAM,eAAe;WAMZ,UAAU;;;;WAAV,UAAU;;;;UAAV,UAAU;MAEjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-table__secondary[data-v-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-table__secondary[data-v-93c36bf4] tr:nth-child(odd){background-color:var(--color-secondary-alt-200)}.ui-table__secondary-inverted[data-v-93c36bf4] tr:nth-child(2n){background-color:var(--color-secondary-alt-200)}")),document.head.appendChild(e)}}catch(c){console.error("vite-plugin-css-injected-by-js",c)}})();
|
|
2
2
|
import o from "./ui-table.vue2.js";
|
|
3
3
|
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-93c36bf4"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
m as default
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=ui-table.vue.js.map
|
|
@@ -8,7 +8,7 @@ const p = /* @__PURE__ */ o({
|
|
|
8
8
|
setup(i) {
|
|
9
9
|
return (e, s) => (t(), a("table", {
|
|
10
10
|
class: l([
|
|
11
|
-
"ui-table rounded-
|
|
11
|
+
"ui-table rounded-xl",
|
|
12
12
|
e.kind === r(n).SECONDARY && "ui-table__secondary",
|
|
13
13
|
e.kind === r(n).SECONDARY_INVERTED && "ui-table__secondary-inverted"
|
|
14
14
|
])
|
|
@@ -2,7 +2,7 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes,
|
|
|
2
2
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
tabs: string[];
|
|
4
4
|
modelValue: string;
|
|
5
|
-
name?: string
|
|
5
|
+
name?: string;
|
|
6
6
|
}>, {
|
|
7
7
|
name: string;
|
|
8
8
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -10,7 +10,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
10
10
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
11
|
tabs: string[];
|
|
12
12
|
modelValue: string;
|
|
13
|
-
name?: string
|
|
13
|
+
name?: string;
|
|
14
14
|
}>, {
|
|
15
15
|
name: string;
|
|
16
16
|
}>>> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-tabs/ui-tabs.vue"],"names":[],"mappings":"AA4BA;;UA0JQ,MAAM,EAAE;gBACF,MAAM
|
|
1
|
+
{"version":3,"file":"ui-tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-tabs/ui-tabs.vue"],"names":[],"mappings":"AA4BA;;UA0JQ,MAAM,EAAE;gBACF,MAAM;WACX,MAAM;;;;;;UAFP,MAAM,EAAE;gBACF,MAAM;WACX,MAAM;;;;;;UAAN,MAAM;;AARf,wBAWG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-tabs[data-v-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-tabs[data-v-8192ff30]{padding:2px}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import o from "./ui-tabs.vue2.js";
|
|
3
3
|
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8192ff30"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
m as default
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=ui-tabs.vue.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as f, computed as _, openBlock as a, createElementBlock as r, Fragment as g, renderList as h, normalizeClass as v, createElementVNode as n, withDirectives as E, vModelRadio as V, createVNode as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as f, computed as _, openBlock as a, createElementBlock as r, Fragment as g, renderList as h, normalizeClass as v, createElementVNode as n, withDirectives as E, vModelRadio as V, createVNode as x, unref as t, withCtx as y, createTextVNode as b, toDisplayString as k } from "vue";
|
|
2
|
+
import w from "../ui-typography/index.js";
|
|
3
3
|
import { EColors as i } from "../../_types/colors.js";
|
|
4
4
|
import { ETypographySizes as C, ETextWeight as D } from "../ui-typography/_typings.js";
|
|
5
|
-
const S = { class: "ui-tabs grid grid-flow-col rounded-full bg-secondary-alt-200" }, N = { class: "block cursor-pointer px-md py-
|
|
5
|
+
const S = { class: "ui-tabs grid grid-flow-col rounded-full bg-secondary-alt-200" }, N = { class: "block cursor-pointer px-md py-xxs" }, z = ["value", "name"], T = /* @__PURE__ */ f({
|
|
6
6
|
__name: "ui-tabs",
|
|
7
7
|
props: {
|
|
8
8
|
tabs: {},
|
|
@@ -34,14 +34,14 @@ const S = { class: "ui-tabs grid grid-flow-col rounded-full bg-secondary-alt-200
|
|
|
34
34
|
}, null, 8, z), [
|
|
35
35
|
[V, o.value]
|
|
36
36
|
]),
|
|
37
|
-
|
|
37
|
+
x(t(w), {
|
|
38
38
|
is: "span",
|
|
39
39
|
size: t(C).XS,
|
|
40
40
|
kind: o.value === e ? t(i).SECONDARY_500 : t(i).SECONDARY_400,
|
|
41
41
|
weight: t(D).SEMI_BOLD
|
|
42
42
|
}, {
|
|
43
|
-
default:
|
|
44
|
-
k(
|
|
43
|
+
default: y(() => [
|
|
44
|
+
b(k(e), 1)
|
|
45
45
|
]),
|
|
46
46
|
_: 2
|
|
47
47
|
}, 1032, ["size", "kind", "weight"])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-tabs.vue2.js","sources":["../../../src/components/ui-tabs/ui-tabs.vue"],"sourcesContent":["<template>\n\t<ul class=\"ui-tabs grid grid-flow-col rounded-full bg-secondary-alt-200\">\n\t\t<li\n\t\t\tv-for=\"tab in tabs\"\n\t\t\t:key=\"tab\"\n\t\t\tclass=\"rounded-full text-center\"\n\t\t\t:class=\"[tabsModel === tab && 'bg-white']\"\n\t\t>\n\t\t\t<label class=\"block cursor-pointer px-md py-
|
|
1
|
+
{"version":3,"file":"ui-tabs.vue2.js","sources":["../../../src/components/ui-tabs/ui-tabs.vue"],"sourcesContent":["<template>\n\t<ul class=\"ui-tabs grid grid-flow-col rounded-full bg-secondary-alt-200\">\n\t\t<li\n\t\t\tv-for=\"tab in tabs\"\n\t\t\t:key=\"tab\"\n\t\t\tclass=\"rounded-full text-center\"\n\t\t\t:class=\"[tabsModel === tab && 'bg-white']\"\n\t\t>\n\t\t\t<label class=\"block cursor-pointer px-md py-xxs\">\n\t\t\t\t<input\n\t\t\t\t\tv-model=\"tabsModel\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tclass=\"absolute appearance-none\"\n\t\t\t\t\t:value=\"tab\"\n\t\t\t\t\t:name=\"name\"\n\t\t\t\t>\n\t\t\t\t<ui-typography\n\t\t\t\t\tis=\"span\"\n\t\t\t\t\t:size=\"ETypographySizes.XS\"\n\t\t\t\t\t:kind=\"tabsModel === tab ? EColors.SECONDARY_500 : EColors.SECONDARY_400\"\n\t\t\t\t\t:weight=\"ETextWeight.SEMI_BOLD\"\n\t\t\t\t>\n\t\t\t\t\t{{ tab }}\n\t\t\t\t</ui-typography>\n\t\t\t</label>\n\t\t</li>\n\t</ul>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport UiTypography, { ETypographySizes, ETextWeight } from \"../ui-typography\";\n\timport { EColors } from \"../../_types/colors\";\n\n\tconst props = withDefaults(defineProps<{\n\t\ttabs: string[];\n\t\tmodelValue: string;\n\t\tname?: string;\n\t}>(), {\n\t\tname: \"default\"\n\t});\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst tabsModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n\n</script>\n\n<style scoped>\n\t.ui-tabs {\n\t\tpadding: 2px;\n\t}\n</style>\n"],"names":["props","__props","emit","__emit","tabsModel","computed","value"],"mappings":";;;;;;;;;;;;;AAkCC,UAAMA,IAAQC,GAQRC,IAAOC,GAEPC,IAAYC,EAAS;AAAA,MAC1B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -91,9 +91,9 @@ declare const deprecatedDefault: {
|
|
|
91
91
|
}>> & {
|
|
92
92
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
93
93
|
}, {}, {}, {}, {}, {}>;
|
|
94
|
-
__isFragment?:
|
|
95
|
-
__isTeleport?:
|
|
96
|
-
__isSuspense?:
|
|
94
|
+
__isFragment?: never;
|
|
95
|
+
__isTeleport?: never;
|
|
96
|
+
__isSuspense?: never;
|
|
97
97
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
98
98
|
header: {
|
|
99
99
|
type: PropType<string>;
|
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
declare
|
|
3
|
-
header
|
|
4
|
-
title
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
header?(_: {}): any;
|
|
4
|
+
title?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
header?: string;
|
|
8
|
+
title?: string;
|
|
5
9
|
modelValue: boolean | unknown[];
|
|
6
|
-
disabled?: boolean
|
|
7
|
-
invertOrder?: boolean
|
|
8
|
-
alignCenter?: boolean
|
|
9
|
-
value?: string
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
invertOrder?: boolean;
|
|
12
|
+
alignCenter?: boolean;
|
|
13
|
+
value?: string;
|
|
10
14
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
15
|
"update:modelValue": (...args: any[]) => void;
|
|
12
16
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
header?: string
|
|
14
|
-
title?: string
|
|
17
|
+
header?: string;
|
|
18
|
+
title?: string;
|
|
15
19
|
modelValue: boolean | unknown[];
|
|
16
|
-
disabled?: boolean
|
|
17
|
-
invertOrder?: boolean
|
|
18
|
-
alignCenter?: boolean
|
|
19
|
-
value?: string
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
invertOrder?: boolean;
|
|
22
|
+
alignCenter?: boolean;
|
|
23
|
+
value?: string;
|
|
20
24
|
}>>> & {
|
|
21
25
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
}, {}, {}
|
|
23
|
-
|
|
24
|
-
title?(_: {}): any;
|
|
25
|
-
}>;
|
|
26
|
+
}, {}, {}>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
28
|
export default _default;
|
|
27
29
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
30
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-toggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-toggle/ui-toggle.vue"],"names":[],"mappings":"AAoEA
|
|
1
|
+
{"version":3,"file":"ui-toggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-toggle/ui-toggle.vue"],"names":[],"mappings":"AAoEA;AA+BA,iBAAS,cAAc;oBAmNK,GAAG;mBACH,GAAG;EAG9B;AAqBD,QAAA,MAAM,eAAe;aAMV,MAAM;YACP,MAAM;gBACF,OAAO,GAAG,OAAO,EAAE;eACpB,OAAO;kBACJ,OAAO;kBACP,OAAO;YACb,MAAM;;;;aANL,MAAM;YACP,MAAM;gBACF,OAAO,GAAG,OAAO,EAAE;eACpB,OAAO;kBACJ,OAAO;kBACP,OAAO;YACb,MAAM;;;UAGd,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-toggle__dot[data-v-171e5e29]{top:50%;width:22px;height:22px;transform:translate3d(1px,-50%,0);transition:transform .2s ease-in-out}.ui-toggle__check-icon[data-v-171e5e29]{top:50%;left:50%;transform:translate3d(-50%,-50%,0);stroke-dasharray:70;stroke-dashoffset:70;transition:stroke-dashoffset .2s ease-in-out}.ui-toggle:hover .ui-toggle__dot[data-v-171e5e29],.ui-toggle:active .ui-toggle__dot[data-v-171e5e29],.ui-toggle:focus .ui-toggle__dot[data-v-171e5e29]{box-shadow:var(--shadow-border-secondary)}.ui-toggle input:checked~.ui-toggle__dot[data-v-171e5e29]{transform:translate3d(calc(var(--xl) - 100% - 1px),-50%,0)}.ui-toggle:hover input:checked~.ui-toggle__dot[data-v-171e5e29],.ui-toggle:active input:checked~.ui-toggle__dot[data-v-171e5e29],.ui-toggle:focus input:checked~.ui-toggle__dot[data-v-171e5e29]{box-shadow:var(--shadow-border-primary)}.ui-toggle__bg-block[data-v-171e5e29]{transition:background-color .2s ease-in-out}.ui-toggle_disabled .ui-toggle__bg-block[data-v-171e5e29]{background-color:var(--color-secondary-alt-300)}.ui-toggle input:checked~.ui-toggle__bg-block[data-v-171e5e29]{background-color:var(--color-primary)}.ui-toggle input:checked~.ui-toggle__dot .ui-toggle__check-icon[data-v-171e5e29]{stroke-dashoffset:0}.ui-toggle_disabled input:checked~.ui-toggle__bg-block[data-v-171e5e29]{background-color:var(--color-primary-300)}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import o from "./ui-toggle.vue2.js";
|
|
3
3
|
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-171e5e29"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
p as default
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=ui-toggle.vue.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as k, computed as y, openBlock as l, createElementBlock as i, renderSlot as n, createBlock as d, unref as s, withCtx as u, createTextVNode as p, toDisplayString as c, createCommentVNode as h, createElementVNode as t, normalizeClass as m, withDirectives as B, vModelCheckbox as C, pushScopeId as V, popScopeId as S } from "vue";
|
|
2
2
|
import g from "../ui-typography/index.js";
|
|
3
3
|
import { ETextWeight as z, ETypographySizes as D } from "../ui-typography/_typings.js";
|
|
4
|
-
const b = (o) => (V("data-v-
|
|
4
|
+
const b = (o) => (V("data-v-171e5e29"), o = o(), S(), o), E = { class: "ui-toggle" }, M = { class: "ui-input__input-wrapper relative block h-md" }, I = ["value"], $ = /* @__PURE__ */ b(() => /* @__PURE__ */ t("span", { class: "ui-toggle__bg-block block h-md w-xl rounded-full bg-secondary-alt" }, null, -1)), L = { class: "ui-toggle__dot absolute top-0 block rounded-full bg-white" }, N = /* @__PURE__ */ b(() => /* @__PURE__ */ t("path", {
|
|
5
5
|
d: "M1 4.40106L6.60071 10.1135L15.1694 1.71245",
|
|
6
6
|
stroke: "currentColor",
|
|
7
7
|
"stroke-width": "1.6",
|
|
@@ -20,16 +20,16 @@ const b = (o) => (V("data-v-b5feca0a"), o = o(), S(), o), E = { class: "ui-toggl
|
|
|
20
20
|
value: {}
|
|
21
21
|
},
|
|
22
22
|
emits: ["update:modelValue"],
|
|
23
|
-
setup(o, { emit:
|
|
24
|
-
const
|
|
23
|
+
setup(o, { emit: v }) {
|
|
24
|
+
const _ = o, f = v, r = y({
|
|
25
25
|
get() {
|
|
26
|
-
return
|
|
26
|
+
return _.modelValue;
|
|
27
27
|
},
|
|
28
28
|
set(e) {
|
|
29
|
-
|
|
29
|
+
f("update:modelValue", e);
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
|
-
return (e,
|
|
32
|
+
return (e, a) => (l(), i("div", E, [
|
|
33
33
|
n(e.$slots, "header", {}, () => [
|
|
34
34
|
e.header || e.$slots.header ? (l(), d(s(g), {
|
|
35
35
|
key: 0,
|
|
@@ -52,12 +52,12 @@ const b = (o) => (V("data-v-b5feca0a"), o = o(), S(), o), E = { class: "ui-toggl
|
|
|
52
52
|
}, [
|
|
53
53
|
t("span", M, [
|
|
54
54
|
B(t("input", {
|
|
55
|
-
"onUpdate:modelValue":
|
|
55
|
+
"onUpdate:modelValue": a[0] || (a[0] = (w) => r.value = w),
|
|
56
56
|
type: "checkbox",
|
|
57
57
|
class: "absolute size-0 appearance-none border-0",
|
|
58
58
|
value: e.value
|
|
59
59
|
}, null, 8, I), [
|
|
60
|
-
[C,
|
|
60
|
+
[C, r.value]
|
|
61
61
|
]),
|
|
62
62
|
$,
|
|
63
63
|
t("span", L, [
|