@movable/ui 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.mjs CHANGED
@@ -63,8 +63,8 @@ function Qt() {
63
63
  {
64
64
  var T = N.ReactDebugCurrentFrame, F = T.getStackAddendum();
65
65
  F !== "" && (u += "%s", y = y.concat([F]));
66
- var z = y.map(function(D) {
67
- return String(D);
66
+ var z = y.map(function(M) {
67
+ return String(M);
68
68
  });
69
69
  z.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, z);
70
70
  }
@@ -123,9 +123,9 @@ function Qt() {
123
123
  var T = t.displayName || null;
124
124
  return T !== null ? T : ge(t.type) || "Memo";
125
125
  case l: {
126
- var F = t, z = F._payload, D = F._init;
126
+ var F = t, z = F._payload, M = F._init;
127
127
  try {
128
- return ge(D(z));
128
+ return ge(M(z));
129
129
  } catch {
130
130
  return null;
131
131
  }
@@ -160,7 +160,7 @@ function Qt() {
160
160
  Te++;
161
161
  }
162
162
  }
163
- function M() {
163
+ function I() {
164
164
  {
165
165
  if (Te--, Te === 0) {
166
166
  var t = {
@@ -230,27 +230,27 @@ function Qt() {
230
230
  z = _.current, _.current = null, O();
231
231
  try {
232
232
  if (u) {
233
- var D = function() {
233
+ var M = function() {
234
234
  throw Error();
235
235
  };
236
- if (Object.defineProperty(D.prototype, "props", {
236
+ if (Object.defineProperty(M.prototype, "props", {
237
237
  set: function() {
238
238
  throw Error();
239
239
  }
240
240
  }), typeof Reflect == "object" && Reflect.construct) {
241
241
  try {
242
- Reflect.construct(D, []);
242
+ Reflect.construct(M, []);
243
243
  } catch (Oe) {
244
244
  T = Oe;
245
245
  }
246
- Reflect.construct(t, [], D);
246
+ Reflect.construct(t, [], M);
247
247
  } else {
248
248
  try {
249
- D.call();
249
+ M.call();
250
250
  } catch (Oe) {
251
251
  T = Oe;
252
252
  }
253
- t.call(D.prototype);
253
+ t.call(M.prototype);
254
254
  }
255
255
  } else {
256
256
  try {
@@ -262,17 +262,17 @@ function Qt() {
262
262
  }
263
263
  } catch (Oe) {
264
264
  if (Oe && T && typeof Oe.stack == "string") {
265
- for (var j = Oe.stack.split(`
265
+ for (var k = Oe.stack.split(`
266
266
  `), le = T.stack.split(`
267
- `), ee = j.length - 1, te = le.length - 1; ee >= 1 && te >= 0 && j[ee] !== le[te]; )
267
+ `), ee = k.length - 1, te = le.length - 1; ee >= 1 && te >= 0 && k[ee] !== le[te]; )
268
268
  te--;
269
269
  for (; ee >= 1 && te >= 0; ee--, te--)
270
- if (j[ee] !== le[te]) {
270
+ if (k[ee] !== le[te]) {
271
271
  if (ee !== 1 || te !== 1)
272
272
  do
273
- if (ee--, te--, te < 0 || j[ee] !== le[te]) {
273
+ if (ee--, te--, te < 0 || k[ee] !== le[te]) {
274
274
  var be = `
275
- ` + j[ee].replace(" at new ", " at ");
275
+ ` + k[ee].replace(" at new ", " at ");
276
276
  return t.displayName && be.includes("<anonymous>") && (be = be.replace("<anonymous>", t.displayName)), typeof t == "function" && $.set(t, be), be;
277
277
  }
278
278
  while (ee >= 1 && te >= 0);
@@ -280,7 +280,7 @@ function Qt() {
280
280
  }
281
281
  }
282
282
  } finally {
283
- B = !1, _.current = z, M(), Error.prepareStackTrace = F;
283
+ B = !1, _.current = z, I(), Error.prepareStackTrace = F;
284
284
  }
285
285
  var Be = t ? t.displayName || t.name : "", Vr = Be ? S(Be) : "";
286
286
  return typeof t == "function" && $.set(t, Vr), Vr;
@@ -332,19 +332,19 @@ function Qt() {
332
332
  function _t(t, u, y, T, F) {
333
333
  {
334
334
  var z = Function.call.bind(rr);
335
- for (var D in t)
336
- if (z(t, D)) {
337
- var j = void 0;
335
+ for (var M in t)
336
+ if (z(t, M)) {
337
+ var k = void 0;
338
338
  try {
339
- if (typeof t[D] != "function") {
340
- var le = Error((T || "React class") + ": " + y + " type `" + D + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[D] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
339
+ if (typeof t[M] != "function") {
340
+ var le = Error((T || "React class") + ": " + y + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
341
  throw le.name = "Invariant Violation", le;
342
342
  }
343
- j = t[D](u, D, T, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
+ k = t[M](u, M, T, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
344
  } catch (ee) {
345
- j = ee;
345
+ k = ee;
346
346
  }
347
- j && !(j instanceof Error) && (tr(F), G("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", T || "React class", y, D, typeof j), tr(null)), j instanceof Error && !(j.message in Ir) && (Ir[j.message] = !0, tr(F), G("Failed %s type: %s", y, j.message), tr(null));
347
+ k && !(k instanceof Error) && (tr(F), G("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", T || "React class", y, M, typeof k), tr(null)), k instanceof Error && !(k.message in Ir) && (Ir[k.message] = !0, tr(F), G("Failed %s type: %s", y, k.message), tr(null));
348
348
  }
349
349
  }
350
350
  }
@@ -423,51 +423,51 @@ function Qt() {
423
423
  });
424
424
  }
425
425
  }
426
- var Mt = function(t, u, y, T, F, z, D) {
427
- var j = {
426
+ var Mt = function(t, u, y, T, F, z, M) {
427
+ var k = {
428
428
  // This tag allows us to uniquely identify this as a React Element
429
429
  $$typeof: r,
430
430
  // Built-in properties that belong on the element
431
431
  type: t,
432
432
  key: u,
433
433
  ref: y,
434
- props: D,
434
+ props: M,
435
435
  // Record the component responsible for creating this element.
436
436
  _owner: z
437
437
  };
438
- return j._store = {}, Object.defineProperty(j._store, "validated", {
438
+ return k._store = {}, Object.defineProperty(k._store, "validated", {
439
439
  configurable: !1,
440
440
  enumerable: !1,
441
441
  writable: !0,
442
442
  value: !1
443
- }), Object.defineProperty(j, "_self", {
443
+ }), Object.defineProperty(k, "_self", {
444
444
  configurable: !1,
445
445
  enumerable: !1,
446
446
  writable: !1,
447
447
  value: T
448
- }), Object.defineProperty(j, "_source", {
448
+ }), Object.defineProperty(k, "_source", {
449
449
  configurable: !1,
450
450
  enumerable: !1,
451
451
  writable: !1,
452
452
  value: F
453
- }), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
453
+ }), Object.freeze && (Object.freeze(k.props), Object.freeze(k)), k;
454
454
  };
455
455
  function Dt(t, u, y, T, F) {
456
456
  {
457
- var z, D = {}, j = null, le = null;
458
- y !== void 0 && (Br(y), j = "" + y), $t(u) && (Br(u.key), j = "" + u.key), St(u) && (le = u.ref, kt(u, F));
457
+ var z, M = {}, k = null, le = null;
458
+ y !== void 0 && (Br(y), k = "" + y), $t(u) && (Br(u.key), k = "" + u.key), St(u) && (le = u.ref, kt(u, F));
459
459
  for (z in u)
460
- rr.call(u, z) && !Pt.hasOwnProperty(z) && (D[z] = u[z]);
460
+ rr.call(u, z) && !Pt.hasOwnProperty(z) && (M[z] = u[z]);
461
461
  if (t && t.defaultProps) {
462
462
  var ee = t.defaultProps;
463
463
  for (z in ee)
464
- D[z] === void 0 && (D[z] = ee[z]);
464
+ M[z] === void 0 && (M[z] = ee[z]);
465
465
  }
466
- if (j || le) {
466
+ if (k || le) {
467
467
  var te = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
468
- j && jt(D, te), le && It(D, te);
468
+ k && jt(M, te), le && It(M, te);
469
469
  }
470
- return Mt(t, j, le, F, T, Ve.current, D);
470
+ return Mt(t, k, le, F, T, Ve.current, M);
471
471
  }
472
472
  }
473
473
  var hr = N.ReactCurrentOwner, Wr = N.ReactDebugCurrentFrame;
@@ -546,8 +546,8 @@ Check the top-level render call using <` + y + ">.");
546
546
  else if (t) {
547
547
  var F = w(t);
548
548
  if (typeof F == "function" && F !== t.entries)
549
- for (var z = F.call(t), D; !(D = z.next()).done; )
550
- vr(D.value) && Yr(D.value, u);
549
+ for (var z = F.call(t), M; !(M = z.next()).done; )
550
+ vr(M.value) && Yr(M.value, u);
551
551
  }
552
552
  }
553
553
  }
@@ -590,19 +590,19 @@ Check the top-level render call using <` + y + ">.");
590
590
  }
591
591
  function Gr(t, u, y, T, F, z) {
592
592
  {
593
- var D = Ge(t);
594
- if (!D) {
595
- var j = "";
596
- (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
593
+ var M = Ge(t);
594
+ if (!M) {
595
+ var k = "";
596
+ (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (k += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
597
597
  var le = Bt(F);
598
- le ? j += le : j += Ur();
598
+ le ? k += le : k += Ur();
599
599
  var ee;
600
- t === null ? ee = "null" : yr(t) ? ee = "array" : t !== void 0 && t.$$typeof === r ? (ee = "<" + (ge(t.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof t, G("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, j);
600
+ t === null ? ee = "null" : yr(t) ? ee = "array" : t !== void 0 && t.$$typeof === r ? (ee = "<" + (ge(t.type) || "Unknown") + " />", k = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof t, G("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, k);
601
601
  }
602
602
  var te = Dt(t, u, y, F, z);
603
603
  if (te == null)
604
604
  return te;
605
- if (D) {
605
+ if (M) {
606
606
  var be = u.children;
607
607
  if (be !== void 0)
608
608
  if (T)
@@ -849,7 +849,7 @@ function nn() {
849
849
  function O(h) {
850
850
  return X(h) === p;
851
851
  }
852
- function M(h) {
852
+ function I(h) {
853
853
  return X(h) === n;
854
854
  }
855
855
  function _(h) {
@@ -870,7 +870,7 @@ function nn() {
870
870
  function se(h) {
871
871
  return X(h) === m;
872
872
  }
873
- U.AsyncMode = v, U.ConcurrentMode = Ae, U.ContextConsumer = Ye, U.ContextProvider = ze, U.Element = $e, U.ForwardRef = Ge, U.Fragment = ke, U.Lazy = je, U.Memo = ge, U.Portal = fe, U.Profiler = Te, U.StrictMode = ye, U.Suspense = ve, U.isAsyncMode = Ie, U.isConcurrentMode = c, U.isContextConsumer = x, U.isContextProvider = P, U.isElement = R, U.isForwardRef = O, U.isFragment = M, U.isLazy = _, U.isMemo = C, U.isPortal = S, U.isProfiler = B, U.isStrictMode = $, U.isSuspense = se, U.isValidElementType = H, U.typeOf = X;
873
+ U.AsyncMode = v, U.ConcurrentMode = Ae, U.ContextConsumer = Ye, U.ContextProvider = ze, U.Element = $e, U.ForwardRef = Ge, U.Fragment = ke, U.Lazy = je, U.Memo = ge, U.Portal = fe, U.Profiler = Te, U.StrictMode = ye, U.Suspense = ve, U.isAsyncMode = Ie, U.isConcurrentMode = c, U.isContextConsumer = x, U.isContextProvider = P, U.isElement = R, U.isForwardRef = O, U.isFragment = I, U.isLazy = _, U.isMemo = C, U.isPortal = S, U.isProfiler = B, U.isStrictMode = $, U.isSuspense = se, U.isValidElementType = H, U.typeOf = X;
874
874
  }()), U;
875
875
  }
876
876
  var Xr;
@@ -1047,7 +1047,7 @@ function sn() {
1047
1047
  function w(c) {
1048
1048
  if (process.env.NODE_ENV !== "production")
1049
1049
  var x = {}, P = 0;
1050
- function R(M, _, C, S, B, $, se) {
1050
+ function R(I, _, C, S, B, $, se) {
1051
1051
  if (S = S || l, $ = $ || C, se !== o) {
1052
1052
  if (f) {
1053
1053
  var h = new Error(
@@ -1062,18 +1062,18 @@ function sn() {
1062
1062
  ), x[he] = !0, P++);
1063
1063
  }
1064
1064
  }
1065
- return _[C] == null ? M ? _[C] === null ? new b("The " + B + " `" + $ + "` is marked as required " + ("in `" + S + "`, but its value is `null`.")) : new b("The " + B + " `" + $ + "` is marked as required in " + ("`" + S + "`, but its value is `undefined`.")) : null : c(_, C, S, B, $);
1065
+ return _[C] == null ? I ? _[C] === null ? new b("The " + B + " `" + $ + "` is marked as required " + ("in `" + S + "`, but its value is `null`.")) : new b("The " + B + " `" + $ + "` is marked as required in " + ("`" + S + "`, but its value is `undefined`.")) : null : c(_, C, S, B, $);
1066
1066
  }
1067
1067
  var O = R.bind(null, !1);
1068
1068
  return O.isRequired = R.bind(null, !0), O;
1069
1069
  }
1070
1070
  function N(c) {
1071
- function x(P, R, O, M, _, C) {
1071
+ function x(P, R, O, I, _, C) {
1072
1072
  var S = P[R], B = ye(S);
1073
1073
  if (B !== c) {
1074
1074
  var $ = ve(S);
1075
1075
  return new b(
1076
- "Invalid " + M + " `" + _ + "` of type " + ("`" + $ + "` supplied to `" + O + "`, expected ") + ("`" + c + "`."),
1076
+ "Invalid " + I + " `" + _ + "` of type " + ("`" + $ + "` supplied to `" + O + "`, expected ") + ("`" + c + "`."),
1077
1077
  { expectedType: c }
1078
1078
  );
1079
1079
  }
@@ -1085,16 +1085,16 @@ function sn() {
1085
1085
  return w(s);
1086
1086
  }
1087
1087
  function H(c) {
1088
- function x(P, R, O, M, _) {
1088
+ function x(P, R, O, I, _) {
1089
1089
  if (typeof c != "function")
1090
1090
  return new b("Property `" + _ + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
1091
1091
  var C = P[R];
1092
1092
  if (!Array.isArray(C)) {
1093
1093
  var S = ye(C);
1094
- return new b("Invalid " + M + " `" + _ + "` of type " + ("`" + S + "` supplied to `" + O + "`, expected an array."));
1094
+ return new b("Invalid " + I + " `" + _ + "` of type " + ("`" + S + "` supplied to `" + O + "`, expected an array."));
1095
1095
  }
1096
1096
  for (var B = 0; B < C.length; B++) {
1097
- var $ = c(C, B, O, M, _ + "[" + B + "]", o);
1097
+ var $ = c(C, B, O, I, _ + "[" + B + "]", o);
1098
1098
  if ($ instanceof Error)
1099
1099
  return $;
1100
1100
  }
@@ -1103,32 +1103,32 @@ function sn() {
1103
1103
  return w(x);
1104
1104
  }
1105
1105
  function X() {
1106
- function c(x, P, R, O, M) {
1106
+ function c(x, P, R, O, I) {
1107
1107
  var _ = x[P];
1108
1108
  if (!d(_)) {
1109
1109
  var C = ye(_);
1110
- return new b("Invalid " + O + " `" + M + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected a single ReactElement."));
1110
+ return new b("Invalid " + O + " `" + I + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected a single ReactElement."));
1111
1111
  }
1112
1112
  return null;
1113
1113
  }
1114
1114
  return w(c);
1115
1115
  }
1116
1116
  function v() {
1117
- function c(x, P, R, O, M) {
1117
+ function c(x, P, R, O, I) {
1118
1118
  var _ = x[P];
1119
1119
  if (!e.isValidElementType(_)) {
1120
1120
  var C = ye(_);
1121
- return new b("Invalid " + O + " `" + M + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected a single ReactElement type."));
1121
+ return new b("Invalid " + O + " `" + I + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected a single ReactElement type."));
1122
1122
  }
1123
1123
  return null;
1124
1124
  }
1125
1125
  return w(c);
1126
1126
  }
1127
1127
  function Ae(c) {
1128
- function x(P, R, O, M, _) {
1128
+ function x(P, R, O, I, _) {
1129
1129
  if (!(P[R] instanceof c)) {
1130
1130
  var C = c.name || l, S = Ie(P[R]);
1131
- return new b("Invalid " + M + " `" + _ + "` of type " + ("`" + S + "` supplied to `" + O + "`, expected ") + ("instance of `" + C + "`."));
1131
+ return new b("Invalid " + I + " `" + _ + "` of type " + ("`" + S + "` supplied to `" + O + "`, expected ") + ("instance of `" + C + "`."));
1132
1132
  }
1133
1133
  return null;
1134
1134
  }
@@ -1139,7 +1139,7 @@ function sn() {
1139
1139
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1140
1140
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1141
1141
  ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
1142
- function x(P, R, O, M, _) {
1142
+ function x(P, R, O, I, _) {
1143
1143
  for (var C = P[R], S = 0; S < c.length; S++)
1144
1144
  if (A(C, c[S]))
1145
1145
  return null;
@@ -1147,20 +1147,20 @@ function sn() {
1147
1147
  var he = ve(h);
1148
1148
  return he === "symbol" ? String(h) : h;
1149
1149
  });
1150
- return new b("Invalid " + M + " `" + _ + "` of value `" + String(C) + "` " + ("supplied to `" + O + "`, expected one of " + B + "."));
1150
+ return new b("Invalid " + I + " `" + _ + "` of value `" + String(C) + "` " + ("supplied to `" + O + "`, expected one of " + B + "."));
1151
1151
  }
1152
1152
  return w(x);
1153
1153
  }
1154
1154
  function ze(c) {
1155
- function x(P, R, O, M, _) {
1155
+ function x(P, R, O, I, _) {
1156
1156
  if (typeof c != "function")
1157
1157
  return new b("Property `" + _ + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
1158
1158
  var C = P[R], S = ye(C);
1159
1159
  if (S !== "object")
1160
- return new b("Invalid " + M + " `" + _ + "` of type " + ("`" + S + "` supplied to `" + O + "`, expected an object."));
1160
+ return new b("Invalid " + I + " `" + _ + "` of type " + ("`" + S + "` supplied to `" + O + "`, expected an object."));
1161
1161
  for (var B in C)
1162
1162
  if (n(C, B)) {
1163
- var $ = c(C, B, O, M, _ + "." + B, o);
1163
+ var $ = c(C, B, O, I, _ + "." + B, o);
1164
1164
  if ($ instanceof Error)
1165
1165
  return $;
1166
1166
  }
@@ -1178,9 +1178,9 @@ function sn() {
1178
1178
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + we(P) + " at index " + x + "."
1179
1179
  ), s;
1180
1180
  }
1181
- function R(O, M, _, C, S) {
1181
+ function R(O, I, _, C, S) {
1182
1182
  for (var B = [], $ = 0; $ < c.length; $++) {
1183
- var se = c[$], h = se(O, M, _, C, S, o);
1183
+ var se = c[$], h = se(O, I, _, C, S, o);
1184
1184
  if (h == null)
1185
1185
  return null;
1186
1186
  h.data && n(h.data, "expectedType") && B.push(h.data.expectedType);
@@ -1191,8 +1191,8 @@ function sn() {
1191
1191
  return w(R);
1192
1192
  }
1193
1193
  function Ge() {
1194
- function c(x, P, R, O, M) {
1195
- return fe(x[P]) ? null : new b("Invalid " + O + " `" + M + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
1194
+ function c(x, P, R, O, I) {
1195
+ return fe(x[P]) ? null : new b("Invalid " + O + " `" + I + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
1196
1196
  }
1197
1197
  return w(c);
1198
1198
  }
@@ -1202,15 +1202,15 @@ function sn() {
1202
1202
  );
1203
1203
  }
1204
1204
  function je(c) {
1205
- function x(P, R, O, M, _) {
1205
+ function x(P, R, O, I, _) {
1206
1206
  var C = P[R], S = ye(C);
1207
1207
  if (S !== "object")
1208
- return new b("Invalid " + M + " `" + _ + "` of type `" + S + "` " + ("supplied to `" + O + "`, expected `object`."));
1208
+ return new b("Invalid " + I + " `" + _ + "` of type `" + S + "` " + ("supplied to `" + O + "`, expected `object`."));
1209
1209
  for (var B in c) {
1210
1210
  var $ = c[B];
1211
1211
  if (typeof $ != "function")
1212
- return ke(O, M, _, B, ve($));
1213
- var se = $(C, B, O, M, _ + "." + B, o);
1212
+ return ke(O, I, _, B, ve($));
1213
+ var se = $(C, B, O, I, _ + "." + B, o);
1214
1214
  if (se)
1215
1215
  return se;
1216
1216
  }
@@ -1219,21 +1219,21 @@ function sn() {
1219
1219
  return w(x);
1220
1220
  }
1221
1221
  function ge(c) {
1222
- function x(P, R, O, M, _) {
1222
+ function x(P, R, O, I, _) {
1223
1223
  var C = P[R], S = ye(C);
1224
1224
  if (S !== "object")
1225
- return new b("Invalid " + M + " `" + _ + "` of type `" + S + "` " + ("supplied to `" + O + "`, expected `object`."));
1225
+ return new b("Invalid " + I + " `" + _ + "` of type `" + S + "` " + ("supplied to `" + O + "`, expected `object`."));
1226
1226
  var B = r({}, P[R], c);
1227
1227
  for (var $ in B) {
1228
1228
  var se = c[$];
1229
1229
  if (n(c, $) && typeof se != "function")
1230
- return ke(O, M, _, $, ve(se));
1230
+ return ke(O, I, _, $, ve(se));
1231
1231
  if (!se)
1232
1232
  return new b(
1233
- "Invalid " + M + " `" + _ + "` key `" + $ + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(P[R], null, " ") + `
1233
+ "Invalid " + I + " `" + _ + "` key `" + $ + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(P[R], null, " ") + `
1234
1234
  Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
1235
1235
  );
1236
- var h = se(C, $, O, M, _ + "." + $, o);
1236
+ var h = se(C, $, O, I, _ + "." + $, o);
1237
1237
  if (h)
1238
1238
  return h;
1239
1239
  }
@@ -2912,7 +2912,7 @@ const Zo = {
2912
2912
  A200: "#ffff00",
2913
2913
  A400: "#ffea00",
2914
2914
  A700: "#ffd600"
2915
- }, ue = ra, I = {
2915
+ }, ue = ra, j = {
2916
2916
  blue600: "#1389F6",
2917
2917
  blue700: "#287DFD",
2918
2918
  blue800: "#285AE6",
@@ -2934,7 +2934,7 @@ const Zo = {
2934
2934
  cyan1000: "#002329",
2935
2935
  deepPurpleA800: "#500fc4",
2936
2936
  deepPurple1000: "#16073E"
2937
- }, k = {
2937
+ }, D = {
2938
2938
  text: {
2939
2939
  primary: ne[900],
2940
2940
  secondary: ne[700],
@@ -2947,15 +2947,15 @@ const Zo = {
2947
2947
  blue300: re[300],
2948
2948
  blue400: re[400],
2949
2949
  blue500: re[500],
2950
- blue600: I.blue600,
2951
- blue700: I.blue700,
2952
- blue800: I.blue800,
2953
- blue900: I.blue900,
2950
+ blue600: j.blue600,
2951
+ blue700: j.blue700,
2952
+ blue800: j.blue800,
2953
+ blue900: j.blue900,
2954
2954
  blueA100: re.A100,
2955
2955
  blueA200: re.A200,
2956
2956
  blueA400: re.A400,
2957
2957
  blueA700: re.A700,
2958
- blue1000: I.blue1000,
2958
+ blue1000: j.blue1000,
2959
2959
  green50: oe[50],
2960
2960
  green100: oe[100],
2961
2961
  green200: oe[200],
@@ -2966,12 +2966,12 @@ const Zo = {
2966
2966
  green700: oe[700],
2967
2967
  green800: oe[800],
2968
2968
  green900: oe[900],
2969
- green1000: I.green1000,
2969
+ green1000: j.green1000,
2970
2970
  greenA100: oe.A100,
2971
2971
  greenA200: oe.A200,
2972
2972
  greenA400: oe.A400,
2973
- greenA700: I.greenA700,
2974
- greenA900: I.greenA900,
2973
+ greenA700: j.greenA700,
2974
+ greenA900: j.greenA900,
2975
2975
  lightBlue50: J[50],
2976
2976
  lightBlue100: J[100],
2977
2977
  lightBlue200: J[200],
@@ -2982,7 +2982,7 @@ const Zo = {
2982
2982
  lightBlue700: J[700],
2983
2983
  lightBlue800: J[800],
2984
2984
  lightBlue900: J[900],
2985
- lightBlue1000: I.lightBlue1000,
2985
+ lightBlue1000: j.lightBlue1000,
2986
2986
  lightBlueA100: J.A100,
2987
2987
  lightBlueA200: J.A200,
2988
2988
  lightBlueA400: J.A400,
@@ -2997,7 +2997,7 @@ const Zo = {
2997
2997
  lightGreen700: xe[700],
2998
2998
  lightGreen800: xe[800],
2999
2999
  lightGreen900: xe[900],
3000
- neutral00: I.neutral00,
3000
+ neutral00: j.neutral00,
3001
3001
  neutral50: ne[50],
3002
3002
  neutral100: ne[100],
3003
3003
  neutral200: ne[200],
@@ -3008,10 +3008,10 @@ const Zo = {
3008
3008
  neutral700: ne[700],
3009
3009
  neutral800: ne[800],
3010
3010
  neutral900: ne[900],
3011
- neutralA100: I.neutralA100,
3012
- neutralA200: I.neutralA200,
3013
- neutralA400: I.neutralA400,
3014
- neutralA700: I.neutralA700,
3011
+ neutralA100: j.neutralA100,
3012
+ neutralA200: j.neutralA200,
3013
+ neutralA400: j.neutralA400,
3014
+ neutralA700: j.neutralA700,
3015
3015
  orange50: ae[50],
3016
3016
  orange100: ae[100],
3017
3017
  orange200: ae[200],
@@ -3022,7 +3022,7 @@ const Zo = {
3022
3022
  orange700: ae[700],
3023
3023
  orange800: ae[800],
3024
3024
  orange900: ae[900],
3025
- orange1000: I.orange1000,
3025
+ orange1000: j.orange1000,
3026
3026
  orangeA100: ae.A100,
3027
3027
  orangeA200: ae.A200,
3028
3028
  orangeA400: ae.A400,
@@ -3037,7 +3037,7 @@ const Zo = {
3037
3037
  purple700: Y[700],
3038
3038
  purple800: Y[800],
3039
3039
  purple900: Y[900],
3040
- purple1000: I.purple1000,
3040
+ purple1000: j.purple1000,
3041
3041
  purpleA100: Y.A100,
3042
3042
  purpleA200: Y.A200,
3043
3043
  purpleA400: Y.A400,
@@ -3052,7 +3052,7 @@ const Zo = {
3052
3052
  yellow700: ue[700],
3053
3053
  yellow800: ue[800],
3054
3054
  yellow900: ue[900],
3055
- yellow1000: I.yellow1000,
3055
+ yellow1000: j.yellow1000,
3056
3056
  yellowA100: ue.A100,
3057
3057
  yellowA200: ue.A200,
3058
3058
  yellowA400: ue.A400,
@@ -3067,7 +3067,7 @@ const Zo = {
3067
3067
  red700: q[700],
3068
3068
  red800: q[800],
3069
3069
  red900: q[900],
3070
- red1000: I.red1000,
3070
+ red1000: j.red1000,
3071
3071
  redA100: q.A100,
3072
3072
  redA200: q.A200,
3073
3073
  redA400: q.A400,
@@ -3082,7 +3082,7 @@ const Zo = {
3082
3082
  cyan700: de[700],
3083
3083
  cyan800: de[800],
3084
3084
  cyan900: de[900],
3085
- cyan1000: I.cyan1000,
3085
+ cyan1000: j.cyan1000,
3086
3086
  cyanA100: de.A100,
3087
3087
  cyanA200: de.A200,
3088
3088
  cyanA400: de.A400,
@@ -3097,20 +3097,20 @@ const Zo = {
3097
3097
  deepPurple700: ce[700],
3098
3098
  deepPurple800: ce[800],
3099
3099
  deepPurple900: ce[900],
3100
- deepPurple1000: I.deepPurple1000,
3100
+ deepPurple1000: j.deepPurple1000,
3101
3101
  deepPurpleA100: ce.A100,
3102
3102
  deepPurpleA200: ce.A200,
3103
3103
  deepPurpleA400: ce.A400,
3104
3104
  deepPurpleA700: ce.A700,
3105
- deepPurpleA800: I.deepPurpleA800,
3105
+ deepPurpleA800: j.deepPurpleA800,
3106
3106
  primary: {
3107
3107
  main: re.A700,
3108
- dark: I.blue800,
3108
+ dark: j.blue800,
3109
3109
  light: re.A200,
3110
- contrastText: I.neutral00,
3111
- hover: pe(I.blue700, 0.04),
3112
- selected: pe(I.blue700, 0.08),
3113
- focus: pe(I.blue700, 0.12),
3110
+ contrastText: j.neutral00,
3111
+ hover: pe(j.blue700, 0.04),
3112
+ selected: pe(j.blue700, 0.08),
3113
+ focus: pe(j.blue700, 0.12),
3114
3114
  focusVisible: pe(re[700], 0.3),
3115
3115
  outlinedBorder: re[200]
3116
3116
  },
@@ -3118,7 +3118,7 @@ const Zo = {
3118
3118
  main: Y.A700,
3119
3119
  dark: Y[700],
3120
3120
  light: Y.A400,
3121
- contrastText: I.neutral00,
3121
+ contrastText: j.neutral00,
3122
3122
  hover: pe(Y[500], 0.04),
3123
3123
  selected: pe(Y[500], 0.08),
3124
3124
  focus: pe(Y[500], 0.12),
@@ -3129,31 +3129,31 @@ const Zo = {
3129
3129
  main: q.A700,
3130
3130
  dark: q[800],
3131
3131
  light: q.A200,
3132
- contrastText: I.neutral00,
3132
+ contrastText: j.neutral00,
3133
3133
  hover: pe(q[700], 0.04)
3134
3134
  },
3135
3135
  warning: {
3136
3136
  main: ue[900],
3137
- dark: I.yellow1000,
3137
+ dark: j.yellow1000,
3138
3138
  light: ue[800],
3139
- contrastText: I.neutral00
3139
+ contrastText: j.neutral00
3140
3140
  },
3141
3141
  info: {
3142
3142
  main: J.A700,
3143
3143
  dark: J[900],
3144
3144
  light: J.A400,
3145
- contrastText: I.neutral00
3145
+ contrastText: j.neutral00
3146
3146
  },
3147
3147
  ai: {
3148
3148
  main: ce.A700,
3149
- dark: I.deepPurpleA800,
3150
- contrastText: I.neutral00
3149
+ dark: j.deepPurpleA800,
3150
+ contrastText: j.neutral00
3151
3151
  },
3152
3152
  success: {
3153
- main: I.greenA900,
3153
+ main: j.greenA900,
3154
3154
  dark: oe[700],
3155
- light: I.greenA700,
3156
- contrastText: I.neutral00
3155
+ light: j.greenA700,
3156
+ contrastText: j.neutral00
3157
3157
  },
3158
3158
  action: {
3159
3159
  active: ne[700],
@@ -3169,18 +3169,25 @@ const Zo = {
3169
3169
  },
3170
3170
  components: {
3171
3171
  MuiAutocomplete: {
3172
+ defaultProps: {
3173
+ ChipProps: {
3174
+ size: "small",
3175
+ color: "primary"
3176
+ }
3177
+ },
3172
3178
  styleOverrides: {
3173
3179
  root: {
3174
3180
  ".MuiChip-root": {
3175
- backgroundColor: k.blue50
3176
- },
3177
- ".MuiChip-root .MuiChip-deleteIcon": {
3178
- color: k.blue800,
3179
- "&:hover": {
3180
- color: k.blue900
3181
- }
3181
+ margin: 0
3182
3182
  }
3183
- }
3183
+ },
3184
+ inputRoot: ({ theme: e }) => ({
3185
+ padding: e.spacing(1, 5, 1, 1.5),
3186
+ ".MuiFilledInput-input": {
3187
+ padding: 0
3188
+ },
3189
+ gap: e.spacing(1)
3190
+ })
3184
3191
  }
3185
3192
  },
3186
3193
  MuiButtonBase: {
@@ -3192,9 +3199,7 @@ const Zo = {
3192
3199
  defaultProps: {
3193
3200
  disableRipple: !0,
3194
3201
  disableTouchRipple: !0,
3195
- disableElevation: !0,
3196
- variant: "contained",
3197
- size: "large"
3202
+ disableElevation: !0
3198
3203
  },
3199
3204
  styleOverrides: {
3200
3205
  root: ({ theme: e }) => ({
@@ -3203,20 +3208,20 @@ const Zo = {
3203
3208
  minWidth: "unset",
3204
3209
  borderRadius: e.spacing(1),
3205
3210
  "&:active": {
3206
- border: `1px solid ${k.primary.light}`
3211
+ border: `1px solid ${D.primary.light}`
3207
3212
  },
3208
3213
  "&.Mui-disabled": {
3209
- backgroundColor: k.neutral200,
3210
- color: k.text.disabled
3214
+ backgroundColor: D.neutral200,
3215
+ color: D.text.disabled
3211
3216
  }
3212
3217
  }),
3213
3218
  containedPrimary: {
3214
- backgroundColor: k.primary.main
3219
+ backgroundColor: D.primary.main
3215
3220
  },
3216
3221
  textPrimary: {
3217
- color: k.primary.dark,
3222
+ color: D.primary.dark,
3218
3223
  "&:hover": {
3219
- backgroundColor: k.primary.hover
3224
+ backgroundColor: D.primary.hover
3220
3225
  },
3221
3226
  "&:disabled": {
3222
3227
  backgroundColor: "unset"
@@ -3224,36 +3229,36 @@ const Zo = {
3224
3229
  },
3225
3230
  textError: {
3226
3231
  "&:hover": {
3227
- backgroundColor: k.error.hover
3232
+ backgroundColor: D.error.hover
3228
3233
  },
3229
3234
  "&:active": {
3230
- backgroundColor: k.error.hover
3235
+ backgroundColor: D.error.hover
3231
3236
  },
3232
3237
  "&:disabled": {
3233
3238
  backgroundColor: "unset"
3234
3239
  }
3235
3240
  },
3236
3241
  outlinedInherit: {
3237
- borderColor: pe(k.neutral900, 0.03)
3242
+ borderColor: pe(D.neutral900, 0.03)
3238
3243
  },
3239
3244
  outlinedPrimary: {
3240
- color: k.primary.dark,
3241
- border: `0.5px solid ${k.action.disabled}`,
3245
+ color: D.primary.dark,
3246
+ border: `0.5px solid ${D.action.disabled}`,
3242
3247
  "&:hover": {
3243
- border: `0.5px solid ${k.primary.outlinedBorder}`
3248
+ border: `0.5px solid ${D.primary.outlinedBorder}`
3244
3249
  },
3245
3250
  "&:active": {
3246
- backgroundColor: k.primary.hover
3251
+ backgroundColor: D.primary.hover
3247
3252
  },
3248
3253
  "&:disabled": {
3249
3254
  backgroundColor: "unset",
3250
- border: `0.5px solid ${k.neutral200}`
3255
+ border: `0.5px solid ${D.neutral200}`
3251
3256
  }
3252
3257
  },
3253
3258
  containedInherit: {
3254
- backgroundColor: k.neutral100,
3259
+ backgroundColor: D.neutral100,
3255
3260
  "&:hover": {
3256
- backgroundColor: k.neutral200
3261
+ backgroundColor: D.neutral200
3257
3262
  }
3258
3263
  }
3259
3264
  }
@@ -3266,25 +3271,25 @@ const Zo = {
3266
3271
  MuiChip: {
3267
3272
  styleOverrides: {
3268
3273
  filledPrimary: {
3269
- backgroundColor: k.blue50,
3270
- color: k.blue1000,
3274
+ backgroundColor: D.blue50,
3275
+ color: D.blue1000,
3271
3276
  ".MuiChip-deleteIcon": {
3272
- color: k.blue800,
3277
+ color: D.blue800,
3273
3278
  "&:hover": {
3274
- color: k.blue900
3279
+ color: D.blue900
3275
3280
  },
3276
3281
  "&:active": {
3277
- color: k.blue900
3282
+ color: D.blue900
3278
3283
  }
3279
3284
  }
3280
3285
  },
3281
3286
  filledSuccess: {
3282
- backgroundColor: k.green50,
3283
- color: k.green1000
3287
+ backgroundColor: D.green50,
3288
+ color: D.green1000
3284
3289
  },
3285
3290
  filledError: {
3286
- backgroundColor: k.red50,
3287
- color: k.blue1000
3291
+ backgroundColor: D.red50,
3292
+ color: D.blue1000
3288
3293
  }
3289
3294
  }
3290
3295
  },
@@ -3293,7 +3298,7 @@ const Zo = {
3293
3298
  root: {
3294
3299
  border: "none",
3295
3300
  ".MuiDataGrid-toolbarContainer .MuiTextField-root": {
3296
- backgroundColor: k.neutral100,
3301
+ backgroundColor: D.neutral100,
3297
3302
  padding: "8px",
3298
3303
  borderRadius: "8px"
3299
3304
  },
@@ -3302,12 +3307,12 @@ const Zo = {
3302
3307
  color: "red"
3303
3308
  },
3304
3309
  ".MuiDataGrid-toolbarContainer button": {
3305
- backgroundColor: k.neutral100,
3306
- color: k.neutral900,
3310
+ backgroundColor: D.neutral100,
3311
+ color: D.neutral900,
3307
3312
  padding: "4px 10px"
3308
3313
  },
3309
3314
  ".MuiDataGrid-toolbarContainer svg": {
3310
- color: k.neutral700
3315
+ color: D.neutral700
3311
3316
  },
3312
3317
  ".MuiDataGrid-cell:focus": {
3313
3318
  outline: "none"
@@ -3321,7 +3326,7 @@ const Zo = {
3321
3326
  MuiLink: {
3322
3327
  styleOverrides: {
3323
3328
  root: {
3324
- color: k.primary.dark,
3329
+ color: D.primary.dark,
3325
3330
  textDecoration: "none"
3326
3331
  }
3327
3332
  }
@@ -3332,12 +3337,12 @@ const Zo = {
3332
3337
  },
3333
3338
  styleOverrides: {
3334
3339
  root: {
3335
- backgroundColor: k.neutral100,
3340
+ backgroundColor: D.neutral100,
3336
3341
  ".MuiInputBase-root": {
3337
- backgroundColor: k.neutral100
3342
+ backgroundColor: D.neutral100
3338
3343
  },
3339
3344
  ".MuiInputBase-input": {
3340
- backgroundColor: k.neutral100
3345
+ backgroundColor: D.neutral100
3341
3346
  }
3342
3347
  }
3343
3348
  }
@@ -3393,7 +3398,7 @@ const Zo = {
3393
3398
  disableUnderline: !0
3394
3399
  },
3395
3400
  styleOverrides: {
3396
- root: ({ theme: e }) => ({
3401
+ root: ({ theme: e, ownerState: r }) => ({
3397
3402
  backgroundColor: e.palette.neutral100,
3398
3403
  borderRadius: e.spacing(1),
3399
3404
  lineHeight: e.spacing(3),
@@ -3418,21 +3423,19 @@ const Zo = {
3418
3423
  backgroundColor: "transparent"
3419
3424
  },
3420
3425
  "&": {
3421
- paddingTop: e.spacing(0),
3422
- paddingBottom: e.spacing(0)
3426
+ padding: e.spacing(1, 1.5),
3427
+ ...r.size === "small" && {
3428
+ padding: e.spacing(0.5, 1)
3429
+ }
3423
3430
  }
3424
3431
  }),
3425
- input: ({ theme: e, ownerState: r }) => ({
3426
- paddingTop: e.spacing(1),
3427
- paddingBottom: e.spacing(1),
3428
- ...r.size === "small" && {
3429
- padding: e.spacing(0.5, 1)
3430
- }
3431
- })
3432
+ input: {
3433
+ padding: 0
3434
+ }
3432
3435
  }
3433
3436
  }
3434
3437
  },
3435
- palette: k
3438
+ palette: D
3436
3439
  });
3437
3440
  export {
3438
3441
  aa as DemoComponent,