@carto/meridian-ds 1.2.1-alpha.1 → 1.3.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.
Files changed (72) hide show
  1. package/CHANGELOG.md +10 -2
  2. package/dist/{Alert-FLV5jJYV.cjs → Alert-C0xmyi3Z.cjs} +1 -1
  3. package/dist/{Alert-DDz3-_16.js → Alert-DbN79ENW.js} +1 -1
  4. package/dist/{MenuItem-BTaTqbU8.js → MenuItem-B3IDLBB1.js} +1 -1
  5. package/dist/{MenuItem-CxZTr9gk.cjs → MenuItem-DUV2TC2p.cjs} +1 -1
  6. package/dist/{TablePaginationActions-GazQOp5y.js → TablePaginationActions-BmvmVQd9.js} +183 -149
  7. package/dist/TablePaginationActions-Bv-6vZ7z.cjs +9 -0
  8. package/dist/components/index.cjs +5 -5
  9. package/dist/components/index.js +4448 -3623
  10. package/dist/custom-icons/index.cjs +1 -1
  11. package/dist/custom-icons/index.js +519 -415
  12. package/dist/theme/index.cjs +1 -1
  13. package/dist/theme/index.js +176 -71
  14. package/dist/types/components/atoms/Button.d.ts +4 -0
  15. package/dist/types/components/atoms/Button.d.ts.map +1 -1
  16. package/dist/types/components/atoms/IconButton.d.ts +28 -0
  17. package/dist/types/components/atoms/IconButton.d.ts.map +1 -0
  18. package/dist/types/components/atoms/index.d.ts +2 -0
  19. package/dist/types/components/atoms/index.d.ts.map +1 -1
  20. package/dist/types/components/molecules/Snackbar.d.ts +11 -0
  21. package/dist/types/components/molecules/Snackbar.d.ts.map +1 -0
  22. package/dist/types/components/molecules/index.d.ts +2 -0
  23. package/dist/types/components/molecules/index.d.ts.map +1 -1
  24. package/dist/types/components/organisms/DatePickers/PickersDay.d.ts.map +1 -1
  25. package/dist/types/components/organisms/Dialog/Dialog.d.ts +4 -0
  26. package/dist/types/components/organisms/Dialog/Dialog.d.ts.map +1 -0
  27. package/dist/types/components/organisms/Dialog/DialogAlert.d.ts +4 -0
  28. package/dist/types/components/organisms/Dialog/DialogAlert.d.ts.map +1 -0
  29. package/dist/types/components/organisms/Dialog/DialogConfirmation.d.ts +4 -0
  30. package/dist/types/components/organisms/Dialog/DialogConfirmation.d.ts.map +1 -0
  31. package/dist/types/components/organisms/Dialog/DialogContent.d.ts +7 -0
  32. package/dist/types/components/organisms/Dialog/DialogContent.d.ts.map +1 -0
  33. package/dist/types/components/organisms/Dialog/DialogFooter.d.ts +7 -0
  34. package/dist/types/components/organisms/Dialog/DialogFooter.d.ts.map +1 -0
  35. package/dist/types/components/organisms/Dialog/DialogHeader.d.ts +4 -0
  36. package/dist/types/components/organisms/Dialog/DialogHeader.d.ts.map +1 -0
  37. package/dist/types/components/organisms/Dialog/DialogPaper.d.ts +32 -0
  38. package/dist/types/components/organisms/Dialog/DialogPaper.d.ts.map +1 -0
  39. package/dist/types/components/organisms/Dialog/DialogStepper.d.ts +3 -0
  40. package/dist/types/components/organisms/Dialog/DialogStepper.d.ts.map +1 -0
  41. package/dist/types/components/organisms/Dialog/index.d.ts +9 -0
  42. package/dist/types/components/organisms/Dialog/index.d.ts.map +1 -0
  43. package/dist/types/components/organisms/Dialog/types.d.ts +69 -0
  44. package/dist/types/components/organisms/Dialog/types.d.ts.map +1 -0
  45. package/dist/types/components/organisms/index.d.ts +2 -0
  46. package/dist/types/components/organisms/index.d.ts.map +1 -1
  47. package/dist/types/custom-icons/Comments.d.ts +4 -0
  48. package/dist/types/custom-icons/Comments.d.ts.map +1 -0
  49. package/dist/types/custom-icons/Rain.d.ts.map +1 -1
  50. package/dist/types/custom-icons/SelectDestination.d.ts +4 -0
  51. package/dist/types/custom-icons/SelectDestination.d.ts.map +1 -0
  52. package/dist/types/custom-icons/index.d.ts +3 -0
  53. package/dist/types/custom-icons/index.d.ts.map +1 -1
  54. package/dist/types/localization/en.d.ts +11 -0
  55. package/dist/types/localization/en.d.ts.map +1 -1
  56. package/dist/types/localization/es.d.ts +11 -0
  57. package/dist/types/localization/es.d.ts.map +1 -1
  58. package/dist/types/localization/id.d.ts +11 -0
  59. package/dist/types/localization/id.d.ts.map +1 -1
  60. package/dist/types/localization/index.d.ts +33 -0
  61. package/dist/types/localization/index.d.ts.map +1 -1
  62. package/dist/types/theme/sections/components/buttons.d.ts.map +1 -1
  63. package/dist/types/theme/theme-constants.d.ts +1 -0
  64. package/dist/types/theme/theme-constants.d.ts.map +1 -1
  65. package/dist/types/theme/types.d.ts +10 -0
  66. package/dist/types/theme/types.d.ts.map +1 -1
  67. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts.map +1 -1
  68. package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIGeometryChips.d.ts.map +1 -1
  69. package/dist/widgets/index.cjs +8 -8
  70. package/dist/widgets/index.js +508 -508
  71. package/package.json +3 -2
  72. package/dist/TablePaginationActions-DyJEKn3l.cjs +0 -9
@@ -1,6 +1,6 @@
1
- import Le from "react-is";
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 Ce, Box as $e } from "@mui/material";
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";
@@ -67,8 +67,8 @@ function sn() {
67
67
  n.call(d, f) && (c[f] = d[f]);
68
68
  if (e) {
69
69
  _ = e(d);
70
- for (var T = 0; T < _.length; T++)
71
- a.call(d, _[T]) && (c[_[T]] = d[_[T]]);
70
+ for (var S = 0; S < _.length; S++)
71
+ a.call(d, _[S]) && (c[_[S]] = d[_[S]]);
72
72
  }
73
73
  }
74
74
  return c;
@@ -82,7 +82,7 @@ function oe() {
82
82
  return J = e, J;
83
83
  }
84
84
  var Q, pe;
85
- function Pe() {
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 = Pe();
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);
@@ -109,10 +109,10 @@ function dn() {
109
109
  var f;
110
110
  try {
111
111
  if (typeof i[y] != "function") {
112
- var T = Error(
112
+ var S = Error(
113
113
  (c || "React class") + ": " + d + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
114
114
  );
115
- throw T.name = "Invariant Violation", T;
115
+ throw S.name = "Invariant Violation", S;
116
116
  }
117
117
  f = i[y](s, y, c, d, null, n);
118
118
  } catch (O) {
@@ -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 b = _ ? _() : "";
125
+ var E = _ ? _() : "";
126
126
  e(
127
- "Failed " + d + " type: " + f.message + (b ?? "")
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 = Le, n = sn(), a = oe(), r = Pe(), t = dn(), i = function() {
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>>", b = {
162
- array: P("array"),
163
- bigint: P("bigint"),
164
- bool: P("boolean"),
165
- func: P("function"),
166
- number: P("number"),
167
- object: P("object"),
168
- string: P("string"),
169
- symbol: P("symbol"),
161
+ var S = "<<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,99 +182,99 @@ 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 E(o, u) {
185
+ function b(o, u) {
186
186
  this.message = o, this.data = u && typeof u == "object" ? u : {}, this.stack = "";
187
187
  }
188
- E.prototype = Error.prototype;
189
- function L(o) {
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, A) {
193
- if (v = v || T, S = S || m, A !== a) {
192
+ function w(h, p, m, v, M, T, P) {
193
+ if (v = v || S, T = T || m, P !== a) {
194
194
  if (c) {
195
- var C = new Error(
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 C.name = "Invariant Violation", C;
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
202
202
  g < 3 && (i(
203
- "You are manually calling a React.PropTypes validation function for the `" + S + "` prop on `" + v + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
203
+ "You are manually calling a React.PropTypes validation function for the `" + T + "` prop on `" + v + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
204
204
  ), u[G] = !0, g++);
205
205
  }
206
206
  }
207
- return p[m] == null ? h ? p[m] === null ? new E("The " + M + " `" + S + "` is marked as required " + ("in `" + v + "`, but its value is `null`.")) : new E("The " + M + " `" + S + "` is marked as required in " + ("`" + v + "`, but its value is `undefined`.")) : null : o(p, m, v, M, S);
207
+ return p[m] == null ? h ? p[m] === null ? new b("The " + M + " `" + T + "` is marked as required " + ("in `" + v + "`, but its value is `null`.")) : new b("The " + M + " `" + T + "` is marked as required in " + ("`" + v + "`, but its value is `undefined`.")) : null : o(p, m, v, M, T);
208
208
  }
209
209
  var l = w.bind(null, !1);
210
210
  return l.isRequired = w.bind(null, !0), l;
211
211
  }
212
- function P(o) {
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
- var S = q(v);
217
- return new E(
218
- "Invalid " + h + " `" + p + "` of type " + ("`" + S + "` supplied to `" + l + "`, expected ") + ("`" + o + "`."),
216
+ var T = q(v);
217
+ return new b(
218
+ "Invalid " + h + " `" + p + "` of type " + ("`" + T + "` supplied to `" + l + "`, expected ") + ("`" + o + "`."),
219
219
  { expectedType: o }
220
220
  );
221
221
  }
222
222
  return null;
223
223
  }
224
- return L(u);
224
+ return C(u);
225
225
  }
226
226
  function R() {
227
- return L(s);
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 E("Property `" + p + "` of component `" + l + "` has invalid PropType notation inside arrayOf.");
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 E("Invalid " + h + " `" + p + "` of type " + ("`" + v + "` supplied to `" + l + "`, expected an array."));
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
- var S = o(m, M, l, h, p + "[" + M + "]", a);
240
- if (S instanceof Error)
241
- return S;
239
+ var T = o(m, M, l, h, p + "[" + M + "]", a);
240
+ if (T instanceof Error)
241
+ return T;
242
242
  }
243
243
  return null;
244
244
  }
245
- return L(u);
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 E("Invalid " + l + " `" + h + "` of type " + ("`" + m + "` supplied to `" + w + "`, expected a single ReactElement."));
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 L(o);
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 E("Invalid " + l + " `" + h + "` of type " + ("`" + m + "` supplied to `" + w + "`, expected a single ReactElement type."));
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 L(o);
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
- var m = o.name || T, v = Fe(g[w]);
273
- return new E("Invalid " + h + " `" + p + "` of type " + ("`" + v + "` supplied to `" + l + "`, expected ") + ("instance of `" + m + "`."));
272
+ var m = o.name || S, v = Fe(g[w]);
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 L(u);
277
+ return C(u);
278
278
  }
279
279
  function qe(o) {
280
280
  if (!Array.isArray(o))
@@ -285,30 +285,30 @@ 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(A, C) {
289
- var G = q(C);
290
- return G === "symbol" ? String(C) : C;
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 E("Invalid " + h + " `" + p + "` of value `" + String(m) + "` " + ("supplied to `" + l + "`, expected one of " + M + "."));
292
+ return new b("Invalid " + h + " `" + p + "` of value `" + String(m) + "` " + ("supplied to `" + l + "`, expected one of " + M + "."));
293
293
  }
294
- return L(u);
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 E("Property `" + p + "` of component `" + l + "` has invalid PropType notation inside objectOf.");
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 E("Invalid " + h + " `" + p + "` of type " + ("`" + v + "` supplied to `" + l + "`, expected an object."));
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
- var S = o(m, M, l, h, p + "." + M, a);
306
- if (S instanceof Error)
307
- return S;
305
+ var T = o(m, M, l, h, p + "." + M, a);
306
+ if (T instanceof Error)
307
+ return T;
308
308
  }
309
309
  return null;
310
310
  }
311
- return L(u);
311
+ return C(u);
312
312
  }
313
313
  function Ke(o) {
314
314
  if (!Array.isArray(o))
@@ -321,25 +321,25 @@ function on() {
321
321
  ), s;
322
322
  }
323
323
  function w(l, h, p, m, v) {
324
- for (var M = [], S = 0; S < o.length; S++) {
325
- var A = o[S], C = A(l, h, p, m, v, a);
326
- if (C == null)
324
+ for (var M = [], T = 0; T < o.length; T++) {
325
+ var P = o[T], L = P(l, h, p, m, v, a);
326
+ if (L == null)
327
327
  return null;
328
- C.data && r(C.data, "expectedType") && M.push(C.data.expectedType);
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 E("Invalid " + m + " `" + v + "` supplied to " + ("`" + p + "`" + G + "."));
331
+ return new b("Invalid " + m + " `" + v + "` supplied to " + ("`" + p + "`" + G + "."));
332
332
  }
333
- return L(w);
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 E("Invalid " + l + " `" + h + "` supplied to " + ("`" + w + "`, expected a ReactNode."));
337
+ return K(u[g]) ? null : new b("Invalid " + l + " `" + h + "` supplied to " + ("`" + w + "`, expected a ReactNode."));
338
338
  }
339
- return L(o);
339
+ return C(o);
340
340
  }
341
341
  function ue(o, u, g, w, l) {
342
- return new E(
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 E("Invalid " + h + " `" + p + "` of type `" + v + "` " + ("supplied to `" + l + "`, expected `object`."));
350
+ return new b("Invalid " + h + " `" + p + "` of type `" + v + "` " + ("supplied to `" + l + "`, expected `object`."));
351
351
  for (var M in o) {
352
- var S = o[M];
353
- if (typeof S != "function")
354
- return ue(l, h, p, M, q(S));
355
- var A = S(m, M, l, h, p + "." + M, a);
356
- if (A)
357
- return A;
352
+ var T = o[M];
353
+ if (typeof T != "function")
354
+ return ue(l, h, p, M, q(T));
355
+ var P = T(m, M, l, h, p + "." + M, a);
356
+ if (P)
357
+ return P;
358
358
  }
359
359
  return null;
360
360
  }
361
- return L(u);
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 E("Invalid " + h + " `" + p + "` of type `" + v + "` " + ("supplied to `" + l + "`, expected `object`."));
367
+ return new b("Invalid " + h + " `" + p + "` of type `" + v + "` " + ("supplied to `" + l + "`, expected `object`."));
368
368
  var M = n({}, g[w], o);
369
- for (var S in M) {
370
- var A = o[S];
371
- if (r(o, S) && typeof A != "function")
372
- return ue(l, h, p, S, q(A));
373
- if (!A)
374
- return new E(
375
- "Invalid " + h + " `" + p + "` key `" + S + "` supplied to `" + l + "`.\nBad object: " + JSON.stringify(g[w], null, " ") + `
369
+ for (var T in M) {
370
+ var P = o[T];
371
+ if (r(o, T) && typeof P != "function")
372
+ return ue(l, h, p, T, q(P));
373
+ if (!P)
374
+ return new b(
375
+ "Invalid " + h + " `" + p + "` key `" + T + "` supplied to `" + l + "`.\nBad object: " + JSON.stringify(g[w], null, " ") + `
376
376
  Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
377
377
  );
378
- var C = A(m, S, l, h, p + "." + S, a);
379
- if (C)
380
- return C;
378
+ var L = P(m, T, l, h, p + "." + T, a);
379
+ if (L)
380
+ return L;
381
381
  }
382
382
  return null;
383
383
  }
384
- return L(u);
384
+ return C(u);
385
385
  }
386
386
  function K(o) {
387
387
  switch (typeof o) {
@@ -450,9 +450,9 @@ Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
450
450
  }
451
451
  }
452
452
  function Fe(o) {
453
- return !o.constructor || !o.constructor.name ? T : o.constructor.name;
453
+ return !o.constructor || !o.constructor.name ? S : o.constructor.name;
454
454
  }
455
- return b.checkPropTypes = t, b.resetWarningCache = t.resetWarningCache, b.PropTypes = b, b;
455
+ return E.checkPropTypes = t, E.resetWarningCache = t.resetWarningCache, E.PropTypes = E, E;
456
456
  }, ee;
457
457
  }
458
458
  var ne, ge;
@@ -467,10 +467,10 @@ function cn() {
467
467
  return a.resetWarningCache = n, ne = function() {
468
468
  function r(s, d, c, _, y, f) {
469
469
  if (f !== e) {
470
- var T = new Error(
470
+ var S = new Error(
471
471
  "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"
472
472
  );
473
- throw T.name = "Invariant Violation", T;
473
+ throw S.name = "Invariant Violation", S;
474
474
  }
475
475
  }
476
476
  r.isRequired = r;
@@ -504,7 +504,7 @@ function cn() {
504
504
  }, ne;
505
505
  }
506
506
  if (process.env.NODE_ENV !== "production") {
507
- var un = Le, _n = !0;
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 Ae(e) {
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] = Ae(e[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]) ? Ae(n[t]) : n[t] : r[t] = 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]) : {};
@@ -621,9 +621,9 @@ function ar(e) {
621
621
  return null;
622
622
  const d = s[n], c = s.theme, _ = ce(c, r) || {};
623
623
  return Be(s, d, (f) => {
624
- let T = ve(_, t, f);
625
- return f === T && typeof f == "string" && (T = ve(_, t, `${n}${f === "default" ? "" : fn(f)}`, f)), a === !1 ? T : {
626
- [a]: T
624
+ let S = ve(_, t, f);
625
+ return f === S && typeof f == "string" && (S = ve(_, t, `${n}${f === "default" ? "" : fn(f)}`, f)), a === !1 ? S : {
626
+ [a]: S
627
627
  };
628
628
  });
629
629
  };
@@ -645,15 +645,15 @@ const wn = {
645
645
  l: "Left",
646
646
  x: ["Left", "Right"],
647
647
  y: ["Top", "Bottom"]
648
- }, Se = {
648
+ }, Te = {
649
649
  marginX: "mx",
650
650
  marginY: "my",
651
651
  paddingX: "px",
652
652
  paddingY: "py"
653
653
  }, gn = pn((e) => {
654
654
  if (e.length > 2)
655
- if (Se[e])
656
- e = Se[e];
655
+ if (Te[e])
656
+ e = Te[e];
657
657
  else
658
658
  return [e];
659
659
  const [n, a] = e.split(""), r = wn[n], t = mn[a] || "";
@@ -671,19 +671,19 @@ function vn(e, n, a, r) {
671
671
  function ke(e) {
672
672
  return vn(e, "spacing", 8, "spacing");
673
673
  }
674
- function Sn(e, n) {
674
+ function Tn(e, n) {
675
675
  if (typeof n == "string" || n == null)
676
676
  return n;
677
677
  const a = Math.abs(n), r = e(a);
678
678
  return n >= 0 ? r : typeof r == "number" ? -r : `-${r}`;
679
679
  }
680
- function Tn(e, n) {
681
- return (a) => e.reduce((r, t) => (r[t] = Sn(n, a), r), {});
680
+ function Sn(e, n) {
681
+ return (a) => e.reduce((r, t) => (r[t] = Tn(n, a), r), {});
682
682
  }
683
683
  function Mn(e, n, a, r) {
684
684
  if (n.indexOf(a) === -1)
685
685
  return null;
686
- const t = gn(a), i = Tn(t, r), s = e[a];
686
+ const t = gn(a), i = Sn(t, r), s = e[a];
687
687
  return Be(e, s, i);
688
688
  }
689
689
  function Re(e, n) {
@@ -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 En(e = 8) {
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 bn = 8, tr = {
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(bn), ir = F(1.5), sr = F(2.25), dr = F(3), or = F(6), Ln = {
721
+ }, F = bn(En), ir = F(1.5), sr = F(2.25), dr = F(3), or = F(6), cr = 6e3, Cn = {
722
722
  regular: 400,
723
723
  medium: 500,
724
724
  strong: 600
725
725
  };
726
- function Cn({ italic: e, weight: n, style: a, children: r, ...t }, i) {
726
+ function Ln({ italic: e, weight: n, style: a, children: r, ...t }, i) {
727
727
  const s = {
728
- fontWeight: Ln[n],
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(Cn), Pn = {
744
+ const ur = 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,13 @@ const cr = Je(Cn), Pn = {
867
878
  }
868
879
  }
869
880
  }
870
- }, An = {
881
+ }, Pn = {
871
882
  c4r: {
883
+ button: {
884
+ cancel: "Cancelar",
885
+ leave: "Salir",
886
+ close: "Cerrar"
887
+ },
872
888
  form: {
873
889
  selectAll: "Seleccionar todos",
874
890
  selectNone: "Ninguno",
@@ -894,6 +910,12 @@ const cr = Je(Cn), Pn = {
894
910
  endDateCalendar: "Calendario de fecha de fin",
895
911
  time: "Hora"
896
912
  },
913
+ dialog: {
914
+ confirmation: {
915
+ title: "¿Estás seguro de que quieres salir?",
916
+ content: "Los cambios que has hecho no se guardarán."
917
+ }
918
+ },
897
919
  widgets: {
898
920
  category: {
899
921
  apply: "Aplicar",
@@ -993,6 +1015,11 @@ const cr = Je(Cn), Pn = {
993
1015
  }
994
1016
  }, On = {
995
1017
  c4r: {
1018
+ button: {
1019
+ cancel: "Batal",
1020
+ leave: "Keluar",
1021
+ close: "Tutup"
1022
+ },
996
1023
  form: {
997
1024
  selectAll: "Select all",
998
1025
  selectNone: "None",
@@ -1018,6 +1045,12 @@ const cr = Je(Cn), Pn = {
1018
1045
  endDateCalendar: "End date calendar",
1019
1046
  time: "Time"
1020
1047
  },
1048
+ dialog: {
1049
+ confirmation: {
1050
+ title: "Are you sure you want to leave?",
1051
+ content: "The changes you made will not be saved."
1052
+ }
1053
+ },
1021
1054
  widgets: {
1022
1055
  category: {
1023
1056
  apply: "Terapkan",
@@ -1117,7 +1150,7 @@ const cr = Je(Cn), Pn = {
1117
1150
  }
1118
1151
  }
1119
1152
  }
1120
- }, Te = { en: Pn, es: An, id: On };
1153
+ }, Se = { en: An, es: Pn, id: On };
1121
1154
  function In(e) {
1122
1155
  return Intl.getCanonicalLocales(e);
1123
1156
  }
@@ -5113,8 +5146,8 @@ function H(e, n, a) {
5113
5146
  if (s && s[0] === "$") {
5114
5147
  var c = s[1] !== "!", _ = c ? a[s.slice(1)] : a[s.slice(2)], y = _.map(function(f) {
5115
5148
  return Bn[f] || [f];
5116
- }).reduce(function(f, T) {
5117
- return j(j([], f, !0), T, !0);
5149
+ }).reduce(function(f, S) {
5150
+ return j(j([], f, !0), S, !0);
5118
5151
  }, []);
5119
5152
  d && (d = y.indexOf(e.region || "") > 1 == c);
5120
5153
  } else
@@ -5219,25 +5252,25 @@ function Un(e, n) {
5219
5252
  function Kn(e, n, a, r, t, i) {
5220
5253
  var s = a.localeMatcher, d;
5221
5254
  s === "lookup" ? d = qn(Array.from(e), n, i) : d = Dn(Array.from(e), n, i);
5222
- for (var c = d.locale, _ = { locale: "", dataLocale: c }, y = "-u", f = 0, T = r; f < T.length; f++) {
5223
- var b = T[f];
5255
+ for (var c = d.locale, _ = { locale: "", dataLocale: c }, y = "-u", f = 0, S = r; f < S.length; f++) {
5256
+ var E = S[f];
5224
5257
  D(c in t, "Missing locale data for ".concat(c));
5225
5258
  var O = t[c];
5226
- D(typeof O == "object" && O !== null, "locale data ".concat(b, " must be an object"));
5227
- var E = O[b];
5228
- D(Array.isArray(E), "keyLocaleData for ".concat(b, " must be an array"));
5229
- var L = E[0];
5230
- D(typeof L == "string" || L === null, "value must be string or null but got ".concat(typeof L, " in key ").concat(b));
5231
- var P = "";
5259
+ D(typeof O == "object" && O !== null, "locale data ".concat(E, " must be an object"));
5260
+ var b = O[E];
5261
+ D(Array.isArray(b), "keyLocaleData for ".concat(E, " must be an array"));
5262
+ var C = b[0];
5263
+ D(typeof C == "string" || C === null, "value must be string or null but got ".concat(typeof C, " in key ").concat(E));
5264
+ var A = "";
5232
5265
  if (d.extension) {
5233
- var R = Un(d.extension, b);
5234
- R !== void 0 && (R !== "" ? ~E.indexOf(R) && (L = R, P = "-".concat(b, "-").concat(L)) : ~R.indexOf("true") && (L = "true", P = "-".concat(b)));
5266
+ var R = Un(d.extension, E);
5267
+ R !== void 0 && (R !== "" ? ~b.indexOf(R) && (C = R, A = "-".concat(E, "-").concat(C)) : ~R.indexOf("true") && (C = "true", A = "-".concat(E)));
5235
5268
  }
5236
- if (b in a) {
5237
- var B = a[b];
5238
- D(typeof B == "string" || typeof B > "u" || B === null, "optionsValue must be String, Undefined or Null"), ~E.indexOf(B) && B !== L && (L = B, P = "");
5269
+ if (E in a) {
5270
+ var B = a[E];
5271
+ 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
5272
  }
5240
- _[b] = L, y += P;
5273
+ _[E] = C, y += A;
5241
5274
  }
5242
5275
  if (y.length > 2) {
5243
5276
  var x = c.indexOf("-x-");
@@ -5276,9 +5309,9 @@ function jn(e, n) {
5276
5309
  );
5277
5310
  return r || de;
5278
5311
  }
5279
- const zn = en(), Ee = /* @__PURE__ */ new WeakMap(), Wn = (e) => {
5280
- const n = (e == null ? void 0 : e.locale) || de, a = jn(n, Te), r = {
5281
- ...Te[a] || {},
5312
+ const zn = en(), be = /* @__PURE__ */ new WeakMap(), Wn = (e) => {
5313
+ const n = (e == null ? void 0 : e.locale) || de, a = jn(n, Se), r = {
5314
+ ...Se[a] || {},
5282
5315
  ...(e == null ? void 0 : e.messages) ?? {}
5283
5316
  }, t = xe(r);
5284
5317
  return nn(
@@ -5289,25 +5322,25 @@ const zn = en(), Ee = /* @__PURE__ */ new WeakMap(), Wn = (e) => {
5289
5322
  zn
5290
5323
  );
5291
5324
  }, Zn = (e) => {
5292
- const n = Ee.get(e);
5325
+ const n = be.get(e);
5293
5326
  if (n)
5294
5327
  return n;
5295
5328
  const a = Wn(e);
5296
- return Ee.set(e, a), a;
5329
+ return be.set(e, a), a;
5297
5330
  };
5298
5331
  function Fn(e) {
5299
5332
  return Zn(e);
5300
5333
  }
5301
- const Vn = Ce($e)(({ theme: e }) => ({
5334
+ const Vn = Le($e)(({ theme: e }) => ({
5302
5335
  display: "flex",
5303
5336
  gap: e.spacing(0.5),
5304
5337
  marginLeft: e.spacing(1)
5305
- })), be = Ce("div")(({ theme: e }) => ({
5338
+ })), Ee = Le("div")(({ theme: e }) => ({
5306
5339
  "& .MuiIconButton-root:not(.Mui-disabled)": {
5307
5340
  color: e.palette.text.secondary
5308
5341
  }
5309
5342
  }));
5310
- function ur({
5343
+ function _r({
5311
5344
  count: e,
5312
5345
  page: n,
5313
5346
  rowsPerPage: a = 10,
@@ -5320,13 +5353,13 @@ function ur({
5320
5353
  r(O, n + 1);
5321
5354
  }, _ = n === Math.ceil(e / a) - 1, y = n === 0, f = s.formatMessage({
5322
5355
  id: "c4r.form.pagination.prevPage"
5323
- }), T = s.formatMessage({
5356
+ }), S = s.formatMessage({
5324
5357
  id: "c4r.form.pagination.nextPage"
5325
- }), b = s.formatMessage({
5358
+ }), E = s.formatMessage({
5326
5359
  id: "c4r.form.pagination.noMorePages"
5327
5360
  });
5328
5361
  return /* @__PURE__ */ Ve(Vn, { children: [
5329
- /* @__PURE__ */ I(_e, { title: y ? b : f, children: /* @__PURE__ */ I(be, { children: /* @__PURE__ */ I(
5362
+ /* @__PURE__ */ I(_e, { title: y ? E : f, children: /* @__PURE__ */ I(Ee, { children: /* @__PURE__ */ I(
5330
5363
  le,
5331
5364
  {
5332
5365
  onClick: d,
@@ -5338,13 +5371,13 @@ function ur({
5338
5371
  /* @__PURE__ */ I(
5339
5372
  _e,
5340
5373
  {
5341
- title: _ ? t ?? b : T,
5342
- children: /* @__PURE__ */ I(be, { children: /* @__PURE__ */ I(
5374
+ title: _ ? t ?? E : S,
5375
+ children: /* @__PURE__ */ I(Ee, { children: /* @__PURE__ */ I(
5343
5376
  le,
5344
5377
  {
5345
5378
  onClick: c,
5346
5379
  disabled: n >= Math.ceil(e / a) - 1,
5347
- "aria-label": T.toLocaleLowerCase(),
5380
+ "aria-label": S.toLocaleLowerCase(),
5348
5381
  children: /* @__PURE__ */ I(Xe, {})
5349
5382
  }
5350
5383
  ) })
@@ -5356,15 +5389,16 @@ export {
5356
5389
  or as A,
5357
5390
  tr as B,
5358
5391
  dr as I,
5392
+ cr as N,
5359
5393
  U as P,
5360
- bn as S,
5361
- cr as T,
5394
+ En as S,
5395
+ ur as T,
5362
5396
  ie as _,
5363
- ur as a,
5397
+ _r as a,
5364
5398
  sr as b,
5365
5399
  ir as c,
5366
5400
  vn as d,
5367
- Sn as e,
5401
+ Tn as e,
5368
5402
  Ge as f,
5369
5403
  F as g,
5370
5404
  Be as h,
@@ -5374,7 +5408,7 @@ export {
5374
5408
  ve as l,
5375
5409
  yn as m,
5376
5410
  fn as n,
5377
- En as o,
5411
+ bn as o,
5378
5412
  Ne as p,
5379
5413
  Oe as q,
5380
5414
  z as r,