@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
|
@@ -127,7 +127,7 @@ function FormComponent_ng_template_3_div_0_button_10_Template(rf, ctx) { if (rf
|
|
|
127
127
|
i0.ɵɵelementEnd();
|
|
128
128
|
} if (rf & 2) {
|
|
129
129
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
130
|
-
i0.ɵɵproperty("ngClass", ctx_r0.expanded ? "wi-minus" : "wi-plus");
|
|
130
|
+
i0.ɵɵ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");
|
|
131
131
|
} }
|
|
132
132
|
function FormComponent_ng_template_3_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
133
133
|
i0.ɵɵelementStart(0, "div", 14)(1, "h3", 15)(2, "div", 16);
|
|
@@ -139,7 +139,7 @@ function FormComponent_ng_template_3_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
139
139
|
i0.ɵɵelementStart(7, "div", 20);
|
|
140
140
|
i0.ɵɵtemplate(8, FormComponent_ng_template_3_div_0_ng_container_8_Template, 1, 7, "ng-container", 13);
|
|
141
141
|
i0.ɵɵpipe(9, "filter");
|
|
142
|
-
i0.ɵɵtemplate(10, FormComponent_ng_template_3_div_0_button_10_Template, 1,
|
|
142
|
+
i0.ɵɵtemplate(10, FormComponent_ng_template_3_div_0_button_10_Template, 1, 2, "button", 21);
|
|
143
143
|
i0.ɵɵelementEnd()()();
|
|
144
144
|
} if (rf & 2) {
|
|
145
145
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -1342,7 +1342,7 @@ class FormComponent extends StylableComponent {
|
|
|
1342
1342
|
i0.ɵɵhostProperty("action", ctx.action, i0.ɵɵsanitizeUrl);
|
|
1343
1343
|
} }, features: [i0.ɵɵProvidersFeature([
|
|
1344
1344
|
provideAsWidgetRef(FormComponent)
|
|
1345
|
-
]), i0.ɵɵ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",
|
|
1345
|
+
]), i0.ɵɵ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) {
|
|
1346
1346
|
i0.ɵɵprojectionDef();
|
|
1347
1347
|
i0.ɵɵtemplate(0, FormComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0.ɵɵ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.ɵɵtemplateRefExtractor)(5, FormComponent_ng_template_5_Template, 1, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(7, FormComponent_ng_template_7_Template, 1, 4, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor)(9, FormComponent_ng_template_9_Template, 1, 3, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
|
1348
1348
|
i0.ɵɵelementContainer(11, null, 5);
|
|
@@ -1357,7 +1357,7 @@ class FormComponent extends StylableComponent {
|
|
|
1357
1357
|
type: Component,
|
|
1358
1358
|
args: [{ selector: 'form[wmForm]', providers: [
|
|
1359
1359
|
provideAsWidgetRef(FormComponent)
|
|
1360
|
-
], 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
|
|
1360
|
+
], 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" }]
|
|
1361
1361
|
}], () => [{ type: i0.Injector }, { type: i1.FormBuilder }, { type: i1$1.App }, { type: i1$1.AbstractDialogService }, { type: i1$1.DynamicComponentRefProvider }, { type: i0.NgZone }, { type: i3.ListComponent, decorators: [{
|
|
1362
1362
|
type: Optional
|
|
1363
1363
|
}] }, { type: FormComponent, decorators: [{
|