@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
|
@@ -11,7 +11,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
11
11
|
triggerTextElement: string;
|
|
12
12
|
triggerText?: string | undefined;
|
|
13
13
|
modelValue?: boolean | undefined;
|
|
14
|
-
modifiers?: string | unknown[] | undefined;
|
|
14
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
15
15
|
$props: {
|
|
16
16
|
readonly startOpen?: boolean | undefined;
|
|
17
17
|
readonly classes?: Record<string, any> | undefined;
|
|
@@ -19,7 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
19
19
|
readonly triggerTextElement?: string | undefined;
|
|
20
20
|
readonly triggerText?: string | undefined;
|
|
21
21
|
readonly modelValue?: boolean | undefined;
|
|
22
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
22
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
23
23
|
};
|
|
24
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
25
25
|
type __VLS_TemplateResult = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { computed as c, inject as x, onMounted as V, createBlock as s, openBlock as d, unref as O, withCtx as i, renderSlot as l, resolveDynamicComponent as T, createTextVNode as B, toDisplayString as C, createElementVNode as M, normalizeClass as S, createVNode as $ } from "vue";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useModifiers as
|
|
5
|
-
import { newId as
|
|
2
|
+
import b from "../elements/UluIcon.vue.js";
|
|
3
|
+
import j from "./UluCollapsible.vue.js";
|
|
4
|
+
import { useModifiers as A } from "../../composables/useModifiers.js";
|
|
5
|
+
import { newId as h } from "../../utils/dom.js";
|
|
6
6
|
const G = {
|
|
7
7
|
__name: "UluAccordion",
|
|
8
8
|
props: {
|
|
@@ -55,14 +55,14 @@ const G = {
|
|
|
55
55
|
/**
|
|
56
56
|
* Class modifiers (ie. 'transparent', 'secondary', etc)
|
|
57
57
|
*/
|
|
58
|
-
modifiers: [String, Array]
|
|
58
|
+
modifiers: [String, Array, Object]
|
|
59
59
|
},
|
|
60
60
|
emits: ["update:modelValue"],
|
|
61
61
|
setup(t, { emit: u }) {
|
|
62
|
-
const r = t, m = u, { resolvedModifiers: g } =
|
|
62
|
+
const r = t, m = u, { resolvedModifiers: g } = A({ props: r, baseClass: "accordion" }), p = c(() => {
|
|
63
63
|
const e = { ...r.classes };
|
|
64
64
|
return e.container = [e.container, g.value], e;
|
|
65
|
-
}), o = x("uluAccordionGroup", null), a =
|
|
65
|
+
}), o = x("uluAccordionGroup", null), a = h("ulu-accordion");
|
|
66
66
|
V(() => {
|
|
67
67
|
o && r.startOpen && o.toggle(a, !0);
|
|
68
68
|
});
|
|
@@ -70,7 +70,7 @@ const G = {
|
|
|
70
70
|
function y(e) {
|
|
71
71
|
o && o.toggle(a, e), m("update:modelValue", e);
|
|
72
72
|
}
|
|
73
|
-
return (e, E) => (d(), s(
|
|
73
|
+
return (e, E) => (d(), s(j, {
|
|
74
74
|
id: O(a),
|
|
75
75
|
"model-value": f.value,
|
|
76
76
|
"start-open": t.startOpen,
|
|
@@ -92,7 +92,7 @@ const G = {
|
|
|
92
92
|
M("span", {
|
|
93
93
|
class: S(["accordion__icon", t.classes.icon])
|
|
94
94
|
}, [
|
|
95
|
-
$(
|
|
95
|
+
$(b, {
|
|
96
96
|
icon: n ? "type:collapse" : "type:expand",
|
|
97
97
|
style: { display: "inline" }
|
|
98
98
|
}, null, 8, ["icon"])
|
|
@@ -7,12 +7,12 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
7
7
|
animate: boolean | Record<string, any>;
|
|
8
8
|
triggerTextElement: string;
|
|
9
9
|
items: unknown[];
|
|
10
|
-
modifiers?: string | unknown[] | undefined;
|
|
10
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
11
11
|
$props: {
|
|
12
12
|
readonly animate?: boolean | Record<string, any> | undefined;
|
|
13
13
|
readonly triggerTextElement?: string | undefined;
|
|
14
14
|
readonly items?: unknown[] | undefined;
|
|
15
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
15
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
16
16
|
};
|
|
17
17
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
18
18
|
type __VLS_TemplateResult = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as m, provide as f, createElementBlock as
|
|
2
|
-
import
|
|
1
|
+
import { ref as m, provide as f, createElementBlock as g, openBlock as l, renderSlot as s, Fragment as p, renderList as y, createBlock as k, createSlots as $, withCtx as a, createTextVNode as v, toDisplayString as O } from "vue";
|
|
2
|
+
import A from "./UluAccordion.vue.js";
|
|
3
3
|
const S = { class: "accordion-group" }, B = {
|
|
4
4
|
__name: "UluAccordionGroup",
|
|
5
5
|
props: {
|
|
@@ -21,7 +21,7 @@ const S = { class: "accordion-group" }, B = {
|
|
|
21
21
|
/**
|
|
22
22
|
* Class modifiers (ie. 'transparent', 'secondary', etc)
|
|
23
23
|
*/
|
|
24
|
-
modifiers: [String, Array],
|
|
24
|
+
modifiers: [String, Array, Object],
|
|
25
25
|
/**
|
|
26
26
|
* Enable or configure animations.
|
|
27
27
|
* - `false` (default) to disable all animations.
|
|
@@ -35,14 +35,14 @@ const S = { class: "accordion-group" }, B = {
|
|
|
35
35
|
},
|
|
36
36
|
setup(r) {
|
|
37
37
|
const i = m(null);
|
|
38
|
-
function u(e,
|
|
39
|
-
|
|
38
|
+
function u(e, c) {
|
|
39
|
+
c ? i.value = e : i.value === e && (i.value = null);
|
|
40
40
|
}
|
|
41
41
|
return f("uluAccordionGroup", {
|
|
42
42
|
activeAccordionId: i,
|
|
43
43
|
toggle: u
|
|
44
|
-
}), (e,
|
|
45
|
-
r.items?.length ? (l(!0),
|
|
44
|
+
}), (e, c) => (l(), g("div", S, [
|
|
45
|
+
r.items?.length ? (l(!0), g(p, { key: 0 }, y(r.items, (t, o) => (l(), k(A, {
|
|
46
46
|
key: o,
|
|
47
47
|
"start-open": t.isOpen,
|
|
48
48
|
"trigger-text": t.title,
|
|
@@ -58,7 +58,7 @@ const S = { class: "accordion-group" }, B = {
|
|
|
58
58
|
isOpen: n,
|
|
59
59
|
toggle: d
|
|
60
60
|
}, () => [
|
|
61
|
-
v(
|
|
61
|
+
v(O(t.content), 1)
|
|
62
62
|
])
|
|
63
63
|
]),
|
|
64
64
|
_: 2
|
|
@@ -27,7 +27,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
27
27
|
titleIcon?: string | undefined;
|
|
28
28
|
resizerIcon?: string | undefined;
|
|
29
29
|
closeIcon?: string | undefined;
|
|
30
|
-
modifiers?: string | unknown[] | undefined;
|
|
30
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
31
31
|
$props: {
|
|
32
32
|
readonly classes?: Record<string, any> | undefined;
|
|
33
33
|
readonly clickOutsideCloses?: boolean | undefined;
|
|
@@ -51,7 +51,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
51
51
|
readonly titleIcon?: string | undefined;
|
|
52
52
|
readonly resizerIcon?: string | undefined;
|
|
53
53
|
readonly closeIcon?: string | undefined;
|
|
54
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
54
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
55
55
|
};
|
|
56
56
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, any, any>;
|
|
57
57
|
type __VLS_TemplateResult = any;
|
|
@@ -117,7 +117,7 @@ const ue = ["aria-labelledby", "aria-describedby"], de = ["id"], fe = { class: "
|
|
|
117
117
|
/**
|
|
118
118
|
* Modifiers (to add any modifier classes based on base class [ie. 'tertiary'])
|
|
119
119
|
*/
|
|
120
|
-
modifiers: [String, Array],
|
|
120
|
+
modifiers: [String, Array, Object],
|
|
121
121
|
/**
|
|
122
122
|
* Opt-in convenience behavior. If the modal body's sole content is an iframe, it automatically applies layout fixes.
|
|
123
123
|
*/
|
|
@@ -129,11 +129,11 @@ const ue = ["aria-labelledby", "aria-describedby"], de = ["id"], fe = { class: "
|
|
|
129
129
|
},
|
|
130
130
|
emits: ["update:modelValue", "close", "open"],
|
|
131
131
|
setup(t, { emit: j }) {
|
|
132
|
-
const c = j, e = t, D = J(), N = n(null), E = ce("ulu-modal-title"), B = n(!1), o = n(null),
|
|
132
|
+
const c = j, e = t, D = J(), N = n(null), E = ce("ulu-modal-title"), B = n(!1), o = n(null), O = n(null), k = n(null), i = n({
|
|
133
133
|
isStaticSize: !1,
|
|
134
134
|
isFill: !1,
|
|
135
135
|
bodyStyle: {}
|
|
136
|
-
}),
|
|
136
|
+
}), $ = u(() => e.title || D.title), v = u(() => {
|
|
137
137
|
const { allowResize: l, position: s } = e;
|
|
138
138
|
if (!l || !s) return !1;
|
|
139
139
|
const h = ["left", "right", "center"];
|
|
@@ -142,7 +142,7 @@ const ue = ["aria-labelledby", "aria-describedby"], de = ["id"], fe = { class: "
|
|
|
142
142
|
[e.position]: e.position,
|
|
143
143
|
resize: e.allowResize,
|
|
144
144
|
"no-resize": !e.allowResize,
|
|
145
|
-
"no-header":
|
|
145
|
+
"no-header": !$.value,
|
|
146
146
|
"body-fills": e.bodyFills,
|
|
147
147
|
"no-backdrop": e.noBackdrop,
|
|
148
148
|
"no-min-height": e.noMinHeight,
|
|
@@ -178,7 +178,7 @@ const ue = ["aria-labelledby", "aria-describedby"], de = ["id"], fe = { class: "
|
|
|
178
178
|
}, I = () => {
|
|
179
179
|
if (v.value) {
|
|
180
180
|
const l = e.position === "center" ? { fromX: "right", fromY: "bottom", multiplier: 2 } : { fromX: e.position === "right" ? "left" : "right" };
|
|
181
|
-
S = new ne(o.value,
|
|
181
|
+
S = new ne(o.value, O.value, l), z = () => {
|
|
182
182
|
B.value = !0;
|
|
183
183
|
}, p = () => {
|
|
184
184
|
setTimeout(() => {
|
|
@@ -228,7 +228,7 @@ const ue = ["aria-labelledby", "aria-describedby"], de = ["id"], fe = { class: "
|
|
|
228
228
|
onClose: q,
|
|
229
229
|
onClick: W
|
|
230
230
|
}, [
|
|
231
|
-
|
|
231
|
+
$.value ? (d(), C("header", {
|
|
232
232
|
key: 0,
|
|
233
233
|
class: r(["modal__header", t.classes.header])
|
|
234
234
|
}, [
|
|
@@ -277,7 +277,7 @@ const ue = ["aria-labelledby", "aria-describedby"], de = ["id"], fe = { class: "
|
|
|
277
277
|
key: 2,
|
|
278
278
|
class: "modal__resizer",
|
|
279
279
|
ref_key: "resizer",
|
|
280
|
-
ref:
|
|
280
|
+
ref: O,
|
|
281
281
|
type: "button"
|
|
282
282
|
}, [
|
|
283
283
|
m(l.$slots, "resizerIcon", {}, () => [
|
|
@@ -8,14 +8,14 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
8
8
|
vertical: boolean;
|
|
9
9
|
sticky: boolean;
|
|
10
10
|
transparent: boolean;
|
|
11
|
-
modifiers?: string | unknown[] | undefined;
|
|
11
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
12
12
|
defaultIndex?: number | undefined;
|
|
13
13
|
selectedIndex?: number | undefined;
|
|
14
14
|
$props: {
|
|
15
15
|
readonly vertical?: boolean | undefined;
|
|
16
16
|
readonly sticky?: boolean | undefined;
|
|
17
17
|
readonly transparent?: boolean | undefined;
|
|
18
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
18
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
19
19
|
readonly defaultIndex?: number | undefined;
|
|
20
20
|
readonly selectedIndex?: number | undefined;
|
|
21
21
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { computed as l, createBlock as i, openBlock as d, unref as s, withCtx as c, createElementVNode as u, mergeProps as m, renderSlot as f, normalizeProps as p, guardReactiveProps as
|
|
2
|
-
import { TabGroup as
|
|
1
|
+
import { computed as l, createBlock as i, openBlock as d, unref as s, withCtx as c, createElementVNode as u, mergeProps as m, renderSlot as f, normalizeProps as p, guardReactiveProps as b } from "vue";
|
|
2
|
+
import { TabGroup as v } from "@headlessui/vue";
|
|
3
3
|
import { useModifiers as x } from "../../composables/useModifiers.js";
|
|
4
4
|
const B = /* @__PURE__ */ Object.assign({
|
|
5
5
|
inheritAttrs: !1
|
|
@@ -29,7 +29,7 @@ const B = /* @__PURE__ */ Object.assign({
|
|
|
29
29
|
/**
|
|
30
30
|
* Class modifiers (ie. 'transparent', 'secondary', etc)
|
|
31
31
|
*/
|
|
32
|
-
modifiers: [String, Array]
|
|
32
|
+
modifiers: [String, Array, Object]
|
|
33
33
|
},
|
|
34
34
|
emits: ["change"],
|
|
35
35
|
setup(e) {
|
|
@@ -42,7 +42,7 @@ const B = /* @__PURE__ */ Object.assign({
|
|
|
42
42
|
transparent: t.transparent
|
|
43
43
|
}))
|
|
44
44
|
});
|
|
45
|
-
return (r, n) => (d(), i(s(
|
|
45
|
+
return (r, n) => (d(), i(s(v), {
|
|
46
46
|
defaultIndex: e.defaultIndex,
|
|
47
47
|
selectedIndex: e.selectedIndex,
|
|
48
48
|
vertical: e.vertical,
|
|
@@ -52,7 +52,7 @@ const B = /* @__PURE__ */ Object.assign({
|
|
|
52
52
|
u("div", m(r.$attrs, {
|
|
53
53
|
class: ["tabs", s(o)]
|
|
54
54
|
}), [
|
|
55
|
-
f(r.$slots, "default", p(
|
|
55
|
+
f(r.$slots, "default", p(b(a)))
|
|
56
56
|
], 16)
|
|
57
57
|
]),
|
|
58
58
|
_: 3
|
|
@@ -8,14 +8,14 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
8
8
|
compact: boolean;
|
|
9
9
|
icon?: string | undefined;
|
|
10
10
|
title?: string | undefined;
|
|
11
|
-
modifiers?: string | unknown[] | undefined;
|
|
11
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
12
12
|
description?: string | undefined;
|
|
13
13
|
$props: {
|
|
14
14
|
readonly type?: string | undefined;
|
|
15
15
|
readonly compact?: boolean | undefined;
|
|
16
16
|
readonly icon?: string | undefined;
|
|
17
17
|
readonly title?: string | undefined;
|
|
18
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
18
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
19
19
|
readonly description?: string | undefined;
|
|
20
20
|
};
|
|
21
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -33,7 +33,7 @@ const v = { class: "layout-flex" }, S = { class: "type-small" }, $ = {
|
|
|
33
33
|
/**
|
|
34
34
|
* Modifiers (to add any modifier classes based on base class [ie. 'tertiary'])
|
|
35
35
|
*/
|
|
36
|
-
modifiers: [String, Array]
|
|
36
|
+
modifiers: [String, Array, Object]
|
|
37
37
|
},
|
|
38
38
|
setup(e) {
|
|
39
39
|
const o = e, { resolvedModifiers: c } = y({
|
|
@@ -7,7 +7,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
7
7
|
skeleton: boolean;
|
|
8
8
|
type?: string | undefined;
|
|
9
9
|
size?: string | undefined;
|
|
10
|
-
modifiers?: string | unknown[] | undefined;
|
|
10
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
11
11
|
to?: string | Record<string, any> | undefined;
|
|
12
12
|
href?: string | undefined;
|
|
13
13
|
click?: Function | undefined;
|
|
@@ -17,7 +17,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
17
17
|
readonly skeleton?: boolean | undefined;
|
|
18
18
|
readonly type?: string | undefined;
|
|
19
19
|
readonly size?: string | undefined;
|
|
20
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
20
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
21
21
|
readonly to?: string | Record<string, any> | undefined;
|
|
22
22
|
readonly href?: string | undefined;
|
|
23
23
|
readonly click?: Function | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { computed as o, createBlock as m, openBlock as a, resolveDynamicComponent as f, normalizeClass as i, unref as g, withCtx as h, createElementVNode as y, createElementBlock as r, renderSlot as
|
|
1
|
+
import { computed as o, createBlock as m, openBlock as a, resolveDynamicComponent as f, normalizeClass as i, unref as g, withCtx as h, createElementVNode as y, createElementBlock as r, renderSlot as b, createCommentVNode as S, toDisplayString as c } from "vue";
|
|
2
2
|
import { RouterLink as C } from "vue-router";
|
|
3
3
|
import { useModifiers as v } from "../../composables/useModifiers.js";
|
|
4
4
|
const B = ["aria-hidden"], x = {
|
|
5
5
|
key: 2,
|
|
6
6
|
class: "hidden-visually"
|
|
7
|
-
},
|
|
7
|
+
}, D = {
|
|
8
8
|
__name: "UluBadge",
|
|
9
9
|
props: {
|
|
10
10
|
/**
|
|
@@ -42,7 +42,7 @@ const B = ["aria-hidden"], x = {
|
|
|
42
42
|
/**
|
|
43
43
|
* Modifiers (to add any modifier classes based on base class [ie. 'tertiary'])
|
|
44
44
|
*/
|
|
45
|
-
modifiers: [String, Array]
|
|
45
|
+
modifiers: [String, Array, Object]
|
|
46
46
|
},
|
|
47
47
|
setup(e) {
|
|
48
48
|
const t = e, s = o(() => !!(t.to || t.click)), { resolvedModifiers: d } = v({
|
|
@@ -70,8 +70,8 @@ const B = ["aria-hidden"], x = {
|
|
|
70
70
|
e.text ? (a(), r("span", {
|
|
71
71
|
key: 0,
|
|
72
72
|
"aria-hidden": e.alt ? "true" : null
|
|
73
|
-
}, c(e.text), 9, B)) :
|
|
74
|
-
e.alt ? (a(), r("span", x, c(e.alt), 1)) :
|
|
73
|
+
}, c(e.text), 9, B)) : b(n.$slots, "default", { key: 1 }),
|
|
74
|
+
e.alt ? (a(), r("span", x, c(e.alt), 1)) : S("", !0)
|
|
75
75
|
], 2)
|
|
76
76
|
]),
|
|
77
77
|
_: 3
|
|
@@ -79,5 +79,5 @@ const B = ["aria-hidden"], x = {
|
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
export {
|
|
82
|
-
|
|
82
|
+
D as default
|
|
83
83
|
};
|
|
@@ -16,7 +16,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
16
16
|
type?: string | undefined;
|
|
17
17
|
size?: string | undefined;
|
|
18
18
|
icon?: string | unknown[] | undefined;
|
|
19
|
-
modifiers?: string | unknown[] | undefined;
|
|
19
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
20
20
|
to?: string | Record<string, any> | undefined;
|
|
21
21
|
target?: string | undefined;
|
|
22
22
|
href?: string | undefined;
|
|
@@ -37,7 +37,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
37
37
|
readonly type?: string | undefined;
|
|
38
38
|
readonly size?: string | undefined;
|
|
39
39
|
readonly icon?: string | unknown[] | undefined;
|
|
40
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
40
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
41
41
|
readonly to?: string | Record<string, any> | undefined;
|
|
42
42
|
readonly target?: string | undefined;
|
|
43
43
|
readonly href?: string | undefined;
|
|
@@ -3,7 +3,7 @@ import b from "../utils/UluAction.vue.js";
|
|
|
3
3
|
import c from "./UluIcon.vue.js";
|
|
4
4
|
import { useModifiers as S } from "../../composables/useModifiers.js";
|
|
5
5
|
import { checkDeprecatedProps as h } from "../../utils/props.js";
|
|
6
|
-
const
|
|
6
|
+
const O = { key: 1 }, C = {
|
|
7
7
|
__name: "UluButton",
|
|
8
8
|
props: {
|
|
9
9
|
/**
|
|
@@ -83,7 +83,7 @@ const k = { key: 1 }, C = {
|
|
|
83
83
|
/**
|
|
84
84
|
* Modifiers (to add any modifier classes based on base class [ie. 'tertiary'])
|
|
85
85
|
*/
|
|
86
|
-
modifiers: [String, Array],
|
|
86
|
+
modifiers: [String, Array, Object],
|
|
87
87
|
/**
|
|
88
88
|
* Button type (e.g. 'submit', 'reset', 'button').
|
|
89
89
|
*/
|
|
@@ -111,7 +111,7 @@ const k = { key: 1 }, C = {
|
|
|
111
111
|
const t = n.ariaLabel || n.alt || n.iconOnly && n.text;
|
|
112
112
|
return t || null;
|
|
113
113
|
});
|
|
114
|
-
return (t,
|
|
114
|
+
return (t, k) => (o(), a(b, {
|
|
115
115
|
to: e.to,
|
|
116
116
|
href: e.href,
|
|
117
117
|
target: e.target,
|
|
@@ -132,7 +132,7 @@ const k = { key: 1 }, C = {
|
|
|
132
132
|
icon: e.icon,
|
|
133
133
|
class: "button__icon"
|
|
134
134
|
}, null, 8, ["icon"])) : r("", !0),
|
|
135
|
-
(t.$slots.default || e.text) && !e.iconOnly ? (o(), g("span",
|
|
135
|
+
(t.$slots.default || e.text) && !e.iconOnly ? (o(), g("span", O, [
|
|
136
136
|
l(t.$slots, "default", {}, () => [
|
|
137
137
|
y(B(e.text), 1)
|
|
138
138
|
])
|
|
@@ -10,7 +10,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
10
10
|
icon?: string | unknown[] | undefined;
|
|
11
11
|
body?: string | undefined;
|
|
12
12
|
title?: string | undefined;
|
|
13
|
-
modifiers?: string | unknown[] | undefined;
|
|
13
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
14
14
|
to?: string | Record<string, any> | undefined;
|
|
15
15
|
target?: string | undefined;
|
|
16
16
|
href?: string | undefined;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
22
22
|
readonly icon?: string | unknown[] | undefined;
|
|
23
23
|
readonly body?: string | undefined;
|
|
24
24
|
readonly title?: string | undefined;
|
|
25
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
25
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
26
26
|
readonly to?: string | Record<string, any> | undefined;
|
|
27
27
|
readonly target?: string | undefined;
|
|
28
28
|
readonly href?: string | undefined;
|
|
@@ -5,10 +5,10 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
|
5
5
|
});
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
7
|
fullHeight: boolean;
|
|
8
|
-
modifiers?: string | unknown[] | undefined;
|
|
8
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
9
9
|
$props: {
|
|
10
10
|
readonly fullHeight?: boolean | undefined;
|
|
11
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
11
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
12
12
|
};
|
|
13
13
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
14
14
|
type __VLS_TemplateResult = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
1
|
+
import { createElementBlock as r, openBlock as s, normalizeClass as a, unref as i, renderSlot as n } from "vue";
|
|
2
2
|
import { useModifiers as u } from "../../composables/useModifiers.js";
|
|
3
3
|
const d = {
|
|
4
4
|
__name: "UluCallout",
|
|
@@ -9,16 +9,16 @@ const d = {
|
|
|
9
9
|
fullHeight: Boolean,
|
|
10
10
|
/**
|
|
11
11
|
* Class modifiers (ie. 'transparent', 'secondary', etc)
|
|
12
|
-
* - Can be String
|
|
12
|
+
* - Can be String, Array, or Object
|
|
13
13
|
*/
|
|
14
|
-
modifiers: [String, Array]
|
|
14
|
+
modifiers: [String, Array, Object]
|
|
15
15
|
},
|
|
16
16
|
setup(e) {
|
|
17
17
|
const l = e, { resolvedModifiers: o } = u({ props: l, baseClass: "callout" });
|
|
18
|
-
return (
|
|
18
|
+
return (t, c) => (s(), r("div", {
|
|
19
19
|
class: a(["callout", [i(o), { "full-height": e.fullHeight }]])
|
|
20
20
|
}, [
|
|
21
|
-
n(
|
|
21
|
+
n(t.$slots, "default")
|
|
22
22
|
], 2));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
@@ -6,11 +6,11 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
7
|
caption: string;
|
|
8
8
|
position?: string | undefined;
|
|
9
|
-
modifiers?: string | unknown[] | undefined;
|
|
9
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
10
10
|
$props: {
|
|
11
11
|
readonly caption?: string | undefined;
|
|
12
12
|
readonly position?: string | undefined;
|
|
13
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
13
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
14
14
|
};
|
|
15
15
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
16
16
|
type __VLS_TemplateResult = {
|
|
@@ -15,7 +15,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
15
15
|
horizontalCenter: boolean;
|
|
16
16
|
overlay: boolean;
|
|
17
17
|
title?: string | undefined;
|
|
18
|
-
modifiers?: string | unknown[] | undefined;
|
|
18
|
+
modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
19
19
|
to?: string | Record<string, any> | undefined;
|
|
20
20
|
target?: string | undefined;
|
|
21
21
|
href?: string | undefined;
|
|
@@ -36,7 +36,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
36
36
|
readonly horizontalCenter?: boolean | undefined;
|
|
37
37
|
readonly overlay?: boolean | undefined;
|
|
38
38
|
readonly title?: string | undefined;
|
|
39
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
39
|
+
readonly modifiers?: string | Record<string, any> | unknown[] | undefined;
|
|
40
40
|
readonly to?: string | Record<string, any> | undefined;
|
|
41
41
|
readonly target?: string | undefined;
|
|
42
42
|
readonly href?: string | undefined;
|
|
@@ -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
|