@ulu/frontend-vue 0.5.16 → 0.6.0
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/elements/UluButton.vue.d.ts +4 -0
- package/dist/components/elements/UluButton.vue.d.ts.map +1 -1
- package/dist/components/elements/UluButton.vue.js +31 -16
- package/dist/components/elements/UluIcon.vue.js +21 -36
- package/dist/components/forms/UluFormCheckbox.vue.d.ts +3 -19
- package/dist/components/forms/UluFormCheckbox.vue.d.ts.map +1 -1
- package/dist/components/forms/UluFormCheckbox.vue.js +10 -31
- package/dist/components/forms/UluFormFile.vue.d.ts +3 -25
- package/dist/components/forms/UluFormFile.vue.d.ts.map +1 -1
- package/dist/components/forms/UluFormFile.vue.js +11 -49
- package/dist/components/forms/UluFormItem.vue.d.ts +23 -8
- package/dist/components/forms/UluFormItem.vue.d.ts.map +1 -1
- package/dist/components/forms/UluFormItem.vue.js +126 -29
- package/dist/components/forms/UluFormLabel.vue.d.ts +24 -0
- package/dist/components/forms/UluFormLabel.vue.d.ts.map +1 -0
- package/dist/components/forms/UluFormLabel.vue.js +34 -0
- package/dist/components/forms/UluFormRadio.vue.d.ts +7 -25
- package/dist/components/forms/UluFormRadio.vue.d.ts.map +1 -1
- package/dist/components/forms/UluFormRadio.vue.js +11 -37
- package/dist/components/forms/UluFormSelect.vue.d.ts +7 -23
- package/dist/components/forms/UluFormSelect.vue.d.ts.map +1 -1
- package/dist/components/forms/UluFormSelect.vue.js +24 -43
- package/dist/components/forms/UluFormText.vue.d.ts +5 -23
- package/dist/components/forms/UluFormText.vue.d.ts.map +1 -1
- package/dist/components/forms/UluFormText.vue.js +10 -38
- package/dist/components/forms/UluFormTextarea.vue.d.ts +5 -23
- package/dist/components/forms/UluFormTextarea.vue.d.ts.map +1 -1
- package/dist/components/forms/UluFormTextarea.vue.js +10 -37
- package/dist/components/forms/UluSearchForm.vue.d.ts +24 -3
- package/dist/components/forms/UluSearchForm.vue.d.ts.map +1 -1
- package/dist/components/forms/UluSearchForm.vue.js +67 -22
- package/dist/components/index.d.ts +1 -0
- package/dist/components/systems/facets/UluFacetsFilterSelects.vue.d.ts.map +1 -1
- package/dist/components/systems/facets/UluFacetsFilterSelects.vue.js +21 -22
- package/dist/components/utils/UluAction.vue.d.ts +2 -0
- package/dist/components/utils/UluAction.vue.d.ts.map +1 -1
- package/dist/components/utils/UluAction.vue.js +9 -5
- package/dist/components/visualizations/UluProgressBar.vue.d.ts +2 -2
- package/dist/index.js +130 -128
- package/dist/plugins/core/index.d.ts.map +1 -1
- package/dist/plugins/core/index.js +17 -16
- package/dist/utils/props.d.ts +7 -0
- package/dist/utils/props.d.ts.map +1 -1
- package/dist/utils/props.js +8 -2
- package/lib/components/elements/UluButton.vue +18 -3
- package/lib/components/elements/UluIcon.vue +8 -26
- package/lib/components/forms/UluForm.vue +25 -25
- package/lib/components/forms/UluFormCheckbox.vue +11 -25
- package/lib/components/forms/UluFormFieldset.vue +6 -6
- package/lib/components/forms/UluFormFile.vue +10 -40
- package/lib/components/forms/UluFormItem.vue +150 -39
- package/lib/components/forms/UluFormLabel.vue +30 -0
- package/lib/components/forms/UluFormRadio.vue +15 -34
- package/lib/components/forms/UluFormSelect.vue +19 -24
- package/lib/components/forms/UluFormText.vue +7 -25
- package/lib/components/forms/UluFormTextarea.vue +7 -25
- package/lib/components/forms/UluSearchForm.vue +67 -19
- package/lib/components/forms/UluSelectableMenu.vue +62 -62
- package/lib/components/index.js +1 -0
- package/lib/components/systems/facets/UluFacetsFilterSelects.vue +11 -14
- package/lib/components/utils/UluAction.vue +6 -2
- package/lib/plugins/core/index.js +2 -1
- package/lib/utils/props.js +14 -0
- package/package.json +3 -3
|
@@ -47,6 +47,7 @@ export { default as UluFormActions } from './forms/UluFormActions.vue';
|
|
|
47
47
|
export { default as UluFormCheckbox } from './forms/UluFormCheckbox.vue';
|
|
48
48
|
export { default as UluFormFieldset } from './forms/UluFormFieldset.vue';
|
|
49
49
|
export { default as UluFormItem } from './forms/UluFormItem.vue';
|
|
50
|
+
export { default as UluFormLabel } from './forms/UluFormLabel.vue';
|
|
50
51
|
export { default as UluFormItemsInline } from './forms/UluFormItemsInline.vue';
|
|
51
52
|
export { default as UluFormRadio } from './forms/UluFormRadio.vue';
|
|
52
53
|
export { default as UluFormRequiredChar } from './forms/UluFormRequiredChar.vue';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UluFacetsFilterSelects.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/facets/UluFacetsFilterSelects.vue"],"names":[],"mappings":"AA0CA;
|
|
1
|
+
{"version":3,"file":"UluFacetsFilterSelects.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/facets/UluFacetsFilterSelects.vue"],"names":[],"mappings":"AA0CA;wBAyOqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAZjC;;;;;;;;sPASG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
1
|
+
import { createElementBlock as d, openBlock as n, normalizeClass as a, Fragment as m, renderList as _, createElementVNode as i, renderSlot as r, createTextVNode as o, toDisplayString as u } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
|
-
const
|
|
3
|
+
const w = ["for"], S = ["id", "onChange"], $ = { value: "" }, k = ["value", "selected"], F = {
|
|
4
4
|
__name: "UluFacetsFilterSelects",
|
|
5
5
|
props: {
|
|
6
6
|
/**
|
|
@@ -19,10 +19,9 @@ const v = ["for"], w = ["id", "onChange"], S = { value: "" }, $ = ["value", "sel
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
emits: ["facet-change"],
|
|
22
|
-
setup(c, { emit:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
function p(l, f) {
|
|
22
|
+
setup(c, { emit: y }) {
|
|
23
|
+
const b = y;
|
|
24
|
+
function v(l, f) {
|
|
26
25
|
const e = f.target.value;
|
|
27
26
|
l.children.find((s) => s.selected)?.uid !== e && l.children.forEach((s) => {
|
|
28
27
|
const h = s.uid === e;
|
|
@@ -33,45 +32,45 @@ const v = ["for"], w = ["id", "onChange"], S = { value: "" }, $ = ["value", "sel
|
|
|
33
32
|
});
|
|
34
33
|
});
|
|
35
34
|
}
|
|
36
|
-
return (l, f) => (
|
|
35
|
+
return (l, f) => (n(), d("div", {
|
|
37
36
|
class: a(["facets-dropdown-filters", c.classes.container])
|
|
38
37
|
}, [
|
|
39
|
-
(
|
|
38
|
+
(n(!0), d(m, null, _(c.facets, (e) => (n(), d("div", {
|
|
40
39
|
class: a(["facets-dropdown-filters__group", c.classes.group]),
|
|
41
40
|
key: e.uid
|
|
42
41
|
}, [
|
|
43
|
-
|
|
42
|
+
i("label", {
|
|
44
43
|
for: `facet-dropdown-${e.uid}`,
|
|
45
44
|
class: a(["facets-dropdown-filters__label", c.classes.label])
|
|
46
45
|
}, [
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
r(l.$slots, "label", {}, () => [
|
|
47
|
+
o(u(e.name), 1)
|
|
49
48
|
])
|
|
50
|
-
], 10,
|
|
51
|
-
|
|
49
|
+
], 10, w),
|
|
50
|
+
i("select", {
|
|
52
51
|
id: `facet-dropdown-${e.uid}`,
|
|
53
52
|
class: a(["facets-dropdown-filters__select", c.classes.select]),
|
|
54
|
-
onChange: (t) =>
|
|
53
|
+
onChange: (t) => v(e, t)
|
|
55
54
|
}, [
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
i("option", $, [
|
|
56
|
+
r(l.$slots, "optionAll", { group: e }, () => [
|
|
57
|
+
o(" All " + u(e.name) + "s ", 1)
|
|
59
58
|
])
|
|
60
59
|
]),
|
|
61
|
-
(
|
|
60
|
+
(n(!0), d(m, null, _(e.children, (t, s) => (n(), d("option", {
|
|
62
61
|
key: t.uid,
|
|
63
62
|
value: t.uid,
|
|
64
63
|
selected: t.selected
|
|
65
64
|
}, [
|
|
66
|
-
|
|
65
|
+
r(l.$slots, "option", {
|
|
67
66
|
group: e,
|
|
68
67
|
option: t,
|
|
69
68
|
index: s
|
|
70
69
|
}, () => [
|
|
71
|
-
|
|
70
|
+
o(u(t.label), 1)
|
|
72
71
|
])
|
|
73
|
-
], 8,
|
|
74
|
-
], 42,
|
|
72
|
+
], 8, k))), 128))
|
|
73
|
+
], 42, S)
|
|
75
74
|
], 2))), 128))
|
|
76
75
|
], 2));
|
|
77
76
|
}
|
|
@@ -4,6 +4,7 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
|
4
4
|
$slots: S;
|
|
5
5
|
});
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
type?: string | undefined;
|
|
7
8
|
activeClass?: string | undefined;
|
|
8
9
|
to?: string | Record<string, any> | undefined;
|
|
9
10
|
target?: string | undefined;
|
|
@@ -14,6 +15,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
14
15
|
exactActiveClass?: string | undefined;
|
|
15
16
|
click?: Function | undefined;
|
|
16
17
|
$props: {
|
|
18
|
+
readonly type?: string | undefined;
|
|
17
19
|
readonly activeClass?: string | undefined;
|
|
18
20
|
readonly to?: string | Record<string, any> | undefined;
|
|
19
21
|
readonly target?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UluAction.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/utils/UluAction.vue"],"names":[],"mappings":"AAQA;
|
|
1
|
+
{"version":3,"file":"UluAction.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/utils/UluAction.vue"],"names":[],"mappings":"AAQA;wBA6NqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAXjC;;;;;;;;;;;;;;;;;;;;;;;2OAQG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed as r, createBlock as i, openBlock as s, resolveDynamicComponent as l, normalizeProps as c, guardReactiveProps as f, withCtx as
|
|
1
|
+
import { computed as r, createBlock as i, openBlock as s, resolveDynamicComponent as l, normalizeProps as c, guardReactiveProps as f, withCtx as p, renderSlot as u } from "vue";
|
|
2
2
|
import { RouterLink as d } from "vue-router";
|
|
3
3
|
const h = {
|
|
4
4
|
__name: "UluAction",
|
|
@@ -39,16 +39,20 @@ const h = {
|
|
|
39
39
|
* Allows passing 'click' as a prop to signify this is an action (used in UluMenu data objects).
|
|
40
40
|
* Note: The actual @click listener should be attached via fallthrough attrs, this is just for logic routing.
|
|
41
41
|
*/
|
|
42
|
-
click: Function
|
|
42
|
+
click: Function,
|
|
43
|
+
/**
|
|
44
|
+
* Button type (e.g. 'submit', 'reset', 'button'). Defaults to 'button' to prevent accidental form submissions.
|
|
45
|
+
*/
|
|
46
|
+
type: String
|
|
43
47
|
},
|
|
44
48
|
setup(o) {
|
|
45
49
|
const t = o, n = r(() => t.element ? t.element : t.to || t.path ? d : t.href ? "a" : "button"), a = r(() => {
|
|
46
50
|
const e = {};
|
|
47
|
-
return t.to || t.path ? (e.to = t.to || t.path, t.activeClass && (e.activeClass = t.activeClass), t.exactActiveClass && (e.exactActiveClass = t.exactActiveClass)) : t.href ? (e.href = t.href, t.target && (e.target = t.target), t.download && (e.download = typeof t.download == "string" ? t.download : "")) : (!t.element || t.element === "button") && (e.type = "button"), e;
|
|
51
|
+
return t.to || t.path ? (e.to = t.to || t.path, t.activeClass && (e.activeClass = t.activeClass), t.exactActiveClass && (e.exactActiveClass = t.exactActiveClass)) : t.href ? (e.href = t.href, t.target && (e.target = t.target), t.download && (e.download = typeof t.download == "string" ? t.download : "")) : (!t.element || t.element === "button") && (e.type = t.type || "button"), e;
|
|
48
52
|
});
|
|
49
53
|
return (e, m) => (s(), i(l(n.value), c(f(a.value)), {
|
|
50
|
-
default:
|
|
51
|
-
|
|
54
|
+
default: p(() => [
|
|
55
|
+
u(e.$slots, "default")
|
|
52
56
|
]),
|
|
53
57
|
_: 3
|
|
54
58
|
}, 16));
|
|
@@ -7,8 +7,8 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
7
7
|
classes: Record<string, any>;
|
|
8
8
|
danger: boolean;
|
|
9
9
|
small: boolean;
|
|
10
|
-
labelHidden: boolean;
|
|
11
10
|
warning: boolean;
|
|
11
|
+
labelHidden: boolean;
|
|
12
12
|
amount: number;
|
|
13
13
|
labelElement: string;
|
|
14
14
|
total: number;
|
|
@@ -26,8 +26,8 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
26
26
|
readonly classes?: Record<string, any> | undefined;
|
|
27
27
|
readonly danger?: boolean | undefined;
|
|
28
28
|
readonly small?: boolean | undefined;
|
|
29
|
-
readonly labelHidden?: boolean | undefined;
|
|
30
29
|
readonly warning?: boolean | undefined;
|
|
30
|
+
readonly labelHidden?: boolean | undefined;
|
|
31
31
|
readonly amount?: number | undefined;
|
|
32
32
|
readonly labelElement?: string | undefined;
|
|
33
33
|
readonly total?: number | undefined;
|
package/dist/index.js
CHANGED
|
@@ -53,108 +53,109 @@ import { default as Xe } from "./components/forms/UluFormActions.vue.js";
|
|
|
53
53
|
import { default as Ze } from "./components/forms/UluFormCheckbox.vue.js";
|
|
54
54
|
import { default as $e } from "./components/forms/UluFormFieldset.vue.js";
|
|
55
55
|
import { default as oo } from "./components/forms/UluFormItem.vue.js";
|
|
56
|
-
import { default as to } from "./components/forms/
|
|
57
|
-
import { default as lo } from "./components/forms/
|
|
58
|
-
import { default as fo } from "./components/forms/
|
|
59
|
-
import { default as mo } from "./components/forms/
|
|
60
|
-
import { default as xo } from "./components/
|
|
61
|
-
import { default as io } from "./components/layout/
|
|
62
|
-
import { default as co } from "./components/layout/
|
|
63
|
-
import { default as Fo } from "./components/layout/
|
|
64
|
-
import { default as bo } from "./components/
|
|
65
|
-
import { default as Ao } from "./components/navigation/
|
|
66
|
-
import { default as ko } from "./components/navigation/
|
|
67
|
-
import { default as Lo } from "./components/navigation/
|
|
68
|
-
import { default as Io } from "./components/navigation/
|
|
69
|
-
import { default as yo } from "./components/
|
|
70
|
-
import { default as Mo } from "./components/utils/
|
|
71
|
-
import { default as Bo } from "./components/utils/
|
|
72
|
-
import { default as No } from "./components/utils/
|
|
73
|
-
import { default as Go } from "./components/utils/
|
|
74
|
-
import { default as qo } from "./components/utils/
|
|
75
|
-
import { default as Oo } from "./components/utils/
|
|
76
|
-
import { default as jo } from "./components/
|
|
77
|
-
import { default as Jo } from "./components/visualizations/
|
|
78
|
-
import { default as Qo } from "./components/visualizations/
|
|
79
|
-
import { default as Yo } from "./components/
|
|
80
|
-
import { default as _o } from "./components/systems/facets/
|
|
81
|
-
import { default as er } from "./components/systems/facets/
|
|
82
|
-
import { default as rr } from "./components/systems/facets/
|
|
83
|
-
import { default as ar } from "./components/systems/facets/
|
|
84
|
-
import { default as ur } from "./components/systems/facets/
|
|
85
|
-
import { default as sr } from "./components/systems/facets/
|
|
86
|
-
import { default as pr } from "./components/systems/facets/
|
|
87
|
-
import { default as xr } from "./components/systems/facets/
|
|
88
|
-
import { default as ir } from "./components/systems/facets/
|
|
89
|
-
import { default as cr } from "./components/systems/facets/
|
|
90
|
-
import { default as Fr } from "./components/systems/
|
|
91
|
-
import { default as br } from "./components/systems/scroll-anchors/
|
|
92
|
-
import { default as Ar } from "./components/systems/scroll-anchors/
|
|
93
|
-
import { default as kr } from "./components/systems/scroll-anchors/
|
|
94
|
-
import { default as Lr } from "./components/systems/scroll-anchors/
|
|
95
|
-
import { default as Ir } from "./components/systems/
|
|
96
|
-
import { default as yr } from "./components/systems/skeleton/
|
|
97
|
-
import { default as Mr } from "./components/systems/skeleton/
|
|
98
|
-
import { default as Br } from "./components/systems/skeleton/
|
|
99
|
-
import { default as Nr } from "./components/systems/
|
|
100
|
-
import { default as Gr } from "./components/systems/table-sticky/
|
|
101
|
-
import { default as qr } from "./components/systems/table-sticky/
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import { default as Jr } from "./components/
|
|
105
|
-
import { default as Qr } from "./components/
|
|
106
|
-
import { default as Yr } from "./components/utils/
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
56
|
+
import { default as to } from "./components/forms/UluFormLabel.vue.js";
|
|
57
|
+
import { default as lo } from "./components/forms/UluFormItemsInline.vue.js";
|
|
58
|
+
import { default as fo } from "./components/forms/UluFormRadio.vue.js";
|
|
59
|
+
import { default as mo } from "./components/forms/UluFormRequiredChar.vue.js";
|
|
60
|
+
import { default as xo } from "./components/forms/UluFormTextarea.vue.js";
|
|
61
|
+
import { default as io } from "./components/layout/UluAdaptiveLayout.vue.js";
|
|
62
|
+
import { default as co } from "./components/layout/UluDataGrid.vue.js";
|
|
63
|
+
import { default as Fo } from "./components/layout/UluTitleRail.vue.js";
|
|
64
|
+
import { default as bo } from "./components/layout/UluWhenBreakpoint.vue.js";
|
|
65
|
+
import { default as Ao } from "./components/navigation/UluBreadcrumb.vue.js";
|
|
66
|
+
import { default as ko } from "./components/navigation/UluMenu.vue.js";
|
|
67
|
+
import { default as Lo } from "./components/navigation/UluMenuStack.vue.js";
|
|
68
|
+
import { default as Io } from "./components/navigation/UluNavStrip.vue.js";
|
|
69
|
+
import { default as yo } from "./components/navigation/UluPager.vue.js";
|
|
70
|
+
import { default as Mo } from "./components/utils/UluAction.vue.js";
|
|
71
|
+
import { default as Bo } from "./components/utils/UluConditionalText.vue.js";
|
|
72
|
+
import { default as No } from "./components/utils/UluConditionalWrapper.vue.js";
|
|
73
|
+
import { default as Go } from "./components/utils/UluPlaceholderImage.vue.js";
|
|
74
|
+
import { default as qo } from "./components/utils/UluPlaceholderText.vue.js";
|
|
75
|
+
import { default as Oo } from "./components/utils/UluRouteAnnouncer.vue.js";
|
|
76
|
+
import { default as jo } from "./components/utils/UluSanityRichText.vue.js";
|
|
77
|
+
import { default as Jo } from "./components/visualizations/UluAnimateNumber.vue.js";
|
|
78
|
+
import { default as Qo } from "./components/visualizations/UluProgressBar.vue.js";
|
|
79
|
+
import { default as Yo } from "./components/visualizations/UluProgressCircle.vue.js";
|
|
80
|
+
import { default as _o } from "./components/systems/facets/UluFacetsActiveFilters.vue.js";
|
|
81
|
+
import { default as er } from "./components/systems/facets/UluFacetsFilterLists.vue.js";
|
|
82
|
+
import { default as rr } from "./components/systems/facets/UluFacetsFilterAccordions.vue.js";
|
|
83
|
+
import { default as ar } from "./components/systems/facets/UluFacetsFilterPopovers.vue.js";
|
|
84
|
+
import { default as ur } from "./components/systems/facets/UluFacetsFilterSelects.vue.js";
|
|
85
|
+
import { default as sr } from "./components/systems/facets/UluFacetsHeaderLayout.vue.js";
|
|
86
|
+
import { default as pr } from "./components/systems/facets/UluFacetsResults.vue.js";
|
|
87
|
+
import { default as xr } from "./components/systems/facets/UluFacetsSearch.vue.js";
|
|
88
|
+
import { default as ir } from "./components/systems/facets/UluFacetsSidebarLayout.vue.js";
|
|
89
|
+
import { default as cr } from "./components/systems/facets/UluFacetsSort.vue.js";
|
|
90
|
+
import { default as Fr } from "./components/systems/facets/UluFacetsList.vue.js";
|
|
91
|
+
import { default as br } from "./components/systems/scroll-anchors/UluScrollAnchors.vue.js";
|
|
92
|
+
import { default as Ar } from "./components/systems/scroll-anchors/UluScrollAnchorsNav.vue.js";
|
|
93
|
+
import { default as kr } from "./components/systems/scroll-anchors/UluScrollAnchorsNavAnimated.vue.js";
|
|
94
|
+
import { default as Lr } from "./components/systems/scroll-anchors/UluScrollAnchorsSection.vue.js";
|
|
95
|
+
import { default as Ir } from "./components/systems/scroll-anchors/UluScrollAnchorsHeadlessSection.vue.js";
|
|
96
|
+
import { default as yr } from "./components/systems/skeleton/UluShowSkeleton.vue.js";
|
|
97
|
+
import { default as Mr } from "./components/systems/skeleton/UluSkeletonContent.vue.js";
|
|
98
|
+
import { default as Br } from "./components/systems/skeleton/UluSkeletonMedia.vue.js";
|
|
99
|
+
import { default as Nr } from "./components/systems/skeleton/UluSkeletonText.vue.js";
|
|
100
|
+
import { default as Gr } from "./components/systems/table-sticky/UluTableSticky.vue.js";
|
|
101
|
+
import { default as qr } from "./components/systems/table-sticky/UluTableStickyRows.vue.js";
|
|
102
|
+
import { default as Or } from "./components/systems/table-sticky/UluTableStickyTable.vue.js";
|
|
103
|
+
import { useTooltip as jr } from "./plugins/popovers/useTooltip.js";
|
|
104
|
+
import { default as Jr } from "./components/elements/UluMain.vue.js";
|
|
105
|
+
import { default as Qr } from "./components/navigation/UluSkipLink.vue.js";
|
|
106
|
+
import { default as Yr } from "./components/utils/UluEmpty.vue.js";
|
|
107
|
+
import { default as _r } from "./components/utils/UluEmptyView.vue.js";
|
|
108
|
+
import { useFacets as et } from "./components/systems/facets/useFacets.js";
|
|
109
|
+
import { useScrollAnchors as rt } from "./components/systems/scroll-anchors/useScrollAnchors.js";
|
|
110
|
+
import { useScrollAnchorSection as at } from "./components/systems/scroll-anchors/useScrollAnchorSection.js";
|
|
111
|
+
import { useScrollAnchorSections as ut } from "./components/systems/scroll-anchors/useScrollAnchorSections.js";
|
|
112
|
+
import { useIcon as st } from "./composables/useIcon.js";
|
|
113
|
+
import { useModifiers as pt } from "./composables/useModifiers.js";
|
|
114
|
+
import { useWindowResize as xt } from "./composables/useWindowResize.js";
|
|
115
|
+
import { useRequiredInject as it } from "./composables/useRequiredInject.js";
|
|
116
|
+
import { useBreakpointManager as ct } from "./composables/useBreakpointManager.js";
|
|
117
|
+
import { usePagination as Ft } from "./composables/usePagination.js";
|
|
118
|
+
import { useDocumentTitle as bt } from "./composables/useDocumentTitle.js";
|
|
119
|
+
import { useUluFloating as At } from "./composables/useUluFloating.js";
|
|
120
|
+
import { useTableData as kt } from "./composables/useTableData.js";
|
|
120
121
|
export {
|
|
121
122
|
n as UluAccordion,
|
|
122
123
|
S as UluAccordionGroup,
|
|
123
|
-
|
|
124
|
-
|
|
124
|
+
Mo as UluAction,
|
|
125
|
+
io as UluAdaptiveLayout,
|
|
125
126
|
E as UluAlert,
|
|
126
|
-
|
|
127
|
+
Jo as UluAnimateNumber,
|
|
127
128
|
W as UluBadge,
|
|
128
129
|
H as UluBadgeStack,
|
|
129
|
-
|
|
130
|
+
Ao as UluBreadcrumb,
|
|
130
131
|
V as UluButton,
|
|
131
132
|
z as UluButtonVerbose,
|
|
132
133
|
K as UluCallout,
|
|
133
134
|
X as UluCaptionedFigure,
|
|
134
135
|
Z as UluCard,
|
|
135
136
|
T as UluCollapsible,
|
|
136
|
-
|
|
137
|
-
|
|
137
|
+
Bo as UluConditionalText,
|
|
138
|
+
No as UluConditionalWrapper,
|
|
138
139
|
Se as UluCounterList,
|
|
139
|
-
|
|
140
|
+
co as UluDataGrid,
|
|
140
141
|
$ as UluDataTable,
|
|
141
142
|
oe as UluDefinitionList,
|
|
142
143
|
te as UluDefinitionListItem,
|
|
143
144
|
g as UluDropdown,
|
|
144
|
-
|
|
145
|
-
|
|
145
|
+
Yr as UluEmpty,
|
|
146
|
+
_r as UluEmptyView,
|
|
146
147
|
le as UluExternalLink,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
148
|
+
_o as UluFacetsActiveFilters,
|
|
149
|
+
rr as UluFacetsFilterAccordions,
|
|
150
|
+
er as UluFacetsFilterLists,
|
|
151
|
+
ar as UluFacetsFilterPopovers,
|
|
152
|
+
ur as UluFacetsFilterSelects,
|
|
153
|
+
sr as UluFacetsHeaderLayout,
|
|
154
|
+
Fr as UluFacetsList,
|
|
155
|
+
pr as UluFacetsResults,
|
|
156
|
+
xr as UluFacetsSearch,
|
|
157
|
+
ir as UluFacetsSidebarLayout,
|
|
158
|
+
cr as UluFacetsSort,
|
|
158
159
|
De as UluFileDisplay,
|
|
159
160
|
Ke as UluForm,
|
|
160
161
|
Xe as UluFormActions,
|
|
@@ -162,46 +163,47 @@ export {
|
|
|
162
163
|
$e as UluFormFieldset,
|
|
163
164
|
Ee as UluFormFile,
|
|
164
165
|
oo as UluFormItem,
|
|
165
|
-
|
|
166
|
+
lo as UluFormItemsInline,
|
|
167
|
+
to as UluFormLabel,
|
|
166
168
|
We as UluFormMessage,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
+
fo as UluFormRadio,
|
|
170
|
+
mo as UluFormRequiredChar,
|
|
169
171
|
He as UluFormSelect,
|
|
170
172
|
Ve as UluFormText,
|
|
171
|
-
|
|
173
|
+
xo as UluFormTextarea,
|
|
172
174
|
fe as UluIcon,
|
|
173
175
|
me as UluImage,
|
|
174
176
|
de as UluImageSource,
|
|
175
177
|
Ue as UluList,
|
|
176
178
|
ne as UluListItem,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
179
|
+
Jr as UluMain,
|
|
180
|
+
ko as UluMenu,
|
|
181
|
+
Lo as UluMenuStack,
|
|
180
182
|
h as UluModal,
|
|
181
|
-
|
|
183
|
+
Io as UluNavStrip,
|
|
182
184
|
P as UluOverflowPopover,
|
|
183
185
|
Te as UluOverflowScroller,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
186
|
+
yo as UluPager,
|
|
187
|
+
Go as UluPlaceholderImage,
|
|
188
|
+
qo as UluPlaceholderText,
|
|
189
|
+
Qo as UluProgressBar,
|
|
190
|
+
Yo as UluProgressCircle,
|
|
191
|
+
Oo as UluRouteAnnouncer,
|
|
190
192
|
ge as UluRule,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
193
|
+
jo as UluSanityRichText,
|
|
194
|
+
br as UluScrollAnchors,
|
|
195
|
+
Ir as UluScrollAnchorsHeadlessSection,
|
|
196
|
+
Ar as UluScrollAnchorsNav,
|
|
197
|
+
kr as UluScrollAnchorsNavAnimated,
|
|
198
|
+
Lr as UluScrollAnchorsSection,
|
|
197
199
|
he as UluScrollSlider,
|
|
198
200
|
ze as UluSearchForm,
|
|
199
201
|
we as UluSelectableMenu,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
202
|
+
yr as UluShowSkeleton,
|
|
203
|
+
Mr as UluSkeletonContent,
|
|
204
|
+
Br as UluSkeletonMedia,
|
|
205
|
+
Nr as UluSkeletonText,
|
|
206
|
+
Qr as UluSkipLink,
|
|
205
207
|
Pe as UluSlider,
|
|
206
208
|
Ce as UluSpokeSpinner,
|
|
207
209
|
C as UluTab,
|
|
@@ -210,31 +212,31 @@ export {
|
|
|
210
212
|
w as UluTabPanel,
|
|
211
213
|
D as UluTabPanels,
|
|
212
214
|
ve as UluTable,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
215
|
+
Gr as UluTableSticky,
|
|
216
|
+
qr as UluTableStickyRows,
|
|
217
|
+
Or as UluTableStickyTable,
|
|
216
218
|
Re as UluTag,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
+
Fo as UluTitleRail,
|
|
220
|
+
bo as UluWhenBreakpoint,
|
|
219
221
|
U as breakpointsPlugin,
|
|
220
222
|
t as corePlugin,
|
|
221
223
|
m as modalsPlugin,
|
|
222
224
|
l as popoversPlugin,
|
|
223
225
|
d as toastPlugin,
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
226
|
+
ct as useBreakpointManager,
|
|
227
|
+
bt as useDocumentTitle,
|
|
228
|
+
et as useFacets,
|
|
229
|
+
st as useIcon,
|
|
230
|
+
pt as useModifiers,
|
|
231
|
+
Ft as usePagination,
|
|
232
|
+
it as useRequiredInject,
|
|
233
|
+
at as useScrollAnchorSection,
|
|
234
|
+
ut as useScrollAnchorSections,
|
|
235
|
+
rt as useScrollAnchors,
|
|
236
|
+
kt as useTableData,
|
|
237
|
+
jr as useTooltip,
|
|
236
238
|
f as useTooltipFollow,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
+
At as useUluFloating,
|
|
240
|
+
xt as useWindowResize,
|
|
239
241
|
e as utils
|
|
240
242
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/plugins/core/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/plugins/core/index.js"],"names":[],"mappings":"AAoCA;;;;;;;;;;GAUG;AACH,qCAPW,MAAM,iBAEd;IAA+B,iBAAiB;IAClB,aAAa;IACX,gBAAgB;IAClB,WAAW;CAC3C,QA0DA;AAtED,gCAA0D"}
|
|
@@ -2,7 +2,7 @@ import { reactive as c } from "vue";
|
|
|
2
2
|
const o = {
|
|
3
3
|
fontAwesomeStatic: !1,
|
|
4
4
|
iconComponent: null,
|
|
5
|
-
iconPropResolver: (
|
|
5
|
+
iconPropResolver: (n) => ({ icon: n }),
|
|
6
6
|
iconsByType: {
|
|
7
7
|
danger: "fas fa-triangle-exclamation",
|
|
8
8
|
warning: "fas fa-circle-exclamation",
|
|
@@ -22,12 +22,13 @@ const o = {
|
|
|
22
22
|
file: "fas fa-file",
|
|
23
23
|
previous: "fas fa-chevron-left",
|
|
24
24
|
next: "fas fa-chevron-right",
|
|
25
|
-
dropdownExpand: "fas fa-caret-down"
|
|
25
|
+
dropdownExpand: "fas fa-caret-down",
|
|
26
|
+
search: "fas fa-search"
|
|
26
27
|
}
|
|
27
28
|
};
|
|
28
|
-
function p(
|
|
29
|
-
const t = c({ ...o }), { iconsByType:
|
|
30
|
-
|
|
29
|
+
function p(n, f = {}) {
|
|
30
|
+
const t = c({ ...o }), { iconsByType: r, ...i } = f || {};
|
|
31
|
+
i && Object.assign(t, i);
|
|
31
32
|
const s = {
|
|
32
33
|
// Methods to interact with settings
|
|
33
34
|
getSettings() {
|
|
@@ -46,25 +47,25 @@ function p(a, f = {}) {
|
|
|
46
47
|
}
|
|
47
48
|
return t[e];
|
|
48
49
|
},
|
|
49
|
-
updateSetting(e,
|
|
50
|
+
updateSetting(e, a) {
|
|
50
51
|
if (typeof e != "string")
|
|
51
52
|
throw new Error("Expected key to be string");
|
|
52
|
-
t[e] =
|
|
53
|
+
t[e] = a;
|
|
53
54
|
},
|
|
54
55
|
getIcon(e) {
|
|
55
|
-
const
|
|
56
|
-
if (!
|
|
56
|
+
const a = t.iconsByType;
|
|
57
|
+
if (!a[e])
|
|
57
58
|
throw new Error(`Icon type "${e}" not found!`);
|
|
58
|
-
return
|
|
59
|
+
return a[e];
|
|
59
60
|
},
|
|
60
|
-
setIcon(e,
|
|
61
|
-
t.iconsByType[e] =
|
|
61
|
+
setIcon(e, a) {
|
|
62
|
+
t.iconsByType[e] = a;
|
|
62
63
|
}
|
|
63
64
|
};
|
|
64
|
-
if (
|
|
65
|
-
for (const [e,
|
|
66
|
-
s.setIcon(e,
|
|
67
|
-
|
|
65
|
+
if (r)
|
|
66
|
+
for (const [e, a] of Object.entries(r))
|
|
67
|
+
s.setIcon(e, a);
|
|
68
|
+
n.provide("uluCore", s), n.config.globalProperties.$uluCore = s;
|
|
68
69
|
}
|
|
69
70
|
export {
|
|
70
71
|
p as default
|
package/dist/utils/props.d.ts
CHANGED
|
@@ -4,4 +4,11 @@
|
|
|
4
4
|
* @returns {Boolean} Whether all are objects within
|
|
5
5
|
*/
|
|
6
6
|
export function isArrayOfObjects(array: any[]): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Checks for deprecated props and calls a callback for each match
|
|
9
|
+
* @param {object} props - The current props object
|
|
10
|
+
* @param {string[]} deprecatedNames - Array of prop names to check
|
|
11
|
+
* @param {function} callback - Function called for each match, receiving the prop name
|
|
12
|
+
*/
|
|
13
|
+
export function checkDeprecatedProps(props: object, deprecatedNames: string[], callback: Function): void;
|
|
7
14
|
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../lib/utils/props.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wDAEC"}
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../lib/utils/props.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wDAEC;AAED;;;;;GAKG;AACH,4CAJW,MAAM,mBACN,MAAM,EAAE,4BASlB"}
|
package/dist/utils/props.js
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
function
|
|
1
|
+
function f(e) {
|
|
2
2
|
return e.every((r) => typeof r == "object");
|
|
3
3
|
}
|
|
4
|
+
function o(e, r, t) {
|
|
5
|
+
r.forEach((c) => {
|
|
6
|
+
e[c] !== void 0 && t(c);
|
|
7
|
+
});
|
|
8
|
+
}
|
|
4
9
|
export {
|
|
5
|
-
|
|
10
|
+
o as checkDeprecatedProps,
|
|
11
|
+
f as isArrayOfObjects
|
|
6
12
|
};
|