@wavemaker/app-ng-runtime 11.10.0-rc.198 → 11.10.1-rc.6054
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/build-task/bundles/index.umd.js +0 -1
- package/components/base/bundles/index.umd.js +5 -1
- package/components/base/esm2022/widgets/common/base/base.component.mjs +6 -1
- package/components/base/fesm2022/index.mjs +5 -0
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/chart/bundles/index.umd.js +1 -1
- package/components/data/form/bundles/index.umd.js +4 -4
- package/components/data/form/esm2022/form.component.mjs +5 -5
- package/components/data/form/fesm2022/index.mjs +4 -4
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/input/calendar/bundles/index.umd.js +1 -4
- package/components/input/default/bundles/index.umd.js +17 -6
- package/components/input/default/esm2022/base-form.component.mjs +5 -2
- package/components/input/default/esm2022/switch/switch.component.mjs +14 -6
- package/components/input/default/esm2022/switch/switch.props.mjs +2 -2
- package/components/input/default/fesm2022/index.mjs +18 -7
- package/components/input/default/fesm2022/index.mjs.map +1 -1
- package/components/input/default/switch/switch.component.d.ts +1 -0
- package/components/input/epoch/bundles/index.umd.js +14 -6
- package/components/input/epoch/date/date.component.d.ts +1 -0
- package/components/input/epoch/esm2022/date/date.component.mjs +15 -5
- package/components/input/epoch/fesm2022/index.mjs +14 -4
- package/components/input/epoch/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/bundles/index.umd.js +1 -4
- package/core/bundles/index.umd.js +0 -17
- package/locales/moment-timezone/moment-timezone-with-data.js +7 -7
- package/npm-shrinkwrap.json +2 -2
- package/oAuth/bundles/index.umd.js +1 -4
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +6 -5
- package/runtime/base/components/base-page.component.d.ts +1 -1
- package/runtime/base/esm2022/components/base-page.component.mjs +3 -3
- package/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +4 -3
- package/runtime/base/esm2022/services/http-interceptor.services.mjs +2 -2
- package/runtime/base/fesm2022/index.mjs +6 -5
- package/runtime/base/fesm2022/index.mjs.map +1 -1
- package/runtime/base/guards/can-deactivate-page.guard.d.ts +2 -2
- package/scripts/datatable/datatable.js +12 -0
- package/security/bundles/index.umd.js +1 -1
- package/security/esm2022/security.service.mjs +2 -2
- package/security/fesm2022/index.mjs +1 -1
- package/security/fesm2022/index.mjs.map +1 -1
|
@@ -1084,7 +1084,7 @@
|
|
|
1084
1084
|
maxLength = lodashEs.max(lodashEs.map(queryResponse, obj => obj.length));
|
|
1085
1085
|
}
|
|
1086
1086
|
lodashEs.forEach(queryResponse, (values, groupKey) => {
|
|
1087
|
-
groupValues = lodashEs.fill(new Array(maxLength), [0, 0]) ;
|
|
1087
|
+
groupValues = isAreaChart ? lodashEs.fill(new Array(maxLength), [0, 0]) : [];
|
|
1088
1088
|
lodashEs.forEachRight(values, (value, index) => {
|
|
1089
1089
|
groupValues[index] = this.valueFinder(value, this.xaxisdatakey, yAxisKey, index);
|
|
1090
1090
|
});
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
i0__namespace.ɵɵelementEnd();
|
|
139
139
|
} if (rf & 2) {
|
|
140
140
|
const ctx_r0 = i0__namespace.ɵɵnextContext(3);
|
|
141
|
-
i0__namespace.ɵɵproperty("ngClass", ctx_r0.expanded ? "wi-minus" : "wi-plus");
|
|
141
|
+
i0__namespace.ɵɵproperty("title", ctx_r0.expanded ? (ctx_r0.appLocale == null ? null : ctx_r0.appLocale.LABEL_COLLAPSE) || "Collapse" : (ctx_r0.appLocale == null ? null : ctx_r0.appLocale.LABEL_EXPAND) || "Expand")("ngClass", ctx_r0.expanded ? "wi-minus" : "wi-plus");
|
|
142
142
|
} }
|
|
143
143
|
function FormComponent_ng_template_3_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
144
144
|
i0__namespace.ɵɵelementStart(0, "div", 14)(1, "h3", 15)(2, "div", 16);
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
i0__namespace.ɵɵelementStart(7, "div", 20);
|
|
151
151
|
i0__namespace.ɵɵtemplate(8, FormComponent_ng_template_3_div_0_ng_container_8_Template, 1, 7, "ng-container", 13);
|
|
152
152
|
i0__namespace.ɵɵpipe(9, "filter");
|
|
153
|
-
i0__namespace.ɵɵtemplate(10, FormComponent_ng_template_3_div_0_button_10_Template, 1,
|
|
153
|
+
i0__namespace.ɵɵtemplate(10, FormComponent_ng_template_3_div_0_button_10_Template, 1, 2, "button", 21);
|
|
154
154
|
i0__namespace.ɵɵelementEnd()()();
|
|
155
155
|
} if (rf & 2) {
|
|
156
156
|
const ctx_r0 = i0__namespace.ɵɵnextContext(2);
|
|
@@ -1350,7 +1350,7 @@
|
|
|
1350
1350
|
i0__namespace.ɵɵhostProperty("action", ctx.action, i0__namespace.ɵɵsanitizeUrl);
|
|
1351
1351
|
} }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
1352
1352
|
i5.provideAsWidgetRef(FormComponent)
|
|
1353
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$1, ngContentSelectors: _c2, decls: 13, vars: 3, consts: [["content", ""], ["defaultTemplate", ""], ["pageLayoutTemplate", ""], ["buttonRef", ""], ["anchorRef", ""], ["dynamicForm", ""], [4, "ngIf", "ngIfThen", "ngIfElse"], ["class", "panel-heading", 4, "ngIf"], [1, "panel-body", 3, "ngClass"], ["wmMessage", "", "caption.bind", "statusMessage.caption", "type.bind", "statusMessage.type", 4, "ngIf"], [3, "ngClass"], [4, "ngTemplateOutlet"], [1, "basic-btn-grp", "form-action", "panel-footer", "clearfix", 3, "ngClass"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", "ngTemplateOutletInjector", 4, "ngFor", "ngForOf"], [1, "panel-heading"], [1, "panel-title"], [1, "pull-left"], ["class", "app-icon panel-icon", "aria-hidden", "true", 3, "ngClass", 4, "ngIf"], [1, "heading", 3, "innerHTML"], [1, "description", 3, "innerHTML"], [1, "form-action", "panel-actions", "basic-btn-grp"], ["type", "button", "class", "app-icon wi panel-action",
|
|
1353
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$1, ngContentSelectors: _c2, decls: 13, vars: 3, consts: [["content", ""], ["defaultTemplate", ""], ["pageLayoutTemplate", ""], ["buttonRef", ""], ["anchorRef", ""], ["dynamicForm", ""], [4, "ngIf", "ngIfThen", "ngIfElse"], ["class", "panel-heading", 4, "ngIf"], [1, "panel-body", 3, "ngClass"], ["wmMessage", "", "caption.bind", "statusMessage.caption", "type.bind", "statusMessage.type", 4, "ngIf"], [3, "ngClass"], [4, "ngTemplateOutlet"], [1, "basic-btn-grp", "form-action", "panel-footer", "clearfix", 3, "ngClass"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", "ngTemplateOutletInjector", 4, "ngFor", "ngForOf"], [1, "panel-heading"], [1, "panel-title"], [1, "pull-left"], ["class", "app-icon panel-icon", "aria-hidden", "true", 3, "ngClass", 4, "ngIf"], [1, "heading", 3, "innerHTML"], [1, "description", 3, "innerHTML"], [1, "form-action", "panel-actions", "basic-btn-grp"], ["type", "button", "class", "app-icon wi panel-action", 3, "title", "ngClass", "click", 4, "ngIf"], ["aria-hidden", "true", 1, "app-icon", "panel-icon", 3, "ngClass"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", "ngTemplateOutletInjector"], ["type", "button", 1, "app-icon", "wi", "panel-action", 3, "click", "title", "ngClass"], ["wmMessage", "", "caption.bind", "statusMessage.caption", "type.bind", "statusMessage.type"], ["wmButton", "", "caption.bind", "btn.displayName", "class.bind", "btn.class", "iconclass.bind", "btn.iconclass", "show.bind", "btn.show", "type.bind", "btn.type", "hint.bind", "btn.title", "shortcutkey.bind", "btn.shortcutkey", "disabled.bind", "ngform.status === 'PENDING' || btn.disabled", "tabindex.bind", "btn.tabindex", 3, "click", "name"], ["wmAnchor", "", "caption.bind", "btn.displayName", "class.bind", "btn.class", "iconclass.bind", "btn.iconclass", "show.bind", "btn.show", "hint.bind", "btn.title", "shortcutkey.bind", "btn.shortcutkey", "hyperlink.bind", "btn.hyperlink", "target.bind", "btn.target", "tabindex.bind", "btn.tabindex", 3, "click", "name"]], template: function FormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1354
1354
|
i0__namespace.ɵɵprojectionDef();
|
|
1355
1355
|
i0__namespace.ɵɵtemplate(0, FormComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor)(2, FormComponent_ng_container_2_Template, 1, 0, "ng-container", 6)(3, FormComponent_ng_template_3_Template, 8, 23, "ng-template", null, 1, i0__namespace.ɵɵtemplateRefExtractor)(5, FormComponent_ng_template_5_Template, 1, 1, "ng-template", null, 2, i0__namespace.ɵɵtemplateRefExtractor)(7, FormComponent_ng_template_7_Template, 1, 4, "ng-template", null, 3, i0__namespace.ɵɵtemplateRefExtractor)(9, FormComponent_ng_template_9_Template, 1, 3, "ng-template", null, 4, i0__namespace.ɵɵtemplateRefExtractor);
|
|
1356
1356
|
i0__namespace.ɵɵelementContainer(11, null, 5);
|
|
@@ -1365,7 +1365,7 @@
|
|
|
1365
1365
|
type: i0.Component,
|
|
1366
1366
|
args: [{ selector: 'form[wmForm]', providers: [
|
|
1367
1367
|
i5.provideAsWidgetRef(FormComponent)
|
|
1368
|
-
], template: "<ng-template #content><ng-content></ng-content></ng-template>\n\n<ng-container *ngIf=\"formlayout === 'page'; then pageLayoutTemplate else defaultTemplate\">\n</ng-container>\n\n<ng-template #defaultTemplate>\n <div class=\"panel-heading\" *ngIf=\"!isLayoutDialog && (title || subheading || iconclass || showButtons('header'))\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n <i class=\"app-icon panel-icon\" aria-hidden=\"true\" [ngClass]=\"iconclass\" *ngIf=\"iconclass\"></i>\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n <div class=\"form-action panel-actions basic-btn-grp\">\n <ng-container *ngFor=\"let btn of buttonArray | filter : 'position' : 'header'; let index = index\"\n [ngTemplateOutlet]=\"btn.widgetType === 'button' ? buttonRef : anchorRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('action_header_' + index, {btn:btn})\">\n </ng-container>\n <button type=\"button\" class=\"app-icon wi panel-action\" *ngIf=\"collapsible\" title=\"Collapse
|
|
1368
|
+
], template: "<ng-template #content><ng-content></ng-content></ng-template>\n\n<ng-container *ngIf=\"formlayout === 'page'; then pageLayoutTemplate else defaultTemplate\">\n</ng-container>\n\n<ng-template #defaultTemplate>\n <div class=\"panel-heading\" *ngIf=\"!isLayoutDialog && (title || subheading || iconclass || showButtons('header'))\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n <i class=\"app-icon panel-icon\" aria-hidden=\"true\" [ngClass]=\"iconclass\" *ngIf=\"iconclass\"></i>\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n <div class=\"form-action panel-actions basic-btn-grp\">\n <ng-container *ngFor=\"let btn of buttonArray | filter : 'position' : 'header'; let index = index\"\n [ngTemplateOutlet]=\"btn.widgetType === 'button' ? buttonRef : anchorRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('action_header_' + index, {btn:btn})\">\n </ng-container>\n <button type=\"button\" class=\"app-icon wi panel-action\" *ngIf=\"collapsible\" [title]=\"expanded? (this.appLocale?.LABEL_COLLAPSE||'Collapse'):(this.appLocale?.LABEL_EXPAND||'Expand')\"\n [ngClass]=\"expanded ? 'wi-minus': 'wi-plus'\" (click)=\"expandCollapsePanel();\"></button>\n </div>\n </h3>\n </div>\n <div class=\"panel-body\" [ngClass]=\"{'form-elements': isLayoutDialog, 'form-body': !isLayoutDialog}\" [class.hidden]=\"!expanded\">\n <p wmMessage *ngIf=\"!!statusMessage.caption\" [attr.aria-hidden]=\"!statusMessage.caption\" [attr.aria-label]=\"statusMessage.caption\" caption.bind=\"statusMessage.caption\" type.bind=\"statusMessage.type\"></p>\n <div [ngClass]=\"{'form-elements': !isLayoutDialog, 'form-content': isLayoutDialog}\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </div>\n <div class=\"basic-btn-grp form-action panel-footer clearfix\" [ngClass]=\"{'modal-footer': isLayoutDialog}\" [class.hidden]=\"!expanded || !showButtons('footer')\">\n <ng-container *ngFor=\"let btn of buttonArray | filter : 'position' : 'footer'; let index = index\"\n [ngTemplateOutlet]=\"btn.widgetType === 'button' ? buttonRef : anchorRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('action_footer_' + index, {btn:btn})\">\n </ng-container>\n </div>\n </div>\n</ng-template>\n\n<ng-template #pageLayoutTemplate>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</ng-template>\n\n<ng-template #buttonRef let-btn=\"btn\">\n <button wmButton name=\"{{btn.key}}\" caption.bind=\"btn.displayName\" class.bind=\"btn.class\" iconclass.bind=\"btn.iconclass\" show.bind=\"btn.show\"\n (click)=\"invokeActionEvent($event, btn.action)\" type.bind=\"btn.type\" hint.bind=\"btn.title\" shortcutkey.bind=\"btn.shortcutkey\" disabled.bind=\"ngform.status === 'PENDING' || btn.disabled\"\n tabindex.bind=\"btn.tabindex\" [attr.aria-label]=\"btn.displayName\" [class.hidden]=\"btn.updateMode ? !isUpdateMode : isUpdateMode\"></button>\n</ng-template>\n\n<ng-template #anchorRef let-btn=\"btn\">\n <a wmAnchor name=\"{{btn.key}}\" caption.bind=\"btn.displayName\" class.bind=\"btn.class\" iconclass.bind=\"btn.iconclass\" show.bind=\"btn.show\"\n (click)=\"invokeActionEvent($event, btn.action)\" hint.bind=\"btn.title\" shortcutkey.bind=\"btn.shortcutkey\"\n hyperlink.bind=\"btn.hyperlink\" target.bind=\"btn.target\"\n tabindex.bind=\"btn.tabindex\" [class.hidden]=\"btn.updateMode ? !isUpdateMode : isUpdateMode\"></a>\n</ng-template>\n\n<ng-container #dynamicForm></ng-container>\n" }]
|
|
1369
1369
|
}], () => [{ type: i0__namespace.Injector }, { type: i1__namespace.FormBuilder }, { type: i1$1__namespace.App }, { type: i1$1__namespace.AbstractDialogService }, { type: i1$1__namespace.DynamicComponentRefProvider }, { type: i0__namespace.NgZone }, { type: i3__namespace.ListComponent, decorators: [{
|
|
1370
1370
|
type: i0.Optional
|
|
1371
1371
|
}] }, { type: FormComponent, decorators: [{
|