@ulu/frontend-vue 0.6.11 → 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 +5 -2
- package/dist/components/collapsible/UluTabGroup.vue.d.ts.map +1 -1
- package/dist/components/collapsible/UluTabGroup.vue.js +28 -21
- 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 +1778 -1776
- 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 +12 -3
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useSlots as V, computed as o, ref as f, createBlock as k, openBlock as a, resolveDynamicComponent as P, normalizeStyle as p, normalizeClass as h, unref as n, withCtx as S, createElementVNode as
|
|
2
|
-
import { RouterLink as
|
|
1
|
+
import { useSlots as V, computed as o, ref as f, createBlock as k, openBlock as a, resolveDynamicComponent as P, normalizeStyle as p, normalizeClass as h, unref as n, withCtx as S, createElementVNode as O, createElementBlock as m, createCommentVNode as y, renderSlot as i, createTextVNode as C, toDisplayString as x, createVNode as A, normalizeProps as I, guardReactiveProps as q } from "vue";
|
|
2
|
+
import { RouterLink as $ } from "vue-router";
|
|
3
3
|
import { useModifiers as L } from "../../composables/useModifiers.js";
|
|
4
4
|
import { refToElement as F } from "../../utils/dom.js";
|
|
5
5
|
import G from "./UluImage.vue.js";
|
|
@@ -114,22 +114,22 @@ const J = { class: "card__body" }, K = { class: "card__main" }, Q = ["href", "ta
|
|
|
114
114
|
overlay: Boolean,
|
|
115
115
|
/**
|
|
116
116
|
* Class modifiers (ie. 'transparent', 'secondary', etc)
|
|
117
|
-
* - Can be String
|
|
117
|
+
* - Can be String, Array, or Object
|
|
118
118
|
*/
|
|
119
|
-
modifiers: [Array,
|
|
119
|
+
modifiers: [String, Array, Object]
|
|
120
120
|
},
|
|
121
121
|
emits: ["proxy-click"],
|
|
122
|
-
setup(t, { emit:
|
|
123
|
-
const e = t,
|
|
122
|
+
setup(t, { emit: B }) {
|
|
123
|
+
const e = t, j = B, s = V();
|
|
124
124
|
e.proxyClick && (e.to || e.href) && console.warn("UluCard: 'proxyClick' is ignored when 'to' or 'href' are present."), (e.titleTo || e.titleHref) && (e.to || e.href) && console.warn("UluCard: 'titleTo'/'titleHref' should not be used with 'to'/'href'.");
|
|
125
125
|
const b = o(() => e.image ? e.image : e.imageSrc ? {
|
|
126
126
|
src: e.imageSrc,
|
|
127
127
|
alt: e.imageAlt || ""
|
|
128
|
-
} : null), T = f(null), v = f(null), { resolvedModifiers:
|
|
128
|
+
} : null), T = f(null), v = f(null), { resolvedModifiers: H } = L({ props: e, baseClass: "card" }), E = f(null), c = f(!1), u = o(() => e.proxyClick && !e.to && !e.href), w = o(() => u.value && (e.titleTo || e.titleHref)), M = o(() => u.value && !w.value), g = o(() => u.value || null), z = o(() => ({
|
|
129
129
|
selectorPrevent: "input, select, textarea, button, a, [tabindex='-1']",
|
|
130
130
|
mousedownDurationPrevent: 250,
|
|
131
131
|
...e.proxyClickOptions
|
|
132
|
-
})), D = o(() => u.value ? "pointer" : null), N = o(() => e.to ?
|
|
132
|
+
})), D = o(() => u.value ? "pointer" : null), N = o(() => e.to ? $ : e.href ? "a" : e.cardElement);
|
|
133
133
|
function R({ target: l, timeStamp: d }) {
|
|
134
134
|
if (!g.value) return;
|
|
135
135
|
const { selectorPrevent: r } = z.value;
|
|
@@ -142,9 +142,9 @@ const J = { class: "card__body" }, K = { class: "card__main" }, Q = ["href", "ta
|
|
|
142
142
|
if (w.value) {
|
|
143
143
|
const r = F(v.value);
|
|
144
144
|
r ? r.click() : console.warn("Unable to resolve title link ref");
|
|
145
|
-
} else if (
|
|
145
|
+
} else if (M.value) {
|
|
146
146
|
const r = T.value?.querySelector("[data-ulu-card-proxy-target]");
|
|
147
|
-
r ? r.click() :
|
|
147
|
+
r ? r.click() : j("proxy-click");
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
c.value = !1;
|
|
@@ -158,7 +158,7 @@ const J = { class: "card__body" }, K = { class: "card__main" }, Q = ["href", "ta
|
|
|
158
158
|
"card--horizontal-center": t.horizontalCenter,
|
|
159
159
|
"card--overlay": t.overlay
|
|
160
160
|
},
|
|
161
|
-
n(
|
|
161
|
+
n(H)
|
|
162
162
|
]]),
|
|
163
163
|
onMousedown: R,
|
|
164
164
|
onMouseup: U,
|
|
@@ -169,14 +169,14 @@ const J = { class: "card__body" }, K = { class: "card__main" }, Q = ["href", "ta
|
|
|
169
169
|
"data-ulu-proxy-click-init": g.value
|
|
170
170
|
}, {
|
|
171
171
|
default: S(() => [
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
O("div", J, [
|
|
173
|
+
O("div", K, [
|
|
174
174
|
t.title || n(s).title ? (a(), k(P(t.titleElement), {
|
|
175
175
|
key: 0,
|
|
176
176
|
class: h(["card__title", t.classes.title])
|
|
177
177
|
}, {
|
|
178
178
|
default: S(() => [
|
|
179
|
-
t.titleTo ? (a(), k(n(
|
|
179
|
+
t.titleTo ? (a(), k(n($), {
|
|
180
180
|
key: 0,
|
|
181
181
|
class: "card__title-link",
|
|
182
182
|
to: t.titleTo,
|
|
@@ -9,7 +9,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
9
9
|
itemElement: string;
|
|
10
10
|
alphabetical: boolean;
|
|
11
11
|
noReset: boolean;
|
|
12
|
-
modifiers?: string | unknown[] | undefined;
|
|
12
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
13
13
|
items?: unknown[] | undefined;
|
|
14
14
|
$props: {
|
|
15
15
|
readonly classes?: Record<string, any> | undefined;
|
|
@@ -17,7 +17,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
17
17
|
readonly itemElement?: string | undefined;
|
|
18
18
|
readonly alphabetical?: boolean | undefined;
|
|
19
19
|
readonly noReset?: boolean | undefined;
|
|
20
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
20
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
21
21
|
readonly items?: unknown[] | undefined;
|
|
22
22
|
};
|
|
23
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { computed as l, createBlock as r, openBlock as o, normalizeClass as m, unref as c, createSlots as u, withCtx as f, renderSlot as d, normalizeProps as p, guardReactiveProps as
|
|
2
|
-
import { useModifiers as
|
|
1
|
+
import { computed as l, createBlock as r, openBlock as o, normalizeClass as m, unref as c, createSlots as u, withCtx as f, renderSlot as d, normalizeProps as p, guardReactiveProps as b } from "vue";
|
|
2
|
+
import { useModifiers as y } from "../../composables/useModifiers.js";
|
|
3
3
|
import h from "./UluList.vue.js";
|
|
4
4
|
const B = {
|
|
5
5
|
__name: "UluCounterList",
|
|
@@ -41,10 +41,10 @@ const B = {
|
|
|
41
41
|
/**
|
|
42
42
|
* Modifiers (to add any modifier classes based on base class [ie. 'alphabetical'])
|
|
43
43
|
*/
|
|
44
|
-
modifiers: [String, Array]
|
|
44
|
+
modifiers: [String, Array, Object]
|
|
45
45
|
},
|
|
46
46
|
setup(t) {
|
|
47
|
-
const e = t, { resolvedModifiers: a } =
|
|
47
|
+
const e = t, { resolvedModifiers: a } = y({
|
|
48
48
|
props: e,
|
|
49
49
|
baseClass: "counter-list",
|
|
50
50
|
internal: l(() => ({
|
|
@@ -65,7 +65,7 @@ const B = {
|
|
|
65
65
|
s.$slots.default ? {
|
|
66
66
|
name: "default",
|
|
67
67
|
fn: f((n) => [
|
|
68
|
-
d(s.$slots, "default", p(
|
|
68
|
+
d(s.$slots, "default", p(b(n)))
|
|
69
69
|
]),
|
|
70
70
|
key: "0"
|
|
71
71
|
} : void 0
|
|
@@ -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 = {
|