@procore/saved-views 1.1.0-alpha.2 → 1.1.0-alpha.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/legacy/index.d.mts +1 -1
- package/dist/legacy/index.d.ts +1 -1
- package/dist/legacy/index.js +185 -135
- package/dist/legacy/index.mjs +66 -16
- package/dist/modern/index.d.mts +1 -1
- package/dist/modern/index.d.ts +1 -1
- package/dist/modern/index.js +185 -135
- package/dist/modern/index.mjs +66 -16
- package/package.json +5 -7
package/dist/legacy/index.d.mts
CHANGED
|
@@ -188,4 +188,4 @@ interface IDataTableSavedViewsRef {
|
|
|
188
188
|
}
|
|
189
189
|
declare const DataTableSavedViews: React__default.ForwardRefExoticComponent<IDataTableSavedViewsExternalConsumerProps & React__default.RefAttributes<IDataTableSavedViewsRef>>;
|
|
190
190
|
|
|
191
|
-
export { DataTableSavedViews, ExpandedPanel, FormModal,
|
|
191
|
+
export { DataTableSavedViews, ExpandedPanel, FormModal, IDataTableDefaultViewConfig, IDataTableSavedViewsRef, ISmartGridDefaultViewConfig, PanelContent, SavedViewCollectionMenuItem, SavedViews, SavedViewsDeleteConfirmationModalShared, SmartGridSavedViews, getTranslations, useSavedViewsPanel };
|
package/dist/legacy/index.d.ts
CHANGED
|
@@ -188,4 +188,4 @@ interface IDataTableSavedViewsRef {
|
|
|
188
188
|
}
|
|
189
189
|
declare const DataTableSavedViews: React__default.ForwardRefExoticComponent<IDataTableSavedViewsExternalConsumerProps & React__default.RefAttributes<IDataTableSavedViewsRef>>;
|
|
190
190
|
|
|
191
|
-
export { DataTableSavedViews, ExpandedPanel, FormModal,
|
|
191
|
+
export { DataTableSavedViews, ExpandedPanel, FormModal, IDataTableDefaultViewConfig, IDataTableSavedViewsRef, ISmartGridDefaultViewConfig, PanelContent, SavedViewCollectionMenuItem, SavedViews, SavedViewsDeleteConfirmationModalShared, SmartGridSavedViews, getTranslations, useSavedViewsPanel };
|
package/dist/legacy/index.js
CHANGED
|
@@ -32,7 +32,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
32
32
|
|
|
33
33
|
// node_modules/react-is/cjs/react-is.production.min.js
|
|
34
34
|
var require_react_is_production_min = __commonJS({
|
|
35
|
-
"node_modules/react-is/cjs/react-is.production.min.js"(
|
|
35
|
+
"node_modules/react-is/cjs/react-is.production.min.js"(exports) {
|
|
36
36
|
"use strict";
|
|
37
37
|
var b2 = 60103;
|
|
38
38
|
var c2 = 60106;
|
|
@@ -111,66 +111,66 @@ var require_react_is_production_min = __commonJS({
|
|
|
111
111
|
var G2 = f2;
|
|
112
112
|
var H3 = e2;
|
|
113
113
|
var I = l2;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
114
|
+
exports.ContextConsumer = h;
|
|
115
|
+
exports.ContextProvider = z2;
|
|
116
|
+
exports.Element = A2;
|
|
117
|
+
exports.ForwardRef = B2;
|
|
118
|
+
exports.Fragment = C2;
|
|
119
|
+
exports.Lazy = D2;
|
|
120
|
+
exports.Memo = E2;
|
|
121
|
+
exports.Portal = F2;
|
|
122
|
+
exports.Profiler = G2;
|
|
123
|
+
exports.StrictMode = H3;
|
|
124
|
+
exports.Suspense = I;
|
|
125
|
+
exports.isAsyncMode = function() {
|
|
126
126
|
return false;
|
|
127
127
|
};
|
|
128
|
-
|
|
128
|
+
exports.isConcurrentMode = function() {
|
|
129
129
|
return false;
|
|
130
130
|
};
|
|
131
|
-
|
|
131
|
+
exports.isContextConsumer = function(a2) {
|
|
132
132
|
return y2(a2) === h;
|
|
133
133
|
};
|
|
134
|
-
|
|
134
|
+
exports.isContextProvider = function(a2) {
|
|
135
135
|
return y2(a2) === g2;
|
|
136
136
|
};
|
|
137
|
-
|
|
137
|
+
exports.isElement = function(a2) {
|
|
138
138
|
return "object" === typeof a2 && null !== a2 && a2.$$typeof === b2;
|
|
139
139
|
};
|
|
140
|
-
|
|
140
|
+
exports.isForwardRef = function(a2) {
|
|
141
141
|
return y2(a2) === k2;
|
|
142
142
|
};
|
|
143
|
-
|
|
143
|
+
exports.isFragment = function(a2) {
|
|
144
144
|
return y2(a2) === d;
|
|
145
145
|
};
|
|
146
|
-
|
|
146
|
+
exports.isLazy = function(a2) {
|
|
147
147
|
return y2(a2) === p;
|
|
148
148
|
};
|
|
149
|
-
|
|
149
|
+
exports.isMemo = function(a2) {
|
|
150
150
|
return y2(a2) === n2;
|
|
151
151
|
};
|
|
152
|
-
|
|
152
|
+
exports.isPortal = function(a2) {
|
|
153
153
|
return y2(a2) === c2;
|
|
154
154
|
};
|
|
155
|
-
|
|
155
|
+
exports.isProfiler = function(a2) {
|
|
156
156
|
return y2(a2) === f2;
|
|
157
157
|
};
|
|
158
|
-
|
|
158
|
+
exports.isStrictMode = function(a2) {
|
|
159
159
|
return y2(a2) === e2;
|
|
160
160
|
};
|
|
161
|
-
|
|
161
|
+
exports.isSuspense = function(a2) {
|
|
162
162
|
return y2(a2) === l2;
|
|
163
163
|
};
|
|
164
|
-
|
|
164
|
+
exports.isValidElementType = function(a2) {
|
|
165
165
|
return "string" === typeof a2 || "function" === typeof a2 || a2 === d || a2 === f2 || a2 === v2 || a2 === e2 || a2 === l2 || a2 === m2 || a2 === w2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === p || a2.$$typeof === n2 || a2.$$typeof === g2 || a2.$$typeof === h || a2.$$typeof === k2 || a2.$$typeof === u2 || a2.$$typeof === q2 || a2[0] === r2) ? true : false;
|
|
166
166
|
};
|
|
167
|
-
|
|
167
|
+
exports.typeOf = y2;
|
|
168
168
|
}
|
|
169
169
|
});
|
|
170
170
|
|
|
171
171
|
// node_modules/react-is/cjs/react-is.development.js
|
|
172
172
|
var require_react_is_development = __commonJS({
|
|
173
|
-
"node_modules/react-is/cjs/react-is.development.js"(
|
|
173
|
+
"node_modules/react-is/cjs/react-is.development.js"(exports) {
|
|
174
174
|
"use strict";
|
|
175
175
|
if (process.env.NODE_ENV !== "production") {
|
|
176
176
|
(function() {
|
|
@@ -329,32 +329,32 @@ var require_react_is_development = __commonJS({
|
|
|
329
329
|
function isSuspense(object3) {
|
|
330
330
|
return typeOf(object3) === REACT_SUSPENSE_TYPE;
|
|
331
331
|
}
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
332
|
+
exports.ContextConsumer = ContextConsumer;
|
|
333
|
+
exports.ContextProvider = ContextProvider;
|
|
334
|
+
exports.Element = Element;
|
|
335
|
+
exports.ForwardRef = ForwardRef;
|
|
336
|
+
exports.Fragment = Fragment2;
|
|
337
|
+
exports.Lazy = Lazy;
|
|
338
|
+
exports.Memo = Memo;
|
|
339
|
+
exports.Portal = Portal;
|
|
340
|
+
exports.Profiler = Profiler;
|
|
341
|
+
exports.StrictMode = StrictMode;
|
|
342
|
+
exports.Suspense = Suspense;
|
|
343
|
+
exports.isAsyncMode = isAsyncMode;
|
|
344
|
+
exports.isConcurrentMode = isConcurrentMode;
|
|
345
|
+
exports.isContextConsumer = isContextConsumer;
|
|
346
|
+
exports.isContextProvider = isContextProvider;
|
|
347
|
+
exports.isElement = isElement;
|
|
348
|
+
exports.isForwardRef = isForwardRef;
|
|
349
|
+
exports.isFragment = isFragment;
|
|
350
|
+
exports.isLazy = isLazy;
|
|
351
|
+
exports.isMemo = isMemo;
|
|
352
|
+
exports.isPortal = isPortal;
|
|
353
|
+
exports.isProfiler = isProfiler;
|
|
354
|
+
exports.isStrictMode = isStrictMode;
|
|
355
|
+
exports.isSuspense = isSuspense;
|
|
356
|
+
exports.isValidElementType = isValidElementType;
|
|
357
|
+
exports.typeOf = typeOf;
|
|
358
358
|
})();
|
|
359
359
|
}
|
|
360
360
|
}
|
|
@@ -362,7 +362,7 @@ var require_react_is_development = __commonJS({
|
|
|
362
362
|
|
|
363
363
|
// node_modules/react-is/index.js
|
|
364
364
|
var require_react_is = __commonJS({
|
|
365
|
-
"node_modules/react-is/index.js"(
|
|
365
|
+
"node_modules/react-is/index.js"(exports, module2) {
|
|
366
366
|
"use strict";
|
|
367
367
|
if (process.env.NODE_ENV === "production") {
|
|
368
368
|
module2.exports = require_react_is_production_min();
|
|
@@ -374,7 +374,7 @@ var require_react_is = __commonJS({
|
|
|
374
374
|
|
|
375
375
|
// ../../node_modules/shallowequal/index.js
|
|
376
376
|
var require_shallowequal = __commonJS({
|
|
377
|
-
"../../node_modules/shallowequal/index.js"(
|
|
377
|
+
"../../node_modules/shallowequal/index.js"(exports, module2) {
|
|
378
378
|
"use strict";
|
|
379
379
|
module2.exports = function shallowEqual(objA, objB, compare, compareContext) {
|
|
380
380
|
var ret = compare ? compare.call(compareContext, objA, objB) : void 0;
|
|
@@ -412,7 +412,7 @@ var require_shallowequal = __commonJS({
|
|
|
412
412
|
|
|
413
413
|
// ../../node_modules/react-is/cjs/react-is.production.min.js
|
|
414
414
|
var require_react_is_production_min2 = __commonJS({
|
|
415
|
-
"../../node_modules/react-is/cjs/react-is.production.min.js"(
|
|
415
|
+
"../../node_modules/react-is/cjs/react-is.production.min.js"(exports) {
|
|
416
416
|
"use strict";
|
|
417
417
|
var b2 = "function" === typeof Symbol && Symbol.for;
|
|
418
418
|
var c2 = b2 ? Symbol.for("react.element") : 60103;
|
|
@@ -466,66 +466,66 @@ var require_react_is_production_min2 = __commonJS({
|
|
|
466
466
|
function A2(a2) {
|
|
467
467
|
return z2(a2) === m2;
|
|
468
468
|
}
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
469
|
+
exports.AsyncMode = l2;
|
|
470
|
+
exports.ConcurrentMode = m2;
|
|
471
|
+
exports.ContextConsumer = k2;
|
|
472
|
+
exports.ContextProvider = h;
|
|
473
|
+
exports.Element = c2;
|
|
474
|
+
exports.ForwardRef = n2;
|
|
475
|
+
exports.Fragment = e2;
|
|
476
|
+
exports.Lazy = t2;
|
|
477
|
+
exports.Memo = r2;
|
|
478
|
+
exports.Portal = d;
|
|
479
|
+
exports.Profiler = g2;
|
|
480
|
+
exports.StrictMode = f2;
|
|
481
|
+
exports.Suspense = p;
|
|
482
|
+
exports.isAsyncMode = function(a2) {
|
|
483
483
|
return A2(a2) || z2(a2) === l2;
|
|
484
484
|
};
|
|
485
|
-
|
|
486
|
-
|
|
485
|
+
exports.isConcurrentMode = A2;
|
|
486
|
+
exports.isContextConsumer = function(a2) {
|
|
487
487
|
return z2(a2) === k2;
|
|
488
488
|
};
|
|
489
|
-
|
|
489
|
+
exports.isContextProvider = function(a2) {
|
|
490
490
|
return z2(a2) === h;
|
|
491
491
|
};
|
|
492
|
-
|
|
492
|
+
exports.isElement = function(a2) {
|
|
493
493
|
return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
|
|
494
494
|
};
|
|
495
|
-
|
|
495
|
+
exports.isForwardRef = function(a2) {
|
|
496
496
|
return z2(a2) === n2;
|
|
497
497
|
};
|
|
498
|
-
|
|
498
|
+
exports.isFragment = function(a2) {
|
|
499
499
|
return z2(a2) === e2;
|
|
500
500
|
};
|
|
501
|
-
|
|
501
|
+
exports.isLazy = function(a2) {
|
|
502
502
|
return z2(a2) === t2;
|
|
503
503
|
};
|
|
504
|
-
|
|
504
|
+
exports.isMemo = function(a2) {
|
|
505
505
|
return z2(a2) === r2;
|
|
506
506
|
};
|
|
507
|
-
|
|
507
|
+
exports.isPortal = function(a2) {
|
|
508
508
|
return z2(a2) === d;
|
|
509
509
|
};
|
|
510
|
-
|
|
510
|
+
exports.isProfiler = function(a2) {
|
|
511
511
|
return z2(a2) === g2;
|
|
512
512
|
};
|
|
513
|
-
|
|
513
|
+
exports.isStrictMode = function(a2) {
|
|
514
514
|
return z2(a2) === f2;
|
|
515
515
|
};
|
|
516
|
-
|
|
516
|
+
exports.isSuspense = function(a2) {
|
|
517
517
|
return z2(a2) === p;
|
|
518
518
|
};
|
|
519
|
-
|
|
519
|
+
exports.isValidElementType = function(a2) {
|
|
520
520
|
return "string" === typeof a2 || "function" === typeof a2 || a2 === e2 || a2 === m2 || a2 === g2 || a2 === f2 || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t2 || a2.$$typeof === r2 || a2.$$typeof === h || a2.$$typeof === k2 || a2.$$typeof === n2 || a2.$$typeof === w2 || a2.$$typeof === x2 || a2.$$typeof === y2 || a2.$$typeof === v2);
|
|
521
521
|
};
|
|
522
|
-
|
|
522
|
+
exports.typeOf = z2;
|
|
523
523
|
}
|
|
524
524
|
});
|
|
525
525
|
|
|
526
526
|
// ../../node_modules/react-is/cjs/react-is.development.js
|
|
527
527
|
var require_react_is_development2 = __commonJS({
|
|
528
|
-
"../../node_modules/react-is/cjs/react-is.development.js"(
|
|
528
|
+
"../../node_modules/react-is/cjs/react-is.development.js"(exports) {
|
|
529
529
|
"use strict";
|
|
530
530
|
if (process.env.NODE_ENV !== "production") {
|
|
531
531
|
(function() {
|
|
@@ -645,34 +645,34 @@ var require_react_is_development2 = __commonJS({
|
|
|
645
645
|
function isSuspense(object3) {
|
|
646
646
|
return typeOf(object3) === REACT_SUSPENSE_TYPE;
|
|
647
647
|
}
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
648
|
+
exports.AsyncMode = AsyncMode;
|
|
649
|
+
exports.ConcurrentMode = ConcurrentMode;
|
|
650
|
+
exports.ContextConsumer = ContextConsumer;
|
|
651
|
+
exports.ContextProvider = ContextProvider;
|
|
652
|
+
exports.Element = Element;
|
|
653
|
+
exports.ForwardRef = ForwardRef;
|
|
654
|
+
exports.Fragment = Fragment2;
|
|
655
|
+
exports.Lazy = Lazy;
|
|
656
|
+
exports.Memo = Memo;
|
|
657
|
+
exports.Portal = Portal;
|
|
658
|
+
exports.Profiler = Profiler;
|
|
659
|
+
exports.StrictMode = StrictMode;
|
|
660
|
+
exports.Suspense = Suspense;
|
|
661
|
+
exports.isAsyncMode = isAsyncMode;
|
|
662
|
+
exports.isConcurrentMode = isConcurrentMode;
|
|
663
|
+
exports.isContextConsumer = isContextConsumer;
|
|
664
|
+
exports.isContextProvider = isContextProvider;
|
|
665
|
+
exports.isElement = isElement;
|
|
666
|
+
exports.isForwardRef = isForwardRef;
|
|
667
|
+
exports.isFragment = isFragment;
|
|
668
|
+
exports.isLazy = isLazy;
|
|
669
|
+
exports.isMemo = isMemo;
|
|
670
|
+
exports.isPortal = isPortal;
|
|
671
|
+
exports.isProfiler = isProfiler;
|
|
672
|
+
exports.isStrictMode = isStrictMode;
|
|
673
|
+
exports.isSuspense = isSuspense;
|
|
674
|
+
exports.isValidElementType = isValidElementType;
|
|
675
|
+
exports.typeOf = typeOf;
|
|
676
676
|
})();
|
|
677
677
|
}
|
|
678
678
|
}
|
|
@@ -680,7 +680,7 @@ var require_react_is_development2 = __commonJS({
|
|
|
680
680
|
|
|
681
681
|
// ../../node_modules/react-is/index.js
|
|
682
682
|
var require_react_is2 = __commonJS({
|
|
683
|
-
"../../node_modules/react-is/index.js"(
|
|
683
|
+
"../../node_modules/react-is/index.js"(exports, module2) {
|
|
684
684
|
"use strict";
|
|
685
685
|
if (process.env.NODE_ENV === "production") {
|
|
686
686
|
module2.exports = require_react_is_production_min2();
|
|
@@ -692,7 +692,7 @@ var require_react_is2 = __commonJS({
|
|
|
692
692
|
|
|
693
693
|
// ../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
|
|
694
694
|
var require_hoist_non_react_statics_cjs = __commonJS({
|
|
695
|
-
"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(
|
|
695
|
+
"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(exports, module2) {
|
|
696
696
|
"use strict";
|
|
697
697
|
var reactIs = require_react_is2();
|
|
698
698
|
var REACT_STATICS = {
|
|
@@ -780,11 +780,11 @@ var require_hoist_non_react_statics_cjs = __commonJS({
|
|
|
780
780
|
|
|
781
781
|
// ../../node_modules/lodash/lodash.js
|
|
782
782
|
var require_lodash = __commonJS({
|
|
783
|
-
"../../node_modules/lodash/lodash.js"(
|
|
783
|
+
"../../node_modules/lodash/lodash.js"(exports, module2) {
|
|
784
784
|
"use strict";
|
|
785
785
|
(function() {
|
|
786
786
|
var undefined2;
|
|
787
|
-
var VERSION = "4.17.
|
|
787
|
+
var VERSION = "4.17.23";
|
|
788
788
|
var LARGE_ARRAY_SIZE = 200;
|
|
789
789
|
var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`";
|
|
790
790
|
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
@@ -1109,7 +1109,7 @@ var require_lodash = __commonJS({
|
|
|
1109
1109
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
1110
1110
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
1111
1111
|
var root = freeGlobal || freeSelf || Function("return this")();
|
|
1112
|
-
var freeExports = typeof
|
|
1112
|
+
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1113
1113
|
var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
|
|
1114
1114
|
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
1115
1115
|
var freeProcess = moduleExports && freeGlobal.process;
|
|
@@ -1513,7 +1513,7 @@ var require_lodash = __commonJS({
|
|
|
1513
1513
|
}
|
|
1514
1514
|
return new LodashWrapper(value);
|
|
1515
1515
|
}
|
|
1516
|
-
var baseCreate =
|
|
1516
|
+
var baseCreate = function() {
|
|
1517
1517
|
function object3() {
|
|
1518
1518
|
}
|
|
1519
1519
|
return function(proto) {
|
|
@@ -2712,8 +2712,28 @@ var require_lodash = __commonJS({
|
|
|
2712
2712
|
}
|
|
2713
2713
|
function baseUnset(object3, path) {
|
|
2714
2714
|
path = castPath(path, object3);
|
|
2715
|
-
|
|
2716
|
-
|
|
2715
|
+
var index = -1, length = path.length;
|
|
2716
|
+
if (!length) {
|
|
2717
|
+
return true;
|
|
2718
|
+
}
|
|
2719
|
+
var isRootPrimitive = object3 == null || typeof object3 !== "object" && typeof object3 !== "function";
|
|
2720
|
+
while (++index < length) {
|
|
2721
|
+
var key = path[index];
|
|
2722
|
+
if (typeof key !== "string") {
|
|
2723
|
+
continue;
|
|
2724
|
+
}
|
|
2725
|
+
if (key === "__proto__" && !hasOwnProperty.call(object3, "__proto__")) {
|
|
2726
|
+
return false;
|
|
2727
|
+
}
|
|
2728
|
+
if (key === "constructor" && index + 1 < length && typeof path[index + 1] === "string" && path[index + 1] === "prototype") {
|
|
2729
|
+
if (isRootPrimitive && index === 0) {
|
|
2730
|
+
continue;
|
|
2731
|
+
}
|
|
2732
|
+
return false;
|
|
2733
|
+
}
|
|
2734
|
+
}
|
|
2735
|
+
var obj = parent(object3, path);
|
|
2736
|
+
return obj == null || delete obj[toKey(last(path))];
|
|
2717
2737
|
}
|
|
2718
2738
|
function baseUpdate(object3, path, updater, customizer) {
|
|
2719
2739
|
return baseSet(object3, path, updater(baseGet(object3, path)), customizer);
|
|
@@ -4820,7 +4840,7 @@ var require_lodash = __commonJS({
|
|
|
4820
4840
|
var gte = createRelationalOperation(function(value, other) {
|
|
4821
4841
|
return value >= other;
|
|
4822
4842
|
});
|
|
4823
|
-
var isArguments = baseIsArguments(
|
|
4843
|
+
var isArguments = baseIsArguments(function() {
|
|
4824
4844
|
return arguments;
|
|
4825
4845
|
}()) ? baseIsArguments : function(value) {
|
|
4826
4846
|
return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
|
@@ -6255,7 +6275,7 @@ var require_lodash = __commonJS({
|
|
|
6255
6275
|
} else {
|
|
6256
6276
|
root._ = _3;
|
|
6257
6277
|
}
|
|
6258
|
-
}).call(
|
|
6278
|
+
}).call(exports);
|
|
6259
6279
|
}
|
|
6260
6280
|
});
|
|
6261
6281
|
|
|
@@ -8603,8 +8623,8 @@ function memoize(fn) {
|
|
|
8603
8623
|
};
|
|
8604
8624
|
}
|
|
8605
8625
|
|
|
8606
|
-
// node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
|
|
8607
|
-
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;
|
|
8626
|
+
// ../../node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
|
|
8627
|
+
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;
|
|
8608
8628
|
var isPropValid = /* @__PURE__ */ memoize(
|
|
8609
8629
|
function(prop) {
|
|
8610
8630
|
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111 && prop.charCodeAt(1) === 110 && prop.charCodeAt(2) < 91;
|
|
@@ -8930,7 +8950,7 @@ var re = function() {
|
|
|
8930
8950
|
var oe = /^\s*\/\/.*$/gm;
|
|
8931
8951
|
var se = [":", "[", ".", "#"];
|
|
8932
8952
|
function ie(e2) {
|
|
8933
|
-
var t2, n2, r2, o2, s2 = void 0 === e2 ? S : e2, i2 = s2.options, a2 = void 0 === i2 ? S : i2, c2 = s2.plugins, u2 = void 0 === c2 ? g : c2, l2 = new stylis_esm_default(a2), h = [], p =
|
|
8953
|
+
var t2, n2, r2, o2, s2 = void 0 === e2 ? S : e2, i2 = s2.options, a2 = void 0 === i2 ? S : i2, c2 = s2.plugins, u2 = void 0 === c2 ? g : c2, l2 = new stylis_esm_default(a2), h = [], p = function(e3) {
|
|
8934
8954
|
function t3(t4) {
|
|
8935
8955
|
if (t4)
|
|
8936
8956
|
try {
|
|
@@ -9168,7 +9188,7 @@ function Fe(e2, t2, n2) {
|
|
|
9168
9188
|
return this._foldedDefaultProps;
|
|
9169
9189
|
}, set: function(t3) {
|
|
9170
9190
|
this._foldedDefaultProps = o2 ? ze({}, e2.defaultProps, t3) : t3;
|
|
9171
|
-
} }), "production" !== process.env.NODE_ENV && (Ie(y2, v2), A2.warnTooManyClasses =
|
|
9191
|
+
} }), "production" !== process.env.NODE_ENV && (Ie(y2, v2), A2.warnTooManyClasses = function(e3, t3) {
|
|
9172
9192
|
var n3 = {}, r2 = false;
|
|
9173
9193
|
return function(o3) {
|
|
9174
9194
|
if (!r2 && (n3[o3] = true, Object.keys(n3).length >= 200)) {
|
|
@@ -9592,7 +9612,9 @@ var useSavedViewsQuery = (props) => {
|
|
|
9592
9612
|
queryKey: ["savedViews", domain, tableName, companyId, projectId],
|
|
9593
9613
|
queryFn: async () => {
|
|
9594
9614
|
const getUrl = `${url}&per_page=${PAGE_SIZE}`;
|
|
9595
|
-
const response = await (0, import_core_http2.requestJSON)(getUrl
|
|
9615
|
+
const response = await (0, import_core_http2.requestJSON)(getUrl, {
|
|
9616
|
+
priority: "low"
|
|
9617
|
+
});
|
|
9596
9618
|
return response.data;
|
|
9597
9619
|
}
|
|
9598
9620
|
});
|
|
@@ -9604,7 +9626,9 @@ var useSavedViewsPermissions = (props) => {
|
|
|
9604
9626
|
return (0, import_react_query2.useQuery)({
|
|
9605
9627
|
queryKey: ["savedViewsConfig", domain, companyId, projectId],
|
|
9606
9628
|
queryFn: async () => {
|
|
9607
|
-
const response = await (0, import_core_http2.requestJSON)(url
|
|
9629
|
+
const response = await (0, import_core_http2.requestJSON)(url, {
|
|
9630
|
+
priority: "low"
|
|
9631
|
+
});
|
|
9608
9632
|
return response.data;
|
|
9609
9633
|
}
|
|
9610
9634
|
});
|
|
@@ -9632,7 +9656,9 @@ var useFetchSavedViewById = (savedViewToken, queryInput, enabled = true) => {
|
|
|
9632
9656
|
queryKey: ["savedView", savedViewToken, companyId, projectId],
|
|
9633
9657
|
queryFn: async () => {
|
|
9634
9658
|
const url = `${basePath}/${savedViewToken}?permissions_domain=${domain}`;
|
|
9635
|
-
const response = await (0, import_core_http2.requestJSON)(url
|
|
9659
|
+
const response = await (0, import_core_http2.requestJSON)(url, {
|
|
9660
|
+
priority: "low"
|
|
9661
|
+
});
|
|
9636
9662
|
return response.data;
|
|
9637
9663
|
}
|
|
9638
9664
|
});
|
|
@@ -9753,18 +9779,40 @@ var getOrderedVisibleColumns = (columns, idKey) => {
|
|
|
9753
9779
|
});
|
|
9754
9780
|
return [leftAction, ...middleColumns, rightAction].filter(Boolean);
|
|
9755
9781
|
};
|
|
9782
|
+
var SMART_GRID_COLUMN_COMPARE_KEYS = [
|
|
9783
|
+
"colId",
|
|
9784
|
+
"hide",
|
|
9785
|
+
"width",
|
|
9786
|
+
"sort",
|
|
9787
|
+
"sortIndex",
|
|
9788
|
+
"pinned",
|
|
9789
|
+
"rowGroup",
|
|
9790
|
+
"rowGroupIndex",
|
|
9791
|
+
"pivot",
|
|
9792
|
+
"pivotIndex"
|
|
9793
|
+
];
|
|
9794
|
+
var DATA_TABLE_COLUMN_COMPARE_KEYS = [
|
|
9795
|
+
"field",
|
|
9796
|
+
"hidden",
|
|
9797
|
+
"width",
|
|
9798
|
+
"sort",
|
|
9799
|
+
"sortIndex",
|
|
9800
|
+
"pinned",
|
|
9801
|
+
"rowGroup",
|
|
9802
|
+
"rowGroupIndex"
|
|
9803
|
+
];
|
|
9756
9804
|
var cleanObject = (table_config, provider) => {
|
|
9757
9805
|
if (provider === "smart-grid") {
|
|
9758
9806
|
const smartGridConfig = table_config;
|
|
9759
|
-
if (!smartGridConfig.filterState)
|
|
9760
|
-
return table_config;
|
|
9761
9807
|
const orderedColumns = getOrderedVisibleColumns(
|
|
9762
9808
|
smartGridConfig.columnState,
|
|
9763
9809
|
"colId"
|
|
9764
9810
|
);
|
|
9765
9811
|
return {
|
|
9766
9812
|
...smartGridConfig,
|
|
9767
|
-
columnState: orderedColumns
|
|
9813
|
+
columnState: orderedColumns.map(
|
|
9814
|
+
(col) => import_lodash.default.pick(col, SMART_GRID_COLUMN_COMPARE_KEYS)
|
|
9815
|
+
)
|
|
9768
9816
|
};
|
|
9769
9817
|
} else {
|
|
9770
9818
|
const dataTableConfig = table_config;
|
|
@@ -9776,7 +9824,9 @@ var cleanObject = (table_config, provider) => {
|
|
|
9776
9824
|
);
|
|
9777
9825
|
return {
|
|
9778
9826
|
...dataTableConfig,
|
|
9779
|
-
columnState: orderedColumns
|
|
9827
|
+
columnState: orderedColumns.map(
|
|
9828
|
+
(col) => import_lodash.default.pick(col, DATA_TABLE_COLUMN_COMPARE_KEYS)
|
|
9829
|
+
),
|
|
9780
9830
|
serverFilters: dataTableConfig.serverFilters.map(
|
|
9781
9831
|
(filter) => import_lodash.default.omit(filter, "filterRenderer")
|
|
9782
9832
|
)
|