bonkers-ui 1.0.68 → 1.0.69
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 +4 -0
- package/components/ui-product-card/index.d.ts.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.js +48 -48
- 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,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as k, openBlock as o, createElementBlock as l, createVNode as
|
|
1
|
+
import { defineComponent as k, openBlock as o, createElementBlock as l, createVNode as p, unref as e, withCtx as r, createTextVNode as n, toDisplayString as d, createCommentVNode as a, createElementVNode as c, createBlock as f, renderSlot as g } from "vue";
|
|
2
2
|
import u from "../ui-typography/ui-typography.vue.js";
|
|
3
3
|
import { ETypographySizes as m, ETextAlign as h, ETextWeight as v } from "../ui-typography/_typings.js";
|
|
4
|
-
import { EColors as
|
|
5
|
-
const y = { class: "ui-card-result" }, C = { class: "relative grid overflow-hidden rounded-2xl border border-secondary-alt-400 bg-white" }, b = { class: "ui-card-result__header m-
|
|
4
|
+
import { EColors as x } from "../../_types/colors.js";
|
|
5
|
+
const y = { class: "ui-card-result" }, C = { class: "relative grid overflow-hidden rounded-2xl border border-secondary-alt-400 bg-white" }, b = { class: "ui-card-result__header m-xxs mb-sm grid items-center justify-between gap-xxs rounded-xl bg-secondary-alt-200 p-xxs" }, E = { class: "w-full overflow-hidden bg-white p-sm pt-0" }, N = /* @__PURE__ */ k({
|
|
6
6
|
__name: "ui-card-result",
|
|
7
7
|
props: {
|
|
8
8
|
header: {},
|
|
@@ -15,15 +15,15 @@ const y = { class: "ui-card-result" }, C = { class: "relative grid overflow-hidd
|
|
|
15
15
|
return (i, t) => (o(), l("div", y, [
|
|
16
16
|
i.exclusiveText ? (o(), l("div", {
|
|
17
17
|
key: 0,
|
|
18
|
-
class: "-mb-
|
|
18
|
+
class: "-mb-xl rounded-2xl bg-primary px-sm pb-xl",
|
|
19
19
|
onClick: t[0] || (t[0] = //@ts-ignore
|
|
20
20
|
(...s) => i.exclusiveClickAction && i.exclusiveClickAction(...s))
|
|
21
21
|
}, [
|
|
22
|
-
|
|
23
|
-
class: "py-
|
|
22
|
+
p(e(u), {
|
|
23
|
+
class: "py-xxs",
|
|
24
24
|
"line-height": "",
|
|
25
25
|
size: e(m).XXS,
|
|
26
|
-
kind: e(
|
|
26
|
+
kind: e(x).WHITE,
|
|
27
27
|
align: e(h).CENTER,
|
|
28
28
|
weight: e(v).SEMI_BOLD
|
|
29
29
|
}, {
|
|
@@ -41,29 +41,29 @@ const y = { class: "ui-card-result" }, C = { class: "relative grid overflow-hidd
|
|
|
41
41
|
class: "line-clamp flex-1",
|
|
42
42
|
size: e(m).SM,
|
|
43
43
|
weight: e(v).BOLD,
|
|
44
|
-
kind: e(
|
|
44
|
+
kind: e(x).SECONDARY
|
|
45
45
|
}, {
|
|
46
46
|
default: r(() => [
|
|
47
47
|
n(d(i.header), 1)
|
|
48
48
|
]),
|
|
49
49
|
_: 1
|
|
50
50
|
}, 8, ["size", "weight", "kind"])) : a("", !0),
|
|
51
|
-
|
|
51
|
+
g(i.$slots, "sidebar", {}, void 0, !0)
|
|
52
52
|
]),
|
|
53
53
|
c("main", E, [
|
|
54
|
-
|
|
54
|
+
g(i.$slots, "default", {}, void 0, !0)
|
|
55
55
|
])
|
|
56
56
|
]),
|
|
57
57
|
i.exclusiveTextBottom ? (o(), l("div", {
|
|
58
58
|
key: 1,
|
|
59
|
-
class: "-mt-
|
|
59
|
+
class: "-mt-xl rounded-2xl border border-secondary-alt-400 bg-secondary-alt-200 px-sm pt-xl",
|
|
60
60
|
onClick: t[1] || (t[1] = //@ts-ignore
|
|
61
61
|
(...s) => i.exclusiveBottomClickAction && i.exclusiveBottomClickAction(...s))
|
|
62
62
|
}, [
|
|
63
|
-
|
|
64
|
-
class: "py-
|
|
63
|
+
p(e(u), {
|
|
64
|
+
class: "py-xxs",
|
|
65
65
|
size: e(m).XXS,
|
|
66
|
-
kind: e(
|
|
66
|
+
kind: e(x).SECONDARY,
|
|
67
67
|
align: e(h).CENTER,
|
|
68
68
|
"line-height": ""
|
|
69
69
|
}, {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_typings.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-simple/_typings.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACrB,OAAO,YAAY;IACnB,QAAQ,aAAa;CAErB"}
|
|
@@ -14,9 +14,9 @@ declare const deprecatedDefault: {
|
|
|
14
14
|
M: {};
|
|
15
15
|
Defaults: {};
|
|
16
16
|
}, Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
|
|
17
|
-
__isFragment?:
|
|
18
|
-
__isTeleport?:
|
|
19
|
-
__isSuspense?:
|
|
17
|
+
__isFragment?: never;
|
|
18
|
+
__isTeleport?: never;
|
|
19
|
+
__isSuspense?: never;
|
|
20
20
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
21
21
|
$slots: {
|
|
22
22
|
title?(_: {}): any;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
declare
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
3
|
title?(_: {}): any;
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
footerSubtitle?(_: {}): any;
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
7
9
|
export default _default;
|
|
8
10
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
9
11
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-card-simple.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-simple/ui-card-simple.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-card-simple.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-simple/ui-card-simple.vue"],"names":[],"mappings":"AAsBA;AAYA,iBAAS,cAAc;mBAsFK,GAAG;qBACD,GAAG;4BACI,GAAG;EAGvC;AAWD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
import { defineComponent as m, useSlots as u, openBlock as o, createElementBlock as c, unref as e, createBlock as
|
|
1
|
+
import { defineComponent as m, useSlots as u, openBlock as o, createElementBlock as c, unref as e, createBlock as i, withCtx as s, renderSlot as l, createCommentVNode as a } from "vue";
|
|
2
2
|
import n from "../ui-typography/index.js";
|
|
3
3
|
import { ETextWeight as p, ETextAlign as d } from "../ui-typography/_typings.js";
|
|
4
|
-
const f = { class: "ui-card-simple rounded-3xl bg-white
|
|
4
|
+
const f = { class: "ui-card-simple relative grid gap-sm rounded-3xl bg-white p-sm shadow-md" }, w = /* @__PURE__ */ m({
|
|
5
5
|
__name: "ui-card-simple",
|
|
6
6
|
setup(g) {
|
|
7
7
|
const r = u();
|
|
8
8
|
return (t, _) => (o(), c("div", f, [
|
|
9
|
-
e(r).title ? (o(),
|
|
9
|
+
e(r).title ? (o(), i(e(n), {
|
|
10
10
|
key: 0,
|
|
11
11
|
weight: e(p).BOLD,
|
|
12
|
-
align: e(d).CENTER
|
|
13
|
-
class: "pb-md"
|
|
12
|
+
align: e(d).CENTER
|
|
14
13
|
}, {
|
|
15
|
-
default:
|
|
14
|
+
default: s(() => [
|
|
16
15
|
l(t.$slots, "title")
|
|
17
16
|
]),
|
|
18
17
|
_: 3
|
|
19
18
|
}, 8, ["weight", "align"])) : a("", !0),
|
|
20
19
|
l(t.$slots, "default"),
|
|
21
|
-
e(r).footerSubtitle ? (o(),
|
|
20
|
+
e(r).footerSubtitle ? (o(), i(e(n), {
|
|
22
21
|
key: 1,
|
|
23
22
|
align: e(d).CENTER
|
|
24
23
|
}, {
|
|
25
|
-
default:
|
|
24
|
+
default: s(() => [
|
|
26
25
|
l(t.$slots, "footerSubtitle")
|
|
27
26
|
]),
|
|
28
27
|
_: 3
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-card-simple.vue.js","sources":["../../../src/components/ui-card-simple/ui-card-simple.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"ui-card-simple rounded-3xl bg-white
|
|
1
|
+
{"version":3,"file":"ui-card-simple.vue.js","sources":["../../../src/components/ui-card-simple/ui-card-simple.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"ui-card-simple relative grid gap-sm rounded-3xl bg-white p-sm shadow-md\"\n\t>\n\t\t<ui-typography\n\t\t\tv-if=\"slots.title\"\n\t\t\t:weight=\"ETextWeight.BOLD\"\n\t\t\t:align=\"ETextAlign.CENTER\"\n\t\t>\n\t\t\t<slot name=\"title\" />\n\t\t</ui-typography>\n\n\t\t<slot />\n\n\t\t<ui-typography\n\t\t\tv-if=\"slots.footerSubtitle\"\n\t\t\t:align=\"ETextAlign.CENTER\"\n\t\t>\n\t\t\t<slot name=\"footerSubtitle\" />\n\t\t</ui-typography>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport UiTypography, { ETextWeight, ETextAlign } from \"../ui-typography\";\n\timport { useSlots } from \"vue\";\n\n\tconst slots = useSlots();\n</script>\n"],"names":["slots","useSlots"],"mappings":";;;;;;AA2BC,UAAMA,IAAQC;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -74,9 +74,9 @@ declare const deprecatedDefault: {
|
|
|
74
74
|
}>> & {
|
|
75
75
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
76
76
|
}, {}, {}, {}, {}, {}>;
|
|
77
|
-
__isFragment?:
|
|
78
|
-
__isTeleport?:
|
|
79
|
-
__isSuspense?:
|
|
77
|
+
__isFragment?: never;
|
|
78
|
+
__isTeleport?: never;
|
|
79
|
+
__isSuspense?: never;
|
|
80
80
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
81
81
|
modelValue: {
|
|
82
82
|
type: PropType<boolean | unknown[]>;
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
import { EJustify } from '../../_types/align';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
|
-
declare
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
5
8
|
modelValue: boolean | unknown[];
|
|
6
|
-
justify?: EJustify
|
|
7
|
-
invertOrder?: boolean
|
|
8
|
-
disabled?: boolean
|
|
9
|
-
value?: string
|
|
9
|
+
justify?: EJustify;
|
|
10
|
+
invertOrder?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
value?: string;
|
|
10
13
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
14
|
"update:modelValue": (...args: any[]) => void;
|
|
12
15
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
16
|
modelValue: boolean | unknown[];
|
|
14
|
-
justify?: EJustify
|
|
15
|
-
invertOrder?: boolean
|
|
16
|
-
disabled?: boolean
|
|
17
|
-
value?: string
|
|
17
|
+
justify?: EJustify;
|
|
18
|
+
invertOrder?: boolean;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
value?: string;
|
|
18
21
|
}>>> & {
|
|
19
22
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
20
|
-
}, {}, {}
|
|
21
|
-
|
|
22
|
-
}>;
|
|
23
|
+
}, {}, {}>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
23
25
|
export default _default;
|
|
24
26
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
27
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-checkbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-checkbox/ui-checkbox.vue"],"names":[],"mappings":"AA6DA;AAGC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC
|
|
1
|
+
{"version":3,"file":"ui-checkbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-checkbox/ui-checkbox.vue"],"names":[],"mappings":"AA6DA;AAGC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AA6B/C,iBAAS,cAAc;qBA+IO,GAAG;EAGhC;AAkBD,QAAA,MAAM,eAAe;gBAMP,OAAO,GAAG,OAAO,EAAE;cACrB,QAAQ;kBACJ,OAAO;eACV,OAAO;YACV,MAAM;;;;gBAJF,OAAO,GAAG,OAAO,EAAE;cACrB,QAAQ;kBACJ,OAAO;eACV,OAAO;YACV,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"}
|
|
@@ -75,9 +75,9 @@ declare const deprecatedDefault: {
|
|
|
75
75
|
}>>, {}, {}, {}, {}, {
|
|
76
76
|
kind: EDropdownKinds;
|
|
77
77
|
}>;
|
|
78
|
-
__isFragment?:
|
|
79
|
-
__isTeleport?:
|
|
80
|
-
__isSuspense?:
|
|
78
|
+
__isFragment?: never;
|
|
79
|
+
__isTeleport?: never;
|
|
80
|
+
__isSuspense?: never;
|
|
81
81
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
82
82
|
header: {
|
|
83
83
|
type: PropType<string>;
|
|
@@ -2,27 +2,29 @@ import { TIconName } from '../ui-icon';
|
|
|
2
2
|
import { EDropdownKinds } from './_typings';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
4
|
|
|
5
|
-
declare
|
|
6
|
-
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
header?: string;
|
|
7
10
|
iconName: TIconName;
|
|
8
|
-
subText?: string
|
|
9
|
-
kind?: EDropdownKinds
|
|
10
|
-
active?: boolean
|
|
11
|
+
subText?: string;
|
|
12
|
+
kind?: EDropdownKinds;
|
|
13
|
+
active?: boolean;
|
|
11
14
|
}>, {
|
|
12
15
|
kind: EDropdownKinds;
|
|
13
16
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
-
header?: string
|
|
17
|
+
header?: string;
|
|
15
18
|
iconName: TIconName;
|
|
16
|
-
subText?: string
|
|
17
|
-
kind?: EDropdownKinds
|
|
18
|
-
active?: boolean
|
|
19
|
+
subText?: string;
|
|
20
|
+
kind?: EDropdownKinds;
|
|
21
|
+
active?: boolean;
|
|
19
22
|
}>, {
|
|
20
23
|
kind: EDropdownKinds;
|
|
21
24
|
}>>>, {
|
|
22
25
|
kind: EDropdownKinds;
|
|
23
|
-
}, {}
|
|
24
|
-
|
|
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-dropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-dropdown/ui-dropdown.vue"],"names":[],"mappings":"AA2DA;AAIC,OAAe,EAAE,KAAK,SAAS,EAAS,MAAM,YAAY,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"ui-dropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-dropdown/ui-dropdown.vue"],"names":[],"mappings":"AA2DA;AAIC,OAAe,EAAE,KAAK,SAAS,EAAS,MAAM,YAAY,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAwC7C,iBAAS,cAAc;qBAwHO,GAAG;EAKhC;AAwBD,QAAA,MAAM,eAAe;aAMV,MAAM;cACL,SAAS;cACT,MAAM;WACT,cAAc;aACZ,OAAO;;;;aAJP,MAAM;cACL,SAAS;cACT,MAAM;WACT,cAAc;aACZ,OAAO;;;;UADT,cAAc;MAGrB,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"}
|
|
@@ -5,7 +5,7 @@ import { EDropdownKinds as n } from "./_typings.js";
|
|
|
5
5
|
import { debounce as k } from "../../_utils/debounce.js";
|
|
6
6
|
import { ETypographySizes as w, ETextWeight as S } from "../ui-typography/_typings.js";
|
|
7
7
|
import { ESize as T } from "../../_types/sizing.js";
|
|
8
|
-
const
|
|
8
|
+
const M = /* @__PURE__ */ f({
|
|
9
9
|
__name: "ui-dropdown",
|
|
10
10
|
props: {
|
|
11
11
|
header: {},
|
|
@@ -25,12 +25,12 @@ const V = /* @__PURE__ */ f({
|
|
|
25
25
|
}, 50)).observe(a.value);
|
|
26
26
|
}), (e, C) => (h(), b("div", {
|
|
27
27
|
class: t(["h-auto bg-white", {
|
|
28
|
-
"rounded-
|
|
28
|
+
"rounded-xl border border-secondary-alt-300": e.kind === r(n).DEFAULT
|
|
29
29
|
}])
|
|
30
30
|
}, [
|
|
31
31
|
s("div", {
|
|
32
32
|
class: t(["flex items-center justify-between px-md py-sm", {
|
|
33
|
-
"rounded-
|
|
33
|
+
"rounded-xl border border-secondary": e.kind === r(n).SECONDARY
|
|
34
34
|
}]),
|
|
35
35
|
onClick: m
|
|
36
36
|
}, [
|
|
@@ -78,6 +78,6 @@ const V = /* @__PURE__ */ f({
|
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
80
|
export {
|
|
81
|
-
|
|
81
|
+
M as default
|
|
82
82
|
};
|
|
83
83
|
//# sourceMappingURL=ui-dropdown.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-dropdown.vue.js","sources":["../../../src/components/ui-dropdown/ui-dropdown.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"h-auto bg-white\"\n\t\t:class=\"{\n\t\t\t'rounded-
|
|
1
|
+
{"version":3,"file":"ui-dropdown.vue.js","sources":["../../../src/components/ui-dropdown/ui-dropdown.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"h-auto bg-white\"\n\t\t:class=\"{\n\t\t\t'rounded-xl border border-secondary-alt-300': kind === EDropdownKinds.DEFAULT\n\t\t}\"\n\t>\n\t\t<div\n\t\t\tclass=\"flex items-center justify-between px-md py-sm\"\n\t\t\t:class=\"{\n\t\t\t\t'rounded-xl border border-secondary': kind === EDropdownKinds.SECONDARY\n\t\t\t}\"\n\t\t\t@click=\"toggleAccordion\"\n\t\t>\n\t\t\t<ui-typography\n\t\t\t\tline-height\n\t\t\t\t:size=\"ETypographySizes.LG\"\n\t\t\t\t:weight=\"ETextWeight.SEMI_BOLD \"\n\t\t\t>\n\t\t\t\t{{ header }}\n\t\t\t</ui-typography>\n\n\t\t\t<ui-icon\n\t\t\t\tclass=\"item-icon duration-200\"\n\t\t\t\t:class=\"{\n\t\t\t\t\t'rotate-180': isOpen,\n\t\t\t\t\t'rotate-0': !isOpen\n\t\t\t\t}\"\n\t\t\t\t:icon-name=\"iconName\"\n\t\t\t\t:size=\"ESize.SM\"\n\t\t\t/>\n\t\t</div>\n\n\t\t<div\n\t\t\tclass=\"overflow-hidden duration-300 ease-in-out\"\n\t\t\t:style=\"{\n\t\t\t\theight\n\t\t\t}\"\n\t\t\t:class=\"{\n\t\t\t\t'border border-transparent border-t-secondary-alt-300':\n\t\t\t\t\tkind === EDropdownKinds.DEFAULT,\n\t\t\t\t'!h-0 !border-transparent': !isOpen\n\t\t\t}\"\n\t\t>\n\t\t\t<div\n\t\t\t\tref=\"contentWrapper\"\n\n\t\t\t\tclass=\"box-border pt-sm\"\n\t\t\t\t:class=\"{\n\t\t\t\t\t'p-sm': kind === EDropdownKinds.DEFAULT\n\t\t\t\t}\"\n\t\t\t>\n\t\t\t\t<slot>\n\t\t\t\t\t{{ subText }}\n\t\t\t\t</slot>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { onMounted, ref } from \"vue\";\n\timport UiTypography, { ETypographySizes, ETextWeight } from \"../ui-typography\";\n\timport UiIcon, { type TIconName, ESize } from \"../ui-icon\";\n\timport { EDropdownKinds } from \"./_typings\";\n\timport { debounce } from \"../../_utils/debounce\";\n\n\tconst props = withDefaults(defineProps<{\n\t\theader?: string;\n\t\ticonName: TIconName;\n\t\tsubText?: string;\n\t\tkind?: EDropdownKinds;\n\t\tactive?: boolean;\n\t}>(), {\n\t\tkind: EDropdownKinds.DEFAULT,\n\t});\n\n\tconst isOpen = ref(props.active);\n\tconst contentWrapper = ref<HTMLElement>();\n\tconst height = ref(\"0\");\n\n\tfunction toggleAccordion() {\n\t\tisOpen.value = !isOpen.value;\n\t}\n\n\tonMounted(()=>{\n\t\tif (contentWrapper.value) {\n\t\t\tconst resizeObserver = new ResizeObserver(debounce(() => {\n\t\t\t\theight.value = getComputedStyle(contentWrapper.value as HTMLElement).height;\n\t\t\t}, 50));\n\n\t\t\tresizeObserver.observe(contentWrapper.value);\n\t\t}\n\t});\n\n</script>\n"],"names":["isOpen","ref","__props","contentWrapper","height","toggleAccordion","onMounted","debounce"],"mappings":";;;;;;;;;;;;;;;;;AA6EO,UAAAA,IAASC,EAVDC,EAUW,MAAM,GACzBC,IAAiBF,KACjBG,IAASH,EAAI,GAAG;AAEtB,aAASI,IAAkB;AACnB,MAAAL,EAAA,QAAQ,CAACA,EAAO;AAAA,IACxB;AAEA,WAAAM,EAAU,MAAI;AACb,MAAIH,EAAe,SACK,IAAI,eAAeI,EAAS,MAAM;AACxD,QAAAH,EAAO,QAAQ,iBAAiBD,EAAe,KAAoB,EAAE;AAAA,MAAA,GACnE,EAAE,CAAC,EAES,QAAQA,EAAe,KAAK;AAAA,IAC5C,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,12 +3,12 @@ import { TIconName } from './_typings';
|
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
4
|
|
|
5
5
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
size?: ESize
|
|
6
|
+
size?: ESize;
|
|
7
7
|
iconName: TIconName;
|
|
8
8
|
}>, {
|
|
9
9
|
size: ESize;
|
|
10
10
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
size?: ESize
|
|
11
|
+
size?: ESize;
|
|
12
12
|
iconName: TIconName;
|
|
13
13
|
}>, {
|
|
14
14
|
size: ESize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-icon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-icon/ui-icon.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-icon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-icon/ui-icon.vue"],"names":[],"mappings":"AAmBA;AAEC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;;WAmFpC,KAAK;cACF,SAAS;;;;WADZ,KAAK;cACF,SAAS;;;;UADZ,KAAK;;AANd,wBASG;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,23 +1,27 @@
|
|
|
1
|
-
import { defineComponent as n, resolveComponent as z, openBlock as
|
|
1
|
+
import { defineComponent as n, resolveComponent as z, openBlock as X, createBlock as l, normalizeClass as m, unref as i } from "vue";
|
|
2
2
|
import { ESize as s } from "../../_types/sizing.js";
|
|
3
|
-
const
|
|
3
|
+
const f = /* @__PURE__ */ n({
|
|
4
4
|
__name: "ui-icon",
|
|
5
5
|
props: {
|
|
6
6
|
size: { default: s.SM },
|
|
7
7
|
iconName: {}
|
|
8
8
|
},
|
|
9
|
-
setup(
|
|
10
|
-
return (e,
|
|
11
|
-
const
|
|
12
|
-
return
|
|
13
|
-
class:
|
|
14
|
-
e.size ===
|
|
15
|
-
e.size ===
|
|
16
|
-
e.size ===
|
|
17
|
-
e.size ===
|
|
18
|
-
e.size ===
|
|
19
|
-
e.size ===
|
|
20
|
-
e.size ===
|
|
9
|
+
setup(a) {
|
|
10
|
+
return (e, r) => {
|
|
11
|
+
const o = z("font-awesome-icon");
|
|
12
|
+
return X(), l(o, {
|
|
13
|
+
class: m(["ui-icon", [
|
|
14
|
+
e.size === i(s).XXXS && "size-xxxs",
|
|
15
|
+
e.size === i(s).XXS && "size-xxs",
|
|
16
|
+
e.size === i(s).XS && "size-xs",
|
|
17
|
+
e.size === i(s).SM && "size-sm",
|
|
18
|
+
e.size === i(s).MD && "size-md",
|
|
19
|
+
e.size === i(s).LG && "size-lg",
|
|
20
|
+
e.size === i(s).XL && "size-xl",
|
|
21
|
+
e.size === i(s).XXL && "size-xxl",
|
|
22
|
+
e.size === i(s).XXXL && "size-xxxl",
|
|
23
|
+
e.size === i(s).XXXXL && "size-xxxxl",
|
|
24
|
+
e.size === i(s).XXXXXL && "size-xxxxxl"
|
|
21
25
|
]]),
|
|
22
26
|
icon: e.iconName
|
|
23
27
|
}, null, 8, ["icon", "class"]);
|
|
@@ -25,6 +29,6 @@ const t = /* @__PURE__ */ n({
|
|
|
25
29
|
}
|
|
26
30
|
});
|
|
27
31
|
export {
|
|
28
|
-
|
|
32
|
+
f as default
|
|
29
33
|
};
|
|
30
34
|
//# sourceMappingURL=ui-icon.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-icon.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-icon.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -49,9 +49,9 @@ declare const deprecatedDefault: {
|
|
|
49
49
|
size: EIconWrapperSizes;
|
|
50
50
|
kind: EIconWrapperTypes;
|
|
51
51
|
}>;
|
|
52
|
-
__isFragment?:
|
|
53
|
-
__isTeleport?:
|
|
54
|
-
__isSuspense?:
|
|
52
|
+
__isFragment?: never;
|
|
53
|
+
__isTeleport?: never;
|
|
54
|
+
__isSuspense?: never;
|
|
55
55
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
56
56
|
size: {
|
|
57
57
|
type: PropType<EIconWrapperSizes>;
|
|
@@ -5,7 +5,10 @@ type TProps = {
|
|
|
5
5
|
kind?: EIconWrapperTypes;
|
|
6
6
|
size?: EIconWrapperSizes;
|
|
7
7
|
};
|
|
8
|
-
declare
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TProps>, {
|
|
9
12
|
kind: EIconWrapperTypes;
|
|
10
13
|
size: EIconWrapperSizes;
|
|
11
14
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TProps>, {
|
|
@@ -14,9 +17,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
14
17
|
}>>>, {
|
|
15
18
|
size: EIconWrapperSizes;
|
|
16
19
|
kind: EIconWrapperTypes;
|
|
17
|
-
}, {}
|
|
18
|
-
|
|
19
|
-
}>;
|
|
20
|
+
}, {}>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
20
22
|
export default _default;
|
|
21
23
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
24
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-icon-wrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-icon-wrapper/ui-icon-wrapper.vue"],"names":[],"mappings":"AAiBA;AAEC,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAInE,KAAK,MAAM,GAAG;IACZ,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,IAAI,CAAC,EAAE,iBAAiB,CAAC;CACzB,CAAA
|
|
1
|
+
{"version":3,"file":"ui-icon-wrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-icon-wrapper/ui-icon-wrapper.vue"],"names":[],"mappings":"AAiBA;AAEC,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAInE,KAAK,MAAM,GAAG;IACZ,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,IAAI,CAAC,EAAE,iBAAiB,CAAC;CACzB,CAAA;AAeF,iBAAS,cAAc;qBAgEM,GAAG;EAK/B;AAUD,QAAA,MAAM,eAAe;;;;;;;UA/FZ,iBAAiB;UADjB,iBAAiB;MAsGxB,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,8 +1,8 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".icon-wrapper_offset-md[data-v-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".icon-wrapper_offset-md[data-v-e2d42695] .notification-badge{top:4px;right:4px}.icon-wrapper_offset-xl[data-v-e2d42695] .notification-badge{top:8px;right:8px}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import o from "./ui-icon-wrapper.vue2.js";
|
|
3
3
|
|
|
4
4
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
5
|
+
const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-e2d42695"]]);
|
|
6
6
|
export {
|
|
7
7
|
e as default
|
|
8
8
|
};
|
|
@@ -13,9 +13,9 @@ const c = /* @__PURE__ */ o({
|
|
|
13
13
|
e.kind === r(p).SECONDARY && "bg-secondary-alt-200 text-black",
|
|
14
14
|
e.kind === r(p).DEFAULT && "border-2 border-primary bg-white text-primary ",
|
|
15
15
|
e.size === r(i).DEFAULT && "p-sm",
|
|
16
|
-
e.size === r(i).SMALL && "p-
|
|
16
|
+
e.size === r(i).SMALL && "p-xxs",
|
|
17
17
|
e.size === r(i).MEDIUM && "icon-wrapper_offset-md p-md",
|
|
18
|
-
e.size === r(i).LARGE && "icon-wrapper_offset-
|
|
18
|
+
e.size === r(i).LARGE && "icon-wrapper_offset-xl p-xl"
|
|
19
19
|
]])
|
|
20
20
|
}, [
|
|
21
21
|
t(e.$slots, "default", {}, void 0, !0)
|
|
@@ -214,9 +214,9 @@ declare const deprecatedDefault: {
|
|
|
214
214
|
focusHandler: (e: FocusEvent) => void;
|
|
215
215
|
autocomplete: EAutocomplete;
|
|
216
216
|
}>;
|
|
217
|
-
__isFragment?:
|
|
218
|
-
__isTeleport?:
|
|
219
|
-
__isSuspense?:
|
|
217
|
+
__isFragment?: never;
|
|
218
|
+
__isTeleport?: never;
|
|
219
|
+
__isSuspense?: never;
|
|
220
220
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
221
221
|
type: {
|
|
222
222
|
type: PropType<EInputType>;
|
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
import { EAutocomplete, EInputKinds, EInputType } from './_typings';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
|
-
declare
|
|
5
|
-
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
header?(_: {}): any;
|
|
6
|
+
"prefix-icon"?(_: {}): any;
|
|
7
|
+
"postfix-icon"?(_: {}): any;
|
|
8
|
+
subLabel?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
placeholder?: string;
|
|
6
12
|
modelValue: string | number;
|
|
7
|
-
disabled?: boolean
|
|
8
|
-
kind?: EInputKinds
|
|
9
|
-
heading?: string
|
|
10
|
-
subLabel?: string
|
|
11
|
-
type?: EInputType
|
|
12
|
-
pattern?: string
|
|
13
|
-
maxlength?: string
|
|
14
|
-
minlength?: string
|
|
15
|
-
focusHandler?: (
|
|
16
|
-
autocomplete?: EAutocomplete
|
|
17
|
-
name?: string
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
kind?: EInputKinds;
|
|
15
|
+
heading?: string;
|
|
16
|
+
subLabel?: string;
|
|
17
|
+
type?: EInputType;
|
|
18
|
+
pattern?: string;
|
|
19
|
+
maxlength?: string;
|
|
20
|
+
minlength?: string;
|
|
21
|
+
focusHandler?: (e: FocusEvent) => void;
|
|
22
|
+
autocomplete?: EAutocomplete;
|
|
23
|
+
name?: string;
|
|
18
24
|
}>, {
|
|
19
25
|
modelValue: string;
|
|
20
26
|
placeholder: string;
|
|
@@ -32,19 +38,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
32
38
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
33
39
|
"update:modelValue": (...args: any[]) => void;
|
|
34
40
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
35
|
-
placeholder?: string
|
|
41
|
+
placeholder?: string;
|
|
36
42
|
modelValue: string | number;
|
|
37
|
-
disabled?: boolean
|
|
38
|
-
kind?: EInputKinds
|
|
39
|
-
heading?: string
|
|
40
|
-
subLabel?: string
|
|
41
|
-
type?: EInputType
|
|
42
|
-
pattern?: string
|
|
43
|
-
maxlength?: string
|
|
44
|
-
minlength?: string
|
|
45
|
-
focusHandler?: (
|
|
46
|
-
autocomplete?: EAutocomplete
|
|
47
|
-
name?: string
|
|
43
|
+
disabled?: boolean;
|
|
44
|
+
kind?: EInputKinds;
|
|
45
|
+
heading?: string;
|
|
46
|
+
subLabel?: string;
|
|
47
|
+
type?: EInputType;
|
|
48
|
+
pattern?: string;
|
|
49
|
+
maxlength?: string;
|
|
50
|
+
minlength?: string;
|
|
51
|
+
focusHandler?: (e: FocusEvent) => void;
|
|
52
|
+
autocomplete?: EAutocomplete;
|
|
53
|
+
name?: string;
|
|
48
54
|
}>, {
|
|
49
55
|
modelValue: string;
|
|
50
56
|
placeholder: string;
|
|
@@ -75,12 +81,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
75
81
|
minlength: string;
|
|
76
82
|
focusHandler: (e: FocusEvent) => void;
|
|
77
83
|
autocomplete: EAutocomplete;
|
|
78
|
-
}, {}
|
|
79
|
-
|
|
80
|
-
"prefix-icon"?(_: {}): any;
|
|
81
|
-
"postfix-icon"?(_: {}): any;
|
|
82
|
-
subLabel?(_: {}): any;
|
|
83
|
-
}>;
|
|
84
|
+
}, {}>;
|
|
85
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
84
86
|
export default _default;
|
|
85
87
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
86
88
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-input/ui-input.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-input/ui-input.vue"],"names":[],"mappings":"AA4EA;AAGC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AA+DrE,iBAAS,cAAc;oBA6IK,GAAG;2BACK,GAAG;4BACF,GAAG;sBACT,GAAG;EAGjC;AA4BD,QAAA,MAAM,eAAe;kBAML,MAAM;gBACR,MAAM,GAAG,MAAM;eAChB,OAAO;WACX,WAAW;cACR,MAAM;eACL,MAAM;WACV,UAAU;cACP,MAAM;gBACJ,MAAM;gBACN,MAAM;mBACH,CAAC,CAAC,EAAC,UAAU,KAAK,IAAI;mBACtB,aAAa;WACrB,MAAM;;;;;;;;;;;;;;;;;;kBAZC,MAAM;gBACR,MAAM,GAAG,MAAM;eAChB,OAAO;WACX,WAAW;cACR,MAAM;eACL,MAAM;WACV,UAAU;cACP,MAAM;gBACJ,MAAM;gBACN,MAAM;mBACH,CAAC,CAAC,EAAC,UAAU,KAAK,IAAI;mBACtB,aAAa;WACrB,MAAM;;;;;;;;;;;;;;;;;;UANN,UAAU;aACP,MAAM;UAJT,WAAW;cADP,OAAO;gBADN,MAAM,GAAG,MAAM;UAWpB,MAAM;iBAZC,MAAM;aAIV,MAAM;cACL,MAAM;eAGL,MAAM;eACN,MAAM;kBACH,CAAC,CAAC,EAAC,UAAU,KAAK,IAAI;kBACtB,aAAa;MAI5B,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"}
|