@erpsquad/common 1.10.45 → 1.10.46

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 (161) hide show
  1. package/dist/chunks/{CssBaseline-DD305XvW.esm.js → CssBaseline-BE_MymKw.esm.js} +2 -2
  2. package/dist/chunks/{CssBaseline-DD305XvW.esm.js.map → CssBaseline-BE_MymKw.esm.js.map} +1 -1
  3. package/dist/chunks/{CssBaseline-BtFw_t3c.js → CssBaseline-FmVm1H4u.js} +2 -2
  4. package/dist/chunks/{CssBaseline-BtFw_t3c.js.map → CssBaseline-FmVm1H4u.js.map} +1 -1
  5. package/dist/chunks/{ERPUIProvider-BO9DfpEM.esm.js → ERPUIProvider-BWRPHdFg.esm.js} +9 -9
  6. package/dist/chunks/{ERPUIProvider-BO9DfpEM.esm.js.map → ERPUIProvider-BWRPHdFg.esm.js.map} +1 -1
  7. package/dist/chunks/{ERPUIProvider-DRBMMA2A.js → ERPUIProvider-Ci9MeAMt.js} +9 -9
  8. package/dist/chunks/{ERPUIProvider-DRBMMA2A.js.map → ERPUIProvider-Ci9MeAMt.js.map} +1 -1
  9. package/dist/chunks/{actionCreator-D7uVYQk5.js → actionCreator-BrkbDoSD.js} +2 -2
  10. package/dist/chunks/{actionCreator-D7uVYQk5.js.map → actionCreator-BrkbDoSD.js.map} +1 -1
  11. package/dist/chunks/{actionCreator-B95RsBM_.esm.js → actionCreator-DpYNRFa8.esm.js} +2 -2
  12. package/dist/chunks/{actionCreator-B95RsBM_.esm.js.map → actionCreator-DpYNRFa8.esm.js.map} +1 -1
  13. package/dist/chunks/{android-12-switch-cQW7NicJ.esm.js → android-12-switch-BfinmXsA.esm.js} +16 -16
  14. package/dist/chunks/{android-12-switch-cQW7NicJ.esm.js.map → android-12-switch-BfinmXsA.esm.js.map} +1 -1
  15. package/dist/chunks/{android-12-switch-ZtDpzRHx.js → android-12-switch-BqEDLbO8.js} +16 -16
  16. package/dist/chunks/{android-12-switch-ZtDpzRHx.js.map → android-12-switch-BqEDLbO8.js.map} +1 -1
  17. package/dist/chunks/{appbar-DgtcGDYS.esm.js → appbar-BSMZjpV0.esm.js} +8 -8
  18. package/dist/chunks/{appbar-DgtcGDYS.esm.js.map → appbar-BSMZjpV0.esm.js.map} +1 -1
  19. package/dist/chunks/{appbar-6ns8zbIa.js → appbar-xFkckGFf.js} +8 -8
  20. package/dist/chunks/{appbar-6ns8zbIa.js.map → appbar-xFkckGFf.js.map} +1 -1
  21. package/dist/chunks/{arrow-up-BDkqlEB_.esm.js → arrow-up-BedcrblB.esm.js} +2 -2
  22. package/dist/chunks/{arrow-up-BDkqlEB_.esm.js.map → arrow-up-BedcrblB.esm.js.map} +1 -1
  23. package/dist/chunks/{arrow-up-Dg35LjrD.js → arrow-up-BlxSDanH.js} +2 -2
  24. package/dist/chunks/{arrow-up-Dg35LjrD.js.map → arrow-up-BlxSDanH.js.map} +1 -1
  25. package/dist/chunks/{common-jPwuLblQ.esm.js → common-KSaUU42L.esm.js} +3 -5
  26. package/dist/chunks/{common-jPwuLblQ.esm.js.map → common-KSaUU42L.esm.js.map} +1 -1
  27. package/dist/chunks/{common-DKNNF5nL.js → common-mZRiR8Bu.js} +3 -5
  28. package/dist/chunks/{common-DKNNF5nL.js.map → common-mZRiR8Bu.js.map} +1 -1
  29. package/dist/chunks/{custom-editor-CqXTZfSQ.esm.js → custom-editor-BZSuqGTe.esm.js} +2 -2
  30. package/dist/chunks/{custom-editor-CqXTZfSQ.esm.js.map → custom-editor-BZSuqGTe.esm.js.map} +1 -1
  31. package/dist/chunks/{custom-editor-DLZXfaz-.js → custom-editor-MPffh-YA.js} +2 -2
  32. package/dist/chunks/{custom-editor-DLZXfaz-.js.map → custom-editor-MPffh-YA.js.map} +1 -1
  33. package/dist/chunks/{dashboard-Bya4KFzH.js → dashboard-DjSjDk1y.js} +2 -2
  34. package/dist/chunks/{dashboard-Bya4KFzH.js.map → dashboard-DjSjDk1y.js.map} +1 -1
  35. package/dist/chunks/{dashboard-DRNW-CTT.esm.js → dashboard-Dtei0Khz.esm.js} +2 -2
  36. package/dist/chunks/{dashboard-DRNW-CTT.esm.js.map → dashboard-Dtei0Khz.esm.js.map} +1 -1
  37. package/dist/chunks/{default-data-V8UszZI7.esm.js → default-data-96R_HsDl.esm.js} +17 -17
  38. package/dist/chunks/{default-data-V8UszZI7.esm.js.map → default-data-96R_HsDl.esm.js.map} +1 -1
  39. package/dist/chunks/{default-data-DVkaYnjj.js → default-data-C0z6QDJm.js} +17 -17
  40. package/dist/chunks/{default-data-DVkaYnjj.js.map → default-data-C0z6QDJm.js.map} +1 -1
  41. package/dist/chunks/{document-rki7DMqA.esm.js → document-BY4ol6iQ.esm.js} +2 -2
  42. package/dist/chunks/{document-rki7DMqA.esm.js.map → document-BY4ol6iQ.esm.js.map} +1 -1
  43. package/dist/chunks/{document-zJ0CptA2.js → document-DYtlibq0.js} +2 -2
  44. package/dist/chunks/{document-zJ0CptA2.js.map → document-DYtlibq0.js.map} +1 -1
  45. package/dist/chunks/{form-builder-conversion-DNRiFeQI.esm.js → form-builder-conversion-BRi2qp8w.esm.js} +2 -2
  46. package/dist/chunks/{form-builder-conversion-DNRiFeQI.esm.js.map → form-builder-conversion-BRi2qp8w.esm.js.map} +1 -1
  47. package/dist/chunks/{form-builder-conversion-CoTbUuLY.js → form-builder-conversion-DpySpPti.js} +2 -2
  48. package/dist/chunks/{form-builder-conversion-CoTbUuLY.js.map → form-builder-conversion-DpySpPti.js.map} +1 -1
  49. package/dist/chunks/{form-builder-deconversion-BNZtxVJq.esm.js → form-builder-deconversion-Baw1wL3s.esm.js} +4 -4
  50. package/dist/chunks/{form-builder-deconversion-BNZtxVJq.esm.js.map → form-builder-deconversion-Baw1wL3s.esm.js.map} +1 -1
  51. package/dist/chunks/{form-builder-deconversion-DfqaBgYE.js → form-builder-deconversion-C54MoBJ3.js} +4 -4
  52. package/dist/chunks/{form-builder-deconversion-DfqaBgYE.js.map → form-builder-deconversion-C54MoBJ3.js.map} +1 -1
  53. package/dist/chunks/{fullScreen-QlygOdmi.js → fullScreen-B_Geael8.js} +3 -3
  54. package/dist/chunks/{fullScreen-QlygOdmi.js.map → fullScreen-B_Geael8.js.map} +1 -1
  55. package/dist/chunks/{fullScreen-DmRL-kQw.esm.js → fullScreen-C__xZPZT.esm.js} +3 -3
  56. package/dist/chunks/{fullScreen-DmRL-kQw.esm.js.map → fullScreen-C__xZPZT.esm.js.map} +1 -1
  57. package/dist/chunks/{identifier-0SZUhw_A.esm.js → identifier-BB05HqNB.esm.js} +74 -67
  58. package/dist/chunks/{identifier-0SZUhw_A.esm.js.map → identifier-BB05HqNB.esm.js.map} +1 -1
  59. package/dist/chunks/{identifier-CaTy7Osd.js → identifier-BSjnVNXF.js} +74 -67
  60. package/dist/chunks/{identifier-CaTy7Osd.js.map → identifier-BSjnVNXF.js.map} +1 -1
  61. package/dist/chunks/{languageContext-B1keNi61.js → languageContext-CJJhc5zH.js} +3 -3
  62. package/dist/chunks/{languageContext-B1keNi61.js.map → languageContext-CJJhc5zH.js.map} +1 -1
  63. package/dist/chunks/{languageContext-DxlXP-e8.esm.js → languageContext-Ce2XfiCS.esm.js} +3 -3
  64. package/dist/chunks/{languageContext-DxlXP-e8.esm.js.map → languageContext-Ce2XfiCS.esm.js.map} +1 -1
  65. package/dist/chunks/{migration-utils-DGMdYs70.js → migration-utils-D7nOMiB2.js} +3 -3
  66. package/dist/chunks/{migration-utils-DGMdYs70.js.map → migration-utils-D7nOMiB2.js.map} +1 -1
  67. package/dist/chunks/{migration-utils-pxEWQdqc.esm.js → migration-utils-FtL5LhHH.esm.js} +3 -3
  68. package/dist/chunks/{migration-utils-pxEWQdqc.esm.js.map → migration-utils-FtL5LhHH.esm.js.map} +1 -1
  69. package/dist/chunks/{notification-_WEc_EZI.esm.js → notification-BIkuYKbC.esm.js} +2 -2
  70. package/dist/chunks/{notification-_WEc_EZI.esm.js.map → notification-BIkuYKbC.esm.js.map} +1 -1
  71. package/dist/chunks/{notification-vWmhkTRo.js → notification-Bq2o82vD.js} +2 -2
  72. package/dist/chunks/{notification-vWmhkTRo.js.map → notification-Bq2o82vD.js.map} +1 -1
  73. package/dist/chunks/{page-context-Bw5BePz5.esm.js → page-context-BqSErzQl.esm.js} +4 -4
  74. package/dist/chunks/{page-context-Bw5BePz5.esm.js.map → page-context-BqSErzQl.esm.js.map} +1 -1
  75. package/dist/chunks/{page-context-C3cz5ObT.js → page-context-D2UXRKyx.js} +4 -4
  76. package/dist/chunks/{page-context-C3cz5ObT.js.map → page-context-D2UXRKyx.js.map} +1 -1
  77. package/dist/chunks/{reducer-CwiprTvu.esm.js → reducer-ByNHeaYX.esm.js} +2 -2
  78. package/dist/chunks/{reducer-CwiprTvu.esm.js.map → reducer-ByNHeaYX.esm.js.map} +1 -1
  79. package/dist/chunks/{reducer-Dg88irMQ.js → reducer-avNgc-SK.js} +2 -2
  80. package/dist/chunks/{reducer-Dg88irMQ.js.map → reducer-avNgc-SK.js.map} +1 -1
  81. package/dist/chunks/{shareSlice-C-VMZadp.esm.js → shareSlice-BfiZhdXs.esm.js} +2 -2
  82. package/dist/chunks/{shareSlice-C-VMZadp.esm.js.map → shareSlice-BfiZhdXs.esm.js.map} +1 -1
  83. package/dist/chunks/{shareSlice-cDIBlXCI.js → shareSlice-aO_INfaN.js} +2 -2
  84. package/dist/chunks/{shareSlice-cDIBlXCI.js.map → shareSlice-aO_INfaN.js.map} +1 -1
  85. package/dist/chunks/{sidebar--uK32fMl.esm.js → sidebar-CRkbZ2CT.esm.js} +7 -7
  86. package/dist/chunks/{sidebar--uK32fMl.esm.js.map → sidebar-CRkbZ2CT.esm.js.map} +1 -1
  87. package/dist/chunks/{sidebar-C5Y48-pe.js → sidebar-Cz0RyL7a.js} +7 -7
  88. package/dist/chunks/{sidebar-C5Y48-pe.js.map → sidebar-Cz0RyL7a.js.map} +1 -1
  89. package/dist/chunks/{sidebarScreen-DzPGEcEd.esm.js → sidebarScreen-CD5QcF2c.esm.js} +5 -5
  90. package/dist/chunks/{sidebarScreen-DzPGEcEd.esm.js.map → sidebarScreen-CD5QcF2c.esm.js.map} +1 -1
  91. package/dist/chunks/{sidebarScreen-xxapW1VS.js → sidebarScreen-Daaf6HJ2.js} +5 -5
  92. package/dist/chunks/{sidebarScreen-xxapW1VS.js.map → sidebarScreen-Daaf6HJ2.js.map} +1 -1
  93. package/dist/chunks/{store-DrIxOn4Z.esm.js → store-Cih4OLuI.esm.js} +3 -3
  94. package/dist/chunks/{store-DrIxOn4Z.esm.js.map → store-Cih4OLuI.esm.js.map} +1 -1
  95. package/dist/chunks/{store-DPHbeB97.js → store-Vqut1O2z.js} +3 -3
  96. package/dist/chunks/{store-DPHbeB97.js.map → store-Vqut1O2z.js.map} +1 -1
  97. package/dist/chunks/{theme-impl-VqZAJjv7.js → theme-impl-B2IGIgWY.js} +3 -3
  98. package/dist/chunks/{theme-impl-VqZAJjv7.js.map → theme-impl-B2IGIgWY.js.map} +1 -1
  99. package/dist/chunks/{theme-impl-BPCaapgh.esm.js → theme-impl-DYj6u2Uj.esm.js} +3 -3
  100. package/dist/chunks/{theme-impl-BPCaapgh.esm.js.map → theme-impl-DYj6u2Uj.esm.js.map} +1 -1
  101. package/dist/chunks/{themeSelector-B1UMQOVw.js → themeSelector-BWS26_36.js} +2 -2
  102. package/dist/chunks/{themeSelector-B1UMQOVw.js.map → themeSelector-BWS26_36.js.map} +1 -1
  103. package/dist/chunks/{themeSelector-CRTwkja4.esm.js → themeSelector-Beuf11Zn.esm.js} +2 -2
  104. package/dist/chunks/{themeSelector-CRTwkja4.esm.js.map → themeSelector-Beuf11Zn.esm.js.map} +1 -1
  105. package/dist/chunks/{tick-wc8bi2Fu.esm.js → tick-CUJtwriw.esm.js} +2 -2
  106. package/dist/chunks/{tick-wc8bi2Fu.esm.js.map → tick-CUJtwriw.esm.js.map} +1 -1
  107. package/dist/chunks/{tick-wgixJNsN.js → tick-CVDvHe2s.js} +2 -2
  108. package/dist/chunks/{tick-wgixJNsN.js.map → tick-CVDvHe2s.js.map} +1 -1
  109. package/dist/chunks/{toggle-switch-DxtcAFXc.js → toggle-switch-B4pMpNzd.js} +2 -2
  110. package/dist/chunks/{toggle-switch-DxtcAFXc.js.map → toggle-switch-B4pMpNzd.js.map} +1 -1
  111. package/dist/chunks/{toggle-switch-BEmygLUi.esm.js → toggle-switch-C-D3Pb1x.esm.js} +2 -2
  112. package/dist/chunks/{toggle-switch-BEmygLUi.esm.js.map → toggle-switch-C-D3Pb1x.esm.js.map} +1 -1
  113. package/dist/chunks/{translations-DZ8xJh20.js → translations-CtAAqKt_.js} +2 -2
  114. package/dist/chunks/{translations-DZ8xJh20.js.map → translations-CtAAqKt_.js.map} +1 -1
  115. package/dist/chunks/{translations-CQWs1-rP.esm.js → translations-DVs6ljbG.esm.js} +2 -2
  116. package/dist/chunks/{translations-CQWs1-rP.esm.js.map → translations-DVs6ljbG.esm.js.map} +1 -1
  117. package/dist/chunks/{trash-q79H5Q4U.js → trash-BuynwhTG.js} +2 -2
  118. package/dist/chunks/{trash-q79H5Q4U.js.map → trash-BuynwhTG.js.map} +1 -1
  119. package/dist/chunks/{trash-UdiORwWn.esm.js → trash-ihDGOeyw.esm.js} +2 -2
  120. package/dist/chunks/{trash-UdiORwWn.esm.js.map → trash-ihDGOeyw.esm.js.map} +1 -1
  121. package/dist/chunks/{uom-field-wrapper-DazM6vWq.js → uom-field-wrapper-BVnBZ9TP.js} +19 -19
  122. package/dist/chunks/{uom-field-wrapper-DazM6vWq.js.map → uom-field-wrapper-BVnBZ9TP.js.map} +1 -1
  123. package/dist/chunks/{uom-field-wrapper-BnOcTtY6.esm.js → uom-field-wrapper-CacwGww9.esm.js} +19 -19
  124. package/dist/chunks/{uom-field-wrapper-BnOcTtY6.esm.js.map → uom-field-wrapper-CacwGww9.esm.js.map} +1 -1
  125. package/dist/chunks/{useAccountSetting-C-vbVYcu.esm.js → useAccountSetting-DIJxoz5K.esm.js} +3 -3
  126. package/dist/chunks/{useAccountSetting-C-vbVYcu.esm.js.map → useAccountSetting-DIJxoz5K.esm.js.map} +1 -1
  127. package/dist/chunks/{useAccountSetting-DLprQFgv.js → useAccountSetting-DTnGA_ej.js} +3 -3
  128. package/dist/chunks/{useAccountSetting-DLprQFgv.js.map → useAccountSetting-DTnGA_ej.js.map} +1 -1
  129. package/dist/chunks/{useAdditionalDiscountAutoCalc-DFJ5MUDu.js → useAdditionalDiscountAutoCalc-BnoUyFAt.js} +5 -5
  130. package/dist/chunks/{useAdditionalDiscountAutoCalc-DFJ5MUDu.js.map → useAdditionalDiscountAutoCalc-BnoUyFAt.js.map} +1 -1
  131. package/dist/chunks/{useAdditionalDiscountAutoCalc-BZjzj936.esm.js → useAdditionalDiscountAutoCalc-Cj2TFEUf.esm.js} +5 -5
  132. package/dist/chunks/{useAdditionalDiscountAutoCalc-BZjzj936.esm.js.map → useAdditionalDiscountAutoCalc-Cj2TFEUf.esm.js.map} +1 -1
  133. package/dist/chunks/{useAuth-DdrmIbws.js → useAuth-BfXZw2ZG.js} +4 -4
  134. package/dist/chunks/{useAuth-DdrmIbws.js.map → useAuth-BfXZw2ZG.js.map} +1 -1
  135. package/dist/chunks/{useAuth-C2QRC3wF.esm.js → useAuth-DI1ZdQmL.esm.js} +4 -4
  136. package/dist/chunks/{useAuth-C2QRC3wF.esm.js.map → useAuth-DI1ZdQmL.esm.js.map} +1 -1
  137. package/dist/chunks/{useLangauge-C3CeLP6M.js → useLangauge-DkFW3jmt.js} +2 -2
  138. package/dist/chunks/{useLangauge-C3CeLP6M.js.map → useLangauge-DkFW3jmt.js.map} +1 -1
  139. package/dist/chunks/{useLangauge-DGf95f3m.esm.js → useLangauge-HfM5K9im.esm.js} +2 -2
  140. package/dist/chunks/{useLangauge-DGf95f3m.esm.js.map → useLangauge-HfM5K9im.esm.js.map} +1 -1
  141. package/dist/components/index.esm.js +15 -15
  142. package/dist/components/index.js +15 -15
  143. package/dist/contexts/index.esm.js +3 -3
  144. package/dist/contexts/index.js +3 -3
  145. package/dist/hooks/index.esm.js +5 -5
  146. package/dist/hooks/index.js +5 -5
  147. package/dist/icons/index.esm.js +7 -7
  148. package/dist/icons/index.js +7 -7
  149. package/dist/index.esm.js +31 -31
  150. package/dist/index.js +31 -31
  151. package/dist/layout/index.esm.js +2 -2
  152. package/dist/layout/index.js +2 -2
  153. package/dist/redux/index.esm.js +4 -4
  154. package/dist/redux/index.js +4 -4
  155. package/dist/theme/index.esm.js +2 -2
  156. package/dist/theme/index.js +2 -2
  157. package/dist/utils/index.esm.js +7 -7
  158. package/dist/utils/index.js +6 -6
  159. package/dist/views/index.esm.js +9 -9
  160. package/dist/views/index.js +8 -8
  161. package/package.json +1 -1
@@ -466,70 +466,77 @@ function requireReactPropTypesSecret() {
466
466
  ReactPropTypesSecret_1 = ReactPropTypesSecret;
467
467
  return ReactPropTypesSecret_1;
468
468
  }
469
- var has$1;
469
+ var has;
470
470
  var hasRequiredHas;
471
471
  function requireHas() {
472
- if (hasRequiredHas) return has$1;
472
+ if (hasRequiredHas) return has;
473
473
  hasRequiredHas = 1;
474
- has$1 = Function.call.bind(Object.prototype.hasOwnProperty);
475
- return has$1;
476
- }
477
- var printWarning = function() {
478
- };
479
- if (process.env.NODE_ENV !== "production") {
480
- var ReactPropTypesSecret = requireReactPropTypesSecret();
481
- var loggedTypeFailures = {};
482
- var has = requireHas();
483
- printWarning = function(text) {
484
- var message = "Warning: " + text;
485
- if (typeof console !== "undefined") {
486
- console.error(message);
487
- }
488
- try {
489
- throw new Error(message);
490
- } catch (x) {
491
- }
474
+ has = Function.call.bind(Object.prototype.hasOwnProperty);
475
+ return has;
476
+ }
477
+ var checkPropTypes_1;
478
+ var hasRequiredCheckPropTypes;
479
+ function requireCheckPropTypes() {
480
+ if (hasRequiredCheckPropTypes) return checkPropTypes_1;
481
+ hasRequiredCheckPropTypes = 1;
482
+ var printWarning = function() {
492
483
  };
493
- }
494
- function checkPropTypes(typeSpecs, values2, location, componentName, getStack) {
495
484
  if (process.env.NODE_ENV !== "production") {
496
- for (var typeSpecName in typeSpecs) {
497
- if (has(typeSpecs, typeSpecName)) {
498
- var error;
499
- try {
500
- if (typeof typeSpecs[typeSpecName] !== "function") {
501
- var err = Error(
502
- (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`."
485
+ var ReactPropTypesSecret = requireReactPropTypesSecret();
486
+ var loggedTypeFailures = {};
487
+ var has2 = requireHas();
488
+ printWarning = function(text) {
489
+ var message = "Warning: " + text;
490
+ if (typeof console !== "undefined") {
491
+ console.error(message);
492
+ }
493
+ try {
494
+ throw new Error(message);
495
+ } catch (x) {
496
+ }
497
+ };
498
+ }
499
+ function checkPropTypes(typeSpecs, values2, location, componentName, getStack) {
500
+ if (process.env.NODE_ENV !== "production") {
501
+ for (var typeSpecName in typeSpecs) {
502
+ if (has2(typeSpecs, typeSpecName)) {
503
+ var error;
504
+ try {
505
+ if (typeof typeSpecs[typeSpecName] !== "function") {
506
+ var err = Error(
507
+ (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`."
508
+ );
509
+ err.name = "Invariant Violation";
510
+ throw err;
511
+ }
512
+ error = typeSpecs[typeSpecName](values2, typeSpecName, componentName, location, null, ReactPropTypesSecret);
513
+ } catch (ex) {
514
+ error = ex;
515
+ }
516
+ if (error && !(error instanceof Error)) {
517
+ printWarning(
518
+ (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)."
519
+ );
520
+ }
521
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
522
+ loggedTypeFailures[error.message] = true;
523
+ var stack = getStack ? getStack() : "";
524
+ printWarning(
525
+ "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
503
526
  );
504
- err.name = "Invariant Violation";
505
- throw err;
506
527
  }
507
- error = typeSpecs[typeSpecName](values2, typeSpecName, componentName, location, null, ReactPropTypesSecret);
508
- } catch (ex) {
509
- error = ex;
510
- }
511
- if (error && !(error instanceof Error)) {
512
- printWarning(
513
- (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)."
514
- );
515
- }
516
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
517
- loggedTypeFailures[error.message] = true;
518
- var stack = getStack ? getStack() : "";
519
- printWarning(
520
- "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
521
- );
522
528
  }
523
529
  }
524
530
  }
525
531
  }
532
+ checkPropTypes.resetWarningCache = function() {
533
+ if (process.env.NODE_ENV !== "production") {
534
+ loggedTypeFailures = {};
535
+ }
536
+ };
537
+ checkPropTypes_1 = checkPropTypes;
538
+ return checkPropTypes_1;
526
539
  }
527
- checkPropTypes.resetWarningCache = function() {
528
- if (process.env.NODE_ENV !== "production") {
529
- loggedTypeFailures = {};
530
- }
531
- };
532
- var checkPropTypes_1 = checkPropTypes;
533
540
  var factoryWithTypeCheckers;
534
541
  var hasRequiredFactoryWithTypeCheckers;
535
542
  function requireFactoryWithTypeCheckers() {
@@ -538,12 +545,12 @@ function requireFactoryWithTypeCheckers() {
538
545
  var ReactIs = requireReactIs();
539
546
  var assign2 = requireObjectAssign();
540
547
  var ReactPropTypesSecret = requireReactPropTypesSecret();
541
- var has = requireHas();
542
- var checkPropTypes2 = checkPropTypes_1;
543
- var printWarning2 = function() {
548
+ var has2 = requireHas();
549
+ var checkPropTypes = requireCheckPropTypes();
550
+ var printWarning = function() {
544
551
  };
545
552
  if (process.env.NODE_ENV !== "production") {
546
- printWarning2 = function(text) {
553
+ printWarning = function(text) {
547
554
  var message = "Warning: " + text;
548
555
  if (typeof console !== "undefined") {
549
556
  console.error(message);
@@ -620,7 +627,7 @@ function requireFactoryWithTypeCheckers() {
620
627
  var cacheKey = componentName + ":" + propName;
621
628
  if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
622
629
  manualPropTypeWarningCount < 3) {
623
- printWarning2(
630
+ printWarning(
624
631
  "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."
625
632
  );
626
633
  manualPropTypeCallCache[cacheKey] = true;
@@ -719,11 +726,11 @@ function requireFactoryWithTypeCheckers() {
719
726
  if (!Array.isArray(expectedValues)) {
720
727
  if (process.env.NODE_ENV !== "production") {
721
728
  if (arguments.length > 1) {
722
- printWarning2(
729
+ printWarning(
723
730
  "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])."
724
731
  );
725
732
  } else {
726
- printWarning2("Invalid argument supplied to oneOf, expected an array.");
733
+ printWarning("Invalid argument supplied to oneOf, expected an array.");
727
734
  }
728
735
  }
729
736
  return emptyFunctionThatReturnsNull;
@@ -757,7 +764,7 @@ function requireFactoryWithTypeCheckers() {
757
764
  return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
758
765
  }
759
766
  for (var key in propValue) {
760
- if (has(propValue, key)) {
767
+ if (has2(propValue, key)) {
761
768
  var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
762
769
  if (error instanceof Error) {
763
770
  return error;
@@ -770,13 +777,13 @@ function requireFactoryWithTypeCheckers() {
770
777
  }
771
778
  function createUnionTypeChecker(arrayOfTypeCheckers) {
772
779
  if (!Array.isArray(arrayOfTypeCheckers)) {
773
- process.env.NODE_ENV !== "production" ? printWarning2("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
780
+ process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
774
781
  return emptyFunctionThatReturnsNull;
775
782
  }
776
783
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
777
784
  var checker = arrayOfTypeCheckers[i];
778
785
  if (typeof checker !== "function") {
779
- printWarning2(
786
+ printWarning(
780
787
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
781
788
  );
782
789
  return emptyFunctionThatReturnsNull;
@@ -790,7 +797,7 @@ function requireFactoryWithTypeCheckers() {
790
797
  if (checkerResult == null) {
791
798
  return null;
792
799
  }
793
- if (checkerResult.data && has(checkerResult.data, "expectedType")) {
800
+ if (checkerResult.data && has2(checkerResult.data, "expectedType")) {
794
801
  expectedTypes.push(checkerResult.data.expectedType);
795
802
  }
796
803
  }
@@ -844,7 +851,7 @@ function requireFactoryWithTypeCheckers() {
844
851
  var allKeys = assign2({}, props[propName], shapeTypes);
845
852
  for (var key in allKeys) {
846
853
  var checker = shapeTypes[key];
847
- if (has(shapeTypes, key) && typeof checker !== "function") {
854
+ if (has2(shapeTypes, key) && typeof checker !== "function") {
848
855
  return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
849
856
  }
850
857
  if (!checker) {
@@ -966,8 +973,8 @@ function requireFactoryWithTypeCheckers() {
966
973
  }
967
974
  return propValue.constructor.name;
968
975
  }
969
- ReactPropTypes.checkPropTypes = checkPropTypes2;
970
- ReactPropTypes.resetWarningCache = checkPropTypes2.resetWarningCache;
976
+ ReactPropTypes.checkPropTypes = checkPropTypes;
977
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
971
978
  ReactPropTypes.PropTypes = ReactPropTypes;
972
979
  return ReactPropTypes;
973
980
  };
@@ -4257,4 +4264,4 @@ exports.styled = styled;
4257
4264
  exports.styledEngine = styledEngine;
4258
4265
  exports.unstable_createStyleFunctionSx = unstable_createStyleFunctionSx;
4259
4266
  exports.useDefaultProps = useDefaultProps;
4260
- //# sourceMappingURL=identifier-CaTy7Osd.js.map
4267
+ //# sourceMappingURL=identifier-BSjnVNXF.js.map