@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.
Files changed (171) hide show
  1. package/dist/components/collapsible/UluAccordionGroup.vue.d.ts +2 -2
  2. package/dist/components/collapsible/UluAccordionGroup.vue.d.ts.map +1 -1
  3. package/dist/components/collapsible/UluAccordionGroup.vue.js +22 -19
  4. package/dist/components/collapsible/UluDropdown.vue.d.ts +1 -1
  5. package/dist/components/collapsible/UluDropdown.vue.d.ts.map +1 -1
  6. package/dist/components/collapsible/UluDropdown.vue.js +22 -15
  7. package/dist/components/collapsible/UluModal.vue.d.ts +43 -248
  8. package/dist/components/collapsible/UluModal.vue.d.ts.map +1 -1
  9. package/dist/components/collapsible/UluModal.vue.js +139 -191
  10. package/dist/components/collapsible/UluTabGroup.vue.d.ts +2 -0
  11. package/dist/components/collapsible/UluTabGroup.vue.d.ts.map +1 -1
  12. package/dist/components/collapsible/UluTabGroup.vue.js +23 -14
  13. package/dist/components/elements/UluAlert.vue.d.ts +29 -144
  14. package/dist/components/elements/UluAlert.vue.d.ts.map +1 -1
  15. package/dist/components/elements/UluAlert.vue.js +39 -50
  16. package/dist/components/elements/UluBadge.vue.d.ts +6 -6
  17. package/dist/components/elements/UluBadgeStack.vue.d.ts +1 -1
  18. package/dist/components/elements/UluBadgeStack.vue.d.ts.map +1 -1
  19. package/dist/components/elements/UluBadgeStack.vue.js +12 -9
  20. package/dist/components/elements/UluButton.vue.d.ts +47 -177
  21. package/dist/components/elements/UluButton.vue.d.ts.map +1 -1
  22. package/dist/components/elements/UluButton.vue.js +59 -72
  23. package/dist/components/elements/UluButtonVerbose.vue.d.ts +38 -123
  24. package/dist/components/elements/UluButtonVerbose.vue.d.ts.map +1 -1
  25. package/dist/components/elements/UluButtonVerbose.vue.js +52 -65
  26. package/dist/components/elements/UluCallout.vue.d.ts +20 -25
  27. package/dist/components/elements/UluCallout.vue.d.ts.map +1 -1
  28. package/dist/components/elements/UluCallout.vue.js +11 -16
  29. package/dist/components/elements/UluCaptionedFigure.vue.d.ts +25 -0
  30. package/dist/components/elements/UluCaptionedFigure.vue.d.ts.map +1 -0
  31. package/dist/components/elements/UluCaptionedFigure.vue.js +48 -0
  32. package/dist/components/elements/UluCard.vue.d.ts +2 -2
  33. package/dist/components/elements/UluDefinitionList.vue.d.ts +4 -2
  34. package/dist/components/elements/UluDefinitionList.vue.d.ts.map +1 -1
  35. package/dist/components/elements/UluDefinitionList.vue.js +32 -28
  36. package/dist/components/elements/UluExternalLink.vue.d.ts +2 -2
  37. package/dist/components/elements/UluImage.vue.d.ts +14 -0
  38. package/dist/components/elements/UluImage.vue.d.ts.map +1 -0
  39. package/dist/components/elements/UluImage.vue.js +53 -0
  40. package/dist/components/elements/UluList.vue.d.ts.map +1 -1
  41. package/dist/components/elements/UluList.vue.js +14 -13
  42. package/dist/components/elements/UluOverflowScroller.vue.d.ts +49 -0
  43. package/dist/components/elements/UluOverflowScroller.vue.d.ts.map +1 -0
  44. package/dist/components/elements/UluOverflowScroller.vue.js +138 -0
  45. package/dist/components/elements/UluScrollSlider.vue.d.ts +38 -0
  46. package/dist/components/elements/UluScrollSlider.vue.d.ts.map +1 -0
  47. package/dist/components/elements/UluScrollSlider.vue.js +146 -0
  48. package/dist/components/elements/UluSlider.vue.d.ts +57 -0
  49. package/dist/components/elements/UluSlider.vue.d.ts.map +1 -0
  50. package/dist/components/elements/UluSlider.vue.js +277 -0
  51. package/dist/components/forms/UluFormFile.vue.d.ts +2 -2
  52. package/dist/components/forms/UluFormRadio.vue.d.ts +4 -4
  53. package/dist/components/index.d.ts +6 -0
  54. package/dist/components/layout/UluTitleRail.vue.d.ts +29 -87
  55. package/dist/components/layout/UluTitleRail.vue.d.ts.map +1 -1
  56. package/dist/components/layout/UluTitleRail.vue.js +51 -46
  57. package/dist/components/navigation/UluBreadcrumb.vue.d.ts +27 -68
  58. package/dist/components/navigation/UluBreadcrumb.vue.d.ts.map +1 -1
  59. package/dist/components/navigation/UluBreadcrumb.vue.js +51 -54
  60. package/dist/components/navigation/UluMenu.vue.d.ts +30 -138
  61. package/dist/components/navigation/UluMenu.vue.d.ts.map +1 -1
  62. package/dist/components/navigation/UluMenu.vue.js +85 -84
  63. package/dist/components/navigation/UluMenuStack.vue.d.ts +12 -2
  64. package/dist/components/navigation/UluMenuStack.vue.d.ts.map +1 -1
  65. package/dist/components/navigation/UluMenuStack.vue.js +26 -18
  66. package/dist/components/navigation/UluNavStrip.vue.d.ts +22 -134
  67. package/dist/components/navigation/UluNavStrip.vue.d.ts.map +1 -1
  68. package/dist/components/navigation/UluNavStrip.vue.js +43 -31
  69. package/dist/components/systems/facets/UluFacetsSidebarLayout.vue.js +10 -10
  70. package/dist/components/systems/facets/useFacets.d.ts +3 -0
  71. package/dist/components/systems/facets/useFacets.d.ts.map +1 -1
  72. package/dist/components/systems/facets/useFacets.js +124 -112
  73. package/dist/components/systems/index.d.ts +0 -3
  74. package/dist/components/systems/scroll-anchors/UluScrollAnchors.vue.d.ts +2 -2
  75. package/dist/components/systems/table-sticky/UluTableSticky.vue.d.ts +504 -432
  76. package/dist/components/systems/table-sticky/UluTableSticky.vue.d.ts.map +1 -1
  77. package/dist/components/systems/table-sticky/UluTableSticky.vue.js +313 -456
  78. package/dist/components/systems/table-sticky/UluTableStickyRows.vue.d.ts +40 -31
  79. package/dist/components/systems/table-sticky/UluTableStickyRows.vue.d.ts.map +1 -1
  80. package/dist/components/systems/table-sticky/UluTableStickyRows.vue.js +43 -45
  81. package/dist/components/systems/table-sticky/UluTableStickyTable.vue.d.ts +60 -146
  82. package/dist/components/systems/table-sticky/UluTableStickyTable.vue.d.ts.map +1 -1
  83. package/dist/components/systems/table-sticky/UluTableStickyTable.vue.js +156 -175
  84. package/dist/components/utils/UluAction.vue.d.ts +36 -0
  85. package/dist/components/utils/UluAction.vue.d.ts.map +1 -0
  86. package/dist/components/utils/UluAction.vue.js +59 -0
  87. package/dist/components/utils/UluConditionalText.vue.d.ts +7 -26
  88. package/dist/components/utils/UluConditionalText.vue.d.ts.map +1 -1
  89. package/dist/components/utils/UluConditionalText.vue.js +12 -14
  90. package/dist/components/utils/UluPlaceholderImage.vue.d.ts +12 -57
  91. package/dist/components/utils/UluPlaceholderImage.vue.d.ts.map +1 -1
  92. package/dist/components/utils/UluPlaceholderImage.vue.js +18 -26
  93. package/dist/components/utils/UluPlaceholderText.vue.d.ts +6 -20
  94. package/dist/components/utils/UluPlaceholderText.vue.js +12 -14
  95. package/dist/components/utils/UluRouteAnnouncer.vue.d.ts +9 -58
  96. package/dist/components/utils/UluRouteAnnouncer.vue.d.ts.map +1 -1
  97. package/dist/components/utils/UluRouteAnnouncer.vue.js +28 -28
  98. package/dist/components/visualizations/UluAnimateNumber.vue.d.ts +20 -14
  99. package/dist/components/visualizations/UluAnimateNumber.vue.d.ts.map +1 -1
  100. package/dist/components/visualizations/UluAnimateNumber.vue.js +18 -26
  101. package/dist/components/visualizations/UluProgressCircle.vue.d.ts +2 -2
  102. package/dist/composables/useModifiers.d.ts +20 -25
  103. package/dist/composables/useModifiers.d.ts.map +1 -1
  104. package/dist/index.js +206 -200
  105. package/dist/plugins/modals/UluModalsDisplay.vue.d.ts +3 -12
  106. package/dist/plugins/modals/UluModalsDisplay.vue.js +24 -45
  107. package/dist/plugins/modals/index.js +6 -6
  108. package/dist/plugins/toast/UluToast.vue.d.ts +24 -49
  109. package/dist/plugins/toast/UluToast.vue.d.ts.map +1 -1
  110. package/dist/plugins/toast/UluToast.vue.js +68 -77
  111. package/dist/plugins/toast/UluToastDisplay.vue.d.ts +1 -9
  112. package/dist/plugins/toast/UluToastDisplay.vue.js +27 -35
  113. package/dist/plugins/toast/defaults.d.ts +40 -35
  114. package/dist/plugins/toast/defaults.js +2 -2
  115. package/dist/plugins/toast/index.js +4 -4
  116. package/dist/plugins/toast/store.d.ts +40 -35
  117. package/dist/plugins/toast/store.d.ts.map +1 -1
  118. package/dist/utils/props.d.ts +7 -0
  119. package/dist/utils/props.d.ts.map +1 -0
  120. package/dist/utils/props.js +6 -0
  121. package/lib/components/collapsible/UluAccordionGroup.vue +4 -1
  122. package/lib/components/collapsible/UluDropdown.vue +5 -1
  123. package/lib/components/collapsible/UluModal.vue +278 -298
  124. package/lib/components/collapsible/UluTabGroup.vue +21 -6
  125. package/lib/components/elements/UluAlert.vue +38 -51
  126. package/lib/components/elements/UluBadgeStack.vue +4 -1
  127. package/lib/components/elements/UluButton.vue +105 -129
  128. package/lib/components/elements/UluButtonVerbose.vue +67 -89
  129. package/lib/components/elements/UluCallout.vue +15 -19
  130. package/lib/components/elements/UluCaptionedFigure.vue +40 -0
  131. package/lib/components/elements/UluDefinitionList.vue +27 -6
  132. package/lib/components/elements/UluImage.vue +56 -0
  133. package/lib/components/elements/UluList.vue +1 -0
  134. package/lib/components/elements/UluOverflowScroller.vue +140 -0
  135. package/lib/components/elements/UluScrollSlider.vue +150 -0
  136. package/lib/components/elements/UluSlider.vue +488 -0
  137. package/lib/components/index.js +10 -0
  138. package/lib/components/layout/UluTitleRail.vue +55 -48
  139. package/lib/components/navigation/UluBreadcrumb.vue +29 -34
  140. package/lib/components/navigation/UluMenu.vue +60 -71
  141. package/lib/components/navigation/UluMenuStack.vue +6 -1
  142. package/lib/components/navigation/UluNavStrip.vue +43 -31
  143. package/lib/components/systems/facets/useFacets.js +33 -17
  144. package/lib/components/systems/index.js +0 -4
  145. package/lib/components/systems/table-sticky/UluTableSticky.vue +602 -576
  146. package/lib/components/systems/table-sticky/UluTableStickyRows.vue +16 -27
  147. package/lib/components/systems/table-sticky/UluTableStickyTable.vue +95 -96
  148. package/lib/components/utils/UluAction.vue +81 -0
  149. package/lib/components/utils/UluConditionalText.vue +13 -16
  150. package/lib/components/utils/UluPlaceholderImage.vue +44 -46
  151. package/lib/components/utils/UluPlaceholderText.vue +10 -13
  152. package/lib/components/utils/UluRouteAnnouncer.vue +59 -47
  153. package/lib/components/visualizations/UluAnimateNumber.vue +23 -30
  154. package/lib/composables/useModifiers.js +21 -26
  155. package/lib/plugins/modals/UluModalsDisplay.vue +44 -45
  156. package/lib/plugins/toast/UluToast.vue +28 -34
  157. package/lib/plugins/toast/UluToastDisplay.vue +9 -15
  158. package/lib/utils/props.js +8 -0
  159. package/package.json +9 -5
  160. package/dist/components/systems/slider/UluImageSlideShow.vue.d.ts +0 -130
  161. package/dist/components/systems/slider/UluImageSlideShow.vue.d.ts.map +0 -1
  162. package/dist/components/systems/slider/UluImageSlideShow.vue.js +0 -73
  163. package/dist/components/systems/slider/UluSlideShow.vue.d.ts +0 -205
  164. package/dist/components/systems/slider/UluSlideShow.vue.d.ts.map +0 -1
  165. package/dist/components/systems/slider/UluSlideShow.vue.js +0 -292
  166. package/dist/components/systems/slider/UluSlideShowSlide.vue.d.ts +0 -17
  167. package/dist/components/systems/slider/UluSlideShowSlide.vue.d.ts.map +0 -1
  168. package/dist/components/systems/slider/UluSlideShowSlide.vue.js +0 -26
  169. package/lib/components/systems/slider/UluImageSlideShow.vue +0 -75
  170. package/lib/components/systems/slider/UluSlideShow.vue +0 -336
  171. 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, {}, HTMLDivElement>;
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: HTMLDivElement;
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":"AA6BA;wBA8QqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAXjC;;;;;;;;;;;sPAQG"}
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 o, Fragment as y, renderList as O, createBlock as v, createSlots as h, withCtx as l, renderSlot as m, createTextVNode as k, toDisplayString as $ } from "vue";
2
- import S from "./UluAccordion.vue.js";
3
- const B = { class: "accordion-group" }, x = {
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(i) {
37
- const u = i, s = f([]);
39
+ setup(a) {
40
+ const u = a, o = f([]);
38
41
  p(() => u.items, (e) => {
39
- s.value = e.map((a) => ({
40
- ...a,
41
- isOpen: a.isOpen || !1
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, a) {
45
- a ? s.value.forEach((t, r) => {
47
+ function c(e, i) {
48
+ i ? o.value.forEach((t, r) => {
46
49
  t.isOpen = r === e;
47
- }) : s.value[e].isOpen = !1;
50
+ }) : o.value[e].isOpen = !1;
48
51
  }
49
- return (e, a) => (o(), g("div", B, [
50
- (o(!0), g(y, null, O(s.value, (t, r) => (o(), v(S, {
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": i.triggerTextElement,
57
- modifiers: i.modifiers,
58
- animate: i.animate
59
- }, h({
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
- k($(t.content), 1)
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":"AAiBA;wBAqKqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAXjC;;;;;;;;;2OAQG"}
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 n, openBlock as a, withCtx as r, createVNode as o, renderSlot as i, createElementVNode as l, toDisplayString as m, normalizeStyle as c } from "vue";
2
- import p from "../../plugins/popovers/UluPopover.vue.js";
3
- import g from "../navigation/UluMenuStack.vue.js";
4
- import f from "../elements/UluIcon.vue.js";
5
- const S = {
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(t) {
27
- return (s, d) => (a(), n(p, { classes: t.popoverClasses }, {
28
- trigger: r(({ isOpen: e }) => [
29
- i(s.$slots, "trigger", { isOpen: e }, () => [
30
- l("span", null, m(t.triggerText), 1),
31
- o(f, {
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: c({ transform: e ? "rotate(180deg)" : "rotate(0deg)", transition: "transform 0.2s" })
34
+ style: _({ transform: r ? "rotate(180deg)" : "rotate(0deg)", transition: "transform 0.2s" })
35
35
  }, null, 8, ["style"])
36
36
  ])
37
37
  ]),
38
- default: r(() => [
39
- o(g, { items: t.items }, null, 8, ["items"])
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
- S as default
53
+ h as default
47
54
  };
@@ -1,257 +1,52 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- /**
3
- * Controls the visibility of the modal (for v-model).
4
- */
5
- modelValue: BooleanConstructor;
6
- /**
7
- * Target for Vue's Teleport. Defaults to 'body'.
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
- teleport: string | boolean | Record<string, any>;
243
- preventScroll: boolean;
244
- preventScrollShift: boolean;
245
- position: string;
246
- }, {}, {
247
- UluIcon: import('vue').DefineComponent<{}, {
248
- spaced: boolean;
249
- icon?: string | boolean | Record<string, any> | unknown[] | undefined;
250
- $props: {
251
- readonly spaced?: boolean | undefined;
252
- readonly icon?: string | boolean | Record<string, any> | unknown[] | undefined;
253
- };
254
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
255
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
256
- export default _default;
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":"AAqEA;;IAmZM;;OAEG;;IAEH;;;;OAIG;;;;;IAKH;;OAEG;;;;;IAKH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;;;;;;IAOH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;IApGH;;OAEG;;IAEH;;;;OAIG;;;;;IAKH;;OAEG;;;;;IAKH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;;;;;;IAOH;;OAEG"}
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"}