@ulu/frontend-vue 0.2.0-beta.8 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/dist/components/collapsible/UluAccordionGroup.vue.d.ts +2 -2
  2. package/dist/components/collapsible/UluAccordionGroup.vue.d.ts.map +1 -1
  3. package/dist/components/collapsible/UluAccordionGroup.vue.js +22 -19
  4. package/dist/components/collapsible/UluDropdown.vue.d.ts +1 -1
  5. package/dist/components/collapsible/UluDropdown.vue.d.ts.map +1 -1
  6. package/dist/components/collapsible/UluDropdown.vue.js +22 -15
  7. package/dist/components/collapsible/UluModal.vue.d.ts +43 -248
  8. package/dist/components/collapsible/UluModal.vue.d.ts.map +1 -1
  9. package/dist/components/collapsible/UluModal.vue.js +139 -191
  10. package/dist/components/collapsible/UluTabGroup.vue.d.ts +2 -0
  11. package/dist/components/collapsible/UluTabGroup.vue.d.ts.map +1 -1
  12. package/dist/components/collapsible/UluTabGroup.vue.js +23 -14
  13. package/dist/components/elements/UluAlert.vue.d.ts +29 -144
  14. package/dist/components/elements/UluAlert.vue.d.ts.map +1 -1
  15. package/dist/components/elements/UluAlert.vue.js +39 -50
  16. package/dist/components/elements/UluBadge.vue.d.ts +6 -6
  17. package/dist/components/elements/UluBadgeStack.vue.d.ts +1 -1
  18. package/dist/components/elements/UluBadgeStack.vue.d.ts.map +1 -1
  19. package/dist/components/elements/UluBadgeStack.vue.js +12 -9
  20. package/dist/components/elements/UluButton.vue.d.ts +47 -177
  21. package/dist/components/elements/UluButton.vue.d.ts.map +1 -1
  22. package/dist/components/elements/UluButton.vue.js +59 -72
  23. package/dist/components/elements/UluButtonVerbose.vue.d.ts +38 -123
  24. package/dist/components/elements/UluButtonVerbose.vue.d.ts.map +1 -1
  25. package/dist/components/elements/UluButtonVerbose.vue.js +52 -65
  26. package/dist/components/elements/UluCallout.vue.d.ts +20 -25
  27. package/dist/components/elements/UluCallout.vue.d.ts.map +1 -1
  28. package/dist/components/elements/UluCallout.vue.js +11 -16
  29. package/dist/components/elements/UluCaptionedFigure.vue.d.ts +25 -0
  30. package/dist/components/elements/UluCaptionedFigure.vue.d.ts.map +1 -0
  31. package/dist/components/elements/UluCaptionedFigure.vue.js +48 -0
  32. package/dist/components/elements/UluCard.vue.d.ts +2 -2
  33. package/dist/components/elements/UluDefinitionList.vue.d.ts +4 -2
  34. package/dist/components/elements/UluDefinitionList.vue.d.ts.map +1 -1
  35. package/dist/components/elements/UluDefinitionList.vue.js +32 -28
  36. package/dist/components/elements/UluExternalLink.vue.d.ts +2 -2
  37. package/dist/components/elements/UluImage.vue.d.ts +14 -0
  38. package/dist/components/elements/UluImage.vue.d.ts.map +1 -0
  39. package/dist/components/elements/UluImage.vue.js +53 -0
  40. package/dist/components/elements/UluList.vue.d.ts.map +1 -1
  41. package/dist/components/elements/UluList.vue.js +14 -13
  42. package/dist/components/elements/UluOverflowScroller.vue.d.ts +49 -0
  43. package/dist/components/elements/UluOverflowScroller.vue.d.ts.map +1 -0
  44. package/dist/components/elements/UluOverflowScroller.vue.js +138 -0
  45. package/dist/components/elements/UluScrollSlider.vue.d.ts +38 -0
  46. package/dist/components/elements/UluScrollSlider.vue.d.ts.map +1 -0
  47. package/dist/components/elements/UluScrollSlider.vue.js +146 -0
  48. package/dist/components/elements/UluSlider.vue.d.ts +57 -0
  49. package/dist/components/elements/UluSlider.vue.d.ts.map +1 -0
  50. package/dist/components/elements/UluSlider.vue.js +277 -0
  51. package/dist/components/forms/UluFormFile.vue.d.ts +2 -2
  52. package/dist/components/forms/UluFormRadio.vue.d.ts +4 -4
  53. package/dist/components/index.d.ts +6 -0
  54. package/dist/components/layout/UluTitleRail.vue.d.ts +29 -87
  55. package/dist/components/layout/UluTitleRail.vue.d.ts.map +1 -1
  56. package/dist/components/layout/UluTitleRail.vue.js +51 -46
  57. package/dist/components/navigation/UluBreadcrumb.vue.d.ts +27 -68
  58. package/dist/components/navigation/UluBreadcrumb.vue.d.ts.map +1 -1
  59. package/dist/components/navigation/UluBreadcrumb.vue.js +51 -54
  60. package/dist/components/navigation/UluMenu.vue.d.ts +30 -138
  61. package/dist/components/navigation/UluMenu.vue.d.ts.map +1 -1
  62. package/dist/components/navigation/UluMenu.vue.js +85 -84
  63. package/dist/components/navigation/UluMenuStack.vue.d.ts +12 -2
  64. package/dist/components/navigation/UluMenuStack.vue.d.ts.map +1 -1
  65. package/dist/components/navigation/UluMenuStack.vue.js +26 -18
  66. package/dist/components/navigation/UluNavStrip.vue.d.ts +22 -134
  67. package/dist/components/navigation/UluNavStrip.vue.d.ts.map +1 -1
  68. package/dist/components/navigation/UluNavStrip.vue.js +43 -31
  69. package/dist/components/systems/facets/UluFacetsSidebarLayout.vue.js +10 -10
  70. package/dist/components/systems/facets/useFacets.d.ts +3 -0
  71. package/dist/components/systems/facets/useFacets.d.ts.map +1 -1
  72. package/dist/components/systems/facets/useFacets.js +124 -112
  73. package/dist/components/systems/index.d.ts +0 -3
  74. package/dist/components/systems/scroll-anchors/UluScrollAnchors.vue.d.ts +2 -2
  75. package/dist/components/systems/table-sticky/UluTableSticky.vue.d.ts +504 -432
  76. package/dist/components/systems/table-sticky/UluTableSticky.vue.d.ts.map +1 -1
  77. package/dist/components/systems/table-sticky/UluTableSticky.vue.js +313 -456
  78. package/dist/components/systems/table-sticky/UluTableStickyRows.vue.d.ts +40 -31
  79. package/dist/components/systems/table-sticky/UluTableStickyRows.vue.d.ts.map +1 -1
  80. package/dist/components/systems/table-sticky/UluTableStickyRows.vue.js +43 -45
  81. package/dist/components/systems/table-sticky/UluTableStickyTable.vue.d.ts +60 -146
  82. package/dist/components/systems/table-sticky/UluTableStickyTable.vue.d.ts.map +1 -1
  83. package/dist/components/systems/table-sticky/UluTableStickyTable.vue.js +156 -175
  84. package/dist/components/utils/UluAction.vue.d.ts +36 -0
  85. package/dist/components/utils/UluAction.vue.d.ts.map +1 -0
  86. package/dist/components/utils/UluAction.vue.js +59 -0
  87. package/dist/components/utils/UluConditionalText.vue.d.ts +7 -26
  88. package/dist/components/utils/UluConditionalText.vue.d.ts.map +1 -1
  89. package/dist/components/utils/UluConditionalText.vue.js +12 -14
  90. package/dist/components/utils/UluConditionalWrapper.vue.d.ts.map +1 -1
  91. package/dist/components/utils/UluConditionalWrapper.vue.js +11 -9
  92. package/dist/components/utils/UluPlaceholderImage.vue.d.ts +12 -57
  93. package/dist/components/utils/UluPlaceholderImage.vue.d.ts.map +1 -1
  94. package/dist/components/utils/UluPlaceholderImage.vue.js +18 -26
  95. package/dist/components/utils/UluPlaceholderText.vue.d.ts +6 -20
  96. package/dist/components/utils/UluPlaceholderText.vue.js +12 -14
  97. package/dist/components/utils/UluRouteAnnouncer.vue.d.ts +9 -58
  98. package/dist/components/utils/UluRouteAnnouncer.vue.d.ts.map +1 -1
  99. package/dist/components/utils/UluRouteAnnouncer.vue.js +28 -28
  100. package/dist/components/visualizations/UluAnimateNumber.vue.d.ts +20 -14
  101. package/dist/components/visualizations/UluAnimateNumber.vue.d.ts.map +1 -1
  102. package/dist/components/visualizations/UluAnimateNumber.vue.js +18 -26
  103. package/dist/components/visualizations/UluProgressCircle.vue.d.ts +2 -2
  104. package/dist/composables/useModifiers.d.ts +20 -25
  105. package/dist/composables/useModifiers.d.ts.map +1 -1
  106. package/dist/index.js +206 -200
  107. package/dist/plugins/modals/UluModalsDisplay.vue.d.ts +3 -12
  108. package/dist/plugins/modals/UluModalsDisplay.vue.js +24 -45
  109. package/dist/plugins/modals/index.js +6 -6
  110. package/dist/plugins/toast/UluToast.vue.d.ts +24 -49
  111. package/dist/plugins/toast/UluToast.vue.d.ts.map +1 -1
  112. package/dist/plugins/toast/UluToast.vue.js +68 -77
  113. package/dist/plugins/toast/UluToastDisplay.vue.d.ts +1 -9
  114. package/dist/plugins/toast/UluToastDisplay.vue.js +27 -35
  115. package/dist/plugins/toast/defaults.d.ts +40 -35
  116. package/dist/plugins/toast/defaults.js +2 -2
  117. package/dist/plugins/toast/index.js +4 -4
  118. package/dist/plugins/toast/store.d.ts +40 -35
  119. package/dist/plugins/toast/store.d.ts.map +1 -1
  120. package/dist/utils/props.d.ts +7 -0
  121. package/dist/utils/props.d.ts.map +1 -0
  122. package/dist/utils/props.js +6 -0
  123. package/lib/components/collapsible/UluAccordionGroup.vue +4 -1
  124. package/lib/components/collapsible/UluDropdown.vue +5 -1
  125. package/lib/components/collapsible/UluModal.vue +278 -298
  126. package/lib/components/collapsible/UluTabGroup.vue +21 -6
  127. package/lib/components/elements/UluAlert.vue +38 -51
  128. package/lib/components/elements/UluBadgeStack.vue +4 -1
  129. package/lib/components/elements/UluButton.vue +105 -129
  130. package/lib/components/elements/UluButtonVerbose.vue +67 -89
  131. package/lib/components/elements/UluCallout.vue +15 -19
  132. package/lib/components/elements/UluCaptionedFigure.vue +40 -0
  133. package/lib/components/elements/UluDefinitionList.vue +27 -6
  134. package/lib/components/elements/UluImage.vue +56 -0
  135. package/lib/components/elements/UluList.vue +1 -0
  136. package/lib/components/elements/UluOverflowScroller.vue +140 -0
  137. package/lib/components/elements/UluScrollSlider.vue +150 -0
  138. package/lib/components/elements/UluSlider.vue +488 -0
  139. package/lib/components/index.js +10 -0
  140. package/lib/components/layout/UluTitleRail.vue +55 -48
  141. package/lib/components/navigation/UluBreadcrumb.vue +29 -34
  142. package/lib/components/navigation/UluMenu.vue +60 -71
  143. package/lib/components/navigation/UluMenuStack.vue +6 -1
  144. package/lib/components/navigation/UluNavStrip.vue +43 -31
  145. package/lib/components/systems/facets/useFacets.js +33 -17
  146. package/lib/components/systems/index.js +0 -4
  147. package/lib/components/systems/table-sticky/UluTableSticky.vue +602 -576
  148. package/lib/components/systems/table-sticky/UluTableStickyRows.vue +16 -27
  149. package/lib/components/systems/table-sticky/UluTableStickyTable.vue +95 -96
  150. package/lib/components/utils/UluAction.vue +81 -0
  151. package/lib/components/utils/UluConditionalText.vue +13 -16
  152. package/lib/components/utils/UluConditionalWrapper.vue +5 -1
  153. package/lib/components/utils/UluPlaceholderImage.vue +44 -46
  154. package/lib/components/utils/UluPlaceholderText.vue +10 -13
  155. package/lib/components/utils/UluRouteAnnouncer.vue +59 -47
  156. package/lib/components/visualizations/UluAnimateNumber.vue +23 -30
  157. package/lib/composables/useModifiers.js +21 -26
  158. package/lib/plugins/modals/UluModalsDisplay.vue +44 -45
  159. package/lib/plugins/toast/UluToast.vue +28 -34
  160. package/lib/plugins/toast/UluToastDisplay.vue +9 -15
  161. package/lib/utils/props.js +8 -0
  162. package/package.json +9 -5
  163. package/dist/components/systems/slider/UluImageSlideShow.vue.d.ts +0 -130
  164. package/dist/components/systems/slider/UluImageSlideShow.vue.d.ts.map +0 -1
  165. package/dist/components/systems/slider/UluImageSlideShow.vue.js +0 -73
  166. package/dist/components/systems/slider/UluSlideShow.vue.d.ts +0 -205
  167. package/dist/components/systems/slider/UluSlideShow.vue.d.ts.map +0 -1
  168. package/dist/components/systems/slider/UluSlideShow.vue.js +0 -292
  169. package/dist/components/systems/slider/UluSlideShowSlide.vue.d.ts +0 -17
  170. package/dist/components/systems/slider/UluSlideShowSlide.vue.d.ts.map +0 -1
  171. package/dist/components/systems/slider/UluSlideShowSlide.vue.js +0 -26
  172. package/lib/components/systems/slider/UluImageSlideShow.vue +0 -75
  173. package/lib/components/systems/slider/UluSlideShow.vue +0 -336
  174. package/lib/components/systems/slider/UluSlideShowSlide.vue +0 -25
@@ -1,34 +1,43 @@
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<{}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
30
7
  isActual: boolean;
31
8
  foot: boolean;
32
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
33
- export default _default;
9
+ classes?: Record<string, any> | undefined;
10
+ value?: Function | undefined;
11
+ rows?: unknown[] | undefined;
12
+ rowColumns?: unknown[] | undefined;
13
+ columnWidth?: string | undefined;
14
+ optionalAttr?: Function | undefined;
15
+ resolveClasses?: Function | undefined;
16
+ getCellHeaders?: Function | undefined;
17
+ $props: {
18
+ readonly isActual?: boolean | undefined;
19
+ readonly foot?: boolean | undefined;
20
+ readonly classes?: Record<string, any> | undefined;
21
+ readonly value?: Function | undefined;
22
+ readonly rows?: unknown[] | undefined;
23
+ readonly rowColumns?: unknown[] | undefined;
24
+ readonly columnWidth?: string | undefined;
25
+ readonly optionalAttr?: Function | undefined;
26
+ readonly resolveClasses?: Function | undefined;
27
+ readonly getCellHeaders?: Function | undefined;
28
+ };
29
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
+ type __VLS_TemplateResult = {
31
+ attrs: Partial<{}>;
32
+ slots: Partial<Record<any, (_: {
33
+ row: any;
34
+ column: unknown;
35
+ rowIndex: number;
36
+ index: number;
37
+ foot: boolean;
38
+ isActual: boolean;
39
+ }) => any>>;
40
+ refs: {};
41
+ rootEl: any;
42
+ };
34
43
  //# sourceMappingURL=UluTableStickyRows.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UluTableStickyRows.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/table-sticky/UluTableStickyRows.vue"],"names":[],"mappings":"AAoDA;"}
1
+ {"version":3,"file":"UluTableStickyRows.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/table-sticky/UluTableStickyRows.vue"],"names":[],"mappings":"AA4CA;wBAiLqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAVjC;;;;;;;;;;;;;;;;;;;;;;;2OAOG"}
@@ -1,7 +1,6 @@
1
- import { createElementBlock as i, openBlock as s, Fragment as c, renderList as u, normalizeStyle as r, normalizeClass as d, createBlock as A, resolveDynamicComponent as f, withCtx as y, renderSlot as h, createTextVNode as _, toDisplayString as k } from "vue";
2
- import C from "../../../_virtual/_plugin-vue_export-helper.js";
3
- const g = {
4
- name: "UluTableStickyRows",
1
+ import { createElementBlock as i, openBlock as s, Fragment as c, renderList as u, normalizeStyle as r, normalizeClass as d, createBlock as A, resolveDynamicComponent as f, withCtx as h, renderSlot as y, createTextVNode as C, toDisplayString as k } from "vue";
2
+ const g = ["id"], v = ["innerHTML"], F = {
3
+ __name: "UluTableStickyRows",
5
4
  props: {
6
5
  rows: Array,
7
6
  rowColumns: Array,
@@ -16,48 +15,47 @@ const g = {
16
15
  type: Boolean,
17
16
  default: !1
18
17
  }
19
- }
20
- }, v = ["id"], H = ["innerHTML"];
21
- function m(n, S, t, b, B, F) {
22
- return s(!0), i(c, null, u(t.rows, (l, a) => (s(), i("tr", {
23
- key: `br-${a}`,
24
- id: t.optionalAttr(t.isActual && l.id),
25
- class: d(t.resolveClasses(t.classes.row, { row: l.data, rowIndex: a, isActual: t.isActual, foot: t.foot })),
26
- style: r({
27
- height: l.height
28
- })
29
- }, [
30
- (s(!0), i(c, null, u(t.rowColumns, (e, o) => (s(), A(f(e.rowHeader ? "th" : "td"), {
31
- id: t.optionalAttr(t.isActual && e.rowHeader && e.getRowHeaderId(a)),
32
- scope: t.optionalAttr(t.isActual && e.rowHeader && "row"),
33
- key: `bc-${o}`,
34
- headers: t.optionalAttr(t.isActual && t.getCellHeaders(e, a)),
35
- class: d(t.resolveClasses(e.class, { column: e, index: o, isActual: t.isActual, row: l, rowIndex: a, foot: t.foot })),
18
+ },
19
+ setup(t) {
20
+ return (n, H) => (s(!0), i(c, null, u(t.rows, (l, a) => (s(), i("tr", {
21
+ key: `br-${a}`,
22
+ id: t.optionalAttr(t.isActual && l.id),
23
+ class: d(t.resolveClasses(t.classes.row, { row: l.data, rowIndex: a, isActual: t.isActual, foot: t.foot })),
36
24
  style: r({
37
- width: t.columnWidth
25
+ height: l.height
38
26
  })
39
- }, {
40
- default: y(() => [
41
- n.$slots[e.slot] ? h(n.$slots, e.slot, {
42
- key: 0,
43
- row: l.data,
44
- column: e,
45
- rowIndex: a,
46
- index: o,
47
- foot: t.foot,
48
- isActual: t.isActual
49
- }) : e.html ? (s(), i("div", {
50
- key: 1,
51
- innerHTML: t.value({ row: l, column: e, rowIndex: a, isActual: t.isActual, foot: t.foot })
52
- }, null, 8, H)) : (s(), i(c, { key: 2 }, [
53
- _(k(t.value({ row: l, column: e, rowIndex: a, isActual: t.isActual, foot: t.foot })), 1)
54
- ], 64))
55
- ]),
56
- _: 2
57
- }, 1032, ["id", "scope", "headers", "class", "style"]))), 128))
58
- ], 14, v))), 128);
59
- }
60
- const L = /* @__PURE__ */ C(g, [["render", m]]);
27
+ }, [
28
+ (s(!0), i(c, null, u(t.rowColumns, (e, o) => (s(), A(f(e.rowHeader ? "th" : "td"), {
29
+ id: t.optionalAttr(t.isActual && e.rowHeader && e.getRowHeaderId(a)),
30
+ scope: t.optionalAttr(t.isActual && e.rowHeader && "row"),
31
+ key: `bc-${o}`,
32
+ headers: t.optionalAttr(t.isActual && t.getCellHeaders(e, a)),
33
+ class: d(t.resolveClasses(e.class, { column: e, index: o, isActual: t.isActual, row: l, rowIndex: a, foot: t.foot })),
34
+ style: r({
35
+ width: t.columnWidth
36
+ })
37
+ }, {
38
+ default: h(() => [
39
+ n.$slots[e.slot] ? y(n.$slots, e.slot, {
40
+ key: 0,
41
+ row: l.data,
42
+ column: e,
43
+ rowIndex: a,
44
+ index: o,
45
+ foot: t.foot,
46
+ isActual: t.isActual
47
+ }) : e.html ? (s(), i("div", {
48
+ key: 1,
49
+ innerHTML: t.value({ row: l, column: e, rowIndex: a, isActual: t.isActual, foot: t.foot })
50
+ }, null, 8, v)) : (s(), i(c, { key: 2 }, [
51
+ C(k(t.value({ row: l, column: e, rowIndex: a, isActual: t.isActual, foot: t.foot })), 1)
52
+ ], 64))
53
+ ]),
54
+ _: 2
55
+ }, 1032, ["id", "scope", "headers", "class", "style"]))), 128))
56
+ ], 14, g))), 128));
57
+ }
58
+ };
61
59
  export {
62
- L as default
60
+ F as default
63
61
  };
@@ -1,151 +1,65 @@
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<{}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
7
+ $emit: (event: "column-sorted" | "actual-header-removed" | "actual-header-added", ...args: any[]) => void;
112
8
  classes: Record<string, any>;
113
9
  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<{}>, {
10
+ headerRows: unknown[];
11
+ caption?: string | undefined;
12
+ rows?: unknown[] | undefined;
13
+ rowColumns?: unknown[] | undefined;
14
+ columnWidth?: string | undefined;
15
+ resolveClasses?: Function | undefined;
16
+ idPrefix?: string | undefined;
17
+ footerRows?: unknown[] | undefined;
18
+ getRowValue?: Function | undefined;
19
+ getColumnTitle?: Function | undefined;
20
+ $props: {
21
+ readonly classes?: Record<string, any> | undefined;
22
+ readonly isActual?: boolean | undefined;
23
+ readonly headerRows?: unknown[] | undefined;
24
+ readonly caption?: string | undefined;
25
+ readonly rows?: unknown[] | undefined;
26
+ readonly rowColumns?: unknown[] | undefined;
27
+ readonly columnWidth?: string | undefined;
28
+ readonly resolveClasses?: Function | undefined;
29
+ readonly idPrefix?: string | undefined;
30
+ readonly footerRows?: unknown[] | undefined;
31
+ readonly getRowValue?: Function | undefined;
32
+ readonly getColumnTitle?: Function | undefined;
33
+ };
34
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLTableElement>;
35
+ type __VLS_TemplateResult = {
36
+ attrs: Partial<{}>;
37
+ slots: Partial<Record<any, (_: {
146
38
  isActual: boolean;
39
+ column: any;
40
+ index: number;
41
+ }) => any>> & Partial<Record<any, (_: {
42
+ isActual: boolean;
43
+ column: any;
44
+ index: number;
45
+ }) => any>> & Partial<Record<number, (_: {
46
+ row: any;
47
+ column: unknown;
48
+ rowIndex: number;
49
+ index: number;
147
50
  foot: boolean;
148
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
149
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
150
- export default _default;
51
+ isActual: boolean;
52
+ }) => any>> & Partial<Record<number, (_: {
53
+ row: any;
54
+ column: unknown;
55
+ rowIndex: number;
56
+ index: number;
57
+ foot: boolean;
58
+ isActual: boolean;
59
+ }) => any>> & {
60
+ sortIcon?(_: {}): any;
61
+ };
62
+ refs: {};
63
+ rootEl: HTMLTableElement;
64
+ };
151
65
  //# sourceMappingURL=UluTableStickyTable.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UluTableStickyTable.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/table-sticky/UluTableStickyTable.vue"],"names":[],"mappings":"AAqIA;;;;;;;;;;;;;;;;IAmQM;;OAEG;;;;;;;IAOH;;;;OAIG;;;;;;;;IAKH;;;;OAIG;;;;;;;;;;;;IA4BH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;IApDH;;OAEG;;;;;;;IAOH;;;;OAIG;;;;;;;;IAKH;;;;OAIG"}
1
+ {"version":3,"file":"UluTableStickyTable.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/table-sticky/UluTableStickyTable.vue"],"names":[],"mappings":"AAsIA;wBAumBqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAZjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;wPASG"}