@wavemaker/angular-codegen 11.2.0-next.140101 → 11.2.0-next.140104
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.
- angular-codegen/angular-app/package-lock.json +213 -56
- angular-codegen/angular-app/package.json +2 -1
- angular-codegen/angular-app/tsconfig.json +3 -0
- angular-codegen/dependencies/pipe-provider.cjs.js +31 -30
- angular-codegen/dependencies/transpilation-mobile.cjs.js +31 -30
- angular-codegen/dependencies/transpilation-web.cjs.js +31 -30
- angular-codegen/package.json +1 -1
|
@@ -2242,6 +2242,13 @@
|
|
|
2242
2242
|
"integrity": "sha512-UQELx2IeQCMu+ngSnA0bSUKJfDHANT+RZ9EbuOtk+kmhzkbvjbnRhu7AWLA8q4fdXG8PlPljRcCZNxGT6+mraQ==",
|
|
2243
2243
|
"requires": {
|
|
2244
2244
|
"@types/cordova": "^0.0.34"
|
|
2245
|
+
},
|
|
2246
|
+
"dependencies": {
|
|
2247
|
+
"@types/cordova": {
|
|
2248
|
+
"version": "0.0.34",
|
|
2249
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2250
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2251
|
+
}
|
|
2245
2252
|
}
|
|
2246
2253
|
},
|
|
2247
2254
|
"@awesome-cordova-plugins/barcode-scanner": {
|
|
@@ -2250,6 +2257,13 @@
|
|
|
2250
2257
|
"integrity": "sha512-gWolTyq2N5FSHbr56kAji4QVMO1ZQrdLIjoP02V8LsHpSs5vLL44b2rDlbjppUukhz9qfkaT3wTYjuY7M41uyA==",
|
|
2251
2258
|
"requires": {
|
|
2252
2259
|
"@types/cordova": "^0.0.34"
|
|
2260
|
+
},
|
|
2261
|
+
"dependencies": {
|
|
2262
|
+
"@types/cordova": {
|
|
2263
|
+
"version": "0.0.34",
|
|
2264
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2265
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2266
|
+
}
|
|
2253
2267
|
}
|
|
2254
2268
|
},
|
|
2255
2269
|
"@awesome-cordova-plugins/calendar": {
|
|
@@ -2258,6 +2272,13 @@
|
|
|
2258
2272
|
"integrity": "sha512-WYyF14clIQnoUOMVrIWIPg3QOHjGw/nJ4JYgEfvjuQPtdT6kJ6k66Uc7brDOQE2SG18pvkeM+uEHRk1tzZD2Aw==",
|
|
2259
2273
|
"requires": {
|
|
2260
2274
|
"@types/cordova": "^0.0.34"
|
|
2275
|
+
},
|
|
2276
|
+
"dependencies": {
|
|
2277
|
+
"@types/cordova": {
|
|
2278
|
+
"version": "0.0.34",
|
|
2279
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2280
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2281
|
+
}
|
|
2261
2282
|
}
|
|
2262
2283
|
},
|
|
2263
2284
|
"@awesome-cordova-plugins/camera": {
|
|
@@ -2266,6 +2287,13 @@
|
|
|
2266
2287
|
"integrity": "sha512-p+9pzJqec1FdjNgXdQomIzoC17ZKW0iedUkU3t/dqe+3tTgVS2J8EGljKdroz6fa3zkpdWX6QD17MJ9OfTuX7g==",
|
|
2267
2288
|
"requires": {
|
|
2268
2289
|
"@types/cordova": "^0.0.34"
|
|
2290
|
+
},
|
|
2291
|
+
"dependencies": {
|
|
2292
|
+
"@types/cordova": {
|
|
2293
|
+
"version": "0.0.34",
|
|
2294
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2295
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2296
|
+
}
|
|
2269
2297
|
}
|
|
2270
2298
|
},
|
|
2271
2299
|
"@awesome-cordova-plugins/core": {
|
|
@@ -2274,6 +2302,13 @@
|
|
|
2274
2302
|
"integrity": "sha512-IHBemJf7/kNXCyOghNHckdSY+pu+59W5cTE8w2UMFKQCtJugXVkdDqBPQjmmefzKLmDNCJ+lYhbv0V3VIr6N2g==",
|
|
2275
2303
|
"requires": {
|
|
2276
2304
|
"@types/cordova": "^0.0.34"
|
|
2305
|
+
},
|
|
2306
|
+
"dependencies": {
|
|
2307
|
+
"@types/cordova": {
|
|
2308
|
+
"version": "0.0.34",
|
|
2309
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2310
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2311
|
+
}
|
|
2277
2312
|
}
|
|
2278
2313
|
},
|
|
2279
2314
|
"@awesome-cordova-plugins/device": {
|
|
@@ -2282,6 +2317,13 @@
|
|
|
2282
2317
|
"integrity": "sha512-HdrlJHN+t8eTZ/5kMUTpaTFLpqcnCjVWqQFIIf4zz/q8klD0gqVhUV2+ZH/m9iYVRtjTB73W3VoVn+lzBkSl8A==",
|
|
2283
2318
|
"requires": {
|
|
2284
2319
|
"@types/cordova": "^0.0.34"
|
|
2320
|
+
},
|
|
2321
|
+
"dependencies": {
|
|
2322
|
+
"@types/cordova": {
|
|
2323
|
+
"version": "0.0.34",
|
|
2324
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2325
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2326
|
+
}
|
|
2285
2327
|
}
|
|
2286
2328
|
},
|
|
2287
2329
|
"@awesome-cordova-plugins/diagnostic": {
|
|
@@ -2290,6 +2332,13 @@
|
|
|
2290
2332
|
"integrity": "sha512-MlcqnDQqWR26AsOw5i2Y/KHd+3LoClaZTs5OefIBtQE8BP6y0IEmTBiXunQfyrMN6xNAdo503d2V6lgXCjrf9A==",
|
|
2291
2333
|
"requires": {
|
|
2292
2334
|
"@types/cordova": "^0.0.34"
|
|
2335
|
+
},
|
|
2336
|
+
"dependencies": {
|
|
2337
|
+
"@types/cordova": {
|
|
2338
|
+
"version": "0.0.34",
|
|
2339
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2340
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2341
|
+
}
|
|
2293
2342
|
}
|
|
2294
2343
|
},
|
|
2295
2344
|
"@awesome-cordova-plugins/file": {
|
|
@@ -2298,6 +2347,13 @@
|
|
|
2298
2347
|
"integrity": "sha512-DXJfPw5KDF43r+DGth8uVmKkh+m3qD+5lgwm/U1FVJTsqcicbzJXc6/gBSpdwvoBDWactHF1pj6sF4sp3HkIGw==",
|
|
2299
2348
|
"requires": {
|
|
2300
2349
|
"@types/cordova": "^0.0.34"
|
|
2350
|
+
},
|
|
2351
|
+
"dependencies": {
|
|
2352
|
+
"@types/cordova": {
|
|
2353
|
+
"version": "0.0.34",
|
|
2354
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2355
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2356
|
+
}
|
|
2301
2357
|
}
|
|
2302
2358
|
},
|
|
2303
2359
|
"@awesome-cordova-plugins/file-opener": {
|
|
@@ -2306,6 +2362,13 @@
|
|
|
2306
2362
|
"integrity": "sha512-4ZYpvdyZqVnTbkhbRlEBk5VRiwDI83luyvgQTx0xXB+J4ArtYjEHQdpDiqmbaGdFOO2vy9uhCrHJvbm6+ERNWw==",
|
|
2307
2363
|
"requires": {
|
|
2308
2364
|
"@types/cordova": "^0.0.34"
|
|
2365
|
+
},
|
|
2366
|
+
"dependencies": {
|
|
2367
|
+
"@types/cordova": {
|
|
2368
|
+
"version": "0.0.34",
|
|
2369
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2370
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2371
|
+
}
|
|
2309
2372
|
}
|
|
2310
2373
|
},
|
|
2311
2374
|
"@awesome-cordova-plugins/geolocation": {
|
|
@@ -2314,6 +2377,13 @@
|
|
|
2314
2377
|
"integrity": "sha512-MFOD7HuIvVncYp6AUCZygHeik61+01D3IQQmzcUbc7CNub7MK9jf0kdNx90ycVyelg7D/7AaUdxh2RZy5nHGkA==",
|
|
2315
2378
|
"requires": {
|
|
2316
2379
|
"@types/cordova": "^0.0.34"
|
|
2380
|
+
},
|
|
2381
|
+
"dependencies": {
|
|
2382
|
+
"@types/cordova": {
|
|
2383
|
+
"version": "0.0.34",
|
|
2384
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2385
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2386
|
+
}
|
|
2317
2387
|
}
|
|
2318
2388
|
},
|
|
2319
2389
|
"@awesome-cordova-plugins/location-accuracy": {
|
|
@@ -2322,6 +2392,13 @@
|
|
|
2322
2392
|
"integrity": "sha512-CiocZlmR+fkJO4qVotbF4C8i7mtm7uHR8MiQI3BaaVrhQKmQoi70pstJonmBFhONVx3b69bMHoSc05z5A7zxVg==",
|
|
2323
2393
|
"requires": {
|
|
2324
2394
|
"@types/cordova": "^0.0.34"
|
|
2395
|
+
},
|
|
2396
|
+
"dependencies": {
|
|
2397
|
+
"@types/cordova": {
|
|
2398
|
+
"version": "0.0.34",
|
|
2399
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2400
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2401
|
+
}
|
|
2325
2402
|
}
|
|
2326
2403
|
},
|
|
2327
2404
|
"@awesome-cordova-plugins/media-capture": {
|
|
@@ -2330,6 +2407,13 @@
|
|
|
2330
2407
|
"integrity": "sha512-OHYfuA7zdcrQ6U+wkRhSn0aXnS95yeOpplcQDQ7wS+v6ZnWG5vp94Sgk121XUallQ2eTZaL6hTQbS7/obiyh/Q==",
|
|
2331
2408
|
"requires": {
|
|
2332
2409
|
"@types/cordova": "^0.0.34"
|
|
2410
|
+
},
|
|
2411
|
+
"dependencies": {
|
|
2412
|
+
"@types/cordova": {
|
|
2413
|
+
"version": "0.0.34",
|
|
2414
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2415
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2416
|
+
}
|
|
2333
2417
|
}
|
|
2334
2418
|
},
|
|
2335
2419
|
"@awesome-cordova-plugins/network": {
|
|
@@ -2338,6 +2422,13 @@
|
|
|
2338
2422
|
"integrity": "sha512-85phHMyHO0zS5/4ZmPfk+r8I8JKUfEZM5pxsSxLBB8XBt0oNjSQt+dQn83BaZPdLutIOc8d/tQl2jI3kf60K0Q==",
|
|
2339
2423
|
"requires": {
|
|
2340
2424
|
"@types/cordova": "^0.0.34"
|
|
2425
|
+
},
|
|
2426
|
+
"dependencies": {
|
|
2427
|
+
"@types/cordova": {
|
|
2428
|
+
"version": "0.0.34",
|
|
2429
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2430
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2431
|
+
}
|
|
2341
2432
|
}
|
|
2342
2433
|
},
|
|
2343
2434
|
"@awesome-cordova-plugins/sqlite": {
|
|
@@ -2346,6 +2437,13 @@
|
|
|
2346
2437
|
"integrity": "sha512-XRzfo30gARBjqEtjwbyN/QP+PhLAmUuaMiDHbHA4PU2jTTarXrHwulLczVuprb0t//Q/D2I1EKr3UDfmeLROJg==",
|
|
2347
2438
|
"requires": {
|
|
2348
2439
|
"@types/cordova": "^0.0.34"
|
|
2440
|
+
},
|
|
2441
|
+
"dependencies": {
|
|
2442
|
+
"@types/cordova": {
|
|
2443
|
+
"version": "0.0.34",
|
|
2444
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2445
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2446
|
+
}
|
|
2349
2447
|
}
|
|
2350
2448
|
},
|
|
2351
2449
|
"@awesome-cordova-plugins/vibration": {
|
|
@@ -2354,6 +2452,13 @@
|
|
|
2354
2452
|
"integrity": "sha512-XSyACER6UwsH3HgiXXekxzKuoQYK/CDLK7Bj0paGZaQ0c73+JNAnhNmj5VmrgFXJrg4MvybbC+IbCbIIRuvr5Q==",
|
|
2355
2453
|
"requires": {
|
|
2356
2454
|
"@types/cordova": "^0.0.34"
|
|
2455
|
+
},
|
|
2456
|
+
"dependencies": {
|
|
2457
|
+
"@types/cordova": {
|
|
2458
|
+
"version": "0.0.34",
|
|
2459
|
+
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
2460
|
+
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
2461
|
+
}
|
|
2357
2462
|
}
|
|
2358
2463
|
},
|
|
2359
2464
|
"@babel/code-frame": {
|
|
@@ -5694,11 +5799,6 @@
|
|
|
5694
5799
|
"integrity": "sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q==",
|
|
5695
5800
|
"dev": true
|
|
5696
5801
|
},
|
|
5697
|
-
"@types/cordova": {
|
|
5698
|
-
"version": "0.0.34",
|
|
5699
|
-
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
|
|
5700
|
-
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
|
5701
|
-
},
|
|
5702
5802
|
"@types/cors": {
|
|
5703
5803
|
"version": "2.8.12",
|
|
5704
5804
|
"resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.12.tgz",
|
|
@@ -5840,6 +5940,26 @@
|
|
|
5840
5940
|
"resolved": "https://registry.npmjs.org/@wavemaker.com/nvd3/-/nvd3-1.0.0.tgz",
|
|
5841
5941
|
"integrity": "sha512-KwdblvQbf0k51JYt1SJIhhkoQflWsOfgb6MVT9I/kDFpGmm5Z71PXOTNwOGnBFvuqGH6AJVQoM7StE0IK6OmXQ=="
|
|
5842
5942
|
},
|
|
5943
|
+
"@wavemaker/variables": {
|
|
5944
|
+
"version": "11.2.0-next.140104",
|
|
5945
|
+
"resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.2.0-next.140104.tgz",
|
|
5946
|
+
"integrity": "sha512-TSZBnMZkW4k6g5QaqVXRBoWWtva8xC59SVrIRNv60L8JEIdE/YqUYQ2YF8U2+EtLxKaEyEbRmKujVl42PL1x1A==",
|
|
5947
|
+
"requires": {
|
|
5948
|
+
"@metrichor/jmespath": "^0.3.1",
|
|
5949
|
+
"lodash": "^4.17.21",
|
|
5950
|
+
"x2js": "^3.4.3"
|
|
5951
|
+
},
|
|
5952
|
+
"dependencies": {
|
|
5953
|
+
"x2js": {
|
|
5954
|
+
"version": "3.4.4",
|
|
5955
|
+
"resolved": "https://registry.npmjs.org/x2js/-/x2js-3.4.4.tgz",
|
|
5956
|
+
"integrity": "sha512-yG/ThaBCgnsa3aoMPAe7QwDpcyU4D70hjXC4Y1lZSfD/Tgd0MpE19FnZZRAjekryw0c8cffpOt9zsPEiqktO6Q==",
|
|
5957
|
+
"requires": {
|
|
5958
|
+
"@xmldom/xmldom": "^0.8.3"
|
|
5959
|
+
}
|
|
5960
|
+
}
|
|
5961
|
+
}
|
|
5962
|
+
},
|
|
5843
5963
|
"@webassemblyjs/ast": {
|
|
5844
5964
|
"version": "1.9.0",
|
|
5845
5965
|
"resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz",
|
|
@@ -6040,6 +6160,11 @@
|
|
|
6040
6160
|
"@xtuc/long": "4.2.2"
|
|
6041
6161
|
}
|
|
6042
6162
|
},
|
|
6163
|
+
"@xmldom/xmldom": {
|
|
6164
|
+
"version": "0.8.6",
|
|
6165
|
+
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.6.tgz",
|
|
6166
|
+
"integrity": "sha512-uRjjusqpoqfmRkTaNuLJ2VohVr67Q5YwDATW3VU7PfzTj6IRaihGrYI7zckGZjxQPBIp63nfvJbM+Yu5ICh0Bg=="
|
|
6167
|
+
},
|
|
6043
6168
|
"@xtuc/ieee754": {
|
|
6044
6169
|
"version": "1.2.0",
|
|
6045
6170
|
"resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
|
|
@@ -7001,6 +7126,16 @@
|
|
|
7001
7126
|
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
|
|
7002
7127
|
"dev": true
|
|
7003
7128
|
},
|
|
7129
|
+
"bindings": {
|
|
7130
|
+
"version": "1.5.0",
|
|
7131
|
+
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
|
|
7132
|
+
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
|
|
7133
|
+
"dev": true,
|
|
7134
|
+
"optional": true,
|
|
7135
|
+
"requires": {
|
|
7136
|
+
"file-uri-to-path": "1.0.0"
|
|
7137
|
+
}
|
|
7138
|
+
},
|
|
7004
7139
|
"bl": {
|
|
7005
7140
|
"version": "4.1.0",
|
|
7006
7141
|
"resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
|
|
@@ -10704,6 +10839,13 @@
|
|
|
10704
10839
|
}
|
|
10705
10840
|
}
|
|
10706
10841
|
},
|
|
10842
|
+
"file-uri-to-path": {
|
|
10843
|
+
"version": "1.0.0",
|
|
10844
|
+
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
|
|
10845
|
+
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
|
|
10846
|
+
"dev": true,
|
|
10847
|
+
"optional": true
|
|
10848
|
+
},
|
|
10707
10849
|
"fileset": {
|
|
10708
10850
|
"version": "2.0.3",
|
|
10709
10851
|
"resolved": "https://registry.npmjs.org/fileset/-/fileset-2.0.3.tgz",
|
|
@@ -11537,6 +11679,33 @@
|
|
|
11537
11679
|
"integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=",
|
|
11538
11680
|
"dev": true
|
|
11539
11681
|
},
|
|
11682
|
+
"http-errors": {
|
|
11683
|
+
"version": "2.0.0",
|
|
11684
|
+
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
|
|
11685
|
+
"integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
|
|
11686
|
+
"dev": true,
|
|
11687
|
+
"requires": {
|
|
11688
|
+
"depd": "2.0.0",
|
|
11689
|
+
"inherits": "2.0.4",
|
|
11690
|
+
"setprototypeof": "1.2.0",
|
|
11691
|
+
"statuses": "2.0.1",
|
|
11692
|
+
"toidentifier": "1.0.1"
|
|
11693
|
+
},
|
|
11694
|
+
"dependencies": {
|
|
11695
|
+
"depd": {
|
|
11696
|
+
"version": "2.0.0",
|
|
11697
|
+
"resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
|
|
11698
|
+
"integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
|
|
11699
|
+
"dev": true
|
|
11700
|
+
},
|
|
11701
|
+
"statuses": {
|
|
11702
|
+
"version": "2.0.1",
|
|
11703
|
+
"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
|
|
11704
|
+
"integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
|
|
11705
|
+
"dev": true
|
|
11706
|
+
}
|
|
11707
|
+
}
|
|
11708
|
+
},
|
|
11540
11709
|
"http-parser-js": {
|
|
11541
11710
|
"version": "0.5.3",
|
|
11542
11711
|
"resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.3.tgz",
|
|
@@ -13544,6 +13713,18 @@
|
|
|
13544
13713
|
}
|
|
13545
13714
|
}
|
|
13546
13715
|
},
|
|
13716
|
+
"depd": {
|
|
13717
|
+
"version": "2.0.0",
|
|
13718
|
+
"resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
|
|
13719
|
+
"integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
|
|
13720
|
+
"dev": true
|
|
13721
|
+
},
|
|
13722
|
+
"destroy": {
|
|
13723
|
+
"version": "1.2.0",
|
|
13724
|
+
"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
|
|
13725
|
+
"integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
|
|
13726
|
+
"dev": true
|
|
13727
|
+
},
|
|
13547
13728
|
"fill-range": {
|
|
13548
13729
|
"version": "4.0.0",
|
|
13549
13730
|
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
|
|
@@ -13574,6 +13755,7 @@
|
|
|
13574
13755
|
"dev": true,
|
|
13575
13756
|
"optional": true,
|
|
13576
13757
|
"requires": {
|
|
13758
|
+
"bindings": "^1.5.0",
|
|
13577
13759
|
"nan": "^2.12.1"
|
|
13578
13760
|
}
|
|
13579
13761
|
},
|
|
@@ -13666,6 +13848,15 @@
|
|
|
13666
13848
|
"integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
|
|
13667
13849
|
"dev": true
|
|
13668
13850
|
},
|
|
13851
|
+
"on-finished": {
|
|
13852
|
+
"version": "2.4.1",
|
|
13853
|
+
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
|
|
13854
|
+
"integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
|
|
13855
|
+
"dev": true,
|
|
13856
|
+
"requires": {
|
|
13857
|
+
"ee-first": "1.1.1"
|
|
13858
|
+
}
|
|
13859
|
+
},
|
|
13669
13860
|
"opn": {
|
|
13670
13861
|
"version": "6.0.0",
|
|
13671
13862
|
"resolved": "https://registry.npmjs.org/opn/-/opn-6.0.0.tgz",
|
|
@@ -13675,12 +13866,6 @@
|
|
|
13675
13866
|
"is-wsl": "^1.1.0"
|
|
13676
13867
|
}
|
|
13677
13868
|
},
|
|
13678
|
-
"proxy-middleware": {
|
|
13679
|
-
"version": "0.15.0",
|
|
13680
|
-
"resolved": "https://registry.npmjs.org/proxy-middleware/-/proxy-middleware-0.15.0.tgz",
|
|
13681
|
-
"integrity": "sha512-EGCG8SeoIRVMhsqHQUdDigB2i7qU7fCsWASwn54+nPutYO8n4q6EiwMzyfWlC+dzRFExP+kvcnDFdBDHoZBU7Q==",
|
|
13682
|
-
"dev": true
|
|
13683
|
-
},
|
|
13684
13869
|
"readdirp": {
|
|
13685
13870
|
"version": "2.2.1",
|
|
13686
13871
|
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",
|
|
@@ -13711,50 +13896,14 @@
|
|
|
13711
13896
|
"on-finished": "2.4.1",
|
|
13712
13897
|
"range-parser": "~1.2.1",
|
|
13713
13898
|
"statuses": "2.0.1"
|
|
13714
|
-
},
|
|
13715
|
-
"dependencies": {
|
|
13716
|
-
"depd": {
|
|
13717
|
-
"version": "2.0.0",
|
|
13718
|
-
"resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
|
|
13719
|
-
"integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
|
|
13720
|
-
"dev": true
|
|
13721
|
-
},
|
|
13722
|
-
"destroy": {
|
|
13723
|
-
"version": "1.2.0",
|
|
13724
|
-
"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
|
|
13725
|
-
"integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
|
|
13726
|
-
"dev": true
|
|
13727
|
-
},
|
|
13728
|
-
"http-errors": {
|
|
13729
|
-
"version": "2.0.0",
|
|
13730
|
-
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
|
|
13731
|
-
"integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
|
|
13732
|
-
"dev": true,
|
|
13733
|
-
"requires": {
|
|
13734
|
-
"depd": "2.0.0",
|
|
13735
|
-
"inherits": "2.0.4",
|
|
13736
|
-
"setprototypeof": "1.2.0",
|
|
13737
|
-
"statuses": "2.0.1",
|
|
13738
|
-
"toidentifier": "1.0.1"
|
|
13739
|
-
}
|
|
13740
|
-
},
|
|
13741
|
-
"on-finished": {
|
|
13742
|
-
"version": "2.4.1",
|
|
13743
|
-
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
|
|
13744
|
-
"integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
|
|
13745
|
-
"dev": true,
|
|
13746
|
-
"requires": {
|
|
13747
|
-
"ee-first": "1.1.1"
|
|
13748
|
-
}
|
|
13749
|
-
},
|
|
13750
|
-
"statuses": {
|
|
13751
|
-
"version": "2.0.1",
|
|
13752
|
-
"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
|
|
13753
|
-
"integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
|
|
13754
|
-
"dev": true
|
|
13755
|
-
}
|
|
13756
13899
|
}
|
|
13757
13900
|
},
|
|
13901
|
+
"statuses": {
|
|
13902
|
+
"version": "2.0.1",
|
|
13903
|
+
"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
|
|
13904
|
+
"integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
|
|
13905
|
+
"dev": true
|
|
13906
|
+
},
|
|
13758
13907
|
"to-regex-range": {
|
|
13759
13908
|
"version": "2.1.1",
|
|
13760
13909
|
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",
|
|
@@ -14484,9 +14633,9 @@
|
|
|
14484
14633
|
"dev": true
|
|
14485
14634
|
},
|
|
14486
14635
|
"moment-timezone": {
|
|
14487
|
-
"version": "0.5.
|
|
14488
|
-
"resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.
|
|
14489
|
-
"integrity": "sha512-
|
|
14636
|
+
"version": "0.5.39",
|
|
14637
|
+
"resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.39.tgz",
|
|
14638
|
+
"integrity": "sha512-hoB6suq4ISDj7BDgctiOy6zljBsdYT0++0ZzZm9rtxIvJhIbQ3nmbgSWe7dNFGurl6/7b1OUkHlmN9JWgXVz7w==",
|
|
14490
14639
|
"dev": true,
|
|
14491
14640
|
"requires": {
|
|
14492
14641
|
"moment": ">= 2.9.0"
|
|
@@ -17713,6 +17862,12 @@
|
|
|
17713
17862
|
"ipaddr.js": "1.9.1"
|
|
17714
17863
|
}
|
|
17715
17864
|
},
|
|
17865
|
+
"proxy-middleware": {
|
|
17866
|
+
"version": "0.15.0",
|
|
17867
|
+
"resolved": "https://registry.npmjs.org/proxy-middleware/-/proxy-middleware-0.15.0.tgz",
|
|
17868
|
+
"integrity": "sha512-EGCG8SeoIRVMhsqHQUdDigB2i7qU7fCsWASwn54+nPutYO8n4q6EiwMzyfWlC+dzRFExP+kvcnDFdBDHoZBU7Q==",
|
|
17869
|
+
"dev": true
|
|
17870
|
+
},
|
|
17716
17871
|
"prr": {
|
|
17717
17872
|
"version": "1.0.1",
|
|
17718
17873
|
"resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",
|
|
@@ -21240,6 +21395,7 @@
|
|
|
21240
21395
|
"dev": true,
|
|
21241
21396
|
"optional": true,
|
|
21242
21397
|
"requires": {
|
|
21398
|
+
"bindings": "^1.5.0",
|
|
21243
21399
|
"nan": "^2.12.1"
|
|
21244
21400
|
}
|
|
21245
21401
|
},
|
|
@@ -21966,6 +22122,7 @@
|
|
|
21966
22122
|
"dev": true,
|
|
21967
22123
|
"optional": true,
|
|
21968
22124
|
"requires": {
|
|
22125
|
+
"bindings": "^1.5.0",
|
|
21969
22126
|
"nan": "^2.12.1"
|
|
21970
22127
|
}
|
|
21971
22128
|
},
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"@awesome-cordova-plugins/vibration": "5.39.1",
|
|
46
46
|
"@metrichor/jmespath": "^0.3.1",
|
|
47
47
|
"@wavemaker.com/nvd3": "1.0.0",
|
|
48
|
+
"@wavemaker/variables": "11.2.0-next.140104",
|
|
48
49
|
"angular-imask": "6.0.4",
|
|
49
50
|
"angular2-websocket": "0.9.7",
|
|
50
51
|
"core-js": "2.5.4",
|
|
@@ -68,7 +69,7 @@
|
|
|
68
69
|
"tslib": "^2.0.0",
|
|
69
70
|
"x2js": "3.2.6",
|
|
70
71
|
"zone.js": "~0.11.4",
|
|
71
|
-
"@wavemaker/app-ng-runtime": "11.2.0-next.
|
|
72
|
+
"@wavemaker/app-ng-runtime": "11.2.0-next.140104"
|
|
72
73
|
},
|
|
73
74
|
"devDependencies": {
|
|
74
75
|
"@ampproject/rollup-plugin-closure-compiler": "0.8.5",
|
|
@@ -46638,41 +46638,42 @@ const validateDataSourceCtx = (ds, ctx) => {
|
|
|
46638
46638
|
* @param name name of the variable
|
|
46639
46639
|
* @param context scope of the variable
|
|
46640
46640
|
*/
|
|
46641
|
-
const processFilterExpBindNode = (context, filterExpressions) => {
|
|
46641
|
+
const processFilterExpBindNode = (context, filterExpressions, variable) => {
|
|
46642
46642
|
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : _.noop;
|
|
46643
46643
|
const filter$ = new Subject();
|
|
46644
46644
|
const bindFilExpObj = (obj, targetNodeKey) => {
|
|
46645
|
+
const listener = (newVal, oldVal) => {
|
|
46646
|
+
if ((newVal === oldVal && _.isUndefined(newVal)) || (_.isUndefined(newVal) && !_.isUndefined(oldVal))) {
|
|
46647
|
+
return;
|
|
46648
|
+
}
|
|
46649
|
+
// Skip cloning for blob column
|
|
46650
|
+
if (!_.includes(['blob', 'file'], obj.type)) {
|
|
46651
|
+
newVal = getClonedObject(newVal);
|
|
46652
|
+
}
|
|
46653
|
+
// backward compatibility: where we are allowing the user to bind complete object
|
|
46654
|
+
if (obj.target === 'dataBinding') {
|
|
46655
|
+
// remove the existing databinding element
|
|
46656
|
+
filterExpressions.rules = [];
|
|
46657
|
+
// now add all the returned values
|
|
46658
|
+
_.forEach(newVal, function (value, target) {
|
|
46659
|
+
filterExpressions.rules.push({
|
|
46660
|
+
'target': target,
|
|
46661
|
+
'value': value,
|
|
46662
|
+
'matchMode': obj.matchMode || 'startignorecase',
|
|
46663
|
+
'required': false,
|
|
46664
|
+
'type': ''
|
|
46665
|
+
});
|
|
46666
|
+
});
|
|
46667
|
+
}
|
|
46668
|
+
else {
|
|
46669
|
+
// setting value to the root node
|
|
46670
|
+
obj[targetNodeKey] = newVal;
|
|
46671
|
+
}
|
|
46672
|
+
filter$.next({ filterExpressions, newVal });
|
|
46673
|
+
};
|
|
46645
46674
|
if (stringStartsWith(obj[targetNodeKey], 'bind:')) {
|
|
46646
46675
|
// [Todo-CSP]: needs a check, where is this used
|
|
46647
|
-
destroyFn($watch(obj[targetNodeKey].replace('bind:', ''), context, {}, (
|
|
46648
|
-
if ((newVal === oldVal && _.isUndefined(newVal)) || (_.isUndefined(newVal) && !_.isUndefined(oldVal))) {
|
|
46649
|
-
return;
|
|
46650
|
-
}
|
|
46651
|
-
// Skip cloning for blob column
|
|
46652
|
-
if (!_.includes(['blob', 'file'], obj.type)) {
|
|
46653
|
-
newVal = getClonedObject(newVal);
|
|
46654
|
-
}
|
|
46655
|
-
// backward compatibility: where we are allowing the user to bind complete object
|
|
46656
|
-
if (obj.target === 'dataBinding') {
|
|
46657
|
-
// remove the existing databinding element
|
|
46658
|
-
filterExpressions.rules = [];
|
|
46659
|
-
// now add all the returned values
|
|
46660
|
-
_.forEach(newVal, function (value, target) {
|
|
46661
|
-
filterExpressions.rules.push({
|
|
46662
|
-
'target': target,
|
|
46663
|
-
'value': value,
|
|
46664
|
-
'matchMode': obj.matchMode || 'startignorecase',
|
|
46665
|
-
'required': false,
|
|
46666
|
-
'type': ''
|
|
46667
|
-
});
|
|
46668
|
-
});
|
|
46669
|
-
}
|
|
46670
|
-
else {
|
|
46671
|
-
// setting value to the root node
|
|
46672
|
-
obj[targetNodeKey] = newVal;
|
|
46673
|
-
}
|
|
46674
|
-
filter$.next({ filterExpressions, newVal });
|
|
46675
|
-
}, undefined, false, { arrayType: _.includes(['in', 'notin'], obj.matchMode) }));
|
|
46676
|
+
destroyFn($watch(obj[targetNodeKey].replace('bind:', ''), context, {}, variable ? variable.invokeOnFiltertExpressionChange.bind(variable, obj, targetNodeKey) : listener, undefined, false, { arrayType: _.includes(['in', 'notin'], obj.matchMode) }));
|
|
46676
46677
|
}
|
|
46677
46678
|
};
|
|
46678
46679
|
const traverseFilterExpressions = expressions => {
|
|
@@ -42716,41 +42716,42 @@ const validateDataSourceCtx = (ds, ctx) => {
|
|
|
42716
42716
|
* @param name name of the variable
|
|
42717
42717
|
* @param context scope of the variable
|
|
42718
42718
|
*/
|
|
42719
|
-
const processFilterExpBindNode = (context, filterExpressions) => {
|
|
42719
|
+
const processFilterExpBindNode = (context, filterExpressions, variable) => {
|
|
42720
42720
|
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : _.noop;
|
|
42721
42721
|
const filter$ = new Subject();
|
|
42722
42722
|
const bindFilExpObj = (obj, targetNodeKey) => {
|
|
42723
|
+
const listener = (newVal, oldVal) => {
|
|
42724
|
+
if ((newVal === oldVal && _.isUndefined(newVal)) || (_.isUndefined(newVal) && !_.isUndefined(oldVal))) {
|
|
42725
|
+
return;
|
|
42726
|
+
}
|
|
42727
|
+
// Skip cloning for blob column
|
|
42728
|
+
if (!_.includes(['blob', 'file'], obj.type)) {
|
|
42729
|
+
newVal = getClonedObject(newVal);
|
|
42730
|
+
}
|
|
42731
|
+
// backward compatibility: where we are allowing the user to bind complete object
|
|
42732
|
+
if (obj.target === 'dataBinding') {
|
|
42733
|
+
// remove the existing databinding element
|
|
42734
|
+
filterExpressions.rules = [];
|
|
42735
|
+
// now add all the returned values
|
|
42736
|
+
_.forEach(newVal, function (value, target) {
|
|
42737
|
+
filterExpressions.rules.push({
|
|
42738
|
+
'target': target,
|
|
42739
|
+
'value': value,
|
|
42740
|
+
'matchMode': obj.matchMode || 'startignorecase',
|
|
42741
|
+
'required': false,
|
|
42742
|
+
'type': ''
|
|
42743
|
+
});
|
|
42744
|
+
});
|
|
42745
|
+
}
|
|
42746
|
+
else {
|
|
42747
|
+
// setting value to the root node
|
|
42748
|
+
obj[targetNodeKey] = newVal;
|
|
42749
|
+
}
|
|
42750
|
+
filter$.next({ filterExpressions, newVal });
|
|
42751
|
+
};
|
|
42723
42752
|
if (stringStartsWith(obj[targetNodeKey], 'bind:')) {
|
|
42724
42753
|
// [Todo-CSP]: needs a check, where is this used
|
|
42725
|
-
destroyFn($watch(obj[targetNodeKey].replace('bind:', ''), context, {}, (
|
|
42726
|
-
if ((newVal === oldVal && _.isUndefined(newVal)) || (_.isUndefined(newVal) && !_.isUndefined(oldVal))) {
|
|
42727
|
-
return;
|
|
42728
|
-
}
|
|
42729
|
-
// Skip cloning for blob column
|
|
42730
|
-
if (!_.includes(['blob', 'file'], obj.type)) {
|
|
42731
|
-
newVal = getClonedObject(newVal);
|
|
42732
|
-
}
|
|
42733
|
-
// backward compatibility: where we are allowing the user to bind complete object
|
|
42734
|
-
if (obj.target === 'dataBinding') {
|
|
42735
|
-
// remove the existing databinding element
|
|
42736
|
-
filterExpressions.rules = [];
|
|
42737
|
-
// now add all the returned values
|
|
42738
|
-
_.forEach(newVal, function (value, target) {
|
|
42739
|
-
filterExpressions.rules.push({
|
|
42740
|
-
'target': target,
|
|
42741
|
-
'value': value,
|
|
42742
|
-
'matchMode': obj.matchMode || 'startignorecase',
|
|
42743
|
-
'required': false,
|
|
42744
|
-
'type': ''
|
|
42745
|
-
});
|
|
42746
|
-
});
|
|
42747
|
-
}
|
|
42748
|
-
else {
|
|
42749
|
-
// setting value to the root node
|
|
42750
|
-
obj[targetNodeKey] = newVal;
|
|
42751
|
-
}
|
|
42752
|
-
filter$.next({ filterExpressions, newVal });
|
|
42753
|
-
}, undefined, false, { arrayType: _.includes(['in', 'notin'], obj.matchMode) }));
|
|
42754
|
+
destroyFn($watch(obj[targetNodeKey].replace('bind:', ''), context, {}, variable ? variable.invokeOnFiltertExpressionChange.bind(variable, obj, targetNodeKey) : listener, undefined, false, { arrayType: _.includes(['in', 'notin'], obj.matchMode) }));
|
|
42754
42755
|
}
|
|
42755
42756
|
};
|
|
42756
42757
|
const traverseFilterExpressions = expressions => {
|
|
@@ -42716,41 +42716,42 @@ const validateDataSourceCtx = (ds, ctx) => {
|
|
|
42716
42716
|
* @param name name of the variable
|
|
42717
42717
|
* @param context scope of the variable
|
|
42718
42718
|
*/
|
|
42719
|
-
const processFilterExpBindNode = (context, filterExpressions) => {
|
|
42719
|
+
const processFilterExpBindNode = (context, filterExpressions, variable) => {
|
|
42720
42720
|
const destroyFn = context.registerDestroyListener ? context.registerDestroyListener.bind(context) : _.noop;
|
|
42721
42721
|
const filter$ = new Subject();
|
|
42722
42722
|
const bindFilExpObj = (obj, targetNodeKey) => {
|
|
42723
|
+
const listener = (newVal, oldVal) => {
|
|
42724
|
+
if ((newVal === oldVal && _.isUndefined(newVal)) || (_.isUndefined(newVal) && !_.isUndefined(oldVal))) {
|
|
42725
|
+
return;
|
|
42726
|
+
}
|
|
42727
|
+
// Skip cloning for blob column
|
|
42728
|
+
if (!_.includes(['blob', 'file'], obj.type)) {
|
|
42729
|
+
newVal = getClonedObject(newVal);
|
|
42730
|
+
}
|
|
42731
|
+
// backward compatibility: where we are allowing the user to bind complete object
|
|
42732
|
+
if (obj.target === 'dataBinding') {
|
|
42733
|
+
// remove the existing databinding element
|
|
42734
|
+
filterExpressions.rules = [];
|
|
42735
|
+
// now add all the returned values
|
|
42736
|
+
_.forEach(newVal, function (value, target) {
|
|
42737
|
+
filterExpressions.rules.push({
|
|
42738
|
+
'target': target,
|
|
42739
|
+
'value': value,
|
|
42740
|
+
'matchMode': obj.matchMode || 'startignorecase',
|
|
42741
|
+
'required': false,
|
|
42742
|
+
'type': ''
|
|
42743
|
+
});
|
|
42744
|
+
});
|
|
42745
|
+
}
|
|
42746
|
+
else {
|
|
42747
|
+
// setting value to the root node
|
|
42748
|
+
obj[targetNodeKey] = newVal;
|
|
42749
|
+
}
|
|
42750
|
+
filter$.next({ filterExpressions, newVal });
|
|
42751
|
+
};
|
|
42723
42752
|
if (stringStartsWith(obj[targetNodeKey], 'bind:')) {
|
|
42724
42753
|
// [Todo-CSP]: needs a check, where is this used
|
|
42725
|
-
destroyFn($watch(obj[targetNodeKey].replace('bind:', ''), context, {}, (
|
|
42726
|
-
if ((newVal === oldVal && _.isUndefined(newVal)) || (_.isUndefined(newVal) && !_.isUndefined(oldVal))) {
|
|
42727
|
-
return;
|
|
42728
|
-
}
|
|
42729
|
-
// Skip cloning for blob column
|
|
42730
|
-
if (!_.includes(['blob', 'file'], obj.type)) {
|
|
42731
|
-
newVal = getClonedObject(newVal);
|
|
42732
|
-
}
|
|
42733
|
-
// backward compatibility: where we are allowing the user to bind complete object
|
|
42734
|
-
if (obj.target === 'dataBinding') {
|
|
42735
|
-
// remove the existing databinding element
|
|
42736
|
-
filterExpressions.rules = [];
|
|
42737
|
-
// now add all the returned values
|
|
42738
|
-
_.forEach(newVal, function (value, target) {
|
|
42739
|
-
filterExpressions.rules.push({
|
|
42740
|
-
'target': target,
|
|
42741
|
-
'value': value,
|
|
42742
|
-
'matchMode': obj.matchMode || 'startignorecase',
|
|
42743
|
-
'required': false,
|
|
42744
|
-
'type': ''
|
|
42745
|
-
});
|
|
42746
|
-
});
|
|
42747
|
-
}
|
|
42748
|
-
else {
|
|
42749
|
-
// setting value to the root node
|
|
42750
|
-
obj[targetNodeKey] = newVal;
|
|
42751
|
-
}
|
|
42752
|
-
filter$.next({ filterExpressions, newVal });
|
|
42753
|
-
}, undefined, false, { arrayType: _.includes(['in', 'notin'], obj.matchMode) }));
|
|
42754
|
+
destroyFn($watch(obj[targetNodeKey].replace('bind:', ''), context, {}, variable ? variable.invokeOnFiltertExpressionChange.bind(variable, obj, targetNodeKey) : listener, undefined, false, { arrayType: _.includes(['in', 'notin'], obj.matchMode) }));
|
|
42754
42755
|
}
|
|
42755
42756
|
};
|
|
42756
42757
|
const traverseFilterExpressions = expressions => {
|