@ulu/frontend-vue 0.2.0-beta.9 → 0.3.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/collapsible/UluAccordionGroup.vue.d.ts +2 -2
- package/dist/components/collapsible/UluAccordionGroup.vue.d.ts.map +1 -1
- package/dist/components/collapsible/UluAccordionGroup.vue.js +22 -19
- package/dist/components/collapsible/UluDropdown.vue.d.ts +1 -1
- package/dist/components/collapsible/UluDropdown.vue.d.ts.map +1 -1
- package/dist/components/collapsible/UluDropdown.vue.js +22 -15
- package/dist/components/collapsible/UluModal.vue.d.ts +43 -248
- package/dist/components/collapsible/UluModal.vue.d.ts.map +1 -1
- package/dist/components/collapsible/UluModal.vue.js +139 -191
- package/dist/components/collapsible/UluTabGroup.vue.d.ts +2 -0
- package/dist/components/collapsible/UluTabGroup.vue.d.ts.map +1 -1
- package/dist/components/collapsible/UluTabGroup.vue.js +23 -14
- package/dist/components/elements/UluAlert.vue.d.ts +29 -144
- package/dist/components/elements/UluAlert.vue.d.ts.map +1 -1
- package/dist/components/elements/UluAlert.vue.js +39 -50
- package/dist/components/elements/UluBadge.vue.d.ts +6 -6
- package/dist/components/elements/UluBadgeStack.vue.d.ts +1 -1
- package/dist/components/elements/UluBadgeStack.vue.d.ts.map +1 -1
- package/dist/components/elements/UluBadgeStack.vue.js +12 -9
- package/dist/components/elements/UluButton.vue.d.ts +47 -177
- package/dist/components/elements/UluButton.vue.d.ts.map +1 -1
- package/dist/components/elements/UluButton.vue.js +59 -72
- package/dist/components/elements/UluButtonVerbose.vue.d.ts +38 -123
- package/dist/components/elements/UluButtonVerbose.vue.d.ts.map +1 -1
- package/dist/components/elements/UluButtonVerbose.vue.js +52 -65
- package/dist/components/elements/UluCallout.vue.d.ts +20 -25
- package/dist/components/elements/UluCallout.vue.d.ts.map +1 -1
- package/dist/components/elements/UluCallout.vue.js +11 -16
- package/dist/components/elements/UluCaptionedFigure.vue.d.ts +25 -0
- package/dist/components/elements/UluCaptionedFigure.vue.d.ts.map +1 -0
- package/dist/components/elements/UluCaptionedFigure.vue.js +48 -0
- package/dist/components/elements/UluCard.vue.d.ts +2 -2
- package/dist/components/elements/UluDefinitionList.vue.d.ts +4 -2
- package/dist/components/elements/UluDefinitionList.vue.d.ts.map +1 -1
- package/dist/components/elements/UluDefinitionList.vue.js +32 -28
- package/dist/components/elements/UluExternalLink.vue.d.ts +2 -2
- package/dist/components/elements/UluImage.vue.d.ts +14 -0
- package/dist/components/elements/UluImage.vue.d.ts.map +1 -0
- package/dist/components/elements/UluImage.vue.js +53 -0
- package/dist/components/elements/UluList.vue.d.ts.map +1 -1
- package/dist/components/elements/UluList.vue.js +14 -13
- package/dist/components/elements/UluOverflowScroller.vue.d.ts +49 -0
- package/dist/components/elements/UluOverflowScroller.vue.d.ts.map +1 -0
- package/dist/components/elements/UluOverflowScroller.vue.js +138 -0
- package/dist/components/elements/UluScrollSlider.vue.d.ts +38 -0
- package/dist/components/elements/UluScrollSlider.vue.d.ts.map +1 -0
- package/dist/components/elements/UluScrollSlider.vue.js +146 -0
- package/dist/components/elements/UluSlider.vue.d.ts +57 -0
- package/dist/components/elements/UluSlider.vue.d.ts.map +1 -0
- package/dist/components/elements/UluSlider.vue.js +277 -0
- package/dist/components/forms/UluFormFile.vue.d.ts +2 -2
- package/dist/components/forms/UluFormRadio.vue.d.ts +4 -4
- package/dist/components/index.d.ts +6 -0
- package/dist/components/layout/UluTitleRail.vue.d.ts +29 -87
- package/dist/components/layout/UluTitleRail.vue.d.ts.map +1 -1
- package/dist/components/layout/UluTitleRail.vue.js +51 -46
- package/dist/components/navigation/UluBreadcrumb.vue.d.ts +27 -68
- package/dist/components/navigation/UluBreadcrumb.vue.d.ts.map +1 -1
- package/dist/components/navigation/UluBreadcrumb.vue.js +51 -54
- package/dist/components/navigation/UluMenu.vue.d.ts +30 -138
- package/dist/components/navigation/UluMenu.vue.d.ts.map +1 -1
- package/dist/components/navigation/UluMenu.vue.js +85 -84
- package/dist/components/navigation/UluMenuStack.vue.d.ts +12 -2
- package/dist/components/navigation/UluMenuStack.vue.d.ts.map +1 -1
- package/dist/components/navigation/UluMenuStack.vue.js +26 -18
- package/dist/components/navigation/UluNavStrip.vue.d.ts +22 -134
- package/dist/components/navigation/UluNavStrip.vue.d.ts.map +1 -1
- package/dist/components/navigation/UluNavStrip.vue.js +43 -31
- package/dist/components/systems/facets/UluFacetsSidebarLayout.vue.js +10 -10
- package/dist/components/systems/facets/useFacets.d.ts +3 -0
- package/dist/components/systems/facets/useFacets.d.ts.map +1 -1
- package/dist/components/systems/facets/useFacets.js +124 -112
- package/dist/components/systems/index.d.ts +0 -3
- package/dist/components/systems/scroll-anchors/UluScrollAnchors.vue.d.ts +2 -2
- package/dist/components/systems/table-sticky/UluTableSticky.vue.d.ts +504 -432
- package/dist/components/systems/table-sticky/UluTableSticky.vue.d.ts.map +1 -1
- package/dist/components/systems/table-sticky/UluTableSticky.vue.js +313 -456
- package/dist/components/systems/table-sticky/UluTableStickyRows.vue.d.ts +40 -31
- package/dist/components/systems/table-sticky/UluTableStickyRows.vue.d.ts.map +1 -1
- package/dist/components/systems/table-sticky/UluTableStickyRows.vue.js +43 -45
- package/dist/components/systems/table-sticky/UluTableStickyTable.vue.d.ts +60 -146
- package/dist/components/systems/table-sticky/UluTableStickyTable.vue.d.ts.map +1 -1
- package/dist/components/systems/table-sticky/UluTableStickyTable.vue.js +156 -175
- package/dist/components/utils/UluAction.vue.d.ts +36 -0
- package/dist/components/utils/UluAction.vue.d.ts.map +1 -0
- package/dist/components/utils/UluAction.vue.js +59 -0
- package/dist/components/utils/UluConditionalText.vue.d.ts +7 -26
- package/dist/components/utils/UluConditionalText.vue.d.ts.map +1 -1
- package/dist/components/utils/UluConditionalText.vue.js +12 -14
- package/dist/components/utils/UluPlaceholderImage.vue.d.ts +12 -57
- package/dist/components/utils/UluPlaceholderImage.vue.d.ts.map +1 -1
- package/dist/components/utils/UluPlaceholderImage.vue.js +18 -26
- package/dist/components/utils/UluPlaceholderText.vue.d.ts +6 -20
- package/dist/components/utils/UluPlaceholderText.vue.js +12 -14
- package/dist/components/utils/UluRouteAnnouncer.vue.d.ts +9 -58
- package/dist/components/utils/UluRouteAnnouncer.vue.d.ts.map +1 -1
- package/dist/components/utils/UluRouteAnnouncer.vue.js +28 -28
- package/dist/components/visualizations/UluAnimateNumber.vue.d.ts +20 -14
- package/dist/components/visualizations/UluAnimateNumber.vue.d.ts.map +1 -1
- package/dist/components/visualizations/UluAnimateNumber.vue.js +18 -26
- package/dist/components/visualizations/UluProgressCircle.vue.d.ts +2 -2
- package/dist/composables/useModifiers.d.ts +20 -25
- package/dist/composables/useModifiers.d.ts.map +1 -1
- package/dist/index.js +206 -200
- package/dist/plugins/modals/UluModalsDisplay.vue.d.ts +3 -12
- package/dist/plugins/modals/UluModalsDisplay.vue.js +24 -45
- package/dist/plugins/modals/index.js +6 -6
- package/dist/plugins/toast/UluToast.vue.d.ts +24 -49
- package/dist/plugins/toast/UluToast.vue.d.ts.map +1 -1
- package/dist/plugins/toast/UluToast.vue.js +68 -77
- package/dist/plugins/toast/UluToastDisplay.vue.d.ts +1 -9
- package/dist/plugins/toast/UluToastDisplay.vue.js +27 -35
- package/dist/plugins/toast/defaults.d.ts +40 -35
- package/dist/plugins/toast/defaults.js +2 -2
- package/dist/plugins/toast/index.js +4 -4
- package/dist/plugins/toast/store.d.ts +40 -35
- package/dist/plugins/toast/store.d.ts.map +1 -1
- package/dist/utils/props.d.ts +7 -0
- package/dist/utils/props.d.ts.map +1 -0
- package/dist/utils/props.js +6 -0
- package/lib/components/collapsible/UluAccordionGroup.vue +4 -1
- package/lib/components/collapsible/UluDropdown.vue +5 -1
- package/lib/components/collapsible/UluModal.vue +278 -298
- package/lib/components/collapsible/UluTabGroup.vue +21 -6
- package/lib/components/elements/UluAlert.vue +38 -51
- package/lib/components/elements/UluBadgeStack.vue +4 -1
- package/lib/components/elements/UluButton.vue +105 -129
- package/lib/components/elements/UluButtonVerbose.vue +67 -89
- package/lib/components/elements/UluCallout.vue +15 -19
- package/lib/components/elements/UluCaptionedFigure.vue +40 -0
- package/lib/components/elements/UluDefinitionList.vue +27 -6
- package/lib/components/elements/UluImage.vue +56 -0
- package/lib/components/elements/UluList.vue +1 -0
- package/lib/components/elements/UluOverflowScroller.vue +140 -0
- package/lib/components/elements/UluScrollSlider.vue +150 -0
- package/lib/components/elements/UluSlider.vue +488 -0
- package/lib/components/index.js +10 -0
- package/lib/components/layout/UluTitleRail.vue +55 -48
- package/lib/components/navigation/UluBreadcrumb.vue +29 -34
- package/lib/components/navigation/UluMenu.vue +60 -71
- package/lib/components/navigation/UluMenuStack.vue +6 -1
- package/lib/components/navigation/UluNavStrip.vue +43 -31
- package/lib/components/systems/facets/useFacets.js +33 -17
- package/lib/components/systems/index.js +0 -4
- package/lib/components/systems/table-sticky/UluTableSticky.vue +602 -576
- package/lib/components/systems/table-sticky/UluTableStickyRows.vue +16 -27
- package/lib/components/systems/table-sticky/UluTableStickyTable.vue +95 -96
- package/lib/components/utils/UluAction.vue +81 -0
- package/lib/components/utils/UluConditionalText.vue +13 -16
- package/lib/components/utils/UluPlaceholderImage.vue +44 -46
- package/lib/components/utils/UluPlaceholderText.vue +10 -13
- package/lib/components/utils/UluRouteAnnouncer.vue +59 -47
- package/lib/components/visualizations/UluAnimateNumber.vue +23 -30
- package/lib/composables/useModifiers.js +21 -26
- package/lib/plugins/modals/UluModalsDisplay.vue +44 -45
- package/lib/plugins/toast/UluToast.vue +28 -34
- package/lib/plugins/toast/UluToastDisplay.vue +9 -15
- package/lib/utils/props.js +8 -0
- package/package.json +9 -5
- package/dist/components/systems/slider/UluImageSlideShow.vue.d.ts +0 -130
- package/dist/components/systems/slider/UluImageSlideShow.vue.d.ts.map +0 -1
- package/dist/components/systems/slider/UluImageSlideShow.vue.js +0 -73
- package/dist/components/systems/slider/UluSlideShow.vue.d.ts +0 -205
- package/dist/components/systems/slider/UluSlideShow.vue.d.ts.map +0 -1
- package/dist/components/systems/slider/UluSlideShow.vue.js +0 -292
- package/dist/components/systems/slider/UluSlideShowSlide.vue.d.ts +0 -17
- package/dist/components/systems/slider/UluSlideShowSlide.vue.d.ts.map +0 -1
- package/dist/components/systems/slider/UluSlideShowSlide.vue.js +0 -26
- package/lib/components/systems/slider/UluImageSlideShow.vue +0 -75
- package/lib/components/systems/slider/UluSlideShow.vue +0 -336
- package/lib/components/systems/slider/UluSlideShowSlide.vue +0 -25
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import F from "
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { createElementBlock as o, openBlock as r, normalizeClass as A, createCommentVNode as C, createElementVNode as w, toDisplayString as k, Fragment as c, renderList as y, normalizeStyle as F, createBlock as j, resolveDynamicComponent as z, withCtx as v, renderSlot as u, createTextVNode as $, createVNode as S, createSlots as W, normalizeProps as B, guardReactiveProps as V } from "vue";
|
|
2
|
+
import L from "./UluTableStickyRows.vue.js";
|
|
3
|
+
const P = ["aria-hidden"], D = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "table-sticky__caption"
|
|
6
|
+
}, E = ["id"], q = ["id", "rowspan", "colspan", "data-child-columns", "aria-sort", "scope", "headers"], O = ["innerHTML"], U = {
|
|
7
|
+
class: "table-sticky__sort-icon",
|
|
8
|
+
"aria-hidden": "true"
|
|
9
|
+
}, G = { class: "table-sticky__sort-icon-inner" }, J = ["innerHTML"], K = { key: 1 }, Q = { key: 2 }, Z = {
|
|
10
|
+
__name: "UluTableStickyTable",
|
|
9
11
|
props: {
|
|
10
12
|
resolveClasses: Function,
|
|
11
13
|
classes: {
|
|
@@ -37,7 +39,7 @@ const U = {
|
|
|
37
39
|
*/
|
|
38
40
|
getRowValue: {
|
|
39
41
|
type: Function,
|
|
40
|
-
default: ({ row:
|
|
42
|
+
default: ({ row: e, column: f }) => e[f.key]
|
|
41
43
|
},
|
|
42
44
|
/**
|
|
43
45
|
* Optional user overridden value getter (for rows)
|
|
@@ -46,181 +48,160 @@ const U = {
|
|
|
46
48
|
*/
|
|
47
49
|
getColumnTitle: {
|
|
48
50
|
type: Function,
|
|
49
|
-
default: ({ column:
|
|
51
|
+
default: ({ column: e }) => e.title
|
|
50
52
|
}
|
|
51
53
|
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
const {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
},
|
|
73
|
-
value({ row: s, column: a, rowIndex: e }) {
|
|
74
|
-
const n = a.value;
|
|
75
|
-
return n ? n({ row: s.data, column: a, rowIndex: e }) : this.getRowValue({ row: s.data, column: a, rowIndex: e });
|
|
76
|
-
},
|
|
77
|
-
getCellHeaders(s, a) {
|
|
78
|
-
const e = s.headers.join(" "), n = s.getRowHeaders(a), u = n.length ? " " : "";
|
|
79
|
-
return `${e}${u}${n}`;
|
|
80
|
-
},
|
|
81
|
-
getHeaderHeaders(s) {
|
|
82
|
-
const a = s.headers.filter((e) => e !== s.id);
|
|
54
|
+
emits: [
|
|
55
|
+
"column-sorted",
|
|
56
|
+
"actual-header-removed",
|
|
57
|
+
"actual-header-added"
|
|
58
|
+
],
|
|
59
|
+
setup(e, { emit: f }) {
|
|
60
|
+
const H = f, g = e, b = {}, m = (s, a) => {
|
|
61
|
+
g.isActual && (s.sortFocused = a);
|
|
62
|
+
}, M = (s, a) => {
|
|
63
|
+
if (!g.isActual || !a) return;
|
|
64
|
+
const { id: i } = s, l = b[i];
|
|
65
|
+
l && H("actual-header-removed", l), H("actual-header-added", a), b[i] = a;
|
|
66
|
+
}, d = (s) => s || null, T = ({ row: s, column: a, rowIndex: i }) => {
|
|
67
|
+
const l = a.value;
|
|
68
|
+
return l ? l({ row: s.data, column: a, rowIndex: i }) : g.getRowValue({ row: s.data, column: a, rowIndex: i });
|
|
69
|
+
}, R = (s, a) => {
|
|
70
|
+
const i = s.headers.join(" "), l = s.getRowHeaders(a), t = l.length ? " " : "";
|
|
71
|
+
return `${i}${t}${l}`;
|
|
72
|
+
}, N = (s) => {
|
|
73
|
+
const a = s.headers.filter((i) => i !== s.id);
|
|
83
74
|
if (a.length)
|
|
84
75
|
return a.join(" ");
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}, [
|
|
100
|
-
e.caption ? (r(), i("caption", N, k(e.caption), 1)) : C("", !0),
|
|
101
|
-
_("thead", null, [
|
|
102
|
-
(r(!0), i(h, null, g(e.headerRows, (c, o) => (r(), i("tr", {
|
|
103
|
-
key: `hr-${o}`,
|
|
104
|
-
id: l.optionalAttr(e.isActual && c.id),
|
|
105
|
-
class: f(e.resolveClasses(e.classes.rowHeader, { row: c, rowIndex: o, isActual: e.isActual })),
|
|
106
|
-
style: b({
|
|
107
|
-
height: c.height
|
|
108
|
-
})
|
|
109
|
-
}, [
|
|
110
|
-
(r(!0), i(h, null, g(c.columns, (t, d) => (r(), i("th", {
|
|
111
|
-
key: `hc-${d}`,
|
|
112
|
-
id: l.optionalAttr(e.isActual && t.id),
|
|
113
|
-
rowspan: t.rowspan,
|
|
114
|
-
colspan: t.colspan,
|
|
115
|
-
"data-child-columns": t.columns && t.columns.length,
|
|
116
|
-
class: f([
|
|
117
|
-
{
|
|
118
|
-
"sort-active": t.sortApplied,
|
|
119
|
-
"sort-ascending": t.sortApplied && t.sortAscending,
|
|
120
|
-
"sort-descending": t.sortApplied && !t.sortAscending
|
|
121
|
-
},
|
|
122
|
-
e.resolveClasses(t.classHeader, { column: t, index: d, isActual: e.isActual })
|
|
123
|
-
]),
|
|
124
|
-
style: b({
|
|
125
|
-
width: t.width
|
|
126
|
-
}),
|
|
127
|
-
"aria-sort": t.sort ? t.sortAscending ? "ascending" : "descending" : null,
|
|
128
|
-
scope: l.optionalAttr(e.isActual && (t.colspan > 1 ? "colgroup" : "col")),
|
|
129
|
-
headers: l.optionalAttr(e.isActual && l.getHeaderHeaders(t, o)),
|
|
130
|
-
ref_for: !0,
|
|
131
|
-
ref: (y) => l.addHeaderRef(t, y)
|
|
76
|
+
};
|
|
77
|
+
return (s, a) => (r(), o("table", {
|
|
78
|
+
class: A(e.resolveClasses(e.classes.table, { isActual: e.isActual })),
|
|
79
|
+
"aria-hidden": e.isActual ? "false" : "true"
|
|
80
|
+
}, [
|
|
81
|
+
e.caption ? (r(), o("caption", D, k(e.caption), 1)) : C("", !0),
|
|
82
|
+
w("thead", null, [
|
|
83
|
+
(r(!0), o(c, null, y(e.headerRows, (i, l) => (r(), o("tr", {
|
|
84
|
+
key: `hr-${l}`,
|
|
85
|
+
id: d(e.isActual && i.id),
|
|
86
|
+
class: A(e.resolveClasses(e.classes.rowHeader, { row: i, rowIndex: l, isActual: e.isActual })),
|
|
87
|
+
style: F({
|
|
88
|
+
height: i.height
|
|
89
|
+
})
|
|
132
90
|
}, [
|
|
133
|
-
|
|
134
|
-
key:
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
91
|
+
(r(!0), o(c, null, y(i.columns, (t, n) => (r(), o("th", {
|
|
92
|
+
key: `hc-${n}`,
|
|
93
|
+
id: d(e.isActual && t.id),
|
|
94
|
+
rowspan: t.rowspan,
|
|
95
|
+
colspan: t.colspan,
|
|
96
|
+
"data-child-columns": t.columns && t.columns.length,
|
|
97
|
+
class: A([
|
|
98
|
+
{
|
|
99
|
+
"sort-active": t.sortApplied,
|
|
100
|
+
"sort-ascending": t.sortApplied && t.sortAscending,
|
|
101
|
+
"sort-descending": t.sortApplied && !t.sortAscending
|
|
102
|
+
},
|
|
103
|
+
e.resolveClasses(t.classHeader, { column: t, index: n, isActual: e.isActual })
|
|
104
|
+
]),
|
|
105
|
+
style: F({
|
|
106
|
+
width: t.width
|
|
107
|
+
}),
|
|
108
|
+
"aria-sort": t.sort ? t.sortAscending ? "ascending" : "descending" : null,
|
|
109
|
+
scope: d(e.isActual && (t.colspan > 1 ? "colgroup" : "col")),
|
|
110
|
+
headers: d(e.isActual && N(t)),
|
|
111
|
+
ref_for: !0,
|
|
112
|
+
ref: (h) => M(t, h)
|
|
113
|
+
}, [
|
|
114
|
+
t.sortable ? (r(), j(z(e.isActual ? "button" : "div"), {
|
|
115
|
+
key: 0,
|
|
116
|
+
class: A(["table-sticky__sort-button", {
|
|
117
|
+
"table-sticky__sort-button--focused": t.sortFocused
|
|
118
|
+
}]),
|
|
119
|
+
onClick: (h) => s.$emit("column-sorted", t),
|
|
120
|
+
onFocus: (h) => m(t, !0),
|
|
121
|
+
onBlur: (h) => m(t, !1),
|
|
122
|
+
"aria-pressed": t.sortApplied ? "true" : "false"
|
|
123
|
+
}, {
|
|
124
|
+
default: v(() => [
|
|
125
|
+
s.$slots[t.slotHeader] ? u(s.$slots, t.slotHeader, {
|
|
126
|
+
key: 0,
|
|
127
|
+
isActual: e.isActual,
|
|
128
|
+
column: t,
|
|
129
|
+
index: n
|
|
130
|
+
}) : t.htmlTitle ? (r(), o("div", {
|
|
131
|
+
key: 1,
|
|
132
|
+
innerHTML: e.getColumnTitle({ column: t, index: n, isActual: e.isActual })
|
|
133
|
+
}, null, 8, O)) : (r(), o(c, { key: 2 }, [
|
|
134
|
+
$(k(e.getColumnTitle({ column: t, index: n, isActual: e.isActual })), 1)
|
|
135
|
+
], 64)),
|
|
136
|
+
w("span", U, [
|
|
137
|
+
w("span", G, [
|
|
138
|
+
u(s.$slots, "sortIcon", {}, () => [
|
|
139
|
+
a[0] || (a[0] = $("▼", -1))
|
|
140
|
+
])
|
|
141
|
+
])
|
|
142
|
+
])
|
|
143
|
+
]),
|
|
144
|
+
_: 2
|
|
145
|
+
}, 1064, ["class", "onClick", "onFocus", "onBlur", "aria-pressed"])) : (r(), o(c, { key: 1 }, [
|
|
146
|
+
s.$slots[t.slotHeader] ? u(s.$slots, t.slotHeader, {
|
|
145
147
|
key: 0,
|
|
146
148
|
isActual: e.isActual,
|
|
147
149
|
column: t,
|
|
148
|
-
index:
|
|
149
|
-
}) : t.htmlTitle ? (r(),
|
|
150
|
+
index: n
|
|
151
|
+
}) : t.htmlTitle ? (r(), o("div", {
|
|
150
152
|
key: 1,
|
|
151
|
-
innerHTML: e.getColumnTitle({ column: t, index:
|
|
152
|
-
}, null, 8,
|
|
153
|
-
|
|
154
|
-
], 64))
|
|
155
|
-
_("span", D, [
|
|
156
|
-
_("span", E, [
|
|
157
|
-
A(s.$slots, "sortIcon", {}, () => [
|
|
158
|
-
a[0] || (a[0] = w("▼", -1))
|
|
159
|
-
])
|
|
160
|
-
])
|
|
161
|
-
])
|
|
162
|
-
]),
|
|
163
|
-
_: 2
|
|
164
|
-
}, 1064, ["class", "onClick", "onFocus", "onBlur", "aria-pressed"])) : (r(), i(h, { key: 1 }, [
|
|
165
|
-
s.$slots[t.slotHeader] ? A(s.$slots, t.slotHeader, {
|
|
166
|
-
key: 0,
|
|
167
|
-
isActual: e.isActual,
|
|
168
|
-
column: t,
|
|
169
|
-
index: d
|
|
170
|
-
}) : t.htmlTitle ? (r(), i("div", {
|
|
171
|
-
key: 1,
|
|
172
|
-
innerHTML: e.getColumnTitle({ column: t, index: d, isActual: e.isActual })
|
|
173
|
-
}, null, 8, q)) : (r(), i(h, { key: 2 }, [
|
|
174
|
-
w(k(e.getColumnTitle({ column: t, index: d, isActual: e.isActual })), 1)
|
|
153
|
+
innerHTML: e.getColumnTitle({ column: t, index: n, isActual: e.isActual })
|
|
154
|
+
}, null, 8, J)) : (r(), o(c, { key: 2 }, [
|
|
155
|
+
$(k(e.getColumnTitle({ column: t, index: n, isActual: e.isActual })), 1)
|
|
156
|
+
], 64))
|
|
175
157
|
], 64))
|
|
176
|
-
],
|
|
177
|
-
], 14,
|
|
178
|
-
]
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
])
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
])
|
|
220
|
-
]
|
|
221
|
-
|
|
222
|
-
}
|
|
223
|
-
const Y = /* @__PURE__ */ L(U, [["render", J]]);
|
|
158
|
+
], 14, q))), 128))
|
|
159
|
+
], 14, E))), 128))
|
|
160
|
+
]),
|
|
161
|
+
e.rows ? (r(), o("tbody", K, [
|
|
162
|
+
S(L, {
|
|
163
|
+
rows: e.rows,
|
|
164
|
+
rowColumns: e.rowColumns,
|
|
165
|
+
optionalAttr: d,
|
|
166
|
+
resolveClasses: e.resolveClasses,
|
|
167
|
+
getCellHeaders: R,
|
|
168
|
+
isActual: e.isActual,
|
|
169
|
+
columnWidth: e.columnWidth,
|
|
170
|
+
classes: e.classes,
|
|
171
|
+
value: T
|
|
172
|
+
}, W({ _: 2 }, [
|
|
173
|
+
y(s.$slots, (i, l) => ({
|
|
174
|
+
name: l,
|
|
175
|
+
fn: v((t) => [
|
|
176
|
+
u(s.$slots, l, B(V(t)))
|
|
177
|
+
])
|
|
178
|
+
}))
|
|
179
|
+
]), 1032, ["rows", "rowColumns", "resolveClasses", "isActual", "columnWidth", "classes"])
|
|
180
|
+
])) : C("", !0),
|
|
181
|
+
e.footerRows ? (r(), o("tfoot", Q, [
|
|
182
|
+
S(L, {
|
|
183
|
+
rows: e.footerRows,
|
|
184
|
+
rowColumns: e.rowColumns,
|
|
185
|
+
optionalAttr: d,
|
|
186
|
+
resolveClasses: e.resolveClasses,
|
|
187
|
+
getCellHeaders: R,
|
|
188
|
+
isActual: e.isActual,
|
|
189
|
+
columnWidth: e.columnWidth,
|
|
190
|
+
classes: e.classes,
|
|
191
|
+
value: T,
|
|
192
|
+
foot: ""
|
|
193
|
+
}, W({ _: 2 }, [
|
|
194
|
+
y(s.$slots, (i, l) => ({
|
|
195
|
+
name: l,
|
|
196
|
+
fn: v((t) => [
|
|
197
|
+
u(s.$slots, l, B(V(t)))
|
|
198
|
+
])
|
|
199
|
+
}))
|
|
200
|
+
]), 1032, ["rows", "rowColumns", "resolveClasses", "isActual", "columnWidth", "classes"])
|
|
201
|
+
])) : C("", !0)
|
|
202
|
+
], 10, P));
|
|
203
|
+
}
|
|
204
|
+
};
|
|
224
205
|
export {
|
|
225
|
-
|
|
206
|
+
Z as default
|
|
226
207
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
activeClass?: string | undefined;
|
|
8
|
+
to?: string | Record<string, any> | undefined;
|
|
9
|
+
target?: string | undefined;
|
|
10
|
+
path?: string | undefined;
|
|
11
|
+
href?: string | undefined;
|
|
12
|
+
download?: string | boolean | undefined;
|
|
13
|
+
element?: string | undefined;
|
|
14
|
+
exactActiveClass?: string | undefined;
|
|
15
|
+
click?: Function | undefined;
|
|
16
|
+
$props: {
|
|
17
|
+
readonly activeClass?: string | undefined;
|
|
18
|
+
readonly to?: string | Record<string, any> | undefined;
|
|
19
|
+
readonly target?: string | undefined;
|
|
20
|
+
readonly path?: string | undefined;
|
|
21
|
+
readonly href?: string | undefined;
|
|
22
|
+
readonly download?: string | boolean | undefined;
|
|
23
|
+
readonly element?: string | undefined;
|
|
24
|
+
readonly exactActiveClass?: string | undefined;
|
|
25
|
+
readonly click?: Function | undefined;
|
|
26
|
+
};
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
type __VLS_TemplateResult = {
|
|
29
|
+
attrs: Partial<{}>;
|
|
30
|
+
slots: {
|
|
31
|
+
default?(_: {}): any;
|
|
32
|
+
};
|
|
33
|
+
refs: {};
|
|
34
|
+
rootEl: any;
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=UluAction.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UluAction.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/utils/UluAction.vue"],"names":[],"mappings":"AAQA;wBAqNqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAXjC;;;;;;;;;;;;;;;;;;;;;2OAQG"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { computed as r, createBlock as i, openBlock as s, resolveDynamicComponent as l, normalizeProps as c, guardReactiveProps as f, withCtx as u, renderSlot as p } from "vue";
|
|
2
|
+
import { RouterLink as d } from "vue-router";
|
|
3
|
+
const h = {
|
|
4
|
+
__name: "UluAction",
|
|
5
|
+
props: {
|
|
6
|
+
/**
|
|
7
|
+
* Router link target.
|
|
8
|
+
*/
|
|
9
|
+
to: [String, Object],
|
|
10
|
+
/**
|
|
11
|
+
* Alternative to 'to' (used in some legacy or specific data structures like UluMenu items).
|
|
12
|
+
*/
|
|
13
|
+
path: String,
|
|
14
|
+
/**
|
|
15
|
+
* Standard URL for native anchor tags.
|
|
16
|
+
*/
|
|
17
|
+
href: String,
|
|
18
|
+
/**
|
|
19
|
+
* Target attribute for anchor tags (e.g. '_blank').
|
|
20
|
+
*/
|
|
21
|
+
target: String,
|
|
22
|
+
/**
|
|
23
|
+
* Download attribute for anchor tags.
|
|
24
|
+
*/
|
|
25
|
+
download: [Boolean, String],
|
|
26
|
+
/**
|
|
27
|
+
* Optional explicit element to use (e.g., if you need 'div' or 'span' instead of a button).
|
|
28
|
+
*/
|
|
29
|
+
element: String,
|
|
30
|
+
/**
|
|
31
|
+
* Vue Router active class override.
|
|
32
|
+
*/
|
|
33
|
+
activeClass: String,
|
|
34
|
+
/**
|
|
35
|
+
* Vue Router exact active class override.
|
|
36
|
+
*/
|
|
37
|
+
exactActiveClass: String,
|
|
38
|
+
/**
|
|
39
|
+
* Allows passing 'click' as a prop to signify this is an action (used in UluMenu data objects).
|
|
40
|
+
* Note: The actual @click listener should be attached via fallthrough attrs, this is just for logic routing.
|
|
41
|
+
*/
|
|
42
|
+
click: Function
|
|
43
|
+
},
|
|
44
|
+
setup(o) {
|
|
45
|
+
const t = o, n = r(() => t.element ? t.element : t.to || t.path ? d : t.href ? "a" : "button"), a = r(() => {
|
|
46
|
+
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 : !0)) : (!t.element || t.element === "button") && (e.type = "button"), e;
|
|
48
|
+
});
|
|
49
|
+
return (e, m) => (s(), i(l(n.value), c(f(a.value)), {
|
|
50
|
+
default: u(() => [
|
|
51
|
+
p(e.$slots, "default")
|
|
52
|
+
]),
|
|
53
|
+
_: 3
|
|
54
|
+
}, 16));
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
export {
|
|
58
|
+
h as default
|
|
59
|
+
};
|
|
@@ -1,29 +1,10 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
-
/**
|
|
3
|
-
* Text to print in element
|
|
4
|
-
*/
|
|
5
|
-
text: (ObjectConstructor | StringConstructor | ArrayConstructor | NumberConstructor)[];
|
|
6
|
-
/**
|
|
7
|
-
* Element type to render (ie. h1, h2, p, etc)
|
|
8
|
-
*/
|
|
9
|
-
element: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
-
/**
|
|
15
|
-
* Text to print in element
|
|
16
|
-
*/
|
|
17
|
-
text: (ObjectConstructor | StringConstructor | ArrayConstructor | NumberConstructor)[];
|
|
18
|
-
/**
|
|
19
|
-
* Element type to render (ie. h1, h2, p, etc)
|
|
20
|
-
*/
|
|
21
|
-
element: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
}>> & Readonly<{}>, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
26
2
|
element: string;
|
|
27
|
-
|
|
3
|
+
text?: string | number | Record<string, any> | unknown[] | undefined;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly element?: string | undefined;
|
|
6
|
+
readonly text?: string | number | Record<string, any> | unknown[] | undefined;
|
|
7
|
+
};
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
28
9
|
export default _default;
|
|
29
10
|
//# sourceMappingURL=UluConditionalText.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UluConditionalText.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/utils/UluConditionalText.vue"],"names":[],"mappings":"AAMA
|
|
1
|
+
{"version":3,"file":"UluConditionalText.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/utils/UluConditionalText.vue"],"names":[],"mappings":"AAMA;"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { createBlock as t, createCommentVNode as n, openBlock as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
name: "UluConditionalText",
|
|
1
|
+
import { createBlock as t, createCommentVNode as n, openBlock as r, resolveDynamicComponent as o, withCtx as a, createTextVNode as l, toDisplayString as c } from "vue";
|
|
2
|
+
const x = {
|
|
3
|
+
__name: "UluConditionalText",
|
|
5
4
|
props: {
|
|
6
5
|
/**
|
|
7
6
|
* Text to print in element
|
|
@@ -14,17 +13,16 @@ const m = {
|
|
|
14
13
|
type: String,
|
|
15
14
|
default: "p"
|
|
16
15
|
}
|
|
16
|
+
},
|
|
17
|
+
setup(e) {
|
|
18
|
+
return (m, i) => e.text != null ? (r(), t(o(e.element), { key: 0 }, {
|
|
19
|
+
default: a(() => [
|
|
20
|
+
l(c(e.text), 1)
|
|
21
|
+
]),
|
|
22
|
+
_: 1
|
|
23
|
+
})) : n("", !0);
|
|
17
24
|
}
|
|
18
25
|
};
|
|
19
|
-
function u(d, x, e, f, p, s) {
|
|
20
|
-
return e.text != null ? (o(), t(r(e.element), { key: 0 }, {
|
|
21
|
-
default: a(() => [
|
|
22
|
-
c(i(e.text), 1)
|
|
23
|
-
]),
|
|
24
|
-
_: 1
|
|
25
|
-
})) : n("", !0);
|
|
26
|
-
}
|
|
27
|
-
const C = /* @__PURE__ */ l(m, [["render", u]]);
|
|
28
26
|
export {
|
|
29
|
-
|
|
27
|
+
x as default
|
|
30
28
|
};
|
|
@@ -1,61 +1,16 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
-
imageId: StringConstructor;
|
|
3
|
-
/**
|
|
4
|
-
* Width of the image
|
|
5
|
-
*/
|
|
6
|
-
width: {
|
|
7
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Height of the image
|
|
12
|
-
*/
|
|
13
|
-
height: {
|
|
14
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* Alt text for placeholder image
|
|
19
|
-
*/
|
|
20
|
-
alt: StringConstructor;
|
|
21
|
-
/**
|
|
22
|
-
* Random size
|
|
23
|
-
*/
|
|
24
|
-
random: BooleanConstructor;
|
|
25
|
-
}>, {}, {}, {
|
|
26
|
-
src(): string;
|
|
27
|
-
size(): {
|
|
28
|
-
width: any;
|
|
29
|
-
height: any;
|
|
30
|
-
};
|
|
31
|
-
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
32
|
-
imageId: StringConstructor;
|
|
33
|
-
/**
|
|
34
|
-
* Width of the image
|
|
35
|
-
*/
|
|
36
|
-
width: {
|
|
37
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Height of the image
|
|
42
|
-
*/
|
|
43
|
-
height: {
|
|
44
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* Alt text for placeholder image
|
|
49
|
-
*/
|
|
50
|
-
alt: StringConstructor;
|
|
51
|
-
/**
|
|
52
|
-
* Random size
|
|
53
|
-
*/
|
|
54
|
-
random: BooleanConstructor;
|
|
55
|
-
}>> & Readonly<{}>, {
|
|
56
|
-
random: boolean;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
57
2
|
width: string | number;
|
|
58
3
|
height: string | number;
|
|
59
|
-
|
|
4
|
+
random: boolean;
|
|
5
|
+
alt?: string | undefined;
|
|
6
|
+
imageId?: string | undefined;
|
|
7
|
+
$props: {
|
|
8
|
+
readonly width?: string | number | undefined;
|
|
9
|
+
readonly height?: string | number | undefined;
|
|
10
|
+
readonly random?: boolean | undefined;
|
|
11
|
+
readonly alt?: string | undefined;
|
|
12
|
+
readonly imageId?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLImageElement>;
|
|
60
15
|
export default _default;
|
|
61
16
|
//# sourceMappingURL=UluPlaceholderImage.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UluPlaceholderImage.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/utils/UluPlaceholderImage.vue"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"UluPlaceholderImage.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/utils/UluPlaceholderImage.vue"],"names":[],"mappings":"AAGA;"}
|