@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
|
@@ -101,136 +101,139 @@ const _c6 = a0 => ({ btn: a0 });
|
|
|
101
101
|
function FormComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
102
102
|
i0.ɵɵprojection(0);
|
|
103
103
|
} }
|
|
104
|
-
function
|
|
104
|
+
function FormComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
105
105
|
i0.ɵɵelementContainer(0);
|
|
106
106
|
} }
|
|
107
|
-
function
|
|
108
|
-
i0.ɵɵ
|
|
107
|
+
function FormComponent_ng_template_3_div_0_i_3_Template(rf, ctx) { if (rf & 1) {
|
|
108
|
+
i0.ɵɵelement(0, "i", 22);
|
|
109
109
|
} if (rf & 2) {
|
|
110
|
-
i0.ɵɵnextContext();
|
|
111
|
-
|
|
112
|
-
i0.ɵɵproperty("ngTemplateOutlet", content_r1);
|
|
113
|
-
} }
|
|
114
|
-
function FormComponent_Conditional_3_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
115
|
-
i0.ɵɵelement(0, "i", 14);
|
|
116
|
-
} if (rf & 2) {
|
|
117
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
118
|
-
i0.ɵɵproperty("ngClass", ctx_r1.iconclass);
|
|
110
|
+
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
111
|
+
i0.ɵɵproperty("ngClass", ctx_r0.iconclass);
|
|
119
112
|
} }
|
|
120
|
-
function
|
|
121
|
-
i0.ɵɵelementContainer(0,
|
|
113
|
+
function FormComponent_ng_template_3_div_0_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
114
|
+
i0.ɵɵelementContainer(0, 23);
|
|
122
115
|
} if (rf & 2) {
|
|
123
|
-
const
|
|
124
|
-
const
|
|
125
|
-
const
|
|
126
|
-
const
|
|
127
|
-
const
|
|
128
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
116
|
+
const btn_r2 = ctx.$implicit;
|
|
117
|
+
const index_r3 = ctx.index;
|
|
118
|
+
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
119
|
+
const buttonRef_r4 = i0.ɵɵreference(8);
|
|
120
|
+
const anchorRef_r5 = i0.ɵɵreference(10);
|
|
121
|
+
i0.ɵɵproperty("ngTemplateOutlet", btn_r2.widgetType === "button" ? buttonRef_r4 : anchorRef_r5)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c6, btn_r2))("ngTemplateOutletInjector", ctx_r0.createCustomInjector("action_header_" + index_r3, i0.ɵɵpureFunction1(5, _c6, btn_r2)));
|
|
129
122
|
} }
|
|
130
|
-
function
|
|
131
|
-
const
|
|
132
|
-
i0.ɵɵelementStart(0, "button",
|
|
133
|
-
i0.ɵɵlistener("click", function
|
|
123
|
+
function FormComponent_ng_template_3_div_0_button_10_Template(rf, ctx) { if (rf & 1) {
|
|
124
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
125
|
+
i0.ɵɵelementStart(0, "button", 24);
|
|
126
|
+
i0.ɵɵlistener("click", function FormComponent_ng_template_3_div_0_button_10_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.expandCollapsePanel()); });
|
|
134
127
|
i0.ɵɵelementEnd();
|
|
135
128
|
} if (rf & 2) {
|
|
136
|
-
const
|
|
137
|
-
i0.ɵɵproperty("title",
|
|
129
|
+
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
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");
|
|
138
131
|
} }
|
|
139
|
-
function
|
|
140
|
-
i0.ɵɵelementStart(0, "div",
|
|
141
|
-
i0.ɵɵtemplate(3,
|
|
132
|
+
function FormComponent_ng_template_3_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
133
|
+
i0.ɵɵelementStart(0, "div", 14)(1, "h3", 15)(2, "div", 16);
|
|
134
|
+
i0.ɵɵtemplate(3, FormComponent_ng_template_3_div_0_i_3_Template, 1, 1, "i", 17);
|
|
142
135
|
i0.ɵɵelementEnd();
|
|
143
|
-
i0.ɵɵelementStart(4, "div",
|
|
144
|
-
i0.ɵɵelement(5, "div",
|
|
136
|
+
i0.ɵɵelementStart(4, "div", 16);
|
|
137
|
+
i0.ɵɵelement(5, "div", 18)(6, "div", 19);
|
|
145
138
|
i0.ɵɵelementEnd();
|
|
146
|
-
i0.ɵɵelementStart(7, "div",
|
|
147
|
-
i0.ɵɵ
|
|
148
|
-
i0.ɵɵpipe(
|
|
149
|
-
i0.ɵɵtemplate(
|
|
139
|
+
i0.ɵɵelementStart(7, "div", 20);
|
|
140
|
+
i0.ɵɵtemplate(8, FormComponent_ng_template_3_div_0_ng_container_8_Template, 1, 7, "ng-container", 13);
|
|
141
|
+
i0.ɵɵpipe(9, "filter");
|
|
142
|
+
i0.ɵɵtemplate(10, FormComponent_ng_template_3_div_0_button_10_Template, 1, 2, "button", 21);
|
|
150
143
|
i0.ɵɵelementEnd()()();
|
|
151
144
|
} if (rf & 2) {
|
|
152
|
-
const
|
|
145
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
153
146
|
i0.ɵɵadvance(3);
|
|
154
|
-
i0.ɵɵ
|
|
147
|
+
i0.ɵɵproperty("ngIf", ctx_r0.iconclass);
|
|
155
148
|
i0.ɵɵadvance(2);
|
|
156
|
-
i0.ɵɵproperty("innerHTML",
|
|
149
|
+
i0.ɵɵproperty("innerHTML", ctx_r0.title, i0.ɵɵsanitizeHtml);
|
|
157
150
|
i0.ɵɵadvance();
|
|
158
|
-
i0.ɵɵproperty("innerHTML",
|
|
151
|
+
i0.ɵɵproperty("innerHTML", ctx_r0.subheading, i0.ɵɵsanitizeHtml);
|
|
159
152
|
i0.ɵɵadvance(2);
|
|
160
|
-
i0.ɵɵ
|
|
161
|
-
i0.ɵɵadvance(
|
|
162
|
-
i0.ɵɵ
|
|
153
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind3(9, 5, ctx_r0.buttonArray, "position", "header"));
|
|
154
|
+
i0.ɵɵadvance(2);
|
|
155
|
+
i0.ɵɵproperty("ngIf", ctx_r0.collapsible);
|
|
163
156
|
} }
|
|
164
|
-
function
|
|
165
|
-
i0.ɵɵelement(0, "p",
|
|
157
|
+
function FormComponent_ng_template_3_p_2_Template(rf, ctx) { if (rf & 1) {
|
|
158
|
+
i0.ɵɵelement(0, "p", 25);
|
|
166
159
|
} if (rf & 2) {
|
|
167
|
-
const
|
|
168
|
-
i0.ɵɵattribute("aria-hidden", !
|
|
160
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
161
|
+
i0.ɵɵattribute("aria-hidden", !ctx_r0.statusMessage.caption)("aria-label", ctx_r0.statusMessage.caption);
|
|
169
162
|
} }
|
|
170
|
-
function
|
|
163
|
+
function FormComponent_ng_template_3_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
171
164
|
i0.ɵɵelementContainer(0);
|
|
172
165
|
} }
|
|
173
|
-
function
|
|
174
|
-
i0.ɵɵelementContainer(0,
|
|
166
|
+
function FormComponent_ng_template_3_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
167
|
+
i0.ɵɵelementContainer(0, 23);
|
|
175
168
|
} if (rf & 2) {
|
|
176
|
-
const
|
|
177
|
-
const
|
|
178
|
-
const
|
|
179
|
-
const
|
|
180
|
-
const
|
|
181
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
169
|
+
const btn_r7 = ctx.$implicit;
|
|
170
|
+
const index_r8 = ctx.index;
|
|
171
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
172
|
+
const buttonRef_r4 = i0.ɵɵreference(8);
|
|
173
|
+
const anchorRef_r5 = i0.ɵɵreference(10);
|
|
174
|
+
i0.ɵɵproperty("ngTemplateOutlet", btn_r7.widgetType === "button" ? buttonRef_r4 : anchorRef_r5)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c6, btn_r7))("ngTemplateOutletInjector", ctx_r0.createCustomInjector("action_footer_" + index_r8, i0.ɵɵpureFunction1(5, _c6, btn_r7)));
|
|
182
175
|
} }
|
|
183
|
-
function
|
|
184
|
-
i0.ɵɵtemplate(0,
|
|
185
|
-
i0.ɵɵelementStart(1, "div",
|
|
186
|
-
i0.ɵɵtemplate(2,
|
|
187
|
-
i0.ɵɵelementStart(3, "div",
|
|
188
|
-
i0.ɵɵtemplate(4,
|
|
176
|
+
function FormComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
177
|
+
i0.ɵɵtemplate(0, FormComponent_ng_template_3_div_0_Template, 11, 9, "div", 7);
|
|
178
|
+
i0.ɵɵelementStart(1, "div", 8);
|
|
179
|
+
i0.ɵɵtemplate(2, FormComponent_ng_template_3_p_2_Template, 1, 2, "p", 9);
|
|
180
|
+
i0.ɵɵelementStart(3, "div", 10);
|
|
181
|
+
i0.ɵɵtemplate(4, FormComponent_ng_template_3_ng_container_4_Template, 1, 0, "ng-container", 11);
|
|
189
182
|
i0.ɵɵelementEnd();
|
|
190
|
-
i0.ɵɵelementStart(5, "div",
|
|
191
|
-
i0.ɵɵ
|
|
192
|
-
i0.ɵɵpipe(
|
|
183
|
+
i0.ɵɵelementStart(5, "div", 12);
|
|
184
|
+
i0.ɵɵtemplate(6, FormComponent_ng_template_3_ng_container_6_Template, 1, 7, "ng-container", 13);
|
|
185
|
+
i0.ɵɵpipe(7, "filter");
|
|
193
186
|
i0.ɵɵelementEnd()();
|
|
194
187
|
} if (rf & 2) {
|
|
195
|
-
const
|
|
196
|
-
const
|
|
197
|
-
i0.ɵɵ
|
|
188
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
189
|
+
const content_r9 = i0.ɵɵreference(1);
|
|
190
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.isLayoutDialog && (ctx_r0.title || ctx_r0.subheading || ctx_r0.iconclass || ctx_r0.showButtons("header")));
|
|
198
191
|
i0.ɵɵadvance();
|
|
199
|
-
i0.ɵɵclassProp("hidden", !
|
|
200
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(
|
|
192
|
+
i0.ɵɵclassProp("hidden", !ctx_r0.expanded);
|
|
193
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(15, _c3, ctx_r0.isLayoutDialog, !ctx_r0.isLayoutDialog));
|
|
201
194
|
i0.ɵɵadvance();
|
|
202
|
-
i0.ɵɵ
|
|
195
|
+
i0.ɵɵproperty("ngIf", !!ctx_r0.statusMessage.caption);
|
|
203
196
|
i0.ɵɵadvance();
|
|
204
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(
|
|
197
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(18, _c4, !ctx_r0.isLayoutDialog, ctx_r0.isLayoutDialog));
|
|
205
198
|
i0.ɵɵadvance();
|
|
206
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
199
|
+
i0.ɵɵproperty("ngTemplateOutlet", content_r9);
|
|
207
200
|
i0.ɵɵadvance();
|
|
208
|
-
i0.ɵɵclassProp("hidden", !
|
|
209
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
201
|
+
i0.ɵɵclassProp("hidden", !ctx_r0.expanded || !ctx_r0.showButtons("footer"));
|
|
202
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c5, ctx_r0.isLayoutDialog));
|
|
210
203
|
i0.ɵɵadvance();
|
|
211
|
-
i0.ɵɵ
|
|
204
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind3(7, 11, ctx_r0.buttonArray, "position", "footer"));
|
|
205
|
+
} }
|
|
206
|
+
function FormComponent_ng_template_5_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
207
|
+
i0.ɵɵelementContainer(0);
|
|
208
|
+
} }
|
|
209
|
+
function FormComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
210
|
+
i0.ɵɵtemplate(0, FormComponent_ng_template_5_ng_container_0_Template, 1, 0, "ng-container", 11);
|
|
211
|
+
} if (rf & 2) {
|
|
212
|
+
i0.ɵɵnextContext();
|
|
213
|
+
const content_r9 = i0.ɵɵreference(1);
|
|
214
|
+
i0.ɵɵproperty("ngTemplateOutlet", content_r9);
|
|
212
215
|
} }
|
|
213
|
-
function
|
|
216
|
+
function FormComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
214
217
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
215
|
-
i0.ɵɵelementStart(0, "button",
|
|
216
|
-
i0.ɵɵlistener("click", function
|
|
218
|
+
i0.ɵɵelementStart(0, "button", 26);
|
|
219
|
+
i0.ɵɵlistener("click", function FormComponent_ng_template_7_Template_button_click_0_listener($event) { const btn_r11 = i0.ɵɵrestoreView(_r10).btn; const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.invokeActionEvent($event, btn_r11.action)); });
|
|
217
220
|
i0.ɵɵelementEnd();
|
|
218
221
|
} if (rf & 2) {
|
|
219
222
|
const btn_r11 = ctx.btn;
|
|
220
|
-
const
|
|
221
|
-
i0.ɵɵclassProp("hidden", btn_r11.updateMode ? !
|
|
223
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
224
|
+
i0.ɵɵclassProp("hidden", btn_r11.updateMode ? !ctx_r0.isUpdateMode : ctx_r0.isUpdateMode);
|
|
222
225
|
i0.ɵɵpropertyInterpolate("name", btn_r11.key);
|
|
223
226
|
i0.ɵɵattribute("aria-label", btn_r11.displayName);
|
|
224
227
|
} }
|
|
225
|
-
function
|
|
228
|
+
function FormComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
226
229
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
227
|
-
i0.ɵɵelementStart(0, "a",
|
|
228
|
-
i0.ɵɵlistener("click", function
|
|
230
|
+
i0.ɵɵelementStart(0, "a", 27);
|
|
231
|
+
i0.ɵɵlistener("click", function FormComponent_ng_template_9_Template_a_click_0_listener($event) { const btn_r13 = i0.ɵɵrestoreView(_r12).btn; const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.invokeActionEvent($event, btn_r13.action)); });
|
|
229
232
|
i0.ɵɵelementEnd();
|
|
230
233
|
} if (rf & 2) {
|
|
231
234
|
const btn_r13 = ctx.btn;
|
|
232
|
-
const
|
|
233
|
-
i0.ɵɵclassProp("hidden", btn_r13.updateMode ? !
|
|
235
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
236
|
+
i0.ɵɵclassProp("hidden", btn_r13.updateMode ? !ctx_r0.isUpdateMode : ctx_r0.isUpdateMode);
|
|
234
237
|
i0.ɵɵpropertyInterpolate("name", btn_r13.key);
|
|
235
238
|
} }
|
|
236
239
|
const WIDGET_CONFIG$1 = { widgetType: 'wm-form', hostClass: 'panel app-panel app-form' };
|
|
@@ -1339,20 +1342,22 @@ class FormComponent extends StylableComponent {
|
|
|
1339
1342
|
i0.ɵɵhostProperty("action", ctx.action, i0.ɵɵsanitizeUrl);
|
|
1340
1343
|
} }, features: [i0.ɵɵProvidersFeature([
|
|
1341
1344
|
provideAsWidgetRef(FormComponent)
|
|
1342
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1$1, ngContentSelectors: _c2, decls:
|
|
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) {
|
|
1343
1346
|
i0.ɵɵprojectionDef();
|
|
1344
|
-
i0.ɵɵtemplate(0, FormComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(2,
|
|
1345
|
-
i0.ɵɵelementContainer(
|
|
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
|
+
i0.ɵɵelementContainer(11, null, 5);
|
|
1346
1349
|
} if (rf & 2) {
|
|
1350
|
+
const defaultTemplate_r14 = i0.ɵɵreference(4);
|
|
1351
|
+
const pageLayoutTemplate_r15 = i0.ɵɵreference(6);
|
|
1347
1352
|
i0.ɵɵadvance(2);
|
|
1348
|
-
i0.ɵɵ
|
|
1349
|
-
} }, dependencies: [i6.AnchorComponent, i7.NgClass, i7.NgTemplateOutlet, i8.ButtonComponent, i5.MessageComponent, i5.FilterPipe], encapsulation: 2 }); }
|
|
1353
|
+
i0.ɵɵproperty("ngIf", ctx.formlayout === "page")("ngIfThen", pageLayoutTemplate_r15)("ngIfElse", defaultTemplate_r14);
|
|
1354
|
+
} }, dependencies: [i6.AnchorComponent, i7.NgClass, i7.NgForOf, i7.NgIf, i7.NgTemplateOutlet, i8.ButtonComponent, i5.MessageComponent, i5.FilterPipe], encapsulation: 2 }); }
|
|
1350
1355
|
}
|
|
1351
1356
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormComponent, [{
|
|
1352
1357
|
type: Component,
|
|
1353
1358
|
args: [{ selector: 'form[wmForm]', providers: [
|
|
1354
1359
|
provideAsWidgetRef(FormComponent)
|
|
1355
|
-
], template: "<ng-template #content><ng-content></ng-content></ng-template>\n\n
|
|
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" }]
|
|
1356
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: [{
|
|
1357
1362
|
type: Optional
|
|
1358
1363
|
}] }, { type: FormComponent, decorators: [{
|