@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
|
@@ -14,7 +14,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
14
14
|
readonly items?: unknown[] | undefined;
|
|
15
15
|
readonly modifiers?: string | unknown[] | undefined;
|
|
16
16
|
};
|
|
17
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
17
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
18
|
type __VLS_TemplateResult = {
|
|
19
19
|
attrs: Partial<{}>;
|
|
20
20
|
slots: {
|
|
@@ -36,6 +36,6 @@ type __VLS_TemplateResult = {
|
|
|
36
36
|
}): any;
|
|
37
37
|
};
|
|
38
38
|
refs: {};
|
|
39
|
-
rootEl:
|
|
39
|
+
rootEl: any;
|
|
40
40
|
};
|
|
41
41
|
//# sourceMappingURL=UluAccordionGroup.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UluAccordionGroup.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/collapsible/UluAccordionGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UluAccordionGroup.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/collapsible/UluAccordionGroup.vue"],"names":[],"mappings":"AAgCA;wBAkRqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAVjC;;;;;;;;;;;2OAOG"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { ref as f, watch as p, createElementBlock as g, openBlock as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { ref as f, watch as p, createElementBlock as g, createCommentVNode as y, openBlock as s, Fragment as O, renderList as h, createBlock as k, createSlots as v, withCtx as l, renderSlot as m, createTextVNode as $, toDisplayString as S } from "vue";
|
|
2
|
+
import B from "./UluAccordion.vue.js";
|
|
3
|
+
const E = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "accordion-group"
|
|
6
|
+
}, x = {
|
|
4
7
|
__name: "UluAccordionGroup",
|
|
5
8
|
props: {
|
|
6
9
|
/**
|
|
@@ -33,30 +36,30 @@ const B = { class: "accordion-group" }, x = {
|
|
|
33
36
|
default: !0
|
|
34
37
|
}
|
|
35
38
|
},
|
|
36
|
-
setup(
|
|
37
|
-
const u =
|
|
39
|
+
setup(a) {
|
|
40
|
+
const u = a, o = f([]);
|
|
38
41
|
p(() => u.items, (e) => {
|
|
39
|
-
|
|
40
|
-
...
|
|
41
|
-
isOpen:
|
|
42
|
+
o.value = e.map((i) => ({
|
|
43
|
+
...i,
|
|
44
|
+
isOpen: i.isOpen || !1
|
|
42
45
|
}));
|
|
43
46
|
}, { immediate: !0, deep: !0 });
|
|
44
|
-
function c(e,
|
|
45
|
-
|
|
47
|
+
function c(e, i) {
|
|
48
|
+
i ? o.value.forEach((t, r) => {
|
|
46
49
|
t.isOpen = r === e;
|
|
47
|
-
}) :
|
|
50
|
+
}) : o.value[e].isOpen = !1;
|
|
48
51
|
}
|
|
49
|
-
return (e,
|
|
50
|
-
(
|
|
52
|
+
return (e, i) => a.items?.length ? (s(), g("div", E, [
|
|
53
|
+
(s(!0), g(O, null, h(o.value, (t, r) => (s(), k(B, {
|
|
51
54
|
key: r,
|
|
52
55
|
"model-value": t.isOpen,
|
|
53
56
|
"onUpdate:modelValue": (n) => c(r, n),
|
|
54
57
|
"trigger-text": t.title,
|
|
55
58
|
classes: t.classes,
|
|
56
|
-
"trigger-text-element":
|
|
57
|
-
modifiers:
|
|
58
|
-
animate:
|
|
59
|
-
},
|
|
59
|
+
"trigger-text-element": a.triggerTextElement,
|
|
60
|
+
modifiers: a.modifiers,
|
|
61
|
+
animate: a.animate
|
|
62
|
+
}, v({
|
|
60
63
|
default: l(({ isOpen: n, toggle: d }) => [
|
|
61
64
|
m(e.$slots, "item", {
|
|
62
65
|
item: t,
|
|
@@ -64,7 +67,7 @@ const B = { class: "accordion-group" }, x = {
|
|
|
64
67
|
isOpen: n,
|
|
65
68
|
toggle: d
|
|
66
69
|
}, () => [
|
|
67
|
-
|
|
70
|
+
$(S(t.content), 1)
|
|
68
71
|
])
|
|
69
72
|
]),
|
|
70
73
|
_: 2
|
|
@@ -92,7 +95,7 @@ const B = { class: "accordion-group" }, x = {
|
|
|
92
95
|
key: "1"
|
|
93
96
|
} : void 0
|
|
94
97
|
]), 1032, ["model-value", "onUpdate:modelValue", "trigger-text", "classes", "trigger-text-element", "modifiers", "animate"]))), 128))
|
|
95
|
-
]));
|
|
98
|
+
])) : y("", !0);
|
|
96
99
|
}
|
|
97
100
|
};
|
|
98
101
|
export {
|
|
@@ -15,7 +15,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
15
15
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
16
|
type __VLS_TemplateResult = {
|
|
17
17
|
attrs: Partial<{}>;
|
|
18
|
-
slots: {
|
|
18
|
+
slots: Partial<Record<number, (_: any) => any>> & {
|
|
19
19
|
trigger?(_: {
|
|
20
20
|
isOpen: boolean;
|
|
21
21
|
}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UluDropdown.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/collapsible/UluDropdown.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UluDropdown.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/collapsible/UluDropdown.vue"],"names":[],"mappings":"AAqBA;wBAuLqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAXjC;;;;;;;;;2OAQG"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { createBlock as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const
|
|
1
|
+
import { createBlock as l, openBlock as m, withCtx as s, createVNode as a, createSlots as c, renderList as p, renderSlot as n, normalizeProps as g, guardReactiveProps as d, createElementVNode as f, toDisplayString as u, normalizeStyle as _ } from "vue";
|
|
2
|
+
import y from "../../plugins/popovers/UluPopover.vue.js";
|
|
3
|
+
import $ from "../navigation/UluMenuStack.vue.js";
|
|
4
|
+
import S from "../elements/UluIcon.vue.js";
|
|
5
|
+
const h = {
|
|
6
6
|
__name: "UluDropdown",
|
|
7
7
|
props: {
|
|
8
8
|
/**
|
|
@@ -23,25 +23,32 @@ const S = {
|
|
|
23
23
|
})
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
|
-
setup(
|
|
27
|
-
return (
|
|
28
|
-
trigger:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
setup(e) {
|
|
27
|
+
return (t, b) => (m(), l(y, { classes: e.popoverClasses }, {
|
|
28
|
+
trigger: s(({ isOpen: r }) => [
|
|
29
|
+
n(t.$slots, "trigger", { isOpen: r }, () => [
|
|
30
|
+
f("span", null, u(e.triggerText), 1),
|
|
31
|
+
a(S, {
|
|
32
32
|
class: "button__icon",
|
|
33
33
|
icon: "type:dropdownExpand",
|
|
34
|
-
style:
|
|
34
|
+
style: _({ transform: r ? "rotate(180deg)" : "rotate(0deg)", transition: "transform 0.2s" })
|
|
35
35
|
}, null, 8, ["style"])
|
|
36
36
|
])
|
|
37
37
|
]),
|
|
38
|
-
default:
|
|
39
|
-
|
|
38
|
+
default: s(() => [
|
|
39
|
+
a($, { items: e.items }, c({ _: 2 }, [
|
|
40
|
+
p(t.$slots, (r, o) => ({
|
|
41
|
+
name: o,
|
|
42
|
+
fn: s((i) => [
|
|
43
|
+
n(t.$slots, o, g(d(i)))
|
|
44
|
+
])
|
|
45
|
+
}))
|
|
46
|
+
]), 1032, ["items"])
|
|
40
47
|
]),
|
|
41
48
|
_: 3
|
|
42
49
|
}, 8, ["classes"]));
|
|
43
50
|
}
|
|
44
51
|
};
|
|
45
52
|
export {
|
|
46
|
-
|
|
53
|
+
h as default
|
|
47
54
|
};
|
|
@@ -1,257 +1,52 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* Set to `false` to disable teleporting (modal renders inline).
|
|
9
|
-
* Set to `null` or `undefined` for `body` fallback with disabled as false.
|
|
10
|
-
*/
|
|
11
|
-
teleport: {
|
|
12
|
-
type: (ObjectConstructor | BooleanConstructor | StringConstructor)[];
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* When open and not non-modal, the body is prevented from scrolling (defaults to true).
|
|
17
|
-
*/
|
|
18
|
-
preventScroll: {
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Compensate for layout shift when preventing scroll. Which adds padding equal to scrollbars
|
|
24
|
-
* width while dialog is open
|
|
25
|
-
*/
|
|
26
|
-
preventScrollShift: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Use non-modal interface for dialog
|
|
32
|
-
*/
|
|
33
|
-
nonModal: BooleanConstructor;
|
|
34
|
-
/**
|
|
35
|
-
* Close modal on click outside
|
|
36
|
-
*/
|
|
37
|
-
clickOutsideCloses: {
|
|
38
|
-
type: BooleanConstructor;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Enable resizer
|
|
43
|
-
*/
|
|
44
|
-
allowResize: BooleanConstructor;
|
|
45
|
-
/**
|
|
46
|
-
* Position (any position that modal.scss supports)
|
|
47
|
-
*/
|
|
48
|
-
position: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* If `true`, the modal body will fill the available space.
|
|
54
|
-
*/
|
|
55
|
-
bodyFills: BooleanConstructor;
|
|
56
|
-
/**
|
|
57
|
-
* If `true`, no backdrop will be displayed behind the modal
|
|
58
|
-
*/
|
|
59
|
-
noBackdrop: BooleanConstructor;
|
|
60
|
-
/**
|
|
61
|
-
* If `true`, the modal will not have a minimum height
|
|
62
|
-
*/
|
|
63
|
-
noMinHeight: BooleanConstructor;
|
|
64
|
-
/**
|
|
65
|
-
* Set aria-labelledby by element id (to add accessible label)
|
|
66
|
-
* - Use this if you are not using the default modal title (custom titles)
|
|
67
|
-
*/
|
|
68
|
-
labelledby: StringConstructor;
|
|
69
|
-
/**
|
|
70
|
-
* Set aria-describedby by element id (to add accessible description)
|
|
71
|
-
* - This is usually content you passed into the modal body (paragraph/etc)
|
|
72
|
-
*/
|
|
73
|
-
describedby: StringConstructor;
|
|
74
|
-
/**
|
|
75
|
-
* Text for modal title in header (can use title slot as well for complex markup), if not passed the header will be omitted
|
|
76
|
-
*/
|
|
77
|
-
title: StringConstructor;
|
|
78
|
-
/**
|
|
79
|
-
* Optional icon for before title (uses UluIcon interface)
|
|
80
|
-
*/
|
|
81
|
-
titleIcon: StringConstructor;
|
|
82
|
-
/**
|
|
83
|
-
* Default icon for resizer
|
|
84
|
-
*/
|
|
85
|
-
resizerIcon: StringConstructor;
|
|
86
|
-
/**
|
|
87
|
-
* Default icon for close button (uses UluIcon interface)
|
|
88
|
-
*/
|
|
89
|
-
closeIcon: StringConstructor;
|
|
90
|
-
/**
|
|
91
|
-
* Classes for elements ({ container, header, title, body, footer })
|
|
92
|
-
* - Any valid class binding value per element
|
|
93
|
-
*/
|
|
94
|
-
classes: {
|
|
95
|
-
type: ObjectConstructor;
|
|
96
|
-
default: () => {
|
|
97
|
-
close: string;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* Modifiers (to add any modifier classes based on base class [ie. 'tertiary'])
|
|
102
|
-
*/
|
|
103
|
-
modifiers: (StringConstructor | ArrayConstructor)[];
|
|
104
|
-
}>, {
|
|
105
|
-
resolvedModifiers: any;
|
|
106
|
-
hasHeader: import('vue').ComputedRef<string | import('vue').Slot<any> | undefined>;
|
|
107
|
-
resizerEnabled: import('vue').ComputedRef<boolean | undefined>;
|
|
108
|
-
resizerIconType: import('vue').ComputedRef<"type:resizeBoth" | "type:resizeHorizontal">;
|
|
109
|
-
}, {
|
|
110
|
-
containerWidth: null;
|
|
111
|
-
titleId: string;
|
|
112
|
-
bodyOverflowValue: null;
|
|
113
|
-
bodyPaddingRightValue: null;
|
|
114
|
-
isResizing: boolean;
|
|
115
|
-
}, {
|
|
116
|
-
resolvedLabelledby(): string;
|
|
117
|
-
}, {
|
|
118
|
-
close(): void;
|
|
119
|
-
handleDialogCloseEvent(): void;
|
|
120
|
-
handleClick(event: any): void;
|
|
121
|
-
setupPreventScroll(): void;
|
|
122
|
-
destroyPreventScroll(): void;
|
|
123
|
-
handleToggle(event: any): void;
|
|
124
|
-
setupResizer(): void;
|
|
125
|
-
destroyResizer(): void;
|
|
126
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "open" | "update:modelValue")[], "close" | "open" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
127
|
-
/**
|
|
128
|
-
* Controls the visibility of the modal (for v-model).
|
|
129
|
-
*/
|
|
130
|
-
modelValue: BooleanConstructor;
|
|
131
|
-
/**
|
|
132
|
-
* Target for Vue's Teleport. Defaults to 'body'.
|
|
133
|
-
* Set to `false` to disable teleporting (modal renders inline).
|
|
134
|
-
* Set to `null` or `undefined` for `body` fallback with disabled as false.
|
|
135
|
-
*/
|
|
136
|
-
teleport: {
|
|
137
|
-
type: (ObjectConstructor | BooleanConstructor | StringConstructor)[];
|
|
138
|
-
default: string;
|
|
139
|
-
};
|
|
140
|
-
/**
|
|
141
|
-
* When open and not non-modal, the body is prevented from scrolling (defaults to true).
|
|
142
|
-
*/
|
|
143
|
-
preventScroll: {
|
|
144
|
-
type: BooleanConstructor;
|
|
145
|
-
default: boolean;
|
|
146
|
-
};
|
|
147
|
-
/**
|
|
148
|
-
* Compensate for layout shift when preventing scroll. Which adds padding equal to scrollbars
|
|
149
|
-
* width while dialog is open
|
|
150
|
-
*/
|
|
151
|
-
preventScrollShift: {
|
|
152
|
-
type: BooleanConstructor;
|
|
153
|
-
default: boolean;
|
|
154
|
-
};
|
|
155
|
-
/**
|
|
156
|
-
* Use non-modal interface for dialog
|
|
157
|
-
*/
|
|
158
|
-
nonModal: BooleanConstructor;
|
|
159
|
-
/**
|
|
160
|
-
* Close modal on click outside
|
|
161
|
-
*/
|
|
162
|
-
clickOutsideCloses: {
|
|
163
|
-
type: BooleanConstructor;
|
|
164
|
-
default: boolean;
|
|
165
|
-
};
|
|
166
|
-
/**
|
|
167
|
-
* Enable resizer
|
|
168
|
-
*/
|
|
169
|
-
allowResize: BooleanConstructor;
|
|
170
|
-
/**
|
|
171
|
-
* Position (any position that modal.scss supports)
|
|
172
|
-
*/
|
|
173
|
-
position: {
|
|
174
|
-
type: StringConstructor;
|
|
175
|
-
default: string;
|
|
176
|
-
};
|
|
177
|
-
/**
|
|
178
|
-
* If `true`, the modal body will fill the available space.
|
|
179
|
-
*/
|
|
180
|
-
bodyFills: BooleanConstructor;
|
|
181
|
-
/**
|
|
182
|
-
* If `true`, no backdrop will be displayed behind the modal
|
|
183
|
-
*/
|
|
184
|
-
noBackdrop: BooleanConstructor;
|
|
185
|
-
/**
|
|
186
|
-
* If `true`, the modal will not have a minimum height
|
|
187
|
-
*/
|
|
188
|
-
noMinHeight: BooleanConstructor;
|
|
189
|
-
/**
|
|
190
|
-
* Set aria-labelledby by element id (to add accessible label)
|
|
191
|
-
* - Use this if you are not using the default modal title (custom titles)
|
|
192
|
-
*/
|
|
193
|
-
labelledby: StringConstructor;
|
|
194
|
-
/**
|
|
195
|
-
* Set aria-describedby by element id (to add accessible description)
|
|
196
|
-
* - This is usually content you passed into the modal body (paragraph/etc)
|
|
197
|
-
*/
|
|
198
|
-
describedby: StringConstructor;
|
|
199
|
-
/**
|
|
200
|
-
* Text for modal title in header (can use title slot as well for complex markup), if not passed the header will be omitted
|
|
201
|
-
*/
|
|
202
|
-
title: StringConstructor;
|
|
203
|
-
/**
|
|
204
|
-
* Optional icon for before title (uses UluIcon interface)
|
|
205
|
-
*/
|
|
206
|
-
titleIcon: StringConstructor;
|
|
207
|
-
/**
|
|
208
|
-
* Default icon for resizer
|
|
209
|
-
*/
|
|
210
|
-
resizerIcon: StringConstructor;
|
|
211
|
-
/**
|
|
212
|
-
* Default icon for close button (uses UluIcon interface)
|
|
213
|
-
*/
|
|
214
|
-
closeIcon: StringConstructor;
|
|
215
|
-
/**
|
|
216
|
-
* Classes for elements ({ container, header, title, body, footer })
|
|
217
|
-
* - Any valid class binding value per element
|
|
218
|
-
*/
|
|
219
|
-
classes: {
|
|
220
|
-
type: ObjectConstructor;
|
|
221
|
-
default: () => {
|
|
222
|
-
close: string;
|
|
223
|
-
};
|
|
224
|
-
};
|
|
225
|
-
/**
|
|
226
|
-
* Modifiers (to add any modifier classes based on base class [ie. 'tertiary'])
|
|
227
|
-
*/
|
|
228
|
-
modifiers: (StringConstructor | ArrayConstructor)[];
|
|
229
|
-
}>> & Readonly<{
|
|
230
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
231
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
232
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
233
|
-
}>, {
|
|
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
|
+
$emit: (event: "close" | "update:modelValue" | "open", ...args: any[]) => void;
|
|
234
8
|
classes: Record<string, any>;
|
|
235
9
|
clickOutsideCloses: boolean;
|
|
236
10
|
modelValue: boolean;
|
|
11
|
+
teleport: string | boolean | Record<string, any>;
|
|
12
|
+
preventScroll: boolean;
|
|
13
|
+
preventScrollShift: boolean;
|
|
237
14
|
nonModal: boolean;
|
|
238
15
|
allowResize: boolean;
|
|
16
|
+
position: string;
|
|
239
17
|
bodyFills: boolean;
|
|
240
18
|
noBackdrop: boolean;
|
|
241
19
|
noMinHeight: boolean;
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
20
|
+
fullscreenMobile: boolean;
|
|
21
|
+
labelledby?: string | undefined;
|
|
22
|
+
describedby?: string | undefined;
|
|
23
|
+
title?: string | undefined;
|
|
24
|
+
titleIcon?: string | undefined;
|
|
25
|
+
resizerIcon?: string | undefined;
|
|
26
|
+
closeIcon?: string | undefined;
|
|
27
|
+
modifiers?: string | unknown[] | undefined;
|
|
28
|
+
$props: {
|
|
29
|
+
readonly classes?: Record<string, any> | undefined;
|
|
30
|
+
readonly clickOutsideCloses?: boolean | undefined;
|
|
31
|
+
readonly modelValue?: boolean | undefined;
|
|
32
|
+
readonly teleport?: string | boolean | Record<string, any> | undefined;
|
|
33
|
+
readonly preventScroll?: boolean | undefined;
|
|
34
|
+
readonly preventScrollShift?: boolean | undefined;
|
|
35
|
+
readonly nonModal?: boolean | undefined;
|
|
36
|
+
readonly allowResize?: boolean | undefined;
|
|
37
|
+
readonly position?: string | undefined;
|
|
38
|
+
readonly bodyFills?: boolean | undefined;
|
|
39
|
+
readonly noBackdrop?: boolean | undefined;
|
|
40
|
+
readonly noMinHeight?: boolean | undefined;
|
|
41
|
+
readonly fullscreenMobile?: boolean | undefined;
|
|
42
|
+
readonly labelledby?: string | undefined;
|
|
43
|
+
readonly describedby?: string | undefined;
|
|
44
|
+
readonly title?: string | undefined;
|
|
45
|
+
readonly titleIcon?: string | undefined;
|
|
46
|
+
readonly resizerIcon?: string | undefined;
|
|
47
|
+
readonly closeIcon?: string | undefined;
|
|
48
|
+
readonly modifiers?: string | unknown[] | undefined;
|
|
49
|
+
};
|
|
50
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, any, any>;
|
|
51
|
+
type __VLS_TemplateResult = any;
|
|
257
52
|
//# sourceMappingURL=UluModal.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UluModal.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/collapsible/UluModal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UluModal.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/collapsible/UluModal.vue"],"names":[],"mappings":"AAoEA;wBAq1BqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAbjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4OAUG"}
|