@ulu/frontend-vue 0.5.16 → 0.6.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 (64) hide show
  1. package/dist/components/elements/UluButton.vue.d.ts +4 -0
  2. package/dist/components/elements/UluButton.vue.d.ts.map +1 -1
  3. package/dist/components/elements/UluButton.vue.js +31 -16
  4. package/dist/components/elements/UluIcon.vue.js +21 -36
  5. package/dist/components/forms/UluFormCheckbox.vue.d.ts +3 -19
  6. package/dist/components/forms/UluFormCheckbox.vue.d.ts.map +1 -1
  7. package/dist/components/forms/UluFormCheckbox.vue.js +10 -31
  8. package/dist/components/forms/UluFormFile.vue.d.ts +3 -25
  9. package/dist/components/forms/UluFormFile.vue.d.ts.map +1 -1
  10. package/dist/components/forms/UluFormFile.vue.js +11 -49
  11. package/dist/components/forms/UluFormItem.vue.d.ts +23 -8
  12. package/dist/components/forms/UluFormItem.vue.d.ts.map +1 -1
  13. package/dist/components/forms/UluFormItem.vue.js +126 -29
  14. package/dist/components/forms/UluFormLabel.vue.d.ts +24 -0
  15. package/dist/components/forms/UluFormLabel.vue.d.ts.map +1 -0
  16. package/dist/components/forms/UluFormLabel.vue.js +34 -0
  17. package/dist/components/forms/UluFormRadio.vue.d.ts +7 -25
  18. package/dist/components/forms/UluFormRadio.vue.d.ts.map +1 -1
  19. package/dist/components/forms/UluFormRadio.vue.js +11 -37
  20. package/dist/components/forms/UluFormSelect.vue.d.ts +7 -23
  21. package/dist/components/forms/UluFormSelect.vue.d.ts.map +1 -1
  22. package/dist/components/forms/UluFormSelect.vue.js +24 -43
  23. package/dist/components/forms/UluFormText.vue.d.ts +5 -23
  24. package/dist/components/forms/UluFormText.vue.d.ts.map +1 -1
  25. package/dist/components/forms/UluFormText.vue.js +10 -38
  26. package/dist/components/forms/UluFormTextarea.vue.d.ts +5 -23
  27. package/dist/components/forms/UluFormTextarea.vue.d.ts.map +1 -1
  28. package/dist/components/forms/UluFormTextarea.vue.js +10 -37
  29. package/dist/components/forms/UluSearchForm.vue.d.ts +24 -3
  30. package/dist/components/forms/UluSearchForm.vue.d.ts.map +1 -1
  31. package/dist/components/forms/UluSearchForm.vue.js +67 -22
  32. package/dist/components/index.d.ts +1 -0
  33. package/dist/components/systems/facets/UluFacetsFilterSelects.vue.d.ts.map +1 -1
  34. package/dist/components/systems/facets/UluFacetsFilterSelects.vue.js +21 -22
  35. package/dist/components/utils/UluAction.vue.d.ts +2 -0
  36. package/dist/components/utils/UluAction.vue.d.ts.map +1 -1
  37. package/dist/components/utils/UluAction.vue.js +9 -5
  38. package/dist/components/visualizations/UluProgressBar.vue.d.ts +2 -2
  39. package/dist/index.js +130 -128
  40. package/dist/plugins/core/index.d.ts.map +1 -1
  41. package/dist/plugins/core/index.js +17 -16
  42. package/dist/utils/props.d.ts +7 -0
  43. package/dist/utils/props.d.ts.map +1 -1
  44. package/dist/utils/props.js +8 -2
  45. package/lib/components/elements/UluButton.vue +18 -3
  46. package/lib/components/elements/UluIcon.vue +8 -26
  47. package/lib/components/forms/UluForm.vue +25 -25
  48. package/lib/components/forms/UluFormCheckbox.vue +11 -25
  49. package/lib/components/forms/UluFormFieldset.vue +6 -6
  50. package/lib/components/forms/UluFormFile.vue +10 -40
  51. package/lib/components/forms/UluFormItem.vue +150 -39
  52. package/lib/components/forms/UluFormLabel.vue +30 -0
  53. package/lib/components/forms/UluFormRadio.vue +15 -34
  54. package/lib/components/forms/UluFormSelect.vue +19 -24
  55. package/lib/components/forms/UluFormText.vue +7 -25
  56. package/lib/components/forms/UluFormTextarea.vue +7 -25
  57. package/lib/components/forms/UluSearchForm.vue +67 -19
  58. package/lib/components/forms/UluSelectableMenu.vue +62 -62
  59. package/lib/components/index.js +1 -0
  60. package/lib/components/systems/facets/UluFacetsFilterSelects.vue +11 -14
  61. package/lib/components/utils/UluAction.vue +6 -2
  62. package/lib/plugins/core/index.js +2 -1
  63. package/lib/utils/props.js +14 -0
  64. package/package.json +3 -3
@@ -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
  }
@@ -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;
package/dist/index.js CHANGED
@@ -53,108 +53,109 @@ import { default as Xe } from "./components/forms/UluFormActions.vue.js";
53
53
  import { default as Ze } from "./components/forms/UluFormCheckbox.vue.js";
54
54
  import { default as $e } from "./components/forms/UluFormFieldset.vue.js";
55
55
  import { default as oo } from "./components/forms/UluFormItem.vue.js";
56
- import { default as to } from "./components/forms/UluFormItemsInline.vue.js";
57
- import { default as lo } from "./components/forms/UluFormRadio.vue.js";
58
- import { default as fo } from "./components/forms/UluFormRequiredChar.vue.js";
59
- import { default as mo } from "./components/forms/UluFormTextarea.vue.js";
60
- import { default as xo } from "./components/layout/UluAdaptiveLayout.vue.js";
61
- import { default as io } from "./components/layout/UluDataGrid.vue.js";
62
- import { default as co } from "./components/layout/UluTitleRail.vue.js";
63
- import { default as Fo } from "./components/layout/UluWhenBreakpoint.vue.js";
64
- import { default as bo } from "./components/navigation/UluBreadcrumb.vue.js";
65
- import { default as Ao } from "./components/navigation/UluMenu.vue.js";
66
- import { default as ko } from "./components/navigation/UluMenuStack.vue.js";
67
- import { default as Lo } from "./components/navigation/UluNavStrip.vue.js";
68
- import { default as Io } from "./components/navigation/UluPager.vue.js";
69
- import { default as yo } from "./components/utils/UluAction.vue.js";
70
- import { default as Mo } from "./components/utils/UluConditionalText.vue.js";
71
- import { default as Bo } from "./components/utils/UluConditionalWrapper.vue.js";
72
- import { default as No } from "./components/utils/UluPlaceholderImage.vue.js";
73
- import { default as Go } from "./components/utils/UluPlaceholderText.vue.js";
74
- import { default as qo } from "./components/utils/UluRouteAnnouncer.vue.js";
75
- import { default as Oo } from "./components/utils/UluSanityRichText.vue.js";
76
- import { default as jo } from "./components/visualizations/UluAnimateNumber.vue.js";
77
- import { default as Jo } from "./components/visualizations/UluProgressBar.vue.js";
78
- import { default as Qo } from "./components/visualizations/UluProgressCircle.vue.js";
79
- import { default as Yo } from "./components/systems/facets/UluFacetsActiveFilters.vue.js";
80
- import { default as _o } from "./components/systems/facets/UluFacetsFilterLists.vue.js";
81
- import { default as er } from "./components/systems/facets/UluFacetsFilterAccordions.vue.js";
82
- import { default as rr } from "./components/systems/facets/UluFacetsFilterPopovers.vue.js";
83
- import { default as ar } from "./components/systems/facets/UluFacetsFilterSelects.vue.js";
84
- import { default as ur } from "./components/systems/facets/UluFacetsHeaderLayout.vue.js";
85
- import { default as sr } from "./components/systems/facets/UluFacetsResults.vue.js";
86
- import { default as pr } from "./components/systems/facets/UluFacetsSearch.vue.js";
87
- import { default as xr } from "./components/systems/facets/UluFacetsSidebarLayout.vue.js";
88
- import { default as ir } from "./components/systems/facets/UluFacetsSort.vue.js";
89
- import { default as cr } from "./components/systems/facets/UluFacetsList.vue.js";
90
- import { default as Fr } from "./components/systems/scroll-anchors/UluScrollAnchors.vue.js";
91
- import { default as br } from "./components/systems/scroll-anchors/UluScrollAnchorsNav.vue.js";
92
- import { default as Ar } from "./components/systems/scroll-anchors/UluScrollAnchorsNavAnimated.vue.js";
93
- import { default as kr } from "./components/systems/scroll-anchors/UluScrollAnchorsSection.vue.js";
94
- import { default as Lr } from "./components/systems/scroll-anchors/UluScrollAnchorsHeadlessSection.vue.js";
95
- import { default as Ir } from "./components/systems/skeleton/UluShowSkeleton.vue.js";
96
- import { default as yr } from "./components/systems/skeleton/UluSkeletonContent.vue.js";
97
- import { default as Mr } from "./components/systems/skeleton/UluSkeletonMedia.vue.js";
98
- import { default as Br } from "./components/systems/skeleton/UluSkeletonText.vue.js";
99
- import { default as Nr } from "./components/systems/table-sticky/UluTableSticky.vue.js";
100
- import { default as Gr } from "./components/systems/table-sticky/UluTableStickyRows.vue.js";
101
- import { default as qr } from "./components/systems/table-sticky/UluTableStickyTable.vue.js";
102
- import { useTooltip as Or } from "./plugins/popovers/useTooltip.js";
103
- import { default as jr } from "./components/elements/UluMain.vue.js";
104
- import { default as Jr } from "./components/navigation/UluSkipLink.vue.js";
105
- import { default as Qr } from "./components/utils/UluEmpty.vue.js";
106
- import { default as Yr } from "./components/utils/UluEmptyView.vue.js";
107
- import { useFacets as _r } from "./components/systems/facets/useFacets.js";
108
- import { useScrollAnchors as et } from "./components/systems/scroll-anchors/useScrollAnchors.js";
109
- import { useScrollAnchorSection as rt } from "./components/systems/scroll-anchors/useScrollAnchorSection.js";
110
- import { useScrollAnchorSections as at } from "./components/systems/scroll-anchors/useScrollAnchorSections.js";
111
- import { useIcon as ut } from "./composables/useIcon.js";
112
- import { useModifiers as st } from "./composables/useModifiers.js";
113
- import { useWindowResize as pt } from "./composables/useWindowResize.js";
114
- import { useRequiredInject as xt } from "./composables/useRequiredInject.js";
115
- import { useBreakpointManager as it } from "./composables/useBreakpointManager.js";
116
- import { usePagination as ct } from "./composables/usePagination.js";
117
- import { useDocumentTitle as Ft } from "./composables/useDocumentTitle.js";
118
- import { useUluFloating as bt } from "./composables/useUluFloating.js";
119
- import { useTableData as At } from "./composables/useTableData.js";
56
+ import { default as to } from "./components/forms/UluFormLabel.vue.js";
57
+ import { default as lo } from "./components/forms/UluFormItemsInline.vue.js";
58
+ import { default as fo } from "./components/forms/UluFormRadio.vue.js";
59
+ import { default as mo } from "./components/forms/UluFormRequiredChar.vue.js";
60
+ import { default as xo } from "./components/forms/UluFormTextarea.vue.js";
61
+ import { default as io } from "./components/layout/UluAdaptiveLayout.vue.js";
62
+ import { default as co } from "./components/layout/UluDataGrid.vue.js";
63
+ import { default as Fo } from "./components/layout/UluTitleRail.vue.js";
64
+ import { default as bo } from "./components/layout/UluWhenBreakpoint.vue.js";
65
+ import { default as Ao } from "./components/navigation/UluBreadcrumb.vue.js";
66
+ import { default as ko } from "./components/navigation/UluMenu.vue.js";
67
+ import { default as Lo } from "./components/navigation/UluMenuStack.vue.js";
68
+ import { default as Io } from "./components/navigation/UluNavStrip.vue.js";
69
+ import { default as yo } from "./components/navigation/UluPager.vue.js";
70
+ import { default as Mo } from "./components/utils/UluAction.vue.js";
71
+ import { default as Bo } from "./components/utils/UluConditionalText.vue.js";
72
+ import { default as No } from "./components/utils/UluConditionalWrapper.vue.js";
73
+ import { default as Go } from "./components/utils/UluPlaceholderImage.vue.js";
74
+ import { default as qo } from "./components/utils/UluPlaceholderText.vue.js";
75
+ import { default as Oo } from "./components/utils/UluRouteAnnouncer.vue.js";
76
+ import { default as jo } from "./components/utils/UluSanityRichText.vue.js";
77
+ import { default as Jo } from "./components/visualizations/UluAnimateNumber.vue.js";
78
+ import { default as Qo } from "./components/visualizations/UluProgressBar.vue.js";
79
+ import { default as Yo } from "./components/visualizations/UluProgressCircle.vue.js";
80
+ import { default as _o } from "./components/systems/facets/UluFacetsActiveFilters.vue.js";
81
+ import { default as er } from "./components/systems/facets/UluFacetsFilterLists.vue.js";
82
+ import { default as rr } from "./components/systems/facets/UluFacetsFilterAccordions.vue.js";
83
+ import { default as ar } from "./components/systems/facets/UluFacetsFilterPopovers.vue.js";
84
+ import { default as ur } from "./components/systems/facets/UluFacetsFilterSelects.vue.js";
85
+ import { default as sr } from "./components/systems/facets/UluFacetsHeaderLayout.vue.js";
86
+ import { default as pr } from "./components/systems/facets/UluFacetsResults.vue.js";
87
+ import { default as xr } from "./components/systems/facets/UluFacetsSearch.vue.js";
88
+ import { default as ir } from "./components/systems/facets/UluFacetsSidebarLayout.vue.js";
89
+ import { default as cr } from "./components/systems/facets/UluFacetsSort.vue.js";
90
+ import { default as Fr } from "./components/systems/facets/UluFacetsList.vue.js";
91
+ import { default as br } from "./components/systems/scroll-anchors/UluScrollAnchors.vue.js";
92
+ import { default as Ar } from "./components/systems/scroll-anchors/UluScrollAnchorsNav.vue.js";
93
+ import { default as kr } from "./components/systems/scroll-anchors/UluScrollAnchorsNavAnimated.vue.js";
94
+ import { default as Lr } from "./components/systems/scroll-anchors/UluScrollAnchorsSection.vue.js";
95
+ import { default as Ir } from "./components/systems/scroll-anchors/UluScrollAnchorsHeadlessSection.vue.js";
96
+ import { default as yr } from "./components/systems/skeleton/UluShowSkeleton.vue.js";
97
+ import { default as Mr } from "./components/systems/skeleton/UluSkeletonContent.vue.js";
98
+ import { default as Br } from "./components/systems/skeleton/UluSkeletonMedia.vue.js";
99
+ import { default as Nr } from "./components/systems/skeleton/UluSkeletonText.vue.js";
100
+ import { default as Gr } from "./components/systems/table-sticky/UluTableSticky.vue.js";
101
+ import { default as qr } from "./components/systems/table-sticky/UluTableStickyRows.vue.js";
102
+ import { default as Or } from "./components/systems/table-sticky/UluTableStickyTable.vue.js";
103
+ import { useTooltip as jr } from "./plugins/popovers/useTooltip.js";
104
+ import { default as Jr } from "./components/elements/UluMain.vue.js";
105
+ import { default as Qr } from "./components/navigation/UluSkipLink.vue.js";
106
+ import { default as Yr } from "./components/utils/UluEmpty.vue.js";
107
+ import { default as _r } from "./components/utils/UluEmptyView.vue.js";
108
+ import { useFacets as et } from "./components/systems/facets/useFacets.js";
109
+ import { useScrollAnchors as rt } from "./components/systems/scroll-anchors/useScrollAnchors.js";
110
+ import { useScrollAnchorSection as at } from "./components/systems/scroll-anchors/useScrollAnchorSection.js";
111
+ import { useScrollAnchorSections as ut } from "./components/systems/scroll-anchors/useScrollAnchorSections.js";
112
+ import { useIcon as st } from "./composables/useIcon.js";
113
+ import { useModifiers as pt } from "./composables/useModifiers.js";
114
+ import { useWindowResize as xt } from "./composables/useWindowResize.js";
115
+ import { useRequiredInject as it } from "./composables/useRequiredInject.js";
116
+ import { useBreakpointManager as ct } from "./composables/useBreakpointManager.js";
117
+ import { usePagination as Ft } from "./composables/usePagination.js";
118
+ import { useDocumentTitle as bt } from "./composables/useDocumentTitle.js";
119
+ import { useUluFloating as At } from "./composables/useUluFloating.js";
120
+ import { useTableData as kt } from "./composables/useTableData.js";
120
121
  export {
121
122
  n as UluAccordion,
122
123
  S as UluAccordionGroup,
123
- yo as UluAction,
124
- xo as UluAdaptiveLayout,
124
+ Mo as UluAction,
125
+ io as UluAdaptiveLayout,
125
126
  E as UluAlert,
126
- jo as UluAnimateNumber,
127
+ Jo as UluAnimateNumber,
127
128
  W as UluBadge,
128
129
  H as UluBadgeStack,
129
- bo as UluBreadcrumb,
130
+ Ao as UluBreadcrumb,
130
131
  V as UluButton,
131
132
  z as UluButtonVerbose,
132
133
  K as UluCallout,
133
134
  X as UluCaptionedFigure,
134
135
  Z as UluCard,
135
136
  T as UluCollapsible,
136
- Mo as UluConditionalText,
137
- Bo as UluConditionalWrapper,
137
+ Bo as UluConditionalText,
138
+ No as UluConditionalWrapper,
138
139
  Se as UluCounterList,
139
- io as UluDataGrid,
140
+ co as UluDataGrid,
140
141
  $ as UluDataTable,
141
142
  oe as UluDefinitionList,
142
143
  te as UluDefinitionListItem,
143
144
  g as UluDropdown,
144
- Qr as UluEmpty,
145
- Yr as UluEmptyView,
145
+ Yr as UluEmpty,
146
+ _r as UluEmptyView,
146
147
  le as UluExternalLink,
147
- Yo as UluFacetsActiveFilters,
148
- er as UluFacetsFilterAccordions,
149
- _o as UluFacetsFilterLists,
150
- rr as UluFacetsFilterPopovers,
151
- ar as UluFacetsFilterSelects,
152
- ur as UluFacetsHeaderLayout,
153
- cr as UluFacetsList,
154
- sr as UluFacetsResults,
155
- pr as UluFacetsSearch,
156
- xr as UluFacetsSidebarLayout,
157
- ir as UluFacetsSort,
148
+ _o as UluFacetsActiveFilters,
149
+ rr as UluFacetsFilterAccordions,
150
+ er as UluFacetsFilterLists,
151
+ ar as UluFacetsFilterPopovers,
152
+ ur as UluFacetsFilterSelects,
153
+ sr as UluFacetsHeaderLayout,
154
+ Fr as UluFacetsList,
155
+ pr as UluFacetsResults,
156
+ xr as UluFacetsSearch,
157
+ ir as UluFacetsSidebarLayout,
158
+ cr as UluFacetsSort,
158
159
  De as UluFileDisplay,
159
160
  Ke as UluForm,
160
161
  Xe as UluFormActions,
@@ -162,46 +163,47 @@ export {
162
163
  $e as UluFormFieldset,
163
164
  Ee as UluFormFile,
164
165
  oo as UluFormItem,
165
- to as UluFormItemsInline,
166
+ lo as UluFormItemsInline,
167
+ to as UluFormLabel,
166
168
  We as UluFormMessage,
167
- lo as UluFormRadio,
168
- fo as UluFormRequiredChar,
169
+ fo as UluFormRadio,
170
+ mo as UluFormRequiredChar,
169
171
  He as UluFormSelect,
170
172
  Ve as UluFormText,
171
- mo as UluFormTextarea,
173
+ xo as UluFormTextarea,
172
174
  fe as UluIcon,
173
175
  me as UluImage,
174
176
  de as UluImageSource,
175
177
  Ue as UluList,
176
178
  ne as UluListItem,
177
- jr as UluMain,
178
- Ao as UluMenu,
179
- ko as UluMenuStack,
179
+ Jr as UluMain,
180
+ ko as UluMenu,
181
+ Lo as UluMenuStack,
180
182
  h as UluModal,
181
- Lo as UluNavStrip,
183
+ Io as UluNavStrip,
182
184
  P as UluOverflowPopover,
183
185
  Te as UluOverflowScroller,
184
- Io as UluPager,
185
- No as UluPlaceholderImage,
186
- Go as UluPlaceholderText,
187
- Jo as UluProgressBar,
188
- Qo as UluProgressCircle,
189
- qo as UluRouteAnnouncer,
186
+ yo as UluPager,
187
+ Go as UluPlaceholderImage,
188
+ qo as UluPlaceholderText,
189
+ Qo as UluProgressBar,
190
+ Yo as UluProgressCircle,
191
+ Oo as UluRouteAnnouncer,
190
192
  ge as UluRule,
191
- Oo as UluSanityRichText,
192
- Fr as UluScrollAnchors,
193
- Lr as UluScrollAnchorsHeadlessSection,
194
- br as UluScrollAnchorsNav,
195
- Ar as UluScrollAnchorsNavAnimated,
196
- kr as UluScrollAnchorsSection,
193
+ jo as UluSanityRichText,
194
+ br as UluScrollAnchors,
195
+ Ir as UluScrollAnchorsHeadlessSection,
196
+ Ar as UluScrollAnchorsNav,
197
+ kr as UluScrollAnchorsNavAnimated,
198
+ Lr as UluScrollAnchorsSection,
197
199
  he as UluScrollSlider,
198
200
  ze as UluSearchForm,
199
201
  we as UluSelectableMenu,
200
- Ir as UluShowSkeleton,
201
- yr as UluSkeletonContent,
202
- Mr as UluSkeletonMedia,
203
- Br as UluSkeletonText,
204
- Jr as UluSkipLink,
202
+ yr as UluShowSkeleton,
203
+ Mr as UluSkeletonContent,
204
+ Br as UluSkeletonMedia,
205
+ Nr as UluSkeletonText,
206
+ Qr as UluSkipLink,
205
207
  Pe as UluSlider,
206
208
  Ce as UluSpokeSpinner,
207
209
  C as UluTab,
@@ -210,31 +212,31 @@ export {
210
212
  w as UluTabPanel,
211
213
  D as UluTabPanels,
212
214
  ve as UluTable,
213
- Nr as UluTableSticky,
214
- Gr as UluTableStickyRows,
215
- qr as UluTableStickyTable,
215
+ Gr as UluTableSticky,
216
+ qr as UluTableStickyRows,
217
+ Or as UluTableStickyTable,
216
218
  Re as UluTag,
217
- co as UluTitleRail,
218
- Fo as UluWhenBreakpoint,
219
+ Fo as UluTitleRail,
220
+ bo as UluWhenBreakpoint,
219
221
  U as breakpointsPlugin,
220
222
  t as corePlugin,
221
223
  m as modalsPlugin,
222
224
  l as popoversPlugin,
223
225
  d as toastPlugin,
224
- it as useBreakpointManager,
225
- Ft as useDocumentTitle,
226
- _r as useFacets,
227
- ut as useIcon,
228
- st as useModifiers,
229
- ct as usePagination,
230
- xt as useRequiredInject,
231
- rt as useScrollAnchorSection,
232
- at as useScrollAnchorSections,
233
- et as useScrollAnchors,
234
- At as useTableData,
235
- Or as useTooltip,
226
+ ct as useBreakpointManager,
227
+ bt as useDocumentTitle,
228
+ et as useFacets,
229
+ st as useIcon,
230
+ pt as useModifiers,
231
+ Ft as usePagination,
232
+ it as useRequiredInject,
233
+ at as useScrollAnchorSection,
234
+ ut as useScrollAnchorSections,
235
+ rt as useScrollAnchors,
236
+ kt as useTableData,
237
+ jr as useTooltip,
236
238
  f as useTooltipFollow,
237
- bt as useUluFloating,
238
- pt as useWindowResize,
239
+ At as useUluFloating,
240
+ xt as useWindowResize,
239
241
  e as utils
240
242
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/plugins/core/index.js"],"names":[],"mappings":"AAmCA;;;;;;;;;;GAUG;AACH,qCAPW,MAAM,iBAEd;IAA+B,iBAAiB;IAClB,aAAa;IACX,gBAAgB;IAClB,WAAW;CAC3C,QA0DA;AAtED,gCAA0D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/plugins/core/index.js"],"names":[],"mappings":"AAoCA;;;;;;;;;;GAUG;AACH,qCAPW,MAAM,iBAEd;IAA+B,iBAAiB;IAClB,aAAa;IACX,gBAAgB;IAClB,WAAW;CAC3C,QA0DA;AAtED,gCAA0D"}
@@ -2,7 +2,7 @@ import { reactive as c } from "vue";
2
2
  const o = {
3
3
  fontAwesomeStatic: !1,
4
4
  iconComponent: null,
5
- iconPropResolver: (a) => ({ icon: a }),
5
+ iconPropResolver: (n) => ({ icon: n }),
6
6
  iconsByType: {
7
7
  danger: "fas fa-triangle-exclamation",
8
8
  warning: "fas fa-circle-exclamation",
@@ -22,12 +22,13 @@ const o = {
22
22
  file: "fas fa-file",
23
23
  previous: "fas fa-chevron-left",
24
24
  next: "fas fa-chevron-right",
25
- dropdownExpand: "fas fa-caret-down"
25
+ dropdownExpand: "fas fa-caret-down",
26
+ search: "fas fa-search"
26
27
  }
27
28
  };
28
- function p(a, f = {}) {
29
- const t = c({ ...o }), { iconsByType: i, ...r } = f || {};
30
- r && Object.assign(t, r);
29
+ function p(n, f = {}) {
30
+ const t = c({ ...o }), { iconsByType: r, ...i } = f || {};
31
+ i && Object.assign(t, i);
31
32
  const s = {
32
33
  // Methods to interact with settings
33
34
  getSettings() {
@@ -46,25 +47,25 @@ function p(a, f = {}) {
46
47
  }
47
48
  return t[e];
48
49
  },
49
- updateSetting(e, n) {
50
+ updateSetting(e, a) {
50
51
  if (typeof e != "string")
51
52
  throw new Error("Expected key to be string");
52
- t[e] = n;
53
+ t[e] = a;
53
54
  },
54
55
  getIcon(e) {
55
- const n = t.iconsByType;
56
- if (!n[e])
56
+ const a = t.iconsByType;
57
+ if (!a[e])
57
58
  throw new Error(`Icon type "${e}" not found!`);
58
- return n[e];
59
+ return a[e];
59
60
  },
60
- setIcon(e, n) {
61
- t.iconsByType[e] = n;
61
+ setIcon(e, a) {
62
+ t.iconsByType[e] = a;
62
63
  }
63
64
  };
64
- if (i)
65
- for (const [e, n] of Object.entries(i))
66
- s.setIcon(e, n);
67
- a.provide("uluCore", s), a.config.globalProperties.$uluCore = s;
65
+ if (r)
66
+ for (const [e, a] of Object.entries(r))
67
+ s.setIcon(e, a);
68
+ n.provide("uluCore", s), n.config.globalProperties.$uluCore = s;
68
69
  }
69
70
  export {
70
71
  p as default
@@ -4,4 +4,11 @@
4
4
  * @returns {Boolean} Whether all are objects within
5
5
  */
6
6
  export function isArrayOfObjects(array: any[]): boolean;
7
+ /**
8
+ * Checks for deprecated props and calls a callback for each match
9
+ * @param {object} props - The current props object
10
+ * @param {string[]} deprecatedNames - Array of prop names to check
11
+ * @param {function} callback - Function called for each match, receiving the prop name
12
+ */
13
+ export function checkDeprecatedProps(props: object, deprecatedNames: string[], callback: Function): void;
7
14
  //# sourceMappingURL=props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../lib/utils/props.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wDAEC"}
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../lib/utils/props.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wDAEC;AAED;;;;;GAKG;AACH,4CAJW,MAAM,mBACN,MAAM,EAAE,4BASlB"}
@@ -1,6 +1,12 @@
1
- function t(e) {
1
+ function f(e) {
2
2
  return e.every((r) => typeof r == "object");
3
3
  }
4
+ function o(e, r, t) {
5
+ r.forEach((c) => {
6
+ e[c] !== void 0 && t(c);
7
+ });
8
+ }
4
9
  export {
5
- t as isArrayOfObjects
10
+ o as checkDeprecatedProps,
11
+ f as isArrayOfObjects
6
12
  };