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