@wavemaker/app-ng-runtime 11.10.2-rc.6065 → 11.10.3-next.25128
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 +5 -3
- package/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +4 -2
- package/build-task/esm2022/data/form/form-field/form-field.build.mjs +3 -3
- package/build-task/fesm2022/index.mjs +5 -3
- package/build-task/fesm2022/index.mjs.map +1 -1
- package/components/basic/default/bundles/index.umd.js +68 -71
- package/components/basic/default/esm2022/anchor/anchor.component.mjs +18 -18
- package/components/basic/default/esm2022/icon/icon.component.mjs +12 -13
- package/components/basic/default/esm2022/iframe/iframe.component.mjs +9 -10
- package/components/basic/default/esm2022/picture/picture.directive.mjs +2 -5
- package/components/basic/default/esm2022/spinner/spinner.component.mjs +21 -21
- package/components/basic/default/esm2022/video/video.component.mjs +14 -15
- package/components/basic/default/fesm2022/index.mjs +68 -71
- package/components/basic/default/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/bundles/index.umd.js +16 -17
- package/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +7 -8
- package/components/basic/progress/fesm2022/index.mjs +8 -9
- package/components/basic/progress/fesm2022/index.mjs.map +1 -1
- package/components/basic/rich-text-editor/bundles/index.umd.js +11 -12
- package/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +8 -9
- package/components/basic/rich-text-editor/fesm2022/index.mjs +7 -8
- package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- package/components/basic/search/bundles/index.umd.js +63 -67
- package/components/basic/search/esm2022/search.component.mjs +63 -67
- package/components/basic/search/esm2022/search.module.mjs +2 -2
- package/components/basic/search/fesm2022/index.mjs +63 -67
- 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 +91 -96
- package/components/data/form/esm2022/form.component.mjs +92 -97
- package/components/data/form/fesm2022/index.mjs +91 -96
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/list/bundles/index.umd.js +171 -173
- package/components/data/list/esm2022/list.component.mjs +171 -173
- package/components/data/list/esm2022/list.module.mjs +2 -2
- package/components/data/list/fesm2022/index.mjs +171 -173
- 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 +69 -39
- package/components/data/table/esm2022/table-column/table-column.directive.mjs +2 -1
- package/components/data/table/esm2022/table-column/table-column.props.mjs +2 -1
- package/components/data/table/esm2022/table-filter.directive.mjs +29 -2
- package/components/data/table/esm2022/table.component.mjs +40 -39
- package/components/data/table/esm2022/table.props.mjs +2 -1
- package/components/data/table/fesm2022/index.mjs +72 -41
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/data/table/table-column/table-column.directive.d.ts +1 -0
- package/components/data/table/table-filter.directive.d.ts +1 -0
- package/components/dialogs/default/bundles/index.umd.js +66 -95
- package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +67 -96
- package/components/dialogs/default/fesm2022/index.mjs +66 -95
- 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 +24 -25
- package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +15 -16
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs +14 -15
- 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 +201 -209
- package/components/input/default/esm2022/button/button.component.mjs +18 -18
- package/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +68 -69
- package/components/input/default/esm2022/radioset/radioset.component.mjs +68 -69
- package/components/input/default/esm2022/select/select.component.mjs +21 -27
- 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 +201 -209
- package/components/input/default/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/bundles/index.umd.js +171 -164
- package/components/input/epoch/esm2022/date/date.component.mjs +14 -15
- package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +64 -59
- package/components/input/epoch/esm2022/date-time/date-time.component.mjs +18 -19
- package/components/input/epoch/esm2022/picker/picker.component.mjs +26 -25
- package/components/input/epoch/esm2022/time/time.component.mjs +17 -18
- package/components/input/epoch/fesm2022/index.mjs +124 -117
- package/components/input/epoch/fesm2022/index.mjs.map +1 -1
- package/components/input/file-upload/bundles/index.umd.js +111 -114
- package/components/input/file-upload/esm2022/file-upload.component.mjs +112 -115
- package/components/input/file-upload/fesm2022/index.mjs +111 -114
- 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 +39 -40
- package/components/input/slider/esm2022/slider.component.mjs +10 -11
- package/components/input/slider/fesm2022/index.mjs +9 -10
- package/components/input/slider/fesm2022/index.mjs.map +1 -1
- package/components/navigation/breadcrumb/bundles/index.umd.js +16 -15
- package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +17 -16
- package/components/navigation/breadcrumb/fesm2022/index.mjs +16 -15
- package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/bundles/index.umd.js +82 -74
- package/components/navigation/menu/esm2022/menu-adapator.component.mjs +14 -4
- 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 +22 -26
- package/components/navigation/menu/esm2022/menu.module.mjs +4 -4
- package/components/navigation/menu/esm2022/nav/nav.component.mjs +26 -24
- package/components/navigation/menu/fesm2022/index.mjs +82 -74
- package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/menu-adapator.component.d.ts +1 -0
- 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 +102 -111
- package/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +39 -40
- package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +35 -44
- package/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +27 -28
- package/mobile/components/basic/default/fesm2022/index.mjs +98 -107
- 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 +8 -9
- 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 +219 -215
- package/runtime/base/esm2022/components/app-component/app.component.mjs +38 -41
- package/runtime/base/esm2022/components/app-spinner.component.mjs +25 -21
- package/runtime/base/esm2022/components/custom-toaster.component.mjs +18 -16
- package/runtime/base/fesm2022/index.mjs +99 -95
- package/runtime/base/fesm2022/index.mjs.map +1 -1
- package/scripts/datatable/datatable.js +1 -0
|
@@ -112,139 +112,136 @@
|
|
|
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_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
116
116
|
i0__namespace.ɵɵelementContainer(0);
|
|
117
117
|
} }
|
|
118
|
-
function
|
|
119
|
-
i0__namespace.ɵɵ
|
|
118
|
+
function FormComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
119
|
+
i0__namespace.ɵɵtemplate(0, FormComponent_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 5);
|
|
120
120
|
} if (rf & 2) {
|
|
121
|
-
|
|
122
|
-
i0__namespace.ɵɵ
|
|
121
|
+
i0__namespace.ɵɵnextContext();
|
|
122
|
+
const content_r1 = i0__namespace.ɵɵreference(1);
|
|
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);
|
|
123
130
|
} }
|
|
124
|
-
function
|
|
125
|
-
i0__namespace.ɵɵelementContainer(0,
|
|
131
|
+
function FormComponent_Conditional_3_Conditional_0_For_9_Template(rf, ctx) { if (rf & 1) {
|
|
132
|
+
i0__namespace.ɵɵelementContainer(0, 11);
|
|
126
133
|
} if (rf & 2) {
|
|
127
|
-
const
|
|
128
|
-
const
|
|
129
|
-
const
|
|
130
|
-
const
|
|
131
|
-
const
|
|
132
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet",
|
|
134
|
+
const btn_r3 = ctx.$implicit;
|
|
135
|
+
const ɵ$index_28_r4 = ctx.$index;
|
|
136
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext(3);
|
|
137
|
+
const buttonRef_r5 = i0__namespace.ɵɵreference(5);
|
|
138
|
+
const anchorRef_r6 = i0__namespace.ɵɵreference(7);
|
|
139
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", btn_r3.widgetType === "button" ? buttonRef_r5 : anchorRef_r6)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(3, _c6, btn_r3))("ngTemplateOutletInjector", ctx_r1.createCustomInjector("action_header_" + ɵ$index_28_r4, i0__namespace.ɵɵpureFunction1(5, _c6, btn_r3)));
|
|
133
140
|
} }
|
|
134
|
-
function
|
|
135
|
-
const
|
|
136
|
-
i0__namespace.ɵɵelementStart(0, "button",
|
|
137
|
-
i0__namespace.ɵɵlistener("click", function
|
|
141
|
+
function FormComponent_Conditional_3_Conditional_0_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
142
|
+
const _r7 = i0__namespace.ɵɵgetCurrentView();
|
|
143
|
+
i0__namespace.ɵɵelementStart(0, "button", 19);
|
|
144
|
+
i0__namespace.ɵɵlistener("click", function FormComponent_Conditional_3_Conditional_0_Conditional_11_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r7); const ctx_r1 = i0__namespace.ɵɵnextContext(3); return i0__namespace.ɵɵresetView(ctx_r1.expandCollapsePanel()); });
|
|
138
145
|
i0__namespace.ɵɵelementEnd();
|
|
139
146
|
} if (rf & 2) {
|
|
140
|
-
const
|
|
141
|
-
i0__namespace.ɵɵproperty("title",
|
|
147
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext(3);
|
|
148
|
+
i0__namespace.ɵɵproperty("title", ctx_r1.expanded ? (ctx_r1.appLocale == null ? null : ctx_r1.appLocale.LABEL_COLLAPSE) || "Collapse" : (ctx_r1.appLocale == null ? null : ctx_r1.appLocale.LABEL_EXPAND) || "Expand")("ngClass", ctx_r1.expanded ? "wi-minus" : "wi-plus");
|
|
142
149
|
} }
|
|
143
|
-
function
|
|
144
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
145
|
-
i0__namespace.ɵɵtemplate(3,
|
|
150
|
+
function FormComponent_Conditional_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
151
|
+
i0__namespace.ɵɵelementStart(0, "div", 6)(1, "h3", 12)(2, "div", 13);
|
|
152
|
+
i0__namespace.ɵɵtemplate(3, FormComponent_Conditional_3_Conditional_0_Conditional_3_Template, 1, 1, "i", 14);
|
|
146
153
|
i0__namespace.ɵɵelementEnd();
|
|
147
|
-
i0__namespace.ɵɵelementStart(4, "div",
|
|
148
|
-
i0__namespace.ɵɵelement(5, "div",
|
|
154
|
+
i0__namespace.ɵɵelementStart(4, "div", 13);
|
|
155
|
+
i0__namespace.ɵɵelement(5, "div", 15)(6, "div", 16);
|
|
149
156
|
i0__namespace.ɵɵelementEnd();
|
|
150
|
-
i0__namespace.ɵɵelementStart(7, "div",
|
|
151
|
-
i0__namespace.ɵɵ
|
|
152
|
-
i0__namespace.ɵɵpipe(
|
|
153
|
-
i0__namespace.ɵɵtemplate(
|
|
157
|
+
i0__namespace.ɵɵelementStart(7, "div", 17);
|
|
158
|
+
i0__namespace.ɵɵrepeaterCreate(8, FormComponent_Conditional_3_Conditional_0_For_9_Template, 1, 7, "ng-container", 11, i0__namespace.ɵɵrepeaterTrackByIdentity);
|
|
159
|
+
i0__namespace.ɵɵpipe(10, "filter");
|
|
160
|
+
i0__namespace.ɵɵtemplate(11, FormComponent_Conditional_3_Conditional_0_Conditional_11_Template, 1, 2, "button", 18);
|
|
154
161
|
i0__namespace.ɵɵelementEnd()()();
|
|
155
162
|
} if (rf & 2) {
|
|
156
|
-
const
|
|
163
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
157
164
|
i0__namespace.ɵɵadvance(3);
|
|
158
|
-
i0__namespace.ɵɵ
|
|
165
|
+
i0__namespace.ɵɵconditional(ctx_r1.iconclass ? 3 : -1);
|
|
159
166
|
i0__namespace.ɵɵadvance(2);
|
|
160
|
-
i0__namespace.ɵɵproperty("innerHTML",
|
|
167
|
+
i0__namespace.ɵɵproperty("innerHTML", ctx_r1.title, i0__namespace.ɵɵsanitizeHtml);
|
|
161
168
|
i0__namespace.ɵɵadvance();
|
|
162
|
-
i0__namespace.ɵɵproperty("innerHTML",
|
|
169
|
+
i0__namespace.ɵɵproperty("innerHTML", ctx_r1.subheading, i0__namespace.ɵɵsanitizeHtml);
|
|
163
170
|
i0__namespace.ɵɵadvance(2);
|
|
164
|
-
i0__namespace.ɵɵ
|
|
165
|
-
i0__namespace.ɵɵadvance(
|
|
166
|
-
i0__namespace.ɵɵ
|
|
171
|
+
i0__namespace.ɵɵrepeater(i0__namespace.ɵɵpipeBind3(10, 4, ctx_r1.buttonArray, "position", "header"));
|
|
172
|
+
i0__namespace.ɵɵadvance(3);
|
|
173
|
+
i0__namespace.ɵɵconditional(ctx_r1.collapsible ? 11 : -1);
|
|
167
174
|
} }
|
|
168
|
-
function
|
|
169
|
-
i0__namespace.ɵɵelement(0, "p",
|
|
175
|
+
function FormComponent_Conditional_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
176
|
+
i0__namespace.ɵɵelement(0, "p", 8);
|
|
170
177
|
} if (rf & 2) {
|
|
171
|
-
const
|
|
172
|
-
i0__namespace.ɵɵattribute("aria-hidden", !
|
|
178
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
179
|
+
i0__namespace.ɵɵattribute("aria-hidden", !ctx_r1.statusMessage.caption)("aria-label", ctx_r1.statusMessage.caption);
|
|
173
180
|
} }
|
|
174
|
-
function
|
|
181
|
+
function FormComponent_Conditional_3_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
175
182
|
i0__namespace.ɵɵelementContainer(0);
|
|
176
183
|
} }
|
|
177
|
-
function
|
|
178
|
-
i0__namespace.ɵɵelementContainer(0,
|
|
184
|
+
function FormComponent_Conditional_3_For_7_Template(rf, ctx) { if (rf & 1) {
|
|
185
|
+
i0__namespace.ɵɵelementContainer(0, 11);
|
|
179
186
|
} if (rf & 2) {
|
|
180
|
-
const
|
|
181
|
-
const
|
|
182
|
-
const
|
|
183
|
-
const
|
|
184
|
-
const
|
|
185
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet",
|
|
187
|
+
const btn_r8 = ctx.$implicit;
|
|
188
|
+
const ɵ$index_48_r9 = ctx.$index;
|
|
189
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
190
|
+
const buttonRef_r5 = i0__namespace.ɵɵreference(5);
|
|
191
|
+
const anchorRef_r6 = i0__namespace.ɵɵreference(7);
|
|
192
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", btn_r8.widgetType === "button" ? buttonRef_r5 : anchorRef_r6)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(3, _c6, btn_r8))("ngTemplateOutletInjector", ctx_r1.createCustomInjector("action_footer_" + ɵ$index_48_r9, i0__namespace.ɵɵpureFunction1(5, _c6, btn_r8)));
|
|
186
193
|
} }
|
|
187
|
-
function
|
|
188
|
-
i0__namespace.ɵɵtemplate(0,
|
|
189
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
190
|
-
i0__namespace.ɵɵtemplate(2,
|
|
191
|
-
i0__namespace.ɵɵelementStart(3, "div",
|
|
192
|
-
i0__namespace.ɵɵtemplate(4,
|
|
194
|
+
function FormComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
195
|
+
i0__namespace.ɵɵtemplate(0, FormComponent_Conditional_3_Conditional_0_Template, 12, 8, "div", 6);
|
|
196
|
+
i0__namespace.ɵɵelementStart(1, "div", 7);
|
|
197
|
+
i0__namespace.ɵɵtemplate(2, FormComponent_Conditional_3_Conditional_2_Template, 1, 2, "p", 8);
|
|
198
|
+
i0__namespace.ɵɵelementStart(3, "div", 9);
|
|
199
|
+
i0__namespace.ɵɵtemplate(4, FormComponent_Conditional_3_ng_container_4_Template, 1, 0, "ng-container", 5);
|
|
193
200
|
i0__namespace.ɵɵelementEnd();
|
|
194
|
-
i0__namespace.ɵɵelementStart(5, "div",
|
|
195
|
-
i0__namespace.ɵɵ
|
|
196
|
-
i0__namespace.ɵɵpipe(
|
|
201
|
+
i0__namespace.ɵɵelementStart(5, "div", 10);
|
|
202
|
+
i0__namespace.ɵɵrepeaterCreate(6, FormComponent_Conditional_3_For_7_Template, 1, 7, "ng-container", 11, i0__namespace.ɵɵrepeaterTrackByIdentity);
|
|
203
|
+
i0__namespace.ɵɵpipe(8, "filter");
|
|
197
204
|
i0__namespace.ɵɵelementEnd()();
|
|
198
205
|
} if (rf & 2) {
|
|
199
|
-
const
|
|
200
|
-
const
|
|
201
|
-
i0__namespace.ɵɵ
|
|
206
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
207
|
+
const content_r1 = i0__namespace.ɵɵreference(1);
|
|
208
|
+
i0__namespace.ɵɵconditional(!ctx_r1.isLayoutDialog && (ctx_r1.title || ctx_r1.subheading || ctx_r1.iconclass || ctx_r1.showButtons("header")) ? 0 : -1);
|
|
202
209
|
i0__namespace.ɵɵadvance();
|
|
203
|
-
i0__namespace.ɵɵclassProp("hidden", !
|
|
204
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(
|
|
210
|
+
i0__namespace.ɵɵclassProp("hidden", !ctx_r1.expanded);
|
|
211
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(14, _c3, ctx_r1.isLayoutDialog, !ctx_r1.isLayoutDialog));
|
|
205
212
|
i0__namespace.ɵɵadvance();
|
|
206
|
-
i0__namespace.ɵɵ
|
|
213
|
+
i0__namespace.ɵɵconditional(!!ctx_r1.statusMessage.caption ? 2 : -1);
|
|
207
214
|
i0__namespace.ɵɵadvance();
|
|
208
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(
|
|
215
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(17, _c4, !ctx_r1.isLayoutDialog, ctx_r1.isLayoutDialog));
|
|
209
216
|
i0__namespace.ɵɵadvance();
|
|
210
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet",
|
|
217
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", content_r1);
|
|
211
218
|
i0__namespace.ɵɵadvance();
|
|
212
|
-
i0__namespace.ɵɵclassProp("hidden", !
|
|
213
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(
|
|
219
|
+
i0__namespace.ɵɵclassProp("hidden", !ctx_r1.expanded || !ctx_r1.showButtons("footer"));
|
|
220
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(20, _c5, ctx_r1.isLayoutDialog));
|
|
214
221
|
i0__namespace.ɵɵadvance();
|
|
215
|
-
i0__namespace.ɵɵ
|
|
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);
|
|
222
|
+
i0__namespace.ɵɵrepeater(i0__namespace.ɵɵpipeBind3(8, 10, ctx_r1.buttonArray, "position", "footer"));
|
|
226
223
|
} }
|
|
227
|
-
function
|
|
224
|
+
function FormComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
228
225
|
const _r10 = i0__namespace.ɵɵgetCurrentView();
|
|
229
|
-
i0__namespace.ɵɵelementStart(0, "button",
|
|
230
|
-
i0__namespace.ɵɵlistener("click", function
|
|
226
|
+
i0__namespace.ɵɵelementStart(0, "button", 20);
|
|
227
|
+
i0__namespace.ɵɵlistener("click", function FormComponent_ng_template_4_Template_button_click_0_listener($event) { const btn_r11 = i0__namespace.ɵɵrestoreView(_r10).btn; const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.invokeActionEvent($event, btn_r11.action)); });
|
|
231
228
|
i0__namespace.ɵɵelementEnd();
|
|
232
229
|
} if (rf & 2) {
|
|
233
230
|
const btn_r11 = ctx.btn;
|
|
234
|
-
const
|
|
235
|
-
i0__namespace.ɵɵclassProp("hidden", btn_r11.updateMode ? !
|
|
231
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
232
|
+
i0__namespace.ɵɵclassProp("hidden", btn_r11.updateMode ? !ctx_r1.isUpdateMode : ctx_r1.isUpdateMode);
|
|
236
233
|
i0__namespace.ɵɵpropertyInterpolate("name", btn_r11.key);
|
|
237
234
|
i0__namespace.ɵɵattribute("aria-label", btn_r11.displayName);
|
|
238
235
|
} }
|
|
239
|
-
function
|
|
236
|
+
function FormComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
240
237
|
const _r12 = i0__namespace.ɵɵgetCurrentView();
|
|
241
|
-
i0__namespace.ɵɵelementStart(0, "a",
|
|
242
|
-
i0__namespace.ɵɵlistener("click", function
|
|
238
|
+
i0__namespace.ɵɵelementStart(0, "a", 21);
|
|
239
|
+
i0__namespace.ɵɵlistener("click", function FormComponent_ng_template_6_Template_a_click_0_listener($event) { const btn_r13 = i0__namespace.ɵɵrestoreView(_r12).btn; const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.invokeActionEvent($event, btn_r13.action)); });
|
|
243
240
|
i0__namespace.ɵɵelementEnd();
|
|
244
241
|
} if (rf & 2) {
|
|
245
242
|
const btn_r13 = ctx.btn;
|
|
246
|
-
const
|
|
247
|
-
i0__namespace.ɵɵclassProp("hidden", btn_r13.updateMode ? !
|
|
243
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
244
|
+
i0__namespace.ɵɵclassProp("hidden", btn_r13.updateMode ? !ctx_r1.isUpdateMode : ctx_r1.isUpdateMode);
|
|
248
245
|
i0__namespace.ɵɵpropertyInterpolate("name", btn_r13.key);
|
|
249
246
|
} }
|
|
250
247
|
const WIDGET_CONFIG$1 = { widgetType: 'wm-form', hostClass: 'panel app-panel app-form' };
|
|
@@ -1350,22 +1347,20 @@
|
|
|
1350
1347
|
i0__namespace.ɵɵhostProperty("action", ctx.action, i0__namespace.ɵɵsanitizeUrl);
|
|
1351
1348
|
} }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
1352
1349
|
i5.provideAsWidgetRef(FormComponent)
|
|
1353
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$1, ngContentSelectors: _c2, decls:
|
|
1350
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$1, ngContentSelectors: _c2, decls: 10, vars: 1, consts: [["content", ""], ["buttonRef", ""], ["anchorRef", ""], ["dynamicForm", ""], [1, "panel-body", 3, "ngClass", "hidden"], [4, "ngTemplateOutlet"], [1, "panel-heading"], [1, "panel-body", 3, "ngClass"], ["wmMessage", "", "caption.bind", "statusMessage.caption", "type.bind", "statusMessage.type"], [3, "ngClass"], [1, "basic-btn-grp", "form-action", "panel-footer", "clearfix", 3, "ngClass"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", "ngTemplateOutletInjector"], [1, "panel-title"], [1, "pull-left"], ["aria-hidden", "true", 1, "app-icon", "panel-icon", 3, "ngClass"], [1, "heading", 3, "innerHTML"], [1, "description", 3, "innerHTML"], [1, "form-action", "panel-actions", "basic-btn-grp"], ["type", "button", 1, "app-icon", "wi", "panel-action", 3, "title", "ngClass"], ["type", "button", 1, "app-icon", "wi", "panel-action", 3, "click", "title", "ngClass"], ["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
1351
|
i0__namespace.ɵɵprojectionDef();
|
|
1355
|
-
i0__namespace.ɵɵtemplate(0, FormComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor)(2,
|
|
1356
|
-
i0__namespace.ɵɵelementContainer(
|
|
1352
|
+
i0__namespace.ɵɵtemplate(0, FormComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor)(2, FormComponent_Conditional_2_Template, 1, 1, "ng-container")(3, FormComponent_Conditional_3_Template, 9, 22, "div", 4)(4, FormComponent_ng_template_4_Template, 1, 4, "ng-template", null, 1, i0__namespace.ɵɵtemplateRefExtractor)(6, FormComponent_ng_template_6_Template, 1, 3, "ng-template", null, 2, i0__namespace.ɵɵtemplateRefExtractor);
|
|
1353
|
+
i0__namespace.ɵɵelementContainer(8, null, 3);
|
|
1357
1354
|
} if (rf & 2) {
|
|
1358
|
-
const defaultTemplate_r14 = i0__namespace.ɵɵreference(4);
|
|
1359
|
-
const pageLayoutTemplate_r15 = i0__namespace.ɵɵreference(6);
|
|
1360
1355
|
i0__namespace.ɵɵadvance(2);
|
|
1361
|
-
i0__namespace.ɵɵ
|
|
1362
|
-
} }, dependencies: [i6__namespace.AnchorComponent, i7__namespace.NgClass, i7__namespace.
|
|
1356
|
+
i0__namespace.ɵɵconditional(ctx.formlayout === "page" ? 2 : 3);
|
|
1357
|
+
} }, dependencies: [i6__namespace.AnchorComponent, i7__namespace.NgClass, i7__namespace.NgTemplateOutlet, i8__namespace.ButtonComponent, i5__namespace.MessageComponent, i5__namespace.FilterPipe], encapsulation: 2 }); }
|
|
1363
1358
|
}
|
|
1364
1359
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FormComponent, [{
|
|
1365
1360
|
type: i0.Component,
|
|
1366
1361
|
args: [{ selector: 'form[wmForm]', providers: [
|
|
1367
1362
|
i5.provideAsWidgetRef(FormComponent)
|
|
1368
|
-
], template: "<ng-template #content><ng-content></ng-content></ng-template>\n\n
|
|
1363
|
+
], template: "<ng-template #content><ng-content></ng-content></ng-template>\n\n@if (formlayout === 'page') {\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n} @else {\n @if (!isLayoutDialog && (title || subheading || iconclass || showButtons('header'))) {\n <div class=\"panel-heading\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n @if (iconclass) {\n <i class=\"app-icon panel-icon\" aria-hidden=\"true\" [ngClass]=\"iconclass\"></i>\n }\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 @for (btn of buttonArray | filter : 'position' : 'header'; track btn; let index = $index) {\n <ng-container\n [ngTemplateOutlet]=\"btn.widgetType === 'button' ? buttonRef : anchorRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('action_header_' + index, {btn:btn})\">\n </ng-container>\n }\n @if (collapsible) {\n <button type=\"button\" class=\"app-icon wi panel-action\" [title]=\"expanded? (this.appLocale?.LABEL_COLLAPSE||'Collapse'):(this.appLocale?.LABEL_EXPAND||'Expand')\"\n [ngClass]=\"expanded ? 'wi-minus': 'wi-plus'\" (click)=\"expandCollapsePanel();\"></button>\n }\n </div>\n </h3>\n </div>\n }\n <div class=\"panel-body\" [ngClass]=\"{'form-elements': isLayoutDialog, 'form-body': !isLayoutDialog}\" [class.hidden]=\"!expanded\">\n @if (!!statusMessage.caption) {\n <p wmMessage [attr.aria-hidden]=\"!statusMessage.caption\" [attr.aria-label]=\"statusMessage.caption\" caption.bind=\"statusMessage.caption\" type.bind=\"statusMessage.type\"></p>\n }\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 @for (btn of buttonArray | filter : 'position' : 'footer'; track btn; let index = $index) {\n <ng-container\n [ngTemplateOutlet]=\"btn.widgetType === 'button' ? buttonRef : anchorRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('action_footer_' + index, {btn:btn})\">\n </ng-container>\n }\n </div>\n </div>\n}\n\n\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
1364
|
}], () => [{ 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
1365
|
type: i0.Optional
|
|
1371
1366
|
}] }, { type: FormComponent, decorators: [{
|