@ulu/frontend-vue 0.2.0-beta.8 → 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/UluConditionalWrapper.vue.d.ts.map +1 -1
- package/dist/components/utils/UluConditionalWrapper.vue.js +11 -9
- 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/UluConditionalWrapper.vue +5 -1
- 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,138 +1,26 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* Center aligned
|
|
8
|
-
*/
|
|
9
|
-
center: BooleanConstructor;
|
|
10
|
-
/**
|
|
11
|
-
* Right aligned
|
|
12
|
-
*/
|
|
13
|
-
right: BooleanConstructor;
|
|
14
|
-
/**
|
|
15
|
-
* Rule nav strip style
|
|
16
|
-
*/
|
|
17
|
-
rule: BooleanConstructor;
|
|
18
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
-
/**
|
|
20
|
-
* Array of items for list (uses UluMenu, see structure there)
|
|
21
|
-
*/
|
|
22
|
-
items: ArrayConstructor;
|
|
23
|
-
/**
|
|
24
|
-
* Center aligned
|
|
25
|
-
*/
|
|
26
|
-
center: BooleanConstructor;
|
|
27
|
-
/**
|
|
28
|
-
* Right aligned
|
|
29
|
-
*/
|
|
30
|
-
right: BooleanConstructor;
|
|
31
|
-
/**
|
|
32
|
-
* Rule nav strip style
|
|
33
|
-
*/
|
|
34
|
-
rule: BooleanConstructor;
|
|
35
|
-
}>> & Readonly<{}>, {
|
|
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<{}, {
|
|
36
7
|
right: boolean;
|
|
37
8
|
center: boolean;
|
|
38
9
|
rule: boolean;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
};
|
|
56
|
-
iconOnly: BooleanConstructor;
|
|
57
|
-
noChildren: BooleanConstructor;
|
|
58
|
-
}>> & Readonly<{
|
|
59
|
-
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
60
|
-
}>, {
|
|
61
|
-
classes: Record<string, any>;
|
|
62
|
-
iconOnly: boolean;
|
|
63
|
-
noChildren: boolean;
|
|
64
|
-
}, {}, {
|
|
65
|
-
UluIcon: import('vue').DefineComponent<{}, {
|
|
66
|
-
spaced: boolean;
|
|
67
|
-
icon?: string | boolean | Record<string, any> | unknown[] | undefined;
|
|
68
|
-
$props: {
|
|
69
|
-
readonly spaced?: boolean | undefined;
|
|
70
|
-
readonly icon?: string | boolean | Record<string, any> | unknown[] | undefined;
|
|
71
|
-
};
|
|
72
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
73
|
-
UluTag: {
|
|
74
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
75
|
-
counter: boolean;
|
|
76
|
-
type?: string | undefined;
|
|
77
|
-
size?: string | undefined;
|
|
78
|
-
icon?: string | unknown[] | undefined;
|
|
79
|
-
modifiers?: string | unknown[] | undefined;
|
|
80
|
-
text?: string | number | undefined;
|
|
81
|
-
$props: {
|
|
82
|
-
readonly counter?: boolean | undefined;
|
|
83
|
-
readonly type?: string | undefined;
|
|
84
|
-
readonly size?: string | undefined;
|
|
85
|
-
readonly icon?: string | unknown[] | undefined;
|
|
86
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
87
|
-
readonly text?: string | number | undefined;
|
|
88
|
-
};
|
|
89
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
|
|
90
|
-
P: {};
|
|
91
|
-
B: {};
|
|
92
|
-
D: {};
|
|
93
|
-
C: {};
|
|
94
|
-
M: {};
|
|
95
|
-
Defaults: {};
|
|
96
|
-
}, Readonly<{}> & Readonly<{}>, {
|
|
97
|
-
counter: boolean;
|
|
98
|
-
type?: string | undefined;
|
|
99
|
-
size?: string | undefined;
|
|
100
|
-
icon?: string | unknown[] | undefined;
|
|
101
|
-
modifiers?: string | unknown[] | undefined;
|
|
102
|
-
text?: string | number | undefined;
|
|
103
|
-
$props: {
|
|
104
|
-
readonly counter?: boolean | undefined;
|
|
105
|
-
readonly type?: string | undefined;
|
|
106
|
-
readonly size?: string | undefined;
|
|
107
|
-
readonly icon?: string | unknown[] | undefined;
|
|
108
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
109
|
-
readonly text?: string | number | undefined;
|
|
110
|
-
};
|
|
111
|
-
}, {}, {}, {}, {}>;
|
|
112
|
-
__isFragment?: never;
|
|
113
|
-
__isTeleport?: never;
|
|
114
|
-
__isSuspense?: never;
|
|
115
|
-
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
116
|
-
counter: boolean;
|
|
117
|
-
type?: string | undefined;
|
|
118
|
-
size?: string | undefined;
|
|
119
|
-
icon?: string | unknown[] | undefined;
|
|
120
|
-
modifiers?: string | unknown[] | undefined;
|
|
121
|
-
text?: string | number | undefined;
|
|
122
|
-
$props: {
|
|
123
|
-
readonly counter?: boolean | undefined;
|
|
124
|
-
readonly type?: string | undefined;
|
|
125
|
-
readonly size?: string | undefined;
|
|
126
|
-
readonly icon?: string | unknown[] | undefined;
|
|
127
|
-
readonly modifiers?: string | unknown[] | undefined;
|
|
128
|
-
readonly text?: string | number | undefined;
|
|
129
|
-
};
|
|
130
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
131
|
-
$slots: {
|
|
132
|
-
default?(_: {}): any;
|
|
133
|
-
};
|
|
134
|
-
});
|
|
135
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
136
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
137
|
-
export default _default;
|
|
10
|
+
modifiers?: string | unknown[] | undefined;
|
|
11
|
+
items?: unknown[] | undefined;
|
|
12
|
+
$props: {
|
|
13
|
+
readonly right?: boolean | undefined;
|
|
14
|
+
readonly center?: boolean | undefined;
|
|
15
|
+
readonly rule?: boolean | undefined;
|
|
16
|
+
readonly modifiers?: string | unknown[] | undefined;
|
|
17
|
+
readonly items?: unknown[] | undefined;
|
|
18
|
+
};
|
|
19
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
type __VLS_TemplateResult = {
|
|
21
|
+
attrs: Partial<{}>;
|
|
22
|
+
slots: Partial<Record<number, (_: any) => any>>;
|
|
23
|
+
refs: {};
|
|
24
|
+
rootEl: any;
|
|
25
|
+
};
|
|
138
26
|
//# sourceMappingURL=UluNavStrip.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UluNavStrip.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/navigation/UluNavStrip.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UluNavStrip.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/navigation/UluNavStrip.vue"],"names":[],"mappings":"AAqBA;wBAwLqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAVjC;;;;;;;;;;;;;2OAOG"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
components: {
|
|
7
|
-
UluMenu: n
|
|
8
|
-
},
|
|
1
|
+
import { computed as o, createElementBlock as a, createCommentVNode as l, openBlock as m, normalizeClass as c, unref as p, createVNode as u, createSlots as d, renderList as f, withCtx as v, renderSlot as _, normalizeProps as g, guardReactiveProps as h } from "vue";
|
|
2
|
+
import k from "./UluMenu.vue.js";
|
|
3
|
+
import { useModifiers as B } from "../../composables/useModifiers.js";
|
|
4
|
+
const $ = {
|
|
5
|
+
__name: "UluNavStrip",
|
|
9
6
|
props: {
|
|
10
7
|
/**
|
|
11
8
|
* Array of items for list (uses UluMenu, see structure there)
|
|
@@ -22,30 +19,45 @@ const c = {
|
|
|
22
19
|
/**
|
|
23
20
|
* Rule nav strip style
|
|
24
21
|
*/
|
|
25
|
-
rule: Boolean
|
|
22
|
+
rule: Boolean,
|
|
23
|
+
/**
|
|
24
|
+
* Modifiers (to add any modifier classes based on base class)
|
|
25
|
+
*/
|
|
26
|
+
modifiers: [String, Array]
|
|
27
|
+
},
|
|
28
|
+
setup(t) {
|
|
29
|
+
const e = t, { resolvedModifiers: i } = B({
|
|
30
|
+
props: e,
|
|
31
|
+
baseClass: "nav-strip",
|
|
32
|
+
internal: o(() => ({
|
|
33
|
+
center: e.center,
|
|
34
|
+
right: e.right,
|
|
35
|
+
rule: e.rule
|
|
36
|
+
}))
|
|
37
|
+
});
|
|
38
|
+
return (r, C) => t.items?.length ? (m(), a("nav", {
|
|
39
|
+
key: 0,
|
|
40
|
+
class: c(["nav-strip", p(i)])
|
|
41
|
+
}, [
|
|
42
|
+
u(k, {
|
|
43
|
+
items: t.items,
|
|
44
|
+
classes: {
|
|
45
|
+
list: "nav-strip__list",
|
|
46
|
+
item: "nav-strip__item",
|
|
47
|
+
link: "nav-strip__link",
|
|
48
|
+
linkExactActive: "is-active"
|
|
49
|
+
}
|
|
50
|
+
}, d({ _: 2 }, [
|
|
51
|
+
f(r.$slots, (S, s) => ({
|
|
52
|
+
name: s,
|
|
53
|
+
fn: v((n) => [
|
|
54
|
+
_(r.$slots, s, g(h(n)))
|
|
55
|
+
])
|
|
56
|
+
}))
|
|
57
|
+
]), 1032, ["items"])
|
|
58
|
+
], 2)) : l("", !0);
|
|
26
59
|
}
|
|
27
60
|
};
|
|
28
|
-
function m(p, u, e, _, v, f) {
|
|
29
|
-
const t = r("UluMenu");
|
|
30
|
-
return o(), i("nav", {
|
|
31
|
-
class: s(["nav-strip", {
|
|
32
|
-
"nav-strip--rule": e.rule,
|
|
33
|
-
"nav-strip--center": e.center,
|
|
34
|
-
"nav-strip--right": e.right
|
|
35
|
-
}])
|
|
36
|
-
}, [
|
|
37
|
-
a(t, {
|
|
38
|
-
items: e.items,
|
|
39
|
-
classes: {
|
|
40
|
-
list: "nav-strip__list",
|
|
41
|
-
item: "nav-strip__item",
|
|
42
|
-
link: "nav-strip__link",
|
|
43
|
-
linkExactActive: "is-active"
|
|
44
|
-
}
|
|
45
|
-
}, null, 8, ["items"])
|
|
46
|
-
], 2);
|
|
47
|
-
}
|
|
48
|
-
const U = /* @__PURE__ */ l(c, [["render", m]]);
|
|
49
61
|
export {
|
|
50
|
-
|
|
62
|
+
$ as default
|
|
51
63
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as i, inject as h, computed as y, createElementBlock as g, openBlock as r, normalizeClass as m, unref as l, createElementVNode as e, withDirectives as _, createBlock as v, createCommentVNode as p, renderSlot as n, toDisplayString as T, vShow as k, withCtx as B, Teleport as S } from "vue";
|
|
2
2
|
import w from "../../collapsible/UluModal.vue.js";
|
|
3
|
-
const V = { class: "facets-sidebar__header" },
|
|
3
|
+
const V = { class: "facets-sidebar__header" }, $ = { class: "facets-sidebar__mobile-controls" }, C = { class: "facets-sidebar__body" }, F = { class: "facets-sidebar__main" }, x = {
|
|
4
4
|
__name: "UluFacetsSidebarLayout",
|
|
5
5
|
props: {
|
|
6
6
|
mobileButtonText: {
|
|
@@ -20,14 +20,14 @@ const V = { class: "facets-sidebar__header" }, C = { class: "facets-sidebar__mob
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
setup(d) {
|
|
23
|
-
const o =
|
|
24
|
-
return (a, s) => (
|
|
23
|
+
const o = i(!1), t = h("uluIsMobile"), u = i(null), c = i(null), b = y(() => t.value ? c.value : u.value);
|
|
24
|
+
return (a, s) => (r(), g("div", {
|
|
25
25
|
class: m(["facets-sidebar", { "facets-sidebar--filters-hidden": l(t) }])
|
|
26
26
|
}, [
|
|
27
27
|
e("div", V, [
|
|
28
28
|
n(a.$slots, "header")
|
|
29
29
|
]),
|
|
30
|
-
_(e("div",
|
|
30
|
+
_(e("div", $, [
|
|
31
31
|
e("button", {
|
|
32
32
|
class: m(d.classes.mobileButton),
|
|
33
33
|
onClick: s[0] || (s[0] = (f) => o.value = !0)
|
|
@@ -35,7 +35,7 @@ const V = { class: "facets-sidebar__header" }, C = { class: "facets-sidebar__mob
|
|
|
35
35
|
], 512), [
|
|
36
36
|
[k, l(t)]
|
|
37
37
|
]),
|
|
38
|
-
e("div",
|
|
38
|
+
e("div", C, [
|
|
39
39
|
_(e("div", {
|
|
40
40
|
class: "facets-sidebar__sidebar",
|
|
41
41
|
ref_key: "desktopTarget",
|
|
@@ -43,11 +43,11 @@ const V = { class: "facets-sidebar__header" }, C = { class: "facets-sidebar__mob
|
|
|
43
43
|
}, null, 512), [
|
|
44
44
|
[k, !l(t)]
|
|
45
45
|
]),
|
|
46
|
-
e("div",
|
|
46
|
+
e("div", F, [
|
|
47
47
|
n(a.$slots, "main")
|
|
48
48
|
])
|
|
49
49
|
]),
|
|
50
|
-
l(t) ? (
|
|
50
|
+
l(t) ? (r(), v(w, {
|
|
51
51
|
key: 0,
|
|
52
52
|
modelValue: o.value,
|
|
53
53
|
"onUpdate:modelValue": s[1] || (s[1] = (f) => o.value = f),
|
|
@@ -64,7 +64,7 @@ const V = { class: "facets-sidebar__header" }, C = { class: "facets-sidebar__mob
|
|
|
64
64
|
]),
|
|
65
65
|
_: 1
|
|
66
66
|
}, 8, ["modelValue"])) : p("", !0),
|
|
67
|
-
b.value ? (
|
|
67
|
+
b.value ? (r(), v(S, {
|
|
68
68
|
key: 1,
|
|
69
69
|
to: b.value
|
|
70
70
|
}, [
|
|
@@ -74,5 +74,5 @@ const V = { class: "facets-sidebar__header" }, C = { class: "facets-sidebar__mob
|
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
76
|
export {
|
|
77
|
-
|
|
77
|
+
x as default
|
|
78
78
|
};
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* @param {Object} [options.urlSync] - Optional configuration to sync state with URL.
|
|
15
15
|
* @param {import('vue-router').Router} [options.urlSync.router] - The Vue Router instance.
|
|
16
16
|
* @param {import('vue-router').RouteLocationNormalizedLoaded} [options.urlSync.route] - The current route instance.
|
|
17
|
+
* @param {Function} [options.isPinned] - A function that receives an item and returns true if it should be pinned to the top of the results.
|
|
17
18
|
*/
|
|
18
19
|
export function useFacets(allItems: import('vue').Ref<Array<Object>>, options?: {
|
|
19
20
|
initialFacets?: any[] | undefined;
|
|
@@ -29,6 +30,7 @@ export function useFacets(allItems: import('vue').Ref<Array<Object>>, options?:
|
|
|
29
30
|
router?: import('vue-router').Router | undefined;
|
|
30
31
|
route?: import('vue-router').RouteLocationNormalizedLoadedGeneric | undefined;
|
|
31
32
|
} | undefined;
|
|
33
|
+
isPinned?: Function | undefined;
|
|
32
34
|
}): {
|
|
33
35
|
facets: import('vue').Ref<never[], never[]>;
|
|
34
36
|
searchValue: import('vue').Ref<string, string>;
|
|
@@ -51,6 +53,7 @@ export function useFacets(allItems: import('vue').Ref<Array<Object>>, options?:
|
|
|
51
53
|
} | undefined;
|
|
52
54
|
}>;
|
|
53
55
|
displayItems: import('vue').ComputedRef<any>;
|
|
56
|
+
pinnedItems: import('vue').ComputedRef<any[] | never[]>;
|
|
54
57
|
selectedFacets: import('vue').ComputedRef<any[]>;
|
|
55
58
|
clearFilters: () => void;
|
|
56
59
|
handleFacetChange: ({ groupUid, facetUid, selected }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFacets.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/facets/useFacets.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFacets.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/facets/useFacets.js"],"names":[],"mappings":"AAiHA;;;;;;;;;;;;;;;;;GAiBG;AACH,oCAhBW,OAAO,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,YAExC;IAAwB,aAAa;IACb,WAAW;IACV,kBAAkB;IAClB,eAAe;IACd,cAAc;IACf,cAAc;IACd,aAAa;IACX,YAAY;IACd,SAAS;IACT,OAAO;;;;IAGL,QAAQ;CACrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+WA"}
|