blixify-ui-web 1.2.11 → 1.2.12
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/lib/components/action/iconButton/index.d.ts +1 -0
- package/lib/components/action/iconButton/index.d.ts.map +1 -1
- package/lib/components/action/iconButton/index.js +2 -1
- package/lib/components/action/iconButton/index.js.map +1 -1
- package/lib/components/data/dataTemplate/flexFilterModel.d.ts +18 -0
- package/lib/components/data/dataTemplate/flexFilterModel.d.ts.map +1 -0
- package/lib/components/data/dataTemplate/flexFilterModel.js +50 -0
- package/lib/components/data/dataTemplate/flexFilterModel.js.map +1 -0
- package/lib/components/data/dataTemplate/flexFilterModule.d.ts +53 -0
- package/lib/components/data/dataTemplate/flexFilterModule.d.ts.map +1 -0
- package/lib/components/data/dataTemplate/flexFilterModule.js +373 -0
- package/lib/components/data/dataTemplate/flexFilterModule.js.map +1 -0
- package/lib/components/data/dataTemplate/index.d.ts.map +1 -1
- package/lib/components/data/dataTemplate/index.js +226 -87
- package/lib/components/data/dataTemplate/index.js.map +1 -1
- package/lib/components/data/dataTemplate/model.d.ts +2 -0
- package/lib/components/data/dataTemplate/model.d.ts.map +1 -1
- package/lib/components/data/listModule.d.ts +9 -2
- package/lib/components/data/listModule.d.ts.map +1 -1
- package/lib/components/data/listModule.js +134 -12
- package/lib/components/data/listModule.js.map +1 -1
- package/lib/components/data/testSchema.d.ts +26 -0
- package/lib/components/data/testSchema.d.ts.map +1 -1
- package/lib/components/data/testSchema.js +407 -1
- package/lib/components/data/testSchema.js.map +1 -1
- package/lib/components/display/detailList/index.d.ts +1 -0
- package/lib/components/display/detailList/index.d.ts.map +1 -1
- package/lib/components/display/detailList/index.js +2 -2
- package/lib/components/display/detailList/index.js.map +1 -1
- package/lib/components/display/newTable/index.d.ts +54 -3
- package/lib/components/display/newTable/index.d.ts.map +1 -1
- package/lib/components/display/newTable/index.js +769 -74
- package/lib/components/display/newTable/index.js.map +1 -1
- package/lib/tail.css +2 -2
- package/package.json +1 -1
|
@@ -145,6 +145,8 @@ var indexedDb_1 = require("./indexedDb");
|
|
|
145
145
|
var pagination_1 = require("./pagination");
|
|
146
146
|
var referenceModal_1 = require("./referenceModal");
|
|
147
147
|
var settingsModal_1 = require("./settingsModal");
|
|
148
|
+
var flexFilterModel_1 = require("./flexFilterModel");
|
|
149
|
+
var flexFilterModule_1 = require("./flexFilterModule");
|
|
148
150
|
exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
149
151
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41;
|
|
150
152
|
var intialiseDefaultFilterValues = function () {
|
|
@@ -251,79 +253,92 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
251
253
|
}), batchUpdateData = _76[0], setBatchUpdateData = _76[1];
|
|
252
254
|
var _77 = (0, react_1.useState)((props === null || props === void 0 ? void 0 : props.model) || []), structure = _77[0], setStructure = _77[1];
|
|
253
255
|
var _78 = (0, react_1.useState)(((_e = props === null || props === void 0 ? void 0 : props.organise) === null || _e === void 0 ? void 0 : _e.additionalQuery) || []), additionalQuery = _78[0], setAdditionalQuery = _78[1];
|
|
256
|
+
// INFO: State for user-configurable flex filters (Monday.com-style)
|
|
257
|
+
// INFO: Initialize with one empty row so users see inputs immediately without clicking "Add Filter"
|
|
258
|
+
var _79 = (0, react_1.useState)([
|
|
259
|
+
{
|
|
260
|
+
id: "flex-filter-init-row",
|
|
261
|
+
columnId: "",
|
|
262
|
+
operator: "=",
|
|
263
|
+
value: undefined,
|
|
264
|
+
},
|
|
265
|
+
]), flexFilters = _79[0], setFlexFilters = _79[1];
|
|
266
|
+
var _80 = (0, react_1.useState)({}), flexFilterReferenceOptions = _80[0], setFlexFilterReferenceOptions = _80[1];
|
|
267
|
+
var _81 = (0, react_1.useState)({}), flexFilterReferenceSearch = _81[0], setFlexFilterReferenceSearch = _81[1];
|
|
268
|
+
var _82 = (0, react_1.useState)(false), flexFilterModalOpen = _82[0], setFlexFilterModalOpen = _82[1];
|
|
254
269
|
//INFO : Used by Auth
|
|
255
|
-
var
|
|
270
|
+
var _83 = (0, react_1.useState)({
|
|
256
271
|
email: "",
|
|
257
272
|
google: "",
|
|
258
273
|
phone: "",
|
|
259
274
|
disabled: false,
|
|
260
275
|
create: false,
|
|
261
|
-
}), authMethods =
|
|
262
|
-
var
|
|
276
|
+
}), authMethods = _83[0], setAuthMethods = _83[1];
|
|
277
|
+
var _84 = (0, react_1.useState)(""), selectedAuthMethod = _84[0], setSelectedAuthMethod = _84[1];
|
|
263
278
|
// INFO: Used by Activity Log
|
|
264
|
-
var
|
|
265
|
-
var
|
|
279
|
+
var _85 = (0, react_1.useState)(false), activityModal = _85[0], setActivityModal = _85[1];
|
|
280
|
+
var _86 = (0, react_1.useState)(""), activityId = _86[0], setActivityId = _86[1];
|
|
266
281
|
//INFO : Used by Export
|
|
267
|
-
var
|
|
268
|
-
var
|
|
269
|
-
var
|
|
270
|
-
var
|
|
271
|
-
var
|
|
272
|
-
var
|
|
273
|
-
var
|
|
274
|
-
var
|
|
275
|
-
var
|
|
276
|
-
var
|
|
277
|
-
var
|
|
278
|
-
var
|
|
279
|
-
var
|
|
280
|
-
var
|
|
281
|
-
var
|
|
282
|
-
var
|
|
283
|
-
var
|
|
284
|
-
var
|
|
285
|
-
var
|
|
282
|
+
var _87 = (0, react_1.useState)(null), csvFile = _87[0], setCSVFile = _87[1];
|
|
283
|
+
var _88 = (0, react_1.useState)([]), csvFileData = _88[0], setCSVFileData = _88[1];
|
|
284
|
+
var _89 = (0, react_1.useState)(0), stepCSVIndex = _89[0], setStepCSVIndex = _89[1];
|
|
285
|
+
var _90 = (0, react_1.useState)({}), listCSVMapAttribute = _90[0], setListCSVMapAttribute = _90[1];
|
|
286
|
+
var _91 = (0, react_1.useState)({}), listCSVObjAttribute = _91[0], setListCSVObjAttribute = _91[1];
|
|
287
|
+
var _92 = (0, react_1.useState)([]), csvAPIAttribute = _92[0], setCSVAPIAttribute = _92[1];
|
|
288
|
+
var _93 = (0, react_1.useState)(((_f = props.devSettings.currentUser) === null || _f === void 0 ? void 0 : _f.userEmail) || ""), exportCSVEmail = _93[0], setExportCSVEmail = _93[1];
|
|
289
|
+
var _94 = (0, react_1.useState)(((_h = (_g = props.organise) === null || _g === void 0 ? void 0 : _g.exportSettings) === null || _h === void 0 ? void 0 : _h.defaultExportPDFName) || ""), exportPDFTitle = _94[0], setExportPDFTitle = _94[1];
|
|
290
|
+
var _95 = (0, react_1.useState)(false), exportPDFLoading = _95[0], setExportPDFLoading = _95[1];
|
|
291
|
+
var _96 = (0, react_1.useState)(false), exportReadPDFLoading = _96[0], setExportReadPDFLoading = _96[1];
|
|
292
|
+
var _97 = (0, react_1.useState)((_l = (_k = (_j = props.organise) === null || _j === void 0 ? void 0 : _j.exportSettings) === null || _k === void 0 ? void 0 : _k.sumColumnId) !== null && _l !== void 0 ? _l : []), exportSumAttributeIds = _97[0], setExportSumAttributeIds = _97[1];
|
|
293
|
+
var _98 = (0, react_1.useState)((_p = (_o = (_m = props.organise) === null || _m === void 0 ? void 0 : _m.exportSettings) === null || _o === void 0 ? void 0 : _o.hideSubItems) !== null && _p !== void 0 ? _p : false), hideSubItems = _98[0], setHideSubItems = _98[1];
|
|
294
|
+
var _99 = (0, react_1.useState)([]), importTableData = _99[0], setImportTableData = _99[1];
|
|
295
|
+
var _100 = (0, react_1.useState)([]), queryList = _100[0], setQueryList = _100[1];
|
|
296
|
+
var _101 = (0, react_1.useState)(undefined), allQueryList = _101[0], setAllQueryList = _101[1];
|
|
297
|
+
var _102 = (0, react_1.useState)(-1), queryIndex = _102[0], setQueryIndex = _102[1];
|
|
298
|
+
var _103 = (0, react_1.useState)((_q = props.organise) === null || _q === void 0 ? void 0 : _q.groupBy), groupId = _103[0], setGroupId = _103[1];
|
|
299
|
+
var _104 = (0, react_1.useState)(""), readTabSection = _104[0], setReadTabSection = _104[1];
|
|
300
|
+
var _105 = (0, react_1.useState)(false), readFloatingNav = _105[0], setReadFloatingNav = _105[1];
|
|
286
301
|
var readTabSectionRefs = (0, react_1.useRef)({});
|
|
287
302
|
//INFO : Used by Read
|
|
288
303
|
//INFO : Used by Update
|
|
289
|
-
var
|
|
290
|
-
var
|
|
291
|
-
var
|
|
292
|
-
var
|
|
293
|
-
var
|
|
294
|
-
var
|
|
295
|
-
var
|
|
304
|
+
var _106 = (0, react_1.useState)(false), modalVisible = _106[0], setModalVisible = _106[1];
|
|
305
|
+
var _107 = (0, react_1.useState)(false), deleteModal = _107[0], setDeleteModal = _107[1];
|
|
306
|
+
var _108 = (0, react_1.useState)(false), excelModal = _108[0], setExcelModal = _108[1];
|
|
307
|
+
var _109 = (0, react_1.useState)(false), exportExcel = _109[0], setExportExcel = _109[1];
|
|
308
|
+
var _110 = (0, react_1.useState)(""), exportType = _110[0], setExportType = _110[1];
|
|
309
|
+
var _111 = (0, react_1.useState)(false), exportQR = _111[0], setExportQR = _111[1];
|
|
310
|
+
var _112 = (0, react_1.useState)(function () {
|
|
296
311
|
var _a, _b;
|
|
297
312
|
var firstTabId = (_b = (_a = structure.find(function (item) { return item.tabId; })) === null || _a === void 0 ? void 0 : _a.tabId) !== null && _b !== void 0 ? _b : "";
|
|
298
313
|
return firstTabId;
|
|
299
|
-
}), activeTab =
|
|
300
|
-
var
|
|
301
|
-
var
|
|
302
|
-
var
|
|
303
|
-
var
|
|
304
|
-
var
|
|
305
|
-
var
|
|
306
|
-
var
|
|
314
|
+
}), activeTab = _112[0], setActiveTab = _112[1];
|
|
315
|
+
var _113 = (0, react_1.useState)(false), signatureSigning = _113[0], setSignatureSigning = _113[1];
|
|
316
|
+
var _114 = (0, react_1.useState)({}), selectedData = _114[0], setSelectedData = _114[1];
|
|
317
|
+
var _115 = (0, react_1.useState)(""), selectedObjectStructureId = _115[0], setSelectedObjectStructureId = _115[1];
|
|
318
|
+
var _116 = (0, react_1.useState)(""), selectedObjectId = _116[0], setSelectedObjectId = _116[1];
|
|
319
|
+
var _117 = (0, react_1.useState)(""), selectedListAddressId = _117[0], setSelectedListAddressId = _117[1];
|
|
320
|
+
var _118 = (0, react_1.useState)(-1), selectedListAddressIndex = _118[0], setSelectedListAddressIndex = _118[1];
|
|
321
|
+
var _119 = (0, react_1.useState)({
|
|
307
322
|
lat: 0,
|
|
308
323
|
lng: 0,
|
|
309
324
|
name: "",
|
|
310
|
-
}), selectedListAddress =
|
|
311
|
-
var
|
|
312
|
-
var
|
|
313
|
-
var
|
|
314
|
-
var
|
|
315
|
-
var
|
|
316
|
-
var
|
|
317
|
-
var
|
|
325
|
+
}), selectedListAddress = _119[0], setSelectedListAddress = _119[1];
|
|
326
|
+
var _120 = (0, react_1.useState)({}), selectedObjectData = _120[0], setSelectedObjectData = _120[1];
|
|
327
|
+
var _121 = (0, react_1.useState)(false), referenceLoading = _121[0], setReferenceLoading = _121[1];
|
|
328
|
+
var _122 = (0, react_1.useState)({}), referencesOptions = _122[0], setReferencesOptions = _122[1];
|
|
329
|
+
var _123 = (0, react_1.useState)({}), referencesDetails = _123[0], setReferencesDetails = _123[1];
|
|
330
|
+
var _124 = (0, react_1.useState)({}), referenceDeleteTableData = _124[0], setReferenceDeleteTableData = _124[1];
|
|
331
|
+
var _125 = (0, react_1.useState)(0), referenceDeleteIndex = _125[0], setReferenceDeleteIndex = _125[1];
|
|
332
|
+
var _126 = (0, react_1.useState)({
|
|
318
333
|
id: "",
|
|
319
334
|
name: "",
|
|
320
335
|
type: "string",
|
|
321
|
-
}), referenceCreationModal =
|
|
322
|
-
var
|
|
323
|
-
var
|
|
336
|
+
}), referenceCreationModal = _126[0], setReferenceCreationModal = _126[1];
|
|
337
|
+
var _127 = (0, react_1.useState)({}), referenceModelSchema = _127[0], setReferenceSchema = _127[1];
|
|
338
|
+
var _128 = (0, react_1.useState)([]), kanbanChecked = _128[0], setKanbanChecked = _128[1];
|
|
324
339
|
//INFO : Offline
|
|
325
|
-
var
|
|
326
|
-
var
|
|
340
|
+
var _129 = (0, react_1.useState)(0), offlineDataLength = _129[0], setOfflineDataLength = _129[1];
|
|
341
|
+
var _130 = (0, react_1.useState)(false), offlineModal = _130[0], setOfflineModal = _130[1];
|
|
327
342
|
var previousType = (0, react_1.useRef)(null);
|
|
328
343
|
var previousSelectedData = (0, react_1.useRef)(null);
|
|
329
344
|
var scrollSentinelRef = (0, react_1.useRef)(null);
|
|
@@ -511,15 +526,92 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
511
526
|
].filter(Boolean);
|
|
512
527
|
if ((_33 = props.organise) === null || _33 === void 0 ? void 0 : _33.moreSettings)
|
|
513
528
|
moreButtonPopUp = moreButtonPopUp.concat(props.organise.moreSettings);
|
|
529
|
+
//=====================================================================================
|
|
530
|
+
//SECTION: Flex Filter Handlers
|
|
531
|
+
//=====================================================================================
|
|
532
|
+
var handleFlexFilterAdd = function () {
|
|
533
|
+
var newFilter = {
|
|
534
|
+
id: (0, uuid_1.v4)(),
|
|
535
|
+
columnId: "",
|
|
536
|
+
operator: "=",
|
|
537
|
+
value: undefined,
|
|
538
|
+
};
|
|
539
|
+
setFlexFilters(__spreadArray(__spreadArray([], flexFilters, true), [newFilter], false));
|
|
540
|
+
};
|
|
541
|
+
var handleFlexFilterRemove = function (filterId) {
|
|
542
|
+
var remaining = flexFilters.filter(function (f) { return f.id !== filterId; });
|
|
543
|
+
// INFO: Always keep at least one empty row visible
|
|
544
|
+
if (remaining.length === 0) {
|
|
545
|
+
setFlexFilters([
|
|
546
|
+
{ id: (0, uuid_1.v4)(), columnId: "", operator: "=", value: undefined },
|
|
547
|
+
]);
|
|
548
|
+
}
|
|
549
|
+
else {
|
|
550
|
+
setFlexFilters(remaining);
|
|
551
|
+
}
|
|
552
|
+
};
|
|
553
|
+
var handleFlexFilterClearAll = function () {
|
|
554
|
+
// INFO: Reset to one empty row so the UI never shows a blank state
|
|
555
|
+
setFlexFilters([
|
|
556
|
+
{ id: (0, uuid_1.v4)(), columnId: "", operator: "=", value: undefined },
|
|
557
|
+
]);
|
|
558
|
+
};
|
|
559
|
+
var handleFlexFilterColumnChange = function (filterId, columnId) {
|
|
560
|
+
setFlexFilters(flexFilters.map(function (f) {
|
|
561
|
+
if (f.id !== filterId)
|
|
562
|
+
return f;
|
|
563
|
+
// INFO: Reset operator and value when column changes since available operators differ per type
|
|
564
|
+
var ds = structure.find(function (s) { return s.id === columnId; });
|
|
565
|
+
var operators = ds ? flexFilterModel_1.FLEX_FILTER_OPERATOR_MAP[ds.type] : undefined;
|
|
566
|
+
var defaultOperator = operators && operators.length > 0 ? operators[0] : "=";
|
|
567
|
+
return __assign(__assign({}, f), { columnId: columnId, operator: defaultOperator, value: undefined });
|
|
568
|
+
}));
|
|
569
|
+
};
|
|
570
|
+
var handleFlexFilterOperatorChange = function (filterId, operator) {
|
|
571
|
+
setFlexFilters(flexFilters.map(function (f) {
|
|
572
|
+
if (f.id !== filterId)
|
|
573
|
+
return f;
|
|
574
|
+
// INFO: Reset value when operator changes to avoid type mismatch
|
|
575
|
+
return __assign(__assign({}, f), { operator: operator, value: undefined });
|
|
576
|
+
}));
|
|
577
|
+
};
|
|
578
|
+
var handleFlexFilterValueChange = function (filterId, value) {
|
|
579
|
+
setFlexFilters(flexFilters.map(function (f) { return (f.id === filterId ? __assign(__assign({}, f), { value: value }) : f); }));
|
|
580
|
+
};
|
|
581
|
+
var handleFlexFilterReferenceOptionsLoaded = function (columnId, options) {
|
|
582
|
+
setFlexFilterReferenceOptions(function (prev) {
|
|
583
|
+
var _a;
|
|
584
|
+
return (__assign(__assign({}, prev), (_a = {}, _a[columnId] = options, _a)));
|
|
585
|
+
});
|
|
586
|
+
};
|
|
587
|
+
var handleFlexFilterReferenceSearch = function (columnId, search) {
|
|
588
|
+
setFlexFilterReferenceSearch(function (prev) {
|
|
589
|
+
var _a;
|
|
590
|
+
return (__assign(__assign({}, prev), (_a = {}, _a[columnId] = search, _a)));
|
|
591
|
+
});
|
|
592
|
+
};
|
|
514
593
|
var renderImpSearchFilterConditions = function () {
|
|
515
594
|
var _a;
|
|
516
|
-
|
|
595
|
+
var query = (0, listModule_1.renderSearchFilterConditions)(structure, devSettings, {
|
|
517
596
|
filterSearchParams: filterSearchParams,
|
|
518
597
|
filterSelection: filterSelection,
|
|
519
598
|
filterReferenceDate: filterReferenceDate,
|
|
520
599
|
filterReference: filterReference,
|
|
521
600
|
filterDraft: filterDraft,
|
|
522
601
|
}, additionalQuery !== null && additionalQuery !== void 0 ? additionalQuery : [], (_a = props.bareSettings) === null || _a === void 0 ? void 0 : _a.bareListFilterQuery, selectedTab);
|
|
602
|
+
// INFO: Merge flex filter conditions into the query array
|
|
603
|
+
if (flexFilters.length > 0) {
|
|
604
|
+
var flexQuery = (0, listModule_1.renderFlexFilterConditions)(flexFilters, structure);
|
|
605
|
+
if (flexQuery.length > 0) {
|
|
606
|
+
if (query) {
|
|
607
|
+
query = __spreadArray(__spreadArray([], query, true), flexQuery, true);
|
|
608
|
+
}
|
|
609
|
+
else {
|
|
610
|
+
query = flexQuery;
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
return query;
|
|
523
615
|
};
|
|
524
616
|
(0, react_1.useImperativeHandle)(ref, function () { return ({
|
|
525
617
|
handleRefresh: handleRefresh,
|
|
@@ -5895,7 +5987,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
5895
5987
|
props.renderSettings.renderListUI(actionComponent, filterComponent_1, dataComponent)));
|
|
5896
5988
|
}
|
|
5897
5989
|
var renderListFilterElements = function () {
|
|
5898
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
5990
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
5899
5991
|
// INFO: When bareListFilterAsPopup is true, filters are shown in a popup instead.
|
|
5900
5992
|
if ((_a = props.bareSettings) === null || _a === void 0 ? void 0 : _a.bareListFilterAsPopup)
|
|
5901
5993
|
return null;
|
|
@@ -5905,20 +5997,21 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
5905
5997
|
// is the Search box from renderSearchFilterComponents). Use a
|
|
5906
5998
|
// shrinkable fixed width so the search box stays on the same row
|
|
5907
5999
|
// as the action icons at every viewport.
|
|
5908
|
-
if ((_b = props.bareSettings) === null || _b === void 0 ? void 0 : _b.bareCompactMode)
|
|
6000
|
+
if (((_b = props.bareSettings) === null || _b === void 0 ? void 0 : _b.bareCompactMode) ||
|
|
6001
|
+
((_c = props.bareSettings) === null || _c === void 0 ? void 0 : _c.bareFlexFilters)) {
|
|
5909
6002
|
if (filterComponent_1 &&
|
|
5910
6003
|
Array.isArray(filterComponent_1) &&
|
|
5911
6004
|
filterComponent_1.length > 0 &&
|
|
5912
|
-
!((
|
|
6005
|
+
!((_d = props.organise) === null || _d === void 0 ? void 0 : _d.hideSearch)) {
|
|
5913
6006
|
var searchInput = filterComponent_1[filterComponent_1.length - 1];
|
|
5914
6007
|
return (react_1.default.createElement("div", { className: "flex-1 sm:flex-none sm:w-64 min-w-0 mr-3" }, searchInput));
|
|
5915
6008
|
}
|
|
5916
6009
|
return null;
|
|
5917
6010
|
}
|
|
5918
6011
|
var filterElementList = [];
|
|
5919
|
-
if (!((
|
|
5920
|
-
if ((
|
|
5921
|
-
filterElementList.push(react_1.default.createElement(select_1.Select, { label: "Group", options: (
|
|
6012
|
+
if (!((_e = props.organise) === null || _e === void 0 ? void 0 : _e.filterComponentNewRow)) {
|
|
6013
|
+
if ((_f = props.organise) === null || _f === void 0 ? void 0 : _f.showGroupByFeature) {
|
|
6014
|
+
filterElementList.push(react_1.default.createElement(select_1.Select, { label: "Group", options: (_m = (_j = (_h = (_g = props === null || props === void 0 ? void 0 : props.organise) === null || _g === void 0 ? void 0 : _g.renderGroupByOptions) === null || _h === void 0 ? void 0 : _h.call(_g)) !== null && _j !== void 0 ? _j : (_l = (_k = props === null || props === void 0 ? void 0 : props.organise) === null || _k === void 0 ? void 0 : _k.renderReferenceLabelOptions) === null || _l === void 0 ? void 0 : _l.call(_k, props.collectionId, true)) !== null && _m !== void 0 ? _m : [], value: groupId !== null && groupId !== void 0 ? groupId : "", onChange: function (value) { return setGroupId(value); } }));
|
|
5922
6015
|
}
|
|
5923
6016
|
if (filterComponent_1 &&
|
|
5924
6017
|
Array.isArray(filterComponent_1) &&
|
|
@@ -5933,7 +6026,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
5933
6026
|
return null;
|
|
5934
6027
|
};
|
|
5935
6028
|
var renderListActionElements = function () {
|
|
5936
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
6029
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
5937
6030
|
var actionElementList = [];
|
|
5938
6031
|
if (schemaPresent) {
|
|
5939
6032
|
actionElementList.push(react_1.default.createElement(react_1.default.Fragment, null,
|
|
@@ -5953,32 +6046,72 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
5953
6046
|
}
|
|
5954
6047
|
if ((((_a = props.bareSettings) === null || _a === void 0 ? void 0 : _a.bareListFilterAsPopup) ||
|
|
5955
6048
|
((_b = props.bareSettings) === null || _b === void 0 ? void 0 : _b.bareCompactMode)) &&
|
|
6049
|
+
!((_c = props.bareSettings) === null || _c === void 0 ? void 0 : _c.bareFlexFilters) &&
|
|
5956
6050
|
filterComponent_1 &&
|
|
5957
6051
|
Array.isArray(filterComponent_1) &&
|
|
5958
6052
|
filterComponent_1.length > 0) {
|
|
5959
6053
|
// INFO: in compact mode, the search input is rendered inline by
|
|
5960
6054
|
// renderListFilterElements, so drop the trailing search element
|
|
5961
6055
|
// from the popup to avoid duplication.
|
|
5962
|
-
var popupFilters = ((
|
|
6056
|
+
var popupFilters = ((_d = props.bareSettings) === null || _d === void 0 ? void 0 : _d.bareCompactMode) && !((_e = props.organise) === null || _e === void 0 ? void 0 : _e.hideSearch)
|
|
5963
6057
|
? filterComponent_1.slice(0, -1)
|
|
5964
6058
|
: filterComponent_1;
|
|
5965
6059
|
if (popupFilters.length > 0) {
|
|
5966
|
-
actionElementList.push(react_1.default.createElement(popUp_1.PopUp, { ctaComp: react_1.default.createElement(iconButton_1.IconButton, { icon: react_1.default.createElement(outline_1.FunnelIcon, { className: "h-7 w-7 text-primary-500" }), bgColor: "bg-white" }), renderComp: react_1.default.createElement("div", { className: "shadow-lg p-4 flex flex-col space-y-3 w-[calc(100vw-2rem)] max-w-[320px]" }, popupFilters.map(function (filterEl, index) { return (react_1.default.createElement("div", { key: index }, filterEl)); })), anchor: "right", excludePortalIds: ["datepicker-portal"], lib: { Transition: (
|
|
6060
|
+
actionElementList.push(react_1.default.createElement(popUp_1.PopUp, { ctaComp: react_1.default.createElement(iconButton_1.IconButton, { icon: react_1.default.createElement(outline_1.FunnelIcon, { className: "h-7 w-7 text-primary-500" }), bgColor: "bg-white" }), renderComp: react_1.default.createElement("div", { className: "shadow-lg p-4 flex flex-col space-y-3 w-[calc(100vw-2rem)] max-w-[320px]" }, popupFilters.map(function (filterEl, index) { return (react_1.default.createElement("div", { key: index }, filterEl)); })), anchor: "right", excludePortalIds: ["datepicker-portal"], lib: { Transition: (_f = props === null || props === void 0 ? void 0 : props.lib) === null || _f === void 0 ? void 0 : _f.Transition } }));
|
|
5967
6061
|
}
|
|
5968
6062
|
}
|
|
6063
|
+
// INFO: Flex filter — desktop uses PopUp, mobile uses Modal
|
|
6064
|
+
if ((_g = props.bareSettings) === null || _g === void 0 ? void 0 : _g.bareFlexFilters) {
|
|
6065
|
+
var flexActions = {
|
|
6066
|
+
handleAddFilter: handleFlexFilterAdd,
|
|
6067
|
+
handleRemoveFilter: handleFlexFilterRemove,
|
|
6068
|
+
handleClearAllFilters: handleFlexFilterClearAll,
|
|
6069
|
+
handleColumnChange: handleFlexFilterColumnChange,
|
|
6070
|
+
handleOperatorChange: handleFlexFilterOperatorChange,
|
|
6071
|
+
handleValueChange: handleFlexFilterValueChange,
|
|
6072
|
+
handleReferenceOptionsLoaded: handleFlexFilterReferenceOptionsLoaded,
|
|
6073
|
+
handleReferenceSearch: handleFlexFilterReferenceSearch,
|
|
6074
|
+
};
|
|
6075
|
+
// INFO: Search input will only render above flex filters if bareListFilterAsPopup is true
|
|
6076
|
+
var searchInput = !isFirebase &&
|
|
6077
|
+
((_h = props.bareSettings) === null || _h === void 0 ? void 0 : _h.bareListFilterAsPopup) &&
|
|
6078
|
+
!((_j = props.organise) === null || _j === void 0 ? void 0 : _j.hideSearch) &&
|
|
6079
|
+
filterComponent_1 &&
|
|
6080
|
+
Array.isArray(filterComponent_1) &&
|
|
6081
|
+
filterComponent_1.length > 0
|
|
6082
|
+
? filterComponent_1[filterComponent_1.length - 1]
|
|
6083
|
+
: undefined;
|
|
6084
|
+
var flexFilterLength_1 = (_k = flexFilters.filter(function (eachFilter) {
|
|
6085
|
+
return eachFilter.columnId && eachFilter.operator && eachFilter.value;
|
|
6086
|
+
})) === null || _k === void 0 ? void 0 : _k.length;
|
|
6087
|
+
if (filterSearchParams === null || filterSearchParams === void 0 ? void 0 : filterSearchParams["search"])
|
|
6088
|
+
flexFilterLength_1 += 1;
|
|
6089
|
+
var flexFilterIconBtn = function (mobile) {
|
|
6090
|
+
return (react_1.default.createElement("div", { className: "relative w-fit h-fit" },
|
|
6091
|
+
flexFilterLength_1 > 0 && (react_1.default.createElement("div", { className: "absolute top-0 right-0 translate-x-1/4 -translate-y-1/4 z-[1] rounded-full bg-primary-500 text-white flex items-center justify-center w-5 h-5 text-[10px]" }, flexFilterLength_1)),
|
|
6092
|
+
react_1.default.createElement(iconButton_1.IconButton, { icon: react_1.default.createElement(outline_1.FunnelIcon, { className: "h-7 w-7 text-primary-500" }), bgColor: "bg-white", onClick: mobile ? function () { return setFlexFilterModalOpen(true); } : undefined })));
|
|
6093
|
+
};
|
|
6094
|
+
// INFO: Desktop — PopUp (hidden on mobile)
|
|
6095
|
+
actionElementList.push(react_1.default.createElement("div", { className: "hidden md:block" },
|
|
6096
|
+
react_1.default.createElement(popUp_1.PopUp, { ctaComp: flexFilterIconBtn(), renderComp: (0, flexFilterModule_1.renderFlexFilterPopupContent)(flexFilters, structure, devSettings, dbModule, flexFilterReferenceOptions, flexFilterReferenceSearch, flexActions, (_l = props.bareSettings) === null || _l === void 0 ? void 0 : _l.bareListFilterQuery, searchInput), anchor: "right", excludePortalIds: ["datepicker-portal"], lib: { Transition: (_m = props === null || props === void 0 ? void 0 : props.lib) === null || _m === void 0 ? void 0 : _m.Transition } })));
|
|
6097
|
+
// INFO: Mobile — IconButton that opens a Modal (hidden on desktop)
|
|
6098
|
+
actionElementList.push(react_1.default.createElement("div", { className: "block md:hidden" },
|
|
6099
|
+
flexFilterIconBtn(true),
|
|
6100
|
+
(0, flexFilterModule_1.renderFlexFilterModal)(flexFilterModalOpen, flexFilters, structure, devSettings, dbModule, flexFilterReferenceOptions, flexFilterReferenceSearch, flexActions, function () { return setFlexFilterModalOpen(false); }, (_o = props.bareSettings) === null || _o === void 0 ? void 0 : _o.bareListFilterQuery, searchInput)));
|
|
6101
|
+
}
|
|
5969
6102
|
if (!isBottom) {
|
|
5970
6103
|
var actionBtns = renderActionButtons(props.type);
|
|
5971
6104
|
if (actionBtns)
|
|
5972
6105
|
actionElementList.push(actionBtns);
|
|
5973
6106
|
}
|
|
5974
|
-
if (schemaPresent || ((
|
|
6107
|
+
if (schemaPresent || ((_p = props.organise) === null || _p === void 0 ? void 0 : _p.showExport)) {
|
|
5975
6108
|
actionElementList.push(react_1.default.createElement(popUp_1.PopUp, { ctaComp: react_1.default.createElement(iconButton_1.IconButton, { className: "bg-primary-100", icon: react_1.default.createElement(solid_1.EllipsisVerticalIcon, { className: "h-7 w-7 text-primary-500" }), bgColor: "bg-white" }), renderComp: react_1.default.createElement("div", { className: "shadow-lg" }, moreButtonPopUp.map(function (eachPopup) { return (
|
|
5976
6109
|
//TODO: Bug - Crash on Next Js
|
|
5977
6110
|
// <Menu.Item>
|
|
5978
6111
|
react_1.default.createElement("span", { className: "block w-40 py-3 text-sm text-center text-gray-700 cursor-pointer hover:bg-gray-100", onClick: eachPopup === null || eachPopup === void 0 ? void 0 : eachPopup.onClick }, eachPopup === null || eachPopup === void 0 ? void 0 : eachPopup.text)
|
|
5979
6112
|
// </Menu.Item>
|
|
5980
6113
|
); })), lib: {
|
|
5981
|
-
Transition: (
|
|
6114
|
+
Transition: (_q = props === null || props === void 0 ? void 0 : props.lib) === null || _q === void 0 ? void 0 : _q.Transition,
|
|
5982
6115
|
} }));
|
|
5983
6116
|
}
|
|
5984
6117
|
if (actionElementList.length > 0) {
|
|
@@ -5988,17 +6121,19 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
5988
6121
|
return null;
|
|
5989
6122
|
};
|
|
5990
6123
|
var renderListNewRowFilterElements = function () {
|
|
5991
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
6124
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
5992
6125
|
var filterElementList = [];
|
|
5993
6126
|
// INFO: bareCompactMode + bareListFilterAsPopup both tuck filters
|
|
5994
6127
|
// behind the popup, so skip the new-row render path too.
|
|
6128
|
+
// bareFlexFilters also skips since additionalQuery is replaced.
|
|
5995
6129
|
if (((_a = props.bareSettings) === null || _a === void 0 ? void 0 : _a.bareListFilterAsPopup) ||
|
|
5996
|
-
((_b = props.bareSettings) === null || _b === void 0 ? void 0 : _b.bareCompactMode)
|
|
6130
|
+
((_b = props.bareSettings) === null || _b === void 0 ? void 0 : _b.bareCompactMode) ||
|
|
6131
|
+
((_c = props.bareSettings) === null || _c === void 0 ? void 0 : _c.bareFlexFilters)) {
|
|
5997
6132
|
return filterElementList;
|
|
5998
6133
|
}
|
|
5999
|
-
if ((
|
|
6134
|
+
if ((_d = props.organise) === null || _d === void 0 ? void 0 : _d.filterComponentNewRow) {
|
|
6000
6135
|
if (props.organise.showGroupByFeature) {
|
|
6001
|
-
filterElementList.push(react_1.default.createElement(select_1.Select, { label: "Group", options: (
|
|
6136
|
+
filterElementList.push(react_1.default.createElement(select_1.Select, { label: "Group", options: (_k = (_g = (_f = (_e = props === null || props === void 0 ? void 0 : props.organise) === null || _e === void 0 ? void 0 : _e.renderGroupByOptions) === null || _f === void 0 ? void 0 : _f.call(_e)) !== null && _g !== void 0 ? _g : (_j = (_h = props === null || props === void 0 ? void 0 : props.organise) === null || _h === void 0 ? void 0 : _h.renderReferenceLabelOptions) === null || _j === void 0 ? void 0 : _j.call(_h, props.collectionId, true)) !== null && _k !== void 0 ? _k : [], value: groupId !== null && groupId !== void 0 ? groupId : "", onChange: function (value) { return setGroupId(value); } }));
|
|
6002
6137
|
}
|
|
6003
6138
|
if (filterComponent_1 &&
|
|
6004
6139
|
Array.isArray(filterComponent_1) &&
|
|
@@ -6020,7 +6155,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6020
6155
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
6021
6156
|
listReadQueryHOC,
|
|
6022
6157
|
react_1.default.createElement("div", { className: "flex py-2 ".concat(((_23 = props.bareSettings) === null || _23 === void 0 ? void 0 : _23.bareCompactMode)
|
|
6023
|
-
? "w-full flex-row items-end"
|
|
6158
|
+
? "w-full flex-row flex-wrap sm:flex-nowrap items-end"
|
|
6024
6159
|
: "flex-col md:items-end md:flex-row") },
|
|
6025
6160
|
(props.title || props.description) && (react_1.default.createElement("div", { className: "flex flex-col" },
|
|
6026
6161
|
props.title && (react_1.default.createElement("p", { className: "text-xl font-medium" }, props.title)),
|
|
@@ -6391,7 +6526,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6391
6526
|
return (react_1.default.createElement(settingsModal_1.ExpressionModal, { selectedId: id, model: structure, renderReferenceLabelOptions: (_a = props.organise) === null || _a === void 0 ? void 0 : _a.renderReferenceLabelOptions, renderReferenceSpaceOptions: (_b = props.organise) === null || _b === void 0 ? void 0 : _b.renderReferenceSpaceOptions, onAddModelSchema: (_c = props.organise) === null || _c === void 0 ? void 0 : _c.onAddColumns, onClose: onClose }));
|
|
6392
6527
|
};
|
|
6393
6528
|
var renderGroupTable = function (multipleSelect) {
|
|
6394
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
|
|
6529
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
|
|
6395
6530
|
if (groupId) {
|
|
6396
6531
|
var groupAttributeDS_1 = structure.find(function (eachDS) { return eachDS.id === groupId; });
|
|
6397
6532
|
var groupedSpaceTableData = spaceTableData.reduce(function (acc, eachData) {
|
|
@@ -6419,7 +6554,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6419
6554
|
}
|
|
6420
6555
|
else {
|
|
6421
6556
|
return Object.entries(groupedSpaceTableData).map(function (_a) {
|
|
6422
|
-
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
|
|
6557
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6;
|
|
6423
6558
|
var eachKey = _a[0], eachValue = _a[1];
|
|
6424
6559
|
var dataList = eachValue;
|
|
6425
6560
|
var ids = (dataList === null || dataList === void 0 ? void 0 : dataList.map(function (eachData) { return eachData._id; })) || [];
|
|
@@ -6461,11 +6596,13 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6461
6596
|
renderAddColumnElements: renderAddMathColumn,
|
|
6462
6597
|
dragEnabled: (_u = props.organise) === null || _u === void 0 ? void 0 : _u.advDragEnabled,
|
|
6463
6598
|
sortEnabled: (_v = props.organise) === null || _v === void 0 ? void 0 : _v.advSortEnabled,
|
|
6464
|
-
filterEnabled: (_w = props.
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6599
|
+
filterEnabled: ((_w = props.bareSettings) === null || _w === void 0 ? void 0 : _w.bareFlexFilters)
|
|
6600
|
+
? false
|
|
6601
|
+
: (_x = props.organise) === null || _x === void 0 ? void 0 : _x.advFilterEnabled,
|
|
6602
|
+
sortId: (_y = props.organise) === null || _y === void 0 ? void 0 : _y.sort,
|
|
6603
|
+
sortOptions: (_0 = (_z = props.organise) === null || _z === void 0 ? void 0 : _z.renderReferenceLabelOptions) === null || _0 === void 0 ? void 0 : _0.call(_z),
|
|
6604
|
+
onSortColumn: (_1 = props.organise) === null || _1 === void 0 ? void 0 : _1.onChangeSort,
|
|
6605
|
+
onDragColumn: (_2 = props.organise) === null || _2 === void 0 ? void 0 : _2.onChangeDrag,
|
|
6469
6606
|
filterOptions: additionalQuery === null || additionalQuery === void 0 ? void 0 : additionalQuery.map(function (eachQuery) {
|
|
6470
6607
|
var _a;
|
|
6471
6608
|
return {
|
|
@@ -6482,7 +6619,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6482
6619
|
return renderSearchContent(newQuery);
|
|
6483
6620
|
},
|
|
6484
6621
|
}, editable: {
|
|
6485
|
-
active: ((
|
|
6622
|
+
active: ((_3 = props.edit) === null || _3 === void 0 ? void 0 : _3.listEditable) && !props.edit.disabledUpdate
|
|
6486
6623
|
? true
|
|
6487
6624
|
: false,
|
|
6488
6625
|
onUpdateData: function (rowId, columnId, data) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -6496,7 +6633,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6496
6633
|
});
|
|
6497
6634
|
}); },
|
|
6498
6635
|
}, addable: {
|
|
6499
|
-
active: ((
|
|
6636
|
+
active: ((_4 = props.edit) === null || _4 === void 0 ? void 0 : _4.listAddable) ? true : false,
|
|
6500
6637
|
onAddData: function (data) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6501
6638
|
return __generator(this, function (_a) {
|
|
6502
6639
|
switch (_a.label) {
|
|
@@ -6507,7 +6644,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6507
6644
|
}
|
|
6508
6645
|
});
|
|
6509
6646
|
}); },
|
|
6510
|
-
}, darkMode: (
|
|
6647
|
+
}, darkMode: (_5 = props.organise) === null || _5 === void 0 ? void 0 : _5.darkMode, hidePagination: true, disableEllipsisOnLongWord: (_6 = props.organise) === null || _6 === void 0 ? void 0 : _6.disableEllipsisOnLongWord })));
|
|
6511
6648
|
});
|
|
6512
6649
|
}
|
|
6513
6650
|
}
|
|
@@ -6545,11 +6682,13 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6545
6682
|
renderAddColumnElements: renderAddMathColumn,
|
|
6546
6683
|
dragEnabled: (_s = props.organise) === null || _s === void 0 ? void 0 : _s.advDragEnabled,
|
|
6547
6684
|
sortEnabled: (_t = props.organise) === null || _t === void 0 ? void 0 : _t.advSortEnabled,
|
|
6548
|
-
filterEnabled: (_u = props.
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
|
|
6552
|
-
|
|
6685
|
+
filterEnabled: ((_u = props.bareSettings) === null || _u === void 0 ? void 0 : _u.bareFlexFilters)
|
|
6686
|
+
? false
|
|
6687
|
+
: (_v = props.organise) === null || _v === void 0 ? void 0 : _v.advFilterEnabled,
|
|
6688
|
+
sortId: (_w = props.organise) === null || _w === void 0 ? void 0 : _w.sort,
|
|
6689
|
+
sortOptions: (_y = (_x = props.organise) === null || _x === void 0 ? void 0 : _x.renderReferenceLabelOptions) === null || _y === void 0 ? void 0 : _y.call(_x),
|
|
6690
|
+
onSortColumn: (_z = props.organise) === null || _z === void 0 ? void 0 : _z.onChangeSort,
|
|
6691
|
+
onDragColumn: (_0 = props.organise) === null || _0 === void 0 ? void 0 : _0.onChangeDrag,
|
|
6553
6692
|
filterOptions: additionalQuery === null || additionalQuery === void 0 ? void 0 : additionalQuery.map(function (eachQuery) {
|
|
6554
6693
|
var _a;
|
|
6555
6694
|
return {
|
|
@@ -6566,7 +6705,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6566
6705
|
return renderSearchContent(newQuery);
|
|
6567
6706
|
},
|
|
6568
6707
|
}, editable: {
|
|
6569
|
-
active: ((
|
|
6708
|
+
active: ((_1 = props.edit) === null || _1 === void 0 ? void 0 : _1.listEditable) && !props.edit.disabledUpdate
|
|
6570
6709
|
? true
|
|
6571
6710
|
: false,
|
|
6572
6711
|
onUpdateData: function (rowId, columnId, data) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -6580,7 +6719,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6580
6719
|
});
|
|
6581
6720
|
}); },
|
|
6582
6721
|
}, addable: {
|
|
6583
|
-
active: ((
|
|
6722
|
+
active: ((_2 = props.edit) === null || _2 === void 0 ? void 0 : _2.listAddable) ? true : false,
|
|
6584
6723
|
onAddData: function (data) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6585
6724
|
return __generator(this, function (_a) {
|
|
6586
6725
|
switch (_a.label) {
|
|
@@ -6591,7 +6730,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6591
6730
|
}
|
|
6592
6731
|
});
|
|
6593
6732
|
}); },
|
|
6594
|
-
}, darkMode: (
|
|
6733
|
+
}, darkMode: (_3 = props.organise) === null || _3 === void 0 ? void 0 : _3.darkMode, hidePagination: (_4 = props.organise) === null || _4 === void 0 ? void 0 : _4.hidePagination, customPaginationSize: customPaginationSize, disableEllipsisOnLongWord: (_5 = props.organise) === null || _5 === void 0 ? void 0 : _5.disableEllipsisOnLongWord }));
|
|
6595
6734
|
}
|
|
6596
6735
|
};
|
|
6597
6736
|
var renderTabContent = function (tabs, dataType, viewType) {
|