@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
|
@@ -176,51 +176,51 @@ const _c1 = ["wmWizard", ""];
|
|
|
176
176
|
const _c2 = ["*"];
|
|
177
177
|
const _c3 = (a0, a1, a2) => ({ active: a0, current: a1, disabled: a2 });
|
|
178
178
|
const _c4 = a0 => ({ "title-center-align": a0 });
|
|
179
|
-
function
|
|
180
|
-
i0.ɵɵelement(0, "span",
|
|
179
|
+
function WizardComponent_For_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
180
|
+
i0.ɵɵelement(0, "span", 7);
|
|
181
181
|
} }
|
|
182
|
-
function
|
|
183
|
-
i0.ɵɵelementStart(0, "span",
|
|
182
|
+
function WizardComponent_For_3_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
183
|
+
i0.ɵɵelementStart(0, "span", 9);
|
|
184
184
|
i0.ɵɵtext(1);
|
|
185
185
|
i0.ɵɵelementEnd();
|
|
186
186
|
} if (rf & 2) {
|
|
187
|
-
const
|
|
187
|
+
const ɵ$index_5_r4 = i0.ɵɵnextContext().$index;
|
|
188
188
|
i0.ɵɵadvance();
|
|
189
|
-
i0.ɵɵtextInterpolate(
|
|
189
|
+
i0.ɵɵtextInterpolate(ɵ$index_5_r4 + 1);
|
|
190
190
|
} }
|
|
191
|
-
function
|
|
192
|
-
i0.ɵɵelement(0, "i",
|
|
191
|
+
function WizardComponent_For_3_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
192
|
+
i0.ɵɵelement(0, "i", 10);
|
|
193
193
|
} }
|
|
194
|
-
function
|
|
195
|
-
i0.ɵɵelement(0, "i",
|
|
194
|
+
function WizardComponent_For_3_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
195
|
+
i0.ɵɵelement(0, "i", 11);
|
|
196
196
|
} }
|
|
197
|
-
function
|
|
197
|
+
function WizardComponent_For_3_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
198
198
|
i0.ɵɵelement(0, "i");
|
|
199
199
|
} if (rf & 2) {
|
|
200
200
|
const step_r2 = i0.ɵɵnextContext().$implicit;
|
|
201
201
|
i0.ɵɵclassMapInterpolate1("app-icon ", step_r2.iconclass, "");
|
|
202
202
|
} }
|
|
203
|
-
function
|
|
203
|
+
function WizardComponent_For_3_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
204
204
|
i0.ɵɵelement(0, "i");
|
|
205
205
|
} if (rf & 2) {
|
|
206
206
|
const step_r2 = i0.ɵɵnextContext().$implicit;
|
|
207
207
|
i0.ɵɵclassMapInterpolate1("app-icon ", step_r2.doneiconclass, "");
|
|
208
208
|
} }
|
|
209
|
-
function
|
|
209
|
+
function WizardComponent_For_3_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
210
210
|
i0.ɵɵelementStart(0, "span");
|
|
211
211
|
i0.ɵɵtext(1);
|
|
212
212
|
i0.ɵɵelementEnd();
|
|
213
213
|
} if (rf & 2) {
|
|
214
|
-
const
|
|
214
|
+
const ɵ$index_5_r4 = i0.ɵɵnextContext().$index;
|
|
215
215
|
i0.ɵɵadvance();
|
|
216
|
-
i0.ɵɵtextInterpolate("0" + (
|
|
216
|
+
i0.ɵɵtextInterpolate("0" + (ɵ$index_5_r4 + 1));
|
|
217
217
|
} }
|
|
218
|
-
function
|
|
218
|
+
function WizardComponent_For_3_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
219
219
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
220
|
-
i0.ɵɵelementStart(0, "span",
|
|
221
|
-
i0.ɵɵelement(1, "span",
|
|
222
|
-
i0.ɵɵelementStart(2, "a",
|
|
223
|
-
i0.ɵɵlistener("click", function
|
|
220
|
+
i0.ɵɵelementStart(0, "span", 15);
|
|
221
|
+
i0.ɵɵelement(1, "span", 14);
|
|
222
|
+
i0.ɵɵelementStart(2, "a", 16);
|
|
223
|
+
i0.ɵɵlistener("click", function WizardComponent_For_3_Conditional_12_Template_a_click_2_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.readMoreSubtitle()); });
|
|
224
224
|
i0.ɵɵtext(3, "more");
|
|
225
225
|
i0.ɵɵelementEnd()();
|
|
226
226
|
} if (rf & 2) {
|
|
@@ -229,20 +229,20 @@ function WizardComponent_li_2_span_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
229
229
|
i0.ɵɵadvance();
|
|
230
230
|
i0.ɵɵproperty("textContent", step_r2.subtitle);
|
|
231
231
|
} }
|
|
232
|
-
function
|
|
232
|
+
function WizardComponent_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
233
233
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
234
234
|
i0.ɵɵelementStart(0, "li", 5);
|
|
235
|
-
i0.ɵɵlistener("click", function
|
|
235
|
+
i0.ɵɵlistener("click", function WizardComponent_For_3_Template_li_click_0_listener($event) { const step_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onWizardHeaderClick($event, step_r2)); });
|
|
236
236
|
i0.ɵɵelementStart(1, "a", 6);
|
|
237
|
-
i0.ɵɵtemplate(2,
|
|
237
|
+
i0.ɵɵtemplate(2, WizardComponent_For_3_Conditional_2_Template, 1, 0, "span", 7);
|
|
238
238
|
i0.ɵɵelementStart(3, "span", 8);
|
|
239
|
-
i0.ɵɵtemplate(4,
|
|
239
|
+
i0.ɵɵtemplate(4, WizardComponent_For_3_Conditional_4_Template, 2, 1, "span", 9)(5, WizardComponent_For_3_Conditional_5_Template, 1, 0, "i", 10)(6, WizardComponent_For_3_Conditional_6_Template, 1, 0, "i", 11)(7, WizardComponent_For_3_Conditional_7_Template, 1, 3, "i", 12)(8, WizardComponent_For_3_Conditional_8_Template, 1, 3, "i", 12);
|
|
240
240
|
i0.ɵɵelementEnd();
|
|
241
241
|
i0.ɵɵelementStart(9, "span", 13);
|
|
242
|
-
i0.ɵɵtemplate(10,
|
|
243
|
-
i0.ɵɵelement(11, "span",
|
|
242
|
+
i0.ɵɵtemplate(10, WizardComponent_For_3_Conditional_10_Template, 2, 1, "span");
|
|
243
|
+
i0.ɵɵelement(11, "span", 14);
|
|
244
244
|
i0.ɵɵelementEnd();
|
|
245
|
-
i0.ɵɵtemplate(12,
|
|
245
|
+
i0.ɵɵtemplate(12, WizardComponent_For_3_Conditional_12_Template, 4, 2, "span", 15);
|
|
246
246
|
i0.ɵɵelementEnd()();
|
|
247
247
|
} if (rf & 2) {
|
|
248
248
|
const step_r2 = ctx.$implicit;
|
|
@@ -252,28 +252,28 @@ function WizardComponent_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
252
252
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c4, ctx_r2.class && ctx_r2.class.includes("classic") && !step_r2.subtitle));
|
|
253
253
|
i0.ɵɵattribute("aria-current", step_r2.active ? "step" : null)("aria-disabled", step_r2.disabled)("title", step_r2.title);
|
|
254
254
|
i0.ɵɵadvance();
|
|
255
|
-
i0.ɵɵ
|
|
255
|
+
i0.ɵɵconditional(ctx_r2.class && ctx_r2.class.includes("classic") ? 2 : -1);
|
|
256
256
|
i0.ɵɵadvance(2);
|
|
257
|
-
i0.ɵɵ
|
|
257
|
+
i0.ɵɵconditional(ctx_r2.class && ctx_r2.class.includes("number") && !step_r2.isDone ? 4 : -1);
|
|
258
258
|
i0.ɵɵadvance();
|
|
259
|
-
i0.ɵɵ
|
|
259
|
+
i0.ɵɵconditional(ctx_r2.class && (ctx_r2.class.includes("dottedstepper") || ctx_r2.class.includes("text-inline") && !ctx_r2.class.includes("iconstepper")) && !step_r2.isDone ? 5 : -1);
|
|
260
260
|
i0.ɵɵadvance();
|
|
261
|
-
i0.ɵɵ
|
|
261
|
+
i0.ɵɵconditional(ctx_r2.class && (ctx_r2.class.includes("dottedstepper") || ctx_r2.class.includes("number")) && step_r2.isDone ? 6 : -1);
|
|
262
262
|
i0.ɵɵadvance();
|
|
263
|
-
i0.ɵɵ
|
|
263
|
+
i0.ɵɵconditional(ctx_r2.class && ctx_r2.class.includes("iconstepper") && (step_r2.iconclass && !step_r2.isDone || step_r2.iconclass && step_r2.isDone && step_r2.doneiconclass === "") ? 7 : -1);
|
|
264
264
|
i0.ɵɵadvance();
|
|
265
|
-
i0.ɵɵ
|
|
265
|
+
i0.ɵɵconditional(step_r2.doneiconclass && step_r2.isDone && (ctx_r2.class && ctx_r2.class.includes("iconstepper")) ? 8 : -1);
|
|
266
266
|
i0.ɵɵadvance(2);
|
|
267
|
-
i0.ɵɵ
|
|
267
|
+
i0.ɵɵconditional(ctx_r2.class && ctx_r2.class.includes("text-inline") ? 10 : -1);
|
|
268
268
|
i0.ɵɵadvance();
|
|
269
269
|
i0.ɵɵproperty("textContent", step_r2.title);
|
|
270
270
|
i0.ɵɵadvance();
|
|
271
|
-
i0.ɵɵ
|
|
271
|
+
i0.ɵɵconditional(step_r2.subtitle ? 12 : -1);
|
|
272
272
|
} }
|
|
273
|
-
function
|
|
274
|
-
i0.ɵɵelement(0, "p",
|
|
273
|
+
function WizardComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
274
|
+
i0.ɵɵelement(0, "p", 3);
|
|
275
275
|
} }
|
|
276
|
-
function
|
|
276
|
+
function WizardComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
277
277
|
i0.ɵɵelementContainer(0);
|
|
278
278
|
} }
|
|
279
279
|
const DEFAULT_CLS = 'app-wizard panel clearfix';
|
|
@@ -617,33 +617,33 @@ class WizardComponent extends StylableComponent {
|
|
|
617
617
|
} }, features: [i0.ɵɵProvidersFeature([
|
|
618
618
|
provideAsWidgetRef(WizardComponent),
|
|
619
619
|
{ provide: Context, useFactory: () => { return {}; }, multi: true }
|
|
620
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, ngContentSelectors: _c2, decls:
|
|
620
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, ngContentSelectors: _c2, decls: 8, vars: 5, consts: [[1, "app-wizard-heading"], [1, "app-wizard-step", 3, "hidden", "ngClass"], [1, "app-wizard-body", "panel-body"], ["wmMessage", "", "caption.bind", "message.caption", "type.bind", "message.type"], [4, "ngTemplateOutlet"], [1, "app-wizard-step", 3, "click", "hidden", "ngClass"], ["href", "javascript:void(0)", 3, "ngClass"], [1, "arrow"], [1, "wizard-step-number"], [1, "count"], [1, "dottedstepper"], [1, "app-icon", "wi", "wi-done"], [3, "class"], [1, "title-wrapper"], [1, "step-title", 3, "textContent"], [1, "subtitle-wrapper"], [1, "read_more", 2, "display", "none", 3, "click"]], template: function WizardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
621
621
|
i0.ɵɵprojectionDef();
|
|
622
622
|
i0.ɵɵelementStart(0, "div", 0)(1, "ul");
|
|
623
|
-
i0.ɵɵ
|
|
623
|
+
i0.ɵɵrepeaterCreate(2, WizardComponent_For_3_Template, 13, 21, "li", 1, i0.ɵɵrepeaterTrackByIdentity);
|
|
624
624
|
i0.ɵɵelementEnd()();
|
|
625
|
-
i0.ɵɵelementStart(
|
|
626
|
-
i0.ɵɵtemplate(
|
|
627
|
-
i0.ɵɵprojection(
|
|
625
|
+
i0.ɵɵelementStart(4, "div", 2);
|
|
626
|
+
i0.ɵɵtemplate(5, WizardComponent_Conditional_5_Template, 1, 0, "p", 3);
|
|
627
|
+
i0.ɵɵprojection(6, 0, ["ngProjectAs", "form[wmWizardStep]", 5, ["form", "wmWizardStep", ""]]);
|
|
628
628
|
i0.ɵɵelementEnd();
|
|
629
|
-
i0.ɵɵtemplate(
|
|
629
|
+
i0.ɵɵtemplate(7, WizardComponent_ng_container_7_Template, 1, 0, "ng-container", 4);
|
|
630
630
|
} if (rf & 2) {
|
|
631
631
|
i0.ɵɵadvance();
|
|
632
632
|
i0.ɵɵclassMapInterpolate1("app-wizard-steps nav nav-pills ", ctx.stepClass, "");
|
|
633
633
|
i0.ɵɵadvance();
|
|
634
|
-
i0.ɵɵ
|
|
635
|
-
i0.ɵɵadvance(
|
|
636
|
-
i0.ɵɵ
|
|
634
|
+
i0.ɵɵrepeater(ctx.steps);
|
|
635
|
+
i0.ɵɵadvance(3);
|
|
636
|
+
i0.ɵɵconditional(ctx.message.caption ? 5 : -1);
|
|
637
637
|
i0.ɵɵadvance(2);
|
|
638
638
|
i0.ɵɵproperty("ngTemplateOutlet", ctx.wizardAction);
|
|
639
|
-
} }, dependencies: [i1$1.NgClass, i1$1.
|
|
639
|
+
} }, dependencies: [i1$1.NgClass, i1$1.NgTemplateOutlet, i2.MessageComponent, i2.TextContentDirective], encapsulation: 2 }); }
|
|
640
640
|
}
|
|
641
641
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WizardComponent, [{
|
|
642
642
|
type: Component,
|
|
643
643
|
args: [{ selector: 'div[wmWizard]', providers: [
|
|
644
644
|
provideAsWidgetRef(WizardComponent),
|
|
645
645
|
{ provide: Context, useFactory: () => { return {}; }, multi: true }
|
|
646
|
-
], template: "<div class=\"app-wizard-heading\">\n
|
|
646
|
+
], template: "<div class=\"app-wizard-heading\">\n <ul class=\"app-wizard-steps nav nav-pills {{stepClass}}\">\n @for (step of steps; track step; let i = $index) {\n <li class=\"app-wizard-step\" [hidden]=\"!step.show\"\n [ngClass]=\"{active: step.done, current: step.active, disabled: step.disabled}\"\n (click)=\"onWizardHeaderClick($event, step)\">\n <a href=\"javascript:void(0)\" [attr.aria-current]=\"step.active ? 'step' : null\"\n [attr.aria-disabled]=\"step.disabled\" [attr.title]=\"step.title\"\n [ngClass]=\"{'title-center-align':class && class.includes('classic') && !step.subtitle}\">\n @if (class && class.includes('classic')) {\n <span class=\"arrow\"></span>\n }\n <span class=\"wizard-step-number\">\n @if (class && class.includes('number') && !step.isDone) {\n <span class=\"count\">{{i+1}}</span>\n }\n @if (class && (class.includes('dottedstepper') || class.includes('text-inline') && !class.includes('iconstepper')) && !step.isDone) {\n <i class=\"dottedstepper\"></i>\n }\n @if (class && (class.includes('dottedstepper') || class.includes('number')) && step.isDone) {\n <i class=\"app-icon wi wi-done\"></i>\n }\n @if ((class && class.includes('iconstepper')) && ((step.iconclass && !step.isDone) || (step.iconclass && step.isDone && step.doneiconclass ===''))) {\n <i class=\"app-icon {{step.iconclass}}\"></i>\n }\n @if (step.doneiconclass && step.isDone && (class && class.includes('iconstepper'))) {\n <i class=\"app-icon {{step.doneiconclass}}\"></i>\n }\n </span>\n <span class=\"title-wrapper\">\n @if (class && class.includes('text-inline')) {\n <span>{{'0' + (i+1)}}</span>\n }\n <span class=\"step-title\" [textContent]=\"step.title\"></span>\n </span>\n @if (step.subtitle) {\n <span class=\"subtitle-wrapper\" [attr.title]=\"step.subtitle\">\n <span class=\"step-title\" [textContent]=\"step.subtitle\"></span>\n <a class=\"read_more\" (click)=\"readMoreSubtitle()\" style=\"display:none\">more</a>\n </span>\n }\n </a>\n </li>\n }\n </ul>\n</div>\n<div class=\"app-wizard-body panel-body\">\n @if (message.caption) {\n <p wmMessage caption.bind=\"message.caption\" type.bind=\"message.type\"></p>\n }\n <ng-content ngProjectAs=\"form[wmWizardStep]\"></ng-content>\n</div>\n<ng-container *ngTemplateOutlet=\"wizardAction\"></ng-container>\n" }]
|
|
647
647
|
}], () => [{ type: i0.Injector }, { type: Array, decorators: [{
|
|
648
648
|
type: Self
|
|
649
649
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/containers/wizard/src/wizard.props.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard-step/wizard-step.props.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard-step/wizard-step.directive.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard.component.html","../../../../../projects/components/widgets/containers/wizard/src/wizard.component.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard-action/wizard-action.props.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard-action/wizard-action.directive.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard.module.ts","../../../../../projects/components/widgets/containers/wizard/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-wizard',\n new Map(\n [\n ['actionsalignment', {value: 'right', ...PROP_STRING}],\n ['cancelable', {value: true, ...PROP_BOOLEAN}],\n ['enablenext', {value: false, ...PROP_BOOLEAN}],\n ['cancelbtnlabel', {value: 'Cancel', ...PROP_STRING}],\n ['class', {value: 'classic', ...PROP_STRING}],\n ['defaultstep', {value: 'none', ...PROP_STRING}],\n ['donebtnlabel', {value: 'Done', ...PROP_STRING}],\n ['name', PROP_STRING],\n ['nextbtnlabel', {value: 'Next', ...PROP_STRING}],\n ['previousbtnlabel', {value: 'Previous', ...PROP_STRING}],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['stepstyle', {value: 'auto', ...PROP_STRING}]\n ]\n )\n );\n};\n","import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-wizardstep',\n new Map(\n [\n ['class', PROP_STRING],\n ['enableskip', {value: false, ...PROP_BOOLEAN}],\n ['iconclass', {value: 'wi wi-person', ...PROP_STRING}],\n ['doneiconclass', {value: 'wi wi-done', ...PROP_STRING}],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['title', {value: 'Step Title', ...PROP_STRING}],\n ['subtitle', PROP_STRING]\n ]\n )\n );\n};\n","import {ContentChildren, Directive, HostBinding, Inject, Injector, Optional, Self} from '@angular/core';\nimport { NgForm } from '@angular/forms';\n\nimport { BaseComponent, IWidgetConfig, provideAsWidgetRef, RedrawableDirective } from '@wm/components/base';\nimport { WizardComponent } from '../wizard.component';\n\nimport { registerProps } from './wizard-step.props';\n\nconst DEFAULT_CLS = 'app-wizard-step-content';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-wizardstep',\n hostClass: DEFAULT_CLS,\n};\n\nconst enum STEP_STATUS {\n CURRENT = 1,\n DISABLED,\n COMPLETED\n}\n\n@Directive({\n selector: 'form[wmWizardStep]',\n providers: [\n provideAsWidgetRef(WizardStepDirective),\n NgForm\n ],\n exportAs: 'wmWizardStep'\n})\nexport class WizardStepDirective extends BaseComponent {\n static initializeProps = registerProps();\n\n public show: boolean;\n public name: string;\n public enableskip: any;\n public disablenext: boolean;\n public disabledone: boolean;\n public disableprevious: boolean;\n public isInitialized: boolean;\n isDone: boolean = false ;\n\n private status: STEP_STATUS = STEP_STATUS.DISABLED;\n private wizardComponent: WizardComponent;\n\n // reference to the components which needs a redraw(eg, grid, chart) when the height of this component changes\n @ContentChildren(RedrawableDirective, {descendants: true}) reDrawableComponents;\n\n @HostBinding('class.current')\n get isCurrent() {\n return this.active;\n }\n\n /**\n * along with the wizard form , also validate the forms\n * if there are any inside the wizard\n * @returns {boolean}\n */\n public get isValid() {\n return (this.ngForm.valid || this.ngForm.disabled) && this.areEmbeddedFormsValid();\n }\n\n /**\n * get all the forms inside the wizard if any and validate\n * @returns {boolean}\n */\n private areEmbeddedFormsValid() {\n for (const form of this.getAllEmbeddedForms()) {\n if (form.widget && form.widget.ngform && !form.widget.ngform.valid) {\n return false;\n }\n }\n return true;\n }\n\n private getAllEmbeddedForms() {\n return this.$element.find('form');\n }\n\n public get enableNext() {\n return !this.disablenext;\n }\n\n public get enableDone() {\n return !this.disabledone;\n }\n\n public get enablePrev() {\n return !this.disableprevious;\n }\n\n public set active(nv: boolean) {\n const isActive = this.active;\n this.status = STEP_STATUS.CURRENT;\n if (nv && !isActive) {\n this.redrawChildren();\n }\n }\n\n public get active(): boolean {\n return this.status === STEP_STATUS.CURRENT;\n }\n\n public set done(nv: boolean) {\n if (nv) {\n this.status = STEP_STATUS.COMPLETED;\n }\n }\n\n public get done(): boolean {\n return this.status === STEP_STATUS.COMPLETED;\n }\n\n public set disabled(nv: boolean) {\n if (nv) {\n this.status = STEP_STATUS.DISABLED;\n }\n }\n\n public get disabled(): boolean {\n return this.status === STEP_STATUS.DISABLED;\n }\n\n constructor(inj: Injector, @Self() private ngForm: NgForm, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_CONFIG, explicitContext);\n // If we inject directly as a param in the constructor, getting circular dependency error in unit testcases\n this.wizardComponent = this.inj.get(WizardComponent);\n }\n\n public invokeNextCB(index: number): boolean {\n return this.invokeEventCallback('next', {currentStep: this, stepIndex: index});\n }\n\n public invokePrevCB(index: number): boolean {\n return this.invokeEventCallback('prev', {currentStep: this, stepIndex: index});\n }\n\n public invokeSkipCB(index: number): boolean {\n return this.invokeEventCallback('skip', {currentStep: this, stepIndex: index});\n }\n\n // redraw all the projected components which are projected.\n private redrawChildren() {\n setTimeout(() => {\n if (this.reDrawableComponents) {\n this.reDrawableComponents.forEach(c => c.redraw());\n }\n const stepIndex = (this as any).wizardComponent.getCurrentStepIndex();\n this.invokeEventCallback('load', { stepIndex });\n }, 100);\n }\n}\n","<div class=\"app-wizard-heading\">\n <ul class=\"app-wizard-steps nav nav-pills {{stepClass}}\">\n <li class=\"app-wizard-step\" *ngFor=\"let step of steps; let i = index\" [hidden]=\"!step.show\"\n [ngClass]=\"{active: step.done, current: step.active, disabled: step.disabled}\"\n (click)=\"onWizardHeaderClick($event, step)\">\n <a href=\"javascript:void(0)\" [attr.aria-current]=\"step.active ? 'step' : null\"\n [attr.aria-disabled]=\"step.disabled\" [attr.title]=\"step.title\"\n [ngClass]=\"{'title-center-align':class && class.includes('classic') && !step.subtitle}\">\n <span class=\"arrow\" *ngIf=\"class && class.includes('classic')\"></span>\n <span class=\"wizard-step-number\">\n <span class=\"count\" *ngIf=\"class && class.includes('number') && !step.isDone\">{{i+1}}</span>\n <i class=\"dottedstepper\" *ngIf=\"class && (class.includes('dottedstepper') || class.includes('text-inline') && !class.includes('iconstepper')) && !step.isDone\"></i>\n <i class=\"app-icon wi wi-done\" *ngIf=\"class && (class.includes('dottedstepper') || class.includes('number')) && step.isDone\"></i>\n <i class=\"app-icon {{step.iconclass}}\" *ngIf=\"(class && class.includes('iconstepper')) && ((step.iconclass && !step.isDone) || (step.iconclass && step.isDone && step.doneiconclass ===''))\"></i>\n <i class=\"app-icon {{step.doneiconclass}}\" *ngIf=\"step.doneiconclass && step.isDone && (class && class.includes('iconstepper'))\"></i>\n </span>\n <span class=\"title-wrapper\">\n <span *ngIf=\"class && class.includes('text-inline')\">{{'0' + (i+1)}}</span>\n <span class=\"step-title\" [textContent]=\"step.title\"></span>\n </span>\n <span class=\"subtitle-wrapper\" [attr.title]=\"step.subtitle\" *ngIf=\"step.subtitle\">\n <span class=\"step-title\" [textContent]=\"step.subtitle\"></span>\n <a class=\"read_more\" (click)=\"readMoreSubtitle()\" style=\"display:none\">more</a>\n </span>\n </a>\n </li>\n </ul>\n</div>\n<div class=\"app-wizard-body panel-body\">\n <p wmMessage *ngIf=\"message.caption\" caption.bind=\"message.caption\" type.bind=\"message.type\"></p>\n <ng-content ngProjectAs=\"form[wmWizardStep]\"></ng-content>\n</div>\n<ng-container *ngTemplateOutlet=\"wizardAction\"></ng-container>\n","import {\n AfterContentInit,\n AfterViewInit,\n Component,\n ContentChild,\n ContentChildren,\n Inject,\n Injector,\n OnInit,\n Optional,\n QueryList,\n Self,\n TemplateRef\n} from '@angular/core';\n\nimport {noop} from '@wm/core';\nimport {\n APPLY_STYLES_TYPE,\n IWidgetConfig,\n provideAsWidgetRef,\n styler,\n StylableComponent,\n Context\n} from '@wm/components/base';\n\nimport { registerProps } from './wizard.props';\nimport { WizardStepDirective } from './wizard-step/wizard-step.directive';\n\nconst DEFAULT_CLS = 'app-wizard panel clearfix';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-wizard',\n hostClass: DEFAULT_CLS\n};\n\n@Component({\n selector: 'div[wmWizard]',\n templateUrl: './wizard.component.html',\n providers: [\n provideAsWidgetRef(WizardComponent),\n {provide: Context, useFactory: () => { return {} }, multi: true}\n ]\n})\nexport class WizardComponent extends StylableComponent implements OnInit, AfterContentInit, AfterViewInit {\n static initializeProps = registerProps();\n\n @ContentChildren(WizardStepDirective) steps: QueryList<WizardStepDirective>;\n @ContentChild('wizardAction', { read: TemplateRef, descendants: false }) wizardAction: TemplateRef<any>;\n\n public message: {caption: string, type: string};\n public currentStep: WizardStepDirective;\n\n public stepClass: string;\n public class;\n public name;\n private readonly promiseResolverFn: Function;\n public actionsalignment: any;\n public cancelable: any;\n public enablenext: any;\n public wizContext: any;\n public cancelbtnlabel: any;\n public donebtnlabel: any;\n public previousbtnlabel: any;\n public nextbtnlabel: any;\n\n get hasPrevStep(): boolean {\n return !this.isFirstStep(this.currentStep);\n }\n\n get hasNextStep(): boolean {\n return !this.isLastStep(this.currentStep);\n }\n\n get showDoneBtn(): boolean {\n if (!this.currentStep) {\n return;\n }\n return !this.hasNextStep && this.currentStep.enableDone;\n }\n\n get enablePrev(): boolean {\n if (!this.currentStep) {\n return;\n }\n return this.currentStep.enablePrev;\n }\n\n get enableNext(): boolean {\n if (!this.currentStep) {\n return;\n }\n return this.enablenext ? true : (this.currentStep.enableNext && this.currentStep.isValid);\n }\n\n get enableDone(): boolean {\n if (!this.currentStep) {\n return;\n }\n return this.currentStep.enableDone && this.currentStep.isValid;\n }\n\n constructor(inj: Injector, @Self() @Inject(Context) contexts: Array<any>, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n let resolveFn: Function = noop;\n\n super(inj, WIDGET_CONFIG, explicitContext, new Promise(res => resolveFn = res));\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.SHELL);\n\n this.promiseResolverFn = resolveFn;\n\n // initialize the message object with default values\n this.message = {\n caption: '',\n type: ''\n };\n this.wizContext = contexts[0];\n }\n\n /**\n * returns next valid step. the index passed is also checked if its valid step\n * @param index\n * @returns {WizardStepDirective}\n */\n private getNextValidStepFormIndex(index: number): WizardStepDirective {\n for (let i = index; i < this.steps.length; i++) {\n const step = this.getStepRefByIndex(i);\n if (step.show) {\n return step;\n }\n }\n }\n\n /**\n * returns previous valid step. the index passed is also checked if its valid step\n * @param index\n * @returns {WizardStepDirective}\n */\n private getPreviousValidStepFormIndex(index: number): WizardStepDirective {\n for (let i = index; i >= 0; i--) {\n const step = this.getStepRefByIndex(i);\n if (step.show) {\n return step;\n }\n }\n }\n\n /**\n * returns current step index value.\n * @returns {number}\n */\n private getCurrentStepIndex(): number {\n return this.getStepIndexByRef(this.currentStep);\n }\n\n /**\n * returns stepRef when index is passed.\n * @param {number} index\n * @returns {WizardStepDirective}\n */\n private getStepRefByIndex(index: number): WizardStepDirective {\n return this.steps.toArray()[index];\n }\n\n /**\n * returns the index value of the step.\n * @param {WizardStepDirective} wizardStep\n * @returns {number}\n */\n private getStepIndexByRef(wizardStep: WizardStepDirective): number {\n return this.steps.toArray().indexOf(wizardStep);\n }\n\n /**\n * gets stepRef by searching on the name property.\n * @param {string} name\n * @returns {WizardStepDirective}\n */\n private getStepRefByName(name: string): WizardStepDirective {\n return this.steps.find(step => step.name === name);\n }\n\n /**\n * sets default step as current step if configured\n * or finds first valid step and set it as current step.\n * @param {WizardStepDirective} step\n */\n private setDefaultStep(step: WizardStepDirective) {\n // If the default step has show true then only update the currentStep\n if (step && step.show) {\n this.currentStep = step;\n step.active = true;\n step.isInitialized = true;\n // Mark all previous step status COMPLETED\n let index = this.getStepIndexByRef(step) - 1;\n while (index >= 0) {\n const prevStep = this.getStepRefByIndex(index);\n prevStep.done = true;\n prevStep.isInitialized = true;\n index--;\n }\n } else {\n // set next valid step as current step\n step = this.getNextValidStepFormIndex(0);\n if (step) {\n this.setDefaultStep(step);\n }\n }\n this.addMoreText();\n }\n\n /**\n * Selects the associated step when the wizard header is clicked.\n * @param $event\n * @param {WizardStepDirective} currentStep\n */\n private onWizardHeaderClick($event: Event, currentStep: WizardStepDirective) {\n // select the step if it's status is done\n if (currentStep.done) {\n // set all the next steps status as disabled and previous steps as done\n this.steps.forEach((step, index) => {\n if (index < this.getStepIndexByRef(currentStep)) {\n step.done = true;\n step.isDone = true;\n } else {\n step.disabled = true;\n step.isDone = false;\n }\n });\n // set the selected step as current step and make it active\n this.currentStep = currentStep;\n this.currentStep.active = true;\n this.addMoreText();\n }\n }\n\n // Method to navigate to next step\n public next(eventName: string = 'next') {\n const currentStep = this.currentStep;\n const currentStepIndex = this.getCurrentStepIndex();\n\n // abort if onSkip method returns false\n if (eventName === 'skip') {\n if (currentStep.invokeSkipCB(currentStepIndex) === false) {\n return;\n }\n this.extendNextFn(currentStep, currentStepIndex);\n } else if (this.currentStep.isValid && eventName === 'next') {\n if (currentStep.invokeNextCB(currentStepIndex) === false) {\n return;\n }\n this.extendNextFn(currentStep, currentStepIndex);\n } else if (this.enablenext && !this.currentStep.isValid){\n Array.from((<any>this).currentStep.getAllEmbeddedForms())?.forEach((form:any) => {\n form.widget.highlightInvalidFields();\n });\n }\n }\n\n extendNextFn(currentStep, currentStepIndex){\n let nextStep: WizardStepDirective;\n nextStep = this.getNextValidStepFormIndex(currentStepIndex + 1);\n nextStep.isInitialized = true;\n\n // If there are any steps which has show then only change state of current step else remain same\n if (nextStep) {\n currentStep.isDone = true;\n currentStep.done = true;\n nextStep.active = true;\n this.currentStep = nextStep;\n }\n this.addMoreText();\n }\n // Method to navigate to previous step\n public prev() {\n const currentStep = this.currentStep;\n const currentStepIndex = this.getCurrentStepIndex();\n\n let prevStep: WizardStepDirective;\n\n // abort if onPrev method returns false.\n if (currentStep.invokePrevCB(currentStepIndex) === false) {\n return;\n }\n\n prevStep = this.getPreviousValidStepFormIndex(currentStepIndex - 1);\n\n // If there are any steps which has show then only change state of current step else remain same\n if (prevStep) {\n currentStep.isDone = false;\n currentStep.disabled = true;\n prevStep.active = true;\n this.currentStep = prevStep;\n }\n this.addMoreText();\n }\n\n public skip() {\n this.next('skip');\n }\n\n public gotoStep(stepName: string) {\n if(stepName) {\n const gotoStepIndex = this.steps.toArray().map(step => step.name).indexOf(stepName);\n if(gotoStepIndex !== -1) {\n const gotoStep: WizardStepDirective = this.getStepRefByIndex(gotoStepIndex);\n if(gotoStep?.show) {\n this.onWizardHeaderClick(event, gotoStep);\n } else {\n console.error(\"The gotoStep function cannot navigate to hidden steps\");\n }\n } else {\n console.error(`Could not find step '${stepName}'`);\n }\n }\n }\n\n // Method to invoke on-Done event on wizard\n public done() {\n this.currentStep.isDone = true;\n this.invokeEventCallback('done', {steps: this.steps.toArray()});\n }\n // Method to invoke on-Cancel event on wizard\n public cancel () {\n this.invokeEventCallback('cancel', {steps: this.steps.toArray()});\n }\n public addMoreText(){\n setTimeout(() => {\n\n\n var newWindowWidth = $(window).width();\n if(newWindowWidth < 768){\n $(\".app-wizard-step.current .subtitle-wrapper .step-title\").css({\"height\":\"auto\",\"display\":\"block\"});\n var subtitleTextLength = $(\".app-wizard-step.current .subtitle-wrapper .step-title\").height();\n $(\".read_more\").css(\"display\",\"none\");\n $(\".current .subtitle-wrapper\").removeClass(\"readmore_subtitle\");\n\n if(subtitleTextLength>44){\n $(\".app-wizard-step.current .subtitle-wrapper .step-title\").css({\"height\":\"44px\",\"display\":\"-webkit-box\"});\n $(\".current .read_more\").css(\"display\",\"block\");\n $(\".active .read_more\").css(\"display\",\"none\");\n $(\".disable .read_more\").css(\"display\",\"none\");\n $(\".app-wizard-step>a\").css(\"height\",\"100px\")\n }\n }\n });\n\n }\n public readMoreSubtitle(){\n $(\".current .subtitle-wrapper\").addClass(\"readmore_subtitle\");\n $(\".current .read_more\").css(\"display\",\"none\");\n $(document).on(\"mouseup\",function(e:any)\n {\n var container = $(\".subtitle-wrapper\");\n // if the target of the click isn't the container nor a descendant of the container\n if (!container.is(e.target) && container.has(e.target).length === 0)\n {\n $(\".current .subtitle-wrapper\").removeClass(\"readmore_subtitle\");\n $(\".current .read_more\").css(\"display\",\"block\");\n $(document).off(\"mouseup\");\n }\n });\n }\n\n private isFirstStep(stepRef: WizardStepDirective) {\n return this.steps.first === stepRef;\n }\n\n private isLastStep(stepRef: WizardStepDirective) {\n return this.steps.last === stepRef;\n }\n\n\n // Define the property change handler. This Method will be triggered when there is a change in the widget property\n onPropertyChange(key: string, nv: any, ov?: any) {\n // Monitoring changes for properties and accordingly handling respective changes\n\n if (key === 'stepstyle') {\n this.stepClass = nv === 'justified' ? 'nav-justified' : '';\n } else if (key === 'defaultstep') {\n this.setDefaultStep(this.getStepRefByName(nv));\n } else if (key === 'actionsalignment') {\n this.nativeElement.querySelector('div.app-wizard-actions')?.classList.replace(ov, nv);\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n ngAfterContentInit() {\n super.ngAfterContentInit();\n this.promiseResolverFn();\n this.wizContext.hasNextStep = () => this.hasNextStep;\n this.wizContext.hasPreviousStep = () => this.hasPrevStep;\n this.wizContext.hasNoNextStep = () => this.showDoneBtn;\n this.wizContext.cancelable = () => this.cancelable;\n this.wizContext.skippable = () => this.currentStep?.enableskip;\n this.wizContext.next = () => this.next();\n this.wizContext.previous = () => this.prev();\n this.wizContext.done = () => this.done();\n this.wizContext.cancel = () => this.cancel();\n this.wizContext.skip = () => this.skip();\n this.wizContext.nextbtnlabel = () => this.nextbtnlabel;\n this.wizContext.previousbtnlabel = () => this.previousbtnlabel;\n this.wizContext.donebtnlabel = () => this.donebtnlabel;\n this.wizContext.cancelbtnlabel = () => this.cancelbtnlabel;\n this.wizContext.actionsalignment = () => this.actionsalignment;\n this.wizContext.disableNext = () => !this.enableNext;\n this.wizContext.disablePrevious = () => !this.enablePrev;\n this.wizContext.disableDone = () => !this.enableDone;\n }\n\n ngAfterViewInit() {\n super.ngAfterViewInit();\n styler(\n this.nativeElement.querySelector('.panel-body') as HTMLElement,\n this,\n APPLY_STYLES_TYPE.INNER_SHELL\n );\n setTimeout(() => { if($(window).width()<768) {\n $(\".app-wizard\").removeClass(\"vertical\");\n }\n this.nativeElement.querySelector('div.app-wizard-actions-right')?.classList.remove('app-container');\n this.nativeElement.querySelector('div.app-wizard-actions')?.classList.add(this.actionsalignment);\n });\n }\n}\n","import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-wizardaction',\n new Map([\n ['class', PROP_STRING],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}]\n ])\n );\n};\n","import {Directive, Inject, Injector, Optional} from '@angular/core';\nimport { BaseComponent, IWidgetConfig, provideAsWidgetRef } from '@wm/components/base';\nimport {registerProps} from \"./wizard-action.props\";\n\nconst WIDGET_INFO: IWidgetConfig = {\n widgetType: 'wm-wizardaction',\n hostClass: 'app-wizard-actions panel-footer '\n};\n\n@Directive({\n selector: 'div[wmWizardAction]',\n providers: [\n provideAsWidgetRef(WizardActionDirective)\n ],\n exportAs: 'wmWizardAction',\n})\nexport class WizardActionDirective extends BaseComponent {\n static initializeProps = registerProps();\n\n constructor(inj: Injector, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_INFO, explicitContext);\n }\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { WizardComponent } from './wizard.component';\nimport { WizardStepDirective } from './wizard-step/wizard-step.directive';\nimport { WizardActionDirective } from './wizard-action/wizard-action.directive';\n\nconst components = [\n WizardActionDirective,\n WizardStepDirective,\n WizardComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule,\n FormsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class WizardModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["registerProps","DEFAULT_CLS","WIDGET_CONFIG"],"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izard.props.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard-step/wizard-step.props.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard-step/wizard-step.directive.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard.component.html","../../../../../projects/components/widgets/containers/wizard/src/wizard.component.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard-action/wizard-action.props.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard-action/wizard-action.directive.ts","../../../../../projects/components/widgets/containers/wizard/src/wizard.module.ts","../../../../../projects/components/widgets/containers/wizard/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-wizard',\n new Map(\n [\n ['actionsalignment', {value: 'right', ...PROP_STRING}],\n ['cancelable', {value: true, ...PROP_BOOLEAN}],\n ['enablenext', {value: false, ...PROP_BOOLEAN}],\n ['cancelbtnlabel', {value: 'Cancel', ...PROP_STRING}],\n ['class', {value: 'classic', ...PROP_STRING}],\n ['defaultstep', {value: 'none', ...PROP_STRING}],\n ['donebtnlabel', {value: 'Done', ...PROP_STRING}],\n ['name', PROP_STRING],\n ['nextbtnlabel', {value: 'Next', ...PROP_STRING}],\n ['previousbtnlabel', {value: 'Previous', ...PROP_STRING}],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['stepstyle', {value: 'auto', ...PROP_STRING}]\n ]\n )\n );\n};\n","import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-wizardstep',\n new Map(\n [\n ['class', PROP_STRING],\n ['enableskip', {value: false, ...PROP_BOOLEAN}],\n ['iconclass', {value: 'wi wi-person', ...PROP_STRING}],\n ['doneiconclass', {value: 'wi wi-done', ...PROP_STRING}],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['title', {value: 'Step Title', ...PROP_STRING}],\n ['subtitle', PROP_STRING]\n ]\n )\n );\n};\n","import {ContentChildren, Directive, HostBinding, Inject, Injector, Optional, Self} from '@angular/core';\nimport { NgForm } from '@angular/forms';\n\nimport { BaseComponent, IWidgetConfig, provideAsWidgetRef, RedrawableDirective } from '@wm/components/base';\nimport { WizardComponent } from '../wizard.component';\n\nimport { registerProps } from './wizard-step.props';\n\nconst DEFAULT_CLS = 'app-wizard-step-content';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-wizardstep',\n hostClass: DEFAULT_CLS,\n};\n\nconst enum STEP_STATUS {\n CURRENT = 1,\n DISABLED,\n COMPLETED\n}\n\n@Directive({\n selector: 'form[wmWizardStep]',\n providers: [\n provideAsWidgetRef(WizardStepDirective),\n NgForm\n ],\n exportAs: 'wmWizardStep'\n})\nexport class WizardStepDirective extends BaseComponent {\n static initializeProps = registerProps();\n\n public show: boolean;\n public name: string;\n public enableskip: any;\n public disablenext: boolean;\n public disabledone: boolean;\n public disableprevious: boolean;\n public isInitialized: boolean;\n isDone: boolean = false ;\n\n private status: STEP_STATUS = STEP_STATUS.DISABLED;\n private wizardComponent: WizardComponent;\n\n // reference to the components which needs a redraw(eg, grid, chart) when the height of this component changes\n @ContentChildren(RedrawableDirective, {descendants: true}) reDrawableComponents;\n\n @HostBinding('class.current')\n get isCurrent() {\n return this.active;\n }\n\n /**\n * along with the wizard form , also validate the forms\n * if there are any inside the wizard\n * @returns {boolean}\n */\n public get isValid() {\n return (this.ngForm.valid || this.ngForm.disabled) && this.areEmbeddedFormsValid();\n }\n\n /**\n * get all the forms inside the wizard if any and validate\n * @returns {boolean}\n */\n private areEmbeddedFormsValid() {\n for (const form of this.getAllEmbeddedForms()) {\n if (form.widget && form.widget.ngform && !form.widget.ngform.valid) {\n return false;\n }\n }\n return true;\n }\n\n private getAllEmbeddedForms() {\n return this.$element.find('form');\n }\n\n public get enableNext() {\n return !this.disablenext;\n }\n\n public get enableDone() {\n return !this.disabledone;\n }\n\n public get enablePrev() {\n return !this.disableprevious;\n }\n\n public set active(nv: boolean) {\n const isActive = this.active;\n this.status = STEP_STATUS.CURRENT;\n if (nv && !isActive) {\n this.redrawChildren();\n }\n }\n\n public get active(): boolean {\n return this.status === STEP_STATUS.CURRENT;\n }\n\n public set done(nv: boolean) {\n if (nv) {\n this.status = STEP_STATUS.COMPLETED;\n }\n }\n\n public get done(): boolean {\n return this.status === STEP_STATUS.COMPLETED;\n }\n\n public set disabled(nv: boolean) {\n if (nv) {\n this.status = STEP_STATUS.DISABLED;\n }\n }\n\n public get disabled(): boolean {\n return this.status === STEP_STATUS.DISABLED;\n }\n\n constructor(inj: Injector, @Self() private ngForm: NgForm, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_CONFIG, explicitContext);\n // If we inject directly as a param in the constructor, getting circular dependency error in unit testcases\n this.wizardComponent = this.inj.get(WizardComponent);\n }\n\n public invokeNextCB(index: number): boolean {\n return this.invokeEventCallback('next', {currentStep: this, stepIndex: index});\n }\n\n public invokePrevCB(index: number): boolean {\n return this.invokeEventCallback('prev', {currentStep: this, stepIndex: index});\n }\n\n public invokeSkipCB(index: number): boolean {\n return this.invokeEventCallback('skip', {currentStep: this, stepIndex: index});\n }\n\n // redraw all the projected components which are projected.\n private redrawChildren() {\n setTimeout(() => {\n if (this.reDrawableComponents) {\n this.reDrawableComponents.forEach(c => c.redraw());\n }\n const stepIndex = (this as any).wizardComponent.getCurrentStepIndex();\n this.invokeEventCallback('load', { stepIndex });\n }, 100);\n }\n}\n","<div class=\"app-wizard-heading\">\n <ul class=\"app-wizard-steps nav nav-pills {{stepClass}}\">\n @for (step of steps; track step; let i = $index) {\n <li class=\"app-wizard-step\" [hidden]=\"!step.show\"\n [ngClass]=\"{active: step.done, current: step.active, disabled: step.disabled}\"\n (click)=\"onWizardHeaderClick($event, step)\">\n <a href=\"javascript:void(0)\" [attr.aria-current]=\"step.active ? 'step' : null\"\n [attr.aria-disabled]=\"step.disabled\" [attr.title]=\"step.title\"\n [ngClass]=\"{'title-center-align':class && class.includes('classic') && !step.subtitle}\">\n @if (class && class.includes('classic')) {\n <span class=\"arrow\"></span>\n }\n <span class=\"wizard-step-number\">\n @if (class && class.includes('number') && !step.isDone) {\n <span class=\"count\">{{i+1}}</span>\n }\n @if (class && (class.includes('dottedstepper') || class.includes('text-inline') && !class.includes('iconstepper')) && !step.isDone) {\n <i class=\"dottedstepper\"></i>\n }\n @if (class && (class.includes('dottedstepper') || class.includes('number')) && step.isDone) {\n <i class=\"app-icon wi wi-done\"></i>\n }\n @if ((class && class.includes('iconstepper')) && ((step.iconclass && !step.isDone) || (step.iconclass && step.isDone && step.doneiconclass ===''))) {\n <i class=\"app-icon {{step.iconclass}}\"></i>\n }\n @if (step.doneiconclass && step.isDone && (class && class.includes('iconstepper'))) {\n <i class=\"app-icon {{step.doneiconclass}}\"></i>\n }\n </span>\n <span class=\"title-wrapper\">\n @if (class && class.includes('text-inline')) {\n <span>{{'0' + (i+1)}}</span>\n }\n <span class=\"step-title\" [textContent]=\"step.title\"></span>\n </span>\n @if (step.subtitle) {\n <span class=\"subtitle-wrapper\" [attr.title]=\"step.subtitle\">\n <span class=\"step-title\" [textContent]=\"step.subtitle\"></span>\n <a class=\"read_more\" (click)=\"readMoreSubtitle()\" style=\"display:none\">more</a>\n </span>\n }\n </a>\n </li>\n }\n </ul>\n</div>\n<div class=\"app-wizard-body panel-body\">\n @if (message.caption) {\n <p wmMessage caption.bind=\"message.caption\" type.bind=\"message.type\"></p>\n }\n <ng-content ngProjectAs=\"form[wmWizardStep]\"></ng-content>\n</div>\n<ng-container *ngTemplateOutlet=\"wizardAction\"></ng-container>\n","import {\n AfterContentInit,\n AfterViewInit,\n Component,\n ContentChild,\n ContentChildren,\n Inject,\n Injector,\n OnInit,\n Optional,\n QueryList,\n Self,\n TemplateRef\n} from '@angular/core';\n\nimport {noop} from '@wm/core';\nimport {\n APPLY_STYLES_TYPE,\n IWidgetConfig,\n provideAsWidgetRef,\n styler,\n StylableComponent,\n Context\n} from '@wm/components/base';\n\nimport { registerProps } from './wizard.props';\nimport { WizardStepDirective } from './wizard-step/wizard-step.directive';\n\nconst DEFAULT_CLS = 'app-wizard panel clearfix';\nconst WIDGET_CONFIG: IWidgetConfig = {\n widgetType: 'wm-wizard',\n hostClass: DEFAULT_CLS\n};\n\n@Component({\n selector: 'div[wmWizard]',\n templateUrl: './wizard.component.html',\n providers: [\n provideAsWidgetRef(WizardComponent),\n {provide: Context, useFactory: () => { return {} }, multi: true}\n ]\n})\nexport class WizardComponent extends StylableComponent implements OnInit, AfterContentInit, AfterViewInit {\n static initializeProps = registerProps();\n\n @ContentChildren(WizardStepDirective) steps: QueryList<WizardStepDirective>;\n @ContentChild('wizardAction', { read: TemplateRef, descendants: false }) wizardAction: TemplateRef<any>;\n\n public message: {caption: string, type: string};\n public currentStep: WizardStepDirective;\n\n public stepClass: string;\n public class;\n public name;\n private readonly promiseResolverFn: Function;\n public actionsalignment: any;\n public cancelable: any;\n public enablenext: any;\n public wizContext: any;\n public cancelbtnlabel: any;\n public donebtnlabel: any;\n public previousbtnlabel: any;\n public nextbtnlabel: any;\n\n get hasPrevStep(): boolean {\n return !this.isFirstStep(this.currentStep);\n }\n\n get hasNextStep(): boolean {\n return !this.isLastStep(this.currentStep);\n }\n\n get showDoneBtn(): boolean {\n if (!this.currentStep) {\n return;\n }\n return !this.hasNextStep && this.currentStep.enableDone;\n }\n\n get enablePrev(): boolean {\n if (!this.currentStep) {\n return;\n }\n return this.currentStep.enablePrev;\n }\n\n get enableNext(): boolean {\n if (!this.currentStep) {\n return;\n }\n return this.enablenext ? true : (this.currentStep.enableNext && this.currentStep.isValid);\n }\n\n get enableDone(): boolean {\n if (!this.currentStep) {\n return;\n }\n return this.currentStep.enableDone && this.currentStep.isValid;\n }\n\n constructor(inj: Injector, @Self() @Inject(Context) contexts: Array<any>, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n let resolveFn: Function = noop;\n\n super(inj, WIDGET_CONFIG, explicitContext, new Promise(res => resolveFn = res));\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.SHELL);\n\n this.promiseResolverFn = resolveFn;\n\n // initialize the message object with default values\n this.message = {\n caption: '',\n type: ''\n };\n this.wizContext = contexts[0];\n }\n\n /**\n * returns next valid step. the index passed is also checked if its valid step\n * @param index\n * @returns {WizardStepDirective}\n */\n private getNextValidStepFormIndex(index: number): WizardStepDirective {\n for (let i = index; i < this.steps.length; i++) {\n const step = this.getStepRefByIndex(i);\n if (step.show) {\n return step;\n }\n }\n }\n\n /**\n * returns previous valid step. the index passed is also checked if its valid step\n * @param index\n * @returns {WizardStepDirective}\n */\n private getPreviousValidStepFormIndex(index: number): WizardStepDirective {\n for (let i = index; i >= 0; i--) {\n const step = this.getStepRefByIndex(i);\n if (step.show) {\n return step;\n }\n }\n }\n\n /**\n * returns current step index value.\n * @returns {number}\n */\n private getCurrentStepIndex(): number {\n return this.getStepIndexByRef(this.currentStep);\n }\n\n /**\n * returns stepRef when index is passed.\n * @param {number} index\n * @returns {WizardStepDirective}\n */\n private getStepRefByIndex(index: number): WizardStepDirective {\n return this.steps.toArray()[index];\n }\n\n /**\n * returns the index value of the step.\n * @param {WizardStepDirective} wizardStep\n * @returns {number}\n */\n private getStepIndexByRef(wizardStep: WizardStepDirective): number {\n return this.steps.toArray().indexOf(wizardStep);\n }\n\n /**\n * gets stepRef by searching on the name property.\n * @param {string} name\n * @returns {WizardStepDirective}\n */\n private getStepRefByName(name: string): WizardStepDirective {\n return this.steps.find(step => step.name === name);\n }\n\n /**\n * sets default step as current step if configured\n * or finds first valid step and set it as current step.\n * @param {WizardStepDirective} step\n */\n private setDefaultStep(step: WizardStepDirective) {\n // If the default step has show true then only update the currentStep\n if (step && step.show) {\n this.currentStep = step;\n step.active = true;\n step.isInitialized = true;\n // Mark all previous step status COMPLETED\n let index = this.getStepIndexByRef(step) - 1;\n while (index >= 0) {\n const prevStep = this.getStepRefByIndex(index);\n prevStep.done = true;\n prevStep.isInitialized = true;\n index--;\n }\n } else {\n // set next valid step as current step\n step = this.getNextValidStepFormIndex(0);\n if (step) {\n this.setDefaultStep(step);\n }\n }\n this.addMoreText();\n }\n\n /**\n * Selects the associated step when the wizard header is clicked.\n * @param $event\n * @param {WizardStepDirective} currentStep\n */\n private onWizardHeaderClick($event: Event, currentStep: WizardStepDirective) {\n // select the step if it's status is done\n if (currentStep.done) {\n // set all the next steps status as disabled and previous steps as done\n this.steps.forEach((step, index) => {\n if (index < this.getStepIndexByRef(currentStep)) {\n step.done = true;\n step.isDone = true;\n } else {\n step.disabled = true;\n step.isDone = false;\n }\n });\n // set the selected step as current step and make it active\n this.currentStep = currentStep;\n this.currentStep.active = true;\n this.addMoreText();\n }\n }\n\n // Method to navigate to next step\n public next(eventName: string = 'next') {\n const currentStep = this.currentStep;\n const currentStepIndex = this.getCurrentStepIndex();\n\n // abort if onSkip method returns false\n if (eventName === 'skip') {\n if (currentStep.invokeSkipCB(currentStepIndex) === false) {\n return;\n }\n this.extendNextFn(currentStep, currentStepIndex);\n } else if (this.currentStep.isValid && eventName === 'next') {\n if (currentStep.invokeNextCB(currentStepIndex) === false) {\n return;\n }\n this.extendNextFn(currentStep, currentStepIndex);\n } else if (this.enablenext && !this.currentStep.isValid){\n Array.from((<any>this).currentStep.getAllEmbeddedForms())?.forEach((form:any) => {\n form.widget.highlightInvalidFields();\n });\n }\n }\n\n extendNextFn(currentStep, currentStepIndex){\n let nextStep: WizardStepDirective;\n nextStep = this.getNextValidStepFormIndex(currentStepIndex + 1);\n nextStep.isInitialized = true;\n\n // If there are any steps which has show then only change state of current step else remain same\n if (nextStep) {\n currentStep.isDone = true;\n currentStep.done = true;\n nextStep.active = true;\n this.currentStep = nextStep;\n }\n this.addMoreText();\n }\n // Method to navigate to previous step\n public prev() {\n const currentStep = this.currentStep;\n const currentStepIndex = this.getCurrentStepIndex();\n\n let prevStep: WizardStepDirective;\n\n // abort if onPrev method returns false.\n if (currentStep.invokePrevCB(currentStepIndex) === false) {\n return;\n }\n\n prevStep = this.getPreviousValidStepFormIndex(currentStepIndex - 1);\n\n // If there are any steps which has show then only change state of current step else remain same\n if (prevStep) {\n currentStep.isDone = false;\n currentStep.disabled = true;\n prevStep.active = true;\n this.currentStep = prevStep;\n }\n this.addMoreText();\n }\n\n public skip() {\n this.next('skip');\n }\n\n public gotoStep(stepName: string) {\n if(stepName) {\n const gotoStepIndex = this.steps.toArray().map(step => step.name).indexOf(stepName);\n if(gotoStepIndex !== -1) {\n const gotoStep: WizardStepDirective = this.getStepRefByIndex(gotoStepIndex);\n if(gotoStep?.show) {\n this.onWizardHeaderClick(event, gotoStep);\n } else {\n console.error(\"The gotoStep function cannot navigate to hidden steps\");\n }\n } else {\n console.error(`Could not find step '${stepName}'`);\n }\n }\n }\n\n // Method to invoke on-Done event on wizard\n public done() {\n this.currentStep.isDone = true;\n this.invokeEventCallback('done', {steps: this.steps.toArray()});\n }\n // Method to invoke on-Cancel event on wizard\n public cancel () {\n this.invokeEventCallback('cancel', {steps: this.steps.toArray()});\n }\n public addMoreText(){\n setTimeout(() => {\n\n\n var newWindowWidth = $(window).width();\n if(newWindowWidth < 768){\n $(\".app-wizard-step.current .subtitle-wrapper .step-title\").css({\"height\":\"auto\",\"display\":\"block\"});\n var subtitleTextLength = $(\".app-wizard-step.current .subtitle-wrapper .step-title\").height();\n $(\".read_more\").css(\"display\",\"none\");\n $(\".current .subtitle-wrapper\").removeClass(\"readmore_subtitle\");\n\n if(subtitleTextLength>44){\n $(\".app-wizard-step.current .subtitle-wrapper .step-title\").css({\"height\":\"44px\",\"display\":\"-webkit-box\"});\n $(\".current .read_more\").css(\"display\",\"block\");\n $(\".active .read_more\").css(\"display\",\"none\");\n $(\".disable .read_more\").css(\"display\",\"none\");\n $(\".app-wizard-step>a\").css(\"height\",\"100px\")\n }\n }\n });\n\n }\n public readMoreSubtitle(){\n $(\".current .subtitle-wrapper\").addClass(\"readmore_subtitle\");\n $(\".current .read_more\").css(\"display\",\"none\");\n $(document).on(\"mouseup\",function(e:any)\n {\n var container = $(\".subtitle-wrapper\");\n // if the target of the click isn't the container nor a descendant of the container\n if (!container.is(e.target) && container.has(e.target).length === 0)\n {\n $(\".current .subtitle-wrapper\").removeClass(\"readmore_subtitle\");\n $(\".current .read_more\").css(\"display\",\"block\");\n $(document).off(\"mouseup\");\n }\n });\n }\n\n private isFirstStep(stepRef: WizardStepDirective) {\n return this.steps.first === stepRef;\n }\n\n private isLastStep(stepRef: WizardStepDirective) {\n return this.steps.last === stepRef;\n }\n\n\n // Define the property change handler. This Method will be triggered when there is a change in the widget property\n onPropertyChange(key: string, nv: any, ov?: any) {\n // Monitoring changes for properties and accordingly handling respective changes\n\n if (key === 'stepstyle') {\n this.stepClass = nv === 'justified' ? 'nav-justified' : '';\n } else if (key === 'defaultstep') {\n this.setDefaultStep(this.getStepRefByName(nv));\n } else if (key === 'actionsalignment') {\n this.nativeElement.querySelector('div.app-wizard-actions')?.classList.replace(ov, nv);\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n ngAfterContentInit() {\n super.ngAfterContentInit();\n this.promiseResolverFn();\n this.wizContext.hasNextStep = () => this.hasNextStep;\n this.wizContext.hasPreviousStep = () => this.hasPrevStep;\n this.wizContext.hasNoNextStep = () => this.showDoneBtn;\n this.wizContext.cancelable = () => this.cancelable;\n this.wizContext.skippable = () => this.currentStep?.enableskip;\n this.wizContext.next = () => this.next();\n this.wizContext.previous = () => this.prev();\n this.wizContext.done = () => this.done();\n this.wizContext.cancel = () => this.cancel();\n this.wizContext.skip = () => this.skip();\n this.wizContext.nextbtnlabel = () => this.nextbtnlabel;\n this.wizContext.previousbtnlabel = () => this.previousbtnlabel;\n this.wizContext.donebtnlabel = () => this.donebtnlabel;\n this.wizContext.cancelbtnlabel = () => this.cancelbtnlabel;\n this.wizContext.actionsalignment = () => this.actionsalignment;\n this.wizContext.disableNext = () => !this.enableNext;\n this.wizContext.disablePrevious = () => !this.enablePrev;\n this.wizContext.disableDone = () => !this.enableDone;\n }\n\n ngAfterViewInit() {\n super.ngAfterViewInit();\n styler(\n this.nativeElement.querySelector('.panel-body') as HTMLElement,\n this,\n APPLY_STYLES_TYPE.INNER_SHELL\n );\n setTimeout(() => { if($(window).width()<768) {\n $(\".app-wizard\").removeClass(\"vertical\");\n }\n this.nativeElement.querySelector('div.app-wizard-actions-right')?.classList.remove('app-container');\n this.nativeElement.querySelector('div.app-wizard-actions')?.classList.add(this.actionsalignment);\n });\n }\n}\n","import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-wizardaction',\n new Map([\n ['class', PROP_STRING],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}]\n ])\n );\n};\n","import {Directive, Inject, Injector, Optional} from '@angular/core';\nimport { BaseComponent, IWidgetConfig, provideAsWidgetRef } from '@wm/components/base';\nimport {registerProps} from \"./wizard-action.props\";\n\nconst WIDGET_INFO: IWidgetConfig = {\n widgetType: 'wm-wizardaction',\n hostClass: 'app-wizard-actions panel-footer '\n};\n\n@Directive({\n selector: 'div[wmWizardAction]',\n providers: [\n provideAsWidgetRef(WizardActionDirective)\n ],\n exportAs: 'wmWizardAction',\n})\nexport class WizardActionDirective extends BaseComponent {\n static initializeProps = registerProps();\n\n constructor(inj: Injector, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_INFO, explicitContext);\n }\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { WizardComponent } from './wizard.component';\nimport { WizardStepDirective } from './wizard-step/wizard-step.directive';\nimport { WizardActionDirective } from './wizard-action/wizard-action.directive';\n\nconst components = [\n WizardActionDirective,\n WizardStepDirective,\n WizardComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule,\n FormsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class WizardModule {\n}\n","/**\n * Generated bundle index. Do not ed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gBAAA,QAAQ,EAAE,gBAAgB;AAC7B,aAAA;;sBAI+B,MAAM;uBAAC,kBAAkB;;sBAAG;;;ACT5D,MAAM,UAAU,GAAG;IACf,qBAAqB;IACrB,mBAAmB;IACnB;CACH;MAWY,YAAY,CAAA;6GAAZ,YAAY,GAAA,CAAA,EAAA,CAAA;mEAAZ,YAAY,EAAA,CAAA,CAAA;uEAPjB,YAAY;YACZ,kBAAkB;YAClB,WAAW,CAAA,EAAA,CAAA,CAAA;;iFAKN,YAAY,EAAA,CAAA;cATxB,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACN,gBAAA,OAAO,EAAE;oBACL,YAAY;oBACZ,kBAAkB;oBAClB;AACH,iBAAA;AACD,gBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,gBAAA,OAAO,EAAE,CAAC,GAAG,UAAU;AAC1B,aAAA;;AACY,CAAA,YAAA,EAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,YAAY,mBAdrB,qBAAqB;QACrB,mBAAmB;AACnB,QAAA,eAAe,aAKX,YAAY;QACZ,kBAAkB;AAClB,QAAA,WAAW,aATf,qBAAqB;QACrB,mBAAmB;QACnB,eAAe,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACbnB;;AAEG;;;;"}
|
|
@@ -55,60 +55,60 @@
|
|
|
55
55
|
const _c1$1 = ["wmCard", ""];
|
|
56
56
|
const _c2$1 = ["*", "*", "*"];
|
|
57
57
|
const _c3 = a0 => ({ "max-height": a0 });
|
|
58
|
-
function
|
|
59
|
-
i0__namespace.ɵɵelement(0, "i",
|
|
58
|
+
function CardComponent_Conditional_0_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
59
|
+
i0__namespace.ɵɵelement(0, "i", 8);
|
|
60
60
|
} if (rf & 2) {
|
|
61
61
|
const ctx_r0 = i0__namespace.ɵɵnextContext(3);
|
|
62
62
|
i0__namespace.ɵɵproperty("ngClass", ctx_r0.iconclass);
|
|
63
63
|
} }
|
|
64
|
-
function
|
|
65
|
-
i0__namespace.ɵɵelement(0, "img",
|
|
64
|
+
function CardComponent_Conditional_0_Conditional_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
+
i0__namespace.ɵɵelement(0, "img", 9);
|
|
66
66
|
} if (rf & 2) {
|
|
67
67
|
const ctx_r0 = i0__namespace.ɵɵnextContext(3);
|
|
68
68
|
i0__namespace.ɵɵproperty("src", ctx_r0.iconurl, i0__namespace.ɵɵsanitizeUrl);
|
|
69
69
|
} }
|
|
70
|
-
function
|
|
71
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
72
|
-
i0__namespace.ɵɵtemplate(1,
|
|
70
|
+
function CardComponent_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
71
|
+
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
72
|
+
i0__namespace.ɵɵtemplate(1, CardComponent_Conditional_0_Conditional_1_Conditional_1_Template, 1, 1, "i", 8)(2, CardComponent_Conditional_0_Conditional_1_Conditional_2_Template, 1, 1, "img", 9);
|
|
73
73
|
i0__namespace.ɵɵelementEnd();
|
|
74
74
|
} if (rf & 2) {
|
|
75
75
|
const ctx_r0 = i0__namespace.ɵɵnextContext(2);
|
|
76
76
|
i0__namespace.ɵɵadvance();
|
|
77
|
-
i0__namespace.ɵɵ
|
|
77
|
+
i0__namespace.ɵɵconditional(ctx_r0.iconclass && !ctx_r0.iconurl ? 1 : -1);
|
|
78
78
|
i0__namespace.ɵɵadvance();
|
|
79
|
-
i0__namespace.ɵɵ
|
|
79
|
+
i0__namespace.ɵɵconditional(ctx_r0.iconurl ? 2 : -1);
|
|
80
80
|
} }
|
|
81
|
-
function
|
|
82
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
83
|
-
i0__namespace.ɵɵelement(1, "div",
|
|
81
|
+
function CardComponent_Conditional_0_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
82
|
+
i0__namespace.ɵɵelementStart(0, "div", 7);
|
|
83
|
+
i0__namespace.ɵɵelement(1, "div", 10);
|
|
84
84
|
i0__namespace.ɵɵelementEnd();
|
|
85
85
|
} if (rf & 2) {
|
|
86
86
|
const ctx_r0 = i0__namespace.ɵɵnextContext(2);
|
|
87
87
|
i0__namespace.ɵɵadvance();
|
|
88
88
|
i0__namespace.ɵɵproperty("autoClose", ctx_r0.autoclose !== "disabled");
|
|
89
89
|
} }
|
|
90
|
-
function
|
|
91
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
92
|
-
i0__namespace.ɵɵtemplate(1,
|
|
93
|
-
i0__namespace.ɵɵelementStart(2, "div",
|
|
94
|
-
i0__namespace.ɵɵelement(3, "h4",
|
|
90
|
+
function CardComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
91
|
+
i0__namespace.ɵɵelementStart(0, "div", 1);
|
|
92
|
+
i0__namespace.ɵɵtemplate(1, CardComponent_Conditional_0_Conditional_1_Template, 3, 2, "div", 3);
|
|
93
|
+
i0__namespace.ɵɵelementStart(2, "div", 4);
|
|
94
|
+
i0__namespace.ɵɵelement(3, "h4", 5)(4, "h5", 6);
|
|
95
95
|
i0__namespace.ɵɵelementEnd();
|
|
96
|
-
i0__namespace.ɵɵtemplate(5,
|
|
96
|
+
i0__namespace.ɵɵtemplate(5, CardComponent_Conditional_0_Conditional_5_Template, 2, 1, "div", 7);
|
|
97
97
|
i0__namespace.ɵɵelementEnd();
|
|
98
98
|
} if (rf & 2) {
|
|
99
99
|
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
100
100
|
i0__namespace.ɵɵadvance();
|
|
101
|
-
i0__namespace.ɵɵ
|
|
101
|
+
i0__namespace.ɵɵconditional(ctx_r0.iconclass || ctx_r0.iconurl ? 1 : -1);
|
|
102
102
|
i0__namespace.ɵɵadvance(2);
|
|
103
103
|
i0__namespace.ɵɵproperty("textContent", ctx_r0.title);
|
|
104
104
|
i0__namespace.ɵɵadvance();
|
|
105
105
|
i0__namespace.ɵɵproperty("textContent", ctx_r0.subheading);
|
|
106
106
|
i0__namespace.ɵɵadvance();
|
|
107
|
-
i0__namespace.ɵɵ
|
|
107
|
+
i0__namespace.ɵɵconditional(ctx_r0.actions ? 5 : -1);
|
|
108
108
|
} }
|
|
109
|
-
function
|
|
110
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
111
|
-
i0__namespace.ɵɵelement(1, "img",
|
|
109
|
+
function CardComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
110
|
+
i0__namespace.ɵɵelementStart(0, "div", 2);
|
|
111
|
+
i0__namespace.ɵɵelement(1, "img", 11);
|
|
112
112
|
i0__namespace.ɵɵelementEnd();
|
|
113
113
|
} if (rf & 2) {
|
|
114
114
|
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
@@ -155,9 +155,9 @@
|
|
|
155
155
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.cardContainerElRef = _t.first);
|
|
156
156
|
} }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
157
157
|
i5.provideAsWidgetRef(CardComponent)
|
|
158
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$1, ngContentSelectors: _c2$1, decls: 9, vars: 2, consts: [["cardContainerWrapper", ""], [
|
|
158
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$1, ngContentSelectors: _c2$1, decls: 9, vars: 2, consts: [["cardContainerWrapper", ""], [1, "app-card-header", "panel-heading"], [1, "app-card-image", 3, "ngStyle"], [1, "app-card-avatar"], [1, "app-card-header-text"], [1, "card-heading", 3, "textContent"], [1, "card-subheading", "text-muted", 3, "textContent"], [1, "panel-actions"], [1, "app-icon", 3, "ngClass"], [1, "img-circle", 3, "src"], ["wmMenu", "", "dropdown", "", "type", "anchor", "iconclass", "wm-sl-l sl-more-menu-vertical", "menuposition", "down,left", "hint", "Actions", "caption", "", "dataset.bind", "actions", 1, "panel-action", 3, "autoClose"], ["wmPicture", "", "picturesource.bind", "picturesource", "hint.bind", "picturetitle", 1, "card-image"]], template: function CardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
159
159
|
i0__namespace.ɵɵprojectionDef(_c2$1);
|
|
160
|
-
i0__namespace.ɵɵtemplate(0,
|
|
160
|
+
i0__namespace.ɵɵtemplate(0, CardComponent_Conditional_0_Template, 6, 4, "div", 1)(1, CardComponent_Conditional_1_Template, 2, 3, "div", 2);
|
|
161
161
|
i0__namespace.ɵɵelementStart(2, "div", null, 0);
|
|
162
162
|
i0__namespace.ɵɵprojection(4, 0, ["ngProjectAs", "[wmCardContent]", 5, ["", "wmCardContent", ""]]);
|
|
163
163
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -168,16 +168,16 @@
|
|
|
168
168
|
i0__namespace.ɵɵprojection(8, 2, ["ngProjectAs", "[wmCardFooter]", 5, ["", "wmCardFooter", ""]]);
|
|
169
169
|
i0__namespace.ɵɵelementEnd();
|
|
170
170
|
} if (rf & 2) {
|
|
171
|
-
i0__namespace.ɵɵ
|
|
171
|
+
i0__namespace.ɵɵconditional(ctx.showHeader ? 0 : -1);
|
|
172
172
|
i0__namespace.ɵɵadvance();
|
|
173
|
-
i0__namespace.ɵɵ
|
|
174
|
-
} }, dependencies: [i1__namespace.PictureDirective, i2__namespace.BsDropdownDirective, i3__namespace.NgClass, i3__namespace.
|
|
173
|
+
i0__namespace.ɵɵconditional(ctx.picturesource ? 1 : -1);
|
|
174
|
+
} }, dependencies: [i1__namespace.PictureDirective, i2__namespace.BsDropdownDirective, i3__namespace.NgClass, i3__namespace.NgStyle, i4__namespace.MenuComponent, i5__namespace.TextContentDirective], encapsulation: 2 }); }
|
|
175
175
|
}
|
|
176
176
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CardComponent, [{
|
|
177
177
|
type: i0.Component,
|
|
178
178
|
args: [{ selector: '[wmCard]', providers: [
|
|
179
179
|
i5.provideAsWidgetRef(CardComponent)
|
|
180
|
-
], template: "<div class=\"app-card-header panel-heading\"
|
|
180
|
+
], template: "@if (showHeader) {\n <div class=\"app-card-header panel-heading\">\n @if (iconclass || iconurl) {\n <div class=\"app-card-avatar\">\n @if (iconclass && !iconurl) {\n <i class=\"app-icon\" [ngClass]=\"iconclass\"></i>\n }\n @if (iconurl) {\n <img class=\"img-circle\" [src]=\"iconurl\" />\n }\n </div>\n }\n <div class=\"app-card-header-text\">\n <h4 class=\"card-heading\" [textContent]=\"title\"></h4>\n <h5 class=\"card-subheading text-muted\" [textContent]=\"subheading\"></h5>\n </div>\n @if (actions) {\n <div class=\"panel-actions\">\n <!-- TODO(punith) need to bind autoclose-->\n <div wmMenu dropdown\n [autoClose]=\"autoclose !== 'disabled'\"\n class=\"panel-action\"\n type=\"anchor\"\n iconclass=\"wm-sl-l sl-more-menu-vertical\"\n menuposition=\"down,left\"\n hint=\"Actions\"\n caption=\"\"\n dataset.bind=\"actions\">\n </div>\n </div>\n }\n </div>\n}\n@if (picturesource) {\n <div class=\"app-card-image\" [ngStyle]=\"{'max-height':imageheight}\">\n <img wmPicture class=\"card-image\" picturesource.bind=\"picturesource\" hint.bind=\"picturetitle\" />\n </div>\n}\n<div #cardContainerWrapper>\n <ng-content ngProjectAs=\"[wmCardContent]\"></ng-content>\n</div>\n<div>\n <ng-content ngProjectAs=\"[wmCardActions]\"></ng-content>\n</div>\n<div>\n <ng-content ngProjectAs=\"[wmCardFooter]\"></ng-content>\n</div>\n" }]
|
|
181
181
|
}], () => [{ type: i0__namespace.Injector }, { type: i0__namespace.Renderer2 }, { type: undefined, decorators: [{
|
|
182
182
|
type: i0.Inject,
|
|
183
183
|
args: ['EXPLICIT_CONTEXT']
|