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 CHANGED
@@ -7,6 +7,14 @@
7
7
  ---
8
8
  # Versions
9
9
 
10
+ ## 2.85.0
11
+
12
+ - feat(translation): add hide-without-translation prop
13
+
14
+ ## 2.84.0
15
+
16
+ - feat(ATable): filter rows via isRowHiddenCallback
17
+
10
18
  ## 2.83.0
11
19
 
12
20
  - feat(ui): support reactive URL templates
@@ -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: n, textAfterForCurrentDevice: r, textBeforeForCurrentDevice: i } = nb(e), { hasText: a, textLocalOptions: o } = tb(e), { hasHtml: s, hasSafeHtml: c, htmlLocalOptions: l, htmlLocalWithBeforeAndAfter: u } = Qy(e, {
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: n,
14257
- textAfterForCurrentDevice: r,
14258
- textBeforeForCurrentDevice: i
14259
- }), { titleLocalOptions: d } = rb(e), { hasPlaceholder: f, placeholderAttributes: p } = $y(e), { ariaLabelAttributes: m, hasAriaLabel: h } = em(e), { attributesLocal: g, hasAttributesLocal: _ } = Zy({
14260
- htmlLocalOptions: l,
14261
- textLocalOptions: o,
14262
- titleLocalOptions: d
14263
- }), { hasRestAttributes: v } = eb({
14264
- hasAriaLabel: h,
14265
- hasAttributesLocal: _,
14266
- hasPlaceholder: f,
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: n
14269
- });
14272
+ hasTextBefore: r
14273
+ }), { isMobileWidth: b } = M();
14270
14274
  return {
14271
- ariaLabelAttributes: m,
14272
- attributesLocal: g,
14273
- hasText: a,
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: n,
14276
- hasHtml: s,
14277
- hasRestAttributes: v,
14278
- hasSafeHtml: c,
14279
- htmlLocalWithBeforeAndAfter: u,
14280
- placeholderAttributes: p,
14281
- textAfterForCurrentDevice: r,
14282
- textBeforeForCurrentDevice: i,
14283
- textLocalOptions: o
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 t = p(e, "countAllRows"), r = p(e, "data"), i = p(e, "isTree"), a = p(e, "keyChildren"), o = p(e, "keyCountAllRowsInData"), s = n(() => Wr(r.value)), c = n(() => L(r.value));
46203
- return { countAllRowsLocal: n(() => H(t.value) ? s.value ? +z(r.value, o.value) : c.value ? i.value ? Hf({
46204
- array: r.value,
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
- }) : r.value.length : r.value.length || 0 : t.value) };
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 = () => {}, isMultipleActionsActive: i = d(void 0), rowsLocalAll: a = n(() => []), rowsLocalLength: o = n(() => 0) }) {
46277
- let s = p(e, "id"), c = p(e, "multipleActions"), l = d(void 0), u = d({}), f = d(!1), m = n(() => c.value.length > 0), h = n(() => R(z(l.value, "isHiddenCallback"))), g = n(() => cl(a.value, (e, t) => u.value[t])), _ = () => {
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
- i.value = !1, l.value = void 0, f.value = !1, _();
46299
+ a.value = !1, i.value = void 0, f.value = !1, _();
46281
46300
  }, y = () => {
46282
- window.isScrollDisabled || iv({ selector: `#${VA({ tableId: s.value })}` });
46301
+ window.isScrollDisabled || iv({ selector: `#${VA({ tableId: c.value })}` });
46283
46302
  }, b = ({ isActive: e, action: n } = {}) => {
46284
46303
  if (e) {
46285
- i.value = !0, l.value = n, setTimeout(() => {
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
- i.value ? v() : i.value = !0, setTimeout(() => {
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(() => o.value > 0 && o.value === x.value), C = n(() => x.value > 0);
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: l,
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(o.value, (t) => {
46316
- l.value.isHiddenCallback({
46317
- row: a.value[t],
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(o.value, (t) => {
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, { dataSorted: t = n(() => []), limit: r = d(0), offset: i = d(0), setEmptySelectedRowsIndexes: a = () => {}, usePaginationLocal: o = n(() => !1) }) {
46472
- let s = p(e, "clearSelectedRowsOnDataChange"), c = p(e, "pagination"), l = p(e, "rowsCountRenderPerTick"), u = d([]), f = d([]), m = !0, h = 0, g, v = n(() => {
46473
- if (r.value && !c.value.isOutside && o.value) {
46474
- let e = i.value, n = e + r.value;
46475
- return t.value.slice(e, n);
46476
- }
46477
- return t.value;
46478
- }), y = n(() => v.value), b = n(() => y.value.length), x = n(() => !!b.value), S = () => {
46479
- let e = h * l.value, t = e + l.value;
46480
- _l(v.value.slice(e, t), (e) => f.value.push(e)), h++;
46481
- }, C = () => {
46482
- g = setInterval(() => {
46483
- h * l.value >= v.value.length ? clearInterval(g) : S();
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
- }, w = () => {
46486
- clearInterval(g);
46507
+ }, D = () => {
46508
+ clearInterval(y);
46487
46509
  };
46488
- return _(v, (e) => {
46489
- jl(e, u.value) || (u.value = [...e], !m && s.value && a(), m = !1, f.value = [], h = 0, w(), l.value > 0 ? (S(), C()) : f.value = v.value);
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
- f.value.unshift(e);
46517
+ h.value.unshift(e);
46496
46518
  },
46519
+ dataFiltered: b,
46497
46520
  deleteRow: ({ index: e }) => {
46498
- f.value.splice(e, 1);
46521
+ h.value.splice(e, 1);
46499
46522
  },
46500
- hasRows: x,
46501
- rowsLocal: f,
46502
- rowsLocalAll: y,
46503
- rowsLocalLength: b,
46504
- stopRenderRows: w,
46523
+ hasRows: w,
46524
+ rowsLocal: h,
46525
+ rowsLocalAll: S,
46526
+ rowsLocalLength: C,
46527
+ stopRenderRows: D,
46505
46528
  updateRow: ({ row: e, rowIndex: t }) => {
46506
- t > f.value.length - 1 || (f.value[t] = e);
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), { countAllRowsLocal: h } = pM(e), { columnsScrollInvisible: 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: lt }), { dataSorted: A, initModelSort: j, modelSortLocal: M, useAdditionalSortingLocal: N } = wM(e, { viewCurrent: k }), { columnsOrderedFromSimpleTable: P, renderedGroupedColumns: ee } = dM(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: g,
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: lt,
47286
+ closePreviewAll: ut,
47263
47287
  scrollToTable: C,
47264
47288
  setFocusToTable: w,
47265
47289
  viewCurrent: k
47266
- }), { addRow: fe, deleteRow: pe, hasRows: me, rowsLocal: he, rowsLocalAll: ge, rowsLocalLength: L, stopRenderRows: _e, updateRow: ve } = xM(e, {
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: ut,
47296
+ setEmptySelectedRowsIndexes: dt,
47271
47297
  usePaginationLocal: ue
47272
- }), { columnActionsBtnGroupMaxWidthStyle: ye, columnActionsWidthLocal: be, columnActionsWidthMinLocal: xe, isColumnActionWide: Se } = lM(e, {
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: he
47278
- }), { aTableRef: Ce, changeModelIsTableWithoutScroll: we, checkVisibleColumns: Te, columnsVisibleAdditionalSpaceForOneGrow: Ee, onWatchMobileScrollControl: De } = SM(e, t, {
47279
- columnActionsWidthLocal: be,
47280
- columnActionsWidthMinLocal: xe,
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: g,
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: Oe, checkColumnsOrdering: ke } = fM(e, t, {
47291
- checkVisibleColumns: Te,
47316
+ }), { changeColumnsOrdering: Ae, checkColumnsOrdering: je } = fM(e, t, {
47317
+ checkVisibleColumns: De,
47292
47318
  columnIdsGroupByLocked: te,
47293
47319
  columnsFilteredForRenderIndexesMapping: F
47294
- }), { isRowActionsStickyLocal: Ae } = EM(e, {
47320
+ }), { isRowActionsStickyLocal: Me } = EM(e, {
47295
47321
  isMobile: f,
47296
47322
  modelIsTableWithoutScrollComputed: m
47297
- }), { areAllRowsSelected: je, areAllVisibleRowsSelected: Me, areSomeRowsSelected: Ne, closeMultipleActionsActive: Pe, currentMultipleActions: Fe, hasMultipleActions: Ie, selectedRows: Le, selectedRowsIndexes: Re, setEmptySelectedRowsIndexes: ze, setSelectedRowsIndexes: Be, toggleBtnAllRows: R, toggleMultipleActionsActive: Ve } = vM(e, t, {
47298
- checkVisibleColumns: Te,
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: ge,
47301
- rowsLocalLength: L
47302
- }), { changeModelColumnsVisible: He } = OM(e, t, {
47327
+ rowsLocalAll: L,
47328
+ rowsLocalLength: _e
47329
+ }), { changeModelColumnsVisible: Ue } = OM(e, t, {
47303
47330
  modelColumnsVisibleLocal: b,
47304
- checkVisibleColumns: Te
47305
- }), { closePreview: Ue, closePreviewAll: We, hasPreview: Ge, isPreviewRightOpen: Ke, onTogglePreview: qe, mousedownResizePreviewRight: Je, mousemoveResizePreviewRight: Ye, mouseupResizePreviewRight: Xe, previewDownRowIds: Ze, previewRightRowIndex: Qe, previewRightRowIndexLast: $e, togglePreviewResize: et } = bM(e, t, {
47306
- aTableRef: Ce,
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: ge,
47336
+ rowsLocalAll: L,
47310
47337
  tableGrandparentRef: x
47311
- }), { tableChildRole: tt, tableLabelId: nt, tableRoleAttributes: rt } = DM(e, {
47338
+ }), { tableChildRole: nt, tableLabelId: rt, tableRoleAttributes: it } = DM(e, {
47312
47339
  countNotHiddenColumns: I,
47313
47340
  isMobile: f
47314
- }), { allVisibleMobileColumns: it } = _M({
47341
+ }), { allVisibleMobileColumns: at } = _M({
47315
47342
  columnsOrdered: re,
47316
47343
  isMobile: f,
47317
47344
  modelColumnsVisibleLocal: b
47318
- }), { changeModelSort: at } = TM(e, t, {
47345
+ }), { changeModelSort: ot } = TM(e, t, {
47319
47346
  modelSortLocal: M,
47320
- closePreviewAll: lt
47321
- }), { paginationModes: ot } = NM(e, { isMobile: f }), { initTable: st } = hM(e, t, {
47322
- checkColumnsOrdering: ke,
47323
- checkVisibleColumns: Te,
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: ct } = kM(e);
47326
- function lt() {
47327
- We();
47328
- }
47352
+ }), { emptyText: lt } = kM(e);
47329
47353
  function ut() {
47330
- ze();
47354
+ Ge();
47355
+ }
47356
+ function dt() {
47357
+ Be();
47331
47358
  }
47332
47359
  return _(f, (e) => {
47333
- De(e), lt();
47334
- }), _(Se, (e, t) => {
47335
- e !== t && Te();
47336
- }), u("changeModelIsTableWithoutScroll", we), u("changeModelSort", at), u("columnsOrdered", re), u("columnsFilteredForRender", ne), u("columnsScrollInvisible", g), u("columnWidthDefault", a), u("columnsVisibleAdditionalSpaceForOneGrow", Ee), u("columnActionsWidthLocal", be), u("columnActionsWidthMinLocal", xe), u("currentMultipleActions", Fe), u("hasPreview", Ge), u("indexFirstScrollInvisibleColumn", v), u("isActionColumnVisible", c), u("isActionIconVisible", l), u("isColumnsDnd", d), u("isMobile", f), u("isMultipleActionsActive", y), u("modelIsTableWithoutScroll", m), u("onTogglePreview", qe), u("previewRightRowIndex", Qe), u("previewRightRowIndexLast", $e), u("rowsLocalAll", ge), u("modelColumnsVisibleLocal", b), u("changeColumnsOrdering", Oe), oe(), s(), E(), st(), j(), {
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: it,
47339
- areAllRowsSelected: je,
47340
- areAllVisibleRowsSelected: Me,
47341
- areSomeRowsSelected: Ne,
47342
- aTableRef: Ce,
47365
+ allVisibleMobileColumns: at,
47366
+ areAllRowsSelected: Ne,
47367
+ areAllVisibleRowsSelected: Pe,
47368
+ areSomeRowsSelected: Fe,
47369
+ aTableRef: Te,
47343
47370
  changeLimit: ie,
47344
- changeModelColumnsVisible: He,
47371
+ changeModelColumnsVisible: Ue,
47345
47372
  changeOffset: ae,
47346
- checkVisibleColumns: Te,
47347
- closeMultipleActionsActive: Pe,
47348
- closePreview: Ue,
47349
- closePreviewAll: lt,
47350
- columnActionsBtnGroupMaxWidthStyle: ye,
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: h,
47354
- deleteRow: pe,
47355
- emptyText: ct,
47356
- hasMultipleActions: Ie,
47357
- hasRows: me,
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: Ke,
47362
- isRowActionsStickyLocal: Ae,
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: Je,
47369
- mousemoveResizePreviewRight: Ye,
47370
- mouseupResizePreviewRight: Xe,
47395
+ mousedownResizePreviewRight: Ye,
47396
+ mousemoveResizePreviewRight: Xe,
47397
+ mouseupResizePreviewRight: Ze,
47371
47398
  offset: ce,
47372
- onTogglePreview: qe,
47373
- paginationModes: ot,
47374
- previewDownRowIds: Ze,
47375
- previewRightRowIndex: Qe,
47399
+ onTogglePreview: Je,
47400
+ paginationModes: st,
47401
+ previewDownRowIds: Qe,
47402
+ previewRightRowIndex: $e,
47376
47403
  renderedGroupedColumns: ee,
47377
- rowsLocal: he,
47378
- rowsLocalAll: ge,
47379
- rowsLocalLength: L,
47380
- selectedRows: Le,
47381
- selectedRowsIndexes: Re,
47382
- setEmptySelectedRowsIndexes: ut,
47383
- setSelectedRowsIndexes: Be,
47384
- stopRenderRows: _e,
47385
- tableChildRole: tt,
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: nt,
47414
+ tableLabelId: rt,
47388
47415
  tableRef: S,
47389
- tableRoleAttributes: rt,
47390
- toggleBtnAllRows: R,
47391
- toggleMultipleActionsActive: Ve,
47392
- togglePreviewResize: et,
47393
- updateRow: ve,
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,