@indielayer/ui 0.0.0-dev-20240127005325 → 0.0.0-dev-20240202140555
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/docs/App.vue +25 -0
- package/docs/assets/css/hljs.css +302 -0
- package/docs/assets/css/tailwind.css +46 -0
- package/docs/assets/images/error.svg +1 -0
- package/docs/assets/images/logo.png +0 -0
- package/docs/assets/images/logo_mini.svg +10 -0
- package/docs/assets/images/logo_white.png +0 -0
- package/docs/assets/images/logo_word.svg +12 -0
- package/docs/assets/images/logo_word_dark.svg +12 -0
- package/docs/assets/images/photo1.jpeg +0 -0
- package/docs/assets/images/photo2.jpeg +0 -0
- package/docs/components/Cookies.vue +42 -0
- package/docs/components/common/CodePreview.vue +80 -0
- package/docs/components/common/CodeSnippet.vue +49 -0
- package/docs/components/common/CopyButton.vue +50 -0
- package/docs/components/common/DocumentPage.vue +289 -0
- package/docs/components/common/Indielayer-theme.json +702 -0
- package/docs/components/common/MultiSnippet.vue +26 -0
- package/docs/components/menu/DocsMenu.vue +143 -0
- package/docs/components/toolbar/PreToolbar.vue +18 -0
- package/docs/components/toolbar/Toolbar.vue +63 -0
- package/docs/components/toolbar/ToolbarColorToggle.vue +49 -0
- package/docs/icons.ts +61 -0
- package/docs/layouts/default.vue +29 -0
- package/docs/layouts/simple.vue +3 -0
- package/docs/main.ts +33 -0
- package/docs/pages/colors.vue +125 -0
- package/docs/pages/component/accordion/index.vue +29 -0
- package/docs/pages/component/accordion/usage.vue +30 -0
- package/docs/pages/component/alert/index.vue +29 -0
- package/docs/pages/component/alert/usage.vue +18 -0
- package/docs/pages/component/avatar/index.vue +43 -0
- package/docs/pages/component/avatar/size.vue +9 -0
- package/docs/pages/component/avatar/usage.vue +9 -0
- package/docs/pages/component/avatar/variants.vue +8 -0
- package/docs/pages/component/badge/index.vue +29 -0
- package/docs/pages/component/badge/usage.vue +50 -0
- package/docs/pages/component/breadcrumbs/index.vue +29 -0
- package/docs/pages/component/breadcrumbs/usage.vue +19 -0
- package/docs/pages/component/button/button-group.vue +18 -0
- package/docs/pages/component/button/icons.vue +9 -0
- package/docs/pages/component/button/index.vue +64 -0
- package/docs/pages/component/button/size.vue +9 -0
- package/docs/pages/component/button/states.vue +6 -0
- package/docs/pages/component/button/usage.vue +12 -0
- package/docs/pages/component/button/variants.vue +7 -0
- package/docs/pages/component/card/index.vue +29 -0
- package/docs/pages/component/card/usage.vue +6 -0
- package/docs/pages/component/carousel/index.vue +29 -0
- package/docs/pages/component/carousel/usage.vue +10 -0
- package/docs/pages/component/checkbox/index.vue +50 -0
- package/docs/pages/component/checkbox/size.vue +9 -0
- package/docs/pages/component/checkbox/states.vue +9 -0
- package/docs/pages/component/checkbox/usage.vue +15 -0
- package/docs/pages/component/checkbox/variants.vue +8 -0
- package/docs/pages/component/container/index.vue +29 -0
- package/docs/pages/component/container/usage.vue +3 -0
- package/docs/pages/component/divider/index.vue +43 -0
- package/docs/pages/component/divider/label.vue +12 -0
- package/docs/pages/component/divider/usage.vue +7 -0
- package/docs/pages/component/divider/vertical.vue +7 -0
- package/docs/pages/component/drawer/index.vue +29 -0
- package/docs/pages/component/drawer/usage.vue +56 -0
- package/docs/pages/component/form/index.vue +29 -0
- package/docs/pages/component/form/usage.vue +96 -0
- package/docs/pages/component/formGroup/index.vue +29 -0
- package/docs/pages/component/formGroup/usage.vue +46 -0
- package/docs/pages/component/icon/index.vue +36 -0
- package/docs/pages/component/icon/usage.vue +6 -0
- package/docs/pages/component/icon/variants.vue +14 -0
- package/docs/pages/component/image/index.vue +29 -0
- package/docs/pages/component/image/usage.vue +8 -0
- package/docs/pages/component/input/index.vue +50 -0
- package/docs/pages/component/input/size.vue +13 -0
- package/docs/pages/component/input/states.vue +12 -0
- package/docs/pages/component/input/usage.vue +15 -0
- package/docs/pages/component/input/variants.vue +18 -0
- package/docs/pages/component/link/index.vue +29 -0
- package/docs/pages/component/link/usage.vue +12 -0
- package/docs/pages/component/loader/index.vue +29 -0
- package/docs/pages/component/loader/usage.vue +7 -0
- package/docs/pages/component/menu/index.vue +29 -0
- package/docs/pages/component/menu/usage.vue +69 -0
- package/docs/pages/component/modal/composed.vue +70 -0
- package/docs/pages/component/modal/index.vue +36 -0
- package/docs/pages/component/modal/usage.vue +61 -0
- package/docs/pages/component/notifications/index.vue +29 -0
- package/docs/pages/component/notifications/usage.vue +56 -0
- package/docs/pages/component/pagination/index.vue +29 -0
- package/docs/pages/component/pagination/usage.vue +17 -0
- package/docs/pages/component/popover/index.vue +29 -0
- package/docs/pages/component/popover/usage.vue +21 -0
- package/docs/pages/component/progress/index.vue +36 -0
- package/docs/pages/component/progress/usage.vue +7 -0
- package/docs/pages/component/progress/variants.vue +18 -0
- package/docs/pages/component/radio/index.vue +50 -0
- package/docs/pages/component/radio/size.vue +15 -0
- package/docs/pages/component/radio/states.vue +13 -0
- package/docs/pages/component/radio/usage.vue +14 -0
- package/docs/pages/component/radio/variants.vue +39 -0
- package/docs/pages/component/scroll/horizontal.vue +14 -0
- package/docs/pages/component/scroll/index.vue +36 -0
- package/docs/pages/component/scroll/usage.vue +5 -0
- package/docs/pages/component/select/index.vue +43 -0
- package/docs/pages/component/select/states.vue +22 -0
- package/docs/pages/component/select/usage.vue +45 -0
- package/docs/pages/component/select/variants.vue +23 -0
- package/docs/pages/component/skeleton/index.vue +29 -0
- package/docs/pages/component/skeleton/usage.vue +10 -0
- package/docs/pages/component/slider/index.vue +29 -0
- package/docs/pages/component/slider/usage.vue +15 -0
- package/docs/pages/component/spacer/index.vue +29 -0
- package/docs/pages/component/spacer/usage.vue +8 -0
- package/docs/pages/component/spinner/index.vue +36 -0
- package/docs/pages/component/spinner/usage.vue +3 -0
- package/docs/pages/component/spinner/variants.vue +9 -0
- package/docs/pages/component/stepper/index.vue +29 -0
- package/docs/pages/component/stepper/usage.vue +21 -0
- package/docs/pages/component/table/index.vue +36 -0
- package/docs/pages/component/table/states.vue +28 -0
- package/docs/pages/component/table/usage.vue +107 -0
- package/docs/pages/component/tabs/index.vue +29 -0
- package/docs/pages/component/tabs/usage.vue +137 -0
- package/docs/pages/component/tag/index.vue +29 -0
- package/docs/pages/component/tag/usage.vue +27 -0
- package/docs/pages/component/textarea/index.vue +43 -0
- package/docs/pages/component/textarea/states.vue +13 -0
- package/docs/pages/component/textarea/usage.vue +22 -0
- package/docs/pages/component/textarea/variants.vue +15 -0
- package/docs/pages/component/toggle/index.vue +43 -0
- package/docs/pages/component/toggle/states.vue +13 -0
- package/docs/pages/component/toggle/usage.vue +14 -0
- package/docs/pages/component/toggle/variants.vue +15 -0
- package/docs/pages/component/tooltip/index.vue +29 -0
- package/docs/pages/component/tooltip/usage.vue +16 -0
- package/docs/pages/error.vue +6 -0
- package/docs/pages/icons.vue +105 -0
- package/docs/pages/index.vue +157 -0
- package/docs/pages/play.vue +19 -0
- package/docs/pages/typography.vue +95 -0
- package/docs/router/index.ts +77 -0
- package/lib/components/accordion/Accordion.vue.d.ts +3 -0
- package/lib/components/accordion/Accordion.vue.js +7 -7
- package/lib/components/accordion/AccordionItem.vue.d.ts +1 -0
- package/lib/components/accordion/AccordionItem.vue.js +49 -47
- package/lib/components/accordion/index.d.ts +1 -1
- package/lib/components/accordion/theme/Accordion.carbon.theme.js +3 -6
- package/lib/components/accordion/theme/AccordionItem.base.theme.js +9 -9
- package/lib/components/accordion/theme/AccordionItem.carbon.theme.js +3 -14
- package/lib/components/carousel/CarouselSlide.vue.d.ts +19 -8
- package/lib/components/carousel/CarouselSlide.vue.js +2 -2
- package/lib/components/carousel/CarouselSlide.vue2.js +25 -18
- package/lib/components/checkbox/theme/Checkbox.base.theme.js +4 -4
- package/lib/components/container/Container.vue.d.ts +13 -0
- package/lib/components/container/Container.vue.js +15 -11
- package/lib/components/container/theme/Container.base.theme.js +7 -4
- package/lib/components/form/theme/Form.base.theme.js +1 -1
- package/lib/components/menu/Menu.vue.js +10 -10
- package/lib/components/menu/theme/MenuItem.base.theme.js +1 -1
- package/lib/components/modal/Modal.vue.d.ts +1 -1
- package/lib/components/radio/theme/Radio.base.theme.js +6 -6
- package/lib/components/select/Select.vue.js +47 -50
- package/lib/components/select/theme/Select.base.theme.js +10 -10
- package/lib/components/select/theme/Select.carbon.theme.js +4 -4
- package/lib/components/slider/theme/Slider.carbon.theme.js +4 -4
- package/lib/components/tab/Tab.vue.js +54 -53
- package/lib/components/tab/theme/TabGroup.carbon.theme.js +3 -3
- package/lib/components/table/Table.vue.js +47 -47
- package/lib/composables/keys.d.ts +2 -2
- package/lib/index.js +1 -1
- package/lib/index.umd.js +3 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +4 -2
- package/src/components/accordion/Accordion.vue +5 -1
- package/src/components/accordion/AccordionItem.vue +5 -2
- package/src/components/accordion/index.ts +1 -1
- package/src/components/accordion/theme/Accordion.carbon.theme.ts +3 -5
- package/src/components/accordion/theme/AccordionItem.base.theme.ts +10 -7
- package/src/components/accordion/theme/AccordionItem.carbon.theme.ts +2 -30
- package/src/components/carousel/CarouselSlide.vue +9 -4
- package/src/components/checkbox/theme/Checkbox.base.theme.ts +1 -1
- package/src/components/container/Container.vue +4 -0
- package/src/components/container/theme/Container.base.theme.ts +7 -1
- package/src/components/form/theme/Form.base.theme.ts +1 -1
- package/src/components/label/theme/Label.carbon.theme.ts +0 -2
- package/src/components/menu/Menu.vue +1 -1
- package/src/components/menu/theme/MenuItem.base.theme.ts +1 -1
- package/src/components/radio/theme/Radio.base.theme.ts +1 -1
- package/src/components/select/Select.vue +0 -3
- package/src/components/select/theme/Select.base.theme.ts +1 -1
- package/src/components/select/theme/Select.carbon.theme.ts +1 -1
- package/src/components/slider/theme/Slider.carbon.theme.ts +1 -1
- package/src/components/tab/Tab.vue +1 -1
- package/src/components/tab/theme/TabGroup.carbon.theme.ts +1 -1
- package/src/components/table/Table.vue +1 -1
- package/src/composables/keys.ts +2 -2
- package/src/version.ts +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
const
|
|
1
|
+
const s = {
|
|
2
2
|
classes: {
|
|
3
3
|
wrapper: "",
|
|
4
|
-
box: ({ props: e, data:
|
|
4
|
+
box: ({ props: e, data: t }) => {
|
|
5
5
|
const r = ["w-full border border-gray-300 dark:border-gray-700 pr-8 outline-transparent outline outline-2 outline-offset-[-1px] transition-all duration-150 ease-in-out rounded-md shadow-sm"];
|
|
6
|
-
return !
|
|
6
|
+
return !t.errorInternal && !e.disabled && r.push("hover:border-gray-400 dark:hover:border-gray-500"), e.size === "xs" ? r.push("px-2 py-1 text-xs") : e.size === "sm" ? r.push("px-2 py-2 text-sm") : e.size === "lg" ? r.push("px-4 py-3 text-lg") : e.size === "xl" ? r.push("px-5 py-4 text-xl") : r.push("px-3 py-2"), e.disabled ? r.push("bg-gray-100 dark:bg-gray-900 text-gray-500 cursor-not-allowed") : r.push("bg-white dark:bg-gray-800 text-gray-700 dark:text-gray-200"), t.errorInternal ? r.push("border-red-500 dark:border-red-400 group-focus:outline-red-500") : e.disabled || r.push("group-focus:outline-[color:var(--x-select-border)]"), r;
|
|
7
7
|
},
|
|
8
|
-
content: "py-1 max-h-72 overflow-
|
|
8
|
+
content: "py-1 max-h-72 overflow-y-auto",
|
|
9
9
|
iconWrapper: "pointer-events-none absolute inset-y-0 right-0 flex items-center px-2",
|
|
10
10
|
icon: ({ props: e }) => {
|
|
11
|
-
const
|
|
12
|
-
return e.size === "sm" || e.size === "xs" ?
|
|
11
|
+
const t = [""];
|
|
12
|
+
return e.size === "sm" || e.size === "xs" ? t.push("h-3 w-3") : e.size === "lg" ? t.push("h-6 w-6") : e.size === "xl" ? t.push("h-7 w-7") : t.push("h-5 w-5"), e.disabled ? t.push("text-gray-300 dark:text-gray-500") : t.push("text-gray-500 dark:text-gray-400"), t;
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
|
-
styles: ({ colors: e, css:
|
|
15
|
+
styles: ({ colors: e, css: t }) => {
|
|
16
16
|
const r = e.getPalette("primary");
|
|
17
|
-
return
|
|
17
|
+
return t.get("border", r[500]);
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, a = s;
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
a as default
|
|
22
22
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a = {
|
|
2
2
|
classes: {
|
|
3
3
|
wrapper: "",
|
|
4
4
|
box: ({ props: e, data: t }) => {
|
|
5
5
|
const r = ["w-full border-b text-sm px-4 border-gray-300 dark:border-gray-700 pr-8 outline-transparent outline outline-2 outline-offset-[-1px] transition-all duration-150 ease-in-out"];
|
|
6
6
|
return !t.errorInternal && !e.disabled && r.push("hover:border-gray-400 dark:hover:border-gray-500"), e.size === "xs" || e.size === "sm" ? r.push("py-1.5") : e.size === "lg" || e.size === "xl" ? r.push("py-3.5") : r.push("py-2.5"), e.disabled ? r.push("bg-gray-100 dark:bg-gray-900 text-gray-300 cursor-not-allowed") : e.readonly ? r.push("bg-white dark:bg-gray-900 text-gray-700") : r.push("bg-gray-50 dark:bg-gray-800 text-gray-700 dark:text-gray-200"), t.errorInternal ? r.push("border-red-500 dark:border-red-400 group-focus:outline-red-500") : e.disabled || r.push("group-focus:outline-[color:var(--x-select-border)]"), r;
|
|
7
7
|
},
|
|
8
|
-
content: "py-1 max-h-72 overflow-
|
|
8
|
+
content: "py-1 max-h-72 overflow-y-auto",
|
|
9
9
|
iconWrapper: "pointer-events-none absolute inset-y-0 right-0 flex items-center px-2",
|
|
10
10
|
icon: ({ props: e }) => {
|
|
11
11
|
const t = ["h-5 w-5"];
|
|
@@ -16,7 +16,7 @@ const s = {
|
|
|
16
16
|
const r = e.getPalette("primary");
|
|
17
17
|
return t.get("border", r[500]);
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, s = a;
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
s as default
|
|
22
22
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const s = {
|
|
2
2
|
classes: {
|
|
3
3
|
wrapper: "",
|
|
4
|
-
drag: "w-[16px] h-[16px] -mt-[11px] -ml-[8px] rounded-full bg-gray-900"
|
|
4
|
+
drag: "w-[16px] h-[16px] -mt-[11px] -ml-[8px] rounded-full bg-gray-900 dark:bg-gray-100"
|
|
5
5
|
},
|
|
6
|
-
styles: ({ props:
|
|
7
|
-
const a = e.getPalette("primary"), l = e.getPalette(
|
|
8
|
-
return
|
|
6
|
+
styles: ({ props: r, colors: e, css: t }) => {
|
|
7
|
+
const a = e.getPalette("primary"), l = e.getPalette(r.color);
|
|
8
|
+
return t.variables({
|
|
9
9
|
bg: l[500],
|
|
10
10
|
border: a[500]
|
|
11
11
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as R, computed as s, ref as
|
|
2
|
-
import { useMutationObserver as
|
|
3
|
-
import { injectTabGroupKey as
|
|
4
|
-
import { useCommon as
|
|
5
|
-
import { useTheme as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { closeIcon as
|
|
9
|
-
const
|
|
10
|
-
...
|
|
1
|
+
import { defineComponent as R, computed as s, ref as d, inject as j, reactive as D, onMounted as E, openBlock as c, createBlock as m, resolveDynamicComponent as L, normalizeStyle as V, unref as o, normalizeClass as v, withCtx as M, renderSlot as y, createElementVNode as z, createCommentVNode as p, toDisplayString as O, Teleport as P, createElementBlock as X } from "vue";
|
|
2
|
+
import { useMutationObserver as F } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.9/node_modules/@vueuse/core/index.js";
|
|
3
|
+
import { injectTabGroupKey as G } from "../../composables/keys.js";
|
|
4
|
+
import { useCommon as x } from "../../composables/useCommon.js";
|
|
5
|
+
import { useTheme as I } from "../../composables/useTheme.js";
|
|
6
|
+
import C from "../icon/Icon.vue.js";
|
|
7
|
+
import K from "../link/Link.vue.js";
|
|
8
|
+
import { closeIcon as q } from "../../common/icons.js";
|
|
9
|
+
const A = {
|
|
10
|
+
...x.props(),
|
|
11
11
|
value: {
|
|
12
12
|
type: [String, Number]
|
|
13
13
|
},
|
|
@@ -21,21 +21,21 @@ const q = {
|
|
|
21
21
|
disabled: Boolean,
|
|
22
22
|
exact: Boolean,
|
|
23
23
|
removable: Boolean
|
|
24
|
-
},
|
|
24
|
+
}, H = {
|
|
25
25
|
name: "XTab",
|
|
26
26
|
validators: {
|
|
27
|
-
...
|
|
27
|
+
...x.validators()
|
|
28
28
|
}
|
|
29
|
-
},
|
|
30
|
-
...
|
|
31
|
-
props:
|
|
29
|
+
}, te = /* @__PURE__ */ R({
|
|
30
|
+
...H,
|
|
31
|
+
props: A,
|
|
32
32
|
emits: ["remove"],
|
|
33
33
|
setup(T) {
|
|
34
34
|
const t = T, i = s(() => {
|
|
35
35
|
var e, u;
|
|
36
36
|
return ((u = (e = l.value) == null ? void 0 : e.$el) == null ? void 0 : u.href) || t.value;
|
|
37
|
-
}), S = s(() => t.label || t.value),
|
|
38
|
-
tabsContentRef:
|
|
37
|
+
}), S = s(() => t.label || t.value), b = d(null), l = d(null), a = j(G, {
|
|
38
|
+
tabsContentRef: d(null),
|
|
39
39
|
activateTab: () => {
|
|
40
40
|
},
|
|
41
41
|
state: D({
|
|
@@ -47,43 +47,43 @@ const q = {
|
|
|
47
47
|
size: "md",
|
|
48
48
|
color: "primary"
|
|
49
49
|
})
|
|
50
|
-
}),
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
}), k = s(() => a.state.exact || t.exact), f = s(() => t.size || a.state.size);
|
|
51
|
+
E(() => {
|
|
52
|
+
b.value = a.tabsContentRef.value, t.to && l.value && (g(), F(l.value.$el, g, {
|
|
53
53
|
attributes: !0,
|
|
54
54
|
attributeFilter: ["class"]
|
|
55
55
|
}));
|
|
56
56
|
});
|
|
57
|
-
function
|
|
58
|
-
l.value && l.value.$el && t.to && l.value.$el.classList.contains(
|
|
57
|
+
function g() {
|
|
58
|
+
l.value && l.value.$el && t.to && l.value.$el.classList.contains(k.value ? "router-link-exact-active" : "router-link-active") && a.activateTab(i.value);
|
|
59
59
|
}
|
|
60
|
-
const r = s(() => a.state.active === i.value),
|
|
61
|
-
function
|
|
60
|
+
const r = s(() => a.state.active === i.value), $ = s(() => a.state.color);
|
|
61
|
+
function h(e) {
|
|
62
62
|
if (t.disabled) {
|
|
63
63
|
e.preventDefault(), e.stopPropagation();
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
66
|
!t.to && typeof i.value < "u" && a.activateTab(i.value);
|
|
67
67
|
}
|
|
68
|
-
const { styles: w, classes: n, className: B } =
|
|
68
|
+
const { styles: w, classes: n, className: B } = I("Tab", {}, d({
|
|
69
69
|
...t,
|
|
70
|
-
size:
|
|
71
|
-
exact:
|
|
70
|
+
size: f.value,
|
|
71
|
+
exact: k.value
|
|
72
72
|
}), {
|
|
73
73
|
...a.state,
|
|
74
74
|
selected: r
|
|
75
75
|
});
|
|
76
|
-
return (e, u) => (
|
|
76
|
+
return (e, u) => (c(), m(L(e.to ? K : e.tag), {
|
|
77
77
|
ref_key: "elRef",
|
|
78
78
|
ref: l,
|
|
79
79
|
"data-value": i.value,
|
|
80
80
|
to: e.to,
|
|
81
|
-
color: r.value ?
|
|
82
|
-
style:
|
|
81
|
+
color: r.value ? $.value : void 0,
|
|
82
|
+
style: V([
|
|
83
83
|
o(w),
|
|
84
84
|
e.to && r.value && o(a).state.variant === "block" ? "--x-link-text: var(--x-tab-group-text); --x-link-text-hover: var(--x-tab-group-text);" : ""
|
|
85
85
|
]),
|
|
86
|
-
class:
|
|
86
|
+
class: v([
|
|
87
87
|
o(B),
|
|
88
88
|
o(n).wrapper,
|
|
89
89
|
"shrink-0",
|
|
@@ -97,52 +97,53 @@ const q = {
|
|
|
97
97
|
]),
|
|
98
98
|
"aria-disabled": e.disabled ? "true" : void 0,
|
|
99
99
|
"aria-selected": r.value ? "true" : "false",
|
|
100
|
-
onClick:
|
|
100
|
+
onClick: h
|
|
101
101
|
}, {
|
|
102
102
|
default: M(() => [
|
|
103
|
-
|
|
103
|
+
y(e.$slots, "tab", {
|
|
104
104
|
label: e.label,
|
|
105
105
|
value: e.value,
|
|
106
|
-
size:
|
|
106
|
+
size: f.value,
|
|
107
107
|
icon: e.icon
|
|
108
108
|
}, () => [
|
|
109
|
-
|
|
110
|
-
class:
|
|
109
|
+
z("div", {
|
|
110
|
+
class: v(o(n).content)
|
|
111
111
|
}, [
|
|
112
|
-
e.icon ? (
|
|
112
|
+
e.icon ? (c(), m(C, {
|
|
113
113
|
key: 0,
|
|
114
114
|
icon: e.icon,
|
|
115
|
-
size:
|
|
116
|
-
class:
|
|
117
|
-
}, null, 8, ["icon", "size", "class"])) :
|
|
118
|
-
|
|
119
|
-
class:
|
|
115
|
+
size: f.value,
|
|
116
|
+
class: v(o(n).icon)
|
|
117
|
+
}, null, 8, ["icon", "size", "class"])) : p("", !0),
|
|
118
|
+
z("div", {
|
|
119
|
+
class: v(o(n).label)
|
|
120
120
|
}, O(S.value), 3),
|
|
121
|
-
e.removable ? (
|
|
121
|
+
e.removable ? (c(), m(C, {
|
|
122
122
|
key: 1,
|
|
123
123
|
size: "sm",
|
|
124
|
-
icon: o(
|
|
124
|
+
icon: o(q),
|
|
125
125
|
class: "ml-2 cursor-pointer hover:text-gray-700 dark:hover:text-gray-500 transition-colors duration-150",
|
|
126
126
|
onClick: u[0] || (u[0] = (N) => e.$emit("remove", N))
|
|
127
|
-
}, null, 8, ["icon"])) :
|
|
127
|
+
}, null, 8, ["icon"])) : p("", !0)
|
|
128
128
|
], 2)
|
|
129
129
|
]),
|
|
130
|
-
r.value &&
|
|
130
|
+
r.value && b.value ? (c(), m(P, {
|
|
131
131
|
key: 0,
|
|
132
|
-
to:
|
|
132
|
+
to: b.value
|
|
133
133
|
}, [
|
|
134
|
-
|
|
134
|
+
e.$slots.default ? (c(), X("div", {
|
|
135
|
+
key: 0,
|
|
135
136
|
role: "tabpanel",
|
|
136
|
-
class:
|
|
137
|
+
class: v(o(n).tabpanel)
|
|
137
138
|
}, [
|
|
138
|
-
|
|
139
|
-
], 2)
|
|
140
|
-
], 8, ["to"])) :
|
|
139
|
+
y(e.$slots, "default")
|
|
140
|
+
], 2)) : p("", !0)
|
|
141
|
+
], 8, ["to"])) : p("", !0)
|
|
141
142
|
]),
|
|
142
143
|
_: 3
|
|
143
144
|
}, 8, ["data-value", "to", "color", "style", "class", "aria-disabled", "aria-selected"]));
|
|
144
145
|
}
|
|
145
146
|
});
|
|
146
147
|
export {
|
|
147
|
-
|
|
148
|
+
te as default
|
|
148
149
|
};
|
|
@@ -11,7 +11,7 @@ const l = {
|
|
|
11
11
|
},
|
|
12
12
|
tracker: ({ props: t }) => {
|
|
13
13
|
const r = ["absolute transition-all duration-150"];
|
|
14
|
-
return t.variant === "line" && r.push("h-[2px] -mt-[2px] bg-[color:var(--x-tab-group-text)] dark:bg-[color:var(--x-tab-group-dark-text)]"), t.variant === "block" && r.push("border-t-2 border-[color:var(--x-tab-group-text)] dark:border-[color:var(--x-tab-group-dark-text)] h-full top-0 bg-gray-100 dark:bg-gray-700"), r;
|
|
14
|
+
return t.variant === "line" && r.push("h-[2px] -mt-[2px] bg-[color:var(--x-tab-group-text)] dark:bg-[color:var(--x-tab-group-dark-text)]"), t.variant === "block" && r.push("border-t-2 border-solid border-[color:var(--x-tab-group-text)] dark:border-[color:var(--x-tab-group-dark-text)] h-full top-0 bg-gray-100 dark:bg-gray-700"), r;
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
styles: ({ props: t, colors: r, css: e }) => {
|
|
@@ -25,7 +25,7 @@ const l = {
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
},
|
|
28
|
+
}, o = l;
|
|
29
29
|
export {
|
|
30
|
-
|
|
30
|
+
o as default
|
|
31
31
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as J, ref as X, watch as F, resolveComponent as O, openBlock as
|
|
1
|
+
import { defineComponent as J, ref as X, watch as F, resolveComponent as O, openBlock as n, createElementBlock as i, normalizeClass as p, unref as c, renderSlot as d, createElementVNode as f, normalizeStyle as P, createVNode as m, withCtx as u, createBlock as y, createCommentVNode as b, Fragment as k, renderList as v, createTextVNode as C, toDisplayString as N } from "vue";
|
|
2
2
|
import { useTheme as W } from "../../composables/useTheme.js";
|
|
3
3
|
import q from "./TableHead.vue.js";
|
|
4
4
|
import S from "./TableHeader.vue.js";
|
|
@@ -41,8 +41,8 @@ const R = { key: 1 }, U = ["colspan"], Y = { key: 2 }, Z = ["colspan"], j = ["on
|
|
|
41
41
|
default: !0
|
|
42
42
|
},
|
|
43
43
|
expandable: Boolean
|
|
44
|
-
},
|
|
45
|
-
...
|
|
44
|
+
}, ne = { name: "XTable" }, fe = /* @__PURE__ */ J({
|
|
45
|
+
...ne,
|
|
46
46
|
props: {
|
|
47
47
|
...te,
|
|
48
48
|
items: {
|
|
@@ -65,41 +65,41 @@ const R = { key: 1 }, U = ["colspan"], Y = { key: 2 }, Z = ["colspan"], j = ["on
|
|
|
65
65
|
$.expandable && (g.value = T(e));
|
|
66
66
|
}, { immediate: !0 });
|
|
67
67
|
const H = A;
|
|
68
|
-
function V(e,
|
|
68
|
+
function V(e, l) {
|
|
69
69
|
if (e)
|
|
70
|
-
for (let r = 0; r <
|
|
71
|
-
const { 0: t, 1:
|
|
70
|
+
for (let r = 0; r < l.length; r++) {
|
|
71
|
+
const { 0: t, 1: o } = l[r].split(",");
|
|
72
72
|
if (e === t)
|
|
73
|
-
return parseInt(
|
|
73
|
+
return parseInt(o) > 0 ? 1 : -1;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
function I(e) {
|
|
77
|
-
const
|
|
77
|
+
const l = $.sort.slice(0);
|
|
78
78
|
let r = !1;
|
|
79
|
-
for (let t = 0; t <
|
|
80
|
-
const { 0:
|
|
81
|
-
if (
|
|
82
|
-
if (r = !0,
|
|
83
|
-
|
|
79
|
+
for (let t = 0; t < l.length; t++) {
|
|
80
|
+
const { 0: o, 1: s } = l[t].split(",");
|
|
81
|
+
if (o === e.value) {
|
|
82
|
+
if (r = !0, s === "-1") {
|
|
83
|
+
l.splice(t, 1, `${e.value},1`);
|
|
84
84
|
break;
|
|
85
|
-
} else if (
|
|
86
|
-
|
|
85
|
+
} else if (s === "1") {
|
|
86
|
+
l.splice(t, 1);
|
|
87
87
|
break;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
r ||
|
|
91
|
+
r || l.push(`${e.value},-1`), H("update:sort", l);
|
|
92
92
|
}
|
|
93
|
-
function L(e,
|
|
94
|
-
if (!
|
|
93
|
+
function L(e, l) {
|
|
94
|
+
if (!l)
|
|
95
95
|
return "";
|
|
96
|
-
const r = Array.isArray(
|
|
97
|
-
return (r == null ? void 0 : r.reduce((
|
|
96
|
+
const r = Array.isArray(l) ? l : l.match(/([^[.\]])+/g);
|
|
97
|
+
return (r == null ? void 0 : r.reduce((o, s) => o && o[s], e)) ?? "";
|
|
98
98
|
}
|
|
99
99
|
const { styles: D, classes: w, className: E } = W("Table", {}, $);
|
|
100
|
-
return (e,
|
|
100
|
+
return (e, l) => {
|
|
101
101
|
const r = O("x-icon");
|
|
102
|
-
return
|
|
102
|
+
return n(), i("div", {
|
|
103
103
|
class: p([c(E), c(w).wrapper])
|
|
104
104
|
}, [
|
|
105
105
|
d(e.$slots, "title"),
|
|
@@ -110,20 +110,20 @@ const R = { key: 1 }, U = ["colspan"], Y = { key: 2 }, Z = ["colspan"], j = ["on
|
|
|
110
110
|
}, [
|
|
111
111
|
m(q, null, {
|
|
112
112
|
default: u(() => [
|
|
113
|
-
e.expandable ? (
|
|
113
|
+
e.expandable ? (n(), y(S, {
|
|
114
114
|
key: 0,
|
|
115
115
|
width: "48",
|
|
116
116
|
class: "!p-0",
|
|
117
117
|
"sticky-header": e.stickyHeader
|
|
118
118
|
}, null, 8, ["sticky-header"])) : b("", !0),
|
|
119
|
-
(
|
|
120
|
-
key:
|
|
119
|
+
(n(!0), i(k, null, v(e.headers, (t, o) => (n(), y(S, {
|
|
120
|
+
key: o,
|
|
121
121
|
"sticky-header": e.stickyHeader,
|
|
122
122
|
"text-align": t.align,
|
|
123
123
|
sort: V(t.value, e.sort),
|
|
124
124
|
sortable: t.sortable,
|
|
125
125
|
width: t.width,
|
|
126
|
-
onClick: (
|
|
126
|
+
onClick: (s) => t.sortable ? I(t) : null
|
|
127
127
|
}, {
|
|
128
128
|
default: u(() => [
|
|
129
129
|
d(e.$slots, `header-${t.value}`, { header: t }, () => [
|
|
@@ -137,26 +137,26 @@ const R = { key: 1 }, U = ["colspan"], Y = { key: 2 }, Z = ["colspan"], j = ["on
|
|
|
137
137
|
}),
|
|
138
138
|
m(c(G), null, {
|
|
139
139
|
default: u(() => [
|
|
140
|
-
e.loading ? (
|
|
141
|
-
key:
|
|
140
|
+
e.loading ? (n(!0), i(k, { key: 0 }, v(Number(e.loadingLines), (t, o) => (n(), y(z, {
|
|
141
|
+
key: o,
|
|
142
142
|
striped: e.striped
|
|
143
143
|
}, {
|
|
144
144
|
default: u(() => [
|
|
145
|
-
(
|
|
145
|
+
(n(!0), i(k, null, v(e.headers, (s, a) => (n(), y(_, {
|
|
146
146
|
key: a,
|
|
147
|
-
"text-align":
|
|
148
|
-
width:
|
|
147
|
+
"text-align": s.align,
|
|
148
|
+
width: s.width,
|
|
149
149
|
dense: e.dense,
|
|
150
150
|
fixed: e.fixed
|
|
151
151
|
}, {
|
|
152
152
|
default: u(() => [
|
|
153
|
-
d(e.$slots, `loading-${
|
|
153
|
+
d(e.$slots, `loading-${s.value}`, { item: t }, () => [
|
|
154
154
|
m(M, {
|
|
155
155
|
class: p(["max-w-[60%]", {
|
|
156
|
-
"mx-auto":
|
|
157
|
-
"ml-auto":
|
|
156
|
+
"mx-auto": s.align === "center",
|
|
157
|
+
"ml-auto": s.align === "right"
|
|
158
158
|
}]),
|
|
159
|
-
shape:
|
|
159
|
+
shape: s.skeletonShape || "line"
|
|
160
160
|
}, null, 8, ["shape", "class"])
|
|
161
161
|
])
|
|
162
162
|
]),
|
|
@@ -164,28 +164,28 @@ const R = { key: 1 }, U = ["colspan"], Y = { key: 2 }, Z = ["colspan"], j = ["on
|
|
|
164
164
|
}, 1032, ["text-align", "width", "dense", "fixed"]))), 128))
|
|
165
165
|
]),
|
|
166
166
|
_: 2
|
|
167
|
-
}, 1032, ["striped"]))), 128)) : e.error ? (
|
|
167
|
+
}, 1032, ["striped"]))), 128)) : e.error ? (n(), i("tr", R, [
|
|
168
168
|
f("td", {
|
|
169
169
|
colspan: e.headers.length
|
|
170
170
|
}, [
|
|
171
171
|
d(e.$slots, "error")
|
|
172
172
|
], 8, U)
|
|
173
|
-
])) : !h.items || h.items.length === 0 ? (
|
|
173
|
+
])) : !h.items || h.items.length === 0 ? (n(), i("tr", Y, [
|
|
174
174
|
f("td", {
|
|
175
175
|
colspan: e.headers.length
|
|
176
176
|
}, [
|
|
177
177
|
d(e.$slots, "empty")
|
|
178
178
|
], 8, Z)
|
|
179
|
-
])) : (
|
|
180
|
-
var
|
|
181
|
-
return
|
|
179
|
+
])) : (n(!0), i(k, { key: 3 }, v(h.items, (t, o) => {
|
|
180
|
+
var s;
|
|
181
|
+
return n(), i(k, { key: o }, [
|
|
182
182
|
m(z, {
|
|
183
183
|
pointer: e.pointer,
|
|
184
184
|
striped: e.striped,
|
|
185
185
|
onClick: (a) => e.$emit("click-row", t)
|
|
186
186
|
}, {
|
|
187
187
|
default: u(() => [
|
|
188
|
-
e.expandable ? (
|
|
188
|
+
e.expandable ? (n(), y(_, {
|
|
189
189
|
key: 0,
|
|
190
190
|
width: "48",
|
|
191
191
|
class: "!p-1"
|
|
@@ -195,13 +195,13 @@ const R = { key: 1 }, U = ["colspan"], Y = { key: 2 }, Z = ["colspan"], j = ["on
|
|
|
195
195
|
return [
|
|
196
196
|
f("button", {
|
|
197
197
|
class: "p-4",
|
|
198
|
-
onClick: (B) => g.value[
|
|
198
|
+
onClick: (B) => g.value[o].__expanded = !g.value[o].__expanded
|
|
199
199
|
}, [
|
|
200
200
|
m(r, {
|
|
201
201
|
icon: c(Q),
|
|
202
202
|
size: e.dense ? "xs" : "md",
|
|
203
203
|
class: p(["transition-transform", {
|
|
204
|
-
"rotate-180": (a = g.value[
|
|
204
|
+
"rotate-180": (a = g.value[o]) == null ? void 0 : a.__expanded
|
|
205
205
|
}])
|
|
206
206
|
}, null, 8, ["icon", "size", "class"])
|
|
207
207
|
], 8, j)
|
|
@@ -209,7 +209,7 @@ const R = { key: 1 }, U = ["colspan"], Y = { key: 2 }, Z = ["colspan"], j = ["on
|
|
|
209
209
|
}),
|
|
210
210
|
_: 2
|
|
211
211
|
}, 1024)) : b("", !0),
|
|
212
|
-
(
|
|
212
|
+
(n(!0), i(k, null, v(e.headers, (a, B) => (n(), y(_, {
|
|
213
213
|
key: B,
|
|
214
214
|
"text-align": a.align,
|
|
215
215
|
truncate: a.truncate,
|
|
@@ -227,10 +227,10 @@ const R = { key: 1 }, U = ["colspan"], Y = { key: 2 }, Z = ["colspan"], j = ["on
|
|
|
227
227
|
]),
|
|
228
228
|
_: 2
|
|
229
229
|
}, 1032, ["pointer", "striped", "onClick"]),
|
|
230
|
-
e.expandable ? (
|
|
230
|
+
e.expandable ? (n(), i("tr", x, [
|
|
231
231
|
f("td", ee, [
|
|
232
232
|
f("div", {
|
|
233
|
-
class: p(["overflow-hidden", [(
|
|
233
|
+
class: p(["overflow-hidden transition-opacity", [(s = g.value[o]) != null && s.__expanded ? "" : "opacity-0 max-h-0"]])
|
|
234
234
|
}, [
|
|
235
235
|
d(e.$slots, "expanded-row", { item: t })
|
|
236
236
|
], 2)
|
|
@@ -241,7 +241,7 @@ const R = { key: 1 }, U = ["colspan"], Y = { key: 2 }, Z = ["colspan"], j = ["on
|
|
|
241
241
|
]),
|
|
242
242
|
_: 3
|
|
243
243
|
}),
|
|
244
|
-
e.loading ? (
|
|
244
|
+
e.loading ? (n(), i("div", {
|
|
245
245
|
key: 0,
|
|
246
246
|
class: p(c(w).loadingWrapper)
|
|
247
247
|
}, [
|
|
@@ -5,7 +5,7 @@ import type { ButtonGroupInjection } from '../components/button/ButtonGroup.vue'
|
|
|
5
5
|
import type { NotificationInjection } from '../components/notifications/Notifications.vue';
|
|
6
6
|
import type { IconInjection } from '../components/icon/Icon.vue';
|
|
7
7
|
import type { FormGroupInjection } from '../components/formGroup';
|
|
8
|
-
import type {
|
|
8
|
+
import type { AccordionInjection } from '../components/accordion';
|
|
9
9
|
import type { UIOptions } from '../create';
|
|
10
10
|
import type { UITheme } from '../theme';
|
|
11
11
|
export declare const injectOptionsKey: InjectionKey<UIOptions>;
|
|
@@ -16,4 +16,4 @@ export declare const injectFormGroupKey: InjectionKey<FormGroupInjection>;
|
|
|
16
16
|
export declare const injectIconsKey: InjectionKey<IconInjection>;
|
|
17
17
|
export declare const injectButtonGroupKey: InjectionKey<ButtonGroupInjection>;
|
|
18
18
|
export declare const injectNotificationKey: InjectionKey<NotificationInjection>;
|
|
19
|
-
export declare const injectAccordionKey: InjectionKey<
|
|
19
|
+
export declare const injectAccordionKey: InjectionKey<AccordionInjection>;
|
package/lib/index.js
CHANGED
|
@@ -65,7 +65,7 @@ import { useInteractive as Po } from "./composables/useInteractive.js";
|
|
|
65
65
|
import { useNotifications as Ao } from "./composables/useNotifications.js";
|
|
66
66
|
import { default as wo } from "./themes/base/index.js";
|
|
67
67
|
import { default as _o } from "./themes/carbon/index.js";
|
|
68
|
-
function styleInject(css,ref){if(ref===void 0){ref={}}var insertAt=ref.insertAt;if(!css||typeof document==="undefined"){return}var head=document.head||document.getElementsByTagName("head")[0];var style=document.createElement("style");style.type="text/css";if(insertAt==="top"){if(head.firstChild){head.insertBefore(style,head.firstChild)}else{head.appendChild(style)}}else{head.appendChild(style)}if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}};styleInject(`.resize-observer{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:0}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}._alert_rqxly_2{color:var(--x-alert-text);background-color:var(--x-alert-bg);border-color:var(--x-alert-border)}._alert--glow_rqxly_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-alert-glow),0 4px 6px -4px var(--x-alert-glow)}._alert_rqxly_2.dark,.dark ._alert_rqxly_2{color:var(--x-alert-dark-text,var(--x-alert-text));background-color:var(--x-alert-dark-bg,var(--x-alert-bg));border-color:var(--x-alert-dark-border,var(--x-alert-border))}._avatar_7u83c_2{color:var(--x-avatar-text);background-color:var(--x-avatar-bg);border-color:var(--x-avatar-border)}._avatar_7u83c_2.dark,.dark ._avatar_7u83c_2{color:var(--x-avatar-dark-text,var(--x-avatar-text));background-color:var(--x-avatar-dark-bg,var(--x-avatar-bg));border-color:var(--x-avatar-dark-border,var(--x-avatar-border))}._button-group_1p7wb_2:not(._button-group--rounded_1p7wb_1)>:first-child{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}._button-group_1p7wb_2:not(._button-group--rounded_1p7wb_1)>:last-child{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}._button-group--rounded_1p7wb_1>:first-of-type{border-top-left-radius:9999px;border-bottom-left-radius:9999px}._button-group--rounded_1p7wb_1>:last-child{border-top-right-radius:9999px;border-bottom-right-radius:9999px}._checkbox--glow_a1gm3_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-checkbox-glow),0 4px 6px -4px var(--x-checkbox-glow)}._radio_67qot_2{border-color:var(--x-radio-border);background-color:var(--x-radio-bg)}._radio_circle_67qot_1{color:var(--x-radio-circle)}._radio--glow_67qot_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-radio-glow),0 4px 6px -4px var(--x-radio-glow)}._radio_67qot_2.dark,.dark ._radio_67qot_2{border-color:var(--x-radio-dark-border);background-color:var(--x-radio-dark-bg)}._radio_67qot_2.dark_circle,.dark ._radio_circle_67qot_1{color:var(--x-radio-dark-circle)}._scrollwrap_12093_2::after,._scrollwrap_12093_2::before{content:"";pointer-events:none;position:absolute;z-index:1;transition:box-shadow .2s}._scrollwrap_12093_2._horizontal_12093_12::after,._scrollwrap_12093_2._horizontal_12093_12::before{top:0;bottom:0;width:20px}._scrollwrap_12093_2._vertical_12093_19::after,._scrollwrap_12093_2._vertical_12093_19::before{right:0;left:0;height:20px}._scrollwrap_12093_2._horizontal_12093_12::before{left:0}._scrollwrap_12093_2._horizontal_12093_12::after{right:0}._scrollwrap_12093_2._vertical_12093_19::before{top:0}._scrollwrap_12093_2._vertical_12093_19::after{bottom:0}._scrollwrap_12093_2._shadow-left_12093_42::before{box-shadow:inset 12px 0 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-right_12093_46::after{box-shadow:inset -12px 0 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-top_12093_50::before{box-shadow:inset 0 12px 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-bottom_12093_54::after{box-shadow:inset 0 -12px 10px -10px rgb(0 0 0 / 7%)}._hidescroll_12093_59{-ms-overflow-style:auto;scrollbar-width:none}._hidescroll_12093_59::-webkit-scrollbar{display:none}._button_1liag_2[data-v-46c0001b]{color:var(--x-button-text);background-color:var(--x-button-bg);border-color:var(--x-button-border)}._button--glow_1liag_1[data-v-46c0001b]{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-button-glow),0 4px 6px -4px var(--x-button-glow)}._button_1liag_2[data-v-46c0001b]:hover{color:var(--x-button-text-hover,var(--x-button-text));background-color:var(--x-button-bg-hover,var(--x-button-bg));border-color:var(--x-button-border-hover,var(--x-button-border))}._button_1liag_2[data-v-46c0001b]:active{color:var(--x-button-text-active,var(--x-button-text));background-color:var(--x-button-bg-active,var(--x-button-bg));border-color:var(--x-button-border-active,var(--x-button-border))}._button_1liag_2.dark[data-v-46c0001b],.dark ._button_1liag_2[data-v-46c0001b]{color:var(--x-button-dark-text,var(--x-button-text));background-color:var(--x-button-dark-bg,var(--x-button-bg));border-color:var(--x-button-dark-border,var(--x-button-border))}._button_1liag_2.dark[data-v-46c0001b]:hover,.dark ._button_1liag_2[data-v-46c0001b]:hover{color:var(--x-button-dark-text-hover,var(--x-button-dark-text,var(--x-button-text)));background-color:var(--x-button-dark-bg-hover,var(--x-button-dark-bg,var(--x-button-bg)));border-color:var(--x-button-dark-border-hover,var(--x-button-dark-border,var(--x-button-border)))}._button_1liag_2.dark[data-v-46c0001b]:active,.dark ._button_1liag_2[data-v-46c0001b]:active{color:var(--x-button-dark-text-active,var(--x-button-dark-text));background-color:var(--x-button-dark-bg-active,var(--x-button-dark-bg,var(--x-button-bg)));border-color:var(--x-button-dark-border-active,var(--x-button-dark-border,var(--x-button-border)))}._carousel-slide_uzvvz_2 img[data-v-
|
|
68
|
+
function styleInject(css,ref){if(ref===void 0){ref={}}var insertAt=ref.insertAt;if(!css||typeof document==="undefined"){return}var head=document.head||document.getElementsByTagName("head")[0];var style=document.createElement("style");style.type="text/css";if(insertAt==="top"){if(head.firstChild){head.insertBefore(style,head.firstChild)}else{head.appendChild(style)}}else{head.appendChild(style)}if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}};styleInject(`.resize-observer{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:0}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}._alert_rqxly_2{color:var(--x-alert-text);background-color:var(--x-alert-bg);border-color:var(--x-alert-border)}._alert--glow_rqxly_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-alert-glow),0 4px 6px -4px var(--x-alert-glow)}._alert_rqxly_2.dark,.dark ._alert_rqxly_2{color:var(--x-alert-dark-text,var(--x-alert-text));background-color:var(--x-alert-dark-bg,var(--x-alert-bg));border-color:var(--x-alert-dark-border,var(--x-alert-border))}._avatar_7u83c_2{color:var(--x-avatar-text);background-color:var(--x-avatar-bg);border-color:var(--x-avatar-border)}._avatar_7u83c_2.dark,.dark ._avatar_7u83c_2{color:var(--x-avatar-dark-text,var(--x-avatar-text));background-color:var(--x-avatar-dark-bg,var(--x-avatar-bg));border-color:var(--x-avatar-dark-border,var(--x-avatar-border))}._button-group_1p7wb_2:not(._button-group--rounded_1p7wb_1)>:first-child{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}._button-group_1p7wb_2:not(._button-group--rounded_1p7wb_1)>:last-child{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}._button-group--rounded_1p7wb_1>:first-of-type{border-top-left-radius:9999px;border-bottom-left-radius:9999px}._button-group--rounded_1p7wb_1>:last-child{border-top-right-radius:9999px;border-bottom-right-radius:9999px}._checkbox--glow_a1gm3_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-checkbox-glow),0 4px 6px -4px var(--x-checkbox-glow)}._radio_67qot_2{border-color:var(--x-radio-border);background-color:var(--x-radio-bg)}._radio_circle_67qot_1{color:var(--x-radio-circle)}._radio--glow_67qot_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-radio-glow),0 4px 6px -4px var(--x-radio-glow)}._radio_67qot_2.dark,.dark ._radio_67qot_2{border-color:var(--x-radio-dark-border);background-color:var(--x-radio-dark-bg)}._radio_67qot_2.dark_circle,.dark ._radio_circle_67qot_1{color:var(--x-radio-dark-circle)}._scrollwrap_12093_2::after,._scrollwrap_12093_2::before{content:"";pointer-events:none;position:absolute;z-index:1;transition:box-shadow .2s}._scrollwrap_12093_2._horizontal_12093_12::after,._scrollwrap_12093_2._horizontal_12093_12::before{top:0;bottom:0;width:20px}._scrollwrap_12093_2._vertical_12093_19::after,._scrollwrap_12093_2._vertical_12093_19::before{right:0;left:0;height:20px}._scrollwrap_12093_2._horizontal_12093_12::before{left:0}._scrollwrap_12093_2._horizontal_12093_12::after{right:0}._scrollwrap_12093_2._vertical_12093_19::before{top:0}._scrollwrap_12093_2._vertical_12093_19::after{bottom:0}._scrollwrap_12093_2._shadow-left_12093_42::before{box-shadow:inset 12px 0 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-right_12093_46::after{box-shadow:inset -12px 0 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-top_12093_50::before{box-shadow:inset 0 12px 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-bottom_12093_54::after{box-shadow:inset 0 -12px 10px -10px rgb(0 0 0 / 7%)}._hidescroll_12093_59{-ms-overflow-style:auto;scrollbar-width:none}._hidescroll_12093_59::-webkit-scrollbar{display:none}._button_1liag_2[data-v-46c0001b]{color:var(--x-button-text);background-color:var(--x-button-bg);border-color:var(--x-button-border)}._button--glow_1liag_1[data-v-46c0001b]{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-button-glow),0 4px 6px -4px var(--x-button-glow)}._button_1liag_2[data-v-46c0001b]:hover{color:var(--x-button-text-hover,var(--x-button-text));background-color:var(--x-button-bg-hover,var(--x-button-bg));border-color:var(--x-button-border-hover,var(--x-button-border))}._button_1liag_2[data-v-46c0001b]:active{color:var(--x-button-text-active,var(--x-button-text));background-color:var(--x-button-bg-active,var(--x-button-bg));border-color:var(--x-button-border-active,var(--x-button-border))}._button_1liag_2.dark[data-v-46c0001b],.dark ._button_1liag_2[data-v-46c0001b]{color:var(--x-button-dark-text,var(--x-button-text));background-color:var(--x-button-dark-bg,var(--x-button-bg));border-color:var(--x-button-dark-border,var(--x-button-border))}._button_1liag_2.dark[data-v-46c0001b]:hover,.dark ._button_1liag_2[data-v-46c0001b]:hover{color:var(--x-button-dark-text-hover,var(--x-button-dark-text,var(--x-button-text)));background-color:var(--x-button-dark-bg-hover,var(--x-button-dark-bg,var(--x-button-bg)));border-color:var(--x-button-dark-border-hover,var(--x-button-dark-border,var(--x-button-border)))}._button_1liag_2.dark[data-v-46c0001b]:active,.dark ._button_1liag_2[data-v-46c0001b]:active{color:var(--x-button-dark-text-active,var(--x-button-dark-text));background-color:var(--x-button-dark-bg-active,var(--x-button-dark-bg,var(--x-button-bg)));border-color:var(--x-button-dark-border-active,var(--x-button-dark-border,var(--x-button-border)))}._carousel-slide_uzvvz_2 img[data-v-402870d3-s]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._link_ke25h_2[data-v-37edea5a]{color:var(--x-link-text)}._link_ke25h_2[data-v-37edea5a]:hover{color:var(--x-link-text-hover,var(--x-link-text))}._link--shadow_ke25h_1[data-v-37edea5a]{box-shadow:inset 0 -.315em 0 0 var(--x-link-shadow)}._link--shadow_ke25h_1[data-v-37edea5a]:hover{box-shadow:inset 0 -1.325em 0 0 var(--x-link-shadow)}._link_ke25h_2.dark[data-v-37edea5a],.dark ._link_ke25h_2[data-v-37edea5a]{color:var(--x-link-dark-text)}._link_ke25h_2.dark[data-v-37edea5a]:hover,.dark ._link_ke25h_2[data-v-37edea5a]:hover{color:var(--x-link-dark-text-hover,var(--x-link-dark-text))}._link_ke25h_2.dark--shadow[data-v-37edea5a],.dark ._link--shadow_ke25h_1[data-v-37edea5a]{box-shadow:inset 0 -.315em 0 0 var(--x-link-dark-shadow)}._link_ke25h_2.dark--shadow[data-v-37edea5a]:hover,.dark ._link--shadow_ke25h_1[data-v-37edea5a]:hover{box-shadow:inset 0 -1.325em 0 0 var(--x-link-dark-shadow)}._menu-item_eyhiv_2[data-v-8614aac7]{color:var(--x-menu-item-text);background-color:var(--x-menu-item-bg)}._menu-item_eyhiv_2[data-v-8614aac7]::before{content:"";position:absolute;left:-1px;height:100%;width:1px;background-color:transparent}._menu-item_eyhiv_2[data-v-8614aac7]:hover{color:var(--x-menu-item-text-hover,var(--x-menu-item-text));background-color:var(--x-menu-item-bg-hover,var(--x-menu-item-bg))}._menu-item_eyhiv_2.dark[data-v-8614aac7],.dark ._menu-item_eyhiv_2[data-v-8614aac7]{color:var(--x-menu-item-dark-text);background:var(--x-menu-item-dark-bg)}._menu-item_eyhiv_2.dark[data-v-8614aac7]:hover,.dark ._menu-item_eyhiv_2[data-v-8614aac7]:hover{color:var(--x-menu-item-dark-text-hover,var(--x-menu-item-dark-text));background-color:var(--x-menu-item-dark-bg-hover,var(--x-menu-item-dark-bg))}.x-menu-inner ._menu-item--active_eyhiv_1[data-v-8614aac7]::before,.x-menu-inner ._menu-item_eyhiv_2[data-v-8614aac7]:hover::before{background-color:var(--x-menu-item-border-hover)}`);
|
|
69
69
|
export {
|
|
70
70
|
wo as BaseTheme,
|
|
71
71
|
_o as CarbonTheme,
|