@wavemaker/app-ng-runtime 11.5.3-next.26259 → 11.5.3-next.51003
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 +34 -46
- app-ng-runtime/components/chart/esm2020/chart.component.mjs +5 -5
- app-ng-runtime/components/chart/esm2020/chart.utils.mjs +13 -45
- app-ng-runtime/components/chart/fesm2015/index.mjs +16 -48
- app-ng-runtime/components/chart/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/chart/fesm2020/index.mjs +16 -48
- 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 +162 -176
- app-ng-runtime/components/input/default/esm2020/number/number.component.mjs +6 -7
- app-ng-runtime/components/input/default/esm2020/number/number.props.mjs +2 -4
- app-ng-runtime/components/input/default/esm2020/text/calendar/input-calendar.component.mjs +6 -7
- 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.component.mjs +6 -7
- 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.component.mjs +6 -7
- 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.component.mjs +5 -5
- 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.component.mjs +7 -8
- app-ng-runtime/components/input/default/esm2020/text/text/input-text.props.mjs +2 -4
- app-ng-runtime/components/input/default/esm2020/textarea/textarea.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2020/textarea/textarea.props.mjs +1 -3
- app-ng-runtime/components/input/default/fesm2015/index.mjs +43 -57
- app-ng-runtime/components/input/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/fesm2020/index.mjs +43 -57
- app-ng-runtime/components/input/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +0 -2
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +0 -2
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +0 -2
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +0 -2
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +0 -2
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +0 -2
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +0 -2
- 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 -0
- 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
- app-ng-runtime/scripts/@wavemaker/nvd3/build/nv.d3.min.js +0 -1
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export class WmPipe {
|
|
2
|
-
constructor(pipeName, customPipeManager) {
|
|
3
|
-
this.pipeName = pipeName;
|
|
4
|
-
this.customPipeManager = customPipeManager;
|
|
5
|
-
this.pipeRef = this.customPipeManager ? this.customPipeManager.getCustomPipe(pipeName) : null;
|
|
6
|
-
this.isCustomPipe = this.pipeRef && _.isFunction(this.pipeRef.formatter);
|
|
7
|
-
}
|
|
8
|
-
customFormatter(data, args) {
|
|
9
|
-
try {
|
|
10
|
-
return this.pipeRef.formatter(...args);
|
|
11
|
-
}
|
|
12
|
-
catch (error) {
|
|
13
|
-
return data;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid20tcGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvYmFzZS9zcmMvcGlwZXMvd20tcGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxNQUFNLE9BQU8sTUFBTTtJQUdmLFlBQW9CLFFBQVEsRUFBWSxpQkFBb0M7UUFBeEQsYUFBUSxHQUFSLFFBQVEsQ0FBQTtRQUFZLHNCQUFpQixHQUFqQixpQkFBaUIsQ0FBbUI7U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mIF8uaXNGdW5jdGlvbih0aGlzLnBpcGVSZWYuZm9ybWF0dGVyKTtcbiAgICB9XG5cbiAgICBjdXN0b21Gb3JtYXR0ZXIoZGF0YSwgYXJncykge1xuICAgICAgICB0cnkge1xuICAgICAgICAgICAgcmV0dXJuIHRoaXMucGlwZVJlZi5mb3JtYXR0ZXIoLi4uYXJncyk7XG4gICAgICAgIH0gY2F0Y2ggKGVycm9yKSB7XG4gICAgICAgICAgICByZXR1cm4gZGF0YTtcbiAgICAgICAgfVxuICAgIH1cbn0iXX0=
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CustomPipeManager } from '@wm/core';
|
|
2
|
-
export declare class WmPipe {
|
|
3
|
-
private pipeName;
|
|
4
|
-
protected customPipeManager: CustomPipeManager;
|
|
5
|
-
protected pipeRef: any;
|
|
6
|
-
protected isCustomPipe: any;
|
|
7
|
-
constructor(pipeName: any, customPipeManager: CustomPipeManager);
|
|
8
|
-
customFormatter(data: any, args: any): any;
|
|
9
|
-
}
|