@ulu/frontend-vue 0.6.12 → 0.6.13
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/components/collapsible/UluAccordion.vue.d.ts +2 -2
- package/dist/components/collapsible/UluAccordion.vue.js +9 -9
- package/dist/components/collapsible/UluAccordionGroup.vue.d.ts +2 -2
- package/dist/components/collapsible/UluAccordionGroup.vue.js +8 -8
- package/dist/components/collapsible/UluModal.vue.d.ts +2 -2
- package/dist/components/collapsible/UluModal.vue.js +7 -7
- package/dist/components/collapsible/UluTabGroup.vue.d.ts +2 -2
- package/dist/components/collapsible/UluTabGroup.vue.js +5 -5
- package/dist/components/elements/UluAlert.vue.d.ts +2 -2
- package/dist/components/elements/UluAlert.vue.js +1 -1
- package/dist/components/elements/UluBadge.vue.d.ts +2 -2
- package/dist/components/elements/UluBadge.vue.js +6 -6
- package/dist/components/elements/UluButton.vue.d.ts +2 -2
- package/dist/components/elements/UluButton.vue.js +4 -4
- package/dist/components/elements/UluButtonVerbose.vue.d.ts +2 -2
- package/dist/components/elements/UluButtonVerbose.vue.js +1 -1
- package/dist/components/elements/UluCallout.vue.d.ts +2 -2
- package/dist/components/elements/UluCallout.vue.js +5 -5
- package/dist/components/elements/UluCaptionedFigure.vue.d.ts +2 -2
- package/dist/components/elements/UluCaptionedFigure.vue.js +1 -1
- package/dist/components/elements/UluCard.vue.d.ts +2 -2
- package/dist/components/elements/UluCard.vue.js +14 -14
- package/dist/components/elements/UluCounterList.vue.d.ts +2 -2
- package/dist/components/elements/UluCounterList.vue.js +5 -5
- package/dist/components/elements/UluDataTable.vue.d.ts +2 -2
- package/dist/components/elements/UluDataTable.vue.js +5 -5
- package/dist/components/elements/UluDefinitionList.vue.d.ts +2 -2
- package/dist/components/elements/UluDefinitionList.vue.js +5 -5
- package/dist/components/elements/UluRule.vue.d.ts +2 -2
- package/dist/components/elements/UluRule.vue.js +1 -1
- package/dist/components/elements/UluScrollSlider.vue.d.ts +2 -2
- package/dist/components/elements/UluScrollSlider.vue.js +12 -12
- package/dist/components/elements/UluSlider.vue.d.ts +2 -2
- package/dist/components/elements/UluSlider.vue.js +7 -7
- package/dist/components/elements/UluTag.vue.d.ts +2 -2
- package/dist/components/elements/UluTag.vue.js +1 -1
- package/dist/components/forms/UluFormItem.vue.d.ts +2 -2
- package/dist/components/forms/UluFormItem.vue.js +3 -3
- package/dist/components/layout/UluTitleRail.vue.d.ts +2 -2
- package/dist/components/layout/UluTitleRail.vue.js +2 -2
- package/dist/components/navigation/UluMenuStack.vue.d.ts +2 -2
- package/dist/components/navigation/UluMenuStack.vue.js +3 -3
- package/dist/components/navigation/UluNavStrip.vue.d.ts +2 -2
- package/dist/components/navigation/UluNavStrip.vue.js +1 -1
- package/dist/components/systems/facets/UluFacetsFilterAccordions.vue.d.ts +2 -2
- package/dist/components/systems/facets/UluFacetsFilterAccordions.vue.js +6 -6
- package/dist/components/visualizations/UluProgressBar.vue.d.ts +2 -2
- package/dist/components/visualizations/UluProgressBar.vue.js +3 -3
- package/dist/components/visualizations/UluProgressCircle.vue.d.ts +2 -2
- package/dist/components/visualizations/UluProgressCircle.vue.js +5 -5
- package/dist/mcp-data.json +4085 -4085
- package/lib/components/collapsible/UluAccordion.vue +1 -1
- package/lib/components/collapsible/UluAccordionGroup.vue +1 -1
- package/lib/components/collapsible/UluModal.vue +1 -1
- package/lib/components/collapsible/UluTabGroup.vue +1 -1
- package/lib/components/elements/UluAlert.vue +1 -1
- package/lib/components/elements/UluBadge.vue +1 -1
- package/lib/components/elements/UluButton.vue +1 -1
- package/lib/components/elements/UluButtonVerbose.vue +1 -1
- package/lib/components/elements/UluCallout.vue +2 -2
- package/lib/components/elements/UluCaptionedFigure.vue +1 -1
- package/lib/components/elements/UluCard.vue +2 -2
- package/lib/components/elements/UluCounterList.vue +1 -1
- package/lib/components/elements/UluDataTable.vue +1 -1
- package/lib/components/elements/UluDefinitionList.vue +1 -1
- package/lib/components/elements/UluRule.vue +1 -1
- package/lib/components/elements/UluScrollSlider.vue +1 -1
- package/lib/components/elements/UluSlider.vue +1 -1
- package/lib/components/elements/UluTag.vue +1 -1
- package/lib/components/forms/UluFormItem.vue +1 -1
- package/lib/components/layout/UluTitleRail.vue +1 -1
- package/lib/components/navigation/UluMenuStack.vue +1 -1
- package/lib/components/navigation/UluNavStrip.vue +1 -1
- package/lib/components/systems/facets/UluFacetsFilterAccordions.vue +1 -1
- package/lib/components/visualizations/UluProgressBar.vue +1 -1
- package/lib/components/visualizations/UluProgressCircle.vue +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
7
7
|
classes: Record<string, any>;
|
|
8
8
|
striped: boolean;
|
|
9
9
|
largeFirst: boolean;
|
|
10
|
-
modifiers?: string | unknown[] | undefined;
|
|
10
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
11
11
|
columns?: unknown[] | undefined;
|
|
12
12
|
rows?: unknown[] | undefined;
|
|
13
13
|
footerRows?: unknown[] | undefined;
|
|
@@ -19,7 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
19
19
|
readonly classes?: Record<string, any> | undefined;
|
|
20
20
|
readonly striped?: boolean | undefined;
|
|
21
21
|
readonly largeFirst?: boolean | undefined;
|
|
22
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
22
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
23
23
|
readonly columns?: unknown[] | undefined;
|
|
24
24
|
readonly rows?: unknown[] | undefined;
|
|
25
25
|
readonly footerRows?: unknown[] | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { computed as l, createBlock as n, openBlock as c, mergeProps as u, unref as f, createSlots as m, renderList as d, withCtx as g, renderSlot as w, normalizeProps as
|
|
2
|
-
import { useModifiers as
|
|
1
|
+
import { computed as l, createBlock as n, openBlock as c, mergeProps as u, unref as f, createSlots as m, renderList as d, withCtx as g, renderSlot as w, normalizeProps as b, guardReactiveProps as y } from "vue";
|
|
2
|
+
import { useModifiers as R } from "../../composables/useModifiers.js";
|
|
3
3
|
import p from "./UluTable.vue.js";
|
|
4
4
|
import { isArrayOfObjects as o } from "../../utils/props.js";
|
|
5
5
|
const x = {
|
|
@@ -69,7 +69,7 @@ const x = {
|
|
|
69
69
|
/**
|
|
70
70
|
* Additional style modifiers
|
|
71
71
|
*/
|
|
72
|
-
modifiers: [String, Array],
|
|
72
|
+
modifiers: [String, Array, Object],
|
|
73
73
|
/**
|
|
74
74
|
* Allows user to pass classes object to add custom classes to parts of the component
|
|
75
75
|
*/
|
|
@@ -79,7 +79,7 @@ const x = {
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
setup(e) {
|
|
82
|
-
const t = e, { resolvedModifiers: s } =
|
|
82
|
+
const t = e, { resolvedModifiers: s } = R({
|
|
83
83
|
props: t,
|
|
84
84
|
baseClass: "data-table",
|
|
85
85
|
internal: l(() => ({
|
|
@@ -103,7 +103,7 @@ const x = {
|
|
|
103
103
|
d(r.$slots, (C, a) => ({
|
|
104
104
|
name: a,
|
|
105
105
|
fn: g((i) => [
|
|
106
|
-
w(r.$slots, a, y(
|
|
106
|
+
w(r.$slots, a, b(y(i)))
|
|
107
107
|
])
|
|
108
108
|
}))
|
|
109
109
|
]), 1040, ["columns", "rows", "footerRows", "caption", "idPrefix", "getRowValue", "getColumnTitle", "classes"]));
|
|
@@ -12,7 +12,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
12
12
|
separated: boolean;
|
|
13
13
|
separatedFirst: boolean;
|
|
14
14
|
separatedLast: boolean;
|
|
15
|
-
modifiers?: string | unknown[] | undefined;
|
|
15
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
16
16
|
items?: unknown[] | undefined;
|
|
17
17
|
$props: {
|
|
18
18
|
readonly classes?: Record<string, any> | undefined;
|
|
@@ -23,7 +23,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
23
23
|
readonly separated?: boolean | undefined;
|
|
24
24
|
readonly separatedFirst?: boolean | undefined;
|
|
25
25
|
readonly separatedLast?: boolean | undefined;
|
|
26
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
26
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
27
27
|
readonly items?: unknown[] | undefined;
|
|
28
28
|
};
|
|
29
29
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { provide as
|
|
1
|
+
import { provide as A, computed as m, createElementBlock as i, createCommentVNode as g, openBlock as a, normalizeClass as r, unref as L, renderSlot as o, Fragment as u, renderList as f, createElementVNode as C, createTextVNode as p, toDisplayString as y } from "vue";
|
|
2
2
|
import { useModifiers as D } from "../../composables/useModifiers.js";
|
|
3
3
|
const M = {
|
|
4
4
|
__name: "UluDefinitionList",
|
|
@@ -18,7 +18,7 @@ const M = {
|
|
|
18
18
|
/**
|
|
19
19
|
* Class modifiers (ie. 'transparent', 'secondary', etc)
|
|
20
20
|
*/
|
|
21
|
-
modifiers: [String, Array],
|
|
21
|
+
modifiers: [String, Array, Object],
|
|
22
22
|
/**
|
|
23
23
|
* Displays only the definition descriptions on the same line.
|
|
24
24
|
*/
|
|
@@ -50,7 +50,7 @@ const M = {
|
|
|
50
50
|
},
|
|
51
51
|
setup(e) {
|
|
52
52
|
const t = e;
|
|
53
|
-
|
|
53
|
+
A("uluDefinitionListClasses", m(() => t.classes));
|
|
54
54
|
const B = m(() => ({
|
|
55
55
|
inline: t.inline,
|
|
56
56
|
"inline-all": t.inlineAll,
|
|
@@ -63,7 +63,7 @@ const M = {
|
|
|
63
63
|
props: t,
|
|
64
64
|
internal: B,
|
|
65
65
|
baseClass: "definition-list"
|
|
66
|
-
}),
|
|
66
|
+
}), b = (s) => Array.isArray(s.description) ? s.description : [s.description];
|
|
67
67
|
return (s, $) => (e.items !== void 0 ? e.items.length : s.$slots.default) ? (a(), i("dl", {
|
|
68
68
|
key: 0,
|
|
69
69
|
class: r(["definition-list", [L(k), e.classes.list]])
|
|
@@ -82,7 +82,7 @@ const M = {
|
|
|
82
82
|
p(y(n.term), 1)
|
|
83
83
|
])
|
|
84
84
|
], 2),
|
|
85
|
-
(a(!0), i(u, null, f(
|
|
85
|
+
(a(!0), i(u, null, f(b(n), (d, c) => (a(), i("dd", {
|
|
86
86
|
key: c,
|
|
87
87
|
class: r(e.classes.description)
|
|
88
88
|
}, [
|
|
@@ -3,14 +3,14 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
3
3
|
semantic: boolean;
|
|
4
4
|
short: boolean;
|
|
5
5
|
light: boolean;
|
|
6
|
-
modifiers?: string | unknown[] | undefined;
|
|
6
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
7
7
|
margin?: string | undefined;
|
|
8
8
|
$props: {
|
|
9
9
|
readonly large?: boolean | undefined;
|
|
10
10
|
readonly semantic?: boolean | undefined;
|
|
11
11
|
readonly short?: boolean | undefined;
|
|
12
12
|
readonly light?: boolean | undefined;
|
|
13
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
13
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
14
14
|
readonly margin?: string | undefined;
|
|
15
15
|
};
|
|
16
16
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -10,7 +10,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
10
10
|
scrollBehavior: string;
|
|
11
11
|
emptySlides: boolean;
|
|
12
12
|
observerOptions: Record<string, any>;
|
|
13
|
-
modifiers?: string | unknown[] | undefined;
|
|
13
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
14
14
|
$props: {
|
|
15
15
|
readonly items?: unknown[] | undefined;
|
|
16
16
|
readonly controls?: boolean | undefined;
|
|
@@ -18,7 +18,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
18
18
|
readonly scrollBehavior?: string | undefined;
|
|
19
19
|
readonly emptySlides?: boolean | undefined;
|
|
20
20
|
readonly observerOptions?: Record<string, any> | undefined;
|
|
21
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
21
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
22
22
|
};
|
|
23
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
24
24
|
type __VLS_TemplateResult = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ref as f, onMounted as g, nextTick as A, onBeforeUnmount as $, createElementBlock as i, openBlock as n, normalizeClass as C, unref as m, createVNode as
|
|
1
|
+
import { ref as f, onMounted as g, nextTick as A, onBeforeUnmount as $, createElementBlock as i, openBlock as n, normalizeClass as C, unref as m, createVNode as O, createSlots as x, withCtx as v, createElementVNode as k, createCommentVNode as S, Fragment as E, renderList as N, renderSlot as p } from "vue";
|
|
2
2
|
import { useModifiers as w } from "../../composables/useModifiers.js";
|
|
3
3
|
import { newId as M } from "../../utils/dom.js";
|
|
4
4
|
import R from "./UluOverflowScroller.vue.js";
|
|
5
|
-
const V = { class: "scroll-slider__track-crop" },
|
|
5
|
+
const V = { class: "scroll-slider__track-crop" }, j = ["id", "onScroll"], U = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "scroll-slider__slide scroll-slider__slide--empty",
|
|
8
8
|
role: "presentation"
|
|
@@ -59,12 +59,12 @@ const V = { class: "scroll-slider__track-crop" }, U = ["id", "onScroll"], j = {
|
|
|
59
59
|
/**
|
|
60
60
|
* Base class modifiers.
|
|
61
61
|
*/
|
|
62
|
-
modifiers: [String, Array]
|
|
62
|
+
modifiers: [String, Array, Object]
|
|
63
63
|
},
|
|
64
64
|
setup(l) {
|
|
65
|
-
const _ = l, { resolvedModifiers:
|
|
65
|
+
const _ = l, { resolvedModifiers: b } = w({ props: _, baseClass: "scroll-slider" }), y = M("ulu-scroll-slider-track"), h = f(null), u = f([]), r = f([]);
|
|
66
66
|
let c = null;
|
|
67
|
-
const
|
|
67
|
+
const B = (e, o) => {
|
|
68
68
|
e && (u.value[o] = e);
|
|
69
69
|
};
|
|
70
70
|
return g(() => {
|
|
@@ -84,16 +84,16 @@ const V = { class: "scroll-slider__track-crop" }, U = ["id", "onScroll"], j = {
|
|
|
84
84
|
}), $(() => {
|
|
85
85
|
c && c.disconnect();
|
|
86
86
|
}), (e, o) => (n(), i("div", {
|
|
87
|
-
class: C(["scroll-slider", m(
|
|
87
|
+
class: C(["scroll-slider", m(b)])
|
|
88
88
|
}, [
|
|
89
|
-
|
|
89
|
+
O(R, {
|
|
90
90
|
class: "scroll-slider__control-context",
|
|
91
91
|
controlsClass: "scroll-slider__controls",
|
|
92
92
|
controls: l.controls,
|
|
93
93
|
scrollAmount: l.scrollAmount,
|
|
94
94
|
scrollBehavior: l.scrollBehavior,
|
|
95
95
|
trackId: m(y)
|
|
96
|
-
},
|
|
96
|
+
}, x({
|
|
97
97
|
default: v(({ setTrackRef: s, onScroll: t }) => [
|
|
98
98
|
k("div", V, [
|
|
99
99
|
k("ul", {
|
|
@@ -104,12 +104,12 @@ const V = { class: "scroll-slider__track-crop" }, U = ["id", "onScroll"], j = {
|
|
|
104
104
|
},
|
|
105
105
|
onScroll: t
|
|
106
106
|
}, [
|
|
107
|
-
l.emptySlides ? (n(), i("li",
|
|
108
|
-
(n(!0), i(
|
|
107
|
+
l.emptySlides ? (n(), i("li", U, " ")) : S("", !0),
|
|
108
|
+
(n(!0), i(E, null, N(l.items, (d, a) => (n(), i("li", {
|
|
109
109
|
key: a,
|
|
110
110
|
class: "scroll-slider__slide",
|
|
111
111
|
ref_for: !0,
|
|
112
|
-
ref: (
|
|
112
|
+
ref: (I) => B(I, a)
|
|
113
113
|
}, [
|
|
114
114
|
p(e.$slots, "slide", {
|
|
115
115
|
item: d,
|
|
@@ -118,7 +118,7 @@ const V = { class: "scroll-slider__track-crop" }, U = ["id", "onScroll"], j = {
|
|
|
118
118
|
})
|
|
119
119
|
]))), 128)),
|
|
120
120
|
l.emptySlides ? (n(), i("li", q, " ")) : S("", !0)
|
|
121
|
-
], 40,
|
|
121
|
+
], 40, j)
|
|
122
122
|
])
|
|
123
123
|
]),
|
|
124
124
|
_: 2
|
|
@@ -15,7 +15,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
15
15
|
autoplay: number;
|
|
16
16
|
reduceMotionFallback: boolean;
|
|
17
17
|
focusOptions: Record<string, any>;
|
|
18
|
-
modifiers?: string | unknown[] | undefined;
|
|
18
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
19
19
|
$props: {
|
|
20
20
|
readonly duration?: number | undefined;
|
|
21
21
|
readonly transition?: string | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
27
27
|
readonly autoplay?: number | undefined;
|
|
28
28
|
readonly reduceMotionFallback?: boolean | undefined;
|
|
29
29
|
readonly focusOptions?: Record<string, any> | undefined;
|
|
30
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
30
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
31
31
|
};
|
|
32
32
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
33
33
|
trackRef: HTMLUListElement;
|
|
@@ -91,11 +91,11 @@ const rt = { class: "slider__control-context" }, ut = {
|
|
|
91
91
|
/**
|
|
92
92
|
* Base class modifiers.
|
|
93
93
|
*/
|
|
94
|
-
modifiers: [String, Array]
|
|
94
|
+
modifiers: [String, Array, Object]
|
|
95
95
|
},
|
|
96
96
|
emits: ["change"],
|
|
97
97
|
setup(r, { emit: Q }) {
|
|
98
|
-
const o = r, W = Q, k = at("ulu-slider-track"), N = (t) => `${k}-slide-${t}`, h = a(null), u = a([]), s = a(0), _ = a(!1), R = a(!1), { resolvedModifiers: Y } = nt({ props: o, baseClass: "slider" }),
|
|
98
|
+
const o = r, W = Q, k = at("ulu-slider-track"), N = (t) => `${k}-slide-${t}`, h = a(null), u = a([]), s = a(0), _ = a(!1), R = a(!1), { resolvedModifiers: Y } = nt({ props: o, baseClass: "slider" }), O = et(() => o.transition === "none" ? "none" : o.reduceMotionFallback && R.value ? "fade" : o.transition), Z = (t, l) => {
|
|
99
99
|
t && (u.value[l] = t);
|
|
100
100
|
}, x = (t) => {
|
|
101
101
|
if (!o.items || o.items.length === 0) return !1;
|
|
@@ -107,7 +107,7 @@ const rt = { class: "slider__control-context" }, ut = {
|
|
|
107
107
|
}, o.autoplay));
|
|
108
108
|
}, $ = () => {
|
|
109
109
|
S.value && (clearInterval(S.value), S.value = null);
|
|
110
|
-
},
|
|
110
|
+
}, A = () => $(), V = () => T();
|
|
111
111
|
it(() => o.autoplay, () => {
|
|
112
112
|
T();
|
|
113
113
|
}), a(0), a(0), a(null), a([]), a(!1);
|
|
@@ -139,7 +139,7 @@ const rt = { class: "slider__control-context" }, ut = {
|
|
|
139
139
|
}), E = async (t, l = "nav") => {
|
|
140
140
|
if (t === s.value || _.value || !o.items || o.items.length === 0) return;
|
|
141
141
|
_.value = !0, $();
|
|
142
|
-
const e = s.value, i = o.items.length, v = l === "previous", c = i - 1, m = t === 0 && e === c, B = t === c && e === 0, U =
|
|
142
|
+
const e = s.value, i = o.items.length, v = l === "previous", c = i - 1, m = t === 0 && e === c, B = t === c && e === 0, U = O.value;
|
|
143
143
|
if (U === "slide") {
|
|
144
144
|
let n = null, j = 1;
|
|
145
145
|
e !== null && !m && !B && (j = Math.abs(e - t)), i < 3 ? m && !v ? n = e : B && (n = v ? t : e) : m ? n = e : B && (n = t), b(null, !0), n !== null && (g(n, "-1"), f(m ? 0 : w(e), 0));
|
|
@@ -164,7 +164,7 @@ const rt = { class: "slider__control-context" }, ut = {
|
|
|
164
164
|
}, D = () => P("next"), tt = () => P("previous");
|
|
165
165
|
return lt(() => {
|
|
166
166
|
typeof window < "u" && (R.value = window.matchMedia("(prefers-reduced-motion: reduce)").matches), z(() => {
|
|
167
|
-
const t =
|
|
167
|
+
const t = O.value === "slide";
|
|
168
168
|
u.value.forEach((l, e) => {
|
|
169
169
|
l && (l.style.visibility = e === s.value ? "visible" : "hidden", t ? (l.style.opacity = "1", l.style.order = "0") : (l.style.opacity = e === s.value ? "1" : "0", l.style.order = e === s.value ? "-1" : "0"));
|
|
170
170
|
}), f(t ? w(s.value) : 0, 0), T();
|
|
@@ -173,9 +173,9 @@ const rt = { class: "slider__control-context" }, ut = {
|
|
|
173
173
|
$();
|
|
174
174
|
}), (t, l) => (p(), y("div", {
|
|
175
175
|
class: L(["slider", [M(Y), { "slider--transitioning": _.value }]]),
|
|
176
|
-
onMouseenter:
|
|
176
|
+
onMouseenter: A,
|
|
177
177
|
onMouseleave: V,
|
|
178
|
-
onFocusin:
|
|
178
|
+
onFocusin: A,
|
|
179
179
|
onFocusout: V
|
|
180
180
|
}, [
|
|
181
181
|
d("div", rt, [
|
|
@@ -8,14 +8,14 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
8
8
|
type?: string | undefined;
|
|
9
9
|
size?: string | undefined;
|
|
10
10
|
icon?: string | unknown[] | undefined;
|
|
11
|
-
modifiers?: string | unknown[] | undefined;
|
|
11
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
12
12
|
text?: string | number | undefined;
|
|
13
13
|
$props: {
|
|
14
14
|
readonly counter?: boolean | undefined;
|
|
15
15
|
readonly type?: string | undefined;
|
|
16
16
|
readonly size?: string | undefined;
|
|
17
17
|
readonly icon?: string | unknown[] | undefined;
|
|
18
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
18
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
19
19
|
readonly text?: string | number | undefined;
|
|
20
20
|
};
|
|
21
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
@@ -9,7 +9,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
9
9
|
error: boolean;
|
|
10
10
|
labelHidden: boolean;
|
|
11
11
|
alignTop: boolean;
|
|
12
|
-
modifiers?: string | unknown[] | undefined;
|
|
12
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
13
13
|
description?: string | undefined;
|
|
14
14
|
label?: string | undefined;
|
|
15
15
|
layout?: string | undefined;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
22
22
|
readonly error?: boolean | undefined;
|
|
23
23
|
readonly labelHidden?: boolean | undefined;
|
|
24
24
|
readonly alignTop?: boolean | undefined;
|
|
25
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
25
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
26
26
|
readonly description?: string | undefined;
|
|
27
27
|
readonly label?: string | undefined;
|
|
28
28
|
readonly layout?: string | undefined;
|
|
@@ -3,7 +3,7 @@ import { newId as C } from "../../utils/dom.js";
|
|
|
3
3
|
import { useModifiers as F } from "../../composables/useModifiers.js";
|
|
4
4
|
import m from "./UluFormMessage.vue.js";
|
|
5
5
|
import h from "./UluFormLabel.vue.js";
|
|
6
|
-
const
|
|
6
|
+
const V = {
|
|
7
7
|
__name: "UluFormItem",
|
|
8
8
|
props: {
|
|
9
9
|
/**
|
|
@@ -54,7 +54,7 @@ const j = {
|
|
|
54
54
|
/**
|
|
55
55
|
* Additional BEM modifiers for the form item.
|
|
56
56
|
*/
|
|
57
|
-
modifiers: [String, Array]
|
|
57
|
+
modifiers: [String, Array, Object]
|
|
58
58
|
},
|
|
59
59
|
setup(r) {
|
|
60
60
|
const e = r, s = I(), { resolvedModifiers: S } = F({
|
|
@@ -145,5 +145,5 @@ const j = {
|
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
export {
|
|
148
|
-
|
|
148
|
+
V as default
|
|
149
149
|
};
|
|
@@ -10,7 +10,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
10
10
|
rule: boolean;
|
|
11
11
|
icon?: string | undefined;
|
|
12
12
|
title?: string | undefined;
|
|
13
|
-
modifiers?: string | unknown[] | undefined;
|
|
13
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
14
14
|
$props: {
|
|
15
15
|
readonly classes?: Record<string, any> | undefined;
|
|
16
16
|
readonly titleElement?: string | undefined;
|
|
@@ -18,7 +18,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
18
18
|
readonly rule?: boolean | undefined;
|
|
19
19
|
readonly icon?: string | undefined;
|
|
20
20
|
readonly title?: string | undefined;
|
|
21
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
21
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
22
22
|
};
|
|
23
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
24
24
|
type __VLS_TemplateResult = {
|
|
@@ -46,7 +46,7 @@ const C = {
|
|
|
46
46
|
/**
|
|
47
47
|
* Modifiers (to add any modifier classes based on base class)
|
|
48
48
|
*/
|
|
49
|
-
modifiers: [String, Array]
|
|
49
|
+
modifiers: [String, Array, Object]
|
|
50
50
|
},
|
|
51
51
|
setup(e) {
|
|
52
52
|
const a = e, { resolvedModifiers: c } = v({
|
|
@@ -57,7 +57,7 @@ const C = {
|
|
|
57
57
|
rule: a.rule
|
|
58
58
|
}))
|
|
59
59
|
});
|
|
60
|
-
return (i,
|
|
60
|
+
return (i, b) => (t(), s("div", {
|
|
61
61
|
class: l(["rail", d(c)])
|
|
62
62
|
}, [
|
|
63
63
|
u("div", {
|
|
@@ -8,14 +8,14 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
8
8
|
containerElement: string;
|
|
9
9
|
hanging: boolean;
|
|
10
10
|
compact: boolean;
|
|
11
|
-
modifiers?: string | unknown[] | undefined;
|
|
11
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
12
12
|
items?: unknown[] | undefined;
|
|
13
13
|
$props: {
|
|
14
14
|
readonly noChildren?: boolean | undefined;
|
|
15
15
|
readonly containerElement?: string | undefined;
|
|
16
16
|
readonly hanging?: boolean | undefined;
|
|
17
17
|
readonly compact?: boolean | undefined;
|
|
18
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
18
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
19
19
|
readonly items?: unknown[] | undefined;
|
|
20
20
|
};
|
|
21
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as m, createBlock as c, createCommentVNode as l, openBlock as u, resolveDynamicComponent as k, normalizeClass as d, unref as f, withCtx as r, createVNode as _, createSlots as p, renderList as g, renderSlot as h, normalizeProps as C, guardReactiveProps as S } from "vue";
|
|
2
2
|
import B from "./UluMenu.vue.js";
|
|
3
3
|
import { useModifiers as y } from "../../composables/useModifiers.js";
|
|
4
|
-
const
|
|
4
|
+
const $ = {
|
|
5
5
|
__name: "UluMenuStack",
|
|
6
6
|
props: {
|
|
7
7
|
/**
|
|
@@ -30,7 +30,7 @@ const b = {
|
|
|
30
30
|
/**
|
|
31
31
|
* Class modifiers (ie. 'transparent', 'secondary', etc)
|
|
32
32
|
*/
|
|
33
|
-
modifiers: [String, Array]
|
|
33
|
+
modifiers: [String, Array, Object]
|
|
34
34
|
},
|
|
35
35
|
setup(e) {
|
|
36
36
|
const t = e, o = m(() => ({
|
|
@@ -72,5 +72,5 @@ const b = {
|
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
export {
|
|
75
|
-
|
|
75
|
+
$ as default
|
|
76
76
|
};
|
|
@@ -7,13 +7,13 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
7
7
|
right: boolean;
|
|
8
8
|
center: boolean;
|
|
9
9
|
rule: boolean;
|
|
10
|
-
modifiers?: string | unknown[] | undefined;
|
|
10
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
11
11
|
items?: unknown[] | undefined;
|
|
12
12
|
$props: {
|
|
13
13
|
readonly right?: boolean | undefined;
|
|
14
14
|
readonly center?: boolean | undefined;
|
|
15
15
|
readonly rule?: boolean | undefined;
|
|
16
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
16
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
17
17
|
readonly items?: unknown[] | undefined;
|
|
18
18
|
};
|
|
19
19
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -9,13 +9,13 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
9
9
|
compact: boolean;
|
|
10
10
|
maxVisible: number;
|
|
11
11
|
facets: unknown[];
|
|
12
|
-
accordionModifiers?: string | unknown[] | undefined;
|
|
12
|
+
accordionModifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
13
13
|
$props: {
|
|
14
14
|
readonly classes?: Record<string, any> | undefined;
|
|
15
15
|
readonly compact?: boolean | undefined;
|
|
16
16
|
readonly maxVisible?: number | undefined;
|
|
17
17
|
readonly facets?: unknown[] | undefined;
|
|
18
|
-
readonly accordionModifiers?: string | unknown[] | undefined;
|
|
18
|
+
readonly accordionModifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
19
19
|
};
|
|
20
20
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
21
21
|
type __VLS_TemplateResult = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createElementBlock as d, openBlock as l, Fragment as
|
|
1
|
+
import { createElementBlock as d, openBlock as l, Fragment as g, renderList as p, createBlock as m, withCtx as r, createVNode as o, createCommentVNode as x, normalizeClass as N, createTextVNode as f, toDisplayString as u, renderSlot as V } from "vue";
|
|
2
2
|
import h from "./UluFacetsList.vue.js";
|
|
3
3
|
import y from "../../collapsible/UluAccordion.vue.js";
|
|
4
4
|
const k = { class: "facets-filters" }, C = {
|
|
@@ -32,13 +32,13 @@ const k = { class: "facets-filters" }, C = {
|
|
|
32
32
|
/**
|
|
33
33
|
* Class modifiers for accordion (ie. 'transparent', 'secondary', etc)
|
|
34
34
|
*/
|
|
35
|
-
accordionModifiers: [String, Array]
|
|
35
|
+
accordionModifiers: [String, Array, Object]
|
|
36
36
|
},
|
|
37
37
|
emits: ["facet-change"],
|
|
38
|
-
setup(i, { emit:
|
|
39
|
-
const n =
|
|
38
|
+
setup(i, { emit: b }) {
|
|
39
|
+
const n = b, s = (c) => c.multiple ? c.children.filter((t) => t.selected).map((t) => t.uid) : c.children.find((t) => t.selected)?.uid || "";
|
|
40
40
|
return (c, t) => (l(), d("div", k, [
|
|
41
|
-
(l(!0), d(
|
|
41
|
+
(l(!0), d(g, null, p(i.facets, (e) => (l(), m(y, {
|
|
42
42
|
key: e.uid,
|
|
43
43
|
modifiers: i.accordionModifiers,
|
|
44
44
|
startOpen: e.open
|
|
@@ -81,7 +81,7 @@ const k = { class: "facets-filters" }, C = {
|
|
|
81
81
|
}, null, 8, ["children", "groupUid", "groupName", "type", "compact", "model-value"])
|
|
82
82
|
]),
|
|
83
83
|
_: 2
|
|
84
|
-
}, 1032, ["class", "modifiers"])) :
|
|
84
|
+
}, 1032, ["class", "modifiers"])) : x("", !0)
|
|
85
85
|
]),
|
|
86
86
|
_: 2
|
|
87
87
|
}, 1032, ["modifiers", "startOpen"]))), 128))
|
|
@@ -19,7 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
19
19
|
indeterminate: boolean;
|
|
20
20
|
noValues: boolean;
|
|
21
21
|
amountInHeader: boolean;
|
|
22
|
-
modifiers?: string | unknown[] | undefined;
|
|
22
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
23
23
|
label?: string | undefined;
|
|
24
24
|
formatValue?: Function | undefined;
|
|
25
25
|
$props: {
|
|
@@ -38,7 +38,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
38
38
|
readonly indeterminate?: boolean | undefined;
|
|
39
39
|
readonly noValues?: boolean | undefined;
|
|
40
40
|
readonly amountInHeader?: boolean | undefined;
|
|
41
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
41
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
42
42
|
readonly label?: string | undefined;
|
|
43
43
|
readonly formatValue?: Function | undefined;
|
|
44
44
|
};
|
|
@@ -15,7 +15,7 @@ const w = {
|
|
|
15
15
|
}, A = { class: "progress-bar__value progress-bar__value--amount" }, D = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "progress-bar__value progress-bar__value--deficit"
|
|
18
|
-
}, E = { class: "progress-bar__value progress-bar__value--total" },
|
|
18
|
+
}, E = { class: "progress-bar__value progress-bar__value--total" }, z = {
|
|
19
19
|
__name: "UluProgressBar",
|
|
20
20
|
props: {
|
|
21
21
|
/**
|
|
@@ -108,7 +108,7 @@ const w = {
|
|
|
108
108
|
/**
|
|
109
109
|
* Modifiers (to add any modifier classes based on base class [ie. 'tertiary'])
|
|
110
110
|
*/
|
|
111
|
-
modifiers: [String, Array]
|
|
111
|
+
modifiers: [String, Array, Object]
|
|
112
112
|
},
|
|
113
113
|
setup(e) {
|
|
114
114
|
const a = e, c = (t, l) => `${l === 0 ? 0 : t / l * 100}%`, g = m(() => a.indeterminate ? null : c(a.amount, a.total)), f = m(() => c(a.deficit, a.total)), { resolvedModifiers: y } = $({
|
|
@@ -187,5 +187,5 @@ const w = {
|
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
export {
|
|
190
|
-
|
|
190
|
+
z as default
|
|
191
191
|
};
|
|
@@ -18,7 +18,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
18
18
|
outsideBelow: boolean;
|
|
19
19
|
pieStyle: boolean;
|
|
20
20
|
noMask: boolean;
|
|
21
|
-
modifiers?: string | unknown[] | undefined;
|
|
21
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
22
22
|
$props: {
|
|
23
23
|
readonly duration?: number | undefined;
|
|
24
24
|
readonly easing?: string | undefined;
|
|
@@ -34,7 +34,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
34
34
|
readonly outsideBelow?: boolean | undefined;
|
|
35
35
|
readonly pieStyle?: boolean | undefined;
|
|
36
36
|
readonly noMask?: boolean | undefined;
|
|
37
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
37
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
38
38
|
};
|
|
39
39
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
40
40
|
pie: SVGCircleElement;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as B, watch as h, computed as i, onMounted as k, createElementBlock as o, openBlock as n, normalizeClass as w, unref as V, createElementVNode as l, createCommentVNode as f, toDisplayString as u, normalizeStyle as S, renderSlot as y, createTextVNode as v } from "vue";
|
|
2
|
-
import { useModifiers as
|
|
3
|
-
const
|
|
2
|
+
import { useModifiers as b } from "../../composables/useModifiers.js";
|
|
3
|
+
const _ = { class: "hidden-visually" }, x = { class: "progress-circle__chart" }, M = {
|
|
4
4
|
class: "progress-circle__chart-svg",
|
|
5
5
|
viewBox: "0 0 32 32"
|
|
6
6
|
}, N = {
|
|
@@ -89,7 +89,7 @@ const b = { class: "hidden-visually" }, x = { class: "progress-circle__chart" },
|
|
|
89
89
|
/**
|
|
90
90
|
* Modifiers (to add any modifier classes based on base class)
|
|
91
91
|
*/
|
|
92
|
-
modifiers: [String, Array]
|
|
92
|
+
modifiers: [String, Array, Object]
|
|
93
93
|
},
|
|
94
94
|
setup(a) {
|
|
95
95
|
const e = a, t = B(null), d = (s) => s === 100 ? 101 : s, g = (s = 0) => {
|
|
@@ -100,7 +100,7 @@ const b = { class: "hidden-visually" }, x = { class: "progress-circle__chart" },
|
|
|
100
100
|
h(() => e.percentage, (s, r) => {
|
|
101
101
|
s !== r && g(d(r));
|
|
102
102
|
});
|
|
103
|
-
const m = i(() => `${d(e.percentage)} 100`), c = i(() => e.outside || e.outsideBelow || e.small), { resolvedModifiers: p } =
|
|
103
|
+
const m = i(() => `${d(e.percentage)} 100`), c = i(() => e.outside || e.outsideBelow || e.small), { resolvedModifiers: p } = b({
|
|
104
104
|
props: e,
|
|
105
105
|
baseClass: "progress-circle",
|
|
106
106
|
internal: i(() => ({
|
|
@@ -119,7 +119,7 @@ const b = { class: "hidden-visually" }, x = { class: "progress-circle__chart" },
|
|
|
119
119
|
}), (s, r) => (n(), o("div", {
|
|
120
120
|
class: w(["progress-circle", V(p)])
|
|
121
121
|
}, [
|
|
122
|
-
l("strong",
|
|
122
|
+
l("strong", _, u(a.label), 1),
|
|
123
123
|
l("div", x, [
|
|
124
124
|
(n(), o("svg", M, [
|
|
125
125
|
r[0] || (r[0] = l("circle", {
|