@ulu/frontend-vue 0.5.3 → 0.5.4
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.
- package/dist/components/elements/UluCounterList.vue.d.ts +32 -0
- package/dist/components/elements/UluCounterList.vue.d.ts.map +1 -0
- package/dist/components/elements/UluCounterList.vue.js +77 -0
- package/dist/components/elements/UluDataTable.vue.d.ts +43 -0
- package/dist/components/elements/UluDataTable.vue.d.ts.map +1 -0
- package/dist/components/elements/UluDataTable.vue.js +114 -0
- package/dist/components/elements/UluDefinitionList.vue.d.ts +2 -2
- package/dist/components/elements/UluList.vue.d.ts +4 -0
- package/dist/components/elements/UluList.vue.d.ts.map +1 -1
- package/dist/components/elements/UluList.vue.js +40 -23
- package/dist/components/elements/UluListItem.vue.d.ts +4 -2
- package/dist/components/elements/UluListItem.vue.d.ts.map +1 -1
- package/dist/components/elements/UluListItem.vue.js +17 -10
- package/dist/components/elements/UluTable.vue.d.ts +48 -0
- package/dist/components/elements/UluTable.vue.d.ts.map +1 -0
- package/dist/components/elements/UluTable.vue.js +211 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/systems/table-sticky/UluTableSticky.vue.d.ts +104 -104
- package/dist/components/systems/table-sticky/UluTableSticky.vue.d.ts.map +1 -1
- package/dist/components/systems/table-sticky/UluTableSticky.vue.js +218 -256
- package/dist/components/systems/table-sticky/UluTableStickyRows.vue.d.ts +4 -4
- package/dist/components/systems/table-sticky/UluTableStickyTable.vue.d.ts +12 -12
- package/dist/components/utils/UluPlaceholderImage.vue.d.ts +2 -2
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/useTableData.d.ts +30 -0
- package/dist/composables/useTableData.d.ts.map +1 -0
- package/dist/composables/useTableData.js +68 -0
- package/dist/index.js +190 -182
- package/lib/components/elements/UluCounterList.vue +77 -0
- package/lib/components/elements/UluDataTable.vue +115 -0
- package/lib/components/elements/UluDefinitionList.vue +1 -1
- package/lib/components/elements/UluList.vue +23 -8
- package/lib/components/elements/UluListItem.vue +11 -6
- package/lib/components/elements/UluTable.vue +217 -0
- package/lib/components/index.js +3 -0
- package/lib/components/systems/table-sticky/UluTableSticky.vue +26 -171
- package/lib/composables/index.js +1 -0
- package/lib/composables/useTableData.js +189 -0
- package/package.json +3 -3
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import { createElementBlock as i, openBlock as r, normalizeClass as o, renderSlot as u, Fragment as y, createCommentVNode as C, createElementVNode as R, createTextVNode as g, toDisplayString as $, renderList as f, unref as h, createBlock as w, resolveDynamicComponent as L, withCtx as F } from "vue";
|
|
2
|
+
import { isArrayOfObjects as T } from "../../utils/props.js";
|
|
3
|
+
import { useTableData as j } from "../../composables/useTableData.js";
|
|
4
|
+
const S = ["id", "rowspan", "colspan", "scope", "headers"], B = ["innerHTML"], D = ["id"], N = ["innerHTML"], O = ["id"], E = ["innerHTML"], q = {
|
|
5
|
+
__name: "UluTable",
|
|
6
|
+
props: {
|
|
7
|
+
/**
|
|
8
|
+
* Array of column configurations to convert to list output
|
|
9
|
+
*
|
|
10
|
+
* @property {Object} column A column config
|
|
11
|
+
* @property {String|Boolean} column.title The title to output for the column if set to a falsey value nothing will print
|
|
12
|
+
* @property {Array} column.columns Array of child columns
|
|
13
|
+
* @property {String} column.key The key that should be usec to grab column's value from rows
|
|
14
|
+
* @property {Function} column.value A function that returns the column's value used instead of key passed (row, column)
|
|
15
|
+
* @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
|
|
16
|
+
* @property {String} column.slotHeader Register custom slot name to use in the header
|
|
17
|
+
* @property {String} column.classHeader Custom class(s) to be set to column <th>
|
|
18
|
+
* @property {String} column.class Custom class(s) to be set to column's value <td>
|
|
19
|
+
* @property {String} column.html Use v-html output for value
|
|
20
|
+
* @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.
|
|
21
|
+
*/
|
|
22
|
+
columns: {
|
|
23
|
+
type: Array,
|
|
24
|
+
validator: T
|
|
25
|
+
},
|
|
26
|
+
/**
|
|
27
|
+
* Array of tables rows (tbody)
|
|
28
|
+
* - Each row is an object who's value will be matched to columns
|
|
29
|
+
*/
|
|
30
|
+
rows: {
|
|
31
|
+
type: Array,
|
|
32
|
+
validator: T
|
|
33
|
+
},
|
|
34
|
+
/**
|
|
35
|
+
* Array of rows for footer (tfoot)
|
|
36
|
+
*/
|
|
37
|
+
footerRows: {
|
|
38
|
+
type: Array,
|
|
39
|
+
validator: T
|
|
40
|
+
},
|
|
41
|
+
/**
|
|
42
|
+
* Hidden caption for accessibility (or visible depending on styles). Can also be passed via slot.
|
|
43
|
+
*/
|
|
44
|
+
caption: String,
|
|
45
|
+
/**
|
|
46
|
+
* Allows user to pass classes object to add custom classes to parts of the component
|
|
47
|
+
*/
|
|
48
|
+
classes: {
|
|
49
|
+
type: Object,
|
|
50
|
+
default: () => ({})
|
|
51
|
+
},
|
|
52
|
+
/**
|
|
53
|
+
* Prefix used for id generation
|
|
54
|
+
*/
|
|
55
|
+
idPrefix: {
|
|
56
|
+
type: String,
|
|
57
|
+
default: "table"
|
|
58
|
+
},
|
|
59
|
+
/**
|
|
60
|
+
* Optional user overridden value getter (for rows)
|
|
61
|
+
* @param {Object} row The current row
|
|
62
|
+
* @param {Object} column The current column in the row
|
|
63
|
+
*/
|
|
64
|
+
getRowValue: {
|
|
65
|
+
type: Function,
|
|
66
|
+
default: ({ row: l, column: k }) => l[k.key]
|
|
67
|
+
},
|
|
68
|
+
/**
|
|
69
|
+
* Optional user overridden title getter (for headers)
|
|
70
|
+
* @param {Object} column The current column
|
|
71
|
+
*/
|
|
72
|
+
getColumnTitle: {
|
|
73
|
+
type: Function,
|
|
74
|
+
default: ({ column: l }) => l.title
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
setup(l) {
|
|
78
|
+
const k = l, {
|
|
79
|
+
currentRows: M,
|
|
80
|
+
currentFooterRows: b,
|
|
81
|
+
headerRows: V,
|
|
82
|
+
rowColumns: p
|
|
83
|
+
} = j(k), c = (s, n = null) => {
|
|
84
|
+
if (!(typeof s > "u"))
|
|
85
|
+
return typeof s == "function" ? s(n) : s;
|
|
86
|
+
}, A = (s) => {
|
|
87
|
+
const n = s.headers.filter((a) => a !== s.id);
|
|
88
|
+
if (n.length)
|
|
89
|
+
return n.join(" ");
|
|
90
|
+
}, v = (s, n) => {
|
|
91
|
+
const a = s.headers.join(" "), t = s.getRowHeaders(n), e = t.length ? " " : "";
|
|
92
|
+
return `${a}${e}${t}`;
|
|
93
|
+
}, H = ({ row: s, column: n, rowIndex: a }) => {
|
|
94
|
+
const t = n.value;
|
|
95
|
+
return t ? t({ row: s.data, column: n, rowIndex: a }) : k.getRowValue({ row: s.data, column: n, rowIndex: a });
|
|
96
|
+
};
|
|
97
|
+
return (s, n) => (r(), i("table", {
|
|
98
|
+
class: o(l.classes?.table)
|
|
99
|
+
}, [
|
|
100
|
+
l.columns && l.rows ? (r(), i(y, { key: 0 }, [
|
|
101
|
+
l.caption || s.$slots.caption ? (r(), i("caption", {
|
|
102
|
+
key: 0,
|
|
103
|
+
class: o(l.classes?.caption)
|
|
104
|
+
}, [
|
|
105
|
+
u(s.$slots, "caption", {}, () => [
|
|
106
|
+
g($(l.caption), 1)
|
|
107
|
+
])
|
|
108
|
+
], 2)) : C("", !0),
|
|
109
|
+
R("thead", {
|
|
110
|
+
class: o(l.classes?.thead)
|
|
111
|
+
}, [
|
|
112
|
+
(r(!0), i(y, null, f(h(V), (a, t) => (r(), i("tr", {
|
|
113
|
+
key: `hr-${t}`,
|
|
114
|
+
class: o(c(l.classes?.rowHeader, { row: a, rowIndex: t }))
|
|
115
|
+
}, [
|
|
116
|
+
(r(!0), i(y, null, f(a.columns, (e, d) => (r(), i("th", {
|
|
117
|
+
key: `hc-${d}`,
|
|
118
|
+
id: e.id,
|
|
119
|
+
rowspan: e.rowspan,
|
|
120
|
+
colspan: e.colspan,
|
|
121
|
+
class: o(c(e.classHeader, { column: e, index: d })),
|
|
122
|
+
scope: e.colspan > 1 ? "colgroup" : "col",
|
|
123
|
+
headers: A(e)
|
|
124
|
+
}, [
|
|
125
|
+
s.$slots[e.slotHeader] ? u(s.$slots, e.slotHeader, {
|
|
126
|
+
key: 0,
|
|
127
|
+
column: e,
|
|
128
|
+
index: d
|
|
129
|
+
}) : e.htmlTitle ? (r(), i("div", {
|
|
130
|
+
key: 1,
|
|
131
|
+
innerHTML: l.getColumnTitle({ column: e, index: d })
|
|
132
|
+
}, null, 8, B)) : (r(), i(y, { key: 2 }, [
|
|
133
|
+
g($(l.getColumnTitle({ column: e, index: d })), 1)
|
|
134
|
+
], 64))
|
|
135
|
+
], 10, S))), 128))
|
|
136
|
+
], 2))), 128))
|
|
137
|
+
], 2),
|
|
138
|
+
R("tbody", {
|
|
139
|
+
class: o(l.classes?.tbody)
|
|
140
|
+
}, [
|
|
141
|
+
(r(!0), i(y, null, f(h(M), (a, t) => (r(), i("tr", {
|
|
142
|
+
key: `br-${t}`,
|
|
143
|
+
id: a.id,
|
|
144
|
+
class: o(c(l.classes?.row, { row: a.data, rowIndex: t }))
|
|
145
|
+
}, [
|
|
146
|
+
(r(!0), i(y, null, f(h(p), (e, d) => (r(), w(L(e.rowHeader ? "th" : "td"), {
|
|
147
|
+
key: `bc-${d}`,
|
|
148
|
+
id: e.rowHeader ? e.getRowHeaderId(t) : void 0,
|
|
149
|
+
scope: e.rowHeader ? "row" : void 0,
|
|
150
|
+
headers: v(e, t),
|
|
151
|
+
class: o(c(e.class, { column: e, index: d, row: a, rowIndex: t }))
|
|
152
|
+
}, {
|
|
153
|
+
default: F(() => [
|
|
154
|
+
s.$slots[e.slot] ? u(s.$slots, e.slot, {
|
|
155
|
+
key: 0,
|
|
156
|
+
row: a.data,
|
|
157
|
+
column: e,
|
|
158
|
+
rowIndex: t,
|
|
159
|
+
index: d
|
|
160
|
+
}) : e.html ? (r(), i("div", {
|
|
161
|
+
key: 1,
|
|
162
|
+
innerHTML: H({ row: a, column: e, rowIndex: t })
|
|
163
|
+
}, null, 8, N)) : (r(), i(y, { key: 2 }, [
|
|
164
|
+
g($(H({ row: a, column: e, rowIndex: t })), 1)
|
|
165
|
+
], 64))
|
|
166
|
+
]),
|
|
167
|
+
_: 2
|
|
168
|
+
}, 1032, ["id", "scope", "headers", "class"]))), 128))
|
|
169
|
+
], 10, D))), 128))
|
|
170
|
+
], 2),
|
|
171
|
+
h(b).length ? (r(), i("tfoot", {
|
|
172
|
+
key: 1,
|
|
173
|
+
class: o(l.classes?.tfoot)
|
|
174
|
+
}, [
|
|
175
|
+
(r(!0), i(y, null, f(h(b), (a, t) => (r(), i("tr", {
|
|
176
|
+
key: `fr-${t}`,
|
|
177
|
+
id: a.id,
|
|
178
|
+
class: o(c(l.classes?.rowFooter, { row: a.data, rowIndex: t }))
|
|
179
|
+
}, [
|
|
180
|
+
(r(!0), i(y, null, f(h(p), (e, d) => (r(), w(L(e.rowHeader ? "th" : "td"), {
|
|
181
|
+
key: `fc-${d}`,
|
|
182
|
+
id: e.rowHeader ? e.getRowHeaderId(t) : void 0,
|
|
183
|
+
scope: e.rowHeader ? "row" : void 0,
|
|
184
|
+
headers: v(e, t),
|
|
185
|
+
class: o(c(e.class, { column: e, index: d, row: a, rowIndex: t }))
|
|
186
|
+
}, {
|
|
187
|
+
default: F(() => [
|
|
188
|
+
s.$slots[e.slot] ? u(s.$slots, e.slot, {
|
|
189
|
+
key: 0,
|
|
190
|
+
row: a.data,
|
|
191
|
+
column: e,
|
|
192
|
+
rowIndex: t,
|
|
193
|
+
index: d
|
|
194
|
+
}) : e.html ? (r(), i("div", {
|
|
195
|
+
key: 1,
|
|
196
|
+
innerHTML: H({ row: a, column: e, rowIndex: t })
|
|
197
|
+
}, null, 8, E)) : (r(), i(y, { key: 2 }, [
|
|
198
|
+
g($(H({ row: a, column: e, rowIndex: t })), 1)
|
|
199
|
+
], 64))
|
|
200
|
+
]),
|
|
201
|
+
_: 2
|
|
202
|
+
}, 1032, ["id", "scope", "headers", "class"]))), 128))
|
|
203
|
+
], 10, O))), 128))
|
|
204
|
+
], 2)) : C("", !0)
|
|
205
|
+
], 64)) : u(s.$slots, "default", { key: 1 })
|
|
206
|
+
], 2));
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
export {
|
|
210
|
+
q as default
|
|
211
|
+
};
|
|
@@ -17,6 +17,7 @@ export { default as UluButtonVerbose } from './elements/UluButtonVerbose.vue';
|
|
|
17
17
|
export { default as UluCallout } from './elements/UluCallout.vue';
|
|
18
18
|
export { default as UluCaptionedFigure } from './elements/UluCaptionedFigure.vue';
|
|
19
19
|
export { default as UluCard } from './elements/UluCard.vue';
|
|
20
|
+
export { default as UluDataTable } from './elements/UluDataTable.vue';
|
|
20
21
|
export { default as UluDefinitionList } from './elements/UluDefinitionList.vue';
|
|
21
22
|
export { default as UluDefinitionListItem } from './elements/UluDefinitionListItem.vue';
|
|
22
23
|
export { default as UluExternalLink } from './elements/UluExternalLink.vue';
|
|
@@ -24,12 +25,14 @@ export { default as UluIcon } from './elements/UluIcon.vue';
|
|
|
24
25
|
export { default as UluImage } from './elements/UluImage.vue';
|
|
25
26
|
export { default as UluList } from './elements/UluList.vue';
|
|
26
27
|
export { default as UluListItem } from './elements/UluListItem.vue';
|
|
28
|
+
export { default as UluCounterList } from './elements/UluCounterList.vue';
|
|
27
29
|
export { default as UluMain } from './elements/UluMain.vue';
|
|
28
30
|
export { default as UluOverflowScroller } from './elements/UluOverflowScroller.vue';
|
|
29
31
|
export { default as UluRule } from './elements/UluRule.vue';
|
|
30
32
|
export { default as UluScrollSlider } from './elements/UluScrollSlider.vue';
|
|
31
33
|
export { default as UluSlider } from './elements/UluSlider.vue';
|
|
32
34
|
export { default as UluSpokeSpinner } from './elements/UluSpokeSpinner.vue';
|
|
35
|
+
export { default as UluTable } from './elements/UluTable.vue';
|
|
33
36
|
export { default as UluTag } from './elements/UluTag.vue';
|
|
34
37
|
export { default as UluSelectableMenu } from './forms/UluSelectableMenu.vue';
|
|
35
38
|
export { default as UluFileDisplay } from './forms/UluFileDisplay.vue';
|
|
@@ -7,10 +7,10 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
|
7
7
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
8
8
|
$emit: (event: "column-sort", ...args: any[]) => void;
|
|
9
9
|
classes: Record<string, any>;
|
|
10
|
-
|
|
10
|
+
columns: unknown[];
|
|
11
11
|
idPrefix: string;
|
|
12
|
+
caption: string;
|
|
12
13
|
allowClickClones: boolean;
|
|
13
|
-
columns: unknown[];
|
|
14
14
|
firstColumnSticky: boolean;
|
|
15
15
|
scrollControls: boolean;
|
|
16
16
|
scrollContext: Window & typeof globalThis;
|
|
@@ -22,10 +22,10 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
22
22
|
controlsComponent?: Record<string, any> | undefined;
|
|
23
23
|
$props: {
|
|
24
24
|
readonly classes?: Record<string, any> | undefined;
|
|
25
|
-
readonly
|
|
25
|
+
readonly columns?: unknown[] | undefined;
|
|
26
26
|
readonly idPrefix?: string | undefined;
|
|
27
|
+
readonly caption?: string | undefined;
|
|
27
28
|
readonly allowClickClones?: boolean | undefined;
|
|
28
|
-
readonly columns?: unknown[] | undefined;
|
|
29
29
|
readonly firstColumnSticky?: boolean | undefined;
|
|
30
30
|
readonly scrollControls?: boolean | undefined;
|
|
31
31
|
readonly scrollContext?: (Window & typeof globalThis) | undefined;
|
|
@@ -58,30 +58,30 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
58
58
|
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
59
59
|
$emit: (event: "column-sorted" | "actual-header-removed" | "actual-header-added", ...args: any[]) => void;
|
|
60
60
|
classes: Record<string, any>;
|
|
61
|
-
isActual: boolean;
|
|
62
61
|
headerRows: unknown[];
|
|
63
|
-
|
|
62
|
+
isActual: boolean;
|
|
64
63
|
rows?: unknown[] | undefined;
|
|
65
|
-
rowColumns?: unknown[] | undefined;
|
|
66
|
-
columnWidth?: string | undefined;
|
|
67
|
-
resolveClasses?: Function | undefined;
|
|
68
|
-
idPrefix?: string | undefined;
|
|
69
64
|
footerRows?: unknown[] | undefined;
|
|
65
|
+
idPrefix?: string | undefined;
|
|
66
|
+
caption?: string | undefined;
|
|
70
67
|
getRowValue?: Function | undefined;
|
|
71
68
|
getColumnTitle?: Function | undefined;
|
|
69
|
+
rowColumns?: unknown[] | undefined;
|
|
70
|
+
resolveClasses?: Function | undefined;
|
|
71
|
+
columnWidth?: string | undefined;
|
|
72
72
|
$props: {
|
|
73
73
|
readonly classes?: Record<string, any> | undefined;
|
|
74
|
-
readonly isActual?: boolean | undefined;
|
|
75
74
|
readonly headerRows?: unknown[] | undefined;
|
|
76
|
-
readonly
|
|
75
|
+
readonly isActual?: boolean | undefined;
|
|
77
76
|
readonly rows?: unknown[] | undefined;
|
|
78
|
-
readonly rowColumns?: unknown[] | undefined;
|
|
79
|
-
readonly columnWidth?: string | undefined;
|
|
80
|
-
readonly resolveClasses?: Function | undefined;
|
|
81
|
-
readonly idPrefix?: string | undefined;
|
|
82
77
|
readonly footerRows?: unknown[] | undefined;
|
|
78
|
+
readonly idPrefix?: string | undefined;
|
|
79
|
+
readonly caption?: string | undefined;
|
|
83
80
|
readonly getRowValue?: Function | undefined;
|
|
84
81
|
readonly getColumnTitle?: Function | undefined;
|
|
82
|
+
readonly rowColumns?: unknown[] | undefined;
|
|
83
|
+
readonly resolveClasses?: Function | undefined;
|
|
84
|
+
readonly columnWidth?: string | undefined;
|
|
85
85
|
};
|
|
86
86
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
87
87
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -103,33 +103,33 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
103
103
|
$forceUpdate: () => void;
|
|
104
104
|
$nextTick: typeof nextTick;
|
|
105
105
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
106
|
-
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "$props" | "$emit" | "classes" | "
|
|
106
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "$props" | "$emit" | "classes" | "rows" | "footerRows" | "idPrefix" | "caption" | "getRowValue" | "getColumnTitle" | "headerRows" | "rowColumns" | "resolveClasses" | "columnWidth" | "isActual"> & import('vue').ShallowUnwrapRef<{
|
|
107
107
|
$emit: (event: "column-sorted" | "actual-header-removed" | "actual-header-added", ...args: any[]) => void;
|
|
108
108
|
classes: Record<string, any>;
|
|
109
|
-
isActual: boolean;
|
|
110
109
|
headerRows: unknown[];
|
|
111
|
-
|
|
110
|
+
isActual: boolean;
|
|
112
111
|
rows?: unknown[] | undefined;
|
|
113
|
-
rowColumns?: unknown[] | undefined;
|
|
114
|
-
columnWidth?: string | undefined;
|
|
115
|
-
resolveClasses?: Function | undefined;
|
|
116
|
-
idPrefix?: string | undefined;
|
|
117
112
|
footerRows?: unknown[] | undefined;
|
|
113
|
+
idPrefix?: string | undefined;
|
|
114
|
+
caption?: string | undefined;
|
|
118
115
|
getRowValue?: Function | undefined;
|
|
119
116
|
getColumnTitle?: Function | undefined;
|
|
117
|
+
rowColumns?: unknown[] | undefined;
|
|
118
|
+
resolveClasses?: Function | undefined;
|
|
119
|
+
columnWidth?: string | undefined;
|
|
120
120
|
$props: {
|
|
121
121
|
readonly classes?: Record<string, any> | undefined;
|
|
122
|
-
readonly isActual?: boolean | undefined;
|
|
123
122
|
readonly headerRows?: unknown[] | undefined;
|
|
124
|
-
readonly
|
|
123
|
+
readonly isActual?: boolean | undefined;
|
|
125
124
|
readonly rows?: unknown[] | undefined;
|
|
126
|
-
readonly rowColumns?: unknown[] | undefined;
|
|
127
|
-
readonly columnWidth?: string | undefined;
|
|
128
|
-
readonly resolveClasses?: Function | undefined;
|
|
129
|
-
readonly idPrefix?: string | undefined;
|
|
130
125
|
readonly footerRows?: unknown[] | undefined;
|
|
126
|
+
readonly idPrefix?: string | undefined;
|
|
127
|
+
readonly caption?: string | undefined;
|
|
131
128
|
readonly getRowValue?: Function | undefined;
|
|
132
129
|
readonly getColumnTitle?: Function | undefined;
|
|
130
|
+
readonly rowColumns?: unknown[] | undefined;
|
|
131
|
+
readonly resolveClasses?: Function | undefined;
|
|
132
|
+
readonly columnWidth?: string | undefined;
|
|
133
133
|
};
|
|
134
134
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
135
135
|
$slots: Partial<Record<any, (_: {
|
|
@@ -180,30 +180,30 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
180
180
|
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
181
181
|
$emit: (event: "column-sorted" | "actual-header-removed" | "actual-header-added", ...args: any[]) => void;
|
|
182
182
|
classes: Record<string, any>;
|
|
183
|
-
isActual: boolean;
|
|
184
183
|
headerRows: unknown[];
|
|
185
|
-
|
|
184
|
+
isActual: boolean;
|
|
186
185
|
rows?: unknown[] | undefined;
|
|
187
|
-
rowColumns?: unknown[] | undefined;
|
|
188
|
-
columnWidth?: string | undefined;
|
|
189
|
-
resolveClasses?: Function | undefined;
|
|
190
|
-
idPrefix?: string | undefined;
|
|
191
186
|
footerRows?: unknown[] | undefined;
|
|
187
|
+
idPrefix?: string | undefined;
|
|
188
|
+
caption?: string | undefined;
|
|
192
189
|
getRowValue?: Function | undefined;
|
|
193
190
|
getColumnTitle?: Function | undefined;
|
|
191
|
+
rowColumns?: unknown[] | undefined;
|
|
192
|
+
resolveClasses?: Function | undefined;
|
|
193
|
+
columnWidth?: string | undefined;
|
|
194
194
|
$props: {
|
|
195
195
|
readonly classes?: Record<string, any> | undefined;
|
|
196
|
-
readonly isActual?: boolean | undefined;
|
|
197
196
|
readonly headerRows?: unknown[] | undefined;
|
|
198
|
-
readonly
|
|
197
|
+
readonly isActual?: boolean | undefined;
|
|
199
198
|
readonly rows?: unknown[] | undefined;
|
|
200
|
-
readonly rowColumns?: unknown[] | undefined;
|
|
201
|
-
readonly columnWidth?: string | undefined;
|
|
202
|
-
readonly resolveClasses?: Function | undefined;
|
|
203
|
-
readonly idPrefix?: string | undefined;
|
|
204
199
|
readonly footerRows?: unknown[] | undefined;
|
|
200
|
+
readonly idPrefix?: string | undefined;
|
|
201
|
+
readonly caption?: string | undefined;
|
|
205
202
|
readonly getRowValue?: Function | undefined;
|
|
206
203
|
readonly getColumnTitle?: Function | undefined;
|
|
204
|
+
readonly rowColumns?: unknown[] | undefined;
|
|
205
|
+
readonly resolveClasses?: Function | undefined;
|
|
206
|
+
readonly columnWidth?: string | undefined;
|
|
207
207
|
};
|
|
208
208
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
209
209
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -225,33 +225,33 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
225
225
|
$forceUpdate: () => void;
|
|
226
226
|
$nextTick: typeof nextTick;
|
|
227
227
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
228
|
-
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "$props" | "$emit" | "classes" | "
|
|
228
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "$props" | "$emit" | "classes" | "rows" | "footerRows" | "idPrefix" | "caption" | "getRowValue" | "getColumnTitle" | "headerRows" | "rowColumns" | "resolveClasses" | "columnWidth" | "isActual"> & import('vue').ShallowUnwrapRef<{
|
|
229
229
|
$emit: (event: "column-sorted" | "actual-header-removed" | "actual-header-added", ...args: any[]) => void;
|
|
230
230
|
classes: Record<string, any>;
|
|
231
|
-
isActual: boolean;
|
|
232
231
|
headerRows: unknown[];
|
|
233
|
-
|
|
232
|
+
isActual: boolean;
|
|
234
233
|
rows?: unknown[] | undefined;
|
|
235
|
-
rowColumns?: unknown[] | undefined;
|
|
236
|
-
columnWidth?: string | undefined;
|
|
237
|
-
resolveClasses?: Function | undefined;
|
|
238
|
-
idPrefix?: string | undefined;
|
|
239
234
|
footerRows?: unknown[] | undefined;
|
|
235
|
+
idPrefix?: string | undefined;
|
|
236
|
+
caption?: string | undefined;
|
|
240
237
|
getRowValue?: Function | undefined;
|
|
241
238
|
getColumnTitle?: Function | undefined;
|
|
239
|
+
rowColumns?: unknown[] | undefined;
|
|
240
|
+
resolveClasses?: Function | undefined;
|
|
241
|
+
columnWidth?: string | undefined;
|
|
242
242
|
$props: {
|
|
243
243
|
readonly classes?: Record<string, any> | undefined;
|
|
244
|
-
readonly isActual?: boolean | undefined;
|
|
245
244
|
readonly headerRows?: unknown[] | undefined;
|
|
246
|
-
readonly
|
|
245
|
+
readonly isActual?: boolean | undefined;
|
|
247
246
|
readonly rows?: unknown[] | undefined;
|
|
248
|
-
readonly rowColumns?: unknown[] | undefined;
|
|
249
|
-
readonly columnWidth?: string | undefined;
|
|
250
|
-
readonly resolveClasses?: Function | undefined;
|
|
251
|
-
readonly idPrefix?: string | undefined;
|
|
252
247
|
readonly footerRows?: unknown[] | undefined;
|
|
248
|
+
readonly idPrefix?: string | undefined;
|
|
249
|
+
readonly caption?: string | undefined;
|
|
253
250
|
readonly getRowValue?: Function | undefined;
|
|
254
251
|
readonly getColumnTitle?: Function | undefined;
|
|
252
|
+
readonly rowColumns?: unknown[] | undefined;
|
|
253
|
+
readonly resolveClasses?: Function | undefined;
|
|
254
|
+
readonly columnWidth?: string | undefined;
|
|
255
255
|
};
|
|
256
256
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
257
257
|
$slots: Partial<Record<any, (_: {
|
|
@@ -337,62 +337,62 @@ type __VLS_TemplateResult = {
|
|
|
337
337
|
$options: ComponentOptionsBase<ToResolvedProps<{}, {}>, {
|
|
338
338
|
$emit: (event: "column-sorted" | "actual-header-removed" | "actual-header-added", ...args: any[]) => void;
|
|
339
339
|
classes: Record<string, any>;
|
|
340
|
-
isActual: boolean;
|
|
341
340
|
headerRows: unknown[];
|
|
342
|
-
|
|
341
|
+
isActual: boolean;
|
|
343
342
|
rows?: unknown[] | undefined;
|
|
344
|
-
rowColumns?: unknown[] | undefined;
|
|
345
|
-
columnWidth?: string | undefined;
|
|
346
|
-
resolveClasses?: Function | undefined;
|
|
347
|
-
idPrefix?: string | undefined;
|
|
348
343
|
footerRows?: unknown[] | undefined;
|
|
344
|
+
idPrefix?: string | undefined;
|
|
345
|
+
caption?: string | undefined;
|
|
349
346
|
getRowValue?: Function | undefined;
|
|
350
347
|
getColumnTitle?: Function | undefined;
|
|
348
|
+
rowColumns?: unknown[] | undefined;
|
|
349
|
+
resolveClasses?: Function | undefined;
|
|
350
|
+
columnWidth?: string | undefined;
|
|
351
351
|
$props: {
|
|
352
352
|
readonly classes?: Record<string, any> | undefined;
|
|
353
|
-
readonly isActual?: boolean | undefined;
|
|
354
353
|
readonly headerRows?: unknown[] | undefined;
|
|
355
|
-
readonly
|
|
354
|
+
readonly isActual?: boolean | undefined;
|
|
356
355
|
readonly rows?: unknown[] | undefined;
|
|
357
|
-
readonly rowColumns?: unknown[] | undefined;
|
|
358
|
-
readonly columnWidth?: string | undefined;
|
|
359
|
-
readonly resolveClasses?: Function | undefined;
|
|
360
|
-
readonly idPrefix?: string | undefined;
|
|
361
356
|
readonly footerRows?: unknown[] | undefined;
|
|
357
|
+
readonly idPrefix?: string | undefined;
|
|
358
|
+
readonly caption?: string | undefined;
|
|
362
359
|
readonly getRowValue?: Function | undefined;
|
|
363
360
|
readonly getColumnTitle?: Function | undefined;
|
|
361
|
+
readonly rowColumns?: unknown[] | undefined;
|
|
362
|
+
readonly resolveClasses?: Function | undefined;
|
|
363
|
+
readonly columnWidth?: string | undefined;
|
|
364
364
|
};
|
|
365
365
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & MergedComponentOptionsOverride;
|
|
366
366
|
$forceUpdate: () => void;
|
|
367
367
|
$nextTick: typeof nextTick;
|
|
368
368
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: OnCleanup) => any : (args_0: any, args_1: any, args_2: OnCleanup) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
369
|
-
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "$props" | "$emit" | "classes" | "
|
|
369
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "$props" | "$emit" | "classes" | "rows" | "footerRows" | "idPrefix" | "caption" | "getRowValue" | "getColumnTitle" | "headerRows" | "rowColumns" | "resolveClasses" | "columnWidth" | "isActual"> & ShallowUnwrapRef<{
|
|
370
370
|
$emit: (event: "column-sorted" | "actual-header-removed" | "actual-header-added", ...args: any[]) => void;
|
|
371
371
|
classes: Record<string, any>;
|
|
372
|
-
isActual: boolean;
|
|
373
372
|
headerRows: unknown[];
|
|
374
|
-
|
|
373
|
+
isActual: boolean;
|
|
375
374
|
rows?: unknown[] | undefined;
|
|
376
|
-
rowColumns?: unknown[] | undefined;
|
|
377
|
-
columnWidth?: string | undefined;
|
|
378
|
-
resolveClasses?: Function | undefined;
|
|
379
|
-
idPrefix?: string | undefined;
|
|
380
375
|
footerRows?: unknown[] | undefined;
|
|
376
|
+
idPrefix?: string | undefined;
|
|
377
|
+
caption?: string | undefined;
|
|
381
378
|
getRowValue?: Function | undefined;
|
|
382
379
|
getColumnTitle?: Function | undefined;
|
|
380
|
+
rowColumns?: unknown[] | undefined;
|
|
381
|
+
resolveClasses?: Function | undefined;
|
|
382
|
+
columnWidth?: string | undefined;
|
|
383
383
|
$props: {
|
|
384
384
|
readonly classes?: Record<string, any> | undefined;
|
|
385
|
-
readonly isActual?: boolean | undefined;
|
|
386
385
|
readonly headerRows?: unknown[] | undefined;
|
|
387
|
-
readonly
|
|
386
|
+
readonly isActual?: boolean | undefined;
|
|
388
387
|
readonly rows?: unknown[] | undefined;
|
|
389
|
-
readonly rowColumns?: unknown[] | undefined;
|
|
390
|
-
readonly columnWidth?: string | undefined;
|
|
391
|
-
readonly resolveClasses?: Function | undefined;
|
|
392
|
-
readonly idPrefix?: string | undefined;
|
|
393
388
|
readonly footerRows?: unknown[] | undefined;
|
|
389
|
+
readonly idPrefix?: string | undefined;
|
|
390
|
+
readonly caption?: string | undefined;
|
|
394
391
|
readonly getRowValue?: Function | undefined;
|
|
395
392
|
readonly getColumnTitle?: Function | undefined;
|
|
393
|
+
readonly rowColumns?: unknown[] | undefined;
|
|
394
|
+
readonly resolveClasses?: Function | undefined;
|
|
395
|
+
readonly columnWidth?: string | undefined;
|
|
396
396
|
};
|
|
397
397
|
}> & ExtractComputedReturns<{}> & ComponentCustomProperties & {} & {
|
|
398
398
|
$slots: Partial<Record<any, (_: {
|
|
@@ -437,62 +437,62 @@ type __VLS_TemplateResult = {
|
|
|
437
437
|
$options: ComponentOptionsBase<ToResolvedProps<{}, {}>, {
|
|
438
438
|
$emit: (event: "column-sorted" | "actual-header-removed" | "actual-header-added", ...args: any[]) => void;
|
|
439
439
|
classes: Record<string, any>;
|
|
440
|
-
isActual: boolean;
|
|
441
440
|
headerRows: unknown[];
|
|
442
|
-
|
|
441
|
+
isActual: boolean;
|
|
443
442
|
rows?: unknown[] | undefined;
|
|
444
|
-
rowColumns?: unknown[] | undefined;
|
|
445
|
-
columnWidth?: string | undefined;
|
|
446
|
-
resolveClasses?: Function | undefined;
|
|
447
|
-
idPrefix?: string | undefined;
|
|
448
443
|
footerRows?: unknown[] | undefined;
|
|
444
|
+
idPrefix?: string | undefined;
|
|
445
|
+
caption?: string | undefined;
|
|
449
446
|
getRowValue?: Function | undefined;
|
|
450
447
|
getColumnTitle?: Function | undefined;
|
|
448
|
+
rowColumns?: unknown[] | undefined;
|
|
449
|
+
resolveClasses?: Function | undefined;
|
|
450
|
+
columnWidth?: string | undefined;
|
|
451
451
|
$props: {
|
|
452
452
|
readonly classes?: Record<string, any> | undefined;
|
|
453
|
-
readonly isActual?: boolean | undefined;
|
|
454
453
|
readonly headerRows?: unknown[] | undefined;
|
|
455
|
-
readonly
|
|
454
|
+
readonly isActual?: boolean | undefined;
|
|
456
455
|
readonly rows?: unknown[] | undefined;
|
|
457
|
-
readonly rowColumns?: unknown[] | undefined;
|
|
458
|
-
readonly columnWidth?: string | undefined;
|
|
459
|
-
readonly resolveClasses?: Function | undefined;
|
|
460
|
-
readonly idPrefix?: string | undefined;
|
|
461
456
|
readonly footerRows?: unknown[] | undefined;
|
|
457
|
+
readonly idPrefix?: string | undefined;
|
|
458
|
+
readonly caption?: string | undefined;
|
|
462
459
|
readonly getRowValue?: Function | undefined;
|
|
463
460
|
readonly getColumnTitle?: Function | undefined;
|
|
461
|
+
readonly rowColumns?: unknown[] | undefined;
|
|
462
|
+
readonly resolveClasses?: Function | undefined;
|
|
463
|
+
readonly columnWidth?: string | undefined;
|
|
464
464
|
};
|
|
465
465
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & MergedComponentOptionsOverride;
|
|
466
466
|
$forceUpdate: () => void;
|
|
467
467
|
$nextTick: typeof nextTick;
|
|
468
468
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: OnCleanup) => any : (args_0: any, args_1: any, args_2: OnCleanup) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
469
|
-
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "$props" | "$emit" | "classes" | "
|
|
469
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "$props" | "$emit" | "classes" | "rows" | "footerRows" | "idPrefix" | "caption" | "getRowValue" | "getColumnTitle" | "headerRows" | "rowColumns" | "resolveClasses" | "columnWidth" | "isActual"> & ShallowUnwrapRef<{
|
|
470
470
|
$emit: (event: "column-sorted" | "actual-header-removed" | "actual-header-added", ...args: any[]) => void;
|
|
471
471
|
classes: Record<string, any>;
|
|
472
|
-
isActual: boolean;
|
|
473
472
|
headerRows: unknown[];
|
|
474
|
-
|
|
473
|
+
isActual: boolean;
|
|
475
474
|
rows?: unknown[] | undefined;
|
|
476
|
-
rowColumns?: unknown[] | undefined;
|
|
477
|
-
columnWidth?: string | undefined;
|
|
478
|
-
resolveClasses?: Function | undefined;
|
|
479
|
-
idPrefix?: string | undefined;
|
|
480
475
|
footerRows?: unknown[] | undefined;
|
|
476
|
+
idPrefix?: string | undefined;
|
|
477
|
+
caption?: string | undefined;
|
|
481
478
|
getRowValue?: Function | undefined;
|
|
482
479
|
getColumnTitle?: Function | undefined;
|
|
480
|
+
rowColumns?: unknown[] | undefined;
|
|
481
|
+
resolveClasses?: Function | undefined;
|
|
482
|
+
columnWidth?: string | undefined;
|
|
483
483
|
$props: {
|
|
484
484
|
readonly classes?: Record<string, any> | undefined;
|
|
485
|
-
readonly isActual?: boolean | undefined;
|
|
486
485
|
readonly headerRows?: unknown[] | undefined;
|
|
487
|
-
readonly
|
|
486
|
+
readonly isActual?: boolean | undefined;
|
|
488
487
|
readonly rows?: unknown[] | undefined;
|
|
489
|
-
readonly rowColumns?: unknown[] | undefined;
|
|
490
|
-
readonly columnWidth?: string | undefined;
|
|
491
|
-
readonly resolveClasses?: Function | undefined;
|
|
492
|
-
readonly idPrefix?: string | undefined;
|
|
493
488
|
readonly footerRows?: unknown[] | undefined;
|
|
489
|
+
readonly idPrefix?: string | undefined;
|
|
490
|
+
readonly caption?: string | undefined;
|
|
494
491
|
readonly getRowValue?: Function | undefined;
|
|
495
492
|
readonly getColumnTitle?: Function | undefined;
|
|
493
|
+
readonly rowColumns?: unknown[] | undefined;
|
|
494
|
+
readonly resolveClasses?: Function | undefined;
|
|
495
|
+
readonly columnWidth?: string | undefined;
|
|
496
496
|
};
|
|
497
497
|
}> & ExtractComputedReturns<{}> & ComponentCustomProperties & {} & {
|
|
498
498
|
$slots: Partial<Record<any, (_: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UluTableSticky.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/table-sticky/UluTableSticky.vue"],"names":[],"mappings":"AA8KA;
|
|
1
|
+
{"version":3,"file":"UluTableSticky.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/table-sticky/UluTableSticky.vue"],"names":[],"mappings":"AA8KA;wBA+gDqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAbjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAhxBS,GAAG,8CACU,GAAG,yBAAyB,GAAG,6DAG/C,GAAF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAJK,GAAG,8CACU,GAAG,yBAAyB,GAAG,6DAG/C,GAAF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAsxBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA1xBM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA9EiE,KAAK"}
|