@ulu/frontend-vue 0.1.1-beta.2 → 0.1.1-beta.20

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 (222) hide show
  1. package/dist/{breakpoints-DfGETUy5.js → breakpoints-ZD2SdNmZ.js} +1 -1
  2. package/dist/frontend-vue.css +1 -1
  3. package/dist/frontend-vue.js +67 -65
  4. package/dist/{index-94HkwBnP.js → index-DQaSeg6Y.js} +2392 -2067
  5. package/lib/components/collapsible/UluAccordion.vue +9 -9
  6. package/lib/components/collapsible/UluCollapsible.vue +9 -24
  7. package/lib/components/elements/UluCard.vue +172 -157
  8. package/lib/components/elements/UluDefinitionList.vue +55 -3
  9. package/lib/components/forms/UluSelectableMenu.vue +8 -1
  10. package/lib/components/navigation/UluMenu.vue +5 -3
  11. package/lib/components/navigation/UluMenuStack.vue +47 -30
  12. package/lib/components/systems/facets/UluFacetsActiveFilters.vue +104 -0
  13. package/lib/components/systems/facets/UluFacetsFilterAccordions.vue +94 -0
  14. package/lib/components/systems/facets/UluFacetsFilterLists.vue +15 -11
  15. package/lib/components/systems/facets/UluFacetsList.vue +3 -1
  16. package/lib/components/systems/facets/UluFacetsSearch.vue +1 -1
  17. package/lib/components/systems/facets/UluFacetsSidebarLayout.vue +32 -12
  18. package/lib/components/systems/facets/useFacets.js +166 -40
  19. package/lib/components/systems/index.js +2 -0
  20. package/lib/components/systems/slider/UluSlideShow.vue +2 -2
  21. package/lib/components/visualizations/UluProgressCircle.vue +1 -1
  22. package/lib/plugins/core/index.js +3 -2
  23. package/lib/plugins/popovers/UluPopover.vue +1 -1
  24. package/package.json +12 -8
  25. package/types/components/collapsible/UluAccordion.vue.d.ts +41 -0
  26. package/types/components/collapsible/UluAccordion.vue.d.ts.map +1 -0
  27. package/types/components/collapsible/UluAccordionGroup.vue.d.ts +19 -0
  28. package/types/components/collapsible/UluAccordionGroup.vue.d.ts.map +1 -0
  29. package/types/components/collapsible/UluCollapsible.vue.d.ts +39 -0
  30. package/types/components/collapsible/UluCollapsible.vue.d.ts.map +1 -0
  31. package/types/components/collapsible/UluDropdown.vue.d.ts +22 -0
  32. package/types/components/collapsible/UluDropdown.vue.d.ts.map +1 -0
  33. package/types/components/collapsible/UluModal.vue.d.ts +253 -0
  34. package/types/components/collapsible/UluModal.vue.d.ts.map +1 -0
  35. package/types/components/collapsible/UluOverflowPopover.vue.d.ts +18 -0
  36. package/types/components/collapsible/UluOverflowPopover.vue.d.ts.map +1 -0
  37. package/types/components/collapsible/UluTab.vue.d.ts +10 -0
  38. package/types/components/collapsible/UluTab.vue.d.ts.map +1 -0
  39. package/types/components/collapsible/UluTabGroup.vue.d.ts +18 -0
  40. package/types/components/collapsible/UluTabGroup.vue.d.ts.map +1 -0
  41. package/types/components/collapsible/UluTabList.vue.d.ts +10 -0
  42. package/types/components/collapsible/UluTabList.vue.d.ts.map +1 -0
  43. package/types/components/collapsible/UluTabPanel.vue.d.ts +10 -0
  44. package/types/components/collapsible/UluTabPanel.vue.d.ts.map +1 -0
  45. package/types/components/collapsible/UluTabPanels.vue.d.ts +10 -0
  46. package/types/components/collapsible/UluTabPanels.vue.d.ts.map +1 -0
  47. package/types/components/elements/UluAlert.vue.d.ts +147 -0
  48. package/types/components/elements/UluAlert.vue.d.ts.map +1 -0
  49. package/types/components/elements/UluBadge.vue.d.ts +30 -0
  50. package/types/components/elements/UluBadge.vue.d.ts.map +1 -0
  51. package/types/components/elements/UluBadgeStack.vue.d.ts +9 -0
  52. package/types/components/elements/UluBadgeStack.vue.d.ts.map +1 -0
  53. package/types/components/elements/UluButton.vue.d.ts +186 -0
  54. package/types/components/elements/UluButton.vue.d.ts.map +1 -0
  55. package/types/components/elements/UluButtonVerbose.vue.d.ts +126 -0
  56. package/types/components/elements/UluButtonVerbose.vue.d.ts.map +1 -0
  57. package/types/components/elements/UluCallout.vue.d.ts +27 -0
  58. package/types/components/elements/UluCallout.vue.d.ts.map +1 -0
  59. package/types/components/elements/UluCard.vue.d.ts +66 -0
  60. package/types/components/elements/UluCard.vue.d.ts.map +1 -0
  61. package/types/components/elements/UluDefinitionList.vue.d.ts +42 -0
  62. package/types/components/elements/UluDefinitionList.vue.d.ts.map +1 -0
  63. package/types/components/elements/UluExternalLink.vue.d.ts +25 -0
  64. package/types/components/elements/UluExternalLink.vue.d.ts.map +1 -0
  65. package/types/components/elements/UluIcon.vue.d.ts +11 -0
  66. package/types/components/elements/UluIcon.vue.d.ts.map +1 -0
  67. package/types/components/elements/UluList.vue.d.ts +37 -0
  68. package/types/components/elements/UluList.vue.d.ts.map +1 -0
  69. package/types/components/elements/UluMain.vue.d.ts +13 -0
  70. package/types/components/elements/UluMain.vue.d.ts.map +1 -0
  71. package/types/components/elements/UluSpokeSpinner.vue.d.ts +9 -0
  72. package/types/components/elements/UluSpokeSpinner.vue.d.ts.map +1 -0
  73. package/types/components/elements/UluTag.vue.d.ts +26 -0
  74. package/types/components/elements/UluTag.vue.d.ts.map +1 -0
  75. package/types/components/forms/UluFileDisplay.vue.d.ts +23 -0
  76. package/types/components/forms/UluFileDisplay.vue.d.ts.map +1 -0
  77. package/types/components/forms/UluFormFile.vue.d.ts +26 -0
  78. package/types/components/forms/UluFormFile.vue.d.ts.map +1 -0
  79. package/types/components/forms/UluFormMessage.vue.d.ts +18 -0
  80. package/types/components/forms/UluFormMessage.vue.d.ts.map +1 -0
  81. package/types/components/forms/UluFormSelect.vue.d.ts +24 -0
  82. package/types/components/forms/UluFormSelect.vue.d.ts.map +1 -0
  83. package/types/components/forms/UluFormText.vue.d.ts +22 -0
  84. package/types/components/forms/UluFormText.vue.d.ts.map +1 -0
  85. package/types/components/forms/UluSearchForm.vue.d.ts +9 -0
  86. package/types/components/forms/UluSearchForm.vue.d.ts.map +1 -0
  87. package/types/components/forms/UluSelectableMenu.vue.d.ts +30 -0
  88. package/types/components/forms/UluSelectableMenu.vue.d.ts.map +1 -0
  89. package/types/components/index.d.ts +48 -0
  90. package/types/components/layout/UluAdaptiveLayout.vue.d.ts +12 -0
  91. package/types/components/layout/UluAdaptiveLayout.vue.d.ts.map +1 -0
  92. package/types/components/layout/UluDataGrid.vue.d.ts +3 -0
  93. package/types/components/layout/UluDataGrid.vue.d.ts.map +1 -0
  94. package/types/components/layout/UluTitleRail.vue.d.ts +91 -0
  95. package/types/components/layout/UluTitleRail.vue.d.ts.map +1 -0
  96. package/types/components/layout/UluWhenBreakpoint.vue.d.ts +20 -0
  97. package/types/components/layout/UluWhenBreakpoint.vue.d.ts.map +1 -0
  98. package/types/components/navigation/UluBreadcrumb.vue.d.ts +71 -0
  99. package/types/components/navigation/UluBreadcrumb.vue.d.ts.map +1 -0
  100. package/types/components/navigation/UluMenu.vue.d.ts +142 -0
  101. package/types/components/navigation/UluMenu.vue.d.ts.map +1 -0
  102. package/types/components/navigation/UluMenuStack.vue.d.ts +19 -0
  103. package/types/components/navigation/UluMenuStack.vue.d.ts.map +1 -0
  104. package/types/components/navigation/UluNavStrip.vue.d.ts +138 -0
  105. package/types/components/navigation/UluNavStrip.vue.d.ts.map +1 -0
  106. package/types/components/navigation/UluPager.vue.d.ts +15 -0
  107. package/types/components/navigation/UluPager.vue.d.ts.map +1 -0
  108. package/types/components/navigation/UluSkipLink.vue.d.ts +3 -0
  109. package/types/components/navigation/UluSkipLink.vue.d.ts.map +1 -0
  110. package/types/components/systems/facets/ExampleFacetsWithPagination.vue.d.ts +3 -0
  111. package/types/components/systems/facets/ExampleFacetsWithPagination.vue.d.ts.map +1 -0
  112. package/types/components/systems/facets/UluFacetsActiveFilters.vue.d.ts +24 -0
  113. package/types/components/systems/facets/UluFacetsActiveFilters.vue.d.ts.map +1 -0
  114. package/types/components/systems/facets/UluFacetsFilterAccordions.vue.d.ts +29 -0
  115. package/types/components/systems/facets/UluFacetsFilterAccordions.vue.d.ts.map +1 -0
  116. package/types/components/systems/facets/UluFacetsFilterLists.vue.d.ts +27 -0
  117. package/types/components/systems/facets/UluFacetsFilterLists.vue.d.ts.map +1 -0
  118. package/types/components/systems/facets/UluFacetsFilterPopovers.vue.d.ts +25 -0
  119. package/types/components/systems/facets/UluFacetsFilterPopovers.vue.d.ts.map +1 -0
  120. package/types/components/systems/facets/UluFacetsFilterSelects.vue.d.ts +11 -0
  121. package/types/components/systems/facets/UluFacetsFilterSelects.vue.d.ts.map +1 -0
  122. package/types/components/systems/facets/UluFacetsHeaderLayout.vue.d.ts +12 -0
  123. package/types/components/systems/facets/UluFacetsHeaderLayout.vue.d.ts.map +1 -0
  124. package/types/components/systems/facets/UluFacetsList.vue.d.ts +21 -0
  125. package/types/components/systems/facets/UluFacetsList.vue.d.ts.map +1 -0
  126. package/types/components/systems/facets/UluFacetsResults.vue.d.ts +27 -0
  127. package/types/components/systems/facets/UluFacetsResults.vue.d.ts.map +1 -0
  128. package/types/components/systems/facets/UluFacetsSearch.vue.d.ts +15 -0
  129. package/types/components/systems/facets/UluFacetsSearch.vue.d.ts.map +1 -0
  130. package/types/components/systems/facets/UluFacetsSidebarLayout.vue.d.ts +22 -0
  131. package/types/components/systems/facets/UluFacetsSidebarLayout.vue.d.ts.map +1 -0
  132. package/types/components/systems/facets/UluFacetsSort.vue.d.ts +22 -0
  133. package/types/components/systems/facets/UluFacetsSort.vue.d.ts.map +1 -0
  134. package/types/components/systems/facets/useFacets.d.ts +30 -12
  135. package/types/components/systems/facets/useFacets.d.ts.map +1 -1
  136. package/types/components/systems/index.d.ts +25 -0
  137. package/types/components/systems/scroll-anchors/UluScrollAnchors.vue.d.ts +60 -0
  138. package/types/components/systems/scroll-anchors/UluScrollAnchors.vue.d.ts.map +1 -0
  139. package/types/components/systems/scroll-anchors/UluScrollAnchorsNav.vue.d.ts +15 -0
  140. package/types/components/systems/scroll-anchors/UluScrollAnchorsNav.vue.d.ts.map +1 -0
  141. package/types/components/systems/scroll-anchors/UluScrollAnchorsNavAnimated.vue.d.ts +32 -0
  142. package/types/components/systems/scroll-anchors/UluScrollAnchorsNavAnimated.vue.d.ts.map +1 -0
  143. package/types/components/systems/scroll-anchors/UluScrollAnchorsSection.vue.d.ts +50 -0
  144. package/types/components/systems/scroll-anchors/UluScrollAnchorsSection.vue.d.ts.map +1 -0
  145. package/types/components/systems/scroll-anchors/symbols.d.ts +3 -3
  146. package/types/components/systems/scroll-anchors/symbols.d.ts.map +1 -1
  147. package/types/components/systems/skeleton/UluShowSkeleton.vue.d.ts +16 -0
  148. package/types/components/systems/skeleton/UluShowSkeleton.vue.d.ts.map +1 -0
  149. package/types/components/systems/skeleton/UluSkeletonContent.vue.d.ts +9 -0
  150. package/types/components/systems/skeleton/UluSkeletonContent.vue.d.ts.map +1 -0
  151. package/types/components/systems/skeleton/UluSkeletonMedia.vue.d.ts +3 -0
  152. package/types/components/systems/skeleton/UluSkeletonMedia.vue.d.ts.map +1 -0
  153. package/types/components/systems/skeleton/UluSkeletonText.vue.d.ts +13 -0
  154. package/types/components/systems/skeleton/UluSkeletonText.vue.d.ts.map +1 -0
  155. package/types/components/systems/slider/UluImageSlideShow.vue.d.ts +130 -0
  156. package/types/components/systems/slider/UluImageSlideShow.vue.d.ts.map +1 -0
  157. package/types/components/systems/slider/UluSlideShow.vue.d.ts +205 -0
  158. package/types/components/systems/slider/UluSlideShow.vue.d.ts.map +1 -0
  159. package/types/components/systems/slider/UluSlideShowSlide.vue.d.ts +17 -0
  160. package/types/components/systems/slider/UluSlideShowSlide.vue.d.ts.map +1 -0
  161. package/types/components/systems/table-sticky/UluTableSticky.vue.d.ts +455 -0
  162. package/types/components/systems/table-sticky/UluTableSticky.vue.d.ts.map +1 -0
  163. package/types/components/systems/table-sticky/UluTableStickyRows.vue.d.ts +34 -0
  164. package/types/components/systems/table-sticky/UluTableStickyRows.vue.d.ts.map +1 -0
  165. package/types/components/systems/table-sticky/UluTableStickyTable.vue.d.ts +151 -0
  166. package/types/components/systems/table-sticky/UluTableStickyTable.vue.d.ts.map +1 -0
  167. package/types/components/utils/UluCondText.vue.d.ts +29 -0
  168. package/types/components/utils/UluCondText.vue.d.ts.map +1 -0
  169. package/types/components/utils/UluEmpty.vue.d.ts +3 -0
  170. package/types/components/utils/UluEmpty.vue.d.ts.map +1 -0
  171. package/types/components/utils/UluEmptyView.vue.d.ts +3 -0
  172. package/types/components/utils/UluEmptyView.vue.d.ts.map +1 -0
  173. package/types/components/utils/UluPlaceholderImage.vue.d.ts +61 -0
  174. package/types/components/utils/UluPlaceholderImage.vue.d.ts.map +1 -0
  175. package/types/components/utils/UluPlaceholderText.vue.d.ts +24 -0
  176. package/types/components/utils/UluPlaceholderText.vue.d.ts.map +1 -0
  177. package/types/components/utils/UluRouteAnnouncer.vue.d.ts +63 -0
  178. package/types/components/utils/UluRouteAnnouncer.vue.d.ts.map +1 -0
  179. package/types/components/visualizations/UluAnimateNumber.vue.d.ts +16 -0
  180. package/types/components/visualizations/UluAnimateNumber.vue.d.ts.map +1 -0
  181. package/types/components/visualizations/UluProgressBar.vue.d.ts +66 -0
  182. package/types/components/visualizations/UluProgressBar.vue.d.ts.map +1 -0
  183. package/types/components/visualizations/UluProgressCircle.vue.d.ts +48 -0
  184. package/types/components/visualizations/UluProgressCircle.vue.d.ts.map +1 -0
  185. package/types/composables/useBreakpointManager.d.ts +1 -1
  186. package/types/composables/useBreakpointManager.d.ts.map +1 -1
  187. package/types/composables/useDocumentTitle.d.ts +4 -4
  188. package/types/composables/useDocumentTitle.d.ts.map +1 -1
  189. package/types/composables/useIcon.d.ts +1 -1
  190. package/types/composables/useIcon.d.ts.map +1 -1
  191. package/types/composables/useModifiers.d.ts +1 -1
  192. package/types/composables/useModifiers.d.ts.map +1 -1
  193. package/types/composables/useWindowResize.d.ts +1 -1
  194. package/types/composables/useWindowResize.d.ts.map +1 -1
  195. package/types/plugins/core/index.d.ts.map +1 -1
  196. package/types/plugins/modals/UluModalsDisplay.vue.d.ts +14 -0
  197. package/types/plugins/modals/UluModalsDisplay.vue.d.ts.map +1 -0
  198. package/types/plugins/modals/api.d.ts +7 -4
  199. package/types/plugins/modals/api.d.ts.map +1 -1
  200. package/types/plugins/popovers/UluPopover.vue.d.ts +53 -0
  201. package/types/plugins/popovers/UluPopover.vue.d.ts.map +1 -0
  202. package/types/plugins/popovers/UluTooltipDisplay.vue.d.ts +3 -0
  203. package/types/plugins/popovers/UluTooltipDisplay.vue.d.ts.map +1 -0
  204. package/types/plugins/popovers/UluTooltipPopover.vue.d.ts +3 -0
  205. package/types/plugins/popovers/UluTooltipPopover.vue.d.ts.map +1 -0
  206. package/types/plugins/popovers/defaults.d.ts +2 -2
  207. package/types/plugins/popovers/defaults.d.ts.map +1 -1
  208. package/types/plugins/popovers/manager.d.ts +50 -6
  209. package/types/plugins/popovers/manager.d.ts.map +1 -1
  210. package/types/plugins/popovers/useFollow.d.ts +4 -4
  211. package/types/plugins/popovers/useFollow.d.ts.map +1 -1
  212. package/types/plugins/toast/UluToast.vue.d.ts +52 -0
  213. package/types/plugins/toast/UluToast.vue.d.ts.map +1 -0
  214. package/types/plugins/toast/UluToastDisplay.vue.d.ts +13 -0
  215. package/types/plugins/toast/UluToastDisplay.vue.d.ts.map +1 -0
  216. package/types/plugins/toast/defaults.d.ts +39 -2
  217. package/types/plugins/toast/store.d.ts +65 -2
  218. package/types/plugins/toast/store.d.ts.map +1 -1
  219. package/types/utils/dom.d.ts +1 -1
  220. package/types/utils/dom.d.ts.map +1 -1
  221. package/types/utils/router.d.ts +15 -15
  222. package/types/utils/router.d.ts.map +1 -1
@@ -0,0 +1,455 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ /**
3
+ * By default you cannot have interactive items in the cloned sticky header and first column (if set)
4
+ * this disables that feature. It was set up that way for accessibility
5
+ */
6
+ allowClickClones: BooleanConstructor;
7
+ /**
8
+ * Allows user to pass classes object to add custom classes to parts of the component
9
+ */
10
+ classes: {
11
+ type: ObjectConstructor;
12
+ default: () => {};
13
+ };
14
+ /**
15
+ * Allow user to pass components
16
+ * - Passed the same values as if using a slot
17
+ * -
18
+ */
19
+ controlsComponent: ObjectConstructor;
20
+ /**
21
+ * Allows user to pass callback to get the row's value
22
+ */
23
+ getRowValue: FunctionConstructor;
24
+ getColumnTitle: FunctionConstructor;
25
+ /**
26
+ * Hidden caption for accessibility
27
+ */
28
+ caption: {
29
+ type: StringConstructor;
30
+ required: true;
31
+ };
32
+ /**
33
+ * Array of column configurations to convert to list output
34
+ *
35
+ * @property {Object} column A column config
36
+ * @property {String|Boolean} column.title The title to output for the column if set to a falsey value nothing will print
37
+ * @property {Array} column.columns Array of child columns
38
+ * @property {String} column.key The key that should be usec to grab column's value from rows
39
+ * @property {Function} column.value A function that returns the column's value used instead of key passed (row, column)
40
+ * @property {String} column.slot Register custom slot name to use as a template for this column. Passing a slot with this name will link them. The slot are passed the ({row, column}). Note this will disable output of the column's value
41
+ * @property {String} column.component Pass a component to use for this columns values (<td>)
42
+ * @property {String} column.componentHeader Pass a component to use for this columns header (<th>)
43
+ * @property {String} column.slotHeader Register custom slot name to use in the header
44
+ * @property {String} column.classHeader Custom class(s) to be set to column <th>
45
+ * @property {String} column.class Custom class(s) to be set to column's value <td>
46
+ * @property {String} column.html Use v-html output for value
47
+ * @property {String} column.rowHeader When this column is printed in the <tbody> it should be a header for the row. Note supports multiple row headers from left to right only. No rowspan support for rowHeaders.
48
+ */
49
+ columns: {
50
+ type: ArrayConstructor;
51
+ validator: (a: any) => any;
52
+ required: true;
53
+ };
54
+ /**
55
+ * Whether the first column of the table should be sticky
56
+ * - Requires that the table's first column header is nested
57
+ */
58
+ firstColumnSticky: BooleanConstructor;
59
+ /**
60
+ * Prefixed used for id generation
61
+ */
62
+ idPrefix: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ /**
67
+ * Array of tables rows (tbody)
68
+ * - Each row is an object who's value will matched to columns
69
+ */
70
+ rows: {
71
+ type: ArrayConstructor;
72
+ validator: (a: any) => any;
73
+ };
74
+ /**
75
+ * Array of rows for footer (tfoot)
76
+ */
77
+ footerRows: {
78
+ type: ArrayConstructor;
79
+ validator: (a: any) => any;
80
+ };
81
+ /**
82
+ * Enables the visibility of the scroll controls
83
+ * - Scroll controls shift the tables x-axis when the table has overflow-x
84
+ * - Can be templated manually using slot named "controlsButtons", slot needs to create layout and call methods
85
+ * + scope = { scrollLeft, scrollRight, canScrollLeft, canScrollRight }
86
+ * - Scroll controls are transformed with the header (move down as the user scrolls)
87
+ */
88
+ scrollControls: BooleanConstructor;
89
+ /**
90
+ * Scrollable context DOM Element, if the sticky element is within another
91
+ * scrolling parent use this to change the scroll activation handler to use a custom
92
+ * scrollable parent element
93
+ *
94
+ */
95
+ scrollContext: {
96
+ default: () => (Window & typeof globalThis) | null;
97
+ };
98
+ /**
99
+ * Amount to scroll when user uses scroll controls (pixels)
100
+ */
101
+ scrollControlAmount: {
102
+ type: NumberConstructor;
103
+ default: number;
104
+ };
105
+ }>, {}, {
106
+ currentColumns: any;
107
+ currentRows: any;
108
+ currentFooterRows: any;
109
+ headerRows: any;
110
+ sizesCalculated: boolean;
111
+ tableWidth: string;
112
+ resizeHandler: any;
113
+ resizing: boolean;
114
+ overflownX: boolean;
115
+ canScrollLeft: boolean;
116
+ canScrollRight: boolean;
117
+ displayY: null;
118
+ sizesPainted: boolean;
119
+ columnResizeObserver: ResizeObserver | null;
120
+ }, {
121
+ controlsShown(): boolean;
122
+ headerVisibleX(): boolean;
123
+ headerOpacityX(): "1" | "0";
124
+ /**
125
+ * Used to output the body rows. This is an array of only the deepest child columns
126
+ * parent column information can be accessed by reference
127
+ */
128
+ rowColumns(): any[];
129
+ headerHeight(): any;
130
+ /**
131
+ * Reduce the array of column header rows to the first row, first column
132
+ */
133
+ headerRowsFirst(): any[];
134
+ /**
135
+ * Reduce the rowColumn array to only the first column
136
+ */
137
+ rowColumnsFirst(): any[];
138
+ firstColumnSize(): {
139
+ width: any;
140
+ height: any;
141
+ };
142
+ }, {
143
+ resetSorts(except: any): void;
144
+ applySort(column: any): void;
145
+ onColumnResize(): void;
146
+ headerAdded(el: any): void;
147
+ headerRemoved(el: any): void;
148
+ /**
149
+ * Allow classes options to be strings or functions
150
+ */
151
+ resolveClasses(passed: any, args?: null): any;
152
+ /**
153
+ * Handles horizontal scroll
154
+ * - Shifts the first column as the user scrolls
155
+ */
156
+ syncScrollLeft(): void;
157
+ /**
158
+ * Checks and sets state if the table is overflow horizontally
159
+ */
160
+ checkOverflowX(): void;
161
+ /**
162
+ * Checks whether if the tables scroll position is at the start or end and updates state
163
+ */
164
+ checkScrollability(): void;
165
+ /**
166
+ * Creates column array for internal use
167
+ * - Avoid mutating user's prop
168
+ * - Current columns being used in the display
169
+ * - This internal copy has internal properties/structural info (like ID)
170
+ * - This is the copy of the users columns to avoid mutating their object
171
+ * - Can be used in the future for adding/removing or enabling/disabling
172
+ */
173
+ createColumns(): any;
174
+ /**
175
+ * Conversion of the columns (which are nested hierarchy) to a flat list of columns
176
+ * sorted by the way they need to be displayed in rows
177
+ * - Used for nested headers
178
+ * - Transform nested data into row arrays
179
+ */
180
+ createHeaderRows(currentColumns: any): {
181
+ height: string;
182
+ boxHeight: null;
183
+ columns: never[];
184
+ id: string;
185
+ }[];
186
+ /**
187
+ * Creates row array for internal use
188
+ * - Avoid mutating user's prop
189
+ */
190
+ createRows(forFooter: any): {
191
+ height: null;
192
+ boxHeight: null;
193
+ data: unknown;
194
+ id: string;
195
+ }[];
196
+ onResize(): void;
197
+ /**
198
+ * Method to update the table (sizes, etc) when data has changed
199
+ */
200
+ refresh(): void;
201
+ onScrollX(): void;
202
+ idCreator(type: any): () => string;
203
+ /**
204
+ * Recursive function used as a reducer to return the deepest nested columns
205
+ */
206
+ maxColumnChildren(d: any, c: any): any;
207
+ /**
208
+ * Method to attach handlers needed after creation
209
+ */
210
+ attachHandlers(): void;
211
+ removeHandlers(): void;
212
+ removeTableSizes(): void;
213
+ scrollLeft(): void;
214
+ scrollRight(): void;
215
+ /**
216
+ * Cleanup function for when component is not in use
217
+ */
218
+ setTableSizes(): void;
219
+ tableReady(): void;
220
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
221
+ /**
222
+ * By default you cannot have interactive items in the cloned sticky header and first column (if set)
223
+ * this disables that feature. It was set up that way for accessibility
224
+ */
225
+ allowClickClones: BooleanConstructor;
226
+ /**
227
+ * Allows user to pass classes object to add custom classes to parts of the component
228
+ */
229
+ classes: {
230
+ type: ObjectConstructor;
231
+ default: () => {};
232
+ };
233
+ /**
234
+ * Allow user to pass components
235
+ * - Passed the same values as if using a slot
236
+ * -
237
+ */
238
+ controlsComponent: ObjectConstructor;
239
+ /**
240
+ * Allows user to pass callback to get the row's value
241
+ */
242
+ getRowValue: FunctionConstructor;
243
+ getColumnTitle: FunctionConstructor;
244
+ /**
245
+ * Hidden caption for accessibility
246
+ */
247
+ caption: {
248
+ type: StringConstructor;
249
+ required: true;
250
+ };
251
+ /**
252
+ * Array of column configurations to convert to list output
253
+ *
254
+ * @property {Object} column A column config
255
+ * @property {String|Boolean} column.title The title to output for the column if set to a falsey value nothing will print
256
+ * @property {Array} column.columns Array of child columns
257
+ * @property {String} column.key The key that should be usec to grab column's value from rows
258
+ * @property {Function} column.value A function that returns the column's value used instead of key passed (row, column)
259
+ * @property {String} column.slot Register custom slot name to use as a template for this column. Passing a slot with this name will link them. The slot are passed the ({row, column}). Note this will disable output of the column's value
260
+ * @property {String} column.component Pass a component to use for this columns values (<td>)
261
+ * @property {String} column.componentHeader Pass a component to use for this columns header (<th>)
262
+ * @property {String} column.slotHeader Register custom slot name to use in the header
263
+ * @property {String} column.classHeader Custom class(s) to be set to column <th>
264
+ * @property {String} column.class Custom class(s) to be set to column's value <td>
265
+ * @property {String} column.html Use v-html output for value
266
+ * @property {String} column.rowHeader When this column is printed in the <tbody> it should be a header for the row. Note supports multiple row headers from left to right only. No rowspan support for rowHeaders.
267
+ */
268
+ columns: {
269
+ type: ArrayConstructor;
270
+ validator: (a: any) => any;
271
+ required: true;
272
+ };
273
+ /**
274
+ * Whether the first column of the table should be sticky
275
+ * - Requires that the table's first column header is nested
276
+ */
277
+ firstColumnSticky: BooleanConstructor;
278
+ /**
279
+ * Prefixed used for id generation
280
+ */
281
+ idPrefix: {
282
+ type: StringConstructor;
283
+ default: string;
284
+ };
285
+ /**
286
+ * Array of tables rows (tbody)
287
+ * - Each row is an object who's value will matched to columns
288
+ */
289
+ rows: {
290
+ type: ArrayConstructor;
291
+ validator: (a: any) => any;
292
+ };
293
+ /**
294
+ * Array of rows for footer (tfoot)
295
+ */
296
+ footerRows: {
297
+ type: ArrayConstructor;
298
+ validator: (a: any) => any;
299
+ };
300
+ /**
301
+ * Enables the visibility of the scroll controls
302
+ * - Scroll controls shift the tables x-axis when the table has overflow-x
303
+ * - Can be templated manually using slot named "controlsButtons", slot needs to create layout and call methods
304
+ * + scope = { scrollLeft, scrollRight, canScrollLeft, canScrollRight }
305
+ * - Scroll controls are transformed with the header (move down as the user scrolls)
306
+ */
307
+ scrollControls: BooleanConstructor;
308
+ /**
309
+ * Scrollable context DOM Element, if the sticky element is within another
310
+ * scrolling parent use this to change the scroll activation handler to use a custom
311
+ * scrollable parent element
312
+ *
313
+ */
314
+ scrollContext: {
315
+ default: () => (Window & typeof globalThis) | null;
316
+ };
317
+ /**
318
+ * Amount to scroll when user uses scroll controls (pixels)
319
+ */
320
+ scrollControlAmount: {
321
+ type: NumberConstructor;
322
+ default: number;
323
+ };
324
+ }>> & Readonly<{}>, {
325
+ classes: Record<string, any>;
326
+ idPrefix: string;
327
+ allowClickClones: boolean;
328
+ firstColumnSticky: boolean;
329
+ scrollControls: boolean;
330
+ scrollContext: Window & typeof globalThis;
331
+ scrollControlAmount: number;
332
+ }, {}, {
333
+ UluTableStickyTable: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
334
+ resolveClasses: FunctionConstructor;
335
+ classes: {
336
+ type: ObjectConstructor;
337
+ default: () => {};
338
+ };
339
+ caption: StringConstructor;
340
+ idPrefix: StringConstructor;
341
+ headerRows: {
342
+ type: ArrayConstructor;
343
+ required: true;
344
+ };
345
+ rows: ArrayConstructor;
346
+ footerRows: ArrayConstructor;
347
+ rowColumns: ArrayConstructor;
348
+ isActual: {
349
+ type: BooleanConstructor;
350
+ };
351
+ columnWidth: {
352
+ type: StringConstructor;
353
+ };
354
+ getRowValue: {
355
+ type: FunctionConstructor;
356
+ default: ({ row, column }: {
357
+ row: any;
358
+ column: any;
359
+ }) => any;
360
+ };
361
+ getColumnTitle: {
362
+ type: FunctionConstructor;
363
+ default: ({ column }: {
364
+ column: any;
365
+ }) => any;
366
+ };
367
+ }>, {}, {
368
+ headerRefs: {};
369
+ }, {}, {
370
+ handleSortFocus(column: any, isFocused: any): void;
371
+ addHeaderRef(column: any, el: any): void;
372
+ optionalAttr(val: any): any;
373
+ value({ row, column, rowIndex }: {
374
+ row: any;
375
+ column: any;
376
+ rowIndex: any;
377
+ }): any;
378
+ getCellHeaders(column: any, rowIndex: any): string;
379
+ getHeaderHeaders(column: any): any;
380
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
381
+ resolveClasses: FunctionConstructor;
382
+ classes: {
383
+ type: ObjectConstructor;
384
+ default: () => {};
385
+ };
386
+ caption: StringConstructor;
387
+ idPrefix: StringConstructor;
388
+ headerRows: {
389
+ type: ArrayConstructor;
390
+ required: true;
391
+ };
392
+ rows: ArrayConstructor;
393
+ footerRows: ArrayConstructor;
394
+ rowColumns: ArrayConstructor;
395
+ isActual: {
396
+ type: BooleanConstructor;
397
+ };
398
+ columnWidth: {
399
+ type: StringConstructor;
400
+ };
401
+ getRowValue: {
402
+ type: FunctionConstructor;
403
+ default: ({ row, column }: {
404
+ row: any;
405
+ column: any;
406
+ }) => any;
407
+ };
408
+ getColumnTitle: {
409
+ type: FunctionConstructor;
410
+ default: ({ column }: {
411
+ column: any;
412
+ }) => any;
413
+ };
414
+ }>> & Readonly<{}>, {
415
+ classes: Record<string, any>;
416
+ isActual: boolean;
417
+ getRowValue: Function;
418
+ getColumnTitle: Function;
419
+ }, {}, {
420
+ UluTableStickyRows: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
421
+ rows: ArrayConstructor;
422
+ rowColumns: ArrayConstructor;
423
+ columnWidth: StringConstructor;
424
+ optionalAttr: FunctionConstructor;
425
+ resolveClasses: FunctionConstructor;
426
+ getCellHeaders: FunctionConstructor;
427
+ value: FunctionConstructor;
428
+ isActual: BooleanConstructor;
429
+ classes: ObjectConstructor;
430
+ foot: {
431
+ type: BooleanConstructor;
432
+ default: boolean;
433
+ };
434
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
435
+ rows: ArrayConstructor;
436
+ rowColumns: ArrayConstructor;
437
+ columnWidth: StringConstructor;
438
+ optionalAttr: FunctionConstructor;
439
+ resolveClasses: FunctionConstructor;
440
+ getCellHeaders: FunctionConstructor;
441
+ value: FunctionConstructor;
442
+ isActual: BooleanConstructor;
443
+ classes: ObjectConstructor;
444
+ foot: {
445
+ type: BooleanConstructor;
446
+ default: boolean;
447
+ };
448
+ }>> & Readonly<{}>, {
449
+ isActual: boolean;
450
+ foot: boolean;
451
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
452
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
453
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
454
+ export default _default;
455
+ //# sourceMappingURL=UluTableSticky.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UluTableSticky.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/table-sticky/UluTableSticky.vue"],"names":[],"mappings":";IAkzBM;;;OAGG;;IAEH;;OAEG;;;;;IAKH;;;;OAIG;;IAEH;;OAEG;;;IAGH;;OAEG;;;;;IAKH;;;;;;;;;;;;;;;;OAgBG;;;;;;IAMH;;;OAGG;;IAEH;;OAEG;;;;;IAKH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAKH;;;;;;OAMG;;IAEH;;;;;OAKG;;;;IAIH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;IA4DH;;;OAGG;;;IAgCH;;OAEG;;IAYH;;OAEG;;;;;;;;;;;;IAiDH;;OAEG;;IAQH;;;OAGG;;IAKH;;OAEG;;IAIH;;OAEG;;IAOH;;;;;;;OAOG;;IAkCH;;;;;OAKG;;;;;;;IA8BH;;;OAGG;;;;;;;;IA4BH;;OAEG;;;;IAmBH;;OAEG;;IAKH;;OAEG;;;;;;IA2DH;;OAEG;;;;IA1eH;;;OAGG;;IAEH;;OAEG;;;;;IAKH;;;;OAIG;;IAEH;;OAEG;;;IAGH;;OAEG;;;;;IAKH;;;;;;;;;;;;;;;;OAgBG;;;;;;IAMH;;;OAGG;;IAEH;;OAEG;;;;;IAKH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAKH;;;;;;OAMG;;IAEH;;;;;OAKG;;;;IAIH;;OAEG"}
@@ -0,0 +1,34 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ rows: ArrayConstructor;
3
+ rowColumns: ArrayConstructor;
4
+ columnWidth: StringConstructor;
5
+ optionalAttr: FunctionConstructor;
6
+ resolveClasses: FunctionConstructor;
7
+ getCellHeaders: FunctionConstructor;
8
+ value: FunctionConstructor;
9
+ isActual: BooleanConstructor;
10
+ classes: ObjectConstructor;
11
+ foot: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
+ rows: ArrayConstructor;
17
+ rowColumns: ArrayConstructor;
18
+ columnWidth: StringConstructor;
19
+ optionalAttr: FunctionConstructor;
20
+ resolveClasses: FunctionConstructor;
21
+ getCellHeaders: FunctionConstructor;
22
+ value: FunctionConstructor;
23
+ isActual: BooleanConstructor;
24
+ classes: ObjectConstructor;
25
+ foot: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ }>> & Readonly<{}>, {
30
+ isActual: boolean;
31
+ foot: boolean;
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
+ export default _default;
34
+ //# sourceMappingURL=UluTableStickyRows.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UluTableStickyRows.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/table-sticky/UluTableStickyRows.vue"],"names":[],"mappings":""}
@@ -0,0 +1,151 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ resolveClasses: FunctionConstructor;
3
+ classes: {
4
+ type: ObjectConstructor;
5
+ default: () => {};
6
+ };
7
+ caption: StringConstructor;
8
+ idPrefix: StringConstructor;
9
+ headerRows: {
10
+ type: ArrayConstructor;
11
+ required: true;
12
+ };
13
+ rows: ArrayConstructor;
14
+ footerRows: ArrayConstructor;
15
+ rowColumns: ArrayConstructor;
16
+ /**
17
+ * Is the actual table not a clone for sticky headers
18
+ */
19
+ isActual: {
20
+ type: BooleanConstructor;
21
+ };
22
+ columnWidth: {
23
+ type: StringConstructor;
24
+ };
25
+ /**
26
+ * Optional user overridden value getter (for rows)
27
+ * @param {Object} row The current row
28
+ * @param {Object} column The current column in the row
29
+ */
30
+ getRowValue: {
31
+ type: FunctionConstructor;
32
+ default: ({ row, column }: {
33
+ row: any;
34
+ column: any;
35
+ }) => any;
36
+ };
37
+ /**
38
+ * Optional user overridden value getter (for rows)
39
+ * @param {Object} row The current row
40
+ * @param {Object} column The current column in the row
41
+ */
42
+ getColumnTitle: {
43
+ type: FunctionConstructor;
44
+ default: ({ column }: {
45
+ column: any;
46
+ }) => any;
47
+ };
48
+ }>, {}, {
49
+ headerRefs: {};
50
+ }, {}, {
51
+ handleSortFocus(column: any, isFocused: any): void;
52
+ addHeaderRef(column: any, el: any): void;
53
+ /**
54
+ * False is no longer not printed
55
+ */
56
+ optionalAttr(val: any): any;
57
+ value({ row, column, rowIndex }: {
58
+ row: any;
59
+ column: any;
60
+ rowIndex: any;
61
+ }): any;
62
+ getCellHeaders(column: any, rowIndex: any): string;
63
+ getHeaderHeaders(column: any): any;
64
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
65
+ resolveClasses: FunctionConstructor;
66
+ classes: {
67
+ type: ObjectConstructor;
68
+ default: () => {};
69
+ };
70
+ caption: StringConstructor;
71
+ idPrefix: StringConstructor;
72
+ headerRows: {
73
+ type: ArrayConstructor;
74
+ required: true;
75
+ };
76
+ rows: ArrayConstructor;
77
+ footerRows: ArrayConstructor;
78
+ rowColumns: ArrayConstructor;
79
+ /**
80
+ * Is the actual table not a clone for sticky headers
81
+ */
82
+ isActual: {
83
+ type: BooleanConstructor;
84
+ };
85
+ columnWidth: {
86
+ type: StringConstructor;
87
+ };
88
+ /**
89
+ * Optional user overridden value getter (for rows)
90
+ * @param {Object} row The current row
91
+ * @param {Object} column The current column in the row
92
+ */
93
+ getRowValue: {
94
+ type: FunctionConstructor;
95
+ default: ({ row, column }: {
96
+ row: any;
97
+ column: any;
98
+ }) => any;
99
+ };
100
+ /**
101
+ * Optional user overridden value getter (for rows)
102
+ * @param {Object} row The current row
103
+ * @param {Object} column The current column in the row
104
+ */
105
+ getColumnTitle: {
106
+ type: FunctionConstructor;
107
+ default: ({ column }: {
108
+ column: any;
109
+ }) => any;
110
+ };
111
+ }>> & Readonly<{}>, {
112
+ classes: Record<string, any>;
113
+ isActual: boolean;
114
+ getRowValue: Function;
115
+ getColumnTitle: Function;
116
+ }, {}, {
117
+ UluTableStickyRows: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
118
+ rows: ArrayConstructor;
119
+ rowColumns: ArrayConstructor;
120
+ columnWidth: StringConstructor;
121
+ optionalAttr: FunctionConstructor;
122
+ resolveClasses: FunctionConstructor;
123
+ getCellHeaders: FunctionConstructor;
124
+ value: FunctionConstructor;
125
+ isActual: BooleanConstructor;
126
+ classes: ObjectConstructor;
127
+ foot: {
128
+ type: BooleanConstructor;
129
+ default: boolean;
130
+ };
131
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
132
+ rows: ArrayConstructor;
133
+ rowColumns: ArrayConstructor;
134
+ columnWidth: StringConstructor;
135
+ optionalAttr: FunctionConstructor;
136
+ resolveClasses: FunctionConstructor;
137
+ getCellHeaders: FunctionConstructor;
138
+ value: FunctionConstructor;
139
+ isActual: BooleanConstructor;
140
+ classes: ObjectConstructor;
141
+ foot: {
142
+ type: BooleanConstructor;
143
+ default: boolean;
144
+ };
145
+ }>> & Readonly<{}>, {
146
+ isActual: boolean;
147
+ foot: boolean;
148
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
149
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
150
+ export default _default;
151
+ //# sourceMappingURL=UluTableStickyTable.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UluTableStickyTable.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/table-sticky/UluTableStickyTable.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;IAmQM;;OAEG;;;;;;;IAOH;;;;OAIG;;;;;;;;IAKH;;;;OAIG;;;;;;;;;;;;IA4BH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;IApDH;;OAEG;;;;;;;IAOH;;;;OAIG;;;;;;;;IAKH;;;;OAIG"}
@@ -0,0 +1,29 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ /**
3
+ * Text to print in element
4
+ */
5
+ text: (ObjectConstructor | StringConstructor | ArrayConstructor | NumberConstructor)[];
6
+ /**
7
+ * Element type to render (ie. h1, h2, p, etc)
8
+ */
9
+ element: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ /**
15
+ * Text to print in element
16
+ */
17
+ text: (ObjectConstructor | StringConstructor | ArrayConstructor | NumberConstructor)[];
18
+ /**
19
+ * Element type to render (ie. h1, h2, p, etc)
20
+ */
21
+ element: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ }>> & Readonly<{}>, {
26
+ element: string;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
28
+ export default _default;
29
+ //# sourceMappingURL=UluCondText.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UluCondText.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/utils/UluCondText.vue"],"names":[],"mappings":";IAmCM;;OAEG;;IAEH;;OAEG;;;;;;IANH;;OAEG;;IAEH;;OAEG"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
3
+ //# sourceMappingURL=UluEmpty.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UluEmpty.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/utils/UluEmpty.vue"],"names":[],"mappings":";AA+BA,wBACG"}