@carto/meridian-ds 1.1.0-alpha.2 → 1.2.0-alpha.1
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 +10 -3
- package/dist/{Alert-DDz3-_16.js → Alert-D7txRuRX.js} +1 -1
- package/dist/{Alert-FLV5jJYV.cjs → Alert-DtATpSrk.cjs} +1 -1
- package/dist/{MenuItem-CxZTr9gk.cjs → MenuItem-CYprZ0gF.cjs} +1 -1
- package/dist/{MenuItem-BTaTqbU8.js → MenuItem-Zfhg5oVa.js} +1 -1
- package/dist/{TablePaginationActions-GazQOp5y.js → TablePaginationActions-27cy26WD.js} +136 -105
- package/dist/TablePaginationActions-CoP0Ze6h.cjs +9 -0
- package/dist/components/index.cjs +5 -5
- package/dist/components/index.js +3788 -3156
- package/dist/custom-icons/index.cjs +1 -1
- package/dist/custom-icons/index.js +519 -415
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.js +159 -55
- package/dist/types/components/atoms/IconButton.d.ts +28 -0
- package/dist/types/components/atoms/IconButton.d.ts.map +1 -0
- package/dist/types/components/atoms/index.d.ts +2 -0
- package/dist/types/components/atoms/index.d.ts.map +1 -1
- package/dist/types/components/organisms/DatePickers/PickersDay.d.ts.map +1 -1
- package/dist/types/components/organisms/Dialog/Dialog.d.ts +4 -0
- package/dist/types/components/organisms/Dialog/Dialog.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/DialogAlert.d.ts +4 -0
- package/dist/types/components/organisms/Dialog/DialogAlert.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/DialogConfirmation.d.ts +4 -0
- package/dist/types/components/organisms/Dialog/DialogConfirmation.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/DialogContent.d.ts +7 -0
- package/dist/types/components/organisms/Dialog/DialogContent.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/DialogFooter.d.ts +7 -0
- package/dist/types/components/organisms/Dialog/DialogFooter.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/DialogHeader.d.ts +4 -0
- package/dist/types/components/organisms/Dialog/DialogHeader.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/DialogPaper.d.ts +32 -0
- package/dist/types/components/organisms/Dialog/DialogPaper.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/DialogStepper.d.ts +3 -0
- package/dist/types/components/organisms/Dialog/DialogStepper.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/index.d.ts +9 -0
- package/dist/types/components/organisms/Dialog/index.d.ts.map +1 -0
- package/dist/types/components/organisms/Dialog/types.d.ts +69 -0
- package/dist/types/components/organisms/Dialog/types.d.ts.map +1 -0
- package/dist/types/components/organisms/index.d.ts +2 -0
- package/dist/types/components/organisms/index.d.ts.map +1 -1
- package/dist/types/custom-icons/Comments.d.ts +4 -0
- package/dist/types/custom-icons/Comments.d.ts.map +1 -0
- package/dist/types/custom-icons/Rain.d.ts.map +1 -1
- package/dist/types/custom-icons/SelectDestination.d.ts +4 -0
- package/dist/types/custom-icons/SelectDestination.d.ts.map +1 -0
- package/dist/types/custom-icons/index.d.ts +3 -0
- package/dist/types/custom-icons/index.d.ts.map +1 -1
- package/dist/types/localization/en.d.ts +11 -0
- package/dist/types/localization/en.d.ts.map +1 -1
- package/dist/types/localization/es.d.ts +10 -0
- package/dist/types/localization/es.d.ts.map +1 -1
- package/dist/types/localization/id.d.ts +10 -0
- package/dist/types/localization/id.d.ts.map +1 -1
- package/dist/types/localization/index.d.ts +31 -0
- package/dist/types/localization/index.d.ts.map +1 -1
- package/dist/types/theme/sections/components/buttons.d.ts.map +1 -1
- package/dist/types/theme/sections/components/data-display.d.ts.map +1 -1
- package/dist/types/theme/types.d.ts +10 -0
- package/dist/types/theme/types.d.ts.map +1 -1
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts.map +1 -1
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIGeometryChips.d.ts.map +1 -1
- package/dist/widgets/index.cjs +14 -14
- package/dist/widgets/index.js +1541 -1524
- package/package.json +7 -3
- package/dist/TablePaginationActions-DyJEKn3l.cjs +0 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Ce from "react-is";
|
|
2
2
|
import { jsx as I, jsxs as Ve } from "react/jsx-runtime";
|
|
3
|
-
import { Typography as Ye, Tooltip as _e, IconButton as le, styled as
|
|
3
|
+
import { Typography as Ye, Tooltip as _e, IconButton as le, styled as Le, Box as $e } from "@mui/material";
|
|
4
4
|
import { forwardRef as Je } from "react";
|
|
5
5
|
import { KeyboardArrowLeftOutlined as Qe, KeyboardArrowRightOutlined as Xe } from "@mui/icons-material";
|
|
6
6
|
import { createIntlCache as en, createIntl as nn, useIntl as rn } from "react-intl";
|
|
@@ -82,7 +82,7 @@ function oe() {
|
|
|
82
82
|
return J = e, J;
|
|
83
83
|
}
|
|
84
84
|
var Q, pe;
|
|
85
|
-
function
|
|
85
|
+
function Ae() {
|
|
86
86
|
return pe || (pe = 1, Q = Function.call.bind(Object.prototype.hasOwnProperty)), Q;
|
|
87
87
|
}
|
|
88
88
|
var X, we;
|
|
@@ -92,7 +92,7 @@ function dn() {
|
|
|
92
92
|
var e = function() {
|
|
93
93
|
};
|
|
94
94
|
if (process.env.NODE_ENV !== "production") {
|
|
95
|
-
var n = oe(), a = {}, r =
|
|
95
|
+
var n = oe(), a = {}, r = Ae();
|
|
96
96
|
e = function(i) {
|
|
97
97
|
var s = "Warning: " + i;
|
|
98
98
|
typeof console < "u" && console.error(s);
|
|
@@ -122,9 +122,9 @@ function dn() {
|
|
|
122
122
|
(c || "React class") + ": type specification of " + d + " `" + y + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof f + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
123
123
|
), f instanceof Error && !(f.message in a)) {
|
|
124
124
|
a[f.message] = !0;
|
|
125
|
-
var
|
|
125
|
+
var E = _ ? _() : "";
|
|
126
126
|
e(
|
|
127
|
-
"Failed " + d + " type: " + f.message + (
|
|
127
|
+
"Failed " + d + " type: " + f.message + (E ?? "")
|
|
128
128
|
);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
@@ -138,7 +138,7 @@ var ee, me;
|
|
|
138
138
|
function on() {
|
|
139
139
|
if (me) return ee;
|
|
140
140
|
me = 1;
|
|
141
|
-
var e =
|
|
141
|
+
var e = Ce, n = sn(), a = oe(), r = Ae(), t = dn(), i = function() {
|
|
142
142
|
};
|
|
143
143
|
process.env.NODE_ENV !== "production" && (i = function(d) {
|
|
144
144
|
var c = "Warning: " + d;
|
|
@@ -158,15 +158,15 @@ function on() {
|
|
|
158
158
|
if (typeof u == "function")
|
|
159
159
|
return u;
|
|
160
160
|
}
|
|
161
|
-
var T = "<<anonymous>>",
|
|
162
|
-
array:
|
|
163
|
-
bigint:
|
|
164
|
-
bool:
|
|
165
|
-
func:
|
|
166
|
-
number:
|
|
167
|
-
object:
|
|
168
|
-
string:
|
|
169
|
-
symbol:
|
|
161
|
+
var T = "<<anonymous>>", E = {
|
|
162
|
+
array: A("array"),
|
|
163
|
+
bigint: A("bigint"),
|
|
164
|
+
bool: A("boolean"),
|
|
165
|
+
func: A("function"),
|
|
166
|
+
number: A("number"),
|
|
167
|
+
object: A("object"),
|
|
168
|
+
string: A("string"),
|
|
169
|
+
symbol: A("symbol"),
|
|
170
170
|
any: R(),
|
|
171
171
|
arrayOf: B,
|
|
172
172
|
element: x(),
|
|
@@ -182,20 +182,20 @@ function on() {
|
|
|
182
182
|
function O(o, u) {
|
|
183
183
|
return o === u ? o !== 0 || 1 / o === 1 / u : o !== o && u !== u;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function b(o, u) {
|
|
186
186
|
this.message = o, this.data = u && typeof u == "object" ? u : {}, this.stack = "";
|
|
187
187
|
}
|
|
188
|
-
|
|
189
|
-
function
|
|
188
|
+
b.prototype = Error.prototype;
|
|
189
|
+
function C(o) {
|
|
190
190
|
if (process.env.NODE_ENV !== "production")
|
|
191
191
|
var u = {}, g = 0;
|
|
192
|
-
function w(h, p, m, v, M, S,
|
|
193
|
-
if (v = v || T, S = S || m,
|
|
192
|
+
function w(h, p, m, v, M, S, P) {
|
|
193
|
+
if (v = v || T, S = S || m, P !== a) {
|
|
194
194
|
if (c) {
|
|
195
|
-
var
|
|
195
|
+
var L = new Error(
|
|
196
196
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
197
197
|
);
|
|
198
|
-
throw
|
|
198
|
+
throw L.name = "Invariant Violation", L;
|
|
199
199
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
200
200
|
var G = v + ":" + m;
|
|
201
201
|
!u[G] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
@@ -204,36 +204,36 @@ function on() {
|
|
|
204
204
|
), u[G] = !0, g++);
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
return p[m] == null ? h ? p[m] === null ? new
|
|
207
|
+
return p[m] == null ? h ? p[m] === null ? new b("The " + M + " `" + S + "` is marked as required " + ("in `" + v + "`, but its value is `null`.")) : new b("The " + M + " `" + S + "` is marked as required in " + ("`" + v + "`, but its value is `undefined`.")) : null : o(p, m, v, M, S);
|
|
208
208
|
}
|
|
209
209
|
var l = w.bind(null, !1);
|
|
210
210
|
return l.isRequired = w.bind(null, !0), l;
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function A(o) {
|
|
213
213
|
function u(g, w, l, h, p, m) {
|
|
214
214
|
var v = g[w], M = k(v);
|
|
215
215
|
if (M !== o) {
|
|
216
216
|
var S = q(v);
|
|
217
|
-
return new
|
|
217
|
+
return new b(
|
|
218
218
|
"Invalid " + h + " `" + p + "` of type " + ("`" + S + "` supplied to `" + l + "`, expected ") + ("`" + o + "`."),
|
|
219
219
|
{ expectedType: o }
|
|
220
220
|
);
|
|
221
221
|
}
|
|
222
222
|
return null;
|
|
223
223
|
}
|
|
224
|
-
return
|
|
224
|
+
return C(u);
|
|
225
225
|
}
|
|
226
226
|
function R() {
|
|
227
|
-
return
|
|
227
|
+
return C(s);
|
|
228
228
|
}
|
|
229
229
|
function B(o) {
|
|
230
230
|
function u(g, w, l, h, p) {
|
|
231
231
|
if (typeof o != "function")
|
|
232
|
-
return new
|
|
232
|
+
return new b("Property `" + p + "` of component `" + l + "` has invalid PropType notation inside arrayOf.");
|
|
233
233
|
var m = g[w];
|
|
234
234
|
if (!Array.isArray(m)) {
|
|
235
235
|
var v = k(m);
|
|
236
|
-
return new
|
|
236
|
+
return new b("Invalid " + h + " `" + p + "` of type " + ("`" + v + "` supplied to `" + l + "`, expected an array."));
|
|
237
237
|
}
|
|
238
238
|
for (var M = 0; M < m.length; M++) {
|
|
239
239
|
var S = o(m, M, l, h, p + "[" + M + "]", a);
|
|
@@ -242,39 +242,39 @@ function on() {
|
|
|
242
242
|
}
|
|
243
243
|
return null;
|
|
244
244
|
}
|
|
245
|
-
return
|
|
245
|
+
return C(u);
|
|
246
246
|
}
|
|
247
247
|
function x() {
|
|
248
248
|
function o(u, g, w, l, h) {
|
|
249
249
|
var p = u[g];
|
|
250
250
|
if (!d(p)) {
|
|
251
251
|
var m = k(p);
|
|
252
|
-
return new
|
|
252
|
+
return new b("Invalid " + l + " `" + h + "` of type " + ("`" + m + "` supplied to `" + w + "`, expected a single ReactElement."));
|
|
253
253
|
}
|
|
254
254
|
return null;
|
|
255
255
|
}
|
|
256
|
-
return
|
|
256
|
+
return C(o);
|
|
257
257
|
}
|
|
258
258
|
function V() {
|
|
259
259
|
function o(u, g, w, l, h) {
|
|
260
260
|
var p = u[g];
|
|
261
261
|
if (!e.isValidElementType(p)) {
|
|
262
262
|
var m = k(p);
|
|
263
|
-
return new
|
|
263
|
+
return new b("Invalid " + l + " `" + h + "` of type " + ("`" + m + "` supplied to `" + w + "`, expected a single ReactElement type."));
|
|
264
264
|
}
|
|
265
265
|
return null;
|
|
266
266
|
}
|
|
267
|
-
return
|
|
267
|
+
return C(o);
|
|
268
268
|
}
|
|
269
269
|
function Y(o) {
|
|
270
270
|
function u(g, w, l, h, p) {
|
|
271
271
|
if (!(g[w] instanceof o)) {
|
|
272
272
|
var m = o.name || T, v = Fe(g[w]);
|
|
273
|
-
return new
|
|
273
|
+
return new b("Invalid " + h + " `" + p + "` of type " + ("`" + v + "` supplied to `" + l + "`, expected ") + ("instance of `" + m + "`."));
|
|
274
274
|
}
|
|
275
275
|
return null;
|
|
276
276
|
}
|
|
277
|
-
return
|
|
277
|
+
return C(u);
|
|
278
278
|
}
|
|
279
279
|
function qe(o) {
|
|
280
280
|
if (!Array.isArray(o))
|
|
@@ -285,21 +285,21 @@ function on() {
|
|
|
285
285
|
for (var m = g[w], v = 0; v < o.length; v++)
|
|
286
286
|
if (O(m, o[v]))
|
|
287
287
|
return null;
|
|
288
|
-
var M = JSON.stringify(o, function(
|
|
289
|
-
var G = q(
|
|
290
|
-
return G === "symbol" ? String(
|
|
288
|
+
var M = JSON.stringify(o, function(P, L) {
|
|
289
|
+
var G = q(L);
|
|
290
|
+
return G === "symbol" ? String(L) : L;
|
|
291
291
|
});
|
|
292
|
-
return new
|
|
292
|
+
return new b("Invalid " + h + " `" + p + "` of value `" + String(m) + "` " + ("supplied to `" + l + "`, expected one of " + M + "."));
|
|
293
293
|
}
|
|
294
|
-
return
|
|
294
|
+
return C(u);
|
|
295
295
|
}
|
|
296
296
|
function Ue(o) {
|
|
297
297
|
function u(g, w, l, h, p) {
|
|
298
298
|
if (typeof o != "function")
|
|
299
|
-
return new
|
|
299
|
+
return new b("Property `" + p + "` of component `" + l + "` has invalid PropType notation inside objectOf.");
|
|
300
300
|
var m = g[w], v = k(m);
|
|
301
301
|
if (v !== "object")
|
|
302
|
-
return new
|
|
302
|
+
return new b("Invalid " + h + " `" + p + "` of type " + ("`" + v + "` supplied to `" + l + "`, expected an object."));
|
|
303
303
|
for (var M in m)
|
|
304
304
|
if (r(m, M)) {
|
|
305
305
|
var S = o(m, M, l, h, p + "." + M, a);
|
|
@@ -308,7 +308,7 @@ function on() {
|
|
|
308
308
|
}
|
|
309
309
|
return null;
|
|
310
310
|
}
|
|
311
|
-
return
|
|
311
|
+
return C(u);
|
|
312
312
|
}
|
|
313
313
|
function Ke(o) {
|
|
314
314
|
if (!Array.isArray(o))
|
|
@@ -322,24 +322,24 @@ function on() {
|
|
|
322
322
|
}
|
|
323
323
|
function w(l, h, p, m, v) {
|
|
324
324
|
for (var M = [], S = 0; S < o.length; S++) {
|
|
325
|
-
var
|
|
326
|
-
if (
|
|
325
|
+
var P = o[S], L = P(l, h, p, m, v, a);
|
|
326
|
+
if (L == null)
|
|
327
327
|
return null;
|
|
328
|
-
|
|
328
|
+
L.data && r(L.data, "expectedType") && M.push(L.data.expectedType);
|
|
329
329
|
}
|
|
330
330
|
var G = M.length > 0 ? ", expected one of type [" + M.join(", ") + "]" : "";
|
|
331
|
-
return new
|
|
331
|
+
return new b("Invalid " + m + " `" + v + "` supplied to " + ("`" + p + "`" + G + "."));
|
|
332
332
|
}
|
|
333
|
-
return
|
|
333
|
+
return C(w);
|
|
334
334
|
}
|
|
335
335
|
function He() {
|
|
336
336
|
function o(u, g, w, l, h) {
|
|
337
|
-
return K(u[g]) ? null : new
|
|
337
|
+
return K(u[g]) ? null : new b("Invalid " + l + " `" + h + "` supplied to " + ("`" + w + "`, expected a ReactNode."));
|
|
338
338
|
}
|
|
339
|
-
return
|
|
339
|
+
return C(o);
|
|
340
340
|
}
|
|
341
341
|
function ue(o, u, g, w, l) {
|
|
342
|
-
return new
|
|
342
|
+
return new b(
|
|
343
343
|
(o || "React class") + ": " + u + " type `" + g + "." + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + l + "`."
|
|
344
344
|
);
|
|
345
345
|
}
|
|
@@ -347,41 +347,41 @@ function on() {
|
|
|
347
347
|
function u(g, w, l, h, p) {
|
|
348
348
|
var m = g[w], v = k(m);
|
|
349
349
|
if (v !== "object")
|
|
350
|
-
return new
|
|
350
|
+
return new b("Invalid " + h + " `" + p + "` of type `" + v + "` " + ("supplied to `" + l + "`, expected `object`."));
|
|
351
351
|
for (var M in o) {
|
|
352
352
|
var S = o[M];
|
|
353
353
|
if (typeof S != "function")
|
|
354
354
|
return ue(l, h, p, M, q(S));
|
|
355
|
-
var
|
|
356
|
-
if (
|
|
357
|
-
return
|
|
355
|
+
var P = S(m, M, l, h, p + "." + M, a);
|
|
356
|
+
if (P)
|
|
357
|
+
return P;
|
|
358
358
|
}
|
|
359
359
|
return null;
|
|
360
360
|
}
|
|
361
|
-
return
|
|
361
|
+
return C(u);
|
|
362
362
|
}
|
|
363
363
|
function ze(o) {
|
|
364
364
|
function u(g, w, l, h, p) {
|
|
365
365
|
var m = g[w], v = k(m);
|
|
366
366
|
if (v !== "object")
|
|
367
|
-
return new
|
|
367
|
+
return new b("Invalid " + h + " `" + p + "` of type `" + v + "` " + ("supplied to `" + l + "`, expected `object`."));
|
|
368
368
|
var M = n({}, g[w], o);
|
|
369
369
|
for (var S in M) {
|
|
370
|
-
var
|
|
371
|
-
if (r(o, S) && typeof
|
|
372
|
-
return ue(l, h, p, S, q(
|
|
373
|
-
if (!
|
|
374
|
-
return new
|
|
370
|
+
var P = o[S];
|
|
371
|
+
if (r(o, S) && typeof P != "function")
|
|
372
|
+
return ue(l, h, p, S, q(P));
|
|
373
|
+
if (!P)
|
|
374
|
+
return new b(
|
|
375
375
|
"Invalid " + h + " `" + p + "` key `" + S + "` supplied to `" + l + "`.\nBad object: " + JSON.stringify(g[w], null, " ") + `
|
|
376
376
|
Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
|
|
377
377
|
);
|
|
378
|
-
var
|
|
379
|
-
if (
|
|
380
|
-
return
|
|
378
|
+
var L = P(m, S, l, h, p + "." + S, a);
|
|
379
|
+
if (L)
|
|
380
|
+
return L;
|
|
381
381
|
}
|
|
382
382
|
return null;
|
|
383
383
|
}
|
|
384
|
-
return
|
|
384
|
+
return C(u);
|
|
385
385
|
}
|
|
386
386
|
function K(o) {
|
|
387
387
|
switch (typeof o) {
|
|
@@ -452,7 +452,7 @@ Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
|
|
|
452
452
|
function Fe(o) {
|
|
453
453
|
return !o.constructor || !o.constructor.name ? T : o.constructor.name;
|
|
454
454
|
}
|
|
455
|
-
return
|
|
455
|
+
return E.checkPropTypes = t, E.resetWarningCache = t.resetWarningCache, E.PropTypes = E, E;
|
|
456
456
|
}, ee;
|
|
457
457
|
}
|
|
458
458
|
var ne, ge;
|
|
@@ -504,7 +504,7 @@ function cn() {
|
|
|
504
504
|
}, ne;
|
|
505
505
|
}
|
|
506
506
|
if (process.env.NODE_ENV !== "production") {
|
|
507
|
-
var un =
|
|
507
|
+
var un = Ce, _n = !0;
|
|
508
508
|
se.exports = on()(un.isElement, _n);
|
|
509
509
|
} else
|
|
510
510
|
se.exports = cn()();
|
|
@@ -516,12 +516,12 @@ function N(e) {
|
|
|
516
516
|
const n = Object.getPrototypeOf(e);
|
|
517
517
|
return (n === null || n === Object.prototype || Object.getPrototypeOf(n) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Pe(e) {
|
|
520
520
|
if (!N(e))
|
|
521
521
|
return e;
|
|
522
522
|
const n = {};
|
|
523
523
|
return Object.keys(e).forEach((a) => {
|
|
524
|
-
n[a] =
|
|
524
|
+
n[a] = Pe(e[a]);
|
|
525
525
|
}), n;
|
|
526
526
|
}
|
|
527
527
|
function Oe(e, n, a = {
|
|
@@ -530,7 +530,7 @@ function Oe(e, n, a = {
|
|
|
530
530
|
const r = a.clone ? ie({}, e) : e;
|
|
531
531
|
return N(e) && N(n) && Object.keys(n).forEach((t) => {
|
|
532
532
|
N(n[t]) && // Avoid prototype pollution
|
|
533
|
-
Object.prototype.hasOwnProperty.call(e, t) && N(e[t]) ? r[t] = Oe(e[t], n[t], a) : a.clone ? r[t] = N(n[t]) ?
|
|
533
|
+
Object.prototype.hasOwnProperty.call(e, t) && N(e[t]) ? r[t] = Oe(e[t], n[t], a) : a.clone ? r[t] = N(n[t]) ? Pe(n[t]) : n[t] : r[t] = n[t];
|
|
534
534
|
}), r;
|
|
535
535
|
}
|
|
536
536
|
const z = process.env.NODE_ENV !== "production" ? U.oneOfType([U.number, U.string, U.object, U.array]) : {};
|
|
@@ -701,7 +701,7 @@ function Ne(e) {
|
|
|
701
701
|
Ne.propTypes = process.env.NODE_ENV !== "production" ? Z.reduce((e, n) => (e[n] = z, e), {}) : {};
|
|
702
702
|
Ne.filterProps = Z;
|
|
703
703
|
process.env.NODE_ENV !== "production" && hn.reduce((e, n) => (e[n] = z, e), {});
|
|
704
|
-
function
|
|
704
|
+
function bn(e = 8) {
|
|
705
705
|
if (e.mui)
|
|
706
706
|
return e;
|
|
707
707
|
const n = ke({
|
|
@@ -712,20 +712,20 @@ function En(e = 8) {
|
|
|
712
712
|
}).join(" "));
|
|
713
713
|
return a.mui = !0, a;
|
|
714
714
|
}
|
|
715
|
-
const
|
|
715
|
+
const En = 8, tr = {
|
|
716
716
|
XS: 320,
|
|
717
717
|
SM: 600,
|
|
718
718
|
MD: 960,
|
|
719
719
|
LG: 1280,
|
|
720
720
|
XL: 1600
|
|
721
|
-
}, F = En
|
|
721
|
+
}, F = bn(En), ir = F(1.5), sr = F(2.25), dr = F(3), or = F(6), Cn = {
|
|
722
722
|
regular: 400,
|
|
723
723
|
medium: 500,
|
|
724
724
|
strong: 600
|
|
725
725
|
};
|
|
726
|
-
function
|
|
726
|
+
function Ln({ italic: e, weight: n, style: a, children: r, ...t }, i) {
|
|
727
727
|
const s = {
|
|
728
|
-
fontWeight:
|
|
728
|
+
fontWeight: Cn[n],
|
|
729
729
|
fontStyle: e ? "italic" : void 0
|
|
730
730
|
};
|
|
731
731
|
return /* @__PURE__ */ I(
|
|
@@ -741,8 +741,13 @@ function Cn({ italic: e, weight: n, style: a, children: r, ...t }, i) {
|
|
|
741
741
|
}
|
|
742
742
|
);
|
|
743
743
|
}
|
|
744
|
-
const cr = Je(
|
|
744
|
+
const cr = Je(Ln), An = {
|
|
745
745
|
c4r: {
|
|
746
|
+
button: {
|
|
747
|
+
cancel: "Cancel",
|
|
748
|
+
leave: "Leave",
|
|
749
|
+
close: "Close"
|
|
750
|
+
},
|
|
746
751
|
form: {
|
|
747
752
|
selectAll: "Select all",
|
|
748
753
|
selectNone: "None",
|
|
@@ -768,6 +773,12 @@ const cr = Je(Cn), Pn = {
|
|
|
768
773
|
endDateCalendar: "End date calendar",
|
|
769
774
|
time: "Time"
|
|
770
775
|
},
|
|
776
|
+
dialog: {
|
|
777
|
+
confirmation: {
|
|
778
|
+
title: "Are you sure you want to leave?",
|
|
779
|
+
content: "The changes you made will not be saved."
|
|
780
|
+
}
|
|
781
|
+
},
|
|
771
782
|
widgets: {
|
|
772
783
|
category: {
|
|
773
784
|
apply: "Apply",
|
|
@@ -867,8 +878,12 @@ const cr = Je(Cn), Pn = {
|
|
|
867
878
|
}
|
|
868
879
|
}
|
|
869
880
|
}
|
|
870
|
-
},
|
|
881
|
+
}, Pn = {
|
|
871
882
|
c4r: {
|
|
883
|
+
button: {
|
|
884
|
+
cancel: "Cancelar",
|
|
885
|
+
leave: "Salir"
|
|
886
|
+
},
|
|
872
887
|
form: {
|
|
873
888
|
selectAll: "Seleccionar todos",
|
|
874
889
|
selectNone: "Ninguno",
|
|
@@ -894,6 +909,12 @@ const cr = Je(Cn), Pn = {
|
|
|
894
909
|
endDateCalendar: "Calendario de fecha de fin",
|
|
895
910
|
time: "Hora"
|
|
896
911
|
},
|
|
912
|
+
dialog: {
|
|
913
|
+
confirmation: {
|
|
914
|
+
title: "¿Estás seguro de que quieres salir?",
|
|
915
|
+
content: "Los cambios que has hecho no se guardarán."
|
|
916
|
+
}
|
|
917
|
+
},
|
|
897
918
|
widgets: {
|
|
898
919
|
category: {
|
|
899
920
|
apply: "Aplicar",
|
|
@@ -993,6 +1014,10 @@ const cr = Je(Cn), Pn = {
|
|
|
993
1014
|
}
|
|
994
1015
|
}, On = {
|
|
995
1016
|
c4r: {
|
|
1017
|
+
button: {
|
|
1018
|
+
cancel: "Cancel",
|
|
1019
|
+
leave: "Leave"
|
|
1020
|
+
},
|
|
996
1021
|
form: {
|
|
997
1022
|
selectAll: "Select all",
|
|
998
1023
|
selectNone: "None",
|
|
@@ -1018,6 +1043,12 @@ const cr = Je(Cn), Pn = {
|
|
|
1018
1043
|
endDateCalendar: "End date calendar",
|
|
1019
1044
|
time: "Time"
|
|
1020
1045
|
},
|
|
1046
|
+
dialog: {
|
|
1047
|
+
confirmation: {
|
|
1048
|
+
title: "Are you sure you want to leave?",
|
|
1049
|
+
content: "The changes you made will not be saved."
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1021
1052
|
widgets: {
|
|
1022
1053
|
category: {
|
|
1023
1054
|
apply: "Terapkan",
|
|
@@ -1117,7 +1148,7 @@ const cr = Je(Cn), Pn = {
|
|
|
1117
1148
|
}
|
|
1118
1149
|
}
|
|
1119
1150
|
}
|
|
1120
|
-
}, Te = { en:
|
|
1151
|
+
}, Te = { en: An, es: Pn, id: On };
|
|
1121
1152
|
function In(e) {
|
|
1122
1153
|
return Intl.getCanonicalLocales(e);
|
|
1123
1154
|
}
|
|
@@ -5220,24 +5251,24 @@ function Kn(e, n, a, r, t, i) {
|
|
|
5220
5251
|
var s = a.localeMatcher, d;
|
|
5221
5252
|
s === "lookup" ? d = qn(Array.from(e), n, i) : d = Dn(Array.from(e), n, i);
|
|
5222
5253
|
for (var c = d.locale, _ = { locale: "", dataLocale: c }, y = "-u", f = 0, T = r; f < T.length; f++) {
|
|
5223
|
-
var
|
|
5254
|
+
var E = T[f];
|
|
5224
5255
|
D(c in t, "Missing locale data for ".concat(c));
|
|
5225
5256
|
var O = t[c];
|
|
5226
|
-
D(typeof O == "object" && O !== null, "locale data ".concat(
|
|
5227
|
-
var
|
|
5228
|
-
D(Array.isArray(
|
|
5229
|
-
var
|
|
5230
|
-
D(typeof
|
|
5231
|
-
var
|
|
5257
|
+
D(typeof O == "object" && O !== null, "locale data ".concat(E, " must be an object"));
|
|
5258
|
+
var b = O[E];
|
|
5259
|
+
D(Array.isArray(b), "keyLocaleData for ".concat(E, " must be an array"));
|
|
5260
|
+
var C = b[0];
|
|
5261
|
+
D(typeof C == "string" || C === null, "value must be string or null but got ".concat(typeof C, " in key ").concat(E));
|
|
5262
|
+
var A = "";
|
|
5232
5263
|
if (d.extension) {
|
|
5233
|
-
var R = Un(d.extension,
|
|
5234
|
-
R !== void 0 && (R !== "" ? ~
|
|
5264
|
+
var R = Un(d.extension, E);
|
|
5265
|
+
R !== void 0 && (R !== "" ? ~b.indexOf(R) && (C = R, A = "-".concat(E, "-").concat(C)) : ~R.indexOf("true") && (C = "true", A = "-".concat(E)));
|
|
5235
5266
|
}
|
|
5236
|
-
if (
|
|
5237
|
-
var B = a[
|
|
5238
|
-
D(typeof B == "string" || typeof B > "u" || B === null, "optionsValue must be String, Undefined or Null"), ~
|
|
5267
|
+
if (E in a) {
|
|
5268
|
+
var B = a[E];
|
|
5269
|
+
D(typeof B == "string" || typeof B > "u" || B === null, "optionsValue must be String, Undefined or Null"), ~b.indexOf(B) && B !== C && (C = B, A = "");
|
|
5239
5270
|
}
|
|
5240
|
-
_[
|
|
5271
|
+
_[E] = C, y += A;
|
|
5241
5272
|
}
|
|
5242
5273
|
if (y.length > 2) {
|
|
5243
5274
|
var x = c.indexOf("-x-");
|
|
@@ -5276,7 +5307,7 @@ function jn(e, n) {
|
|
|
5276
5307
|
);
|
|
5277
5308
|
return r || de;
|
|
5278
5309
|
}
|
|
5279
|
-
const zn = en(),
|
|
5310
|
+
const zn = en(), be = /* @__PURE__ */ new WeakMap(), Wn = (e) => {
|
|
5280
5311
|
const n = (e == null ? void 0 : e.locale) || de, a = jn(n, Te), r = {
|
|
5281
5312
|
...Te[a] || {},
|
|
5282
5313
|
...(e == null ? void 0 : e.messages) ?? {}
|
|
@@ -5289,20 +5320,20 @@ const zn = en(), Ee = /* @__PURE__ */ new WeakMap(), Wn = (e) => {
|
|
|
5289
5320
|
zn
|
|
5290
5321
|
);
|
|
5291
5322
|
}, Zn = (e) => {
|
|
5292
|
-
const n =
|
|
5323
|
+
const n = be.get(e);
|
|
5293
5324
|
if (n)
|
|
5294
5325
|
return n;
|
|
5295
5326
|
const a = Wn(e);
|
|
5296
|
-
return
|
|
5327
|
+
return be.set(e, a), a;
|
|
5297
5328
|
};
|
|
5298
5329
|
function Fn(e) {
|
|
5299
5330
|
return Zn(e);
|
|
5300
5331
|
}
|
|
5301
|
-
const Vn =
|
|
5332
|
+
const Vn = Le($e)(({ theme: e }) => ({
|
|
5302
5333
|
display: "flex",
|
|
5303
5334
|
gap: e.spacing(0.5),
|
|
5304
5335
|
marginLeft: e.spacing(1)
|
|
5305
|
-
})),
|
|
5336
|
+
})), Ee = Le("div")(({ theme: e }) => ({
|
|
5306
5337
|
"& .MuiIconButton-root:not(.Mui-disabled)": {
|
|
5307
5338
|
color: e.palette.text.secondary
|
|
5308
5339
|
}
|
|
@@ -5322,11 +5353,11 @@ function ur({
|
|
|
5322
5353
|
id: "c4r.form.pagination.prevPage"
|
|
5323
5354
|
}), T = s.formatMessage({
|
|
5324
5355
|
id: "c4r.form.pagination.nextPage"
|
|
5325
|
-
}),
|
|
5356
|
+
}), E = s.formatMessage({
|
|
5326
5357
|
id: "c4r.form.pagination.noMorePages"
|
|
5327
5358
|
});
|
|
5328
5359
|
return /* @__PURE__ */ Ve(Vn, { children: [
|
|
5329
|
-
/* @__PURE__ */ I(_e, { title: y ?
|
|
5360
|
+
/* @__PURE__ */ I(_e, { title: y ? E : f, children: /* @__PURE__ */ I(Ee, { children: /* @__PURE__ */ I(
|
|
5330
5361
|
le,
|
|
5331
5362
|
{
|
|
5332
5363
|
onClick: d,
|
|
@@ -5338,8 +5369,8 @@ function ur({
|
|
|
5338
5369
|
/* @__PURE__ */ I(
|
|
5339
5370
|
_e,
|
|
5340
5371
|
{
|
|
5341
|
-
title: _ ? t ??
|
|
5342
|
-
children: /* @__PURE__ */ I(
|
|
5372
|
+
title: _ ? t ?? E : T,
|
|
5373
|
+
children: /* @__PURE__ */ I(Ee, { children: /* @__PURE__ */ I(
|
|
5343
5374
|
le,
|
|
5344
5375
|
{
|
|
5345
5376
|
onClick: c,
|
|
@@ -5357,7 +5388,7 @@ export {
|
|
|
5357
5388
|
tr as B,
|
|
5358
5389
|
dr as I,
|
|
5359
5390
|
U as P,
|
|
5360
|
-
|
|
5391
|
+
En as S,
|
|
5361
5392
|
cr as T,
|
|
5362
5393
|
ie as _,
|
|
5363
5394
|
ur as a,
|
|
@@ -5374,7 +5405,7 @@ export {
|
|
|
5374
5405
|
ve as l,
|
|
5375
5406
|
yn as m,
|
|
5376
5407
|
fn as n,
|
|
5377
|
-
|
|
5408
|
+
bn as o,
|
|
5378
5409
|
Ne as p,
|
|
5379
5410
|
Oe as q,
|
|
5380
5411
|
z as r,
|