@wavemaker/app-ng-runtime 11.5.1-rc.5420 → 11.5.1-rc.5421
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.
- app-ng-runtime/components/base/bundles/index.umd.js +10 -39
- app-ng-runtime/components/base/esm2020/pipes/custom-pipes.mjs +11 -24
- app-ng-runtime/components/base/fesm2015/index.mjs +10 -39
- app-ng-runtime/components/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/base/fesm2020/index.mjs +10 -39
- app-ng-runtime/components/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +2 -5
- app-ng-runtime/components/chart/bundles/index.umd.js +31 -19
- app-ng-runtime/components/chart/esm2020/chart.component.mjs +4 -4
- app-ng-runtime/components/chart/esm2020/chart.utils.mjs +11 -19
- app-ng-runtime/components/chart/fesm2015/index.mjs +13 -21
- app-ng-runtime/components/chart/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/chart/fesm2020/index.mjs +13 -21
- app-ng-runtime/components/chart/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +3 -14
- app-ng-runtime/components/containers/wizard/esm2020/wizard.component.mjs +4 -13
- app-ng-runtime/components/containers/wizard/esm2020/wizard.props.mjs +1 -2
- app-ng-runtime/components/containers/wizard/fesm2015/index.mjs +3 -14
- app-ng-runtime/components/containers/wizard/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/fesm2020/index.mjs +3 -13
- app-ng-runtime/components/containers/wizard/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +0 -2
- app-ng-runtime/components/input/default/bundles/index.umd.js +6 -18
- app-ng-runtime/components/input/default/esm2020/number/number.props.mjs +2 -4
- app-ng-runtime/components/input/default/esm2020/text/calendar/input-calendar.props.mjs +2 -4
- app-ng-runtime/components/input/default/esm2020/text/color/input-color.props.mjs +2 -4
- app-ng-runtime/components/input/default/esm2020/text/email/input-email.props.mjs +2 -4
- app-ng-runtime/components/input/default/esm2020/text/number/input-number.props.mjs +2 -4
- app-ng-runtime/components/input/default/esm2020/text/text/input-text.props.mjs +2 -4
- app-ng-runtime/components/input/default/fesm2015/index.mjs +6 -18
- app-ng-runtime/components/input/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/fesm2020/index.mjs +6 -18
- app-ng-runtime/components/input/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +1 -26
- app-ng-runtime/runtime/base/components/base-page.component.d.ts +0 -1
- app-ng-runtime/runtime/base/esm2020/components/base-page.component.mjs +1 -26
- app-ng-runtime/runtime/base/esm2020/services/pipe-provider.service.mjs +2 -2
- app-ng-runtime/runtime/base/fesm2015/index.mjs +1 -26
- app-ng-runtime/runtime/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/fesm2020/index.mjs +1 -26
- app-ng-runtime/runtime/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/scripts/@wavemaker.com/nvd3/build/nv.d3.min.js +13 -1
- app-ng-runtime/scripts/d3/d3.min.js +5 -2
- app-ng-runtime/components/base/esm2020/pipes/wm-pipe.mjs +0 -17
- app-ng-runtime/components/base/pipes/wm-pipe.d.ts +0 -9
|
@@ -1318,34 +1318,9 @@ class BasePageComponent extends FragmentMonitor {
|
|
|
1318
1318
|
});
|
|
1319
1319
|
}
|
|
1320
1320
|
ngOnDestroy() {
|
|
1321
|
-
//this.captureApplicationThumbnail();
|
|
1322
1321
|
this.savePageSnapShot();
|
|
1323
1322
|
this.destroy$.complete();
|
|
1324
1323
|
}
|
|
1325
|
-
captureApplicationThumbnail() {
|
|
1326
|
-
const root = this;
|
|
1327
|
-
let captureApplicationThumbnail = localStorage.getItem("captureApplicationThumbnail") === "true" ? true : false;
|
|
1328
|
-
if (captureApplicationThumbnail && this.App.landingPageName === this.pageName && !this.App.isApplicationThumbnailCaptured) {
|
|
1329
|
-
html2canvas(document.body)
|
|
1330
|
-
.then(canvas => {
|
|
1331
|
-
try {
|
|
1332
|
-
root.App.isApplicationThumbnailCaptured = true;
|
|
1333
|
-
const screenshotUrl = canvas.toDataURL("image/png");
|
|
1334
|
-
console.log(screenshotUrl);
|
|
1335
|
-
const a = document.createElement("a");
|
|
1336
|
-
a.href = screenshotUrl;
|
|
1337
|
-
a.download = "screenshot.jpg";
|
|
1338
|
-
a.click();
|
|
1339
|
-
}
|
|
1340
|
-
catch (error) {
|
|
1341
|
-
console.error('Error in html2canvas then block:', error);
|
|
1342
|
-
}
|
|
1343
|
-
})
|
|
1344
|
-
.catch(error => {
|
|
1345
|
-
console.error('Error in html2canvas promise:', error);
|
|
1346
|
-
});
|
|
1347
|
-
}
|
|
1348
|
-
}
|
|
1349
1324
|
onReady() { }
|
|
1350
1325
|
onBeforePageReady() { }
|
|
1351
1326
|
onBeforePageLeave() { }
|
|
@@ -2390,7 +2365,7 @@ class PipeProvider {
|
|
|
2390
2365
|
this.preparePipeMeta(CurrencyPipe, 'currency', true, [this._locale]),
|
|
2391
2366
|
this.preparePipeMeta(DatePipe, 'date', true, [this._locale]),
|
|
2392
2367
|
this.preparePipeMeta(ToDatePipe, 'toDate', true, [
|
|
2393
|
-
new DatePipe(this._locale)
|
|
2368
|
+
new DatePipe(this._locale)
|
|
2394
2369
|
]),
|
|
2395
2370
|
this.preparePipeMeta(ToNumberPipe, 'toNumber', true, [
|
|
2396
2371
|
new DecimalPipe(this._locale),
|