@wavemaker/app-ng-runtime 11.10.3-next.25128 → 11.10.3-rc.6079
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/components/basic/default/bundles/index.umd.js +68 -68
- package/components/basic/default/esm2022/anchor/anchor.component.mjs +18 -18
- package/components/basic/default/esm2022/icon/icon.component.mjs +13 -12
- package/components/basic/default/esm2022/iframe/iframe.component.mjs +10 -9
- package/components/basic/default/esm2022/spinner/spinner.component.mjs +21 -21
- package/components/basic/default/esm2022/video/video.component.mjs +15 -14
- package/components/basic/default/fesm2022/index.mjs +68 -68
- package/components/basic/default/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/bundles/index.umd.js +17 -16
- package/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +8 -7
- package/components/basic/progress/fesm2022/index.mjs +9 -8
- package/components/basic/progress/fesm2022/index.mjs.map +1 -1
- package/components/basic/rich-text-editor/bundles/index.umd.js +12 -11
- package/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +9 -8
- package/components/basic/rich-text-editor/fesm2022/index.mjs +8 -7
- package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- package/components/basic/search/bundles/index.umd.js +67 -63
- package/components/basic/search/esm2022/search.component.mjs +67 -63
- package/components/basic/search/esm2022/search.module.mjs +2 -2
- package/components/basic/search/fesm2022/index.mjs +67 -63
- package/components/basic/search/fesm2022/index.mjs.map +1 -1
- package/components/chart/bundles/index.umd.js +17 -17
- package/components/chart/esm2022/chart.component.mjs +18 -18
- package/components/chart/fesm2022/index.mjs +17 -17
- package/components/chart/fesm2022/index.mjs.map +1 -1
- package/components/containers/panel/bundles/index.umd.js +39 -39
- package/components/containers/panel/esm2022/panel.component.mjs +40 -40
- package/components/containers/panel/fesm2022/index.mjs +39 -39
- package/components/containers/panel/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/bundles/index.umd.js +29 -29
- package/components/containers/tabs/esm2022/tabs.component.mjs +30 -30
- package/components/containers/tabs/fesm2022/index.mjs +29 -29
- package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/bundles/index.umd.js +49 -49
- package/components/containers/wizard/esm2022/wizard.component.mjs +50 -50
- package/components/containers/wizard/fesm2022/index.mjs +49 -49
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/data/card/bundles/index.umd.js +29 -29
- package/components/data/card/esm2022/card.component.mjs +30 -30
- package/components/data/card/fesm2022/index.mjs +29 -29
- package/components/data/card/fesm2022/index.mjs.map +1 -1
- package/components/data/form/bundles/index.umd.js +96 -91
- package/components/data/form/esm2022/form.component.mjs +97 -92
- package/components/data/form/fesm2022/index.mjs +96 -91
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/list/bundles/index.umd.js +173 -171
- package/components/data/list/esm2022/list.component.mjs +173 -171
- package/components/data/list/esm2022/list.module.mjs +2 -2
- package/components/data/list/fesm2022/index.mjs +173 -171
- package/components/data/list/fesm2022/index.mjs.map +1 -1
- package/components/data/pagination/bundles/index.umd.js +32 -32
- package/components/data/pagination/esm2022/pagination.component.mjs +33 -33
- package/components/data/pagination/fesm2022/index.mjs +32 -32
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/table/bundles/index.umd.js +38 -39
- package/components/data/table/esm2022/table.component.mjs +39 -40
- package/components/data/table/fesm2022/index.mjs +38 -39
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/default/bundles/index.umd.js +95 -66
- package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +96 -67
- package/components/dialogs/default/fesm2022/index.mjs +95 -66
- package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/design-dialog/bundles/index.umd.js +7 -7
- package/components/dialogs/design-dialog/esm2022/dialog.component.mjs +8 -8
- package/components/dialogs/design-dialog/fesm2022/index.mjs +7 -7
- package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/iframe-dialog/bundles/index.umd.js +25 -24
- package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +16 -15
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs +15 -14
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/partial-dialog/bundles/index.umd.js +8 -8
- package/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +9 -9
- package/components/dialogs/partial-dialog/fesm2022/index.mjs +8 -8
- package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- package/components/input/chips/bundles/index.umd.js +21 -21
- package/components/input/chips/esm2022/chips.component.mjs +22 -22
- package/components/input/chips/fesm2022/index.mjs +21 -21
- package/components/input/chips/fesm2022/index.mjs.map +1 -1
- package/components/input/default/bundles/index.umd.js +209 -201
- package/components/input/default/esm2022/button/button.component.mjs +18 -18
- package/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +69 -68
- package/components/input/default/esm2022/radioset/radioset.component.mjs +69 -68
- package/components/input/default/esm2022/select/select.component.mjs +27 -21
- package/components/input/default/esm2022/switch/switch.component.mjs +24 -24
- package/components/input/default/esm2022/textarea/textarea.component.mjs +8 -8
- package/components/input/default/fesm2022/index.mjs +209 -201
- package/components/input/default/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/bundles/index.umd.js +164 -171
- package/components/input/epoch/esm2022/date/date.component.mjs +15 -14
- package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +59 -64
- package/components/input/epoch/esm2022/date-time/date-time.component.mjs +19 -18
- package/components/input/epoch/esm2022/picker/picker.component.mjs +25 -26
- package/components/input/epoch/esm2022/time/time.component.mjs +18 -17
- package/components/input/epoch/fesm2022/index.mjs +117 -124
- package/components/input/epoch/fesm2022/index.mjs.map +1 -1
- package/components/input/file-upload/bundles/index.umd.js +114 -111
- package/components/input/file-upload/esm2022/file-upload.component.mjs +115 -112
- package/components/input/file-upload/fesm2022/index.mjs +114 -111
- package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- package/components/input/rating/bundles/index.umd.js +14 -14
- package/components/input/rating/esm2022/rating.component.mjs +15 -15
- package/components/input/rating/fesm2022/index.mjs +14 -14
- package/components/input/rating/fesm2022/index.mjs.map +1 -1
- package/components/input/slider/bundles/index.umd.js +40 -39
- package/components/input/slider/esm2022/slider.component.mjs +11 -10
- package/components/input/slider/fesm2022/index.mjs +10 -9
- package/components/input/slider/fesm2022/index.mjs.map +1 -1
- package/components/navigation/breadcrumb/bundles/index.umd.js +15 -16
- package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +16 -17
- package/components/navigation/breadcrumb/fesm2022/index.mjs +15 -16
- package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/bundles/index.umd.js +71 -69
- package/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +7 -7
- package/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +15 -15
- package/components/navigation/menu/esm2022/menu.component.mjs +26 -22
- package/components/navigation/menu/esm2022/menu.module.mjs +4 -4
- package/components/navigation/menu/esm2022/nav/nav.component.mjs +24 -26
- package/components/navigation/menu/fesm2022/index.mjs +71 -69
- package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- package/components/navigation/navbar/bundles/index.umd.js +12 -12
- package/components/navigation/navbar/esm2022/navbar.component.mjs +13 -13
- package/components/navigation/navbar/fesm2022/index.mjs +12 -12
- package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- package/mobile/components/basic/default/bundles/index.umd.js +111 -102
- package/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +40 -39
- package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +44 -35
- package/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +28 -27
- package/mobile/components/basic/default/fesm2022/index.mjs +107 -98
- package/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
- package/mobile/components/containers/segmented-control/bundles/index.umd.js +16 -16
- package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +9 -8
- package/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +10 -10
- package/mobile/components/containers/segmented-control/fesm2022/index.mjs +16 -16
- package/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
- package/mobile/components/data/media-list/bundles/index.umd.js +28 -28
- package/mobile/components/data/media-list/esm2022/media-list.component.mjs +29 -29
- package/mobile/components/data/media-list/fesm2022/index.mjs +28 -28
- package/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
- package/mobile/components/page/mobile-navbar/bundles/index.umd.js +29 -29
- package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +30 -30
- package/mobile/components/page/mobile-navbar/fesm2022/index.mjs +29 -29
- package/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
- package/mobile/components/page/tab-bar/bundles/index.umd.js +28 -28
- package/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +29 -29
- package/mobile/components/page/tab-bar/fesm2022/index.mjs +28 -28
- package/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +215 -219
- package/runtime/base/esm2022/components/app-component/app.component.mjs +41 -38
- package/runtime/base/esm2022/components/app-spinner.component.mjs +21 -25
- package/runtime/base/esm2022/components/custom-toaster.component.mjs +16 -18
- package/runtime/base/fesm2022/index.mjs +95 -99
- package/runtime/base/fesm2022/index.mjs.map +1 -1
|
@@ -112,136 +112,139 @@
|
|
|
112
112
|
function FormComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
113
113
|
i0__namespace.ɵɵprojection(0);
|
|
114
114
|
} }
|
|
115
|
-
function
|
|
115
|
+
function FormComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
116
116
|
i0__namespace.ɵɵelementContainer(0);
|
|
117
117
|
} }
|
|
118
|
-
function
|
|
119
|
-
i0__namespace.ɵɵ
|
|
118
|
+
function FormComponent_ng_template_3_div_0_i_3_Template(rf, ctx) { if (rf & 1) {
|
|
119
|
+
i0__namespace.ɵɵelement(0, "i", 22);
|
|
120
120
|
} if (rf & 2) {
|
|
121
|
-
i0__namespace.ɵɵnextContext();
|
|
122
|
-
|
|
123
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", content_r1);
|
|
124
|
-
} }
|
|
125
|
-
function FormComponent_Conditional_3_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
126
|
-
i0__namespace.ɵɵelement(0, "i", 14);
|
|
127
|
-
} if (rf & 2) {
|
|
128
|
-
const ctx_r1 = i0__namespace.ɵɵnextContext(3);
|
|
129
|
-
i0__namespace.ɵɵproperty("ngClass", ctx_r1.iconclass);
|
|
121
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext(3);
|
|
122
|
+
i0__namespace.ɵɵproperty("ngClass", ctx_r0.iconclass);
|
|
130
123
|
} }
|
|
131
|
-
function
|
|
132
|
-
i0__namespace.ɵɵelementContainer(0,
|
|
124
|
+
function FormComponent_ng_template_3_div_0_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
125
|
+
i0__namespace.ɵɵelementContainer(0, 23);
|
|
133
126
|
} if (rf & 2) {
|
|
134
|
-
const
|
|
135
|
-
const
|
|
136
|
-
const
|
|
137
|
-
const
|
|
138
|
-
const
|
|
139
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet",
|
|
127
|
+
const btn_r2 = ctx.$implicit;
|
|
128
|
+
const index_r3 = ctx.index;
|
|
129
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext(3);
|
|
130
|
+
const buttonRef_r4 = i0__namespace.ɵɵreference(8);
|
|
131
|
+
const anchorRef_r5 = i0__namespace.ɵɵreference(10);
|
|
132
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", btn_r2.widgetType === "button" ? buttonRef_r4 : anchorRef_r5)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(3, _c6, btn_r2))("ngTemplateOutletInjector", ctx_r0.createCustomInjector("action_header_" + index_r3, i0__namespace.ɵɵpureFunction1(5, _c6, btn_r2)));
|
|
140
133
|
} }
|
|
141
|
-
function
|
|
142
|
-
const
|
|
143
|
-
i0__namespace.ɵɵelementStart(0, "button",
|
|
144
|
-
i0__namespace.ɵɵlistener("click", function
|
|
134
|
+
function FormComponent_ng_template_3_div_0_button_10_Template(rf, ctx) { if (rf & 1) {
|
|
135
|
+
const _r6 = i0__namespace.ɵɵgetCurrentView();
|
|
136
|
+
i0__namespace.ɵɵelementStart(0, "button", 24);
|
|
137
|
+
i0__namespace.ɵɵlistener("click", function FormComponent_ng_template_3_div_0_button_10_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r6); const ctx_r0 = i0__namespace.ɵɵnextContext(3); return i0__namespace.ɵɵresetView(ctx_r0.expandCollapsePanel()); });
|
|
145
138
|
i0__namespace.ɵɵelementEnd();
|
|
146
139
|
} if (rf & 2) {
|
|
147
|
-
const
|
|
148
|
-
i0__namespace.ɵɵproperty("title",
|
|
140
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext(3);
|
|
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");
|
|
149
142
|
} }
|
|
150
|
-
function
|
|
151
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
152
|
-
i0__namespace.ɵɵtemplate(3,
|
|
143
|
+
function FormComponent_ng_template_3_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
144
|
+
i0__namespace.ɵɵelementStart(0, "div", 14)(1, "h3", 15)(2, "div", 16);
|
|
145
|
+
i0__namespace.ɵɵtemplate(3, FormComponent_ng_template_3_div_0_i_3_Template, 1, 1, "i", 17);
|
|
153
146
|
i0__namespace.ɵɵelementEnd();
|
|
154
|
-
i0__namespace.ɵɵelementStart(4, "div",
|
|
155
|
-
i0__namespace.ɵɵelement(5, "div",
|
|
147
|
+
i0__namespace.ɵɵelementStart(4, "div", 16);
|
|
148
|
+
i0__namespace.ɵɵelement(5, "div", 18)(6, "div", 19);
|
|
156
149
|
i0__namespace.ɵɵelementEnd();
|
|
157
|
-
i0__namespace.ɵɵelementStart(7, "div",
|
|
158
|
-
i0__namespace.ɵɵ
|
|
159
|
-
i0__namespace.ɵɵpipe(
|
|
160
|
-
i0__namespace.ɵɵtemplate(
|
|
150
|
+
i0__namespace.ɵɵelementStart(7, "div", 20);
|
|
151
|
+
i0__namespace.ɵɵtemplate(8, FormComponent_ng_template_3_div_0_ng_container_8_Template, 1, 7, "ng-container", 13);
|
|
152
|
+
i0__namespace.ɵɵpipe(9, "filter");
|
|
153
|
+
i0__namespace.ɵɵtemplate(10, FormComponent_ng_template_3_div_0_button_10_Template, 1, 2, "button", 21);
|
|
161
154
|
i0__namespace.ɵɵelementEnd()()();
|
|
162
155
|
} if (rf & 2) {
|
|
163
|
-
const
|
|
156
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext(2);
|
|
164
157
|
i0__namespace.ɵɵadvance(3);
|
|
165
|
-
i0__namespace.ɵɵ
|
|
158
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r0.iconclass);
|
|
166
159
|
i0__namespace.ɵɵadvance(2);
|
|
167
|
-
i0__namespace.ɵɵproperty("innerHTML",
|
|
160
|
+
i0__namespace.ɵɵproperty("innerHTML", ctx_r0.title, i0__namespace.ɵɵsanitizeHtml);
|
|
168
161
|
i0__namespace.ɵɵadvance();
|
|
169
|
-
i0__namespace.ɵɵproperty("innerHTML",
|
|
162
|
+
i0__namespace.ɵɵproperty("innerHTML", ctx_r0.subheading, i0__namespace.ɵɵsanitizeHtml);
|
|
170
163
|
i0__namespace.ɵɵadvance(2);
|
|
171
|
-
i0__namespace.ɵɵ
|
|
172
|
-
i0__namespace.ɵɵadvance(
|
|
173
|
-
i0__namespace.ɵɵ
|
|
164
|
+
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind3(9, 5, ctx_r0.buttonArray, "position", "header"));
|
|
165
|
+
i0__namespace.ɵɵadvance(2);
|
|
166
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r0.collapsible);
|
|
174
167
|
} }
|
|
175
|
-
function
|
|
176
|
-
i0__namespace.ɵɵelement(0, "p",
|
|
168
|
+
function FormComponent_ng_template_3_p_2_Template(rf, ctx) { if (rf & 1) {
|
|
169
|
+
i0__namespace.ɵɵelement(0, "p", 25);
|
|
177
170
|
} if (rf & 2) {
|
|
178
|
-
const
|
|
179
|
-
i0__namespace.ɵɵattribute("aria-hidden", !
|
|
171
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext(2);
|
|
172
|
+
i0__namespace.ɵɵattribute("aria-hidden", !ctx_r0.statusMessage.caption)("aria-label", ctx_r0.statusMessage.caption);
|
|
180
173
|
} }
|
|
181
|
-
function
|
|
174
|
+
function FormComponent_ng_template_3_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
182
175
|
i0__namespace.ɵɵelementContainer(0);
|
|
183
176
|
} }
|
|
184
|
-
function
|
|
185
|
-
i0__namespace.ɵɵelementContainer(0,
|
|
177
|
+
function FormComponent_ng_template_3_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
178
|
+
i0__namespace.ɵɵelementContainer(0, 23);
|
|
186
179
|
} if (rf & 2) {
|
|
187
|
-
const
|
|
188
|
-
const
|
|
189
|
-
const
|
|
190
|
-
const
|
|
191
|
-
const
|
|
192
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet",
|
|
180
|
+
const btn_r7 = ctx.$implicit;
|
|
181
|
+
const index_r8 = ctx.index;
|
|
182
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext(2);
|
|
183
|
+
const buttonRef_r4 = i0__namespace.ɵɵreference(8);
|
|
184
|
+
const anchorRef_r5 = i0__namespace.ɵɵreference(10);
|
|
185
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", btn_r7.widgetType === "button" ? buttonRef_r4 : anchorRef_r5)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(3, _c6, btn_r7))("ngTemplateOutletInjector", ctx_r0.createCustomInjector("action_footer_" + index_r8, i0__namespace.ɵɵpureFunction1(5, _c6, btn_r7)));
|
|
193
186
|
} }
|
|
194
|
-
function
|
|
195
|
-
i0__namespace.ɵɵtemplate(0,
|
|
196
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
197
|
-
i0__namespace.ɵɵtemplate(2,
|
|
198
|
-
i0__namespace.ɵɵelementStart(3, "div",
|
|
199
|
-
i0__namespace.ɵɵtemplate(4,
|
|
187
|
+
function FormComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
188
|
+
i0__namespace.ɵɵtemplate(0, FormComponent_ng_template_3_div_0_Template, 11, 9, "div", 7);
|
|
189
|
+
i0__namespace.ɵɵelementStart(1, "div", 8);
|
|
190
|
+
i0__namespace.ɵɵtemplate(2, FormComponent_ng_template_3_p_2_Template, 1, 2, "p", 9);
|
|
191
|
+
i0__namespace.ɵɵelementStart(3, "div", 10);
|
|
192
|
+
i0__namespace.ɵɵtemplate(4, FormComponent_ng_template_3_ng_container_4_Template, 1, 0, "ng-container", 11);
|
|
200
193
|
i0__namespace.ɵɵelementEnd();
|
|
201
|
-
i0__namespace.ɵɵelementStart(5, "div",
|
|
202
|
-
i0__namespace.ɵɵ
|
|
203
|
-
i0__namespace.ɵɵpipe(
|
|
194
|
+
i0__namespace.ɵɵelementStart(5, "div", 12);
|
|
195
|
+
i0__namespace.ɵɵtemplate(6, FormComponent_ng_template_3_ng_container_6_Template, 1, 7, "ng-container", 13);
|
|
196
|
+
i0__namespace.ɵɵpipe(7, "filter");
|
|
204
197
|
i0__namespace.ɵɵelementEnd()();
|
|
205
198
|
} if (rf & 2) {
|
|
206
|
-
const
|
|
207
|
-
const
|
|
208
|
-
i0__namespace.ɵɵ
|
|
199
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
200
|
+
const content_r9 = i0__namespace.ɵɵreference(1);
|
|
201
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r0.isLayoutDialog && (ctx_r0.title || ctx_r0.subheading || ctx_r0.iconclass || ctx_r0.showButtons("header")));
|
|
209
202
|
i0__namespace.ɵɵadvance();
|
|
210
|
-
i0__namespace.ɵɵclassProp("hidden", !
|
|
211
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(
|
|
203
|
+
i0__namespace.ɵɵclassProp("hidden", !ctx_r0.expanded);
|
|
204
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(15, _c3, ctx_r0.isLayoutDialog, !ctx_r0.isLayoutDialog));
|
|
212
205
|
i0__namespace.ɵɵadvance();
|
|
213
|
-
i0__namespace.ɵɵ
|
|
206
|
+
i0__namespace.ɵɵproperty("ngIf", !!ctx_r0.statusMessage.caption);
|
|
214
207
|
i0__namespace.ɵɵadvance();
|
|
215
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(
|
|
208
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(18, _c4, !ctx_r0.isLayoutDialog, ctx_r0.isLayoutDialog));
|
|
216
209
|
i0__namespace.ɵɵadvance();
|
|
217
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet",
|
|
210
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", content_r9);
|
|
218
211
|
i0__namespace.ɵɵadvance();
|
|
219
|
-
i0__namespace.ɵɵclassProp("hidden", !
|
|
220
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(
|
|
212
|
+
i0__namespace.ɵɵclassProp("hidden", !ctx_r0.expanded || !ctx_r0.showButtons("footer"));
|
|
213
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(21, _c5, ctx_r0.isLayoutDialog));
|
|
221
214
|
i0__namespace.ɵɵadvance();
|
|
222
|
-
i0__namespace.ɵɵ
|
|
215
|
+
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind3(7, 11, ctx_r0.buttonArray, "position", "footer"));
|
|
216
|
+
} }
|
|
217
|
+
function FormComponent_ng_template_5_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
218
|
+
i0__namespace.ɵɵelementContainer(0);
|
|
219
|
+
} }
|
|
220
|
+
function FormComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
221
|
+
i0__namespace.ɵɵtemplate(0, FormComponent_ng_template_5_ng_container_0_Template, 1, 0, "ng-container", 11);
|
|
222
|
+
} if (rf & 2) {
|
|
223
|
+
i0__namespace.ɵɵnextContext();
|
|
224
|
+
const content_r9 = i0__namespace.ɵɵreference(1);
|
|
225
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", content_r9);
|
|
223
226
|
} }
|
|
224
|
-
function
|
|
227
|
+
function FormComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
225
228
|
const _r10 = i0__namespace.ɵɵgetCurrentView();
|
|
226
|
-
i0__namespace.ɵɵelementStart(0, "button",
|
|
227
|
-
i0__namespace.ɵɵlistener("click", function
|
|
229
|
+
i0__namespace.ɵɵelementStart(0, "button", 26);
|
|
230
|
+
i0__namespace.ɵɵlistener("click", function FormComponent_ng_template_7_Template_button_click_0_listener($event) { const btn_r11 = i0__namespace.ɵɵrestoreView(_r10).btn; const ctx_r0 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r0.invokeActionEvent($event, btn_r11.action)); });
|
|
228
231
|
i0__namespace.ɵɵelementEnd();
|
|
229
232
|
} if (rf & 2) {
|
|
230
233
|
const btn_r11 = ctx.btn;
|
|
231
|
-
const
|
|
232
|
-
i0__namespace.ɵɵclassProp("hidden", btn_r11.updateMode ? !
|
|
234
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
235
|
+
i0__namespace.ɵɵclassProp("hidden", btn_r11.updateMode ? !ctx_r0.isUpdateMode : ctx_r0.isUpdateMode);
|
|
233
236
|
i0__namespace.ɵɵpropertyInterpolate("name", btn_r11.key);
|
|
234
237
|
i0__namespace.ɵɵattribute("aria-label", btn_r11.displayName);
|
|
235
238
|
} }
|
|
236
|
-
function
|
|
239
|
+
function FormComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
237
240
|
const _r12 = i0__namespace.ɵɵgetCurrentView();
|
|
238
|
-
i0__namespace.ɵɵelementStart(0, "a",
|
|
239
|
-
i0__namespace.ɵɵlistener("click", function
|
|
241
|
+
i0__namespace.ɵɵelementStart(0, "a", 27);
|
|
242
|
+
i0__namespace.ɵɵlistener("click", function FormComponent_ng_template_9_Template_a_click_0_listener($event) { const btn_r13 = i0__namespace.ɵɵrestoreView(_r12).btn; const ctx_r0 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r0.invokeActionEvent($event, btn_r13.action)); });
|
|
240
243
|
i0__namespace.ɵɵelementEnd();
|
|
241
244
|
} if (rf & 2) {
|
|
242
245
|
const btn_r13 = ctx.btn;
|
|
243
|
-
const
|
|
244
|
-
i0__namespace.ɵɵclassProp("hidden", btn_r13.updateMode ? !
|
|
246
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
247
|
+
i0__namespace.ɵɵclassProp("hidden", btn_r13.updateMode ? !ctx_r0.isUpdateMode : ctx_r0.isUpdateMode);
|
|
245
248
|
i0__namespace.ɵɵpropertyInterpolate("name", btn_r13.key);
|
|
246
249
|
} }
|
|
247
250
|
const WIDGET_CONFIG$1 = { widgetType: 'wm-form', hostClass: 'panel app-panel app-form' };
|
|
@@ -1347,20 +1350,22 @@
|
|
|
1347
1350
|
i0__namespace.ɵɵhostProperty("action", ctx.action, i0__namespace.ɵɵsanitizeUrl);
|
|
1348
1351
|
} }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
1349
1352
|
i5.provideAsWidgetRef(FormComponent)
|
|
1350
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$1, ngContentSelectors: _c2, decls:
|
|
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) {
|
|
1351
1354
|
i0__namespace.ɵɵprojectionDef();
|
|
1352
|
-
i0__namespace.ɵɵtemplate(0, FormComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor)(2,
|
|
1353
|
-
i0__namespace.ɵɵelementContainer(
|
|
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
|
+
i0__namespace.ɵɵelementContainer(11, null, 5);
|
|
1354
1357
|
} if (rf & 2) {
|
|
1358
|
+
const defaultTemplate_r14 = i0__namespace.ɵɵreference(4);
|
|
1359
|
+
const pageLayoutTemplate_r15 = i0__namespace.ɵɵreference(6);
|
|
1355
1360
|
i0__namespace.ɵɵadvance(2);
|
|
1356
|
-
i0__namespace.ɵɵ
|
|
1357
|
-
} }, dependencies: [i6__namespace.AnchorComponent, i7__namespace.NgClass, i7__namespace.NgTemplateOutlet, i8__namespace.ButtonComponent, i5__namespace.MessageComponent, i5__namespace.FilterPipe], encapsulation: 2 }); }
|
|
1361
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.formlayout === "page")("ngIfThen", pageLayoutTemplate_r15)("ngIfElse", defaultTemplate_r14);
|
|
1362
|
+
} }, dependencies: [i6__namespace.AnchorComponent, i7__namespace.NgClass, i7__namespace.NgForOf, i7__namespace.NgIf, i7__namespace.NgTemplateOutlet, i8__namespace.ButtonComponent, i5__namespace.MessageComponent, i5__namespace.FilterPipe], encapsulation: 2 }); }
|
|
1358
1363
|
}
|
|
1359
1364
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FormComponent, [{
|
|
1360
1365
|
type: i0.Component,
|
|
1361
1366
|
args: [{ selector: 'form[wmForm]', providers: [
|
|
1362
1367
|
i5.provideAsWidgetRef(FormComponent)
|
|
1363
|
-
], template: "<ng-template #content><ng-content></ng-content></ng-template>\n\n
|
|
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" }]
|
|
1364
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: [{
|
|
1365
1370
|
type: i0.Optional
|
|
1366
1371
|
}] }, { type: FormComponent, decorators: [{
|