@wavemaker/app-rn-runtime 11.14.1-18.6421 → 11.14.1-18.6427

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 (102) hide show
  1. package/components/basic/bottomsheet/bottomsheet.component.js +12 -0
  2. package/components/basic/bottomsheet/bottomsheet.component.js.map +1 -1
  3. package/components/basic/progress-circle/progress-circle.component.js +3 -3
  4. package/components/basic/progress-circle/progress-circle.component.js.map +1 -1
  5. package/components/chart/area-chart/area-chart.component.js +26 -9
  6. package/components/chart/area-chart/area-chart.component.js.map +1 -1
  7. package/components/chart/bar-chart/bar-chart.component.js +38 -6
  8. package/components/chart/bar-chart/bar-chart.component.js.map +1 -1
  9. package/components/chart/bar-chart/bar-chart.props.js +1 -0
  10. package/components/chart/bar-chart/bar-chart.props.js.map +1 -1
  11. package/components/chart/basechart.component.js +8 -15
  12. package/components/chart/basechart.component.js.map +1 -1
  13. package/components/chart/basechart.props.js +1 -0
  14. package/components/chart/basechart.props.js.map +1 -1
  15. package/components/chart/bubble-chart/bubble-chart.component.js +22 -5
  16. package/components/chart/bubble-chart/bubble-chart.component.js.map +1 -1
  17. package/components/chart/line-chart/line-chart.component.js +22 -5
  18. package/components/chart/line-chart/line-chart.component.js.map +1 -1
  19. package/components/chart/pie-chart/pie-chart.component.js +14 -3
  20. package/components/chart/pie-chart/pie-chart.component.js.map +1 -1
  21. package/components/container/container.component.js +264 -11
  22. package/components/container/container.component.js.map +1 -1
  23. package/components/container/container.props.js +6 -0
  24. package/components/container/container.props.js.map +1 -1
  25. package/components/container/wizard/wizard.component.js +1 -1
  26. package/components/container/wizard/wizard.component.js.map +1 -1
  27. package/components/container/wizard/wizard.props.js +0 -1
  28. package/components/container/wizard/wizard.props.js.map +1 -1
  29. package/components/container/wizard/wizardstep/wizardstep.component.js +2 -2
  30. package/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -1
  31. package/components/data/form/form-field/form-field.component.js +9 -1
  32. package/components/data/form/form-field/form-field.component.js.map +1 -1
  33. package/components/data/form/form.component.js +36 -0
  34. package/components/data/form/form.component.js.map +1 -1
  35. package/components/data/form/form.props.js +6 -0
  36. package/components/data/form/form.props.js.map +1 -1
  37. package/components/dialogs/dialogcontent/dialogcontent.component.js +1 -2
  38. package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -1
  39. package/components/input/baseinput/baseinput.component.js +18 -3
  40. package/components/input/baseinput/baseinput.component.js.map +1 -1
  41. package/components/input/baseinput/baseinput.props.js +1 -0
  42. package/components/input/baseinput/baseinput.props.js.map +1 -1
  43. package/components/input/basenumber/basenumber.component.js +18 -3
  44. package/components/input/basenumber/basenumber.component.js.map +1 -1
  45. package/components/input/basenumber/basenumber.props.js +1 -0
  46. package/components/input/basenumber/basenumber.props.js.map +1 -1
  47. package/components/input/checkboxset/checkboxset.component.js +1 -1
  48. package/components/input/checkboxset/checkboxset.component.js.map +1 -1
  49. package/components/input/currency/currency.component.js +2 -0
  50. package/components/input/currency/currency.component.js.map +1 -1
  51. package/components/input/currency/currency.styles.js +10 -1
  52. package/components/input/currency/currency.styles.js.map +1 -1
  53. package/components/input/number/number.component.js +2 -0
  54. package/components/input/number/number.component.js.map +1 -1
  55. package/components/input/number/number.styles.js +4 -0
  56. package/components/input/number/number.styles.js.map +1 -1
  57. package/components/input/radioset/radioset.component.js +3 -6
  58. package/components/input/radioset/radioset.component.js.map +1 -1
  59. package/components/input/text/text.component.js +2 -0
  60. package/components/input/text/text.component.js.map +1 -1
  61. package/components/input/text/text.props.js +0 -1
  62. package/components/input/text/text.props.js.map +1 -1
  63. package/components/input/text/text.styles.js +17 -0
  64. package/components/input/text/text.styles.js.map +1 -1
  65. package/components/input/textarea/textarea.component.js +1 -0
  66. package/components/input/textarea/textarea.component.js.map +1 -1
  67. package/components/input/textarea/textarea.styles.js +4 -0
  68. package/components/input/textarea/textarea.styles.js.map +1 -1
  69. package/components/navigation/popover/popover.component.js +3 -3
  70. package/components/navigation/popover/popover.component.js.map +1 -1
  71. package/core/AppConfig.js.map +1 -1
  72. package/core/base.component.js +0 -5
  73. package/core/base.component.js.map +1 -1
  74. package/core/components/error-fallback/error-fallback.component.js +18 -50
  75. package/core/components/error-fallback/error-fallback.component.js.map +1 -1
  76. package/core/components/error-fallback/error-fallback.styles.js +1 -4
  77. package/core/components/error-fallback/error-fallback.styles.js.map +1 -1
  78. package/core/components/textinput.component.js +6 -2
  79. package/core/components/textinput.component.js.map +1 -1
  80. package/core/error-boundary.component.js +2 -46
  81. package/core/error-boundary.component.js.map +1 -1
  82. package/core/fixed-view.component.js +19 -2
  83. package/core/fixed-view.component.js.map +1 -1
  84. package/core/tappable.component.js +1 -1
  85. package/core/tappable.component.js.map +1 -1
  86. package/gestures/carousel-swipe.animation.js +0 -1
  87. package/gestures/carousel-swipe.animation.js.map +1 -1
  88. package/npm-shrinkwrap.json +41 -62
  89. package/package-lock.json +41 -62
  90. package/package.json +2 -2
  91. package/runtime/App.js +12 -174
  92. package/runtime/App.js.map +1 -1
  93. package/runtime/base-page.component.js +2 -11
  94. package/runtime/base-page.component.js.map +1 -1
  95. package/runtime/navigator/stack.navigator.js +0 -6
  96. package/runtime/navigator/stack.navigator.js.map +1 -1
  97. package/styles/theme.js +6 -0
  98. package/styles/theme.js.map +1 -1
  99. package/core/advanced-promise-rejection-tracker.js +0 -207
  100. package/core/advanced-promise-rejection-tracker.js.map +0 -1
  101. package/core/global-error-handler.service.js +0 -177
  102. package/core/global-error-handler.service.js.map +0 -1
package/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@wavemaker/app-rn-runtime",
3
- "version": "11.14.1-18.6421",
3
+ "version": "11.14.1-18.6427",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@wavemaker/app-rn-runtime",
9
- "version": "11.14.1-18.6421",
9
+ "version": "11.14.1-18.6427",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@expo/vector-icons": "15.0.2",
@@ -20,7 +20,7 @@
20
20
  "@react-navigation/drawer": "7.5.8",
21
21
  "@react-navigation/native": "7.1.18",
22
22
  "@react-navigation/stack": "7.4.8",
23
- "@wavemaker/variables": "11.14.1-18.6421",
23
+ "@wavemaker/variables": "11.14.1-18.6427",
24
24
  "axios": "1.8.3",
25
25
  "color": "4.2.3",
26
26
  "cross-env": "7.0.3",
@@ -5491,8 +5491,8 @@
5491
5491
  "license": "MIT"
5492
5492
  },
5493
5493
  "node_modules/@react-navigation/core": {
5494
- "version": "7.15.1",
5495
- "integrity": "sha512-Fqr6qxfZJIC4ewho7LtTa9zz6hcOzohX7D1lcDfrkGaYkS5xBwEZViGNxCJK/czUc74ua8NThyrObQFjB6Q/RQ==",
5494
+ "version": "7.16.1",
5495
+ "integrity": "sha512-xhquoyhKdqDfiL7LuupbwYnmauUGfVFGDEJO34m26k8zSN1eDjQ2stBZcHN8ILOI1PrG9885nf8ZmfaQxPS0ww==",
5496
5496
  "license": "MIT",
5497
5497
  "dependencies": {
5498
5498
  "@react-navigation/routers": "^7.5.3",
@@ -5529,8 +5529,8 @@
5529
5529
  }
5530
5530
  },
5531
5531
  "node_modules/@react-navigation/drawer/node_modules/@react-navigation/elements": {
5532
- "version": "2.9.8",
5533
- "integrity": "sha512-3gpwUmVnDJYvK9nFmAA/YXw0hmT/C/lZx8RkRMK+ux9l1T+32EWnQFnn34Wa1BMDX8HN2r64yrlW93DIzKI7Uw==",
5532
+ "version": "2.9.10",
5533
+ "integrity": "sha512-N8tuBekzTRb0pkMHFJGvmC6Q5OisSbt6gzvw7RHMnp4NDo5auVllT12sWFaTXf8mTduaLKNSrD/NZNaOqThCBg==",
5534
5534
  "license": "MIT",
5535
5535
  "dependencies": {
5536
5536
  "color": "^4.2.3",
@@ -5539,7 +5539,7 @@
5539
5539
  },
5540
5540
  "peerDependencies": {
5541
5541
  "@react-native-masked-view/masked-view": ">= 0.2.0",
5542
- "@react-navigation/native": "^7.1.31",
5542
+ "@react-navigation/native": "^7.1.33",
5543
5543
  "react": ">= 18.2.0",
5544
5544
  "react-native": "*",
5545
5545
  "react-native-safe-area-context": ">= 4.0.0"
@@ -5592,8 +5592,8 @@
5592
5592
  }
5593
5593
  },
5594
5594
  "node_modules/@react-navigation/stack/node_modules/@react-navigation/elements": {
5595
- "version": "2.9.8",
5596
- "integrity": "sha512-3gpwUmVnDJYvK9nFmAA/YXw0hmT/C/lZx8RkRMK+ux9l1T+32EWnQFnn34Wa1BMDX8HN2r64yrlW93DIzKI7Uw==",
5595
+ "version": "2.9.10",
5596
+ "integrity": "sha512-N8tuBekzTRb0pkMHFJGvmC6Q5OisSbt6gzvw7RHMnp4NDo5auVllT12sWFaTXf8mTduaLKNSrD/NZNaOqThCBg==",
5597
5597
  "license": "MIT",
5598
5598
  "dependencies": {
5599
5599
  "color": "^4.2.3",
@@ -5602,7 +5602,7 @@
5602
5602
  },
5603
5603
  "peerDependencies": {
5604
5604
  "@react-native-masked-view/masked-view": ">= 0.2.0",
5605
- "@react-navigation/native": "^7.1.31",
5605
+ "@react-navigation/native": "^7.1.33",
5606
5606
  "react": ">= 18.2.0",
5607
5607
  "react-native": "*",
5608
5608
  "react-native-safe-area-context": ">= 4.0.0"
@@ -6066,8 +6066,8 @@
6066
6066
  "license": "MIT"
6067
6067
  },
6068
6068
  "node_modules/@types/node": {
6069
- "version": "25.3.3",
6070
- "integrity": "sha512-DpzbrH7wIcBaJibpKo9nnSQL0MTRdnWttGyE5haGwK86xgMOkFLp7vEyfQPGLOJh5wNYiJ3V9PmUMDhV9u8kkQ==",
6069
+ "version": "25.3.5",
6070
+ "integrity": "sha512-oX8xrhvpiyRCQkG1MFchB09f+cXftgIXb3a7UUa4Y3wpmZPw5tyZGTLWhlESOLq1Rq6oDlc8npVU2/9xiCuXMA==",
6071
6071
  "license": "MIT",
6072
6072
  "dependencies": {
6073
6073
  "undici-types": "~7.18.0"
@@ -6334,8 +6334,8 @@
6334
6334
  "peer": true
6335
6335
  },
6336
6336
  "node_modules/@wavemaker/variables": {
6337
- "version": "11.14.1-18.6421",
6338
- "integrity": "sha512-5pX7Hi8/86YAuZOIQdhRITYa+MNwoNC04w2KnHuFXV4wmzS7oRiev6uiOBHSoz6kGbcS1If/5xEvHg1ZBwWpyA==",
6337
+ "version": "11.14.1-18.6427",
6338
+ "integrity": "sha512-J7AgdQHvi5QWGjXHtYEO4TXpIn7zreZU32Fmqzv+QlMjK+3aEz6m+VzKv7hU+9nn97Bl2iG9FRBtM4hdw1Z6YQ==",
6339
6339
  "license": "ISC",
6340
6340
  "dependencies": {
6341
6341
  "@metrichor/jmespath": "^0.3.1",
@@ -8530,8 +8530,8 @@
8530
8530
  }
8531
8531
  },
8532
8532
  "node_modules/caniuse-lite": {
8533
- "version": "1.0.30001775",
8534
- "integrity": "sha512-s3Qv7Lht9zbVKE9XoTyRG6wVDCKdtOFIjBGg3+Yhn6JaytuNKPIjBMTMIY1AnOH3seL5mvF+x33oGAyK3hVt3A==",
8533
+ "version": "1.0.30001777",
8534
+ "integrity": "sha512-tmN+fJxroPndC74efCdp12j+0rk0RHwV5Jwa1zWaFVyw2ZxAuPeG8ZgWC3Wz7uSjT3qMRQ5XHZ4COgQmsCMJAQ==",
8535
8535
  "funding": [
8536
8536
  {
8537
8537
  "type": "opencollective",
@@ -9493,8 +9493,8 @@
9493
9493
  "license": "MIT"
9494
9494
  },
9495
9495
  "node_modules/cosmiconfig": {
9496
- "version": "9.0.0",
9497
- "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==",
9496
+ "version": "9.0.1",
9497
+ "integrity": "sha512-hr4ihw+DBqcvrsEDioRO31Z17x71pUYoNe/4h6Z0wB72p7MU7/9gH8Q3s12NFhHPfYBBOV3qyfUxmr/Yn3shnQ==",
9498
9498
  "dev": true,
9499
9499
  "license": "MIT",
9500
9500
  "dependencies": {
@@ -10400,8 +10400,8 @@
10400
10400
  "license": "MIT"
10401
10401
  },
10402
10402
  "node_modules/electron-to-chromium": {
10403
- "version": "1.5.302",
10404
- "integrity": "sha512-sM6HAN2LyK82IyPBpznDRqlTQAtuSaO+ShzFiWTvoMJLHyZ+Y39r8VMfHzwbU8MVBzQ4Wdn85+wlZl2TLGIlwg==",
10403
+ "version": "1.5.307",
10404
+ "integrity": "sha512-5z3uFKBWjiNR44nFcYdkcXjKMbg5KXNdciu7mhTPo9tB7NbqSNP2sSnGR+fqknZSCwKkBN+oxiiajWs4dT6ORg==",
10405
10405
  "license": "ISC"
10406
10406
  },
10407
10407
  "node_modules/emittery": {
@@ -11273,13 +11273,13 @@
11273
11273
  }
11274
11274
  },
11275
11275
  "node_modules/expo": {
11276
- "version": "55.0.4",
11277
- "integrity": "sha512-cbQBPYwmH6FRvh942KR8mSdEcrVdsIMkjdHthtf59zlpzgrk28FabhOdL/Pc9WuS+CsIP3EIQbZqmLkTjv6qPg==",
11276
+ "version": "55.0.5",
11277
+ "integrity": "sha512-toVYbRU0gH50QSlIyrAswXD87RKi2pcJcHZpBDuqU3mIQZzJkTcWgRLWN/2R/wnd3kuJTtW5xlr5ndVG6xEWxQ==",
11278
11278
  "license": "MIT",
11279
11279
  "peer": true,
11280
11280
  "dependencies": {
11281
11281
  "@babel/runtime": "^7.20.0",
11282
- "@expo/cli": "55.0.14",
11282
+ "@expo/cli": "55.0.15",
11283
11283
  "@expo/config": "~55.0.8",
11284
11284
  "@expo/config-plugins": "~55.0.6",
11285
11285
  "@expo/devtools": "55.0.2",
@@ -11297,7 +11297,7 @@
11297
11297
  "expo-font": "~55.0.4",
11298
11298
  "expo-keep-awake": "~55.0.4",
11299
11299
  "expo-modules-autolinking": "55.0.8",
11300
- "expo-modules-core": "55.0.13",
11300
+ "expo-modules-core": "55.0.14",
11301
11301
  "pretty-format": "^29.7.0",
11302
11302
  "react-refresh": "^0.14.2",
11303
11303
  "whatwg-url-minimum": "^0.1.1"
@@ -11680,8 +11680,8 @@
11680
11680
  }
11681
11681
  },
11682
11682
  "node_modules/expo/node_modules/@expo/cli": {
11683
- "version": "55.0.14",
11684
- "integrity": "sha512-glXPSjjLCIz+KX/ezqLTGIF9eTE1lexiCxunvB3loRZNnGeBDGW3eF++cuPKudW26jeC6bqZkcqBG7Lp0Sp9qg==",
11683
+ "version": "55.0.15",
11684
+ "integrity": "sha512-Qd4aF2+wT9LtdV7G/gULbx/t8FJ/OVtwuNkLcZt1XlosQ5XX/C/3ywZXYl+/bYcHUmuO1TBD3Fg05bNlmL6vrw==",
11685
11685
  "license": "MIT",
11686
11686
  "peer": true,
11687
11687
  "dependencies": {
@@ -11966,8 +11966,8 @@
11966
11966
  }
11967
11967
  },
11968
11968
  "node_modules/expo/node_modules/expo-modules-core": {
11969
- "version": "55.0.13",
11970
- "integrity": "sha512-DYLQTOJAR7jD3M9S0sH9myZaPEtShdicHrPiWcupIXMeMkQxFzErx+adUI8gZPy4AU45BgeGgtaogRfT25iLfw==",
11969
+ "version": "55.0.14",
11970
+ "integrity": "sha512-eAerOnnhbZitUAKbY7B61kIudiabAz/m/oMGINms2+GeY1DRhdvrm5aAkhkHHmykPrg58PPryXtmF14YAYWViw==",
11971
11971
  "license": "MIT",
11972
11972
  "peer": true,
11973
11973
  "dependencies": {
@@ -12392,8 +12392,8 @@
12392
12392
  }
12393
12393
  },
12394
12394
  "node_modules/fetch-nodeshim": {
12395
- "version": "0.4.8",
12396
- "integrity": "sha512-YW5vG33rabBq6JpYosLNoXoaMN69/WH26MeeX2hkDVjN6UlvRGq3Wkazl9H0kisH95aMu/HtHL64JUvv/+Nv/g==",
12395
+ "version": "0.4.9",
12396
+ "integrity": "sha512-XIQWlB2A4RZ7NebXWGxS0uDMdvRHkiUDTghBVJKFg9yEOd45w/PP8cZANuPf2H08W6Cor3+2n7Q6TTZgAS3Fkw==",
12397
12397
  "license": "MIT",
12398
12398
  "peer": true
12399
12399
  },
@@ -18388,8 +18388,8 @@
18388
18388
  "license": "MIT"
18389
18389
  },
18390
18390
  "node_modules/node-releases": {
18391
- "version": "2.0.27",
18392
- "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==",
18391
+ "version": "2.0.36",
18392
+ "integrity": "sha512-TdC8FSgHz8Mwtw9g5L4gR/Sh9XhSP/0DEkQxfEFXOpiul5IiHgHan2VhYYb6agDSfp4KuvltmGApc8HMgUrIkA==",
18393
18393
  "license": "MIT"
18394
18394
  },
18395
18395
  "node_modules/normalize-package-data": {
@@ -19738,16 +19738,6 @@
19738
19738
  "node": ">=0.12"
19739
19739
  }
19740
19740
  },
19741
- "node_modules/randombytes": {
19742
- "version": "2.1.0",
19743
- "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",
19744
- "dev": true,
19745
- "license": "MIT",
19746
- "peer": true,
19747
- "dependencies": {
19748
- "safe-buffer": "^5.1.0"
19749
- }
19750
- },
19751
19741
  "node_modules/range-parser": {
19752
19742
  "version": "1.2.1",
19753
19743
  "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
@@ -20098,8 +20088,8 @@
20098
20088
  }
20099
20089
  },
20100
20090
  "node_modules/react-native-is-edge-to-edge": {
20101
- "version": "1.2.1",
20102
- "integrity": "sha512-FLbPWl/MyYQWz+KwqOZsSyj2JmLKglHatd3xLZWskXOpRaio4LfEDEz8E/A6uD8QoTHW6Aobw1jbEwK7KMgR7Q==",
20091
+ "version": "1.3.1",
20092
+ "integrity": "sha512-NIXU/iT5+ORyCc7p0z2nnlkouYKX425vuU1OEm6bMMtWWR9yvb+Xg5AZmImTKoF9abxCPqrKC3rOZsKzUYgYZA==",
20103
20093
  "license": "MIT",
20104
20094
  "peerDependencies": {
20105
20095
  "react": "*",
@@ -21726,16 +21716,6 @@
21726
21716
  "node": ">=0.10.0"
21727
21717
  }
21728
21718
  },
21729
- "node_modules/serialize-javascript": {
21730
- "version": "6.0.2",
21731
- "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==",
21732
- "dev": true,
21733
- "license": "BSD-3-Clause",
21734
- "peer": true,
21735
- "dependencies": {
21736
- "randombytes": "^2.1.0"
21737
- }
21738
- },
21739
21719
  "node_modules/serve-static": {
21740
21720
  "version": "1.16.3",
21741
21721
  "integrity": "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==",
@@ -22698,8 +22678,8 @@
22698
22678
  }
22699
22679
  },
22700
22680
  "node_modules/terser-webpack-plugin": {
22701
- "version": "5.3.16",
22702
- "integrity": "sha512-h9oBFCWrq78NyWWVcSwZarJkZ01c2AyGrzs1crmHZO3QUg9D61Wu4NPjBy69n7JqylFF5y+CsUZYmYEIZ3mR+Q==",
22681
+ "version": "5.3.17",
22682
+ "integrity": "sha512-YR7PtUp6GMU91BgSJmlaX/rS2lGDbAF7D+Wtq7hRO+MiljNmodYvqslzCFiYVAgW+Qoaaia/QUIP4lGXufjdZw==",
22703
22683
  "dev": true,
22704
22684
  "license": "MIT",
22705
22685
  "peer": true,
@@ -22707,7 +22687,6 @@
22707
22687
  "@jridgewell/trace-mapping": "^0.3.25",
22708
22688
  "jest-worker": "^27.4.5",
22709
22689
  "schema-utils": "^4.3.0",
22710
- "serialize-javascript": "^6.0.2",
22711
22690
  "terser": "^5.31.1"
22712
22691
  },
22713
22692
  "engines": {
@@ -24169,8 +24148,8 @@
24169
24148
  }
24170
24149
  },
24171
24150
  "node_modules/webpack": {
24172
- "version": "5.105.3",
24173
- "integrity": "sha512-LLBBA4oLmT7sZdHiYE/PeVuifOxYyE2uL/V+9VQP7YSYdJU7bSf7H8bZRRxW8kEPMkmVjnrXmoR3oejIdX0xbg==",
24151
+ "version": "5.105.4",
24152
+ "integrity": "sha512-jTywjboN9aHxFlToqb0K0Zs9SbBoW4zRUlGzI2tYNxVYcEi/IPpn+Xi4ye5jTLvX2YeLuic/IvxNot+Q1jMoOw==",
24174
24153
  "dev": true,
24175
24154
  "license": "MIT",
24176
24155
  "peer": true,
@@ -24185,7 +24164,7 @@
24185
24164
  "acorn-import-phases": "^1.0.3",
24186
24165
  "browserslist": "^4.28.1",
24187
24166
  "chrome-trace-event": "^1.0.2",
24188
- "enhanced-resolve": "^5.19.0",
24167
+ "enhanced-resolve": "^5.20.0",
24189
24168
  "es-module-lexer": "^2.0.0",
24190
24169
  "eslint-scope": "5.1.1",
24191
24170
  "events": "^3.2.0",
@@ -24197,7 +24176,7 @@
24197
24176
  "neo-async": "^2.6.2",
24198
24177
  "schema-utils": "^4.3.3",
24199
24178
  "tapable": "^2.3.0",
24200
- "terser-webpack-plugin": "^5.3.16",
24179
+ "terser-webpack-plugin": "^5.3.17",
24201
24180
  "watchpack": "^2.5.1",
24202
24181
  "webpack-sources": "^3.3.4"
24203
24182
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/app-rn-runtime",
3
- "version": "11.14.1-18.6421",
3
+ "version": "11.14.1-18.6427",
4
4
  "description": "''",
5
5
  "main": "index",
6
6
  "module": "index",
@@ -59,7 +59,7 @@
59
59
  "@react-navigation/drawer": "7.5.8",
60
60
  "@react-navigation/native": "7.1.18",
61
61
  "@react-navigation/stack": "7.4.8",
62
- "@wavemaker/variables": "11.14.1-18.6421",
62
+ "@wavemaker/variables": "11.14.1-18.6427",
63
63
  "axios": "1.8.3",
64
64
  "color": "4.2.3",
65
65
  "cross-env": "7.0.3",
package/runtime/App.js CHANGED
@@ -58,8 +58,6 @@ import moment from 'moment';
58
58
  import ErrorBoundary from '../core/error-boundary.component';
59
59
  import { ScreenCaptureProtectionProvider } from '../core/screen-capture-protection.service';
60
60
  import { allowScreenCaptureAsync, preventScreenCaptureAsync } from 'expo-screen-capture';
61
- import { setupGlobalJsErrorHandler } from '../core/global-error-handler.service';
62
- import Fallback from '../core/components/error-fallback/error-fallback.component';
63
61
  //some old react libraries need this
64
62
  View['propTypes'] = {
65
63
  style: ProtoTypes.any
@@ -130,8 +128,6 @@ export default class BaseApp extends React.Component {
130
128
  }));
131
129
  _defineProperty(this, "networkStatus", {});
132
130
  _defineProperty(this, "statusbarInsets", void 0);
133
- _defineProperty(this, "globalError", null);
134
- _defineProperty(this, "globalJsErrorHandlerCleanup", null);
135
131
  _defineProperty(this, "enableProtection", async () => {
136
132
  try {
137
133
  if (Platform.OS !== 'web') {
@@ -154,9 +150,6 @@ export default class BaseApp extends React.Component {
154
150
  setTimeout(() => SplashScreen.hideAsync(), 10000);
155
151
  this.appConfig.app = this;
156
152
  this.appConfig.drawer = new DrawerImpl(() => this.refresh());
157
-
158
- // Register app instance in injector for Error Boundary access
159
- injector.set('APP_INSTANCE', this);
160
153
  AppSpinnerService.setDefaultOptions({
161
154
  spinner: this.appConfig.spinner
162
155
  });
@@ -252,62 +245,10 @@ export default class BaseApp extends React.Component {
252
245
  try {
253
246
  this.onPageReady(activePageName, activePageScope);
254
247
  } catch (e) {
255
- this.handleCallbackError(e, `Error in onPageReady callback`);
248
+ console.error(e);
256
249
  }
257
250
  }
258
251
  onPageReady(activePageName, activePageScope) {}
259
- triggerOnError(error, errorInfo, errorType) {
260
- try {
261
- this.onError(error, errorInfo, errorType);
262
- } catch (e) {
263
- console.error('Error in onError callback:', e);
264
- }
265
- }
266
- onError(error, errorInfo, errorType) {
267
- // Empty implementation - user can override in app.js
268
- // errorType: 'render' for React component errors, 'javascript' for other JS errors
269
- }
270
- handleCallbackError(error, context) {
271
- var _this$appConfig;
272
- console.error(error);
273
- const errorObj = error instanceof Error ? error : new Error(String(error));
274
-
275
- // Check if error handling is enabled
276
- const prefs = (_this$appConfig = this.appConfig) === null || _this$appConfig === void 0 ? void 0 : _this$appConfig.preferences;
277
- const globalEnabled = (prefs === null || prefs === void 0 ? void 0 : prefs.enableGlobalErrorHandler) === true;
278
- const showDefaultFallback = (prefs === null || prefs === void 0 ? void 0 : prefs.showDefaultErrorFallback) !== false;
279
- if (!globalEnabled) {
280
- return;
281
- }
282
-
283
- // Immediately hide all overlays to ensure error fallback is visible
284
- try {
285
- // Hide Expo SplashScreen
286
- SplashScreen.hideAsync();
287
-
288
- // Hide App Spinner (force hide regardless of count)
289
- AppSpinnerService.hide();
290
- } catch (hideError) {
291
- console.warn('Error hiding overlays:', hideError);
292
- }
293
-
294
- // Trigger user callback
295
- this.triggerOnError(errorObj, context, 'javascript');
296
-
297
- // Only set global error state if fallback should be shown
298
- if (showDefaultFallback) {
299
- this.globalError = {
300
- error: errorObj,
301
- errorInfo: context,
302
- errorType: 'javascript',
303
- isFatal: false
304
- };
305
-
306
- // Set isStarted to true so app template will render the error screen
307
- this.isStarted = true;
308
- this.forceUpdate(); // Show fallback screen
309
- }
310
- }
311
252
  setTimezone(timezone) {
312
253
  AppI18nService.setTimezone(timezone);
313
254
  }
@@ -345,18 +286,9 @@ export default class BaseApp extends React.Component {
345
286
  config.headers['X-Requested-With'] = 'XMLHttpRequest';
346
287
  console.log('onBeforeService call invoked on ' + config.url);
347
288
  this.notify('beforeServiceCall', config);
348
- try {
349
- return this.onBeforeServiceCall(config);
350
- } catch (e) {
351
- this.handleCallbackError(e, `Error in onBeforeServiceCall callback`);
352
- return config; // Return original config as fallback
353
- }
289
+ return this.onBeforeServiceCall(config);
354
290
  }), axios.interceptors.response.use(response => {
355
- try {
356
- this.onServiceSuccess(response.data, response);
357
- } catch (e) {
358
- this.handleCallbackError(e, `Error in onServiceSuccess callback`);
359
- }
291
+ this.onServiceSuccess(response.data, response);
360
292
  this.notify('afterServiceCall', response.config, response);
361
293
  return response;
362
294
  }, error => {
@@ -370,41 +302,8 @@ export default class BaseApp extends React.Component {
370
302
  errMsg = error.message || "Service Call Failed";
371
303
  }
372
304
  error.message = errMsg;
373
-
374
- // Mark as service error for priority handling
375
- // Set flags on both error and config to handle wrapping scenarios
376
- error.__wmServiceError = true;
377
- error.__wmServiceErrorHandled = false;
378
- if (error.config) {
379
- error.config.__wmServiceError = true;
380
- error.config.__wmServiceErrorHandled = false;
381
- }
382
305
  console.error(`Error ${errMsg} recieved from ${(_error$response = error.response) === null || _error$response === void 0 || (_error$response = _error$response.config) === null || _error$response === void 0 ? void 0 : _error$response.url}`);
383
- try {
384
- var _this$appConfig2;
385
- this.onServiceError(error.message, error);
386
- // Mark as handled to prevent onError from being called
387
- error.__wmServiceErrorHandled = true;
388
- if (error.config) {
389
- error.config.__wmServiceErrorHandled = true;
390
- }
391
-
392
- // Show fallback for service errors if enabled (but don't call onError)
393
- const prefs = (_this$appConfig2 = this.appConfig) === null || _this$appConfig2 === void 0 ? void 0 : _this$appConfig2.preferences;
394
- const globalEnabled = (prefs === null || prefs === void 0 ? void 0 : prefs.enableGlobalErrorHandler) === true;
395
- const showDefaultFallback = (prefs === null || prefs === void 0 ? void 0 : prefs.showDefaultErrorFallback) !== false;
396
- if (globalEnabled && showDefaultFallback) {
397
- this.globalError = {
398
- error: error,
399
- errorInfo: (error === null || error === void 0 ? void 0 : error.stack) || (error === null || error === void 0 ? void 0 : error.toString()),
400
- errorType: 'javascript',
401
- isFatal: false
402
- };
403
- this.forceUpdate(); // Trigger re-render to show error fallback
404
- }
405
- } catch (e) {
406
- this.handleCallbackError(e, `Error in onServiceError callback`);
407
- }
306
+ this.onServiceError(error.message, error);
408
307
  if ((_error$response2 = error.response) !== null && _error$response2 !== void 0 && (_error$response2 = _error$response2.config.url) !== null && _error$response2 !== void 0 && _error$response2.startsWith(this.appConfig.url) && !((_error$response3 = error.response) !== null && _error$response3 !== void 0 && (_error$response3 = _error$response3.config.url) !== null && _error$response3 !== void 0 && _error$response3.includes('/services/')) && ((_error$response4 = error.response) === null || _error$response4 === void 0 ? void 0 : _error$response4.status) === 401) {
409
308
  var _this$appConfig$curre5, _this$appConfig$curre6;
410
309
  ((_this$appConfig$curre5 = this.appConfig.currentPage) === null || _this$appConfig$curre5 === void 0 ? void 0 : _this$appConfig$curre5.pageName) !== 'Login' && ((_this$appConfig$curre6 = this.appConfig.currentPage) === null || _this$appConfig$curre6 === void 0 ? void 0 : _this$appConfig$curre6.goToPage('Login'));
@@ -428,34 +327,6 @@ export default class BaseApp extends React.Component {
428
327
  return Promise.all(this.startUpVariables.map(s => this.Variables[s] && this.Variables[s].invoke())).catch(() => {});
429
328
  }
430
329
  componentDidMount() {
431
- var _this$appConfig3;
432
- // Setup global JS error handler with granular control
433
- const prefs = (_this$appConfig3 = this.appConfig) === null || _this$appConfig3 === void 0 ? void 0 : _this$appConfig3.preferences;
434
- const globalEnabled = (prefs === null || prefs === void 0 ? void 0 : prefs.enableGlobalErrorHandler) === true;
435
- const enableSyncErrors = (prefs === null || prefs === void 0 ? void 0 : prefs.enableJsSyncErrors) !== false;
436
- const enableAsyncErrors = (prefs === null || prefs === void 0 ? void 0 : prefs.enableJsAsyncErrors) !== false;
437
- const showFallback = (prefs === null || prefs === void 0 ? void 0 : prefs.showDefaultErrorFallback) !== false;
438
-
439
- // Only setup if master switch is on and at least one error type is enabled
440
- if (globalEnabled && (enableSyncErrors || enableAsyncErrors)) {
441
- this.globalJsErrorHandlerCleanup = setupGlobalJsErrorHandler((error, isFatal, errorInfo) => {
442
- // Trigger user error callback
443
- this.triggerOnError(error, errorInfo, 'javascript');
444
-
445
- // Only set global error state if fallback should be shown
446
- if (showFallback) {
447
- this.globalError = {
448
- error,
449
- errorInfo,
450
- errorType: 'javascript',
451
- isFatal
452
- };
453
- this.forceUpdate(); // Trigger re-render to show error fallback
454
- }
455
- }, true,
456
- // suppressDefaultErrorScreen = true when global error handler is enabled
457
- enableSyncErrors, enableAsyncErrors);
458
- }
459
330
  AppSpinnerService.show({
460
331
  spinner: this.appConfig.spinner
461
332
  });
@@ -471,12 +342,7 @@ export default class BaseApp extends React.Component {
471
342
  }));
472
343
  this.startUpActions.map(a => this.Actions[a] && this.Actions[a].invoke());
473
344
  return this.triggerStartUpVariables().then(() => {
474
- try {
475
- this.onAppVariablesReady();
476
- } catch (e) {
477
- this.handleCallbackError(e, `Error in onAppVariablesReady callback`);
478
- return; // Early return to prevent subsequent code from executing
479
- }
345
+ this.onAppVariablesReady();
480
346
  this.isStarted = true;
481
347
  this.forceUpdate();
482
348
  }, () => {});
@@ -486,11 +352,6 @@ export default class BaseApp extends React.Component {
486
352
  axios.interceptors.request.eject(id);
487
353
  });
488
354
  this.cleanup.forEach(fn => fn());
489
-
490
- // Cleanup global JS error handler
491
- if (this.globalJsErrorHandlerCleanup) {
492
- this.globalJsErrorHandlerCleanup();
493
- }
494
355
  }
495
356
  refresh() {
496
357
  this.appConfig.refresh();
@@ -515,8 +376,8 @@ export default class BaseApp extends React.Component {
515
376
  }, content))))))));
516
377
  }
517
378
  renderToasters() {
518
- var _this$appConfig4;
519
- const isEdgeToEdgeApp = !!((_this$appConfig4 = this.appConfig) !== null && _this$appConfig4 !== void 0 && (_this$appConfig4 = _this$appConfig4.edgeToEdgeConfig) !== null && _this$appConfig4 !== void 0 && _this$appConfig4.isEdgeToEdgeApp);
379
+ var _this$appConfig;
380
+ const isEdgeToEdgeApp = !!((_this$appConfig = this.appConfig) !== null && _this$appConfig !== void 0 && (_this$appConfig = _this$appConfig.edgeToEdgeConfig) !== null && _this$appConfig !== void 0 && _this$appConfig.isEdgeToEdgeApp);
520
381
  this.toastsOpened = AppToastService.toastsOpened.length;
521
382
  return /*#__PURE__*/React.createElement(WmMemo, {
522
383
  watcher: this.watcher,
@@ -709,13 +570,13 @@ export default class BaseApp extends React.Component {
709
570
  return false;
710
571
  }
711
572
  renderApp(commonPartial) {
712
- var _this$appConfig5, _this$appConfig6;
573
+ var _this$appConfig2, _this$appConfig3;
713
574
  this.autoUpdateVariables.forEach(value => {
714
575
  var _this$Variables$value;
715
576
  return (_this$Variables$value = this.Variables[value]) === null || _this$Variables$value === void 0 ? void 0 : _this$Variables$value.invokeOnParamChange();
716
577
  });
717
- const edgeToEdgeConfig = (_this$appConfig5 = this.appConfig) === null || _this$appConfig5 === void 0 ? void 0 : _this$appConfig5.edgeToEdgeConfig;
718
- const statusbarConfig = (_this$appConfig6 = this.appConfig) === null || _this$appConfig6 === void 0 || (_this$appConfig6 = _this$appConfig6.edgeToEdgeConfig) === null || _this$appConfig6 === void 0 ? void 0 : _this$appConfig6.statusbarConfig;
578
+ const edgeToEdgeConfig = (_this$appConfig2 = this.appConfig) === null || _this$appConfig2 === void 0 ? void 0 : _this$appConfig2.edgeToEdgeConfig;
579
+ const statusbarConfig = (_this$appConfig3 = this.appConfig) === null || _this$appConfig3 === void 0 || (_this$appConfig3 = _this$appConfig3.edgeToEdgeConfig) === null || _this$appConfig3 === void 0 ? void 0 : _this$appConfig3.statusbarConfig;
719
580
  const isEdgeToEdgeApp = !!(edgeToEdgeConfig !== null && edgeToEdgeConfig !== void 0 && edgeToEdgeConfig.isEdgeToEdgeApp);
720
581
  const Wrapper = isEdgeToEdgeApp ? View : SafeAreaView;
721
582
  return /*#__PURE__*/React.createElement(SafeAreaProvider, null, /*#__PURE__*/React.createElement(SafeAreaInsetsContext.Consumer, null, (insets = {
@@ -738,8 +599,7 @@ export default class BaseApp extends React.Component {
738
599
  }), /*#__PURE__*/React.createElement(ThemeProvider, {
739
600
  value: this.appConfig.theme
740
601
  }, /*#__PURE__*/React.createElement(ErrorBoundary, {
741
- currentPage: this.appConfig.currentPage,
742
- app: this
602
+ currentPage: this.appConfig.currentPage
743
603
  }, this.renderIosStatusbarInsetsView(isEdgeToEdgeApp, insets), /*#__PURE__*/React.createElement(View, {
744
604
  style: {
745
605
  flex: 1
@@ -757,29 +617,7 @@ export default class BaseApp extends React.Component {
757
617
  drawerAnimation: (_this$appConfig$drawe2 = this.appConfig.drawer) === null || _this$appConfig$drawe2 === void 0 ? void 0 : _this$appConfig$drawe2.getAnimation()
758
618
  }), /*#__PURE__*/React.createElement(FixedViewContainer, null, commonPartial))), this.appConfig.url ? /*#__PURE__*/React.createElement(WmNetworkInfoToaster, {
759
619
  appLocale: this.appConfig.appLocale
760
- }) : null, this.renderToasters(), this.renderDialogs(), this.renderDisplayManager(), this.globalError && /*#__PURE__*/React.createElement(View, {
761
- style: {
762
- position: 'absolute',
763
- height: "100%",
764
- width: "100%",
765
- top: 0,
766
- left: 0,
767
- right: 0,
768
- bottom: 0,
769
- zIndex: 999999,
770
- elevation: 999999
771
- }
772
- }, /*#__PURE__*/React.createElement(Fallback, {
773
- error: this.globalError.error,
774
- info: {
775
- errorInfo: this.globalError.errorInfo
776
- },
777
- errorType: this.globalError.errorType,
778
- resetErrorBoundary: () => {
779
- this.globalError = null;
780
- this.forceUpdate();
781
- }
782
- }))), isEdgeToEdgeApp && (statusbarConfig === null || statusbarConfig === void 0 ? void 0 : statusbarConfig.type) === 'blur' ? this.renderBlurView("top", insets, statusbarConfig) : null, isEdgeToEdgeApp && (statusbarConfig === null || statusbarConfig === void 0 ? void 0 : statusbarConfig.type) === 'transparent' ? this.renderTransparentView("top", insets, statusbarConfig) : null))))));
620
+ }) : null, this.renderToasters(), this.renderDialogs(), this.renderDisplayManager()), isEdgeToEdgeApp && (statusbarConfig === null || statusbarConfig === void 0 ? void 0 : statusbarConfig.type) === 'blur' ? this.renderBlurView("top", insets, statusbarConfig) : null, isEdgeToEdgeApp && (statusbarConfig === null || statusbarConfig === void 0 ? void 0 : statusbarConfig.type) === 'transparent' ? this.renderTransparentView("top", insets, statusbarConfig) : null))))));
783
621
  }));
784
622
  }
785
623
  }