@erpsquad/common 1.10.36 → 1.10.37

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 (163) hide show
  1. package/dist/chunks/{CssBaseline-CaG36t1j.js → CssBaseline-Ba0wbudi.js} +2 -2
  2. package/dist/chunks/{CssBaseline-CaG36t1j.js.map → CssBaseline-Ba0wbudi.js.map} +1 -1
  3. package/dist/chunks/{CssBaseline-GdktO2pw.esm.js → CssBaseline-qnbPrAjr.esm.js} +2 -2
  4. package/dist/chunks/{CssBaseline-GdktO2pw.esm.js.map → CssBaseline-qnbPrAjr.esm.js.map} +1 -1
  5. package/dist/chunks/{ERPUIProvider-g9ORs230.esm.js → ERPUIProvider-BXGbwV1E.esm.js} +9 -9
  6. package/dist/chunks/{ERPUIProvider-g9ORs230.esm.js.map → ERPUIProvider-BXGbwV1E.esm.js.map} +1 -1
  7. package/dist/chunks/{ERPUIProvider-B5KuFtPq.js → ERPUIProvider-C2ofCEZP.js} +9 -9
  8. package/dist/chunks/{ERPUIProvider-B5KuFtPq.js.map → ERPUIProvider-C2ofCEZP.js.map} +1 -1
  9. package/dist/chunks/{actionCreator-CMOtQXRd.esm.js → actionCreator-CVpuMig1.esm.js} +2 -2
  10. package/dist/chunks/{actionCreator-CMOtQXRd.esm.js.map → actionCreator-CVpuMig1.esm.js.map} +1 -1
  11. package/dist/chunks/{actionCreator-BBknNb28.js → actionCreator-Dyrn7xiX.js} +2 -2
  12. package/dist/chunks/{actionCreator-BBknNb28.js.map → actionCreator-Dyrn7xiX.js.map} +1 -1
  13. package/dist/chunks/{android-12-switch-D6F8RTcr.js → android-12-switch-fjFgXIxr.js} +16 -16
  14. package/dist/chunks/{android-12-switch-D6F8RTcr.js.map → android-12-switch-fjFgXIxr.js.map} +1 -1
  15. package/dist/chunks/{android-12-switch-CaTH6SfF.esm.js → android-12-switch-tVDoUwn5.esm.js} +16 -16
  16. package/dist/chunks/{android-12-switch-CaTH6SfF.esm.js.map → android-12-switch-tVDoUwn5.esm.js.map} +1 -1
  17. package/dist/chunks/{appbar-Bk8FldTl.js → appbar-C9iTxmgI.js} +13 -9
  18. package/dist/chunks/appbar-C9iTxmgI.js.map +1 -0
  19. package/dist/chunks/{appbar-CxOrotSG.esm.js → appbar-z61SIHm8.esm.js} +13 -9
  20. package/dist/chunks/appbar-z61SIHm8.esm.js.map +1 -0
  21. package/dist/chunks/{arrow-up-DL3NGhTM.js → arrow-up-BC9MfTDu.js} +2 -2
  22. package/dist/chunks/{arrow-up-DL3NGhTM.js.map → arrow-up-BC9MfTDu.js.map} +1 -1
  23. package/dist/chunks/{arrow-up-Bp6K1xq8.esm.js → arrow-up-Cz4A_O0J.esm.js} +2 -2
  24. package/dist/chunks/{arrow-up-Bp6K1xq8.esm.js.map → arrow-up-Cz4A_O0J.esm.js.map} +1 -1
  25. package/dist/chunks/{common-BRRDL67C.esm.js → common-B0qL-cCR.esm.js} +2 -2
  26. package/dist/chunks/{common-BRRDL67C.esm.js.map → common-B0qL-cCR.esm.js.map} +1 -1
  27. package/dist/chunks/{common-CYtu25RS.js → common-B47boGYI.js} +2 -2
  28. package/dist/chunks/{common-CYtu25RS.js.map → common-B47boGYI.js.map} +1 -1
  29. package/dist/chunks/{custom-editor-B67v2jzM.js → custom-editor-D31nXWJC.js} +2 -2
  30. package/dist/chunks/{custom-editor-B67v2jzM.js.map → custom-editor-D31nXWJC.js.map} +1 -1
  31. package/dist/chunks/{custom-editor-Dbvu9-Yb.esm.js → custom-editor-DYVyIdoj.esm.js} +2 -2
  32. package/dist/chunks/{custom-editor-Dbvu9-Yb.esm.js.map → custom-editor-DYVyIdoj.esm.js.map} +1 -1
  33. package/dist/chunks/{dashboard-D-jCCLFt.esm.js → dashboard-CmeL1xk8.esm.js} +2 -2
  34. package/dist/chunks/{dashboard-D-jCCLFt.esm.js.map → dashboard-CmeL1xk8.esm.js.map} +1 -1
  35. package/dist/chunks/{dashboard-MOyqxPUY.js → dashboard-DZujrViq.js} +2 -2
  36. package/dist/chunks/{dashboard-MOyqxPUY.js.map → dashboard-DZujrViq.js.map} +1 -1
  37. package/dist/chunks/{default-data-DWtyrkMT.js → default-data-Cj-1Kaw7.js} +17 -17
  38. package/dist/chunks/{default-data-DWtyrkMT.js.map → default-data-Cj-1Kaw7.js.map} +1 -1
  39. package/dist/chunks/{default-data-lZD_ZxZT.esm.js → default-data-DV7AnOjb.esm.js} +17 -17
  40. package/dist/chunks/{default-data-lZD_ZxZT.esm.js.map → default-data-DV7AnOjb.esm.js.map} +1 -1
  41. package/dist/chunks/{document-BFgGr8K0.js → document-D7m0P_S2.js} +2 -2
  42. package/dist/chunks/{document-BFgGr8K0.js.map → document-D7m0P_S2.js.map} +1 -1
  43. package/dist/chunks/{document-zEiaIfTI.esm.js → document-DKQMhgnk.esm.js} +2 -2
  44. package/dist/chunks/{document-zEiaIfTI.esm.js.map → document-DKQMhgnk.esm.js.map} +1 -1
  45. package/dist/chunks/{form-builder-conversion-Dx_PJVBW.esm.js → form-builder-conversion-BHtzMK19.esm.js} +2 -2
  46. package/dist/chunks/{form-builder-conversion-Dx_PJVBW.esm.js.map → form-builder-conversion-BHtzMK19.esm.js.map} +1 -1
  47. package/dist/chunks/{form-builder-conversion-qtkiYjCY.js → form-builder-conversion-ljHVeDPX.js} +2 -2
  48. package/dist/chunks/{form-builder-conversion-qtkiYjCY.js.map → form-builder-conversion-ljHVeDPX.js.map} +1 -1
  49. package/dist/chunks/{form-builder-deconversion-B7kxP5Z9.esm.js → form-builder-deconversion-B9q3SaKS.esm.js} +4 -4
  50. package/dist/chunks/{form-builder-deconversion-B7kxP5Z9.esm.js.map → form-builder-deconversion-B9q3SaKS.esm.js.map} +1 -1
  51. package/dist/chunks/{form-builder-deconversion-BteisBvO.js → form-builder-deconversion-jwyL-JY3.js} +4 -4
  52. package/dist/chunks/{form-builder-deconversion-BteisBvO.js.map → form-builder-deconversion-jwyL-JY3.js.map} +1 -1
  53. package/dist/chunks/{fullScreen-CrVe5IMw.js → fullScreen-DB3efFr4.js} +3 -3
  54. package/dist/chunks/{fullScreen-CrVe5IMw.js.map → fullScreen-DB3efFr4.js.map} +1 -1
  55. package/dist/chunks/{fullScreen-C68-Gf_V.esm.js → fullScreen-DvM4ySnk.esm.js} +3 -3
  56. package/dist/chunks/{fullScreen-C68-Gf_V.esm.js.map → fullScreen-DvM4ySnk.esm.js.map} +1 -1
  57. package/dist/chunks/{identifier-BTBl-PeG.js → identifier-B8P9ZGxG.js} +67 -74
  58. package/dist/chunks/{identifier-BTBl-PeG.js.map → identifier-B8P9ZGxG.js.map} +1 -1
  59. package/dist/chunks/{identifier-DOIuZkWc.esm.js → identifier-u4E_J1of.esm.js} +67 -74
  60. package/dist/chunks/{identifier-DOIuZkWc.esm.js.map → identifier-u4E_J1of.esm.js.map} +1 -1
  61. package/dist/chunks/{languageContext-DnhNo02l.esm.js → languageContext-BYGz_p42.esm.js} +3 -3
  62. package/dist/chunks/{languageContext-DnhNo02l.esm.js.map → languageContext-BYGz_p42.esm.js.map} +1 -1
  63. package/dist/chunks/{languageContext-_9iIlCKQ.js → languageContext-kaW62SmI.js} +3 -3
  64. package/dist/chunks/{languageContext-_9iIlCKQ.js.map → languageContext-kaW62SmI.js.map} +1 -1
  65. package/dist/chunks/{migration-utils-DGgUFeoP.js → migration-utils-BxJik5JM.js} +3 -3
  66. package/dist/chunks/{migration-utils-DGgUFeoP.js.map → migration-utils-BxJik5JM.js.map} +1 -1
  67. package/dist/chunks/{migration-utils-DzBD9NMj.esm.js → migration-utils-DWDyqvUJ.esm.js} +3 -3
  68. package/dist/chunks/{migration-utils-DzBD9NMj.esm.js.map → migration-utils-DWDyqvUJ.esm.js.map} +1 -1
  69. package/dist/chunks/{notification-BkYKSve7.esm.js → notification-Dr_nE2Dc.esm.js} +2 -2
  70. package/dist/chunks/{notification-BkYKSve7.esm.js.map → notification-Dr_nE2Dc.esm.js.map} +1 -1
  71. package/dist/chunks/{notification-mmnVEZtt.js → notification-lAbbtOBF.js} +2 -2
  72. package/dist/chunks/{notification-mmnVEZtt.js.map → notification-lAbbtOBF.js.map} +1 -1
  73. package/dist/chunks/{page-context-Xcd8pY2v.esm.js → page-context-BQA4yHBY.esm.js} +4 -4
  74. package/dist/chunks/{page-context-Xcd8pY2v.esm.js.map → page-context-BQA4yHBY.esm.js.map} +1 -1
  75. package/dist/chunks/{page-context-8Vme70Ho.js → page-context-qm-pYJBq.js} +4 -4
  76. package/dist/chunks/{page-context-8Vme70Ho.js.map → page-context-qm-pYJBq.js.map} +1 -1
  77. package/dist/chunks/{reducer-DhFQgG2l.esm.js → reducer-C2CFWu_w.esm.js} +2 -2
  78. package/dist/chunks/{reducer-DhFQgG2l.esm.js.map → reducer-C2CFWu_w.esm.js.map} +1 -1
  79. package/dist/chunks/{reducer-D2AP0hJd.js → reducer-D43h_jCk.js} +2 -2
  80. package/dist/chunks/{reducer-D2AP0hJd.js.map → reducer-D43h_jCk.js.map} +1 -1
  81. package/dist/chunks/{shareSlice-CVEktmGd.esm.js → shareSlice-Di1XniXV.esm.js} +2 -2
  82. package/dist/chunks/{shareSlice-CVEktmGd.esm.js.map → shareSlice-Di1XniXV.esm.js.map} +1 -1
  83. package/dist/chunks/{shareSlice-DO6_Y4P8.js → shareSlice-_Hntg8_q.js} +2 -2
  84. package/dist/chunks/{shareSlice-DO6_Y4P8.js.map → shareSlice-_Hntg8_q.js.map} +1 -1
  85. package/dist/chunks/{sidebar-CgiF-121.esm.js → sidebar-BiMOKE2d.esm.js} +7 -7
  86. package/dist/chunks/{sidebar-CgiF-121.esm.js.map → sidebar-BiMOKE2d.esm.js.map} +1 -1
  87. package/dist/chunks/{sidebar-DWNpx7GG.js → sidebar-C1xCapbx.js} +7 -7
  88. package/dist/chunks/{sidebar-DWNpx7GG.js.map → sidebar-C1xCapbx.js.map} +1 -1
  89. package/dist/chunks/{sidebarScreen-B2AyISLo.js → sidebarScreen-D0TiRlei.js} +5 -5
  90. package/dist/chunks/{sidebarScreen-B2AyISLo.js.map → sidebarScreen-D0TiRlei.js.map} +1 -1
  91. package/dist/chunks/{sidebarScreen-C3tj9mtu.esm.js → sidebarScreen-DgmjQsWK.esm.js} +5 -5
  92. package/dist/chunks/{sidebarScreen-C3tj9mtu.esm.js.map → sidebarScreen-DgmjQsWK.esm.js.map} +1 -1
  93. package/dist/chunks/{store-DE2t178_.js → store-C7nHRIec.js} +3 -3
  94. package/dist/chunks/{store-DE2t178_.js.map → store-C7nHRIec.js.map} +1 -1
  95. package/dist/chunks/{store-CFX59HYx.esm.js → store-phvyobMt.esm.js} +3 -3
  96. package/dist/chunks/{store-CFX59HYx.esm.js.map → store-phvyobMt.esm.js.map} +1 -1
  97. package/dist/chunks/{theme-impl-DiwS-WWR.esm.js → theme-impl-B5ncd0_-.esm.js} +3 -3
  98. package/dist/chunks/{theme-impl-DiwS-WWR.esm.js.map → theme-impl-B5ncd0_-.esm.js.map} +1 -1
  99. package/dist/chunks/{theme-impl-B-jAlah0.js → theme-impl-BgGLJiHC.js} +3 -3
  100. package/dist/chunks/{theme-impl-B-jAlah0.js.map → theme-impl-BgGLJiHC.js.map} +1 -1
  101. package/dist/chunks/{themeSelector-Cpzcr0j7.js → themeSelector-CkbUQSqY.js} +2 -2
  102. package/dist/chunks/{themeSelector-Cpzcr0j7.js.map → themeSelector-CkbUQSqY.js.map} +1 -1
  103. package/dist/chunks/{themeSelector-C9iyIueK.esm.js → themeSelector-Y7FIaMIK.esm.js} +2 -2
  104. package/dist/chunks/{themeSelector-C9iyIueK.esm.js.map → themeSelector-Y7FIaMIK.esm.js.map} +1 -1
  105. package/dist/chunks/{tick-BV40I2Gv.js → tick-BSpZzKHb.js} +2 -2
  106. package/dist/chunks/{tick-BV40I2Gv.js.map → tick-BSpZzKHb.js.map} +1 -1
  107. package/dist/chunks/{tick-CUJ09Tf2.esm.js → tick-CCBMlWKE.esm.js} +2 -2
  108. package/dist/chunks/{tick-CUJ09Tf2.esm.js.map → tick-CCBMlWKE.esm.js.map} +1 -1
  109. package/dist/chunks/{toggle-switch-DiErs4or.esm.js → toggle-switch-BHNFcNhi.esm.js} +2 -2
  110. package/dist/chunks/{toggle-switch-DiErs4or.esm.js.map → toggle-switch-BHNFcNhi.esm.js.map} +1 -1
  111. package/dist/chunks/{toggle-switch-C2GpPNpX.js → toggle-switch-cUD3eGwN.js} +2 -2
  112. package/dist/chunks/{toggle-switch-C2GpPNpX.js.map → toggle-switch-cUD3eGwN.js.map} +1 -1
  113. package/dist/chunks/{translations-X2DbZzOA.esm.js → translations-3awnZui-.esm.js} +2 -2
  114. package/dist/chunks/{translations-X2DbZzOA.esm.js.map → translations-3awnZui-.esm.js.map} +1 -1
  115. package/dist/chunks/{translations-3VTw2N4P.js → translations-QALR4VUa.js} +2 -2
  116. package/dist/chunks/{translations-3VTw2N4P.js.map → translations-QALR4VUa.js.map} +1 -1
  117. package/dist/chunks/{trash-ByNEb8Ml.js → trash-CiU_aN5l.js} +2 -2
  118. package/dist/chunks/{trash-ByNEb8Ml.js.map → trash-CiU_aN5l.js.map} +1 -1
  119. package/dist/chunks/{trash-Cf5vXORx.esm.js → trash-DPtM6xPA.esm.js} +2 -2
  120. package/dist/chunks/{trash-Cf5vXORx.esm.js.map → trash-DPtM6xPA.esm.js.map} +1 -1
  121. package/dist/chunks/{uom-field-wrapper-8yszfpSl.esm.js → uom-field-wrapper-CAiseYt4.esm.js} +19 -19
  122. package/dist/chunks/{uom-field-wrapper-8yszfpSl.esm.js.map → uom-field-wrapper-CAiseYt4.esm.js.map} +1 -1
  123. package/dist/chunks/{uom-field-wrapper-D_gXmJRH.js → uom-field-wrapper-CfIJw7ZV.js} +19 -19
  124. package/dist/chunks/{uom-field-wrapper-D_gXmJRH.js.map → uom-field-wrapper-CfIJw7ZV.js.map} +1 -1
  125. package/dist/chunks/{useAccountSetting-doM3fGsR.esm.js → useAccountSetting-DrGwhnpj.esm.js} +3 -3
  126. package/dist/chunks/{useAccountSetting-doM3fGsR.esm.js.map → useAccountSetting-DrGwhnpj.esm.js.map} +1 -1
  127. package/dist/chunks/{useAccountSetting-DGEsr6vN.js → useAccountSetting-I7fzFChI.js} +3 -3
  128. package/dist/chunks/{useAccountSetting-DGEsr6vN.js.map → useAccountSetting-I7fzFChI.js.map} +1 -1
  129. package/dist/chunks/{useAdditionalDiscountAutoCalc-D7-nXSil.js → useAdditionalDiscountAutoCalc-BUbintoK.js} +5 -5
  130. package/dist/chunks/{useAdditionalDiscountAutoCalc-D7-nXSil.js.map → useAdditionalDiscountAutoCalc-BUbintoK.js.map} +1 -1
  131. package/dist/chunks/{useAdditionalDiscountAutoCalc-D3i5vP8B.esm.js → useAdditionalDiscountAutoCalc-BvIf6tLH.esm.js} +5 -5
  132. package/dist/chunks/{useAdditionalDiscountAutoCalc-D3i5vP8B.esm.js.map → useAdditionalDiscountAutoCalc-BvIf6tLH.esm.js.map} +1 -1
  133. package/dist/chunks/{useAuth-CuiVcOzP.js → useAuth-aCrvscCD.js} +4 -4
  134. package/dist/chunks/{useAuth-CuiVcOzP.js.map → useAuth-aCrvscCD.js.map} +1 -1
  135. package/dist/chunks/{useAuth-DFE1sbvY.esm.js → useAuth-vR4jShdF.esm.js} +4 -4
  136. package/dist/chunks/{useAuth-DFE1sbvY.esm.js.map → useAuth-vR4jShdF.esm.js.map} +1 -1
  137. package/dist/chunks/{useLangauge-ZrCxPalB.js → useLangauge-B3TjZjWz.js} +2 -2
  138. package/dist/chunks/{useLangauge-ZrCxPalB.js.map → useLangauge-B3TjZjWz.js.map} +1 -1
  139. package/dist/chunks/{useLangauge-DFdu3inS.esm.js → useLangauge-yV4BTO-D.esm.js} +2 -2
  140. package/dist/chunks/{useLangauge-DFdu3inS.esm.js.map → useLangauge-yV4BTO-D.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
  162. package/dist/chunks/appbar-Bk8FldTl.js.map +0 -1
  163. package/dist/chunks/appbar-CxOrotSG.esm.js.map +0 -1
@@ -421,77 +421,70 @@ function requireReactPropTypesSecret() {
421
421
  ReactPropTypesSecret_1 = ReactPropTypesSecret;
422
422
  return ReactPropTypesSecret_1;
423
423
  }
424
- var has;
424
+ var has$1;
425
425
  var hasRequiredHas;
426
426
  function requireHas() {
427
- if (hasRequiredHas) return has;
427
+ if (hasRequiredHas) return has$1;
428
428
  hasRequiredHas = 1;
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() {
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
+ }
438
447
  };
448
+ }
449
+ function checkPropTypes(typeSpecs, values2, location, componentName, getStack) {
439
450
  if (process.env.NODE_ENV !== "production") {
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 : "")
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`."
481
458
  );
459
+ err.name = "Invariant Violation";
460
+ throw err;
482
461
  }
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
+ );
483
477
  }
484
478
  }
485
479
  }
486
480
  }
487
- checkPropTypes.resetWarningCache = function() {
488
- if (process.env.NODE_ENV !== "production") {
489
- loggedTypeFailures = {};
490
- }
491
- };
492
- checkPropTypes_1 = checkPropTypes;
493
- return checkPropTypes_1;
494
481
  }
482
+ checkPropTypes.resetWarningCache = function() {
483
+ if (process.env.NODE_ENV !== "production") {
484
+ loggedTypeFailures = {};
485
+ }
486
+ };
487
+ var checkPropTypes_1 = checkPropTypes;
495
488
  var factoryWithTypeCheckers;
496
489
  var hasRequiredFactoryWithTypeCheckers;
497
490
  function requireFactoryWithTypeCheckers() {
@@ -500,12 +493,12 @@ function requireFactoryWithTypeCheckers() {
500
493
  var ReactIs = requireReactIs();
501
494
  var assign2 = requireObjectAssign();
502
495
  var ReactPropTypesSecret = requireReactPropTypesSecret();
503
- var has2 = requireHas();
504
- var checkPropTypes = requireCheckPropTypes();
505
- var printWarning = function() {
496
+ var has = requireHas();
497
+ var checkPropTypes2 = checkPropTypes_1;
498
+ var printWarning2 = function() {
506
499
  };
507
500
  if (process.env.NODE_ENV !== "production") {
508
- printWarning = function(text) {
501
+ printWarning2 = function(text) {
509
502
  var message = "Warning: " + text;
510
503
  if (typeof console !== "undefined") {
511
504
  console.error(message);
@@ -582,7 +575,7 @@ function requireFactoryWithTypeCheckers() {
582
575
  var cacheKey = componentName + ":" + propName;
583
576
  if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
584
577
  manualPropTypeWarningCount < 3) {
585
- printWarning(
578
+ printWarning2(
586
579
  "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."
587
580
  );
588
581
  manualPropTypeCallCache[cacheKey] = true;
@@ -681,11 +674,11 @@ function requireFactoryWithTypeCheckers() {
681
674
  if (!Array.isArray(expectedValues)) {
682
675
  if (process.env.NODE_ENV !== "production") {
683
676
  if (arguments.length > 1) {
684
- printWarning(
677
+ printWarning2(
685
678
  "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])."
686
679
  );
687
680
  } else {
688
- printWarning("Invalid argument supplied to oneOf, expected an array.");
681
+ printWarning2("Invalid argument supplied to oneOf, expected an array.");
689
682
  }
690
683
  }
691
684
  return emptyFunctionThatReturnsNull;
@@ -719,7 +712,7 @@ function requireFactoryWithTypeCheckers() {
719
712
  return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
720
713
  }
721
714
  for (var key in propValue) {
722
- if (has2(propValue, key)) {
715
+ if (has(propValue, key)) {
723
716
  var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
724
717
  if (error instanceof Error) {
725
718
  return error;
@@ -732,13 +725,13 @@ function requireFactoryWithTypeCheckers() {
732
725
  }
733
726
  function createUnionTypeChecker(arrayOfTypeCheckers) {
734
727
  if (!Array.isArray(arrayOfTypeCheckers)) {
735
- process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
728
+ process.env.NODE_ENV !== "production" ? printWarning2("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
736
729
  return emptyFunctionThatReturnsNull;
737
730
  }
738
731
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
739
732
  var checker = arrayOfTypeCheckers[i];
740
733
  if (typeof checker !== "function") {
741
- printWarning(
734
+ printWarning2(
742
735
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
743
736
  );
744
737
  return emptyFunctionThatReturnsNull;
@@ -752,7 +745,7 @@ function requireFactoryWithTypeCheckers() {
752
745
  if (checkerResult == null) {
753
746
  return null;
754
747
  }
755
- if (checkerResult.data && has2(checkerResult.data, "expectedType")) {
748
+ if (checkerResult.data && has(checkerResult.data, "expectedType")) {
756
749
  expectedTypes.push(checkerResult.data.expectedType);
757
750
  }
758
751
  }
@@ -806,7 +799,7 @@ function requireFactoryWithTypeCheckers() {
806
799
  var allKeys = assign2({}, props[propName], shapeTypes);
807
800
  for (var key in allKeys) {
808
801
  var checker = shapeTypes[key];
809
- if (has2(shapeTypes, key) && typeof checker !== "function") {
802
+ if (has(shapeTypes, key) && typeof checker !== "function") {
810
803
  return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
811
804
  }
812
805
  if (!checker) {
@@ -928,8 +921,8 @@ function requireFactoryWithTypeCheckers() {
928
921
  }
929
922
  return propValue.constructor.name;
930
923
  }
931
- ReactPropTypes.checkPropTypes = checkPropTypes;
932
- ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
924
+ ReactPropTypes.checkPropTypes = checkPropTypes2;
925
+ ReactPropTypes.resetWarningCache = checkPropTypes2.resetWarningCache;
933
926
  ReactPropTypes.PropTypes = ReactPropTypes;
934
927
  return ReactPropTypes;
935
928
  };
@@ -4218,4 +4211,4 @@ export {
4218
4211
  internal_processStyles as y,
4219
4212
  resolveProps as z
4220
4213
  };
4221
- //# sourceMappingURL=identifier-DOIuZkWc.esm.js.map
4214
+ //# sourceMappingURL=identifier-u4E_J1of.esm.js.map