@ulu/frontend-vue 0.1.1-beta.1 → 0.1.1-beta.11

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 (217) hide show
  1. package/dist/{breakpoints-DM-CBTtb.js → breakpoints-CE1jJcpB.js} +1 -1
  2. package/dist/frontend-vue.css +1 -1
  3. package/dist/frontend-vue.js +65 -64
  4. package/dist/{index-BNRZ3Apw.js → index-QwwTSMNO.js} +1955 -1737
  5. package/lib/components/collapsible/UluAccordion.vue +9 -9
  6. package/lib/components/collapsible/UluCollapsible.vue +7 -7
  7. package/lib/components/forms/UluSelectableMenu.vue +8 -1
  8. package/lib/components/navigation/UluMenu.vue +5 -3
  9. package/lib/components/navigation/UluMenuStack.vue +47 -30
  10. package/lib/components/systems/facets/UluFacetsActiveFilters.vue +84 -0
  11. package/lib/components/systems/facets/UluFacetsFilterLists.vue +9 -3
  12. package/lib/components/systems/facets/UluFacetsList.vue +2 -0
  13. package/lib/components/systems/facets/UluFacetsSidebarLayout.vue +32 -12
  14. package/lib/components/systems/facets/useFacets.js +166 -40
  15. package/lib/components/systems/index.js +1 -0
  16. package/lib/components/systems/slider/UluSlideShow.vue +2 -2
  17. package/lib/components/visualizations/UluProgressBar.vue +57 -14
  18. package/lib/components/visualizations/UluProgressCircle.vue +124 -111
  19. package/lib/plugins/core/index.js +2 -2
  20. package/lib/plugins/popovers/UluPopover.vue +1 -1
  21. package/package.json +12 -8
  22. package/types/components/collapsible/UluAccordion.vue.d.ts +41 -0
  23. package/types/components/collapsible/UluAccordion.vue.d.ts.map +1 -0
  24. package/types/components/collapsible/UluAccordionGroup.vue.d.ts +19 -0
  25. package/types/components/collapsible/UluAccordionGroup.vue.d.ts.map +1 -0
  26. package/types/components/collapsible/UluCollapsible.vue.d.ts +39 -0
  27. package/types/components/collapsible/UluCollapsible.vue.d.ts.map +1 -0
  28. package/types/components/collapsible/UluDropdown.vue.d.ts +22 -0
  29. package/types/components/collapsible/UluDropdown.vue.d.ts.map +1 -0
  30. package/types/components/collapsible/UluModal.vue.d.ts +253 -0
  31. package/types/components/collapsible/UluModal.vue.d.ts.map +1 -0
  32. package/types/components/collapsible/UluOverflowPopover.vue.d.ts +18 -0
  33. package/types/components/collapsible/UluOverflowPopover.vue.d.ts.map +1 -0
  34. package/types/components/collapsible/UluTab.vue.d.ts +10 -0
  35. package/types/components/collapsible/UluTab.vue.d.ts.map +1 -0
  36. package/types/components/collapsible/UluTabGroup.vue.d.ts +18 -0
  37. package/types/components/collapsible/UluTabGroup.vue.d.ts.map +1 -0
  38. package/types/components/collapsible/UluTabList.vue.d.ts +10 -0
  39. package/types/components/collapsible/UluTabList.vue.d.ts.map +1 -0
  40. package/types/components/collapsible/UluTabPanel.vue.d.ts +10 -0
  41. package/types/components/collapsible/UluTabPanel.vue.d.ts.map +1 -0
  42. package/types/components/collapsible/UluTabPanels.vue.d.ts +10 -0
  43. package/types/components/collapsible/UluTabPanels.vue.d.ts.map +1 -0
  44. package/types/components/elements/UluAlert.vue.d.ts +147 -0
  45. package/types/components/elements/UluAlert.vue.d.ts.map +1 -0
  46. package/types/components/elements/UluBadge.vue.d.ts +30 -0
  47. package/types/components/elements/UluBadge.vue.d.ts.map +1 -0
  48. package/types/components/elements/UluBadgeStack.vue.d.ts +9 -0
  49. package/types/components/elements/UluBadgeStack.vue.d.ts.map +1 -0
  50. package/types/components/elements/UluButton.vue.d.ts +186 -0
  51. package/types/components/elements/UluButton.vue.d.ts.map +1 -0
  52. package/types/components/elements/UluButtonVerbose.vue.d.ts +126 -0
  53. package/types/components/elements/UluButtonVerbose.vue.d.ts.map +1 -0
  54. package/types/components/elements/UluCallout.vue.d.ts +27 -0
  55. package/types/components/elements/UluCallout.vue.d.ts.map +1 -0
  56. package/types/components/elements/UluCard.vue.d.ts +238 -0
  57. package/types/components/elements/UluCard.vue.d.ts.map +1 -0
  58. package/types/components/elements/UluDefinitionList.vue.d.ts +26 -0
  59. package/types/components/elements/UluDefinitionList.vue.d.ts.map +1 -0
  60. package/types/components/elements/UluExternalLink.vue.d.ts +25 -0
  61. package/types/components/elements/UluExternalLink.vue.d.ts.map +1 -0
  62. package/types/components/elements/UluIcon.vue.d.ts +11 -0
  63. package/types/components/elements/UluIcon.vue.d.ts.map +1 -0
  64. package/types/components/elements/UluList.vue.d.ts +37 -0
  65. package/types/components/elements/UluList.vue.d.ts.map +1 -0
  66. package/types/components/elements/UluMain.vue.d.ts +13 -0
  67. package/types/components/elements/UluMain.vue.d.ts.map +1 -0
  68. package/types/components/elements/UluSpokeSpinner.vue.d.ts +9 -0
  69. package/types/components/elements/UluSpokeSpinner.vue.d.ts.map +1 -0
  70. package/types/components/elements/UluTag.vue.d.ts +26 -0
  71. package/types/components/elements/UluTag.vue.d.ts.map +1 -0
  72. package/types/components/forms/UluFileDisplay.vue.d.ts +23 -0
  73. package/types/components/forms/UluFileDisplay.vue.d.ts.map +1 -0
  74. package/types/components/forms/UluFormFile.vue.d.ts +26 -0
  75. package/types/components/forms/UluFormFile.vue.d.ts.map +1 -0
  76. package/types/components/forms/UluFormMessage.vue.d.ts +18 -0
  77. package/types/components/forms/UluFormMessage.vue.d.ts.map +1 -0
  78. package/types/components/forms/UluFormSelect.vue.d.ts +24 -0
  79. package/types/components/forms/UluFormSelect.vue.d.ts.map +1 -0
  80. package/types/components/forms/UluFormText.vue.d.ts +22 -0
  81. package/types/components/forms/UluFormText.vue.d.ts.map +1 -0
  82. package/types/components/forms/UluSearchForm.vue.d.ts +9 -0
  83. package/types/components/forms/UluSearchForm.vue.d.ts.map +1 -0
  84. package/types/components/forms/UluSelectableMenu.vue.d.ts +30 -0
  85. package/types/components/forms/UluSelectableMenu.vue.d.ts.map +1 -0
  86. package/types/components/index.d.ts +48 -0
  87. package/types/components/layout/UluAdaptiveLayout.vue.d.ts +12 -0
  88. package/types/components/layout/UluAdaptiveLayout.vue.d.ts.map +1 -0
  89. package/types/components/layout/UluDataGrid.vue.d.ts +3 -0
  90. package/types/components/layout/UluDataGrid.vue.d.ts.map +1 -0
  91. package/types/components/layout/UluTitleRail.vue.d.ts +91 -0
  92. package/types/components/layout/UluTitleRail.vue.d.ts.map +1 -0
  93. package/types/components/layout/UluWhenBreakpoint.vue.d.ts +20 -0
  94. package/types/components/layout/UluWhenBreakpoint.vue.d.ts.map +1 -0
  95. package/types/components/navigation/UluBreadcrumb.vue.d.ts +71 -0
  96. package/types/components/navigation/UluBreadcrumb.vue.d.ts.map +1 -0
  97. package/types/components/navigation/UluMenu.vue.d.ts +142 -0
  98. package/types/components/navigation/UluMenu.vue.d.ts.map +1 -0
  99. package/types/components/navigation/UluMenuStack.vue.d.ts +19 -0
  100. package/types/components/navigation/UluMenuStack.vue.d.ts.map +1 -0
  101. package/types/components/navigation/UluNavStrip.vue.d.ts +138 -0
  102. package/types/components/navigation/UluNavStrip.vue.d.ts.map +1 -0
  103. package/types/components/navigation/UluPager.vue.d.ts +15 -0
  104. package/types/components/navigation/UluPager.vue.d.ts.map +1 -0
  105. package/types/components/navigation/UluSkipLink.vue.d.ts +3 -0
  106. package/types/components/navigation/UluSkipLink.vue.d.ts.map +1 -0
  107. package/types/components/systems/facets/ExampleFacetsWithPagination.vue.d.ts +3 -0
  108. package/types/components/systems/facets/ExampleFacetsWithPagination.vue.d.ts.map +1 -0
  109. package/types/components/systems/facets/UluFacetsActiveFilters.vue.d.ts +18 -0
  110. package/types/components/systems/facets/UluFacetsActiveFilters.vue.d.ts.map +1 -0
  111. package/types/components/systems/facets/UluFacetsFilterLists.vue.d.ts +27 -0
  112. package/types/components/systems/facets/UluFacetsFilterLists.vue.d.ts.map +1 -0
  113. package/types/components/systems/facets/UluFacetsFilterPopovers.vue.d.ts +25 -0
  114. package/types/components/systems/facets/UluFacetsFilterPopovers.vue.d.ts.map +1 -0
  115. package/types/components/systems/facets/UluFacetsFilterSelects.vue.d.ts +11 -0
  116. package/types/components/systems/facets/UluFacetsFilterSelects.vue.d.ts.map +1 -0
  117. package/types/components/systems/facets/UluFacetsHeaderLayout.vue.d.ts +12 -0
  118. package/types/components/systems/facets/UluFacetsHeaderLayout.vue.d.ts.map +1 -0
  119. package/types/components/systems/facets/UluFacetsList.vue.d.ts +21 -0
  120. package/types/components/systems/facets/UluFacetsList.vue.d.ts.map +1 -0
  121. package/types/components/systems/facets/UluFacetsResults.vue.d.ts +27 -0
  122. package/types/components/systems/facets/UluFacetsResults.vue.d.ts.map +1 -0
  123. package/types/components/systems/facets/UluFacetsSearch.vue.d.ts +15 -0
  124. package/types/components/systems/facets/UluFacetsSearch.vue.d.ts.map +1 -0
  125. package/types/components/systems/facets/UluFacetsSidebarLayout.vue.d.ts +22 -0
  126. package/types/components/systems/facets/UluFacetsSidebarLayout.vue.d.ts.map +1 -0
  127. package/types/components/systems/facets/UluFacetsSort.vue.d.ts +22 -0
  128. package/types/components/systems/facets/UluFacetsSort.vue.d.ts.map +1 -0
  129. package/types/components/systems/facets/useFacets.d.ts +30 -12
  130. package/types/components/systems/facets/useFacets.d.ts.map +1 -1
  131. package/types/components/systems/index.d.ts +24 -0
  132. package/types/components/systems/scroll-anchors/UluScrollAnchors.vue.d.ts +60 -0
  133. package/types/components/systems/scroll-anchors/UluScrollAnchors.vue.d.ts.map +1 -0
  134. package/types/components/systems/scroll-anchors/UluScrollAnchorsNav.vue.d.ts +15 -0
  135. package/types/components/systems/scroll-anchors/UluScrollAnchorsNav.vue.d.ts.map +1 -0
  136. package/types/components/systems/scroll-anchors/UluScrollAnchorsNavAnimated.vue.d.ts +32 -0
  137. package/types/components/systems/scroll-anchors/UluScrollAnchorsNavAnimated.vue.d.ts.map +1 -0
  138. package/types/components/systems/scroll-anchors/UluScrollAnchorsSection.vue.d.ts +50 -0
  139. package/types/components/systems/scroll-anchors/UluScrollAnchorsSection.vue.d.ts.map +1 -0
  140. package/types/components/systems/scroll-anchors/symbols.d.ts +3 -3
  141. package/types/components/systems/scroll-anchors/symbols.d.ts.map +1 -1
  142. package/types/components/systems/skeleton/UluShowSkeleton.vue.d.ts +16 -0
  143. package/types/components/systems/skeleton/UluShowSkeleton.vue.d.ts.map +1 -0
  144. package/types/components/systems/skeleton/UluSkeletonContent.vue.d.ts +9 -0
  145. package/types/components/systems/skeleton/UluSkeletonContent.vue.d.ts.map +1 -0
  146. package/types/components/systems/skeleton/UluSkeletonMedia.vue.d.ts +3 -0
  147. package/types/components/systems/skeleton/UluSkeletonMedia.vue.d.ts.map +1 -0
  148. package/types/components/systems/skeleton/UluSkeletonText.vue.d.ts +13 -0
  149. package/types/components/systems/skeleton/UluSkeletonText.vue.d.ts.map +1 -0
  150. package/types/components/systems/slider/UluImageSlideShow.vue.d.ts +130 -0
  151. package/types/components/systems/slider/UluImageSlideShow.vue.d.ts.map +1 -0
  152. package/types/components/systems/slider/UluSlideShow.vue.d.ts +205 -0
  153. package/types/components/systems/slider/UluSlideShow.vue.d.ts.map +1 -0
  154. package/types/components/systems/slider/UluSlideShowSlide.vue.d.ts +17 -0
  155. package/types/components/systems/slider/UluSlideShowSlide.vue.d.ts.map +1 -0
  156. package/types/components/systems/table-sticky/UluTableSticky.vue.d.ts +455 -0
  157. package/types/components/systems/table-sticky/UluTableSticky.vue.d.ts.map +1 -0
  158. package/types/components/systems/table-sticky/UluTableStickyRows.vue.d.ts +34 -0
  159. package/types/components/systems/table-sticky/UluTableStickyRows.vue.d.ts.map +1 -0
  160. package/types/components/systems/table-sticky/UluTableStickyTable.vue.d.ts +151 -0
  161. package/types/components/systems/table-sticky/UluTableStickyTable.vue.d.ts.map +1 -0
  162. package/types/components/utils/UluCondText.vue.d.ts +29 -0
  163. package/types/components/utils/UluCondText.vue.d.ts.map +1 -0
  164. package/types/components/utils/UluEmpty.vue.d.ts +3 -0
  165. package/types/components/utils/UluEmpty.vue.d.ts.map +1 -0
  166. package/types/components/utils/UluEmptyView.vue.d.ts +3 -0
  167. package/types/components/utils/UluEmptyView.vue.d.ts.map +1 -0
  168. package/types/components/utils/UluPlaceholderImage.vue.d.ts +61 -0
  169. package/types/components/utils/UluPlaceholderImage.vue.d.ts.map +1 -0
  170. package/types/components/utils/UluPlaceholderText.vue.d.ts +24 -0
  171. package/types/components/utils/UluPlaceholderText.vue.d.ts.map +1 -0
  172. package/types/components/utils/UluRouteAnnouncer.vue.d.ts +63 -0
  173. package/types/components/utils/UluRouteAnnouncer.vue.d.ts.map +1 -0
  174. package/types/components/visualizations/UluAnimateNumber.vue.d.ts +16 -0
  175. package/types/components/visualizations/UluAnimateNumber.vue.d.ts.map +1 -0
  176. package/types/components/visualizations/UluProgressBar.vue.d.ts +66 -0
  177. package/types/components/visualizations/UluProgressBar.vue.d.ts.map +1 -0
  178. package/types/components/visualizations/UluProgressCircle.vue.d.ts +48 -0
  179. package/types/components/visualizations/UluProgressCircle.vue.d.ts.map +1 -0
  180. package/types/composables/useBreakpointManager.d.ts +1 -1
  181. package/types/composables/useBreakpointManager.d.ts.map +1 -1
  182. package/types/composables/useDocumentTitle.d.ts +4 -4
  183. package/types/composables/useDocumentTitle.d.ts.map +1 -1
  184. package/types/composables/useIcon.d.ts +1 -1
  185. package/types/composables/useIcon.d.ts.map +1 -1
  186. package/types/composables/useModifiers.d.ts +1 -1
  187. package/types/composables/useModifiers.d.ts.map +1 -1
  188. package/types/composables/useWindowResize.d.ts +1 -1
  189. package/types/composables/useWindowResize.d.ts.map +1 -1
  190. package/types/plugins/modals/UluModalsDisplay.vue.d.ts +14 -0
  191. package/types/plugins/modals/UluModalsDisplay.vue.d.ts.map +1 -0
  192. package/types/plugins/modals/api.d.ts +7 -4
  193. package/types/plugins/modals/api.d.ts.map +1 -1
  194. package/types/plugins/popovers/UluPopover.vue.d.ts +53 -0
  195. package/types/plugins/popovers/UluPopover.vue.d.ts.map +1 -0
  196. package/types/plugins/popovers/UluTooltipDisplay.vue.d.ts +3 -0
  197. package/types/plugins/popovers/UluTooltipDisplay.vue.d.ts.map +1 -0
  198. package/types/plugins/popovers/UluTooltipPopover.vue.d.ts +3 -0
  199. package/types/plugins/popovers/UluTooltipPopover.vue.d.ts.map +1 -0
  200. package/types/plugins/popovers/defaults.d.ts +2 -2
  201. package/types/plugins/popovers/defaults.d.ts.map +1 -1
  202. package/types/plugins/popovers/manager.d.ts +50 -6
  203. package/types/plugins/popovers/manager.d.ts.map +1 -1
  204. package/types/plugins/popovers/useFollow.d.ts +4 -4
  205. package/types/plugins/popovers/useFollow.d.ts.map +1 -1
  206. package/types/plugins/toast/UluToast.vue.d.ts +52 -0
  207. package/types/plugins/toast/UluToast.vue.d.ts.map +1 -0
  208. package/types/plugins/toast/UluToastDisplay.vue.d.ts +13 -0
  209. package/types/plugins/toast/UluToastDisplay.vue.d.ts.map +1 -0
  210. package/types/plugins/toast/defaults.d.ts +39 -2
  211. package/types/plugins/toast/store.d.ts +65 -2
  212. package/types/plugins/toast/store.d.ts.map +1 -1
  213. package/types/utils/dom.d.ts +1 -1
  214. package/types/utils/dom.d.ts.map +1 -1
  215. package/types/utils/router.d.ts +15 -15
  216. package/types/utils/router.d.ts.map +1 -1
  217. package/lib/components/visualizations/progress-bar-examples.html +0 -175
@@ -3,12 +3,12 @@ export default function useFollowPoint(userOptions: any): {
3
3
  * Reactive X value
4
4
  * @type {Object}
5
5
  */
6
- x: any;
6
+ x: Object;
7
7
  /**
8
8
  * Reactive Y value
9
9
  * @type {Object}
10
10
  */
11
- y: any;
11
+ y: Object;
12
12
  /**
13
13
  * Show follow tooltip
14
14
  */
@@ -24,8 +24,8 @@ export default function useFollowPoint(userOptions: any): {
24
24
  * @param {Object} changes.y New 'y' value
25
25
  */
26
26
  update(changes: {
27
- x: any;
28
- y: any;
27
+ x: Object;
28
+ y: Object;
29
29
  }): void;
30
30
  };
31
31
  //# sourceMappingURL=useFollow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFollow.d.ts","sourceRoot":"","sources":["../../../lib/plugins/popovers/useFollow.js"],"names":[],"mappings":"AAOA;IAoCI;;;OAGG;;IAEH;;;OAGG;;IAEH;;OAEG;;IAIH;;OAEG;;IAIH;;;;;OAKG;oBAFA;QAAwB,CAAC;QACD,CAAC;KAC3B;EASJ"}
1
+ {"version":3,"file":"useFollow.d.ts","sourceRoot":"","sources":["../../../lib/plugins/popovers/useFollow.js"],"names":[],"mappings":"AAOA;IAoCI;;;OAGG;OADO,MAAM;IAGhB;;;OAGG;OADO,MAAM;IAGhB;;OAEG;;IAIH;;OAEG;;IAIH;;;;;OAKG;oBAFA;QAAwB,CAAC,EAAjB,MAAM;QACU,CAAC,EAAjB,MAAM;KAChB;EASJ"}
@@ -0,0 +1,52 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ /**
3
+ * Toast configuration
4
+ */
5
+ toast: ObjectConstructor;
6
+ /**
7
+ * Icons for each element { icon, header, content, date, actions, action, closeButton, title, body, closeButton }
8
+ */
9
+ classes: {
10
+ type: ObjectConstructor;
11
+ default: () => {
12
+ content: string;
13
+ date: string;
14
+ actions: string;
15
+ action: string;
16
+ closeButton: string;
17
+ };
18
+ };
19
+ }>, {}, {}, {}, {
20
+ handleAction(event: any, action: any): void;
21
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ /**
23
+ * Toast configuration
24
+ */
25
+ toast: ObjectConstructor;
26
+ /**
27
+ * Icons for each element { icon, header, content, date, actions, action, closeButton, title, body, closeButton }
28
+ */
29
+ classes: {
30
+ type: ObjectConstructor;
31
+ default: () => {
32
+ content: string;
33
+ date: string;
34
+ actions: string;
35
+ action: string;
36
+ closeButton: string;
37
+ };
38
+ };
39
+ }>> & Readonly<{}>, {
40
+ classes: Record<string, any>;
41
+ }, {}, {
42
+ UluIcon: import("vue").DefineComponent<{}, {
43
+ $props: Partial<{
44
+ readonly spaced: boolean;
45
+ readonly icon?: string | boolean | unknown[] | Record<string, any> | undefined;
46
+ }>;
47
+ spaced: boolean;
48
+ icon?: string | boolean | unknown[] | Record<string, any> | undefined;
49
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
50
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
51
+ export default _default;
52
+ //# sourceMappingURL=UluToast.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UluToast.vue.d.ts","sourceRoot":"","sources":["../../../lib/plugins/toast/UluToast.vue"],"names":[],"mappings":";IA+FM;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;IANH;;OAEG;;IAEH;;OAEG"}
@@ -0,0 +1,13 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {
2
+ toasts: never[];
3
+ pluginOptions: {
4
+ componentName: string;
5
+ componentNameDisplay: string;
6
+ teleportTo: string;
7
+ position: string[];
8
+ };
9
+ }, {
10
+ classes(): string[];
11
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
13
+ //# sourceMappingURL=UluToastDisplay.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UluToastDisplay.vue.d.ts","sourceRoot":"","sources":["../../../lib/plugins/toast/UluToastDisplay.vue"],"names":[],"mappings":""}
@@ -1,8 +1,45 @@
1
1
  declare namespace _default {
2
2
  namespace toastOptions {
3
- let component: any;
3
+ let component: import("vue").Raw<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ toast: ObjectConstructor;
5
+ classes: {
6
+ type: ObjectConstructor;
7
+ default: () => {
8
+ content: string;
9
+ date: string;
10
+ actions: string;
11
+ action: string;
12
+ closeButton: string;
13
+ };
14
+ };
15
+ }>, {}, {}, {}, {
16
+ handleAction(event: any, action: any): void;
17
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ toast: ObjectConstructor;
19
+ classes: {
20
+ type: ObjectConstructor;
21
+ default: () => {
22
+ content: string;
23
+ date: string;
24
+ actions: string;
25
+ action: string;
26
+ closeButton: string;
27
+ };
28
+ };
29
+ }>> & Readonly<{}>, {
30
+ classes: Record<string, any>;
31
+ }, {}, {
32
+ UluIcon: import("vue").DefineComponent<{}, {
33
+ $props: Partial<{
34
+ readonly spaced: boolean;
35
+ readonly icon?: string | boolean | unknown[] | Record<string, any> | undefined;
36
+ }>;
37
+ spaced: boolean;
38
+ icon?: string | boolean | unknown[] | Record<string, any> | undefined;
39
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
40
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
4
41
  let duration: number;
5
- let actions: any[];
42
+ let actions: never[];
6
43
  }
7
44
  namespace pluginOptions {
8
45
  let componentName: string;
@@ -1,14 +1,77 @@
1
1
  /**
2
2
  * Reactive State Object (used inside global components, and as API globally)
3
3
  */
4
- export const store: any;
4
+ export const store: {
5
+ toasts: never[];
6
+ pluginOptions: {
7
+ componentName: string;
8
+ componentNameDisplay: string;
9
+ teleportTo: string;
10
+ position: string[];
11
+ };
12
+ toastOptions: {
13
+ component: import("vue").Raw<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
14
+ toast: ObjectConstructor;
15
+ classes: {
16
+ type: ObjectConstructor;
17
+ default: () => {
18
+ content: string;
19
+ date: string;
20
+ actions: string;
21
+ action: string;
22
+ closeButton: string;
23
+ };
24
+ };
25
+ }>, {}, {}, {}, {
26
+ handleAction(event: any, action: any): void;
27
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
+ toast: ObjectConstructor;
29
+ classes: {
30
+ type: ObjectConstructor;
31
+ default: () => {
32
+ content: string;
33
+ date: string;
34
+ actions: string;
35
+ action: string;
36
+ closeButton: string;
37
+ };
38
+ };
39
+ }>> & Readonly<{}>, {
40
+ classes: Record<string, any>;
41
+ }, {}, {
42
+ UluIcon: import("vue").DefineComponent<{}, {
43
+ $props: Partial<{
44
+ readonly spaced: boolean;
45
+ readonly icon?: string | boolean | unknown[] | Record<string, any> | undefined;
46
+ }>;
47
+ spaced: boolean;
48
+ icon?: string | boolean | unknown[] | Record<string, any> | undefined;
49
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
50
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
51
+ duration: number;
52
+ actions: never[];
53
+ };
54
+ setToastOptions: (options: any) => {
55
+ componentName: string;
56
+ componentNameDisplay: string;
57
+ teleportTo: string;
58
+ position: string[];
59
+ };
60
+ setPluginOptions: (options: any) => {
61
+ componentName: string;
62
+ componentNameDisplay: string;
63
+ teleportTo: string;
64
+ position: string[];
65
+ };
66
+ createToast: (options: any) => any;
67
+ };
5
68
  export namespace api {
6
69
  /**
7
70
  *
8
71
  * @param {Object} options Toast options
9
72
  * @returns Toast object (to be used to remove)
10
73
  */
11
- function add(options: any): any;
74
+ function add(options: Object): any;
12
75
  /**
13
76
  *
14
77
  * @param {Object} toast Toast uid
@@ -1 +1 @@
1
- {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../lib/plugins/toast/store.js"],"names":[],"mappings":"AAMA;;GAEG;AACH,wBAwBG;;IAMD;;;;OAIG;IACH,gCASC;IACD;;;OAGG;IACH,gCAKC;IACD;;OAEG;IACH,2BAEC"}
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../lib/plugins/toast/store.js"],"names":[],"mappings":"AAMA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBG;;IAMD;;;;OAIG;IACH,sBAHW,MAAM,OAYhB;IACD;;;OAGG;IACH,gCAKC;IACD;;OAEG;IACH,2BAEC"}
@@ -4,6 +4,6 @@
4
4
  * @param {HTMLElement|Object} value - The unwrapped value from a template ref (e.g., `this.$refs.myElement` or `this.$refs.myComponent`)
5
5
  * @returns {HTMLElement} The HTMLElement or undefined if not found/resolved.
6
6
  */
7
- export function refToElement(value: HTMLElement | any): HTMLElement;
7
+ export function refToElement(value: HTMLElement | Object): HTMLElement;
8
8
  export function newId(prefix?: string): any;
9
9
  //# sourceMappingURL=dom.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../lib/utils/dom.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,oCAHW,WAAW,MAAO,GAChB,WAAW,CASvB;AAKD,4CAOC"}
1
+ {"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../lib/utils/dom.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,oCAHW,WAAW,GAAC,MAAM,GAChB,WAAW,CASvB;AAKD,4CAOC"}
@@ -28,8 +28,8 @@ export function getRouteTitle(route: object, currentRoute?: object): string | un
28
28
  * @returns {Array.<RouteMenuItem>} Array of menu items
29
29
  */
30
30
  export function createBaseMenu(routes: any, options: {
31
- qualifier: any;
32
- item: any;
31
+ qualifier: Object;
32
+ item: Object;
33
33
  }): Array<RouteMenuItem>;
34
34
  /**
35
35
  * Returns menu flat (no parent children)
@@ -46,14 +46,14 @@ export function flattenMenu(menu: any): any;
46
46
  */
47
47
  export function createSectionMenu(routes: any, sectionPath: any, options: {
48
48
  includeIndex: boolean;
49
- item: any;
49
+ item: Object;
50
50
  }): Array<RouteMenuItem>;
51
51
  /**
52
52
  * For a given array of child routes return the index
53
53
  * @param {Array} children Children array of routes
54
54
  * @returns {Object} Route
55
55
  */
56
- export function getChildIndexRoute(children: any[]): any;
56
+ export function getChildIndexRoute(children: any[]): Object;
57
57
  /**
58
58
  * Creates common menu item structure from route, pulls title and weight from meta (on route or index child)
59
59
  * @param {Object} route Route
@@ -63,7 +63,7 @@ export function getChildIndexRoute(children: any[]): any;
63
63
  * @param {Function} options.indexMeta Include the routes index child's meta (merged on top of route meta)
64
64
  * @returns {RouteMenuItem} Menu item
65
65
  */
66
- export function createMenuItem(route: any, routePath: any, options: {
66
+ export function createMenuItem(route: Object, routePath: Object | undefined, options: {
67
67
  modify: Function;
68
68
  indexMeta: Function;
69
69
  }): RouteMenuItem;
@@ -72,32 +72,32 @@ export function createMenuItem(route: any, routePath: any, options: {
72
72
  * @param {Object} route Route object to test
73
73
  * @returns {Boolean} Whether or not this route is static (not dynamic)
74
74
  */
75
- export function isStaticRoute(route: any): boolean;
75
+ export function isStaticRoute(route: Object): boolean;
76
76
  /**
77
77
  *
78
78
  * @param {Object} route Route object to test
79
79
  * @returns {Boolean} Whether or not this route is a static base route
80
80
  */
81
- export function isStaticBaseRoute(route: any): boolean;
81
+ export function isStaticBaseRoute(route: Object): boolean;
82
82
  /**
83
83
  * Function to make normal <a> behave as router links instread of page reload
84
84
  * @param {Object} router Router instance (ie src/router) to push routes to
85
85
  * @param {Object} event The event object that triggered route change (ie. onclick) pass event object
86
86
  */
87
- export function nativeLinkRouter(router: any, event: any): void;
87
+ export function nativeLinkRouter(router: Object, event: Object): void;
88
88
  /**
89
89
  * Returns the child routes for base route
90
90
  * @param {Object} route Route Object
91
91
  * @returns
92
92
  */
93
- export function $getRouteChildren(route: any, parent?: any): any;
93
+ export function $getRouteChildren(route: Object, parent?: Object | null): any;
94
94
  /**
95
95
  * Returns the route's parent
96
96
  * @param {Object} route Route Object
97
97
  * @param {Object} deepest By default this returns the routes parent, if deepest it will return it's base route (top level parent)
98
98
  * @return {Object|Null} Parent route, if there is no parent route for the given route this will return null
99
99
  */
100
- export function $getParentRoute(route: any, deepest: any): any | null;
100
+ export function $getParentRoute(route: Object, deepest: Object): Object | null;
101
101
  /**
102
102
  * For a given $route will return all it's children as menu items,
103
103
  * using the route's meta.title property for the title. This is for sections only (routes with children)
@@ -109,10 +109,10 @@ export function $getParentRoute(route: any, deepest: any): any | null;
109
109
  * @param {Object} options.item Options for createMenuItem
110
110
  * @returns {Array.<RouteMenuItem>} Array of menu items
111
111
  */
112
- export function $createSectionMenu(route: any, options: {
113
- parent: any;
112
+ export function $createSectionMenu(route: Object, options: {
113
+ parent: Object;
114
114
  includeIndex: boolean;
115
- item: any;
115
+ item: Object;
116
116
  }): Array<RouteMenuItem>;
117
117
  /**
118
118
  * For a given $route, this will generate a breadcrumb trail.
@@ -123,9 +123,9 @@ export function $createSectionMenu(route: any, options: {
123
123
  * @param {Object} route The Vue Router `$route` object.
124
124
  * @returns {Array.<{title: String, to: Object, current: Boolean}>} An array of breadcrumb items.
125
125
  */
126
- export function $createBreadcrumb(route: any): Array<{
126
+ export function $createBreadcrumb(route: Object): Array<{
127
127
  title: string;
128
- to: any;
128
+ to: Object;
129
129
  current: boolean;
130
130
  }>;
131
131
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../lib/utils/router.js"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;;GAQG;AACH,qCAJW,MAAM,iBACN,MAAM,GACJ,MAAM,GAAC,SAAS,CAW5B;AAED;;;;;GAKG;AAEH;;;;;;;GAOG;AACH,uCANW,GAAC,WAET;IAAwB,SAAS;IACT,IAAI;CAC5B,GAAU,KAAK,CAAE,aAAa,CAAC,CAgCjC;AAED;;GAEG;AACH,4CAcC;AAED;;;;;;;;GAQG;AACH,0CAPW,GAAC,eACD,GAAC,WAET;IAAyB,YAAY;IACb,IAAI;CAC5B,GAAU,KAAK,CAAE,aAAa,CAAC,CA4BjC;AAED;;;;GAIG;AACH,yDAEC;AAED;;;;;;;;GAQG;AACH,oEAJG;IAA0B,MAAM;IACN,SAAS;CACnC,GAAU,aAAa,CAuBzB;AAED;;;;GAIG;AACH,mDAEC;AAED;;;;GAIG;AACH,uDAGC;AAED;;;;GAIG;AACH,gEAUC;AAED;;;;GAIG;AACH,iEAEC;AAED;;;;;GAKG;AACH,2DAFY,UAAW,CAUtB;AAUD;;;;;;;;;;GAUG;AACH,wDALG;IAAwB,MAAM;IACL,YAAY;IACb,IAAI;CAC5B,GAAU,KAAK,CAAE,aAAa,CAAC,CAgBjC;AAED;;;;;;;;GAQG;AACH,+CAFa,KAAK,CAAE;IAAC,KAAK,SAAS;IAAC,EAAE,MAAS;IAAC,OAAO,UAAS;CAAC,CAAC,CA6BjE"}
1
+ {"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../lib/utils/router.js"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;;GAQG;AACH,qCAJW,MAAM,iBACN,MAAM,GACJ,MAAM,GAAC,SAAS,CAW5B;AAED;;;;;GAKG;AAEH;;;;;;;GAOG;AACH,uCANW,GAAC,WAET;IAAwB,SAAS,EAAzB,MAAM;IACU,IAAI,EAApB,MAAM;CACd,GAAU,KAAK,CAAE,aAAa,CAAC,CAgCjC;AAED;;GAEG;AACH,4CAcC;AAED;;;;;;;;GAQG;AACH,0CAPW,GAAC,eACD,GAAC,WAET;IAAyB,YAAY;IACb,IAAI,EAApB,MAAM;CACd,GAAU,KAAK,CAAE,aAAa,CAAC,CA4BjC;AAED;;;;GAIG;AACH,qDAFa,MAAM,CAIlB;AAED;;;;;;;;GAQG;AACH,sCAPW,MAAM,aACN,MAAM,uBAEd;IAA0B,MAAM;IACN,SAAS;CACnC,GAAU,aAAa,CAuBzB;AAED;;;;GAIG;AACH,qCAHW,MAAM,WAKhB;AAED;;;;GAIG;AACH,yCAHW,MAAM,WAMhB;AAED;;;;GAIG;AACH,yCAHW,MAAM,SACN,MAAM,QAYhB;AAED;;;;GAIG;AACH,yCAHW,MAAM,+BAKhB;AAED;;;;;GAKG;AACH,uCAJW,MAAM,WACN,MAAM,GACL,MAAM,OAAK,CAUtB;AAUD;;;;;;;;;;GAUG;AACH,0CAPW,MAAM,WAEd;IAAwB,MAAM,EAAtB,MAAM;IACW,YAAY;IACb,IAAI,EAApB,MAAM;CACd,GAAU,KAAK,CAAE,aAAa,CAAC,CAgBjC;AAED;;;;;;;;GAQG;AACH,yCAHW,MAAM,GACJ,KAAK,CAAE;IAAC,KAAK,SAAS;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,UAAS;CAAC,CAAC,CA6BjE"}
@@ -1,175 +0,0 @@
1
-
2
- <h2 class="h2">Basic Example</h2>
3
- <p>The default progress bar has no modifiers.</p>
4
- <div class="progress-bar">
5
- <div class="progress-bar__header"><strong class="progress-bar__label">Label that is long test</strong>
6
- </div>
7
- <div class="progress-bar__track">
8
- <div class="progress-bar__bar" style="width: 40%;"></div>
9
- </div>
10
- <div class="progress-bar__values">
11
- <div class="progress-bar__value progress-bar__value--amount"><strong class="hidden-visually">Amount:</strong>
12
- 200</div>
13
- <div class="progress-bar__value progress-bar__value--total"><strong class="hidden-visually">Total:</strong> 500
14
- </div>
15
- </div>
16
- </div>
17
-
18
- <div class="rule rule--light"></div>
19
-
20
- <h2 class="h2">Indeterminate Modifier</h2>
21
- <p>Uses the <code>.progress-bar--indeterminate</code> modifier for an animated loading state when the progress is unknown.</p>
22
- <div class="progress-bar progress-bar--loader progress-bar--indeterminate">
23
- <div class="progress-bar__track">
24
- <div class="progress-bar__bar"></div>
25
- </div>
26
- </div>
27
-
28
- <div class="rule rule--light"></div>
29
-
30
- <h2 class="h2">Loader Style</h2>
31
- <p>Uses the <code>.progress-bar--loader</code> modifier for a thin loading bar.</p>
32
- <div class="progress-bar progress-bar--loader">
33
- <div class="progress-bar__track">
34
- <div class="progress-bar__bar" style="width: 65%;"></div>
35
- </div>
36
- </div>
37
-
38
-
39
- <div class="rule rule--light"></div>
40
-
41
- <h2 class="h2">Completed Example</h2>
42
- <p>An example of a completed progress bar with an icon.</p>
43
- <div class="progress-bar">
44
- <div class="progress-bar__header"><strong class="progress-bar__label">Progress</strong>
45
- <div class="progress-bar__icon">
46
- <span class="fas fa-check" aria-hidden="true"></span>
47
- <span class="hidden-visually">Item Completed</span>
48
- </div>
49
- </div>
50
- <div class="progress-bar__track">
51
- <div class="progress-bar__bar" style="width: 100%;"></div>
52
- </div>
53
- <div class="progress-bar__values">
54
- <div class="progress-bar__value progress-bar__value--amount"><strong class="hidden-visually">Amount:</strong>
55
- 500</div>
56
- <div class="progress-bar__value progress-bar__value--total"><strong class="hidden-visually">Total:</strong> 500
57
- </div>
58
- </div>
59
- </div>
60
-
61
- <div class="rule rule--light"></div>
62
-
63
- <h2 class="h2">Deficit Example</h2>
64
- <p>An example of a progress bar with a deficit.</p>
65
- <div class="progress-bar">
66
- <div class="progress-bar__header"><strong class="progress-bar__label">Progress</strong>
67
- <div class="progress-bar__icon"><span class="fas fa-triangle-exclamation" aria-hidden="true"></span><span class="hidden-visually">Item Has Deficit</span></div>
68
- </div>
69
- <div class="progress-bar__track">
70
- <div class="progress-bar__bar" style="width: 60%;"></div>
71
- <div class="progress-bar__bar progress-bar__bar--deficit" style="width: 20%;"></div>
72
- </div>
73
- <div class="progress-bar__values">
74
- <div class="progress-bar__value progress-bar__value--amount"><strong class="hidden-visually">Amount:</strong>
75
- 300</div>
76
- <div class="progress-bar__value progress-bar__value--deficit color-status is-danger"><strong
77
- class="hidden-visually">Deficit: </strong> -100</div>
78
- <div class="progress-bar__value progress-bar__value--total"><strong class="hidden-visually">Total:</strong> 500
79
- </div>
80
- </div>
81
- </div>
82
-
83
- <div class="rule rule--light"></div>
84
-
85
- <h2 class="h2">Positive Style</h2>
86
- <p>Uses the <code>.progress-bar--positive</code> modifier.</p>
87
- <div class="progress-bar progress-bar--positive">
88
- <div class="progress-bar__header"><strong class="progress-bar__label">Positive</strong></div>
89
- <div class="progress-bar__track">
90
- <div class="progress-bar__bar" style="width: 75%;"></div>
91
- </div>
92
- </div>
93
-
94
- <div class="rule rule--light"></div>
95
-
96
- <h2 class="h2">Negative Style</h2>
97
- <p>Uses the <code>.progress-bar--negative</code> modifier.</p>
98
- <div class="progress-bar progress-bar--negative">
99
- <div class="progress-bar__header"><strong class="progress-bar__label">Negative</strong></div>
100
- <div class="progress-bar__track">
101
- <div class="progress-bar__bar" style="width: 30%;"></div>
102
- </div>
103
- </div>
104
-
105
- <div class="rule rule--light"></div>
106
-
107
- <h2 class="h2">Small Modifier</h2>
108
- <p>Uses the <code>.progress-bar--small</code> modifier. Font sizing is controlled by the parent element.</p>
109
- <div class="progress-bar progress-bar--small progress-bar--positive type-small">
110
- <div class="progress-bar__header"><strong class="progress-bar__label type-normal">Progress</strong>
111
- <div class="progress-bar__icon">
112
- <span class="fas fa-check" aria-hidden="true"></span>
113
- <span class="hidden-visually">Item Completed</span>
114
- </div>
115
- </div>
116
- <div class="progress-bar__track">
117
- <div class="progress-bar__bar" style="width: 100%;"></div>
118
- </div>
119
- <div class="progress-bar__values">
120
- <div class="progress-bar__value progress-bar__value--amount"><strong class="hidden-visually">Amount:</strong>
121
- 500</div>
122
- <div class="progress-bar__value progress-bar__value--total"><strong class="hidden-visually">Total:</strong> 500
123
- </div>
124
- </div>
125
- </div>
126
-
127
- <div class="progress-bar progress-bar--small progress-bar--deficit type-small">
128
- <div class="progress-bar__header"><strong class="progress-bar__label type-normal">Progress</strong>
129
- <div class="progress-bar__icon"><span class="fas fa-triangle-exclamation" aria-hidden="true"></span><span class="hidden-visually">Item Has Deficit</span></div>
130
- </div>
131
- <div class="progress-bar__track">
132
- <div class="progress-bar__bar" style="width: 60%;"></div>
133
- <div class="progress-bar__bar progress-bar__bar--deficit" style="width: 20%;"></div>
134
- </div>
135
- <div class="progress-bar__values">
136
- <div class="progress-bar__value progress-bar__value--amount"><strong class="hidden-visually">Amount:</strong>
137
- 300</div>
138
- <div class="progress-bar__value progress-bar__value--deficit color-status is-danger"><strong
139
- class="hidden-visually">Deficit: </strong> -100</div>
140
- <div class="progress-bar__value progress-bar__value--total"><strong class="hidden-visually">Total:</strong> 500
141
- </div>
142
- </div>
143
- </div>
144
-
145
- <div class="rule rule--light"></div>
146
-
147
- <h2 class="h2">Icon left with rail</h2>
148
- <p>Combining with rail component for icon on left</p>
149
-
150
- <div class="progress-bar progress-bar--positive">
151
- <div class="rail">
152
- <div class="rail__item">
153
- <div class="progress-bar__icon type-large">
154
- <span class="fas fa-check" aria-hidden="true"></span>
155
- </div>
156
- </div>
157
- <div class="rail__item flex-grow">
158
- <div class="progress-bar__header">
159
- <strong class="progress-bar__label">Progress</strong>
160
- </div>
161
- <div class="progress-bar__track">
162
- <div class="progress-bar__bar" style="width: 100%;"></div>
163
- </div>
164
- <div class="progress-bar__values">
165
- <div class="progress-bar__value progress-bar__value--amount"><strong class="hidden-visually">Amount:</strong>
166
- 300</div>
167
- <div class="progress-bar__value progress-bar__value--deficit color-status is-danger"><strong
168
- class="hidden-visually">Deficit: </strong> -100</div>
169
- <div class="progress-bar__value progress-bar__value--total"><strong class="hidden-visually">Total:</strong> 500
170
- </div>
171
- </div>
172
- </div>
173
- </div>
174
-
175
-