aloha-vue 2.83.0 → 2.85.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.
- package/CHANGELOG.md +8 -0
- package/dist/aloha-vue.es.js +175 -148
- package/dist/aloha-vue.umd.js +55 -55
- package/package.json +1 -1
- package/src/ATable/ATable.js +26 -20
- package/src/ATable/__tests__/ATable.MultipleActionRows.test.js +86 -0
- package/src/ATable/compositionAPI/CountAPI.js +3 -2
- package/src/ATable/compositionAPI/MultipleActionAPI.js +1 -1
- package/src/ATable/compositionAPI/RowsAPI.js +15 -2
- package/src/ATable/compositionAPI/VariablesAPI.js +2 -0
- package/src/ATranslation/ATranslation.js +46 -0
- package/src/ATranslation/__tests__/ATranslation.test.js +121 -0
package/CHANGELOG.md
CHANGED
package/dist/aloha-vue.es.js
CHANGED
|
@@ -14177,6 +14177,10 @@ var J = {
|
|
|
14177
14177
|
required: !1,
|
|
14178
14178
|
default: void 0
|
|
14179
14179
|
},
|
|
14180
|
+
hideWithoutTranslation: {
|
|
14181
|
+
type: Boolean,
|
|
14182
|
+
required: !1
|
|
14183
|
+
},
|
|
14180
14184
|
html: {
|
|
14181
14185
|
type: [
|
|
14182
14186
|
String,
|
|
@@ -14251,40 +14255,55 @@ var J = {
|
|
|
14251
14255
|
}
|
|
14252
14256
|
},
|
|
14253
14257
|
setup(e) {
|
|
14254
|
-
let { hasTextAfter: t, hasTextBefore:
|
|
14258
|
+
let { hasTextAfter: t, hasTextBefore: r, textAfterForCurrentDevice: i, textBeforeForCurrentDevice: a } = nb(e), { hasText: o, textLocalOptions: s } = tb(e), { hasHtml: c, hasSafeHtml: l, htmlLocalOptions: u, htmlLocalWithBeforeAndAfter: d } = Qy(e, {
|
|
14255
14259
|
hasTextAfter: t,
|
|
14256
|
-
hasTextBefore:
|
|
14257
|
-
textAfterForCurrentDevice:
|
|
14258
|
-
textBeforeForCurrentDevice:
|
|
14259
|
-
}), { titleLocalOptions:
|
|
14260
|
-
htmlLocalOptions:
|
|
14261
|
-
textLocalOptions:
|
|
14262
|
-
titleLocalOptions:
|
|
14263
|
-
}), { hasRestAttributes:
|
|
14264
|
-
hasAriaLabel:
|
|
14265
|
-
hasAttributesLocal:
|
|
14266
|
-
hasPlaceholder:
|
|
14260
|
+
hasTextBefore: r,
|
|
14261
|
+
textAfterForCurrentDevice: i,
|
|
14262
|
+
textBeforeForCurrentDevice: a
|
|
14263
|
+
}), { titleLocalOptions: f } = rb(e), { hasPlaceholder: p, placeholderAttributes: m } = $y(e), { ariaLabelAttributes: h, hasAriaLabel: g } = em(e), { attributesLocal: _, hasAttributesLocal: v } = Zy({
|
|
14264
|
+
htmlLocalOptions: u,
|
|
14265
|
+
textLocalOptions: s,
|
|
14266
|
+
titleLocalOptions: f
|
|
14267
|
+
}), { hasRestAttributes: y } = eb({
|
|
14268
|
+
hasAriaLabel: g,
|
|
14269
|
+
hasAttributesLocal: v,
|
|
14270
|
+
hasPlaceholder: p,
|
|
14267
14271
|
hasTextAfter: t,
|
|
14268
|
-
hasTextBefore:
|
|
14269
|
-
});
|
|
14272
|
+
hasTextBefore: r
|
|
14273
|
+
}), { isMobileWidth: b } = M();
|
|
14270
14274
|
return {
|
|
14271
|
-
ariaLabelAttributes:
|
|
14272
|
-
attributesLocal:
|
|
14273
|
-
|
|
14275
|
+
ariaLabelAttributes: h,
|
|
14276
|
+
attributesLocal: _,
|
|
14277
|
+
hasMissingTranslation: n(() => !e.hideWithoutTranslation || !Np.value ? !1 : [
|
|
14278
|
+
o.value ? e.text : l.value ? e.safeHtml : e.html,
|
|
14279
|
+
e.textBefore,
|
|
14280
|
+
e.textAfter,
|
|
14281
|
+
e.title,
|
|
14282
|
+
e.placeholder,
|
|
14283
|
+
e.ariaLabel
|
|
14284
|
+
].some((e) => {
|
|
14285
|
+
let t = Wr(e) ? e[b.value ? "mobile" : "desktop"] : e;
|
|
14286
|
+
return [].concat(t).some((e) => {
|
|
14287
|
+
if (!Yp(e)) return !1;
|
|
14288
|
+
let t = Pp?.[e];
|
|
14289
|
+
return t == null || t === "";
|
|
14290
|
+
});
|
|
14291
|
+
})),
|
|
14292
|
+
hasText: o,
|
|
14274
14293
|
hasTextAfter: t,
|
|
14275
|
-
hasTextBefore:
|
|
14276
|
-
hasHtml:
|
|
14277
|
-
hasRestAttributes:
|
|
14278
|
-
hasSafeHtml:
|
|
14279
|
-
htmlLocalWithBeforeAndAfter:
|
|
14280
|
-
placeholderAttributes:
|
|
14281
|
-
textAfterForCurrentDevice:
|
|
14282
|
-
textBeforeForCurrentDevice:
|
|
14283
|
-
textLocalOptions:
|
|
14294
|
+
hasTextBefore: r,
|
|
14295
|
+
hasHtml: c,
|
|
14296
|
+
hasRestAttributes: y,
|
|
14297
|
+
hasSafeHtml: l,
|
|
14298
|
+
htmlLocalWithBeforeAndAfter: d,
|
|
14299
|
+
placeholderAttributes: m,
|
|
14300
|
+
textAfterForCurrentDevice: i,
|
|
14301
|
+
textBeforeForCurrentDevice: a,
|
|
14302
|
+
textLocalOptions: s
|
|
14284
14303
|
};
|
|
14285
14304
|
},
|
|
14286
14305
|
render() {
|
|
14287
|
-
return this.hasText ? i(this.tag, {
|
|
14306
|
+
return this.hasMissingTranslation ? null : this.hasText ? i(this.tag, {
|
|
14288
14307
|
...this.attributesLocal,
|
|
14289
14308
|
...this.ariaLabelAttributes,
|
|
14290
14309
|
...this.placeholderAttributes
|
|
@@ -46198,12 +46217,12 @@ function fM(e, { emit: t }, { checkVisibleColumns: r = () => {}, columnIdsGroupB
|
|
|
46198
46217
|
}
|
|
46199
46218
|
//#endregion
|
|
46200
46219
|
//#region src/ATable/compositionAPI/CountAPI.js
|
|
46201
|
-
function pM(e) {
|
|
46202
|
-
let
|
|
46203
|
-
return { countAllRowsLocal: n(() => H(
|
|
46204
|
-
array:
|
|
46220
|
+
function pM(e, { data: t = p(e, "data") } = {}) {
|
|
46221
|
+
let r = p(e, "countAllRows"), i = p(e, "isTree"), a = p(e, "keyChildren"), o = p(e, "keyCountAllRowsInData"), s = n(() => Wr(t.value)), c = n(() => L(t.value));
|
|
46222
|
+
return { countAllRowsLocal: n(() => H(r.value) ? s.value ? +z(t.value, o.value) : c.value ? i.value ? Hf({
|
|
46223
|
+
array: t.value,
|
|
46205
46224
|
keyChildren: a.value
|
|
46206
|
-
}) :
|
|
46225
|
+
}) : t.value.length : t.value.length || 0 : r.value) };
|
|
46207
46226
|
}
|
|
46208
46227
|
//#endregion
|
|
46209
46228
|
//#region src/ATable/compositionAPI/FocusTableAPI.js
|
|
@@ -46273,16 +46292,16 @@ function _M({ columnsOrdered: e = d([]), isMobile: t = d(!1), modelColumnsVisibl
|
|
|
46273
46292
|
}
|
|
46274
46293
|
//#endregion
|
|
46275
46294
|
//#region src/ATable/compositionAPI/MultipleActionAPI.js
|
|
46276
|
-
function vM(e, { emit: t }, { checkVisibleColumns: r = () => {},
|
|
46277
|
-
let
|
|
46295
|
+
function vM(e, { emit: t }, { checkVisibleColumns: r = () => {}, currentMultipleActions: i = d(void 0), isMultipleActionsActive: a = d(void 0), rowsLocalAll: o = n(() => []), rowsLocalLength: s = n(() => 0) }) {
|
|
46296
|
+
let c = p(e, "id"), l = p(e, "multipleActions"), u = d({}), f = d(!1), m = n(() => l.value.length > 0), h = n(() => R(z(i.value, "isHiddenCallback"))), g = n(() => cl(o.value, (e, t) => u.value[t])), _ = () => {
|
|
46278
46297
|
u.value = {};
|
|
46279
46298
|
}, v = () => {
|
|
46280
|
-
|
|
46299
|
+
a.value = !1, i.value = void 0, f.value = !1, _();
|
|
46281
46300
|
}, y = () => {
|
|
46282
|
-
window.isScrollDisabled || iv({ selector: `#${VA({ tableId:
|
|
46301
|
+
window.isScrollDisabled || iv({ selector: `#${VA({ tableId: c.value })}` });
|
|
46283
46302
|
}, b = ({ isActive: e, action: n } = {}) => {
|
|
46284
46303
|
if (e) {
|
|
46285
|
-
|
|
46304
|
+
a.value = !0, i.value = n, setTimeout(() => {
|
|
46286
46305
|
r(), y();
|
|
46287
46306
|
}), t("toggleMultipleActions", {
|
|
46288
46307
|
isActive: e,
|
|
@@ -46290,19 +46309,19 @@ function vM(e, { emit: t }, { checkVisibleColumns: r = () => {}, isMultipleActio
|
|
|
46290
46309
|
});
|
|
46291
46310
|
return;
|
|
46292
46311
|
}
|
|
46293
|
-
|
|
46312
|
+
a.value ? v() : a.value = !0, setTimeout(() => {
|
|
46294
46313
|
r(), y();
|
|
46295
46314
|
}), t("toggleMultipleActions", {
|
|
46296
46315
|
isActive: e,
|
|
46297
46316
|
action: n
|
|
46298
46317
|
});
|
|
46299
|
-
}, x = n(() => Iu(u.value)), S = n(() =>
|
|
46318
|
+
}, x = n(() => Iu(u.value)), S = n(() => s.value > 0 && s.value === x.value), C = n(() => x.value > 0);
|
|
46300
46319
|
return {
|
|
46301
46320
|
areAllRowsSelected: f,
|
|
46302
46321
|
areAllVisibleRowsSelected: S,
|
|
46303
46322
|
areSomeRowsSelected: C,
|
|
46304
46323
|
closeMultipleActionsActive: v,
|
|
46305
|
-
currentMultipleActions:
|
|
46324
|
+
currentMultipleActions: i,
|
|
46306
46325
|
hasMultipleActions: m,
|
|
46307
46326
|
selectedRows: g,
|
|
46308
46327
|
selectedRowsIndexes: u,
|
|
@@ -46312,12 +46331,12 @@ function vM(e, { emit: t }, { checkVisibleColumns: r = () => {}, isMultipleActio
|
|
|
46312
46331
|
if (C.value) _();
|
|
46313
46332
|
else {
|
|
46314
46333
|
let e = {};
|
|
46315
|
-
h.value ? Ku(
|
|
46316
|
-
|
|
46317
|
-
row:
|
|
46334
|
+
h.value ? Ku(s.value, (t) => {
|
|
46335
|
+
i.value.isHiddenCallback({
|
|
46336
|
+
row: o.value[t],
|
|
46318
46337
|
rowIndex: t
|
|
46319
46338
|
}) || (e[t] = !0);
|
|
46320
|
-
}) : Ku(
|
|
46339
|
+
}) : Ku(s.value, (t) => {
|
|
46321
46340
|
e[t] = !0;
|
|
46322
46341
|
}), u.value = e;
|
|
46323
46342
|
}
|
|
@@ -46468,42 +46487,46 @@ function bM(e, t, { aTableRef: r = d({}), isMobile: i = d(void 0), previewBoxWid
|
|
|
46468
46487
|
}
|
|
46469
46488
|
//#endregion
|
|
46470
46489
|
//#region src/ATable/compositionAPI/RowsAPI.js
|
|
46471
|
-
function xM(e, {
|
|
46472
|
-
let
|
|
46473
|
-
|
|
46474
|
-
|
|
46475
|
-
|
|
46476
|
-
|
|
46477
|
-
|
|
46478
|
-
|
|
46479
|
-
|
|
46480
|
-
|
|
46481
|
-
}, C = () => {
|
|
46482
|
-
|
|
46483
|
-
|
|
46490
|
+
function xM(e, { currentMultipleActions: t = d(void 0), dataSorted: r = n(() => []), isMultipleActionsActive: i = d(void 0), limit: a = d(0), offset: o = d(0), setEmptySelectedRowsIndexes: s = () => {}, usePaginationLocal: c = n(() => !1) }) {
|
|
46491
|
+
let l = p(e, "clearSelectedRowsOnDataChange"), u = p(e, "pagination"), f = p(e, "rowsCountRenderPerTick"), m = d([]), h = d([]), g = !0, v = 0, y, b = n(() => i.value && R(t.value?.isRowHiddenCallback) ? r.value.filter((e, n) => !t.value.isRowHiddenCallback({
|
|
46492
|
+
row: e,
|
|
46493
|
+
rowIndex: n
|
|
46494
|
+
})) : r.value), x = n(() => {
|
|
46495
|
+
if (a.value && !u.value.isOutside && c.value) {
|
|
46496
|
+
let e = o.value, t = e + a.value;
|
|
46497
|
+
return b.value.slice(e, t);
|
|
46498
|
+
}
|
|
46499
|
+
return b.value;
|
|
46500
|
+
}), S = n(() => x.value), C = n(() => S.value.length), w = n(() => !!C.value), T = () => {
|
|
46501
|
+
let e = v * f.value, t = e + f.value;
|
|
46502
|
+
_l(x.value.slice(e, t), (e) => h.value.push(e)), v++;
|
|
46503
|
+
}, E = () => {
|
|
46504
|
+
y = setInterval(() => {
|
|
46505
|
+
v * f.value >= x.value.length ? clearInterval(y) : T();
|
|
46484
46506
|
});
|
|
46485
|
-
},
|
|
46486
|
-
clearInterval(
|
|
46507
|
+
}, D = () => {
|
|
46508
|
+
clearInterval(y);
|
|
46487
46509
|
};
|
|
46488
|
-
return _(
|
|
46489
|
-
jl(e,
|
|
46510
|
+
return _(x, (e) => {
|
|
46511
|
+
jl(e, m.value) || (m.value = [...e], !g && l.value && s(), g = !1, h.value = [], v = 0, D(), f.value > 0 ? (T(), E()) : h.value = x.value);
|
|
46490
46512
|
}, {
|
|
46491
46513
|
immediate: !0,
|
|
46492
46514
|
deep: !0
|
|
46493
46515
|
}), {
|
|
46494
46516
|
addRow: ({ row: e }) => {
|
|
46495
|
-
|
|
46517
|
+
h.value.unshift(e);
|
|
46496
46518
|
},
|
|
46519
|
+
dataFiltered: b,
|
|
46497
46520
|
deleteRow: ({ index: e }) => {
|
|
46498
|
-
|
|
46521
|
+
h.value.splice(e, 1);
|
|
46499
46522
|
},
|
|
46500
|
-
hasRows:
|
|
46501
|
-
rowsLocal:
|
|
46502
|
-
rowsLocalAll:
|
|
46503
|
-
rowsLocalLength:
|
|
46504
|
-
stopRenderRows:
|
|
46523
|
+
hasRows: w,
|
|
46524
|
+
rowsLocal: h,
|
|
46525
|
+
rowsLocalAll: S,
|
|
46526
|
+
rowsLocalLength: C,
|
|
46527
|
+
stopRenderRows: D,
|
|
46505
46528
|
updateRow: ({ row: e, rowIndex: t }) => {
|
|
46506
|
-
t >
|
|
46529
|
+
t > h.value.length - 1 || (h.value[t] = e);
|
|
46507
46530
|
}
|
|
46508
46531
|
};
|
|
46509
46532
|
}
|
|
@@ -46699,6 +46722,7 @@ function kM(e) {
|
|
|
46699
46722
|
function AM() {
|
|
46700
46723
|
return {
|
|
46701
46724
|
columnsScrollInvisible: d([]),
|
|
46725
|
+
currentMultipleActions: d(void 0),
|
|
46702
46726
|
indexFirstScrollInvisibleColumn: d(void 0),
|
|
46703
46727
|
isMultipleActionsActive: d(void 0),
|
|
46704
46728
|
modelColumnsVisibleLocal: d({}),
|
|
@@ -47249,37 +47273,39 @@ var PM = {
|
|
|
47249
47273
|
};
|
|
47250
47274
|
},
|
|
47251
47275
|
setup(e, t) {
|
|
47252
|
-
let { columnActionsWidthDefaultsRemLocal: n, columnActionsWidthMinRemLocal: r, columnActionsWidthRemLocal: i, columnWidthDefaultRemLocal: a, previewBoxWidthRemLocal: o } = MM(e), { initModelIsTableWithoutScroll: s, isActionColumnVisibleLocal: c, isActionIconVisibleLocal: l, isColumnsDndLocal: d, isMobile: f, modelIsTableWithoutScroll: p, modelIsTableWithoutScrollComputed: m } = CM(e), {
|
|
47276
|
+
let { columnActionsWidthDefaultsRemLocal: n, columnActionsWidthMinRemLocal: r, columnActionsWidthRemLocal: i, columnWidthDefaultRemLocal: a, previewBoxWidthRemLocal: o } = MM(e), { initModelIsTableWithoutScroll: s, isActionColumnVisibleLocal: c, isActionIconVisibleLocal: l, isColumnsDndLocal: d, isMobile: f, modelIsTableWithoutScroll: p, modelIsTableWithoutScrollComputed: m } = CM(e), { columnsScrollInvisible: h, currentMultipleActions: g, indexFirstScrollInvisibleColumn: v, isMultipleActionsActive: y, modelColumnsVisibleLocal: b, tableGrandparentRef: x, tableRef: S } = AM(e), { scrollToTable: C, setFocusToTable: w } = mM({ tableRef: S }), { hasViews: T, initViewCurrent: E, isViewTableVisible: D, updateViewCurrent: O, viewCurrent: k } = jM(e, t, { closePreviewAll: ut }), { dataSorted: A, initModelSort: j, modelSortLocal: M, useAdditionalSortingLocal: N } = wM(e, { viewCurrent: k }), { columnsOrderedFromSimpleTable: P, renderedGroupedColumns: ee } = dM(e, {
|
|
47253
47277
|
modelSort: M,
|
|
47254
47278
|
slots: t.slots
|
|
47255
47279
|
}), { columnIdsGroupByLocked: te, columnsFilteredForRender: ne, columnsFilteredForRenderIndexesMapping: F, columnsOrdered: re, countNotHiddenColumns: I } = uM(e, {
|
|
47256
|
-
columnsScrollInvisible:
|
|
47280
|
+
columnsScrollInvisible: h,
|
|
47257
47281
|
indexFirstScrollInvisibleColumn: v,
|
|
47258
47282
|
modelColumnsVisibleLocal: b,
|
|
47259
47283
|
modelIsTableWithoutScrollComputed: m,
|
|
47260
47284
|
columnsOrderedFromSimpleTable: P
|
|
47261
47285
|
}), { changeLimit: ie, changeOffset: ae, initLocalVars: oe, limit: se, offset: ce, usePaginationBottom: le, usePaginationLocal: ue, usePaginationTop: de } = gM(e, t, {
|
|
47262
|
-
closePreviewAll:
|
|
47286
|
+
closePreviewAll: ut,
|
|
47263
47287
|
scrollToTable: C,
|
|
47264
47288
|
setFocusToTable: w,
|
|
47265
47289
|
viewCurrent: k
|
|
47266
|
-
}), { addRow: fe,
|
|
47290
|
+
}), { addRow: fe, dataFiltered: pe, deleteRow: me, hasRows: he, rowsLocal: ge, rowsLocalAll: L, rowsLocalLength: _e, stopRenderRows: ve, updateRow: ye } = xM(e, {
|
|
47291
|
+
currentMultipleActions: g,
|
|
47267
47292
|
dataSorted: A,
|
|
47293
|
+
isMultipleActionsActive: y,
|
|
47268
47294
|
limit: se,
|
|
47269
47295
|
offset: ce,
|
|
47270
|
-
setEmptySelectedRowsIndexes:
|
|
47296
|
+
setEmptySelectedRowsIndexes: dt,
|
|
47271
47297
|
usePaginationLocal: ue
|
|
47272
|
-
}), { columnActionsBtnGroupMaxWidthStyle:
|
|
47298
|
+
}), { countAllRowsLocal: be } = pM(e, { data: pe }), { columnActionsBtnGroupMaxWidthStyle: xe, columnActionsWidthLocal: Se, columnActionsWidthMinLocal: Ce, isColumnActionWide: we } = lM(e, {
|
|
47273
47299
|
columnActionsWidthDefaultsRemLocal: n,
|
|
47274
47300
|
columnActionsWidthMinRemLocal: r,
|
|
47275
47301
|
columnActionsWidthRemLocal: i,
|
|
47276
47302
|
isMobile: f,
|
|
47277
|
-
rowsLocal:
|
|
47278
|
-
}), { aTableRef:
|
|
47279
|
-
columnActionsWidthLocal:
|
|
47280
|
-
columnActionsWidthMinLocal:
|
|
47303
|
+
rowsLocal: ge
|
|
47304
|
+
}), { aTableRef: Te, changeModelIsTableWithoutScroll: Ee, checkVisibleColumns: De, columnsVisibleAdditionalSpaceForOneGrow: Oe, onWatchMobileScrollControl: ke } = SM(e, t, {
|
|
47305
|
+
columnActionsWidthLocal: Se,
|
|
47306
|
+
columnActionsWidthMinLocal: Ce,
|
|
47281
47307
|
columnsOrdered: re,
|
|
47282
|
-
columnsScrollInvisible:
|
|
47308
|
+
columnsScrollInvisible: h,
|
|
47283
47309
|
columnWidthDefaultRemLocal: a,
|
|
47284
47310
|
indexFirstScrollInvisibleColumn: v,
|
|
47285
47311
|
isMobile: f,
|
|
@@ -47287,110 +47313,111 @@ var PM = {
|
|
|
47287
47313
|
modelColumnsVisibleLocal: b,
|
|
47288
47314
|
modelIsTableWithoutScroll: p,
|
|
47289
47315
|
modelIsTableWithoutScrollComputed: m
|
|
47290
|
-
}), { changeColumnsOrdering:
|
|
47291
|
-
checkVisibleColumns:
|
|
47316
|
+
}), { changeColumnsOrdering: Ae, checkColumnsOrdering: je } = fM(e, t, {
|
|
47317
|
+
checkVisibleColumns: De,
|
|
47292
47318
|
columnIdsGroupByLocked: te,
|
|
47293
47319
|
columnsFilteredForRenderIndexesMapping: F
|
|
47294
|
-
}), { isRowActionsStickyLocal:
|
|
47320
|
+
}), { isRowActionsStickyLocal: Me } = EM(e, {
|
|
47295
47321
|
isMobile: f,
|
|
47296
47322
|
modelIsTableWithoutScrollComputed: m
|
|
47297
|
-
}), { areAllRowsSelected:
|
|
47298
|
-
checkVisibleColumns:
|
|
47323
|
+
}), { areAllRowsSelected: Ne, areAllVisibleRowsSelected: Pe, areSomeRowsSelected: Fe, closeMultipleActionsActive: Ie, hasMultipleActions: Le, selectedRows: Re, selectedRowsIndexes: ze, setEmptySelectedRowsIndexes: Be, setSelectedRowsIndexes: R, toggleBtnAllRows: Ve, toggleMultipleActionsActive: He } = vM(e, t, {
|
|
47324
|
+
checkVisibleColumns: De,
|
|
47325
|
+
currentMultipleActions: g,
|
|
47299
47326
|
isMultipleActionsActive: y,
|
|
47300
|
-
rowsLocalAll:
|
|
47301
|
-
rowsLocalLength:
|
|
47302
|
-
}), { changeModelColumnsVisible:
|
|
47327
|
+
rowsLocalAll: L,
|
|
47328
|
+
rowsLocalLength: _e
|
|
47329
|
+
}), { changeModelColumnsVisible: Ue } = OM(e, t, {
|
|
47303
47330
|
modelColumnsVisibleLocal: b,
|
|
47304
|
-
checkVisibleColumns:
|
|
47305
|
-
}), { closePreview:
|
|
47306
|
-
aTableRef:
|
|
47331
|
+
checkVisibleColumns: De
|
|
47332
|
+
}), { closePreview: We, closePreviewAll: Ge, hasPreview: Ke, isPreviewRightOpen: qe, onTogglePreview: Je, mousedownResizePreviewRight: Ye, mousemoveResizePreviewRight: Xe, mouseupResizePreviewRight: Ze, previewDownRowIds: Qe, previewRightRowIndex: $e, previewRightRowIndexLast: et, togglePreviewResize: tt } = bM(e, t, {
|
|
47333
|
+
aTableRef: Te,
|
|
47307
47334
|
isMobile: f,
|
|
47308
47335
|
previewBoxWidthRemLocal: o,
|
|
47309
|
-
rowsLocalAll:
|
|
47336
|
+
rowsLocalAll: L,
|
|
47310
47337
|
tableGrandparentRef: x
|
|
47311
|
-
}), { tableChildRole:
|
|
47338
|
+
}), { tableChildRole: nt, tableLabelId: rt, tableRoleAttributes: it } = DM(e, {
|
|
47312
47339
|
countNotHiddenColumns: I,
|
|
47313
47340
|
isMobile: f
|
|
47314
|
-
}), { allVisibleMobileColumns:
|
|
47341
|
+
}), { allVisibleMobileColumns: at } = _M({
|
|
47315
47342
|
columnsOrdered: re,
|
|
47316
47343
|
isMobile: f,
|
|
47317
47344
|
modelColumnsVisibleLocal: b
|
|
47318
|
-
}), { changeModelSort:
|
|
47345
|
+
}), { changeModelSort: ot } = TM(e, t, {
|
|
47319
47346
|
modelSortLocal: M,
|
|
47320
|
-
closePreviewAll:
|
|
47321
|
-
}), { paginationModes:
|
|
47322
|
-
checkColumnsOrdering:
|
|
47323
|
-
checkVisibleColumns:
|
|
47347
|
+
closePreviewAll: ut
|
|
47348
|
+
}), { paginationModes: st } = NM(e, { isMobile: f }), { initTable: ct } = hM(e, t, {
|
|
47349
|
+
checkColumnsOrdering: je,
|
|
47350
|
+
checkVisibleColumns: De,
|
|
47324
47351
|
modelColumnsVisibleLocal: b
|
|
47325
|
-
}), { emptyText:
|
|
47326
|
-
function lt() {
|
|
47327
|
-
We();
|
|
47328
|
-
}
|
|
47352
|
+
}), { emptyText: lt } = kM(e);
|
|
47329
47353
|
function ut() {
|
|
47330
|
-
|
|
47354
|
+
Ge();
|
|
47355
|
+
}
|
|
47356
|
+
function dt() {
|
|
47357
|
+
Be();
|
|
47331
47358
|
}
|
|
47332
47359
|
return _(f, (e) => {
|
|
47333
|
-
|
|
47334
|
-
}), _(
|
|
47335
|
-
e !== t &&
|
|
47336
|
-
}), u("changeModelIsTableWithoutScroll",
|
|
47360
|
+
ke(e), ut();
|
|
47361
|
+
}), _(we, (e, t) => {
|
|
47362
|
+
e !== t && De();
|
|
47363
|
+
}), u("changeModelIsTableWithoutScroll", Ee), u("changeModelSort", ot), u("columnsOrdered", re), u("columnsFilteredForRender", ne), u("columnsScrollInvisible", h), u("columnWidthDefault", a), u("columnsVisibleAdditionalSpaceForOneGrow", Oe), u("columnActionsWidthLocal", Se), u("columnActionsWidthMinLocal", Ce), u("currentMultipleActions", g), u("hasPreview", Ke), u("indexFirstScrollInvisibleColumn", v), u("isActionColumnVisible", c), u("isActionIconVisible", l), u("isColumnsDnd", d), u("isMobile", f), u("isMultipleActionsActive", y), u("modelIsTableWithoutScroll", m), u("onTogglePreview", Je), u("previewRightRowIndex", $e), u("previewRightRowIndexLast", et), u("rowsLocalAll", L), u("modelColumnsVisibleLocal", b), u("changeColumnsOrdering", Ae), oe(), s(), E(), ct(), j(), {
|
|
47337
47364
|
addRow: fe,
|
|
47338
|
-
allVisibleMobileColumns:
|
|
47339
|
-
areAllRowsSelected:
|
|
47340
|
-
areAllVisibleRowsSelected:
|
|
47341
|
-
areSomeRowsSelected:
|
|
47342
|
-
aTableRef:
|
|
47365
|
+
allVisibleMobileColumns: at,
|
|
47366
|
+
areAllRowsSelected: Ne,
|
|
47367
|
+
areAllVisibleRowsSelected: Pe,
|
|
47368
|
+
areSomeRowsSelected: Fe,
|
|
47369
|
+
aTableRef: Te,
|
|
47343
47370
|
changeLimit: ie,
|
|
47344
|
-
changeModelColumnsVisible:
|
|
47371
|
+
changeModelColumnsVisible: Ue,
|
|
47345
47372
|
changeOffset: ae,
|
|
47346
|
-
checkVisibleColumns:
|
|
47347
|
-
closeMultipleActionsActive:
|
|
47348
|
-
closePreview:
|
|
47349
|
-
closePreviewAll:
|
|
47350
|
-
columnActionsBtnGroupMaxWidthStyle:
|
|
47373
|
+
checkVisibleColumns: De,
|
|
47374
|
+
closeMultipleActionsActive: Ie,
|
|
47375
|
+
closePreview: We,
|
|
47376
|
+
closePreviewAll: ut,
|
|
47377
|
+
columnActionsBtnGroupMaxWidthStyle: xe,
|
|
47351
47378
|
columnsFilteredForRender: ne,
|
|
47352
47379
|
columnsOrdered: re,
|
|
47353
|
-
countAllRowsLocal:
|
|
47354
|
-
deleteRow:
|
|
47355
|
-
emptyText:
|
|
47356
|
-
hasMultipleActions:
|
|
47357
|
-
hasRows:
|
|
47380
|
+
countAllRowsLocal: be,
|
|
47381
|
+
deleteRow: me,
|
|
47382
|
+
emptyText: lt,
|
|
47383
|
+
hasMultipleActions: Le,
|
|
47384
|
+
hasRows: he,
|
|
47358
47385
|
hasViews: T,
|
|
47359
47386
|
isMobile: f,
|
|
47360
47387
|
isMultipleActionsActive: y,
|
|
47361
|
-
isPreviewRightOpen:
|
|
47362
|
-
isRowActionsStickyLocal:
|
|
47388
|
+
isPreviewRightOpen: qe,
|
|
47389
|
+
isRowActionsStickyLocal: Me,
|
|
47363
47390
|
isViewTableVisible: D,
|
|
47364
47391
|
limit: se,
|
|
47365
47392
|
modelColumnsVisibleLocal: b,
|
|
47366
47393
|
modelIsTableWithoutScrollComputed: m,
|
|
47367
47394
|
modelSortLocal: M,
|
|
47368
|
-
mousedownResizePreviewRight:
|
|
47369
|
-
mousemoveResizePreviewRight:
|
|
47370
|
-
mouseupResizePreviewRight:
|
|
47395
|
+
mousedownResizePreviewRight: Ye,
|
|
47396
|
+
mousemoveResizePreviewRight: Xe,
|
|
47397
|
+
mouseupResizePreviewRight: Ze,
|
|
47371
47398
|
offset: ce,
|
|
47372
|
-
onTogglePreview:
|
|
47373
|
-
paginationModes:
|
|
47374
|
-
previewDownRowIds:
|
|
47375
|
-
previewRightRowIndex:
|
|
47399
|
+
onTogglePreview: Je,
|
|
47400
|
+
paginationModes: st,
|
|
47401
|
+
previewDownRowIds: Qe,
|
|
47402
|
+
previewRightRowIndex: $e,
|
|
47376
47403
|
renderedGroupedColumns: ee,
|
|
47377
|
-
rowsLocal:
|
|
47378
|
-
rowsLocalAll:
|
|
47379
|
-
rowsLocalLength:
|
|
47380
|
-
selectedRows:
|
|
47381
|
-
selectedRowsIndexes:
|
|
47382
|
-
setEmptySelectedRowsIndexes:
|
|
47383
|
-
setSelectedRowsIndexes:
|
|
47384
|
-
stopRenderRows:
|
|
47385
|
-
tableChildRole:
|
|
47404
|
+
rowsLocal: ge,
|
|
47405
|
+
rowsLocalAll: L,
|
|
47406
|
+
rowsLocalLength: _e,
|
|
47407
|
+
selectedRows: Re,
|
|
47408
|
+
selectedRowsIndexes: ze,
|
|
47409
|
+
setEmptySelectedRowsIndexes: dt,
|
|
47410
|
+
setSelectedRowsIndexes: R,
|
|
47411
|
+
stopRenderRows: ve,
|
|
47412
|
+
tableChildRole: nt,
|
|
47386
47413
|
tableGrandparentRef: x,
|
|
47387
|
-
tableLabelId:
|
|
47414
|
+
tableLabelId: rt,
|
|
47388
47415
|
tableRef: S,
|
|
47389
|
-
tableRoleAttributes:
|
|
47390
|
-
toggleBtnAllRows:
|
|
47391
|
-
toggleMultipleActionsActive:
|
|
47392
|
-
togglePreviewResize:
|
|
47393
|
-
updateRow:
|
|
47416
|
+
tableRoleAttributes: it,
|
|
47417
|
+
toggleBtnAllRows: Ve,
|
|
47418
|
+
toggleMultipleActionsActive: He,
|
|
47419
|
+
togglePreviewResize: tt,
|
|
47420
|
+
updateRow: ye,
|
|
47394
47421
|
updateViewCurrent: O,
|
|
47395
47422
|
useAdditionalSortingLocal: N,
|
|
47396
47423
|
usePaginationBottom: le,
|