@wavemaker/rn-codegen 11.11.6-rc.6188 → 11.11.6-rc.6191
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/npm-shrinkwrap.json +4 -4
- package/package-lock.json +4 -4
- package/package.json +1 -1
- package/src/templates/package.web.json +3 -3
- package/src/templates/project/package.json +3 -3
- package/src/transpile/components/input/slider.transformer.js +0 -13
- package/src/transpile/components/input/slider.transformer.js.map +1 -1
package/npm-shrinkwrap.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wavemaker/rn-codegen",
|
3
|
-
"version": "11.11.6-rc.
|
3
|
+
"version": "11.11.6-rc.6191",
|
4
4
|
"lockfileVersion": 3,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "@wavemaker/rn-codegen",
|
9
|
-
"version": "11.11.6-rc.
|
9
|
+
"version": "11.11.6-rc.6191",
|
10
10
|
"hasInstallScript": true,
|
11
11
|
"license": "ISC",
|
12
12
|
"dependencies": {
|
@@ -2447,8 +2447,8 @@
|
|
2447
2447
|
"license": "MIT"
|
2448
2448
|
},
|
2449
2449
|
"node_modules/electron-to-chromium": {
|
2450
|
-
"version": "1.5.
|
2451
|
-
"integrity": "sha512
|
2450
|
+
"version": "1.5.182",
|
2451
|
+
"integrity": "sha512-Lv65Btwv9W4J9pyODI6EWpdnhfvrve/us5h1WspW8B2Fb0366REPtY3hX7ounk1CkV/TBjWCEvCBBbYbmV0qCA==",
|
2452
2452
|
"dev": true,
|
2453
2453
|
"license": "ISC"
|
2454
2454
|
},
|
package/package-lock.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wavemaker/rn-codegen",
|
3
|
-
"version": "11.11.6-rc.
|
3
|
+
"version": "11.11.6-rc.6191",
|
4
4
|
"lockfileVersion": 3,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "@wavemaker/rn-codegen",
|
9
|
-
"version": "11.11.6-rc.
|
9
|
+
"version": "11.11.6-rc.6191",
|
10
10
|
"hasInstallScript": true,
|
11
11
|
"license": "ISC",
|
12
12
|
"dependencies": {
|
@@ -2447,8 +2447,8 @@
|
|
2447
2447
|
"license": "MIT"
|
2448
2448
|
},
|
2449
2449
|
"node_modules/electron-to-chromium": {
|
2450
|
-
"version": "1.5.
|
2451
|
-
"integrity": "sha512
|
2450
|
+
"version": "1.5.182",
|
2451
|
+
"integrity": "sha512-Lv65Btwv9W4J9pyODI6EWpdnhfvrve/us5h1WspW8B2Fb0366REPtY3hX7ounk1CkV/TBjWCEvCBBbYbmV0qCA==",
|
2452
2452
|
"dev": true,
|
2453
2453
|
"license": "ISC"
|
2454
2454
|
},
|
package/package.json
CHANGED
@@ -11,9 +11,9 @@
|
|
11
11
|
"postinstall": "echo \"\""
|
12
12
|
},
|
13
13
|
"dependencies": {
|
14
|
-
"@wavemaker/app-rn-runtime": "11.11.6-rc.
|
15
|
-
"@wavemaker/variables": "11.11.6-rc.
|
16
|
-
"@wavemaker/rn-codegen": "11.11.6-rc.
|
14
|
+
"@wavemaker/app-rn-runtime": "11.11.6-rc.6191",
|
15
|
+
"@wavemaker/variables": "11.11.6-rc.6191",
|
16
|
+
"@wavemaker/rn-codegen": "11.11.6-rc.6191",
|
17
17
|
"@wavemaker/wavepulse-agent": "1.0.11",
|
18
18
|
"expo": "52.0.17",
|
19
19
|
"expo-build-properties": "0.13.1",
|
@@ -11,9 +11,9 @@
|
|
11
11
|
"postinstall": "node ./scripts/post-build.js"
|
12
12
|
},
|
13
13
|
"dependencies": {
|
14
|
-
"@wavemaker/app-rn-runtime": "11.11.6-rc.
|
15
|
-
"@wavemaker/variables": "11.11.6-rc.
|
16
|
-
"@wavemaker/rn-codegen": "11.11.6-rc.
|
14
|
+
"@wavemaker/app-rn-runtime": "11.11.6-rc.6191",
|
15
|
+
"@wavemaker/variables": "11.11.6-rc.6191",
|
16
|
+
"@wavemaker/rn-codegen": "11.11.6-rc.6191",
|
17
17
|
"@wavemaker/wavepulse-agent": "1.0.11",
|
18
18
|
"expo": "52.0.17",
|
19
19
|
"expo-build-properties": "0.13.1",
|
@@ -7,19 +7,7 @@ exports.imports = [
|
|
7
7
|
];
|
8
8
|
exports.default = {
|
9
9
|
pre: (element, context) => {
|
10
|
-
var _a;
|
11
10
|
let getDisplayExpression = (0, transpile_1.createExpression)(element, 'displayexpression');
|
12
|
-
let onChangeFunction = element.getAttribute('on-change');
|
13
|
-
let onChangeFunctionRegex = /fragment\.(\w+)\(/;
|
14
|
-
let onChangeFunctionName = (_a = `${onChangeFunction}`.match(onChangeFunctionRegex)) === null || _a === void 0 ? void 0 : _a[1];
|
15
|
-
let onChange = onChangeFunction ? `($event,widget,newVal,oldVal) => {
|
16
|
-
if (fragment.${onChangeFunctionName}) {
|
17
|
-
return ${onChangeFunction}
|
18
|
-
}
|
19
|
-
}` : '';
|
20
|
-
if (onChangeFunction) {
|
21
|
-
element.removeAttribute('on-change');
|
22
|
-
}
|
23
11
|
if (getDisplayExpression) {
|
24
12
|
element.removeAttribute('displayexpression');
|
25
13
|
element.removeAttribute('displayfield');
|
@@ -30,7 +18,6 @@ exports.default = {
|
|
30
18
|
}
|
31
19
|
return `<WmSlider
|
32
20
|
${(0, transpile_1.transformAttrs)(element, context)}
|
33
|
-
${onChangeFunction ? `onChange={${onChange}}` : ''}
|
34
21
|
${getDisplayExpression ? `getDisplayExpression=${getDisplayExpression}` : ''}
|
35
22
|
${getToolTipExpression ? `getToolTipExpression=${getToolTipExpression}` : ''}>`;
|
36
23
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"slider.transformer.js","sourceRoot":"","sources":["../../../../../src/transpile/components/input/slider.transformer.ts"],"names":[],"mappings":";;;AAEA,+CAA8G;AAEjG,QAAA,OAAO,GAAa;IAC/B,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,oEAAoE,EAAC;CAChG,CAAC;AAEF,kBAAe;IACb,GAAG,EAAE,CAAC,OAAoB,EAAE,OAA6B,EAAE,EAAE
|
1
|
+
{"version":3,"file":"slider.transformer.js","sourceRoot":"","sources":["../../../../../src/transpile/components/input/slider.transformer.ts"],"names":[],"mappings":";;;AAEA,+CAA8G;AAEjG,QAAA,OAAO,GAAa;IAC/B,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,oEAAoE,EAAC;CAChG,CAAC;AAEF,kBAAe;IACb,GAAG,EAAE,CAAC,OAAoB,EAAE,OAA6B,EAAE,EAAE;QAC3D,IAAI,oBAAoB,GAAG,IAAA,4BAAgB,EAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC;QAC1E,IAAI,oBAAoB,EAAE;YACxB,OAAO,CAAC,eAAe,CAAC,mBAAmB,CAAC,CAAC;YAC7C,OAAO,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC;SACzC;QAED,IAAI,oBAAoB,GAAG,IAAA,4BAAgB,EAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC;QAC1E,IAAI,oBAAoB,EAAE;YACxB,OAAO,CAAC,eAAe,CAAC,mBAAmB,CAAC,CAAC;SAC9C;QAED,OAAO;QACH,IAAA,0BAAc,EAAC,OAAO,EAAE,OAAO,CAAC;QAChC,oBAAoB,CAAC,CAAC,CAAC,wBAAwB,oBAAoB,EAAE,CAAC,CAAC,CAAC,EAAE;QAC1E,oBAAoB,CAAC,CAAC,CAAC,wBAAwB,oBAAoB,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC;IACpF,CAAC;IACD,IAAI,EAAE,CAAC,OAAoB,EAAE,OAA6B,EAAE,EAAE,CAAC,aAAa;IAC5E,OAAO,EAAE,CAAC,OAAoB,EAAE,OAA6B,EAAE,EAAE,CAAC,eAAO;CAC3D,CAAC"}
|