@leaflink/stash 50.12.0 → 50.12.1
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/dist/Accordion.js +14 -14
- package/dist/ActionsDropdown.js +2 -2
- package/dist/AddressSelect.js +2 -2
- package/dist/Alert.js +6 -6
- package/dist/AppNavigationItem.js +8 -8
- package/dist/AppSidebar.js +8 -8
- package/dist/AppTopbar.js +3 -3
- package/dist/Avatar.js +3 -3
- package/dist/Backdrop.js +2 -2
- package/dist/Badge.js +2 -2
- package/dist/Box.js +1 -1
- package/dist/{Box.vue_vue_type_script_setup_true_lang-DgJHq-09.js → Box.vue_vue_type_script_setup_true_lang-rFnvwLVY.js} +3 -3
- package/dist/{Box.vue_vue_type_script_setup_true_lang-DgJHq-09.js.map → Box.vue_vue_type_script_setup_true_lang-rFnvwLVY.js.map} +1 -1
- package/dist/Button.js +3 -3
- package/dist/ButtonGroup.js +4 -4
- package/dist/Card.js +7 -7
- package/dist/CardContent.js +2 -2
- package/dist/CardFooter.js +2 -2
- package/dist/CardHeader.js +4 -4
- package/dist/CardMedia.js +6 -6
- package/dist/Carousel.js +33 -33
- package/dist/Carousel.js.map +1 -1
- package/dist/Checkbox.js +7 -7
- package/dist/ChevronToggle.js +1 -1
- package/dist/{ChevronToggle.vue_vue_type_script_setup_true_lang-DuvluoTi.js → ChevronToggle.vue_vue_type_script_setup_true_lang-Ce_qOXfR.js} +3 -3
- package/dist/{ChevronToggle.vue_vue_type_script_setup_true_lang-DuvluoTi.js.map → ChevronToggle.vue_vue_type_script_setup_true_lang-Ce_qOXfR.js.map} +1 -1
- package/dist/Chip.js +7 -7
- package/dist/ConfirmationCodeInput.js +6 -6
- package/dist/ContextSwitcher.js +1 -1
- package/dist/Copy.js +1 -1
- package/dist/CurrencyInput.js +115 -111
- package/dist/CurrencyInput.js.map +1 -1
- package/dist/DataView.js +3 -3
- package/dist/DataView.keys-aSOnA4AD.js.map +1 -1
- package/dist/DataViewFilters.js +3 -3
- package/dist/DataViewSortButton.js +10 -10
- package/dist/DataViewToolbar.js +1 -1
- package/dist/DatePicker.js +1080 -1037
- package/dist/DatePicker.js.map +1 -1
- package/dist/DescriptionList.js +2 -2
- package/dist/DescriptionListDetail.js +2 -2
- package/dist/DescriptionListGroup.js +2 -2
- package/dist/DescriptionListTerm.js +3 -3
- package/dist/Dialog.js +1 -1
- package/dist/Divider.js +2 -2
- package/dist/Dropdown.js +9 -9
- package/dist/EmptyState.js +2 -2
- package/dist/Expand.js +1 -1
- package/dist/{Expand.vue_vue_type_script_setup_true_lang-D0fSAtHr.js → Expand.vue_vue_type_script_setup_true_lang-CiONJfAp.js} +5 -5
- package/dist/{Expand.vue_vue_type_script_setup_true_lang-D0fSAtHr.js.map → Expand.vue_vue_type_script_setup_true_lang-CiONJfAp.js.map} +1 -1
- package/dist/Field.js +1 -1
- package/dist/{Field.vue_vue_type_script_setup_true_lang-DEizIcDo.js → Field.vue_vue_type_script_setup_true_lang-DRaKs9Lm.js} +6 -6
- package/dist/{Field.vue_vue_type_script_setup_true_lang-DEizIcDo.js.map → Field.vue_vue_type_script_setup_true_lang-DRaKs9Lm.js.map} +1 -1
- package/dist/FileUpload.js +7 -7
- package/dist/FilterChip.js +1 -1
- package/dist/FilterDrawerItem.js +9 -9
- package/dist/FilterDropdown.js +1 -1
- package/dist/FilterSelect.js +4 -4
- package/dist/Filters.js +18 -18
- package/dist/HttpError.js +9 -9
- package/dist/Icon.js +2 -2
- package/dist/IconLabel.js +2 -2
- package/dist/Illustration.js +2 -2
- package/dist/{Illustration.vue_vue_type_script_setup_true_lang-CYddAFtS.js → Illustration.vue_vue_type_script_setup_true_lang-BBqgoJO8.js} +3 -3
- package/dist/{Illustration.vue_vue_type_script_setup_true_lang-CYddAFtS.js.map → Illustration.vue_vue_type_script_setup_true_lang-BBqgoJO8.js.map} +1 -1
- package/dist/Image.js +2 -2
- package/dist/{Image.vue_vue_type_script_setup_true_lang-YUNunj71.js → Image.vue_vue_type_script_setup_true_lang-D5u4av0_.js} +3 -3
- package/dist/{Image.vue_vue_type_script_setup_true_lang-YUNunj71.js.map → Image.vue_vue_type_script_setup_true_lang-D5u4av0_.js.map} +1 -1
- package/dist/InlineEdit.js +5 -5
- package/dist/Input.js +2 -2
- package/dist/InputOptions.js +2 -2
- package/dist/IntegrationIcon.js +2 -2
- package/dist/Label.js +1 -1
- package/dist/{Label.vue_vue_type_script_setup_true_lang-C4JKdqvC.js → Label.vue_vue_type_script_setup_true_lang-DPnNUfc6.js} +3 -3
- package/dist/{Label.vue_vue_type_script_setup_true_lang-C4JKdqvC.js.map → Label.vue_vue_type_script_setup_true_lang-DPnNUfc6.js.map} +1 -1
- package/dist/LicenseChip.js +2 -2
- package/dist/ListItem.js +1 -1
- package/dist/ListItemCell.js +2 -2
- package/dist/ListView.js +11 -11
- package/dist/Loading.js +2 -2
- package/dist/Logo.js +1 -1
- package/dist/{Logo.vue_vue_type_script_setup_true_lang-BfUU9J9O.js → Logo.vue_vue_type_script_setup_true_lang-Dz8c98sc.js} +4 -4
- package/dist/{Logo.vue_vue_type_script_setup_true_lang-BfUU9J9O.js.map → Logo.vue_vue_type_script_setup_true_lang-Dz8c98sc.js.map} +1 -1
- package/dist/Menu.js +2 -2
- package/dist/MenuItem.js +2 -2
- package/dist/Metric.js +5 -5
- package/dist/Modal.js +20 -20
- package/dist/Modals.js +6 -6
- package/dist/Module.js +3 -3
- package/dist/ModuleContent.js +3 -3
- package/dist/ModuleFooter.js +2 -2
- package/dist/ModuleHeader.js +2 -2
- package/dist/ModuleHeader.js.map +1 -1
- package/dist/ObfuscateText.js +7 -7
- package/dist/PageContent.js +3 -3
- package/dist/PageHeader.js +6 -6
- package/dist/PageNavigation.js +1 -1
- package/dist/Paginate.js +6 -6
- package/dist/PlaidLink.js +2 -2
- package/dist/QuickAction.js +2 -2
- package/dist/Radio.js +2 -2
- package/dist/RadioGroup.js +2 -2
- package/dist/RadioNew.js +1 -1
- package/dist/RangeInput.js +2 -2
- package/dist/SearchBar.js +3 -3
- package/dist/Select.js +2 -2
- package/dist/SelectStatus.js +7 -7
- package/dist/Skeleton.js +4 -4
- package/dist/Step.js +6 -6
- package/dist/Stepper.js +9 -9
- package/dist/Switch.js +7 -7
- package/dist/Tab.js +4 -4
- package/dist/TabPanel.js +2 -2
- package/dist/Table.js +1 -1
- package/dist/TableCell.js +5 -5
- package/dist/TableHeaderCell.js +2 -2
- package/dist/TableHeaderRow.js +4 -4
- package/dist/TableRow.js +4 -4
- package/dist/TableRow.js.map +1 -1
- package/dist/TableRow.vue.d.ts +12 -8
- package/dist/Tabs.js +2 -2
- package/dist/{Tabs.vue_vue_type_script_setup_true_lang-NZm1OrRT.js → Tabs.vue_vue_type_script_setup_true_lang-CmnBP4i1.js} +4 -4
- package/dist/{Tabs.vue_vue_type_script_setup_true_lang-NZm1OrRT.js.map → Tabs.vue_vue_type_script_setup_true_lang-CmnBP4i1.js.map} +1 -1
- package/dist/TextEditor.js +3313 -3291
- package/dist/TextEditor.js.map +1 -1
- package/dist/Textarea.js +3 -3
- package/dist/Thumbnail.js +7 -7
- package/dist/Thumbnail.js.map +1 -1
- package/dist/ThumbnailEmpty.js +3 -3
- package/dist/ThumbnailGroup.js +6 -6
- package/dist/ThumbnailGroup.js.map +1 -1
- package/dist/{ThumbnailGroup.keys-D6WL5xQ5.js → ThumbnailGroup.keys-EJ4qFNhx.js} +2 -2
- package/dist/{ThumbnailGroup.keys-D6WL5xQ5.js.map → ThumbnailGroup.keys-EJ4qFNhx.js.map} +1 -1
- package/dist/Timeline.js +2 -2
- package/dist/TimelineItem.js +3 -3
- package/dist/Toast.js +277 -280
- package/dist/Toast.js.map +1 -1
- package/dist/Toasts.js +1 -1
- package/dist/Tooltip.js +1 -1
- package/dist/components.css +1 -1
- package/dist/{formatDateTime-C8CYECpd.js → formatDateTime-Dz8bXV0R.js} +98 -12
- package/dist/{formatDateTime-C8CYECpd.js.map → formatDateTime-Dz8bXV0R.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/searchFuzzy-DRasJ33G.js +409 -0
- package/dist/{searchFuzzy-DKooyZM8.js.map → searchFuzzy-DRasJ33G.js.map} +1 -1
- package/dist/storage.js +3 -3
- package/dist/{toTimeZone-CVE1ZmsS.js → toTimeZone-Coq1oPTt.js} +7 -9
- package/dist/{toTimeZone-CVE1ZmsS.js.map → toTimeZone-Coq1oPTt.js.map} +1 -1
- package/dist/useSearch.js +1 -1
- package/dist/utils/formatDateTime.js +2 -2
- package/dist/utils/searchFuzzy.js +1 -1
- package/dist/utils/toTimeZone.js +1 -1
- package/package.json +16 -16
- package/dist/searchFuzzy-DKooyZM8.js +0 -407
package/dist/Accordion.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as v, useSlots as x, useCssModule as y, ref as E, watch as b,
|
|
2
|
-
import { _ as B } from "./Expand.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as v, useSlots as x, useCssModule as y, ref as E, watch as b, createElementBlock as a, openBlock as c, createElementVNode as s, withDirectives as k, createVNode as i, withKeys as h, normalizeClass as w, withModifiers as C, unref as l, renderSlot as _, Fragment as M, toDisplayString as S, vShow as $, withCtx as z } from "vue";
|
|
2
|
+
import { _ as B } from "./Expand.vue_vue_type_script_setup_true_lang-CiONJfAp.js";
|
|
3
3
|
import m from "./Icon.js";
|
|
4
4
|
import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const A = {
|
|
@@ -32,39 +32,39 @@ const A = {
|
|
|
32
32
|
(o) => {
|
|
33
33
|
e.value = o, u();
|
|
34
34
|
}
|
|
35
|
-
), (o, J) => (
|
|
35
|
+
), (o, J) => (c(), a("div", A, [
|
|
36
36
|
s("div", {
|
|
37
37
|
tabindex: "0",
|
|
38
38
|
"data-test": "stash-accordion|toggle",
|
|
39
|
-
class:
|
|
39
|
+
class: w(["stash-accordion__toggle tw-flex tw-items-center", [l(p).toggle, e.value && l(p)["toggle--open"]]]),
|
|
40
40
|
onClick: n,
|
|
41
41
|
onKeypress: [
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
h(n, ["enter"]),
|
|
43
|
+
h(C(n, ["prevent"]), ["space"])
|
|
44
44
|
]
|
|
45
45
|
}, [
|
|
46
|
-
|
|
46
|
+
l(d).header ? (c(), a("div", I, [
|
|
47
47
|
_(o.$slots, "header")
|
|
48
|
-
])) : (
|
|
49
|
-
|
|
48
|
+
])) : (c(), a(M, { key: 1 }, [
|
|
49
|
+
i(m, {
|
|
50
50
|
class: "tw-text-blue-500",
|
|
51
51
|
size: "dense",
|
|
52
52
|
name: t.icon,
|
|
53
53
|
"data-test": "stash-accordion|toggle-icon"
|
|
54
54
|
}, null, 8, ["name"]),
|
|
55
|
-
s("div", N,
|
|
55
|
+
s("div", N, S(t.title), 1)
|
|
56
56
|
], 64)),
|
|
57
|
-
|
|
58
|
-
class:
|
|
57
|
+
i(m, {
|
|
58
|
+
class: w(["tw-ml-auto tw-justify-center tw-text-ice-900 tw-transition-transform tw-duration-300", { "tw-rotate-180": e.value }]),
|
|
59
59
|
size: "dense",
|
|
60
60
|
name: "chevron-down",
|
|
61
61
|
"data-test": "stash-accordion|toggle-chevron"
|
|
62
62
|
}, null, 8, ["class"])
|
|
63
63
|
], 42, D),
|
|
64
|
-
|
|
64
|
+
k(s("hr", V, null, 512), [
|
|
65
65
|
[$, e.value]
|
|
66
66
|
]),
|
|
67
|
-
|
|
67
|
+
i(B, { "is-expanded": e.value }, {
|
|
68
68
|
default: z(() => [
|
|
69
69
|
s("div", j, [
|
|
70
70
|
_(o.$slots, "default")
|
package/dist/ActionsDropdown.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as i, useCssModule as p,
|
|
1
|
+
import { defineComponent as i, useCssModule as p, createBlock as u, openBlock as f, normalizeClass as s, unref as n, createSlots as w, withCtx as e, createVNode as a, createTextVNode as _, toDisplayString as m, renderSlot as b } from "vue";
|
|
2
2
|
import { t as C } from "./locale.js";
|
|
3
3
|
import x from "./Button.js";
|
|
4
4
|
import g from "./Dropdown.js";
|
|
@@ -15,7 +15,7 @@ const y = /* @__PURE__ */ i({
|
|
|
15
15
|
},
|
|
16
16
|
setup(d) {
|
|
17
17
|
const t = d, o = p();
|
|
18
|
-
return (l, N) => (
|
|
18
|
+
return (l, N) => (f(), u(g, {
|
|
19
19
|
align: t.align,
|
|
20
20
|
"content-class": [n(o).dropdownContent, t.contentClass],
|
|
21
21
|
class: s(n(o).actionsDropdown)
|
package/dist/AddressSelect.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, useSlots as A, inject as T, computed as h, ref as n, watch as I,
|
|
1
|
+
import { defineComponent as S, useSlots as A, inject as T, computed as h, ref as n, watch as I, createBlock as P, openBlock as j, unref as y, createSlots as k, withCtx as D, renderSlot as G } from "vue";
|
|
2
2
|
import K from "lodash-es/debounce";
|
|
3
3
|
import C from "lodash-es/uniqueId";
|
|
4
4
|
import U from "./useGoogleMaps.js";
|
|
@@ -92,7 +92,7 @@ const _ = "address-select-", $ = /* @__PURE__ */ S({
|
|
|
92
92
|
throw e;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
return (o, e) => (
|
|
95
|
+
return (o, e) => (j(), P(F, {
|
|
96
96
|
single: "",
|
|
97
97
|
"data-test": "select|address",
|
|
98
98
|
disabled: t.disabled,
|
package/dist/Alert.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, useSlots as $, useCssModule as C, ref as I, computed as s, withDirectives as S,
|
|
1
|
+
import { defineComponent as x, useSlots as $, useCssModule as C, ref as I, computed as s, withDirectives as S, createCommentVNode as i, createElementBlock as l, openBlock as o, normalizeClass as r, createVNode as w, createElementVNode as f, unref as t, renderSlot as m } from "vue";
|
|
2
2
|
import y from "lodash-es/capitalize";
|
|
3
3
|
import B from "lodash-es/uniqueId";
|
|
4
4
|
import { S as M, a as N } from "./statusLevels-D8EgtE_L.js";
|
|
@@ -18,7 +18,7 @@ const z = { class: "tw-m-0" }, A = /* @__PURE__ */ x({
|
|
|
18
18
|
},
|
|
19
19
|
setup(b) {
|
|
20
20
|
const e = b, g = B("close-icon"), _ = $(), a = C(), c = I(!0), u = s(() => M[y(e.severity)]), h = s(() => N[y(e.severity)]), k = s(() => e.variant === "filled" && ["warning", "success"].includes(e.severity) ? "tw-text-ice-900" : e.variant === "filled" && ["info", "error"].includes(e.severity) ? "tw-text-white" : `tw-text-${h.value}`), n = s(() => e.variant === "filled" && ["info", "error"].includes(e.severity) ? "tw-text-white" : "tw-text-ice-900");
|
|
21
|
-
return (d, v) => c.value ? S((
|
|
21
|
+
return (d, v) => c.value ? S((o(), l("div", {
|
|
22
22
|
key: 0,
|
|
23
23
|
class: r(["stash-alert tw-relative tw-flex tw-items-center tw-border tw-border-solid tw-p-3 tw-leading-6", [
|
|
24
24
|
`stash-alert--${e.severity}`,
|
|
@@ -59,15 +59,15 @@ const z = { class: "tw-m-0" }, A = /* @__PURE__ */ x({
|
|
|
59
59
|
f("p", z, [
|
|
60
60
|
m(d.$slots, "default")
|
|
61
61
|
]),
|
|
62
|
-
t(_).link ? (
|
|
62
|
+
t(_).link ? (o(), l("div", {
|
|
63
63
|
key: 0,
|
|
64
64
|
class: r(["stash-alert__link tw-cursor-pointer tw-underline hover:tw-no-underline", [t(a).link, n.value, { "tw-ml-2": e.centered }]]),
|
|
65
65
|
"data-test": "stash-alert|link"
|
|
66
66
|
}, [
|
|
67
67
|
m(d.$slots, "link")
|
|
68
|
-
], 2)) :
|
|
68
|
+
], 2)) : i("", !0)
|
|
69
69
|
], 2),
|
|
70
|
-
e.permanent ?
|
|
70
|
+
e.permanent ? i("", !0) : (o(), l("button", {
|
|
71
71
|
key: 0,
|
|
72
72
|
class: r(["stash-alert__close", [t(a).button, n.value]]),
|
|
73
73
|
type: "button",
|
|
@@ -82,7 +82,7 @@ const z = { class: "tw-m-0" }, A = /* @__PURE__ */ x({
|
|
|
82
82
|
], 2))
|
|
83
83
|
], 2)), [
|
|
84
84
|
[t(V), e.sticky]
|
|
85
|
-
]) :
|
|
85
|
+
]) : i("", !0);
|
|
86
86
|
}
|
|
87
87
|
}), D = {}, E = {
|
|
88
88
|
$style: D
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as _, ref as v, useSlots as y, resolveComponent as $,
|
|
2
|
-
import { _ as k } from "./Expand.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as _, ref as v, useSlots as y, resolveComponent as $, createElementBlock as r, openBlock as o, createBlock as b, unref as h, normalizeClass as n, withCtx as m, createElementVNode as s, renderSlot as d, createVNode as a, toDisplayString as u } from "vue";
|
|
2
|
+
import { _ as k } from "./Expand.vue_vue_type_script_setup_true_lang-CiONJfAp.js";
|
|
3
3
|
import i from "./Icon.js";
|
|
4
4
|
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const C = { class: "tw-flex tw-flex-1 tw-items-center tw-overflow-hidden" }, A = { class: "tw-truncate" }, B = { key: 1 }, I = { class: "tw-flex tw-flex-1 tw-items-center tw-overflow-hidden" }, N = { class: "tw-truncate" }, g = /* @__PURE__ */ _({
|
|
@@ -15,7 +15,7 @@ const C = { class: "tw-flex tw-flex-1 tw-items-center tw-overflow-hidden" }, A =
|
|
|
15
15
|
return (e, c) => {
|
|
16
16
|
const w = $("router-link");
|
|
17
17
|
return o(), r("li", null, [
|
|
18
|
-
|
|
18
|
+
h(f)["sub-items"] ? (o(), r("div", B, [
|
|
19
19
|
s("button", {
|
|
20
20
|
class: n([[e.$style.item, { [e.$style.expanded]: l.value }], "tw-flex tw-w-full tw-items-center tw-justify-between tw-font-normal tw-capitalize"]),
|
|
21
21
|
onClick: c[0] || (c[0] = () => l.value = !l.value)
|
|
@@ -25,7 +25,7 @@ const C = { class: "tw-flex tw-flex-1 tw-items-center tw-overflow-hidden" }, A =
|
|
|
25
25
|
name: t.icon,
|
|
26
26
|
class: "tw-mr-3"
|
|
27
27
|
}, null, 8, ["name"]),
|
|
28
|
-
s("span", N,
|
|
28
|
+
s("span", N, u(t.label), 1)
|
|
29
29
|
]),
|
|
30
30
|
a(i, {
|
|
31
31
|
class: n([e.$style.caret, { [e.$style.expandedIcon]: l.value }]),
|
|
@@ -40,12 +40,12 @@ const C = { class: "tw-flex tw-flex-1 tw-items-center tw-overflow-hidden" }, A =
|
|
|
40
40
|
s("ul", {
|
|
41
41
|
class: n(e.$style["sub-items"])
|
|
42
42
|
}, [
|
|
43
|
-
|
|
43
|
+
d(e.$slots, "sub-items")
|
|
44
44
|
], 2)
|
|
45
45
|
]),
|
|
46
46
|
_: 3
|
|
47
47
|
}, 8, ["is-expanded", "class"])
|
|
48
|
-
])) : (o(),
|
|
48
|
+
])) : (o(), b(w, {
|
|
49
49
|
key: 0,
|
|
50
50
|
to: t.to,
|
|
51
51
|
class: n([[e.$style.item, { [e.$style.active]: t.isActive }], "tw-flex tw-w-full tw-items-center tw-justify-between tw-font-normal tw-capitalize"]),
|
|
@@ -57,9 +57,9 @@ const C = { class: "tw-flex tw-flex-1 tw-items-center tw-overflow-hidden" }, A =
|
|
|
57
57
|
name: t.icon,
|
|
58
58
|
class: "tw-mr-3"
|
|
59
59
|
}, null, 8, ["name"]),
|
|
60
|
-
s("span", A,
|
|
60
|
+
s("span", A, u(t.label), 1)
|
|
61
61
|
]),
|
|
62
|
-
|
|
62
|
+
d(e.$slots, "default")
|
|
63
63
|
]),
|
|
64
64
|
_: 3
|
|
65
65
|
}, 8, ["to", "class", "active-class"]))
|
package/dist/AppSidebar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, useSlots as C, computed as w, ref as O, watchEffect as V,
|
|
1
|
+
import { defineComponent as B, useSlots as C, computed as w, ref as O, watchEffect as V, createElementBlock as s, openBlock as a, normalizeClass as _, createVNode as o, Transition as b, withCtx as g, withDirectives as x, withModifiers as $, vShow as k, createElementVNode as p, createCommentVNode as c, renderSlot as i, unref as u } from "vue";
|
|
2
2
|
import z from "./useMediaQuery.js";
|
|
3
3
|
import N from "./Backdrop.js";
|
|
4
4
|
import j from "./Divider.js";
|
|
@@ -39,7 +39,7 @@ const D = {
|
|
|
39
39
|
height: e.value ? "100%" : n.value.height
|
|
40
40
|
// Ensures the backdrop covers the entire page when AppSidebar is open
|
|
41
41
|
}));
|
|
42
|
-
}), (t, h) => (
|
|
42
|
+
}), (t, h) => (a(), s("div", {
|
|
43
43
|
id: "stash-app-sidebar",
|
|
44
44
|
class: _(["stash-app-sidebar tw-relative", {
|
|
45
45
|
"stash-app-sidebar--is-open": f.value,
|
|
@@ -66,17 +66,17 @@ const D = {
|
|
|
66
66
|
"data-test": "stash-app-sidebar__aside"
|
|
67
67
|
}, [
|
|
68
68
|
o(j, { class: "stash-app-sidebar__divider" }),
|
|
69
|
-
|
|
69
|
+
u(r)["app-context"] ? (a(), s("div", D, [
|
|
70
70
|
i(t.$slots, "app-context", {}, void 0, !0)
|
|
71
|
-
])) :
|
|
72
|
-
|
|
71
|
+
])) : c("", !0),
|
|
72
|
+
u(r)["company-context"] ? (a(), s("div", M, [
|
|
73
73
|
i(t.$slots, "company-context", {}, void 0, !0)
|
|
74
|
-
])) :
|
|
75
|
-
|
|
74
|
+
])) : c("", !0),
|
|
75
|
+
u(r).navigation ? (a(), s("nav", P, [
|
|
76
76
|
p("ul", I, [
|
|
77
77
|
i(t.$slots, "navigation", {}, void 0, !0)
|
|
78
78
|
])
|
|
79
|
-
])) :
|
|
79
|
+
])) : c("", !0),
|
|
80
80
|
h[0] || (h[0] = p("div", { class: "tw-flex-1" }, null, -1)),
|
|
81
81
|
i(t.$slots, "footer", {}, void 0, !0)
|
|
82
82
|
], 2), [
|
package/dist/AppTopbar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as c,
|
|
1
|
+
import { defineComponent as c, createElementBlock as m, openBlock as f, createElementVNode as t, normalizeClass as i, createVNode as a, unref as h, renderSlot as o } from "vue";
|
|
2
2
|
import b from "./useMediaQuery.js";
|
|
3
3
|
import u from "./Icon.js";
|
|
4
|
-
import { _ as l } from "./Logo.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as l } from "./Logo.vue_vue_type_script_setup_true_lang-Dz8c98sc.js";
|
|
5
5
|
const x = {
|
|
6
6
|
"data-test": "stash-app-topbar",
|
|
7
7
|
class: "stash-app-topbar tw-absolute tw-left-0 tw-top-0"
|
|
@@ -14,7 +14,7 @@ const x = {
|
|
|
14
14
|
emits: ["toggle-sidebar"],
|
|
15
15
|
setup(n, { emit: w }) {
|
|
16
16
|
const e = n, d = w, p = b("screen and (min-width: 1321px)");
|
|
17
|
-
return (s, r) => (
|
|
17
|
+
return (s, r) => (f(), m("header", x, [
|
|
18
18
|
t("div", {
|
|
19
19
|
class: i(["tw-fixed tw-top-0 tw-flex tw-h-topbar tw-w-sidebar tw-items-center tw-pl-3 xl:tw-text-white", {
|
|
20
20
|
"tw-z-dialog tw-text-white": e.sidebarOpened,
|
package/dist/Avatar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, useAttrs as v, useCssModule as _, computed as c,
|
|
1
|
+
import { defineComponent as p, useAttrs as v, useCssModule as _, computed as c, createElementBlock as i, openBlock as d, mergeProps as u, unref as a, toDisplayString as h } from "vue";
|
|
2
2
|
import b from "./utils/colorScheme.js";
|
|
3
3
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const g = ["alt", "src", "tabindex"], x = ["tabindex"], C = /* @__PURE__ */ p({
|
|
@@ -23,14 +23,14 @@ const g = ["alt", "src", "tabindex"], x = ["tabindex"], C = /* @__PURE__ */ p({
|
|
|
23
23
|
const [l, r] = String(t.name).toUpperCase().split(" ");
|
|
24
24
|
return r ? l.charAt(0) + r.charAt(0) : l.charAt(0);
|
|
25
25
|
}), o = c(() => !!s.onClick);
|
|
26
|
-
return (l, r) => t.src ? (
|
|
26
|
+
return (l, r) => t.src ? (d(), i("img", u({
|
|
27
27
|
key: 0,
|
|
28
28
|
class: ["stash-avatar stash-avatar--image tw-inline-block tw-rounded-full", [a(e).root, { [a(e).clickable]: o.value }]],
|
|
29
29
|
alt: t.alt,
|
|
30
30
|
src: t.src,
|
|
31
31
|
tabindex: o.value ? 0 : -1,
|
|
32
32
|
"data-test": "stash-avatar"
|
|
33
|
-
}, a(s)), null, 16, g)) : (
|
|
33
|
+
}, a(s)), null, 16, g)) : (d(), i("div", u({
|
|
34
34
|
key: 1,
|
|
35
35
|
class: ["stash-avatar stash-avatar--initials tw-inline-block tw-cursor-default tw-rounded-full tw-text-center tw-font-semibold", [
|
|
36
36
|
a(e).root,
|
package/dist/Backdrop.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as e, openBlock as r, renderSlot as o } from "vue";
|
|
2
2
|
import { _ as s } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const a = {}, c = {
|
|
4
4
|
"aria-hidden": "true",
|
|
@@ -6,7 +6,7 @@ const a = {}, c = {
|
|
|
6
6
|
"data-test": "stash-backdrop"
|
|
7
7
|
};
|
|
8
8
|
function d(t, n) {
|
|
9
|
-
return
|
|
9
|
+
return r(), e("div", c, [
|
|
10
10
|
o(t.$slots, "default")
|
|
11
11
|
]);
|
|
12
12
|
}
|
package/dist/Badge.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, useCssModule as g, computed as l, ref as w, watch as b,
|
|
1
|
+
import { defineComponent as u, useCssModule as g, computed as l, ref as w, watch as b, createElementBlock as h, openBlock as m, renderSlot as v, withDirectives as _, createElementVNode as r, normalizeStyle as x, normalizeClass as c, unref as i, toDisplayString as y, vShow as k } from "vue";
|
|
2
2
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const D = {
|
|
4
4
|
class: "stash-badge tw-relative tw-inline-block",
|
|
@@ -35,7 +35,7 @@ const D = {
|
|
|
35
35
|
n.value = !1;
|
|
36
36
|
}, 1e3));
|
|
37
37
|
}
|
|
38
|
-
), (e, a) => (
|
|
38
|
+
), (e, a) => (m(), h("span", D, [
|
|
39
39
|
v(e.$slots, "default"),
|
|
40
40
|
_(r("span", {
|
|
41
41
|
"data-test": "stash-badge|content-wrapper",
|
package/dist/Box.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as s,
|
|
1
|
+
import { defineComponent as s, createElementBlock as o, openBlock as l, normalizeClass as d, renderSlot as n } from "vue";
|
|
2
2
|
const u = /* @__PURE__ */ s({
|
|
3
3
|
name: "ll-box",
|
|
4
4
|
__name: "Box",
|
|
@@ -10,7 +10,7 @@ const u = /* @__PURE__ */ s({
|
|
|
10
10
|
},
|
|
11
11
|
setup(t) {
|
|
12
12
|
const e = t;
|
|
13
|
-
return (a, r) => (
|
|
13
|
+
return (a, r) => (l(), o("section", {
|
|
14
14
|
class: d(["stash-box tw-bg-white", {
|
|
15
15
|
"tw-rounded": e.radius === "rounded",
|
|
16
16
|
"tw-p-gutter": !e.disablePadding && !e.disableGutters,
|
|
@@ -26,4 +26,4 @@ const u = /* @__PURE__ */ s({
|
|
|
26
26
|
export {
|
|
27
27
|
u as _
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=Box.vue_vue_type_script_setup_true_lang-
|
|
29
|
+
//# sourceMappingURL=Box.vue_vue_type_script_setup_true_lang-rFnvwLVY.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
{"version":3,"file":"Box.vue_vue_type_script_setup_true_lang-rFnvwLVY.js","sources":["../src/components/Box/Box.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n defineOptions({\n name: 'll-box',\n });\n\n export interface BoxProps {\n /**\n * Remove the padding around the entire Box.\n */\n disablePadding?: boolean;\n\n /**\n * Remove the padding on the left and right of the Box.\n */\n disableGutters?: boolean;\n\n /**\n * Remove the padding on the left and right of the Box.\n */\n disableElevation?: boolean;\n\n /**\n * Border radius style. Defaults to `rounded`.\n */\n radius?: 'none' | 'rounded';\n }\n\n const props = withDefaults(defineProps<BoxProps>(), {\n disablePadding: false,\n disableGutters: false,\n disableElevation: false,\n radius: 'rounded',\n });\n</script>\n\n<template>\n <section\n class=\"stash-box tw-bg-white\"\n :class=\"{\n 'tw-rounded': props.radius === 'rounded',\n 'tw-p-gutter': !props.disablePadding && !props.disableGutters,\n 'tw-py-gutter': props.disableGutters,\n 'tw-shadow': !props.disableElevation,\n }\"\n data-test=\"stash-box\"\n >\n <!-- @slot default -->\n <slot></slot>\n </section>\n</template>\n"],"names":["props","__props"],"mappings":";;;;;;;;;;;AA2BE,UAAMA,IAAQC;;;;;;;;;;;;;;"}
|
package/dist/Button.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, useCssModule as d, computed as a,
|
|
1
|
+
import { defineComponent as c, useCssModule as d, computed as a, createBlock as s, openBlock as u, resolveDynamicComponent as f, mergeProps as h, unref as r, withCtx as p, renderSlot as y } from "vue";
|
|
2
2
|
import m from "./Icon.js";
|
|
3
3
|
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const q = /* @__PURE__ */ c({
|
|
@@ -32,7 +32,7 @@ const q = /* @__PURE__ */ c({
|
|
|
32
32
|
} : t.href ? {
|
|
33
33
|
href: t.href
|
|
34
34
|
} : {});
|
|
35
|
-
return (o, B) => (
|
|
35
|
+
return (o, B) => (u(), s(f(_.value), h({
|
|
36
36
|
disabled: t.isLoading || t.disabled ? !0 : void 0
|
|
37
37
|
}, b.value, {
|
|
38
38
|
class: ["stash-button", [
|
|
@@ -48,7 +48,7 @@ const q = /* @__PURE__ */ c({
|
|
|
48
48
|
"data-test": "ll-button"
|
|
49
49
|
}), {
|
|
50
50
|
default: p(() => [
|
|
51
|
-
t.isLoading ? (
|
|
51
|
+
t.isLoading ? (u(), s(m, {
|
|
52
52
|
key: 0,
|
|
53
53
|
name: "loading-empty",
|
|
54
54
|
class: "tw-animate-spin"
|
package/dist/ButtonGroup.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, computed as r, ref as g,
|
|
1
|
+
import { defineComponent as m, computed as r, ref as g, createElementBlock as l, openBlock as s, normalizeClass as p, Fragment as $, renderList as y, withModifiers as B, toDisplayString as h } from "vue";
|
|
2
2
|
import w from "lodash-es/uniqueId";
|
|
3
3
|
import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const k = ["data-test"], C = ["data-test", "disabled", "onClick"], G = {
|
|
@@ -19,7 +19,7 @@ const k = ["data-test"], C = ["data-test", "disabled", "onClick"], G = {
|
|
|
19
19
|
var o;
|
|
20
20
|
i.value && ((o = n.value) == null ? void 0 : o.id) === t.id ? n.value = null : n.value = t, f("input", n.value);
|
|
21
21
|
}
|
|
22
|
-
return (t, o) => (
|
|
22
|
+
return (t, o) => (s(), l("div", {
|
|
23
23
|
class: p([
|
|
24
24
|
"tw-flex",
|
|
25
25
|
t.$style.buttonGroup,
|
|
@@ -29,9 +29,9 @@ const k = ["data-test"], C = ["data-test", "disabled", "onClick"], G = {
|
|
|
29
29
|
]),
|
|
30
30
|
"data-test": `button-group-${t.$props.groupName}`
|
|
31
31
|
}, [
|
|
32
|
-
(
|
|
32
|
+
(s(!0), l($, null, y(e.options, (a) => {
|
|
33
33
|
var c, d;
|
|
34
|
-
return
|
|
34
|
+
return s(), l("button", {
|
|
35
35
|
key: `${e.groupName}-${a.id}`,
|
|
36
36
|
class: p([t.$style.button, { [t.$style.active]: ((c = n.value) == null ? void 0 : c.id) === a.id }]),
|
|
37
37
|
"data-test": `${e.groupName}-button-${((d = n.value) == null ? void 0 : d.id) === a.id ? "active" : "inactive"}`,
|
package/dist/Card.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as w, useSlots as i,
|
|
1
|
+
import { defineComponent as w, useSlots as i, createElementBlock as a, openBlock as r, createCommentVNode as f, createElementVNode as s, unref as l, normalizeClass as n, renderSlot as o } from "vue";
|
|
2
2
|
const p = {
|
|
3
3
|
class: "stash-card tw-relative tw-inline-block tw-rounded tw-border tw-bg-white tw-shadow-md",
|
|
4
4
|
"data-test": "stash-card"
|
|
@@ -9,21 +9,21 @@ const p = {
|
|
|
9
9
|
},
|
|
10
10
|
setup(d) {
|
|
11
11
|
const c = d, t = i();
|
|
12
|
-
return (e, u) => (
|
|
13
|
-
|
|
12
|
+
return (e, u) => (r(), a("article", p, [
|
|
13
|
+
l(t)["top-left"] || l(t)["top-right"] ? (r(), a("div", {
|
|
14
14
|
key: 0,
|
|
15
15
|
"data-test": "card-actions",
|
|
16
16
|
class: n([{ "tw-absolute tw-top-0 tw-w-full": c.detachActions }, "tw-flex tw-flex-wrap tw-items-start tw-justify-between tw-p-6"])
|
|
17
17
|
}, [
|
|
18
|
-
|
|
18
|
+
s("div", null, [
|
|
19
19
|
o(e.$slots, "top-left")
|
|
20
20
|
]),
|
|
21
|
-
|
|
21
|
+
s("div", null, [
|
|
22
22
|
o(e.$slots, "top-right")
|
|
23
23
|
])
|
|
24
24
|
], 2)) : f("", !0),
|
|
25
|
-
|
|
26
|
-
class: n({ "tw-mb-6 tw-flex tw-h-full tw-flex-col tw-gap-y-6":
|
|
25
|
+
s("div", {
|
|
26
|
+
class: n({ "tw-mb-6 tw-flex tw-h-full tw-flex-col tw-gap-y-6": l(t).default })
|
|
27
27
|
}, [
|
|
28
28
|
o(e.$slots, "default")
|
|
29
29
|
], 2)
|
package/dist/CardContent.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as e, openBlock as o, renderSlot as n } from "vue";
|
|
2
2
|
import { _ as r } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const s = {}, c = {
|
|
4
4
|
class: "stash-card-content tw-px-6",
|
|
5
5
|
"data-test": "stash-card-content"
|
|
6
6
|
};
|
|
7
7
|
function a(t, d) {
|
|
8
|
-
return
|
|
8
|
+
return o(), e("div", c, [
|
|
9
9
|
n(t.$slots, "default")
|
|
10
10
|
]);
|
|
11
11
|
}
|
package/dist/CardFooter.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as o, openBlock as e, renderSlot as r } from "vue";
|
|
2
2
|
import { _ as s } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const a = {}, c = {
|
|
4
4
|
class: "stash-card-footer tw-px-6",
|
|
5
5
|
"data-test": "stash-card-footer"
|
|
6
6
|
};
|
|
7
7
|
function n(t, f) {
|
|
8
|
-
return
|
|
8
|
+
return e(), o("footer", c, [
|
|
9
9
|
r(t.$slots, "default")
|
|
10
10
|
]);
|
|
11
11
|
}
|
package/dist/CardHeader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as r,
|
|
1
|
+
import { defineComponent as r, createElementBlock as e, openBlock as s, createElementVNode as n, createCommentVNode as o, toDisplayString as a } from "vue";
|
|
2
2
|
const d = {
|
|
3
3
|
class: "stash-card-header tw-px-6 tw-font-medium tw-text-ice-900",
|
|
4
4
|
"data-test": "stash-card-header"
|
|
@@ -17,10 +17,10 @@ const d = {
|
|
|
17
17
|
},
|
|
18
18
|
setup(c) {
|
|
19
19
|
const t = c;
|
|
20
|
-
return (_, p) => (
|
|
20
|
+
return (_, p) => (s(), e("header", d, [
|
|
21
21
|
n("h4", i, a(t.title), 1),
|
|
22
|
-
t.subtitle ? (
|
|
23
|
-
t.text ? (
|
|
22
|
+
t.subtitle ? (s(), e("p", l, a(t.subtitle), 1)) : o("", !0),
|
|
23
|
+
t.text ? (s(), e("span", m, a(t.text), 1)) : o("", !0)
|
|
24
24
|
]));
|
|
25
25
|
}
|
|
26
26
|
});
|
package/dist/CardMedia.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, ref as a, useCssModule as m,
|
|
1
|
+
import { defineComponent as u, ref as a, useCssModule as m, createElementBlock as l, openBlock as c, createCommentVNode as _, createElementVNode as p, normalizeClass as n, unref as d, createVNode as f } from "vue";
|
|
2
2
|
import w from "./Icon.js";
|
|
3
3
|
import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const h = {
|
|
@@ -12,17 +12,17 @@ const h = {
|
|
|
12
12
|
},
|
|
13
13
|
setup(i) {
|
|
14
14
|
const s = a(!0), t = a(!1), o = i, r = m();
|
|
15
|
-
return (E, e) => (
|
|
16
|
-
s.value || t.value ? (
|
|
15
|
+
return (E, e) => (c(), l("div", h, [
|
|
16
|
+
s.value || t.value ? (c(), l("div", {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: n([d(r).placeholder, "tw-flex tw-w-full tw-items-center tw-justify-center tw-rounded-t tw-bg-ice-200"])
|
|
19
19
|
}, [
|
|
20
|
-
|
|
20
|
+
f(w, {
|
|
21
21
|
name: "image",
|
|
22
22
|
class: n(d(r).iconSize)
|
|
23
23
|
}, null, 8, ["class"])
|
|
24
|
-
], 2)) :
|
|
25
|
-
|
|
24
|
+
], 2)) : _("", !0),
|
|
25
|
+
p("img", {
|
|
26
26
|
src: o.src,
|
|
27
27
|
class: "tw-w-full tw-rounded-t",
|
|
28
28
|
alt: o.alt,
|