@wavemaker/app-rn-runtime 11.11.6-rc.6191 → 11.11.7-rc.217
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/basic/button/button.component.js +0 -5
- package/components/basic/button/button.component.js.map +1 -1
- package/components/basic/icon/icon.component.js +5 -5
- package/components/basic/icon/icon.component.js.map +1 -1
- package/components/basic/icon/icon.props.js +1 -0
- package/components/basic/icon/icon.props.js.map +1 -1
- package/components/basic/picture/picture.component.js +5 -2
- package/components/basic/picture/picture.component.js.map +1 -1
- package/components/basic/picture/picture.props.js +1 -0
- package/components/basic/picture/picture.props.js.map +1 -1
- package/components/chart/basechart.component.js +11 -15
- package/components/chart/basechart.component.js.map +1 -1
- package/components/data/list/list.component.js +22 -4
- package/components/data/list/list.component.js.map +1 -1
- package/components/data/list/list.props.js +2 -0
- package/components/data/list/list.props.js.map +1 -1
- package/components/data/list/list.styles.js +1 -0
- package/components/data/list/list.styles.js.map +1 -1
- package/components/input/slider/slider.component.js +43 -6
- package/components/input/slider/slider.component.js.map +1 -1
- package/components/input/switch/switch.component.js +1 -1
- package/components/input/switch/switch.component.js.map +1 -1
- package/components/input/switch/switch.styles.js +14 -10
- package/components/input/switch/switch.styles.js.map +1 -1
- package/components/page/partial-container/partial-container.component.js +5 -1
- package/components/page/partial-container/partial-container.component.js.map +1 -1
- package/components/page/partial-container/partial-container.props.js +1 -0
- package/components/page/partial-container/partial-container.props.js.map +1 -1
- package/core/AppConfig.js.map +1 -1
- package/core/accessibility.js +15 -1
- package/core/accessibility.js.map +1 -1
- package/core/partial.service.js.map +1 -1
- package/core/responsive.utils.js +48 -0
- package/core/responsive.utils.js.map +1 -0
- package/core/tappable.component.js +2 -2
- package/core/tappable.component.js.map +1 -1
- package/core/utils.js +13 -0
- package/core/utils.js.map +1 -1
- package/npm-shrinkwrap.json +60 -58
- package/package-lock.json +60 -58
- package/package.json +2 -2
- package/runtime/services/partial.service.js +12 -1
- package/runtime/services/partial.service.js.map +1 -1
- package/styles/theme.js +27 -8
- package/styles/theme.js.map +1 -1
package/package-lock.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wavemaker/app-rn-runtime",
|
3
|
-
"version": "11.11.
|
3
|
+
"version": "11.11.7-rc.217",
|
4
4
|
"lockfileVersion": 3,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "@wavemaker/app-rn-runtime",
|
9
|
-
"version": "11.11.
|
9
|
+
"version": "11.11.7-rc.217",
|
10
10
|
"license": "MIT",
|
11
11
|
"dependencies": {
|
12
12
|
"@expo/vector-icons": "14.0.2",
|
@@ -20,7 +20,7 @@
|
|
20
20
|
"@react-navigation/drawer": "6.6.3",
|
21
21
|
"@react-navigation/native": "6.1.7",
|
22
22
|
"@react-navigation/stack": "6.3.29",
|
23
|
-
"@wavemaker/variables": "11.11.
|
23
|
+
"@wavemaker/variables": "11.11.7-rc.217",
|
24
24
|
"axios": "1.6.8",
|
25
25
|
"color": "4.2.3",
|
26
26
|
"cross-env": "7.0.3",
|
@@ -464,12 +464,12 @@
|
|
464
464
|
}
|
465
465
|
},
|
466
466
|
"node_modules/@babel/helpers": {
|
467
|
-
"version": "7.
|
468
|
-
"integrity": "sha512
|
467
|
+
"version": "7.28.2",
|
468
|
+
"integrity": "sha512-/V9771t+EgXz62aCcyofnQhGM8DQACbRhvzKFsXKC9QM+5MadF8ZmIm0crDMaz3+o0h0zXfJnd4EhbYbxsrcFw==",
|
469
469
|
"license": "MIT",
|
470
470
|
"dependencies": {
|
471
471
|
"@babel/template": "^7.27.2",
|
472
|
-
"@babel/types": "^7.
|
472
|
+
"@babel/types": "^7.28.2"
|
473
473
|
},
|
474
474
|
"engines": {
|
475
475
|
"node": ">=6.9.0"
|
@@ -1748,8 +1748,8 @@
|
|
1748
1748
|
}
|
1749
1749
|
},
|
1750
1750
|
"node_modules/@babel/plugin-transform-regenerator": {
|
1751
|
-
"version": "7.28.
|
1752
|
-
"integrity": "sha512-
|
1751
|
+
"version": "7.28.1",
|
1752
|
+
"integrity": "sha512-P0QiV/taaa3kXpLY+sXla5zec4E+4t4Aqc9ggHlfZ7a2cp8/x/Gv08jfwEtn9gnnYIMvHx6aoOZ8XJL8eU71Dg==",
|
1753
1753
|
"license": "MIT",
|
1754
1754
|
"dependencies": {
|
1755
1755
|
"@babel/helper-plugin-utils": "^7.27.1"
|
@@ -2176,16 +2176,16 @@
|
|
2176
2176
|
}
|
2177
2177
|
},
|
2178
2178
|
"node_modules/@babel/runtime": {
|
2179
|
-
"version": "7.
|
2180
|
-
"integrity": "sha512-
|
2179
|
+
"version": "7.28.2",
|
2180
|
+
"integrity": "sha512-KHp2IflsnGywDjBWDkR9iEqiWSpc8GIi0lgTT3mOElT0PP1tG26P4tmFI2YvAdzgq9RGyoHZQEIEdZy6Ec5xCA==",
|
2181
2181
|
"license": "MIT",
|
2182
2182
|
"engines": {
|
2183
2183
|
"node": ">=6.9.0"
|
2184
2184
|
}
|
2185
2185
|
},
|
2186
2186
|
"node_modules/@babel/runtime-corejs3": {
|
2187
|
-
"version": "7.28.
|
2188
|
-
"integrity": "sha512-
|
2187
|
+
"version": "7.28.2",
|
2188
|
+
"integrity": "sha512-FVFaVs2/dZgD3Y9ZD+AKNKjyGKzwu0C54laAXWUXgLcVXcCX6YZ6GhK2cp7FogSN2OA0Fu+QT8dP3FUdo9ShSQ==",
|
2189
2189
|
"license": "MIT",
|
2190
2190
|
"dependencies": {
|
2191
2191
|
"core-js-pure": "^3.43.0"
|
@@ -2243,8 +2243,8 @@
|
|
2243
2243
|
}
|
2244
2244
|
},
|
2245
2245
|
"node_modules/@babel/types": {
|
2246
|
-
"version": "7.28.
|
2247
|
-
"integrity": "sha512-
|
2246
|
+
"version": "7.28.2",
|
2247
|
+
"integrity": "sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==",
|
2248
2248
|
"license": "MIT",
|
2249
2249
|
"dependencies": {
|
2250
2250
|
"@babel/helper-string-parser": "^7.27.1",
|
@@ -4843,8 +4843,8 @@
|
|
4843
4843
|
}
|
4844
4844
|
},
|
4845
4845
|
"node_modules/@react-native-community/eslint-config/node_modules/eslint-config-prettier": {
|
4846
|
-
"version": "8.10.
|
4847
|
-
"integrity": "sha512
|
4846
|
+
"version": "8.10.2",
|
4847
|
+
"integrity": "sha512-/IGJ6+Dka158JnP5n5YFMOszjDWrXggGz1LaK/guZq9vZTmniaKlHcsscvkAhn9y4U+BU3JuUdYvtAMcv30y4A==",
|
4848
4848
|
"dev": true,
|
4849
4849
|
"license": "MIT",
|
4850
4850
|
"bin": {
|
@@ -4934,8 +4934,8 @@
|
|
4934
4934
|
}
|
4935
4935
|
},
|
4936
4936
|
"node_modules/@react-native-community/eslint-config/node_modules/eslint-plugin-prettier": {
|
4937
|
-
"version": "4.2.
|
4938
|
-
"integrity": "sha512-
|
4937
|
+
"version": "4.2.5",
|
4938
|
+
"integrity": "sha512-9Ni+xgemM2IWLq6aXEpP2+V/V30GeA/46Ar629vcMqVPodFFWC9skHu/D1phvuqtS8bJCFnNf01/qcmqYEwNfg==",
|
4939
4939
|
"dev": true,
|
4940
4940
|
"license": "MIT",
|
4941
4941
|
"dependencies": {
|
@@ -6210,16 +6210,16 @@
|
|
6210
6210
|
"license": "MIT"
|
6211
6211
|
},
|
6212
6212
|
"node_modules/@types/node": {
|
6213
|
-
"version": "24.0
|
6214
|
-
"integrity": "sha512-
|
6213
|
+
"version": "24.1.0",
|
6214
|
+
"integrity": "sha512-ut5FthK5moxFKH2T1CUOC6ctR67rQRvvHdFLCD2Ql6KXmMuCrjsSsRI9UsLCm9M18BMwClv4pn327UvB7eeO1w==",
|
6215
6215
|
"license": "MIT",
|
6216
6216
|
"dependencies": {
|
6217
6217
|
"undici-types": "~7.8.0"
|
6218
6218
|
}
|
6219
6219
|
},
|
6220
6220
|
"node_modules/@types/node-forge": {
|
6221
|
-
"version": "1.3.
|
6222
|
-
"integrity": "sha512-
|
6221
|
+
"version": "1.3.13",
|
6222
|
+
"integrity": "sha512-zePQJSW5QkwSHKRApqWCVKeKoSOt4xvEnLENZPjyvm9Ezdf/EyDeJM7jqLzOwjVICQQzvLZ63T55MKdJB5H6ww==",
|
6223
6223
|
"license": "MIT",
|
6224
6224
|
"dependencies": {
|
6225
6225
|
"@types/node": "*"
|
@@ -6504,8 +6504,8 @@
|
|
6504
6504
|
}
|
6505
6505
|
},
|
6506
6506
|
"node_modules/@wavemaker/variables": {
|
6507
|
-
"version": "11.11.
|
6508
|
-
"integrity": "sha512-
|
6507
|
+
"version": "11.11.7-rc.217",
|
6508
|
+
"integrity": "sha512-gcv/JkJIwMH/Bo0Xc/wIPwTVSoCJaWIH+b1aqDSpzGLyCGW5/pX06rn091FUJughnCa3aV3PNVR3gUEJ8zqCzw==",
|
6509
6509
|
"license": "ISC",
|
6510
6510
|
"dependencies": {
|
6511
6511
|
"@metrichor/jmespath": "^0.3.1",
|
@@ -6750,8 +6750,8 @@
|
|
6750
6750
|
}
|
6751
6751
|
},
|
6752
6752
|
"node_modules/acorn-import-phases": {
|
6753
|
-
"version": "1.0.
|
6754
|
-
"integrity": "sha512-
|
6753
|
+
"version": "1.0.4",
|
6754
|
+
"integrity": "sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==",
|
6755
6755
|
"dev": true,
|
6756
6756
|
"license": "MIT",
|
6757
6757
|
"peer": true,
|
@@ -8814,8 +8814,8 @@
|
|
8814
8814
|
"license": "MIT"
|
8815
8815
|
},
|
8816
8816
|
"node_modules/cheerio": {
|
8817
|
-
"version": "1.1.
|
8818
|
-
"integrity": "sha512
|
8817
|
+
"version": "1.1.2",
|
8818
|
+
"integrity": "sha512-IkxPpb5rS/d1IiLbHMgfPuS0FgiWTtFIm/Nj+2woXDLTZ7fOT2eqzgYbdMlLweqlHbsZjxEChoVK+7iph7jyQg==",
|
8819
8819
|
"dev": true,
|
8820
8820
|
"license": "MIT",
|
8821
8821
|
"dependencies": {
|
@@ -8823,16 +8823,16 @@
|
|
8823
8823
|
"dom-serializer": "^2.0.0",
|
8824
8824
|
"domhandler": "^5.0.3",
|
8825
8825
|
"domutils": "^3.2.2",
|
8826
|
-
"encoding-sniffer": "^0.2.
|
8826
|
+
"encoding-sniffer": "^0.2.1",
|
8827
8827
|
"htmlparser2": "^10.0.0",
|
8828
8828
|
"parse5": "^7.3.0",
|
8829
8829
|
"parse5-htmlparser2-tree-adapter": "^7.1.0",
|
8830
8830
|
"parse5-parser-stream": "^7.1.2",
|
8831
|
-
"undici": "^7.
|
8831
|
+
"undici": "^7.12.0",
|
8832
8832
|
"whatwg-mimetype": "^4.0.0"
|
8833
8833
|
},
|
8834
8834
|
"engines": {
|
8835
|
-
"node": ">=18.
|
8835
|
+
"node": ">=20.18.1"
|
8836
8836
|
},
|
8837
8837
|
"funding": {
|
8838
8838
|
"url": "https://github.com/cheeriojs/cheerio?sponsor=1"
|
@@ -9166,8 +9166,8 @@
|
|
9166
9166
|
}
|
9167
9167
|
},
|
9168
9168
|
"node_modules/compression": {
|
9169
|
-
"version": "1.8.
|
9170
|
-
"integrity": "sha512-
|
9169
|
+
"version": "1.8.1",
|
9170
|
+
"integrity": "sha512-9mAqGPHLakhCLeNyxPkK4xVo746zQ/czLH1Ky+vkitMnWfWZps8r0qXuwhwizagCRttsL4lfG4pIOvaWLpAP0w==",
|
9171
9171
|
"license": "MIT",
|
9172
9172
|
"peer": true,
|
9173
9173
|
"dependencies": {
|
@@ -9175,7 +9175,7 @@
|
|
9175
9175
|
"compressible": "~2.0.18",
|
9176
9176
|
"debug": "2.6.9",
|
9177
9177
|
"negotiator": "~0.6.4",
|
9178
|
-
"on-headers": "~1.0
|
9178
|
+
"on-headers": "~1.1.0",
|
9179
9179
|
"safe-buffer": "5.2.1",
|
9180
9180
|
"vary": "~1.1.2"
|
9181
9181
|
},
|
@@ -10715,8 +10715,8 @@
|
|
10715
10715
|
"license": "MIT"
|
10716
10716
|
},
|
10717
10717
|
"node_modules/electron-to-chromium": {
|
10718
|
-
"version": "1.5.
|
10719
|
-
"integrity": "sha512-
|
10718
|
+
"version": "1.5.191",
|
10719
|
+
"integrity": "sha512-xcwe9ELcuxYLUFqZZxL19Z6HVKcvNkIwhbHUz7L3us6u12yR+7uY89dSl570f/IqNthx8dAw3tojG7i4Ni4tDA==",
|
10720
10720
|
"license": "ISC"
|
10721
10721
|
},
|
10722
10722
|
"node_modules/emittery": {
|
@@ -11601,8 +11601,8 @@
|
|
11601
11601
|
}
|
11602
11602
|
},
|
11603
11603
|
"node_modules/expo": {
|
11604
|
-
"version": "53.0.
|
11605
|
-
"integrity": "sha512-
|
11604
|
+
"version": "53.0.20",
|
11605
|
+
"integrity": "sha512-Nh+HIywVy9KxT/LtH08QcXqrxtUOA9BZhsXn3KCsAYA+kNb80M8VKN8/jfQF+I6CgeKyFKJoPNsWgI0y0VBGrA==",
|
11606
11606
|
"license": "MIT",
|
11607
11607
|
"peer": true,
|
11608
11608
|
"dependencies": {
|
@@ -11620,7 +11620,7 @@
|
|
11620
11620
|
"expo-font": "~13.3.2",
|
11621
11621
|
"expo-keep-awake": "~14.1.4",
|
11622
11622
|
"expo-modules-autolinking": "2.1.14",
|
11623
|
-
"expo-modules-core": "2.
|
11623
|
+
"expo-modules-core": "2.5.0",
|
11624
11624
|
"react-native-edge-to-edge": "1.6.0",
|
11625
11625
|
"whatwg-url-without-unicode": "8.0.0-3"
|
11626
11626
|
},
|
@@ -12276,8 +12276,8 @@
|
|
12276
12276
|
}
|
12277
12277
|
},
|
12278
12278
|
"node_modules/expo/node_modules/expo-modules-core": {
|
12279
|
-
"version": "2.
|
12280
|
-
"integrity": "sha512-
|
12279
|
+
"version": "2.5.0",
|
12280
|
+
"integrity": "sha512-aIbQxZE2vdCKsolQUl6Q9Farlf8tjh/ROR4hfN1qT7QBGPl1XrJGnaOKkcgYaGrlzCPg/7IBe0Np67GzKMZKKQ==",
|
12281
12281
|
"license": "MIT",
|
12282
12282
|
"peer": true,
|
12283
12283
|
"dependencies": {
|
@@ -12716,8 +12716,8 @@
|
|
12716
12716
|
"license": "MIT"
|
12717
12717
|
},
|
12718
12718
|
"node_modules/flow-parser": {
|
12719
|
-
"version": "0.
|
12720
|
-
"integrity": "sha512-
|
12719
|
+
"version": "0.277.1",
|
12720
|
+
"integrity": "sha512-86F5PGl+OrFvCzyK04id9Yf9rxFB8485GPs5sexB4cVLOXmpHbSi1/dYiaemI53I85CpImBu/qHVmZnGQflgmw==",
|
12721
12721
|
"license": "MIT",
|
12722
12722
|
"engines": {
|
12723
12723
|
"node": ">=0.4.0"
|
@@ -12789,8 +12789,8 @@
|
|
12789
12789
|
}
|
12790
12790
|
},
|
12791
12791
|
"node_modules/form-data": {
|
12792
|
-
"version": "4.0.
|
12793
|
-
"integrity": "sha512-
|
12792
|
+
"version": "4.0.4",
|
12793
|
+
"integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==",
|
12794
12794
|
"license": "MIT",
|
12795
12795
|
"dependencies": {
|
12796
12796
|
"asynckit": "^0.4.0",
|
@@ -16620,8 +16620,8 @@
|
|
16620
16620
|
"license": "MIT"
|
16621
16621
|
},
|
16622
16622
|
"node_modules/jiti": {
|
16623
|
-
"version": "2.
|
16624
|
-
"integrity": "sha512-
|
16623
|
+
"version": "2.5.1",
|
16624
|
+
"integrity": "sha512-twQoecYPiVA5K/h6SxtORw/Bs3ar+mLUtoPSc7iMXzQzK8d7eJ/R09wmTwAjiamETn1cXYPGfNnu7DMoHgu12w==",
|
16625
16625
|
"dev": true,
|
16626
16626
|
"license": "MIT",
|
16627
16627
|
"bin": {
|
@@ -17961,6 +17961,7 @@
|
|
17961
17961
|
"node_modules/metro-react-native-babel-preset": {
|
17962
17962
|
"version": "0.77.0",
|
17963
17963
|
"integrity": "sha512-HPPD+bTxADtoE4y/4t1txgTQ1LVR6imOBy7RMHUsqMVTbekoi8Ph5YI9vKX2VMPtVWeFt0w9YnCSLPa76GcXsA==",
|
17964
|
+
"deprecated": "Use @react-native/babel-preset instead",
|
17964
17965
|
"dev": true,
|
17965
17966
|
"license": "MIT",
|
17966
17967
|
"dependencies": {
|
@@ -18778,8 +18779,8 @@
|
|
18778
18779
|
"license": "MIT"
|
18779
18780
|
},
|
18780
18781
|
"node_modules/nwsapi": {
|
18781
|
-
"version": "2.2.
|
18782
|
-
"integrity": "sha512
|
18782
|
+
"version": "2.2.21",
|
18783
|
+
"integrity": "sha512-o6nIY3qwiSXl7/LuOU0Dmuctd34Yay0yeuZRLFmDPrrdHpXKFndPj3hM+YEPVHYC5fx2otBx4Ilc/gyYSAUaIA==",
|
18783
18784
|
"dev": true,
|
18784
18785
|
"license": "MIT"
|
18785
18786
|
},
|
@@ -18922,8 +18923,8 @@
|
|
18922
18923
|
}
|
18923
18924
|
},
|
18924
18925
|
"node_modules/on-headers": {
|
18925
|
-
"version": "1.0
|
18926
|
-
"integrity": "sha512-
|
18926
|
+
"version": "1.1.0",
|
18927
|
+
"integrity": "sha512-737ZY3yNnXy37FHkQxPzt4UZ2UWPWiCZWLvFZ4fu5cueciegX0zGPnrlY6bwRg4FdQOe9YU8MkmJwGhoMybl8A==",
|
18927
18928
|
"license": "MIT",
|
18928
18929
|
"peer": true,
|
18929
18930
|
"engines": {
|
@@ -20573,8 +20574,9 @@
|
|
20573
20574
|
}
|
20574
20575
|
},
|
20575
20576
|
"node_modules/react-native-vector-icons": {
|
20576
|
-
"version": "10.
|
20577
|
-
"integrity": "sha512-
|
20577
|
+
"version": "10.3.0",
|
20578
|
+
"integrity": "sha512-IFQ0RE57819hOUdFvgK4FowM5aMXg7C7XKsuGLevqXkkIJatc3QopN0wYrb2IrzUgmdpfP+QVIbI3S6h7M0btw==",
|
20579
|
+
"deprecated": "react-native-vector-icons package has moved to a new model of per-icon-family packages. See the https://github.com/oblador/react-native-vector-icons/blob/master/MIGRATION.md on how to migrate",
|
20578
20580
|
"license": "MIT",
|
20579
20581
|
"peer": true,
|
20580
20582
|
"dependencies": {
|
@@ -23774,8 +23776,8 @@
|
|
23774
23776
|
}
|
23775
23777
|
},
|
23776
23778
|
"node_modules/undici": {
|
23777
|
-
"version": "7.
|
23778
|
-
"integrity": "sha512-
|
23779
|
+
"version": "7.12.0",
|
23780
|
+
"integrity": "sha512-GrKEsc3ughskmGA9jevVlIOPMiiAHJ4OFUtaAH+NhfTUSiZ1wMPIQqQvAJUrJspFXJt3EBWgpAeoHEDVT1IBug==",
|
23779
23781
|
"dev": true,
|
23780
23782
|
"license": "MIT",
|
23781
23783
|
"engines": {
|
@@ -24717,8 +24719,8 @@
|
|
24717
24719
|
}
|
24718
24720
|
},
|
24719
24721
|
"node_modules/webpack": {
|
24720
|
-
"version": "5.100.
|
24721
|
-
"integrity": "sha512-
|
24722
|
+
"version": "5.100.2",
|
24723
|
+
"integrity": "sha512-QaNKAvGCDRh3wW1dsDjeMdDXwZm2vqq3zn6Pvq4rHOEOGSaUMgOOjG2Y9ZbIGzpfkJk9ZYTHpDqgDfeBDcnLaw==",
|
24722
24724
|
"dev": true,
|
24723
24725
|
"license": "MIT",
|
24724
24726
|
"peer": true,
|
@@ -25276,7 +25278,7 @@
|
|
25276
25278
|
},
|
25277
25279
|
"node_modules/y18n": {
|
25278
25280
|
"version": "5.0.8",
|
25279
|
-
"integrity": "
|
25281
|
+
"integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
|
25280
25282
|
"license": "ISC",
|
25281
25283
|
"engines": {
|
25282
25284
|
"node": ">=10"
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wavemaker/app-rn-runtime",
|
3
|
-
"version": "11.11.
|
3
|
+
"version": "11.11.7-rc.217",
|
4
4
|
"description": "''",
|
5
5
|
"main": "index",
|
6
6
|
"module": "index",
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"@react-navigation/drawer": "6.6.3",
|
50
50
|
"@react-navigation/native": "6.1.7",
|
51
51
|
"@react-navigation/stack": "6.3.29",
|
52
|
-
"@wavemaker/variables": "11.11.
|
52
|
+
"@wavemaker/variables": "11.11.7-rc.217",
|
53
53
|
"axios": "1.6.8",
|
54
54
|
"color": "4.2.3",
|
55
55
|
"cross-env": "7.0.3",
|
@@ -3,10 +3,21 @@ export class PartialServiceImpl {
|
|
3
3
|
constructor(partials = null) {
|
4
4
|
this.partials = partials;
|
5
5
|
}
|
6
|
-
get(partialName) {
|
6
|
+
get(partialName, params) {
|
7
7
|
if (!this.partials) {
|
8
8
|
this.partials = injector.get('APP_CONFIG').partials;
|
9
9
|
}
|
10
|
+
if (params !== null && params !== void 0 && params.isPrefab) {
|
11
|
+
var _injector$get$prefabs;
|
12
|
+
let prefabPartials;
|
13
|
+
(_injector$get$prefabs = injector.get('APP_CONFIG').prefabs) === null || _injector$get$prefabs === void 0 || (_injector$get$prefabs = _injector$get$prefabs.partials) === null || _injector$get$prefabs === void 0 || _injector$get$prefabs.forEach(item => {
|
14
|
+
if (item.prefabName === params.name) {
|
15
|
+
prefabPartials = item.partials;
|
16
|
+
}
|
17
|
+
});
|
18
|
+
const targetPartial = prefabPartials && prefabPartials.find(p => p.name === partialName);
|
19
|
+
return targetPartial === null || targetPartial === void 0 ? void 0 : targetPartial.component;
|
20
|
+
}
|
10
21
|
const partial = this.partials.find(p => p.name === partialName);
|
11
22
|
return partial === null || partial === void 0 ? void 0 : partial.component;
|
12
23
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["injector","PartialServiceImpl","constructor","partials","get","partialName","
|
1
|
+
{"version":3,"names":["injector","PartialServiceImpl","constructor","partials","get","partialName","params","isPrefab","_injector$get$prefabs","prefabPartials","prefabs","forEach","item","prefabName","name","targetPartial","find","p","component","partial"],"sources":["partial.service.tsx"],"sourcesContent":["import injector from '@wavemaker/app-rn-runtime/core/injector';\nimport PartialService from '@wavemaker/app-rn-runtime/core/partial.service';\nimport AppConfig from '@wavemaker/app-rn-runtime/core/AppConfig';\n\nexport class PartialServiceImpl implements PartialService {\n\n public constructor(private partials = null as any) {\n\n }\n\n get(partialName: string, params?: {isPrefab: boolean, name: string}) {\n if (!this.partials) {\n this.partials = injector.get<AppConfig>('APP_CONFIG').partials;\n }\n \n if(params?.isPrefab) {\n let prefabPartials;\n injector.get<AppConfig>('APP_CONFIG').prefabs?.partials?.forEach(item => {\n if(item.prefabName === params.name){\n prefabPartials = item.partials;\n }\n })\n const targetPartial = prefabPartials && (prefabPartials as any).find((p: any) => p.name === partialName);\n return (targetPartial as any)?.component;\n }\n\n const partial = this.partials.find((p: any) => p.name === partialName);\n return partial?.component;\n }\n}\n\nexport default new PartialServiceImpl();"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,yCAAyC;AAI9D,OAAO,MAAMC,kBAAkB,CAA2B;EAE/CC,WAAWA,CAASC,QAAQ,GAAG,IAAW,EAAE;IAAA,KAAxBA,QAAQ,GAARA,QAAQ;EAEnC;EAEAC,GAAGA,CAACC,WAAmB,EAAEC,MAA0C,EAAE;IACjE,IAAI,CAAC,IAAI,CAACH,QAAQ,EAAE;MAChB,IAAI,CAACA,QAAQ,GAAGH,QAAQ,CAACI,GAAG,CAAY,YAAY,CAAC,CAACD,QAAQ;IAClE;IAEA,IAAGG,MAAM,aAANA,MAAM,eAANA,MAAM,CAAEC,QAAQ,EAAE;MAAA,IAAAC,qBAAA;MACjB,IAAIC,cAAc;MAClB,CAAAD,qBAAA,GAAAR,QAAQ,CAACI,GAAG,CAAY,YAAY,CAAC,CAACM,OAAO,cAAAF,qBAAA,gBAAAA,qBAAA,GAA7CA,qBAAA,CAA+CL,QAAQ,cAAAK,qBAAA,eAAvDA,qBAAA,CAAyDG,OAAO,CAACC,IAAI,IAAI;QACrE,IAAGA,IAAI,CAACC,UAAU,KAAKP,MAAM,CAACQ,IAAI,EAAC;UAC/BL,cAAc,GAAGG,IAAI,CAACT,QAAQ;QAClC;MACJ,CAAC,CAAC;MACF,MAAMY,aAAa,GAAGN,cAAc,IAAKA,cAAc,CAASO,IAAI,CAAEC,CAAM,IAAKA,CAAC,CAACH,IAAI,KAAKT,WAAW,CAAC;MACxG,OAAQU,aAAa,aAAbA,aAAa,uBAAbA,aAAa,CAAUG,SAAS;IAC5C;IAEA,MAAMC,OAAO,GAAG,IAAI,CAAChB,QAAQ,CAACa,IAAI,CAAEC,CAAM,IAAKA,CAAC,CAACH,IAAI,KAAKT,WAAW,CAAC;IACtE,OAAOc,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAED,SAAS;EAC7B;AACJ;AAEA,eAAe,IAAIjB,kBAAkB,CAAC,CAAC","ignoreList":[]}
|
package/styles/theme.js
CHANGED
@@ -13,6 +13,7 @@ import MediaQueryList from './MediaQueryList';
|
|
13
13
|
import ThemeVariables from './theme.variables';
|
14
14
|
import { getErrorMessage, getStyleReference, isValidStyleProp } from './style-prop.validator';
|
15
15
|
import injector from '@wavemaker/app-rn-runtime/core/injector';
|
16
|
+
import { isNativeStyle } from '@wavemaker/app-rn-runtime/core/utils';
|
16
17
|
export const DEFAULT_CLASS = 'DEFAULT_CLASS';
|
17
18
|
if (typeof window !== "undefined") {
|
18
19
|
// @ts-ignore: does not properly extend MediaQueryList
|
@@ -28,6 +29,20 @@ export const DEVICE_BREAK_POINTS = {
|
|
28
29
|
'MIN_LARGE_DEVICE': '1200px',
|
29
30
|
'MAX_LARGE_DEVICE': '1000000px'
|
30
31
|
};
|
32
|
+
export const DEVICE_BREAK_POINTS_NATIVE_MOBILE = {
|
33
|
+
'MIN_EXTRA_SMALL_DEVICE': '0',
|
34
|
+
// 0-479px (phones portrait)
|
35
|
+
'MAX_EXTRA_SMALL_DEVICE': '479',
|
36
|
+
'MIN_SMALL_DEVICE': '480',
|
37
|
+
// 480-767px (phones landscape, small tablets portrait)
|
38
|
+
'MAX_SMALL_DEVICE': '767',
|
39
|
+
'MIN_MEDIUM_DEVICE': '768',
|
40
|
+
// 768-1023px (tablets portrait, small laptops)
|
41
|
+
'MAX_MEDIUM_DEVICE': '1023',
|
42
|
+
'MIN_LARGE_DEVICE': '1024',
|
43
|
+
// 1024px+ (tablets landscape, desktops)
|
44
|
+
'MAX_LARGE_DEVICE': '1000000'
|
45
|
+
};
|
31
46
|
export let ThemeEvent = /*#__PURE__*/function (ThemeEvent) {
|
32
47
|
ThemeEvent["CHANGE"] = "change";
|
33
48
|
return ThemeEvent;
|
@@ -104,7 +119,9 @@ export class Theme {
|
|
104
119
|
forEach(mergedChildstyle, (v, k) => {
|
105
120
|
if (v && !isString(v) && !isArray(v) && isObject(v)) {
|
106
121
|
addTrace = false;
|
107
|
-
|
122
|
+
if (!isNativeStyle(k, 'property')) {
|
123
|
+
this.addTrace(styleName + '.' + k, v, childStyle && childStyle[k], parentStyle && parentStyle[k]);
|
124
|
+
}
|
108
125
|
}
|
109
126
|
});
|
110
127
|
if (addTrace) {
|
@@ -135,13 +152,15 @@ export class Theme {
|
|
135
152
|
const flattenStyles = this.flatten(style);
|
136
153
|
Object.keys(flattenStyles).forEach(k => {
|
137
154
|
const s = flattenStyles[k];
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
155
|
+
if (!isNativeStyle(k, 'path')) {
|
156
|
+
s['__trace'] = flatten(reverse(styles.map(v => {
|
157
|
+
const cs = get(v, k);
|
158
|
+
if (cs && cs.__trace) {
|
159
|
+
return [...cs.__trace];
|
160
|
+
}
|
161
|
+
return [];
|
162
|
+
}).filter(t => t.length > 0)));
|
163
|
+
}
|
145
164
|
});
|
146
165
|
}
|
147
166
|
return style;
|