@erpsquad/common 1.10.4-test → 1.10.5-test

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 (153) hide show
  1. package/dist/chunks/{CssBaseline-D8lu6YB4.esm.js → CssBaseline-BCsBCxHw.esm.js} +2 -3
  2. package/dist/chunks/{CssBaseline-D8lu6YB4.esm.js.map → CssBaseline-BCsBCxHw.esm.js.map} +1 -1
  3. package/dist/chunks/{CssBaseline-DmJ9zaXo.js → CssBaseline-CaG36t1j.js} +3 -4
  4. package/dist/chunks/{CssBaseline-DmJ9zaXo.js.map → CssBaseline-CaG36t1j.js.map} +1 -1
  5. package/dist/chunks/{Tooltip-CyzCuxiz.js → Tooltip-BfYngwlu.js} +96 -97
  6. package/dist/chunks/{Tooltip-CyzCuxiz.js.map → Tooltip-BfYngwlu.js.map} +1 -1
  7. package/dist/chunks/{Tooltip-Db1YCjVB.esm.js → Tooltip-kVQVUXpu.esm.js} +7 -8
  8. package/dist/chunks/{Tooltip-Db1YCjVB.esm.js.map → Tooltip-kVQVUXpu.esm.js.map} +1 -1
  9. package/dist/chunks/{android-12-switch-BpR43WVN.esm.js → android-12-switch-C7HQfwOM.esm.js} +13 -14
  10. package/dist/chunks/{android-12-switch-BpR43WVN.esm.js.map → android-12-switch-C7HQfwOM.esm.js.map} +1 -1
  11. package/dist/chunks/{android-12-switch-DhfobhTE.js → android-12-switch-DW4fNSqZ.js} +223 -224
  12. package/dist/chunks/{android-12-switch-DhfobhTE.js.map → android-12-switch-DW4fNSqZ.js.map} +1 -1
  13. package/dist/chunks/{apiHelper-DrtX1wsE.js → apiHelper-BOjN9Hi2.js} +6 -6
  14. package/dist/chunks/{apiHelper-DrtX1wsE.js.map → apiHelper-BOjN9Hi2.js.map} +1 -1
  15. package/dist/chunks/{apiHelper-HTo6F1P7.esm.js → apiHelper-Bk1Svpxr.esm.js} +6 -6
  16. package/dist/chunks/{apiHelper-HTo6F1P7.esm.js.map → apiHelper-Bk1Svpxr.esm.js.map} +1 -1
  17. package/dist/chunks/{arrow-up-CzAYqkgy.js → arrow-up-DL3NGhTM.js} +47 -48
  18. package/dist/chunks/arrow-up-DL3NGhTM.js.map +1 -0
  19. package/dist/chunks/{arrow-up-iRf15n-y.esm.js → arrow-up-DazfQcnV.esm.js} +2 -3
  20. package/dist/chunks/arrow-up-DazfQcnV.esm.js.map +1 -0
  21. package/dist/chunks/{dashboard-C9j4Kzk8.js → dashboard-MOyqxPUY.js} +3 -4
  22. package/dist/chunks/dashboard-MOyqxPUY.js.map +1 -0
  23. package/dist/chunks/{dashboard-DY6kktI9.esm.js → dashboard-PY0CpaZg.esm.js} +2 -3
  24. package/dist/chunks/dashboard-PY0CpaZg.esm.js.map +1 -0
  25. package/dist/chunks/{default-data-B-pzy32C.js → default-data-BnKcMmCa.js} +12 -12
  26. package/dist/chunks/{default-data-B-pzy32C.js.map → default-data-BnKcMmCa.js.map} +1 -1
  27. package/dist/chunks/{default-data-CZZRGuJQ.esm.js → default-data-BpsCGp37.esm.js} +12 -12
  28. package/dist/chunks/{default-data-CZZRGuJQ.esm.js.map → default-data-BpsCGp37.esm.js.map} +1 -1
  29. package/dist/chunks/{document-COlmDW14.js → document-BFgGr8K0.js} +3 -4
  30. package/dist/chunks/document-BFgGr8K0.js.map +1 -0
  31. package/dist/chunks/{document-eayAKETK.esm.js → document-uNuadJTM.esm.js} +2 -3
  32. package/dist/chunks/document-uNuadJTM.esm.js.map +1 -0
  33. package/dist/chunks/{form-builder-deconversion-CPARvcpx.esm.js → form-builder-deconversion-CuZ3wtCF.esm.js} +3 -3
  34. package/dist/chunks/{form-builder-deconversion-CPARvcpx.esm.js.map → form-builder-deconversion-CuZ3wtCF.esm.js.map} +1 -1
  35. package/dist/chunks/{form-builder-deconversion-C-jHZZQX.js → form-builder-deconversion-D9-0eKfU.js} +3 -3
  36. package/dist/chunks/{form-builder-deconversion-C-jHZZQX.js.map → form-builder-deconversion-D9-0eKfU.js.map} +1 -1
  37. package/dist/chunks/{fullScreen-BZmLcvBd.esm.js → fullScreen-BYsXcZsz.esm.js} +3 -3
  38. package/dist/chunks/{fullScreen-BZmLcvBd.esm.js.map → fullScreen-BYsXcZsz.esm.js.map} +1 -1
  39. package/dist/chunks/{fullScreen-BlB0skIW.js → fullScreen-Dn9rdXui.js} +3 -3
  40. package/dist/chunks/{fullScreen-BlB0skIW.js.map → fullScreen-Dn9rdXui.js.map} +1 -1
  41. package/dist/chunks/{identifier-D2PZ045Y.js → identifier-BTBl-PeG.js} +166 -69
  42. package/dist/chunks/identifier-BTBl-PeG.js.map +1 -0
  43. package/dist/chunks/{identifier-cOOk7M93.esm.js → identifier-l1qZ_-Do.esm.js} +178 -81
  44. package/dist/chunks/identifier-l1qZ_-Do.esm.js.map +1 -0
  45. package/dist/chunks/{languageContext-B9ZrKauM.esm.js → languageContext-B0oDaLaR.esm.js} +2 -2
  46. package/dist/chunks/{languageContext-B9ZrKauM.esm.js.map → languageContext-B0oDaLaR.esm.js.map} +1 -1
  47. package/dist/chunks/{languageContext-BplN84_k.js → languageContext-BkEaNmXU.js} +2 -2
  48. package/dist/chunks/{languageContext-BplN84_k.js.map → languageContext-BkEaNmXU.js.map} +1 -1
  49. package/dist/chunks/{migration-utils-DkYf1ifk.js → migration-utils-BPJJjfTn.js} +3 -3
  50. package/dist/chunks/{migration-utils-DkYf1ifk.js.map → migration-utils-BPJJjfTn.js.map} +1 -1
  51. package/dist/chunks/{migration-utils-CQc6pY2t.esm.js → migration-utils-BV23YHF_.esm.js} +3 -3
  52. package/dist/chunks/{migration-utils-CQc6pY2t.esm.js.map → migration-utils-BV23YHF_.esm.js.map} +1 -1
  53. package/dist/chunks/{notification-BUQXYqID.esm.js → notification-CiOGHCVK.esm.js} +258 -21
  54. package/dist/chunks/notification-CiOGHCVK.esm.js.map +1 -0
  55. package/dist/chunks/{notification-YiwRvWU7.js → notification-mmnVEZtt.js} +272 -18
  56. package/dist/chunks/notification-mmnVEZtt.js.map +1 -0
  57. package/dist/chunks/{page-context-D1AdUiey.esm.js → page-context-Cp-7KQ6O.esm.js} +3 -3
  58. package/dist/chunks/{page-context-D1AdUiey.esm.js.map → page-context-Cp-7KQ6O.esm.js.map} +1 -1
  59. package/dist/chunks/{page-context-CQsKXyDK.js → page-context-DJJaibPX.js} +3 -3
  60. package/dist/chunks/{page-context-CQsKXyDK.js.map → page-context-DJJaibPX.js.map} +1 -1
  61. package/dist/chunks/{sidebar-CAEC7M85.esm.js → sidebar-BPLSYS-u.esm.js} +8 -9
  62. package/dist/chunks/sidebar-BPLSYS-u.esm.js.map +1 -0
  63. package/dist/chunks/{sidebar-C_FKqclf.js → sidebar-Dg33n-BA.js} +25 -26
  64. package/dist/chunks/sidebar-Dg33n-BA.js.map +1 -0
  65. package/dist/chunks/{sidebarScreen-DmPbjeHe.js → sidebarScreen-DGu1Nm4H.js} +4 -4
  66. package/dist/chunks/{sidebarScreen-DmPbjeHe.js.map → sidebarScreen-DGu1Nm4H.js.map} +1 -1
  67. package/dist/chunks/{sidebarScreen-3pj35MVH.esm.js → sidebarScreen-DOmXPM8l.esm.js} +4 -4
  68. package/dist/chunks/{sidebarScreen-3pj35MVH.esm.js.map → sidebarScreen-DOmXPM8l.esm.js.map} +1 -1
  69. package/dist/chunks/{theme-impl-C_w9Sj-A.js → theme-impl-B-jAlah0.js} +3 -3
  70. package/dist/chunks/{theme-impl-C_w9Sj-A.js.map → theme-impl-B-jAlah0.js.map} +1 -1
  71. package/dist/chunks/{theme-impl-BrCeOQeW.esm.js → theme-impl-BCVk-5ti.esm.js} +3 -3
  72. package/dist/chunks/{theme-impl-BrCeOQeW.esm.js.map → theme-impl-BCVk-5ti.esm.js.map} +1 -1
  73. package/dist/chunks/{themeSelector-BUU_4ha7.esm.js → themeSelector-Ce9JLKP6.esm.js} +2 -2
  74. package/dist/chunks/{themeSelector-BUU_4ha7.esm.js.map → themeSelector-Ce9JLKP6.esm.js.map} +1 -1
  75. package/dist/chunks/{themeSelector-DOSJ_YTD.js → themeSelector-Cpzcr0j7.js} +2 -2
  76. package/dist/chunks/{themeSelector-DOSJ_YTD.js.map → themeSelector-Cpzcr0j7.js.map} +1 -1
  77. package/dist/chunks/{tick-rHBbYNsa.js → tick-D0uXfgm_.js} +8 -9
  78. package/dist/chunks/tick-D0uXfgm_.js.map +1 -0
  79. package/dist/chunks/{tick-BGC9qpEu.esm.js → tick-Yg9tWd8n.esm.js} +2 -3
  80. package/dist/chunks/tick-Yg9tWd8n.esm.js.map +1 -0
  81. package/dist/chunks/{toggle-switch-DDIhdf1a.js → toggle-switch-C2GpPNpX.js} +3 -4
  82. package/dist/chunks/toggle-switch-C2GpPNpX.js.map +1 -0
  83. package/dist/chunks/{toggle-switch-C5pxbI7z.esm.js → toggle-switch-cHBJVQ9J.esm.js} +2 -3
  84. package/dist/chunks/toggle-switch-cHBJVQ9J.esm.js.map +1 -0
  85. package/dist/chunks/{trash-CiV-RKIP.esm.js → trash-BhZBqKsV.esm.js} +2 -3
  86. package/dist/chunks/trash-BhZBqKsV.esm.js.map +1 -0
  87. package/dist/chunks/{trash-VyHXYBtF.js → trash-CJyhARBA.js} +36 -37
  88. package/dist/chunks/trash-CJyhARBA.js.map +1 -0
  89. package/dist/chunks/{uom-field-wrapper-DoWBwgGv.js → uom-field-wrapper-BX1XdyHa.js} +66 -67
  90. package/dist/chunks/{uom-field-wrapper-DoWBwgGv.js.map → uom-field-wrapper-BX1XdyHa.js.map} +1 -1
  91. package/dist/chunks/{uom-field-wrapper-D3POjotB.esm.js → uom-field-wrapper-CkzzOU6N.esm.js} +15 -16
  92. package/dist/chunks/{uom-field-wrapper-D3POjotB.esm.js.map → uom-field-wrapper-CkzzOU6N.esm.js.map} +1 -1
  93. package/dist/chunks/{useAccountSetting-DlrR5hlK.esm.js → useAccountSetting-D3-1qy7H.esm.js} +2 -2
  94. package/dist/chunks/{useAccountSetting-DlrR5hlK.esm.js.map → useAccountSetting-D3-1qy7H.esm.js.map} +1 -1
  95. package/dist/chunks/{useAccountSetting-CsdyJmXj.js → useAccountSetting-IgFis2cJ.js} +2 -2
  96. package/dist/chunks/{useAccountSetting-CsdyJmXj.js.map → useAccountSetting-IgFis2cJ.js.map} +1 -1
  97. package/dist/chunks/{useAuth-CI3BaxzJ.esm.js → useAuth-BJsurhKO.esm.js} +21 -258
  98. package/dist/chunks/useAuth-BJsurhKO.esm.js.map +1 -0
  99. package/dist/chunks/{useAuth-DuPbRYgZ.js → useAuth-CiUSJsQc.js} +8 -245
  100. package/dist/chunks/useAuth-CiUSJsQc.js.map +1 -0
  101. package/dist/chunks/{useLangauge-CoBbCCSR.js → useLangauge-D2ab_l5x.js} +2 -2
  102. package/dist/chunks/{useLangauge-CoBbCCSR.js.map → useLangauge-D2ab_l5x.js.map} +1 -1
  103. package/dist/chunks/{useLangauge-Bp4TQ3yg.esm.js → useLangauge-KK13KYLL.esm.js} +2 -2
  104. package/dist/chunks/{useLangauge-Bp4TQ3yg.esm.js.map → useLangauge-KK13KYLL.esm.js.map} +1 -1
  105. package/dist/chunks/{useReduxIntegration-BBYh6fTc.js → useReduxIntegration-Cj1OTrlN.js} +3 -3
  106. package/dist/chunks/{useReduxIntegration-BBYh6fTc.js.map → useReduxIntegration-Cj1OTrlN.js.map} +1 -1
  107. package/dist/chunks/{useReduxIntegration-CcFXL_r2.esm.js → useReduxIntegration-DOzBW6tg.esm.js} +3 -3
  108. package/dist/chunks/{useReduxIntegration-CcFXL_r2.esm.js.map → useReduxIntegration-DOzBW6tg.esm.js.map} +1 -1
  109. package/dist/components/icons/custom-styled-icon.d.ts +1 -1
  110. package/dist/components/index.esm.js +14 -14
  111. package/dist/components/index.js +14 -14
  112. package/dist/contexts/index.esm.js +3 -3
  113. package/dist/contexts/index.js +3 -3
  114. package/dist/hooks/index.esm.js +5 -5
  115. package/dist/hooks/index.js +5 -5
  116. package/dist/icons/index.esm.js +7 -7
  117. package/dist/icons/index.js +7 -7
  118. package/dist/index.esm.js +23 -23
  119. package/dist/index.js +23 -23
  120. package/dist/layout/index.esm.js +2 -2
  121. package/dist/layout/index.js +2 -2
  122. package/dist/src/components/icons/custom-styled-icon.d.ts +1 -1
  123. package/dist/theme/index.esm.js +2 -2
  124. package/dist/theme/index.js +2 -2
  125. package/dist/utils/index.esm.js +3 -3
  126. package/dist/utils/index.js +3 -3
  127. package/dist/views/index.esm.js +7 -7
  128. package/dist/views/index.js +6 -6
  129. package/package.json +1 -1
  130. package/dist/chunks/DefaultPropsProvider-CtzpYSZM.esm.js +0 -96
  131. package/dist/chunks/DefaultPropsProvider-CtzpYSZM.esm.js.map +0 -1
  132. package/dist/chunks/DefaultPropsProvider-DNkr8p_i.js +0 -112
  133. package/dist/chunks/DefaultPropsProvider-DNkr8p_i.js.map +0 -1
  134. package/dist/chunks/arrow-up-CzAYqkgy.js.map +0 -1
  135. package/dist/chunks/arrow-up-iRf15n-y.esm.js.map +0 -1
  136. package/dist/chunks/dashboard-C9j4Kzk8.js.map +0 -1
  137. package/dist/chunks/dashboard-DY6kktI9.esm.js.map +0 -1
  138. package/dist/chunks/document-COlmDW14.js.map +0 -1
  139. package/dist/chunks/document-eayAKETK.esm.js.map +0 -1
  140. package/dist/chunks/identifier-D2PZ045Y.js.map +0 -1
  141. package/dist/chunks/identifier-cOOk7M93.esm.js.map +0 -1
  142. package/dist/chunks/notification-BUQXYqID.esm.js.map +0 -1
  143. package/dist/chunks/notification-YiwRvWU7.js.map +0 -1
  144. package/dist/chunks/sidebar-CAEC7M85.esm.js.map +0 -1
  145. package/dist/chunks/sidebar-C_FKqclf.js.map +0 -1
  146. package/dist/chunks/tick-BGC9qpEu.esm.js.map +0 -1
  147. package/dist/chunks/tick-rHBbYNsa.js.map +0 -1
  148. package/dist/chunks/toggle-switch-C5pxbI7z.esm.js.map +0 -1
  149. package/dist/chunks/toggle-switch-DDIhdf1a.js.map +0 -1
  150. package/dist/chunks/trash-CiV-RKIP.esm.js.map +0 -1
  151. package/dist/chunks/trash-VyHXYBtF.js.map +0 -1
  152. package/dist/chunks/useAuth-CI3BaxzJ.esm.js.map +0 -1
  153. package/dist/chunks/useAuth-DuPbRYgZ.js.map +0 -1
@@ -1,7 +1,7 @@
1
- import emStyled from "@emotion/styled";
2
- import { CacheProvider, Global, ThemeContext, css, keyframes } from "@emotion/react";
3
1
  import * as React from "react";
4
2
  import { j as jsxRuntimeExports } from "./jsx-runtime-ClFauRgV.esm.js";
3
+ import emStyled from "@emotion/styled";
4
+ import { CacheProvider, Global, ThemeContext, css, keyframes } from "@emotion/react";
5
5
  import { g as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./_commonjsHelpers-CcAunmGO.esm.js";
6
6
  var interopRequireDefault = { exports: {} };
7
7
  (function(module) {
@@ -421,70 +421,77 @@ function requireReactPropTypesSecret() {
421
421
  ReactPropTypesSecret_1 = ReactPropTypesSecret;
422
422
  return ReactPropTypesSecret_1;
423
423
  }
424
- var has$1;
424
+ var has;
425
425
  var hasRequiredHas;
426
426
  function requireHas() {
427
- if (hasRequiredHas) return has$1;
427
+ if (hasRequiredHas) return has;
428
428
  hasRequiredHas = 1;
429
- has$1 = Function.call.bind(Object.prototype.hasOwnProperty);
430
- return has$1;
431
- }
432
- var printWarning = function() {
433
- };
434
- if (process.env.NODE_ENV !== "production") {
435
- var ReactPropTypesSecret = requireReactPropTypesSecret();
436
- var loggedTypeFailures = {};
437
- var has = requireHas();
438
- printWarning = function(text) {
439
- var message = "Warning: " + text;
440
- if (typeof console !== "undefined") {
441
- console.error(message);
442
- }
443
- try {
444
- throw new Error(message);
445
- } catch (x) {
446
- }
429
+ has = Function.call.bind(Object.prototype.hasOwnProperty);
430
+ return has;
431
+ }
432
+ var checkPropTypes_1;
433
+ var hasRequiredCheckPropTypes;
434
+ function requireCheckPropTypes() {
435
+ if (hasRequiredCheckPropTypes) return checkPropTypes_1;
436
+ hasRequiredCheckPropTypes = 1;
437
+ var printWarning = function() {
447
438
  };
448
- }
449
- function checkPropTypes(typeSpecs, values2, location, componentName, getStack) {
450
439
  if (process.env.NODE_ENV !== "production") {
451
- for (var typeSpecName in typeSpecs) {
452
- if (has(typeSpecs, typeSpecName)) {
453
- var error;
454
- try {
455
- if (typeof typeSpecs[typeSpecName] !== "function") {
456
- var err = Error(
457
- (componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
440
+ var ReactPropTypesSecret = requireReactPropTypesSecret();
441
+ var loggedTypeFailures = {};
442
+ var has2 = requireHas();
443
+ printWarning = function(text) {
444
+ var message = "Warning: " + text;
445
+ if (typeof console !== "undefined") {
446
+ console.error(message);
447
+ }
448
+ try {
449
+ throw new Error(message);
450
+ } catch (x) {
451
+ }
452
+ };
453
+ }
454
+ function checkPropTypes(typeSpecs, values2, location, componentName, getStack) {
455
+ if (process.env.NODE_ENV !== "production") {
456
+ for (var typeSpecName in typeSpecs) {
457
+ if (has2(typeSpecs, typeSpecName)) {
458
+ var error;
459
+ try {
460
+ if (typeof typeSpecs[typeSpecName] !== "function") {
461
+ var err = Error(
462
+ (componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
463
+ );
464
+ err.name = "Invariant Violation";
465
+ throw err;
466
+ }
467
+ error = typeSpecs[typeSpecName](values2, typeSpecName, componentName, location, null, ReactPropTypesSecret);
468
+ } catch (ex) {
469
+ error = ex;
470
+ }
471
+ if (error && !(error instanceof Error)) {
472
+ printWarning(
473
+ (componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
474
+ );
475
+ }
476
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
477
+ loggedTypeFailures[error.message] = true;
478
+ var stack = getStack ? getStack() : "";
479
+ printWarning(
480
+ "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
458
481
  );
459
- err.name = "Invariant Violation";
460
- throw err;
461
482
  }
462
- error = typeSpecs[typeSpecName](values2, typeSpecName, componentName, location, null, ReactPropTypesSecret);
463
- } catch (ex) {
464
- error = ex;
465
- }
466
- if (error && !(error instanceof Error)) {
467
- printWarning(
468
- (componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
469
- );
470
- }
471
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
472
- loggedTypeFailures[error.message] = true;
473
- var stack = getStack ? getStack() : "";
474
- printWarning(
475
- "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
476
- );
477
483
  }
478
484
  }
479
485
  }
480
486
  }
487
+ checkPropTypes.resetWarningCache = function() {
488
+ if (process.env.NODE_ENV !== "production") {
489
+ loggedTypeFailures = {};
490
+ }
491
+ };
492
+ checkPropTypes_1 = checkPropTypes;
493
+ return checkPropTypes_1;
481
494
  }
482
- checkPropTypes.resetWarningCache = function() {
483
- if (process.env.NODE_ENV !== "production") {
484
- loggedTypeFailures = {};
485
- }
486
- };
487
- var checkPropTypes_1 = checkPropTypes;
488
495
  var factoryWithTypeCheckers;
489
496
  var hasRequiredFactoryWithTypeCheckers;
490
497
  function requireFactoryWithTypeCheckers() {
@@ -493,12 +500,12 @@ function requireFactoryWithTypeCheckers() {
493
500
  var ReactIs = requireReactIs();
494
501
  var assign2 = requireObjectAssign();
495
502
  var ReactPropTypesSecret = requireReactPropTypesSecret();
496
- var has = requireHas();
497
- var checkPropTypes2 = checkPropTypes_1;
498
- var printWarning2 = function() {
503
+ var has2 = requireHas();
504
+ var checkPropTypes = requireCheckPropTypes();
505
+ var printWarning = function() {
499
506
  };
500
507
  if (process.env.NODE_ENV !== "production") {
501
- printWarning2 = function(text) {
508
+ printWarning = function(text) {
502
509
  var message = "Warning: " + text;
503
510
  if (typeof console !== "undefined") {
504
511
  console.error(message);
@@ -575,7 +582,7 @@ function requireFactoryWithTypeCheckers() {
575
582
  var cacheKey = componentName + ":" + propName;
576
583
  if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
577
584
  manualPropTypeWarningCount < 3) {
578
- printWarning2(
585
+ printWarning(
579
586
  "You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. 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."
580
587
  );
581
588
  manualPropTypeCallCache[cacheKey] = true;
@@ -674,11 +681,11 @@ function requireFactoryWithTypeCheckers() {
674
681
  if (!Array.isArray(expectedValues)) {
675
682
  if (process.env.NODE_ENV !== "production") {
676
683
  if (arguments.length > 1) {
677
- printWarning2(
684
+ printWarning(
678
685
  "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])."
679
686
  );
680
687
  } else {
681
- printWarning2("Invalid argument supplied to oneOf, expected an array.");
688
+ printWarning("Invalid argument supplied to oneOf, expected an array.");
682
689
  }
683
690
  }
684
691
  return emptyFunctionThatReturnsNull;
@@ -712,7 +719,7 @@ function requireFactoryWithTypeCheckers() {
712
719
  return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
713
720
  }
714
721
  for (var key in propValue) {
715
- if (has(propValue, key)) {
722
+ if (has2(propValue, key)) {
716
723
  var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
717
724
  if (error instanceof Error) {
718
725
  return error;
@@ -725,13 +732,13 @@ function requireFactoryWithTypeCheckers() {
725
732
  }
726
733
  function createUnionTypeChecker(arrayOfTypeCheckers) {
727
734
  if (!Array.isArray(arrayOfTypeCheckers)) {
728
- process.env.NODE_ENV !== "production" ? printWarning2("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
735
+ process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
729
736
  return emptyFunctionThatReturnsNull;
730
737
  }
731
738
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
732
739
  var checker = arrayOfTypeCheckers[i];
733
740
  if (typeof checker !== "function") {
734
- printWarning2(
741
+ printWarning(
735
742
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
736
743
  );
737
744
  return emptyFunctionThatReturnsNull;
@@ -745,7 +752,7 @@ function requireFactoryWithTypeCheckers() {
745
752
  if (checkerResult == null) {
746
753
  return null;
747
754
  }
748
- if (checkerResult.data && has(checkerResult.data, "expectedType")) {
755
+ if (checkerResult.data && has2(checkerResult.data, "expectedType")) {
749
756
  expectedTypes.push(checkerResult.data.expectedType);
750
757
  }
751
758
  }
@@ -799,7 +806,7 @@ function requireFactoryWithTypeCheckers() {
799
806
  var allKeys = assign2({}, props[propName], shapeTypes);
800
807
  for (var key in allKeys) {
801
808
  var checker = shapeTypes[key];
802
- if (has(shapeTypes, key) && typeof checker !== "function") {
809
+ if (has2(shapeTypes, key) && typeof checker !== "function") {
803
810
  return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
804
811
  }
805
812
  if (!checker) {
@@ -921,8 +928,8 @@ function requireFactoryWithTypeCheckers() {
921
928
  }
922
929
  return propValue.constructor.name;
923
930
  }
924
- ReactPropTypes.checkPropTypes = checkPropTypes2;
925
- ReactPropTypes.resetWarningCache = checkPropTypes2.resetWarningCache;
931
+ ReactPropTypes.checkPropTypes = checkPropTypes;
932
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
926
933
  ReactPropTypes.PropTypes = ReactPropTypes;
927
934
  return ReactPropTypes;
928
935
  };
@@ -1008,6 +1015,31 @@ function capitalize(string) {
1008
1015
  }
1009
1016
  return string.charAt(0).toUpperCase() + string.slice(1);
1010
1017
  }
1018
+ function resolveProps(defaultProps, props) {
1019
+ const output = _extends({}, props);
1020
+ Object.keys(defaultProps).forEach((propName) => {
1021
+ if (propName.toString().match(/^(components|slots)$/)) {
1022
+ output[propName] = _extends({}, defaultProps[propName], output[propName]);
1023
+ } else if (propName.toString().match(/^(componentsProps|slotProps)$/)) {
1024
+ const defaultSlotProps = defaultProps[propName] || {};
1025
+ const slotProps = props[propName];
1026
+ output[propName] = {};
1027
+ if (!slotProps || !Object.keys(slotProps)) {
1028
+ output[propName] = defaultSlotProps;
1029
+ } else if (!defaultSlotProps || !Object.keys(defaultSlotProps)) {
1030
+ output[propName] = slotProps;
1031
+ } else {
1032
+ output[propName] = _extends({}, slotProps);
1033
+ Object.keys(defaultSlotProps).forEach((slotPropName) => {
1034
+ output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName]);
1035
+ });
1036
+ }
1037
+ } else if (output[propName] === void 0) {
1038
+ output[propName] = defaultProps[propName];
1039
+ }
1040
+ });
1041
+ return output;
1042
+ }
1011
1043
  const defaultGenerator = (componentName) => componentName;
1012
1044
  const createClassNameGenerator = () => {
1013
1045
  let generate = defaultGenerator;
@@ -1058,6 +1090,69 @@ function _objectWithoutPropertiesLoose(r, e) {
1058
1090
  }
1059
1091
  return t;
1060
1092
  }
1093
+ const PropsContext = /* @__PURE__ */ React.createContext(void 0);
1094
+ process.env.NODE_ENV !== "production" ? {
1095
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1096
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1097
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1098
+ // └─────────────────────────────────────────────────────────────────────┘
1099
+ /**
1100
+ * @ignore
1101
+ */
1102
+ children: PropTypes.node,
1103
+ /**
1104
+ * @ignore
1105
+ */
1106
+ value: PropTypes.object
1107
+ } : void 0;
1108
+ function getThemeProps(params) {
1109
+ const {
1110
+ theme,
1111
+ name,
1112
+ props
1113
+ } = params;
1114
+ if (!theme || !theme.components || !theme.components[name]) {
1115
+ return props;
1116
+ }
1117
+ const config = theme.components[name];
1118
+ if (config.defaultProps) {
1119
+ return resolveProps(config.defaultProps, props);
1120
+ }
1121
+ if (!config.styleOverrides && !config.variants) {
1122
+ return resolveProps(config, props);
1123
+ }
1124
+ return props;
1125
+ }
1126
+ function useDefaultProps$1({
1127
+ props,
1128
+ name
1129
+ }) {
1130
+ const ctx = React.useContext(PropsContext);
1131
+ return getThemeProps({
1132
+ props,
1133
+ name,
1134
+ theme: {
1135
+ components: ctx
1136
+ }
1137
+ });
1138
+ }
1139
+ process.env.NODE_ENV !== "production" ? {
1140
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1141
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1142
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1143
+ // └─────────────────────────────────────────────────────────────────────┘
1144
+ /**
1145
+ * @ignore
1146
+ */
1147
+ children: PropTypes.node,
1148
+ /**
1149
+ * @ignore
1150
+ */
1151
+ value: PropTypes.object.isRequired
1152
+ } : void 0;
1153
+ function useDefaultProps(params) {
1154
+ return useDefaultProps$1(params);
1155
+ }
1061
1156
  function murmur2(str) {
1062
1157
  var h = 0;
1063
1158
  var k, i = 0, len = str.length;
@@ -4083,13 +4178,15 @@ Please use another name.` : formatMuiErrorMessage$1(18));
4083
4178
  const defaultTheme = createTheme();
4084
4179
  const THEME_ID = "$$material";
4085
4180
  export {
4086
- handleBreakpoints as A,
4087
- resolveBreakpointValues as B,
4181
+ formatMuiErrorMessage$1 as A,
4182
+ clamp$1 as B,
4088
4183
  ClassNameGenerator as C,
4089
- createUnarySpacing as D,
4090
- mergeBreakpointsInOrder as E,
4091
- getValue as F,
4184
+ handleBreakpoints as D,
4185
+ resolveBreakpointValues as E,
4186
+ createUnarySpacing as F,
4092
4187
  GlobalStyles as G,
4188
+ mergeBreakpointsInOrder as H,
4189
+ getValue as I,
4093
4190
  PropTypes as P,
4094
4191
  StyledEngineProvider as S,
4095
4192
  THEME_ID as T,
@@ -4113,12 +4210,12 @@ export {
4113
4210
  styleFunctionSx as q,
4114
4211
  requireObjectAssign as r,
4115
4212
  styledEngine as s,
4116
- styled as t,
4117
- unstable_createStyleFunctionSx as u,
4118
- internal_processStyles as v,
4119
- lighten_1 as w,
4120
- darken_1 as x,
4121
- formatMuiErrorMessage$1 as y,
4122
- clamp$1 as z
4213
+ unstable_createStyleFunctionSx as t,
4214
+ useDefaultProps as u,
4215
+ styled as v,
4216
+ internal_processStyles as w,
4217
+ lighten_1 as x,
4218
+ darken_1 as y,
4219
+ resolveProps as z
4123
4220
  };
4124
- //# sourceMappingURL=identifier-cOOk7M93.esm.js.map
4221
+ //# sourceMappingURL=identifier-l1qZ_-Do.esm.js.map