@ulu/frontend-vue 0.5.16 → 0.6.1

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 (133) hide show
  1. package/dist/components/elements/UluBadge.vue.d.ts +2 -0
  2. package/dist/components/elements/UluBadge.vue.d.ts.map +1 -1
  3. package/dist/components/elements/UluBadge.vue.js +30 -21
  4. package/dist/components/elements/UluButton.vue.d.ts +4 -0
  5. package/dist/components/elements/UluButton.vue.d.ts.map +1 -1
  6. package/dist/components/elements/UluButton.vue.js +31 -16
  7. package/dist/components/elements/UluIcon.vue.js +21 -36
  8. package/dist/components/forms/UluFormCheckbox.vue.d.ts +3 -19
  9. package/dist/components/forms/UluFormCheckbox.vue.d.ts.map +1 -1
  10. package/dist/components/forms/UluFormCheckbox.vue.js +10 -31
  11. package/dist/components/forms/UluFormFile.vue.d.ts +3 -25
  12. package/dist/components/forms/UluFormFile.vue.d.ts.map +1 -1
  13. package/dist/components/forms/UluFormFile.vue.js +11 -49
  14. package/dist/components/forms/UluFormItem.vue.d.ts +23 -8
  15. package/dist/components/forms/UluFormItem.vue.d.ts.map +1 -1
  16. package/dist/components/forms/UluFormItem.vue.js +126 -29
  17. package/dist/components/forms/UluFormLabel.vue.d.ts +24 -0
  18. package/dist/components/forms/UluFormLabel.vue.d.ts.map +1 -0
  19. package/dist/components/forms/UluFormLabel.vue.js +34 -0
  20. package/dist/components/forms/UluFormRadio.vue.d.ts +7 -25
  21. package/dist/components/forms/UluFormRadio.vue.d.ts.map +1 -1
  22. package/dist/components/forms/UluFormRadio.vue.js +11 -37
  23. package/dist/components/forms/UluFormSelect.vue.d.ts +7 -23
  24. package/dist/components/forms/UluFormSelect.vue.d.ts.map +1 -1
  25. package/dist/components/forms/UluFormSelect.vue.js +24 -43
  26. package/dist/components/forms/UluFormText.vue.d.ts +5 -23
  27. package/dist/components/forms/UluFormText.vue.d.ts.map +1 -1
  28. package/dist/components/forms/UluFormText.vue.js +10 -38
  29. package/dist/components/forms/UluFormTextarea.vue.d.ts +5 -23
  30. package/dist/components/forms/UluFormTextarea.vue.d.ts.map +1 -1
  31. package/dist/components/forms/UluFormTextarea.vue.js +10 -37
  32. package/dist/components/forms/UluSearchForm.vue.d.ts +24 -3
  33. package/dist/components/forms/UluSearchForm.vue.d.ts.map +1 -1
  34. package/dist/components/forms/UluSearchForm.vue.js +67 -22
  35. package/dist/components/index.d.ts +1 -0
  36. package/dist/components/systems/facets/UluFacetsFilterSelects.vue.d.ts.map +1 -1
  37. package/dist/components/systems/facets/UluFacetsFilterSelects.vue.js +21 -22
  38. package/dist/components/systems/facets/useFacets.d.ts.map +1 -1
  39. package/dist/components/systems/scroll-anchors/useScrollAnchorSection.d.ts.map +1 -1
  40. package/dist/components/systems/scroll-anchors/useScrollAnchorSections.d.ts.map +1 -1
  41. package/dist/components/systems/scroll-anchors/useScrollAnchors.d.ts.map +1 -1
  42. package/dist/components/utils/UluAction.vue.d.ts +2 -0
  43. package/dist/components/utils/UluAction.vue.d.ts.map +1 -1
  44. package/dist/components/utils/UluAction.vue.js +9 -5
  45. package/dist/components/visualizations/UluProgressBar.vue.d.ts +2 -2
  46. package/dist/composables/useBreakpointManager.d.ts.map +1 -1
  47. package/dist/composables/useDocumentTitle.d.ts.map +1 -1
  48. package/dist/composables/useIcon.d.ts +3 -0
  49. package/dist/composables/useIcon.d.ts.map +1 -1
  50. package/dist/composables/useModifiers.d.ts.map +1 -1
  51. package/dist/composables/usePagination.d.ts.map +1 -1
  52. package/dist/composables/useRequiredInject.d.ts.map +1 -1
  53. package/dist/composables/useTableData.d.ts.map +1 -1
  54. package/dist/composables/useUluFloating.d.ts.map +1 -1
  55. package/dist/composables/useWindowResize.d.ts.map +1 -1
  56. package/dist/index.js +130 -128
  57. package/dist/mcp-data.json +17685 -0
  58. package/dist/plugins/breakpoints/index.d.ts.map +1 -1
  59. package/dist/plugins/core/index.d.ts.map +1 -1
  60. package/dist/plugins/core/index.js +17 -16
  61. package/dist/plugins/modals/api.d.ts.map +1 -1
  62. package/dist/plugins/modals/index.d.ts.map +1 -1
  63. package/dist/plugins/modals/useModals.d.ts.map +1 -1
  64. package/dist/plugins/popovers/defaults.d.ts.map +1 -1
  65. package/dist/plugins/popovers/index.d.ts.map +1 -1
  66. package/dist/plugins/popovers/useTooltip.d.ts.map +1 -1
  67. package/dist/plugins/popovers/useTooltipFollow.d.ts.map +1 -1
  68. package/dist/plugins/toast/index.d.ts.map +1 -1
  69. package/dist/plugins/toast/store.d.ts.map +1 -1
  70. package/dist/plugins/toast/useToast.d.ts.map +1 -1
  71. package/dist/resolver.d.ts.map +1 -1
  72. package/dist/utils/dom.d.ts +3 -0
  73. package/dist/utils/dom.d.ts.map +1 -1
  74. package/dist/utils/props.d.ts +10 -0
  75. package/dist/utils/props.d.ts.map +1 -1
  76. package/dist/utils/props.js +8 -2
  77. package/dist/utils/router.d.ts +12 -15
  78. package/dist/utils/router.d.ts.map +1 -1
  79. package/lib/components/elements/UluBadge.vue +16 -5
  80. package/lib/components/elements/UluButton.vue +18 -3
  81. package/lib/components/elements/UluIcon.vue +8 -26
  82. package/lib/components/forms/UluForm.vue +25 -25
  83. package/lib/components/forms/UluFormCheckbox.vue +11 -25
  84. package/lib/components/forms/UluFormFieldset.vue +6 -6
  85. package/lib/components/forms/UluFormFile.vue +10 -40
  86. package/lib/components/forms/UluFormItem.vue +150 -39
  87. package/lib/components/forms/UluFormLabel.vue +30 -0
  88. package/lib/components/forms/UluFormRadio.vue +15 -34
  89. package/lib/components/forms/UluFormSelect.vue +19 -24
  90. package/lib/components/forms/UluFormText.vue +7 -25
  91. package/lib/components/forms/UluFormTextarea.vue +7 -25
  92. package/lib/components/forms/UluSearchForm.vue +67 -19
  93. package/lib/components/forms/UluSelectableMenu.vue +62 -62
  94. package/lib/components/index.js +4 -0
  95. package/lib/components/systems/facets/UluFacetsFilterSelects.vue +11 -14
  96. package/lib/components/systems/facets/useFacets.js +3 -0
  97. package/lib/components/systems/index.js +3 -0
  98. package/lib/components/systems/scroll-anchors/useScrollAnchorSection.js +3 -0
  99. package/lib/components/systems/scroll-anchors/useScrollAnchorSections.js +3 -0
  100. package/lib/components/systems/scroll-anchors/useScrollAnchors.js +3 -0
  101. package/lib/components/utils/UluAction.vue +6 -2
  102. package/lib/composables/useBreakpointManager.js +3 -0
  103. package/lib/composables/useDocumentTitle.js +3 -0
  104. package/lib/composables/useIcon.js +3 -0
  105. package/lib/composables/useModifiers.js +3 -1
  106. package/lib/composables/usePagination.js +3 -0
  107. package/lib/composables/useRequiredInject.js +3 -0
  108. package/lib/composables/useTableData.js +3 -0
  109. package/lib/composables/useUluFloating.js +3 -0
  110. package/lib/composables/useWindowResize.js +3 -0
  111. package/lib/index.js +1 -1
  112. package/lib/meta.js +1 -1
  113. package/lib/plugins/breakpoints/index.js +3 -0
  114. package/lib/plugins/core/index.js +4 -2
  115. package/lib/plugins/index.js +1 -1
  116. package/lib/plugins/modals/api.js +3 -0
  117. package/lib/plugins/modals/index.js +2 -3
  118. package/lib/plugins/modals/useModals.js +3 -0
  119. package/lib/plugins/popovers/defaults.js +3 -0
  120. package/lib/plugins/popovers/index.js +3 -0
  121. package/lib/plugins/popovers/useTooltip.js +3 -0
  122. package/lib/plugins/popovers/useTooltipFollow.js +3 -0
  123. package/lib/plugins/toast/defaults.js +3 -0
  124. package/lib/plugins/toast/index.js +3 -0
  125. package/lib/plugins/toast/store.js +3 -0
  126. package/lib/plugins/toast/useToast.js +3 -0
  127. package/lib/resolver.js +3 -0
  128. package/lib/utils/dom.js +3 -0
  129. package/lib/utils/index.js +3 -0
  130. package/lib/utils/props.js +17 -0
  131. package/lib/utils/router.js +10 -10
  132. package/lib/vite.js +3 -0
  133. package/package.json +19 -6
@@ -1,48 +1,21 @@
1
- import { createElementBlock as i, openBlock as a, Fragment as u, createElementVNode as o, unref as n, normalizeClass as m, renderSlot as s, createTextVNode as c, createBlock as f, createCommentVNode as V, toDisplayString as b } from "vue";
2
- import { newId as g } from "../../utils/dom.js";
3
- import q from "./UluFormRequiredChar.vue.js";
4
- const B = ["for"], k = ["value", "id", "required"], x = {
1
+ import { inject as a, computed as n, createElementBlock as m, openBlock as s, mergeProps as d } from "vue";
2
+ const p = ["value"], c = {
5
3
  __name: "UluFormTextarea",
6
4
  props: {
7
- /**
8
- * The label for the textarea.
9
- */
10
- label: String,
11
5
  /**
12
6
  * The value of the textarea (for v-model).
13
7
  */
14
- modelValue: String,
15
- /**
16
- * If true, the label will be visually hidden.
17
- */
18
- labelHidden: Boolean,
19
- /**
20
- * If true, the field will be required.
21
- */
22
- required: Boolean
8
+ modelValue: [String, Number]
23
9
  },
24
10
  emits: ["update:modelValue"],
25
- setup(e) {
26
- const l = g();
27
- return (t, r) => (a(), i(u, null, [
28
- o("label", {
29
- class: m({ "hidden-visually": e.labelHidden }),
30
- for: n(l)
31
- }, [
32
- s(t.$slots, "label", {}, () => [
33
- c(b(e.label), 1),
34
- e.required ? (a(), f(q, { key: 0 })) : V("", !0)
35
- ])
36
- ], 10, B),
37
- o("textarea", {
38
- value: e.modelValue,
39
- onInput: r[0] || (r[0] = (d) => t.$emit("update:modelValue", d.target.value)),
40
- id: n(l),
41
- required: e.required
42
- }, null, 40, k)
43
- ], 64));
11
+ setup(l) {
12
+ const e = a("uluFormFieldAttrs", null), u = n(() => e ? e.value : {});
13
+ return (o, t) => (s(), m("textarea", d(u.value, {
14
+ value: l.modelValue,
15
+ onInput: t[0] || (t[0] = (r) => o.$emit("update:modelValue", r.target.value))
16
+ }), null, 16, p));
44
17
  }
45
18
  };
46
19
  export {
47
- x as default
20
+ c as default
48
21
  };
@@ -1,8 +1,29 @@
1
- declare const _default: import('vue').DefineComponent<{}, {
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: "update:modelValue" | "submit", ...args: any[]) => void;
8
+ modelValue: string;
2
9
  placeholder: string;
10
+ label: string;
11
+ submitButtonProps: Record<string, any>;
12
+ id?: string | undefined;
3
13
  $props: {
14
+ readonly modelValue?: string | undefined;
4
15
  readonly placeholder?: string | undefined;
16
+ readonly label?: string | undefined;
17
+ readonly submitButtonProps?: Record<string, any> | undefined;
18
+ readonly id?: string | undefined;
5
19
  };
6
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
7
- export default _default;
20
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFormElement>;
21
+ type __VLS_TemplateResult = {
22
+ attrs: Partial<{}>;
23
+ slots: {
24
+ submit?(_: {}): any;
25
+ };
26
+ refs: {};
27
+ rootEl: HTMLFormElement;
28
+ };
8
29
  //# sourceMappingURL=UluSearchForm.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UluSearchForm.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/forms/UluSearchForm.vue"],"names":[],"mappings":"AAmBA;"}
1
+ {"version":3,"file":"UluSearchForm.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/forms/UluSearchForm.vue"],"names":[],"mappings":"AAyBA;wBAiOqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAZjC;;;;;;;;;;;;;;uPASG"}
@@ -1,36 +1,81 @@
1
- import { createElementBlock as o, openBlock as a, createElementVNode as e, createVNode as l } from "vue";
2
- import s from "../elements/UluIcon.vue.js";
3
- const c = { class: "form-theme search-form type-small" }, i = { class: "search-form__field" }, n = ["placeholder"], m = {
4
- class: "search-form__submit button button--primary",
5
- "aria-label": "Submit Search"
6
- }, h = {
1
+ import { computed as d, createElementBlock as p, openBlock as m, withModifiers as c, createElementVNode as t, toDisplayString as f, renderSlot as h, createVNode as _, mergeProps as b } from "vue";
2
+ import { newId as g } from "../../utils/dom.js";
3
+ import S from "../elements/UluButton.vue.js";
4
+ const y = { class: "input-group input-group--joined" }, v = { class: "input-group__item input-group__item--field" }, V = ["for"], B = ["id", "placeholder", "value"], k = { class: "input-group__item" }, $ = {
7
5
  __name: "UluSearchForm",
8
6
  props: {
7
+ /**
8
+ * The search input value (for v-model).
9
+ */
10
+ modelValue: {
11
+ type: String,
12
+ default: ""
13
+ },
9
14
  /**
10
15
  * The placeholder text for the search input.
11
16
  */
12
17
  placeholder: {
13
18
  type: String,
14
19
  default: "Titles, keyword…"
15
- }
20
+ },
21
+ /**
22
+ * The visually hidden label for the search input.
23
+ */
24
+ label: {
25
+ type: String,
26
+ default: "Search"
27
+ },
28
+ /**
29
+ * Props to pass to the default UluButton component (used for submit button)
30
+ * - Alternately use 'submit' slot
31
+ */
32
+ submitButtonProps: {
33
+ type: Object,
34
+ default: () => ({
35
+ type: "submit",
36
+ primary: !0,
37
+ icon: "type:search",
38
+ ariaLabel: "Submit Search"
39
+ })
40
+ },
41
+ /**
42
+ * Optional ID for the input element. If not provided, a unique ID is generated.
43
+ */
44
+ id: String
16
45
  },
17
- setup(r) {
18
- return (p, t) => (a(), o("div", c, [
19
- e("div", i, [
20
- t[0] || (t[0] = e("label", { class: "hidden-visually" }, "Search", -1)),
21
- e("input", {
22
- class: "search-form__input",
23
- type: "text",
24
- id: "example-input",
25
- placeholder: r.placeholder
26
- }, null, 8, n)
27
- ]),
28
- e("button", m, [
29
- l(s, { icon: "type:search" })
46
+ emits: ["update:modelValue", "submit"],
47
+ setup(e, { emit: r }) {
48
+ const o = e, a = r, i = d(() => o.id || g()), s = () => {
49
+ a("submit", o.modelValue);
50
+ };
51
+ return (l, u) => (m(), p("form", {
52
+ class: "form-theme",
53
+ onSubmit: c(s, ["prevent"])
54
+ }, [
55
+ t("div", y, [
56
+ t("div", v, [
57
+ t("label", {
58
+ for: i.value,
59
+ class: "hidden-visually"
60
+ }, f(e.label), 9, V),
61
+ t("input", {
62
+ type: "search",
63
+ id: i.value,
64
+ class: "input-group__input",
65
+ placeholder: e.placeholder,
66
+ value: e.modelValue,
67
+ onInput: u[0] || (u[0] = (n) => l.$emit("update:modelValue", n.target.value))
68
+ }, null, 40, B)
69
+ ]),
70
+ t("div", k, [
71
+ h(l.$slots, "submit", {}, () => [
72
+ _(S, b({ class: "input-group__button" }, e.submitButtonProps), null, 16)
73
+ ])
74
+ ])
30
75
  ])
31
- ]));
76
+ ], 32));
32
77
  }
33
78
  };
34
79
  export {
35
- h as default
80
+ $ as default
36
81
  };
@@ -47,6 +47,7 @@ export { default as UluFormActions } from './forms/UluFormActions.vue';
47
47
  export { default as UluFormCheckbox } from './forms/UluFormCheckbox.vue';
48
48
  export { default as UluFormFieldset } from './forms/UluFormFieldset.vue';
49
49
  export { default as UluFormItem } from './forms/UluFormItem.vue';
50
+ export { default as UluFormLabel } from './forms/UluFormLabel.vue';
50
51
  export { default as UluFormItemsInline } from './forms/UluFormItemsInline.vue';
51
52
  export { default as UluFormRadio } from './forms/UluFormRadio.vue';
52
53
  export { default as UluFormRequiredChar } from './forms/UluFormRequiredChar.vue';
@@ -1 +1 @@
1
- {"version":3,"file":"UluFacetsFilterSelects.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/facets/UluFacetsFilterSelects.vue"],"names":[],"mappings":"AA0CA;wBA+OqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAZjC;;;;;;;;sPASG"}
1
+ {"version":3,"file":"UluFacetsFilterSelects.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/facets/UluFacetsFilterSelects.vue"],"names":[],"mappings":"AA0CA;wBAyOqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAZjC;;;;;;;;sPASG"}
@@ -1,6 +1,6 @@
1
- import { createElementBlock as n, openBlock as d, normalizeClass as a, Fragment as m, renderList as y, createElementVNode as o, renderSlot as i, createTextVNode as r, toDisplayString as u } from "vue";
1
+ import { createElementBlock as d, openBlock as n, normalizeClass as a, Fragment as m, renderList as _, createElementVNode as i, renderSlot as r, createTextVNode as o, toDisplayString as u } from "vue";
2
2
  /* empty css */
3
- const v = ["for"], w = ["id", "onChange"], S = { value: "" }, $ = ["value", "selected"], F = {
3
+ const w = ["for"], S = ["id", "onChange"], $ = { value: "" }, k = ["value", "selected"], F = {
4
4
  __name: "UluFacetsFilterSelects",
5
5
  props: {
6
6
  /**
@@ -19,10 +19,9 @@ const v = ["for"], w = ["id", "onChange"], S = { value: "" }, $ = ["value", "sel
19
19
  }
20
20
  },
21
21
  emits: ["facet-change"],
22
- setup(c, { emit: _ }) {
23
- console.log(c);
24
- const b = _;
25
- function p(l, f) {
22
+ setup(c, { emit: y }) {
23
+ const b = y;
24
+ function v(l, f) {
26
25
  const e = f.target.value;
27
26
  l.children.find((s) => s.selected)?.uid !== e && l.children.forEach((s) => {
28
27
  const h = s.uid === e;
@@ -33,45 +32,45 @@ const v = ["for"], w = ["id", "onChange"], S = { value: "" }, $ = ["value", "sel
33
32
  });
34
33
  });
35
34
  }
36
- return (l, f) => (d(), n("div", {
35
+ return (l, f) => (n(), d("div", {
37
36
  class: a(["facets-dropdown-filters", c.classes.container])
38
37
  }, [
39
- (d(!0), n(m, null, y(c.facets, (e) => (d(), n("div", {
38
+ (n(!0), d(m, null, _(c.facets, (e) => (n(), d("div", {
40
39
  class: a(["facets-dropdown-filters__group", c.classes.group]),
41
40
  key: e.uid
42
41
  }, [
43
- o("label", {
42
+ i("label", {
44
43
  for: `facet-dropdown-${e.uid}`,
45
44
  class: a(["facets-dropdown-filters__label", c.classes.label])
46
45
  }, [
47
- i(l.$slots, "label", {}, () => [
48
- r(u(e.name), 1)
46
+ r(l.$slots, "label", {}, () => [
47
+ o(u(e.name), 1)
49
48
  ])
50
- ], 10, v),
51
- o("select", {
49
+ ], 10, w),
50
+ i("select", {
52
51
  id: `facet-dropdown-${e.uid}`,
53
52
  class: a(["facets-dropdown-filters__select", c.classes.select]),
54
- onChange: (t) => p(e, t)
53
+ onChange: (t) => v(e, t)
55
54
  }, [
56
- o("option", S, [
57
- i(l.$slots, "optionAll", { group: e }, () => [
58
- r(" All " + u(e.name) + "s ", 1)
55
+ i("option", $, [
56
+ r(l.$slots, "optionAll", { group: e }, () => [
57
+ o(" All " + u(e.name) + "s ", 1)
59
58
  ])
60
59
  ]),
61
- (d(!0), n(m, null, y(e.children, (t, s) => (d(), n("option", {
60
+ (n(!0), d(m, null, _(e.children, (t, s) => (n(), d("option", {
62
61
  key: t.uid,
63
62
  value: t.uid,
64
63
  selected: t.selected
65
64
  }, [
66
- i(l.$slots, "option", {
65
+ r(l.$slots, "option", {
67
66
  group: e,
68
67
  option: t,
69
68
  index: s
70
69
  }, () => [
71
- r(u(t.label), 1)
70
+ o(u(t.label), 1)
72
71
  ])
73
- ], 8, $))), 128))
74
- ], 42, w)
72
+ ], 8, k))), 128))
73
+ ], 42, S)
75
74
  ], 2))), 128))
76
75
  ], 2));
77
76
  }
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"useFacets.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/facets/useFacets.js"],"names":[],"mappings":"AAoHA;;;;;;;;;;;;;;;;;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"}
@@ -1 +1 @@
1
- {"version":3,"file":"useScrollAnchorSection.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/scroll-anchors/useScrollAnchorSection.js"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,8CAHW,MAAM,GACJ,MAAM,CAmDlB"}
1
+ {"version":3,"file":"useScrollAnchorSection.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/scroll-anchors/useScrollAnchorSection.js"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,8CAHW,MAAM,GACJ,MAAM,CAmDlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"useScrollAnchorSections.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/scroll-anchors/useScrollAnchorSections.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,2CAFa,MAAM,CAQlB"}
1
+ {"version":3,"file":"useScrollAnchorSections.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/scroll-anchors/useScrollAnchorSections.js"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,2CAFa,MAAM,CAQlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"useScrollAnchors.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/scroll-anchors/useScrollAnchors.js"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,4EAFW;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,WAAW;IAAC,cAAc,EAAE,MAAM,CAAA;CAAC,QAsTnF"}
1
+ {"version":3,"file":"useScrollAnchors.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/scroll-anchors/useScrollAnchors.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,4EAFW;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,WAAW;IAAC,cAAc,EAAE,MAAM,CAAA;CAAC,QAsTnF"}
@@ -4,6 +4,7 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
4
  $slots: S;
5
5
  });
6
6
  declare const __VLS_component: import('vue').DefineComponent<{}, {
7
+ type?: string | undefined;
7
8
  activeClass?: string | undefined;
8
9
  to?: string | Record<string, any> | undefined;
9
10
  target?: string | undefined;
@@ -14,6 +15,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
14
15
  exactActiveClass?: string | undefined;
15
16
  click?: Function | undefined;
16
17
  $props: {
18
+ readonly type?: string | undefined;
17
19
  readonly activeClass?: string | undefined;
18
20
  readonly to?: string | Record<string, any> | undefined;
19
21
  readonly target?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"UluAction.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/utils/UluAction.vue"],"names":[],"mappings":"AAQA;wBAqNqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAXjC;;;;;;;;;;;;;;;;;;;;;2OAQG"}
1
+ {"version":3,"file":"UluAction.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/utils/UluAction.vue"],"names":[],"mappings":"AAQA;wBA6NqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAXjC;;;;;;;;;;;;;;;;;;;;;;;2OAQG"}
@@ -1,4 +1,4 @@
1
- import { computed as r, createBlock as i, openBlock as s, resolveDynamicComponent as l, normalizeProps as c, guardReactiveProps as f, withCtx as u, renderSlot as p } from "vue";
1
+ import { computed as r, createBlock as i, openBlock as s, resolveDynamicComponent as l, normalizeProps as c, guardReactiveProps as f, withCtx as p, renderSlot as u } from "vue";
2
2
  import { RouterLink as d } from "vue-router";
3
3
  const h = {
4
4
  __name: "UluAction",
@@ -39,16 +39,20 @@ const h = {
39
39
  * Allows passing 'click' as a prop to signify this is an action (used in UluMenu data objects).
40
40
  * Note: The actual @click listener should be attached via fallthrough attrs, this is just for logic routing.
41
41
  */
42
- click: Function
42
+ click: Function,
43
+ /**
44
+ * Button type (e.g. 'submit', 'reset', 'button'). Defaults to 'button' to prevent accidental form submissions.
45
+ */
46
+ type: String
43
47
  },
44
48
  setup(o) {
45
49
  const t = o, n = r(() => t.element ? t.element : t.to || t.path ? d : t.href ? "a" : "button"), a = r(() => {
46
50
  const e = {};
47
- return t.to || t.path ? (e.to = t.to || t.path, t.activeClass && (e.activeClass = t.activeClass), t.exactActiveClass && (e.exactActiveClass = t.exactActiveClass)) : t.href ? (e.href = t.href, t.target && (e.target = t.target), t.download && (e.download = typeof t.download == "string" ? t.download : "")) : (!t.element || t.element === "button") && (e.type = "button"), e;
51
+ return t.to || t.path ? (e.to = t.to || t.path, t.activeClass && (e.activeClass = t.activeClass), t.exactActiveClass && (e.exactActiveClass = t.exactActiveClass)) : t.href ? (e.href = t.href, t.target && (e.target = t.target), t.download && (e.download = typeof t.download == "string" ? t.download : "")) : (!t.element || t.element === "button") && (e.type = t.type || "button"), e;
48
52
  });
49
53
  return (e, m) => (s(), i(l(n.value), c(f(a.value)), {
50
- default: u(() => [
51
- p(e.$slots, "default")
54
+ default: p(() => [
55
+ u(e.$slots, "default")
52
56
  ]),
53
57
  _: 3
54
58
  }, 16));
@@ -7,8 +7,8 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
7
7
  classes: Record<string, any>;
8
8
  danger: boolean;
9
9
  small: boolean;
10
- labelHidden: boolean;
11
10
  warning: boolean;
11
+ labelHidden: boolean;
12
12
  amount: number;
13
13
  labelElement: string;
14
14
  total: number;
@@ -26,8 +26,8 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
26
26
  readonly classes?: Record<string, any> | undefined;
27
27
  readonly danger?: boolean | undefined;
28
28
  readonly small?: boolean | undefined;
29
- readonly labelHidden?: boolean | undefined;
30
29
  readonly warning?: boolean | undefined;
30
+ readonly labelHidden?: boolean | undefined;
31
31
  readonly amount?: number | undefined;
32
32
  readonly labelElement?: string | undefined;
33
33
  readonly total?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"useBreakpointManager.d.ts","sourceRoot":"","sources":["../../lib/composables/useBreakpointManager.js"],"names":[],"mappings":"AAoBA;;;;;;;;;;;;;;;;;GAiBG;AACH,8CAZG;IAAyB,YAAY;IACV,OAAO;IACT,MAAM;CAC/B,GAAU;IACR,iBAAiB,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,eAAe,EAAE,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACvF,gBAAgB,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACnD,mBAAmB,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;CACtD,CA6CH"}
1
+ {"version":3,"file":"useBreakpointManager.d.ts","sourceRoot":"","sources":["../../lib/composables/useBreakpointManager.js"],"names":[],"mappings":"AAuBA;;;;;;;;;;;;;;;;;GAiBG;AACH,8CAZG;IAAyB,YAAY;IACV,OAAO;IACT,MAAM;CAC/B,GAAU;IACR,iBAAiB,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,eAAe,EAAE,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACvF,gBAAgB,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACnD,mBAAmB,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;CACtD,CA6CH"}
@@ -1 +1 @@
1
- {"version":3,"file":"useDocumentTitle.d.ts","sourceRoot":"","sources":["../../lib/composables/useDocumentTitle.js"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;GAcG;AACH,2CALG;IAAqD,KAAK;IACjC,aAAa;IACX,QAAQ;IACR,OAAO;CACpC,QAsCA"}
1
+ {"version":3,"file":"useDocumentTitle.d.ts","sourceRoot":"","sources":["../../lib/composables/useDocumentTitle.js"],"names":[],"mappings":"AAWA;;;;;;;;;;;;;;GAcG;AACH,2CALG;IAAqD,KAAK;IACjC,aAAa;IACX,QAAQ;IACR,OAAO;CACpC,QAsCA"}
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @module useIcon
3
+ */
1
4
  /**
2
5
  * A utility composable for handling and formatting icon props for `UluIcon`.
3
6
  * It provides helpers to convert various icon definition formats into either
@@ -1 +1 @@
1
- {"version":3,"file":"useIcon.d.ts","sourceRoot":"","sources":["../../lib/composables/useIcon.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,2BAPa;IACR,YAAY,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;IACxE,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,KAAK,MAAM,GAAG,IAAI,CAAA;CACpF,CA6DH"}
1
+ {"version":3,"file":"useIcon.d.ts","sourceRoot":"","sources":["../../lib/composables/useIcon.js"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;GAWG;AACH,2BAPa;IACR,YAAY,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;IACxE,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,KAAK,MAAM,GAAG,IAAI,CAAA;CACpF,CA6DH"}
@@ -1 +1 @@
1
- {"version":3,"file":"useModifiers.d.ts","sourceRoot":"","sources":["../../lib/composables/useModifiers.js"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,6DAjDG;IAAwB,KAAK,EAArB,MAAM;IACsC,SAAS,EAArD,MAAM,GAAG,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC;IAEuF,QAAQ;;;;;CAEzI,GAAU,MAAM,CAqElB"}
1
+ {"version":3,"file":"useModifiers.d.ts","sourceRoot":"","sources":["../../lib/composables/useModifiers.js"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,6DAjDG;IAAwB,KAAK,EAArB,MAAM;IACsC,SAAS,EAArD,MAAM,GAAG,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC;IAEuF,QAAQ;;;;;CAEzI,GAAU,MAAM,CAqElB"}
@@ -1 +1 @@
1
- {"version":3,"file":"usePagination.d.ts","sourceRoot":"","sources":["../../lib/composables/usePagination.js"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,qCAVW,OAAO,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,gBAC7B,MAAM,GACJ;IACR,WAAW,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/C,UAAU,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9C,cAAc,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IACtD,UAAU,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,MAAM,GAAC,IAAI,CAAC,CAAC;IACnD,aAAa,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAC,CAAC,CAAA;CAC7E,CA0GH"}
1
+ {"version":3,"file":"usePagination.d.ts","sourceRoot":"","sources":["../../lib/composables/usePagination.js"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;GAaG;AACH,qCAVW,OAAO,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,gBAC7B,MAAM,GACJ;IACR,WAAW,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/C,UAAU,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9C,cAAc,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IACtD,UAAU,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,MAAM,GAAC,IAAI,CAAC,CAAC;IACnD,aAAa,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAC,CAAC,CAAA;CAC7E,CA0GH"}
@@ -1 +1 @@
1
- {"version":3,"file":"useRequiredInject.d.ts","sourceRoot":"","sources":["../../lib/composables/useRequiredInject.js"],"names":[],"mappings":"AAQA;;;;;GAKG;AACH,uCAHW,MAAM,MAchB"}
1
+ {"version":3,"file":"useRequiredInject.d.ts","sourceRoot":"","sources":["../../lib/composables/useRequiredInject.js"],"names":[],"mappings":"AAWA;;;;;GAKG;AACH,uCAHW,MAAM,MAchB"}
@@ -1 +1 @@
1
- {"version":3,"file":"useTableData.d.ts","sourceRoot":"","sources":["../../lib/composables/useTableData.js"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,oCAHW,MAAM;;;;;;;;;;;;;;;;;;;;;EAsLhB"}
1
+ {"version":3,"file":"useTableData.d.ts","sourceRoot":"","sources":["../../lib/composables/useTableData.js"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,oCAHW,MAAM;;;;;;;;;;;;;;;;;;;;;EAsLhB"}
@@ -1 +1 @@
1
- {"version":3,"file":"useUluFloating.d.ts","sourceRoot":"","sources":["../../lib/composables/useUluFloating.js"],"names":[],"mappings":"AAWA;;GAEG;AAEH;;;;;;;GAOG;AAEH;;;;;;GAMG;AACH,wCALW,OAAO,KAAK,EAAE,GAAG,CAAC,WAAW,CAAC,WAC9B,OAAO,KAAK,EAAE,GAAG,CAAC,WAAW,CAAC,UAC9B,OAAO,KAAK,EAAE,GAAG,CAAC,iBAAiB,CAAC,GAClC;IAAC,cAAc,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAAC,SAAS,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC;IAAC,cAAc,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAAC,MAAM,WAAW;IAAC,YAAY,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAAC,WAAW,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAAC,YAAY,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,WAAW,CAAC,CAAA;CAAC,CAkE7R;wBAnFY,OAAO,kBAAkB,EAAE,SAAS;;;;;eAKnC,SAAS;;;;YACT,OAAO;;;;YACP,MAAM;;;;WACN,OAAO"}
1
+ {"version":3,"file":"useUluFloating.d.ts","sourceRoot":"","sources":["../../lib/composables/useUluFloating.js"],"names":[],"mappings":"AAcA;;GAEG;AAEH;;;;;;;GAOG;AAEH;;;;;;GAMG;AACH,wCALW,OAAO,KAAK,EAAE,GAAG,CAAC,WAAW,CAAC,WAC9B,OAAO,KAAK,EAAE,GAAG,CAAC,WAAW,CAAC,UAC9B,OAAO,KAAK,EAAE,GAAG,CAAC,iBAAiB,CAAC,GAClC;IAAC,cAAc,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAAC,SAAS,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC;IAAC,cAAc,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAAC,MAAM,WAAW;IAAC,YAAY,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAAC,WAAW,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAAC,YAAY,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,WAAW,CAAC,CAAA;CAAC,CAkE7R;wBAnFY,OAAO,kBAAkB,EAAE,SAAS;;;;;eAKnC,SAAS;;;;YACT,OAAO;;;;YACP,MAAM;;;;WACN,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"useWindowResize.d.ts","sourceRoot":"","sources":["../../lib/composables/useWindowResize.js"],"names":[],"mappings":"AAkDA;;;;;;;;;;;;;GAaG;AACH,mCATa;IACR,QAAQ,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACrC,aAAa,EAAE,CAAC,QAAQ,UAAU,aAAa,CAAC;IAChD,WAAW,EAAE,CAAC,QAAQ,UAAU,aAAa,CAAA;CAC9C,CAeH"}
1
+ {"version":3,"file":"useWindowResize.d.ts","sourceRoot":"","sources":["../../lib/composables/useWindowResize.js"],"names":[],"mappings":"AAqDA;;;;;;;;;;;;;GAaG;AACH,mCATa;IACR,QAAQ,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACrC,aAAa,EAAE,CAAC,QAAQ,UAAU,aAAa,CAAC;IAChD,WAAW,EAAE,CAAC,QAAQ,UAAU,aAAa,CAAA;CAC9C,CAeH"}