@wavemaker/app-ng-runtime 11.7.5-next.43552 → 11.7.5-next.NULL
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.
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +1 -1
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/bundles/index.umd.js +2 -2
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +3 -3
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +4 -5
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +5 -5
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.props.mjs +1 -2
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +4 -5
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +4 -5
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +5 -5
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.props.mjs +1 -2
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +4 -5
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +30 -163
- app-ng-runtime/components/dialogs/default/dialog-header/dialog-header.component.d.ts +1 -2
- app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +31 -164
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +30 -163
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +4 -5
- app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +5 -5
- app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.props.mjs +1 -2
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +4 -5
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +4 -5
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +5 -5
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.props.mjs +1 -2
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +4 -5
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +4 -5
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +5 -5
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.props.mjs +1 -2
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +4 -5
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +4 -4
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +3 -3
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +3 -3
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +4 -4
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +2 -2
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +3 -3
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +1 -0
- app-ng-runtime/core/esm2022/utils/expression-parser.mjs +2 -1
- app-ng-runtime/core/fesm2022/index.mjs +1 -0
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +1 -1
|
@@ -287,152 +287,32 @@
|
|
|
287
287
|
|
|
288
288
|
const _c0 = ["wmDialogHeader", ""];
|
|
289
289
|
function DialogHeaderComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
290
|
-
const
|
|
291
|
-
i0__namespace.ɵɵelementStart(0, "button",
|
|
292
|
-
i0__namespace.ɵɵlistener("click", function DialogHeaderComponent_button_0_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(
|
|
293
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
290
|
+
const _r5 = i0__namespace.ɵɵgetCurrentView();
|
|
291
|
+
i0__namespace.ɵɵelementStart(0, "button", 6);
|
|
292
|
+
i0__namespace.ɵɵlistener("click", function DialogHeaderComponent_button_0_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r5); const ctx_r4 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r4.closeDialog()); });
|
|
293
|
+
i0__namespace.ɵɵelementStart(1, "span", 7);
|
|
294
294
|
i0__namespace.ɵɵtext(2, "\u00D7");
|
|
295
295
|
i0__namespace.ɵɵelementEnd()();
|
|
296
296
|
} }
|
|
297
|
-
function DialogHeaderComponent_ng_container_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
298
|
-
i0__namespace.ɵɵelementContainer(0);
|
|
299
|
-
} }
|
|
300
|
-
function DialogHeaderComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
301
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
302
|
-
i0__namespace.ɵɵelementStart(1, "h1", 7);
|
|
303
|
-
i0__namespace.ɵɵtemplate(2, DialogHeaderComponent_ng_container_2_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
304
|
-
i0__namespace.ɵɵelementEnd();
|
|
305
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
306
|
-
} if (rf & 2) {
|
|
307
|
-
i0__namespace.ɵɵnextContext();
|
|
308
|
-
const _r8 = i0__namespace.ɵɵreference(10);
|
|
309
|
-
i0__namespace.ɵɵadvance(2);
|
|
310
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r8);
|
|
311
|
-
} }
|
|
312
|
-
function DialogHeaderComponent_ng_container_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
313
|
-
i0__namespace.ɵɵelementContainer(0);
|
|
314
|
-
} }
|
|
315
|
-
function DialogHeaderComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
316
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
317
|
-
i0__namespace.ɵɵelementStart(1, "h2", 7);
|
|
318
|
-
i0__namespace.ɵɵtemplate(2, DialogHeaderComponent_ng_container_3_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
319
|
-
i0__namespace.ɵɵelementEnd();
|
|
320
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
321
|
-
} if (rf & 2) {
|
|
322
|
-
i0__namespace.ɵɵnextContext();
|
|
323
|
-
const _r8 = i0__namespace.ɵɵreference(10);
|
|
324
|
-
i0__namespace.ɵɵadvance(2);
|
|
325
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r8);
|
|
326
|
-
} }
|
|
327
|
-
function DialogHeaderComponent_ng_container_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
328
|
-
i0__namespace.ɵɵelementContainer(0);
|
|
329
|
-
} }
|
|
330
|
-
function DialogHeaderComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
331
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
332
|
-
i0__namespace.ɵɵelementStart(1, "h3", 7);
|
|
333
|
-
i0__namespace.ɵɵtemplate(2, DialogHeaderComponent_ng_container_4_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
334
|
-
i0__namespace.ɵɵelementEnd();
|
|
335
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
336
|
-
} if (rf & 2) {
|
|
337
|
-
i0__namespace.ɵɵnextContext();
|
|
338
|
-
const _r8 = i0__namespace.ɵɵreference(10);
|
|
339
|
-
i0__namespace.ɵɵadvance(2);
|
|
340
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r8);
|
|
341
|
-
} }
|
|
342
|
-
function DialogHeaderComponent_ng_container_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
343
|
-
i0__namespace.ɵɵelementContainer(0);
|
|
344
|
-
} }
|
|
345
|
-
function DialogHeaderComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
346
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
347
|
-
i0__namespace.ɵɵelementStart(1, "h4", 7);
|
|
348
|
-
i0__namespace.ɵɵtemplate(2, DialogHeaderComponent_ng_container_5_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
349
|
-
i0__namespace.ɵɵelementEnd();
|
|
350
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
351
|
-
} if (rf & 2) {
|
|
352
|
-
i0__namespace.ɵɵnextContext();
|
|
353
|
-
const _r8 = i0__namespace.ɵɵreference(10);
|
|
354
|
-
i0__namespace.ɵɵadvance(2);
|
|
355
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r8);
|
|
356
|
-
} }
|
|
357
|
-
function DialogHeaderComponent_ng_container_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
358
|
-
i0__namespace.ɵɵelementContainer(0);
|
|
359
|
-
} }
|
|
360
|
-
function DialogHeaderComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
361
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
362
|
-
i0__namespace.ɵɵelementStart(1, "h5", 7);
|
|
363
|
-
i0__namespace.ɵɵtemplate(2, DialogHeaderComponent_ng_container_6_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
364
|
-
i0__namespace.ɵɵelementEnd();
|
|
365
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
366
|
-
} if (rf & 2) {
|
|
367
|
-
i0__namespace.ɵɵnextContext();
|
|
368
|
-
const _r8 = i0__namespace.ɵɵreference(10);
|
|
369
|
-
i0__namespace.ɵɵadvance(2);
|
|
370
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r8);
|
|
371
|
-
} }
|
|
372
|
-
function DialogHeaderComponent_ng_container_7_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
373
|
-
i0__namespace.ɵɵelementContainer(0);
|
|
374
|
-
} }
|
|
375
|
-
function DialogHeaderComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
376
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
377
|
-
i0__namespace.ɵɵelementStart(1, "h6", 7);
|
|
378
|
-
i0__namespace.ɵɵtemplate(2, DialogHeaderComponent_ng_container_7_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
379
|
-
i0__namespace.ɵɵelementEnd();
|
|
380
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
381
|
-
} if (rf & 2) {
|
|
382
|
-
i0__namespace.ɵɵnextContext();
|
|
383
|
-
const _r8 = i0__namespace.ɵɵreference(10);
|
|
384
|
-
i0__namespace.ɵɵadvance(2);
|
|
385
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r8);
|
|
386
|
-
} }
|
|
387
|
-
function DialogHeaderComponent_ng_container_8_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
388
|
-
i0__namespace.ɵɵelementContainer(0);
|
|
389
|
-
} }
|
|
390
|
-
function DialogHeaderComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
391
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
392
|
-
i0__namespace.ɵɵelementStart(1, "h4", 7);
|
|
393
|
-
i0__namespace.ɵɵtemplate(2, DialogHeaderComponent_ng_container_8_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
394
|
-
i0__namespace.ɵɵelementEnd();
|
|
395
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
396
|
-
} if (rf & 2) {
|
|
397
|
-
i0__namespace.ɵɵnextContext();
|
|
398
|
-
const _r8 = i0__namespace.ɵɵreference(10);
|
|
399
|
-
i0__namespace.ɵɵadvance(2);
|
|
400
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r8);
|
|
401
|
-
} }
|
|
402
297
|
const _c1 = function (a0, a1, a2) { return { width: a0, height: a1, margin: a2 }; };
|
|
403
|
-
function
|
|
404
|
-
i0__namespace.ɵɵelement(0, "i",
|
|
298
|
+
function DialogHeaderComponent_i_2_Template(rf, ctx) { if (rf & 1) {
|
|
299
|
+
i0__namespace.ɵɵelement(0, "i", 8);
|
|
405
300
|
} if (rf & 2) {
|
|
406
|
-
const
|
|
407
|
-
i0__namespace.ɵɵproperty("ngClass",
|
|
301
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
302
|
+
i0__namespace.ɵɵproperty("ngClass", ctx_r1.iconclass)("ngStyle", i0__namespace.ɵɵpureFunction3(2, _c1, ctx_r1.iconwidth, ctx_r1.iconheight, ctx_r1.iconmargin));
|
|
408
303
|
} }
|
|
409
|
-
function
|
|
410
|
-
i0__namespace.ɵɵelement(0, "img",
|
|
304
|
+
function DialogHeaderComponent_img_3_Template(rf, ctx) { if (rf & 1) {
|
|
305
|
+
i0__namespace.ɵɵelement(0, "img", 9);
|
|
411
306
|
i0__namespace.ɵɵpipe(1, "image");
|
|
412
307
|
} if (rf & 2) {
|
|
413
|
-
const
|
|
414
|
-
i0__namespace.ɵɵproperty("src", i0__namespace.ɵɵpipeBind1(1, 2,
|
|
308
|
+
const ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
309
|
+
i0__namespace.ɵɵproperty("src", i0__namespace.ɵɵpipeBind1(1, 2, ctx_r2.iconurl), i0__namespace.ɵɵsanitizeUrl)("ngStyle", i0__namespace.ɵɵpureFunction3(4, _c1, ctx_r2.iconwidth, ctx_r2.iconheight, ctx_r2.iconmargin));
|
|
415
310
|
} }
|
|
416
|
-
function
|
|
417
|
-
i0__namespace.ɵɵelement(0, "span",
|
|
311
|
+
function DialogHeaderComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
312
|
+
i0__namespace.ɵɵelement(0, "span", 10);
|
|
418
313
|
} if (rf & 2) {
|
|
419
|
-
const
|
|
420
|
-
i0__namespace.ɵɵproperty("title",
|
|
421
|
-
} }
|
|
422
|
-
function DialogHeaderComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
423
|
-
i0__namespace.ɵɵtemplate(0, DialogHeaderComponent_ng_template_9_i_0_Template, 1, 6, "i", 9);
|
|
424
|
-
i0__namespace.ɵɵtemplate(1, DialogHeaderComponent_ng_template_9_img_1_Template, 2, 8, "img", 10);
|
|
425
|
-
i0__namespace.ɵɵelement(2, "span", 11);
|
|
426
|
-
i0__namespace.ɵɵtemplate(3, DialogHeaderComponent_ng_template_9_span_3_Template, 1, 2, "span", 12);
|
|
427
|
-
} if (rf & 2) {
|
|
428
|
-
const ctx_r9 = i0__namespace.ɵɵnextContext();
|
|
429
|
-
i0__namespace.ɵɵproperty("ngIf", ctx_r9.iconclass && !ctx_r9.iconurl);
|
|
430
|
-
i0__namespace.ɵɵadvance(1);
|
|
431
|
-
i0__namespace.ɵɵproperty("ngIf", ctx_r9.iconurl);
|
|
432
|
-
i0__namespace.ɵɵadvance(1);
|
|
433
|
-
i0__namespace.ɵɵproperty("textContent", ctx_r9.heading)("id", ctx_r9.titleid);
|
|
434
|
-
i0__namespace.ɵɵadvance(1);
|
|
435
|
-
i0__namespace.ɵɵproperty("ngIf", ctx_r9.subheading);
|
|
314
|
+
const ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
315
|
+
i0__namespace.ɵɵproperty("title", ctx_r3.subheading)("textContent", ctx_r3.subheading);
|
|
436
316
|
} }
|
|
437
317
|
const DEFAULT_CLS = 'app-dialog-header modal-header';
|
|
438
318
|
const DEFAULT_ICON_DIMENSIONS = '21px';
|
|
@@ -445,46 +325,35 @@
|
|
|
445
325
|
this.iconwidth = DEFAULT_ICON_DIMENSIONS;
|
|
446
326
|
this.iconheight = DEFAULT_ICON_DIMENSIONS;
|
|
447
327
|
this.closable = true;
|
|
448
|
-
this.headinglevel = 'h4';
|
|
449
328
|
core.addClass(elRef.nativeElement, DEFAULT_CLS);
|
|
450
329
|
}
|
|
451
330
|
closeDialog() {
|
|
452
331
|
this.dialogRef.close();
|
|
453
332
|
}
|
|
454
333
|
static { this.ɵfac = function DialogHeaderComponent_Factory(t) { return new (t || DialogHeaderComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i2.DialogRef)); }; }
|
|
455
|
-
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: DialogHeaderComponent, selectors: [["div", "wmDialogHeader", ""]], inputs: { iconwidth: "iconwidth", iconheight: "iconheight", iconmargin: "iconmargin", iconclass: "iconclass", iconurl: "iconurl", closable: "closable", heading: "heading",
|
|
334
|
+
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: DialogHeaderComponent, selectors: [["div", "wmDialogHeader", ""]], inputs: { iconwidth: "iconwidth", iconheight: "iconheight", iconmargin: "iconmargin", iconclass: "iconclass", iconurl: "iconurl", closable: "closable", heading: "heading", subheading: "subheading", titleid: "titleid" }, attrs: _c0, decls: 6, vars: 6, consts: [["aria-label", "Close", "class", "app-dialog-close close", "title", "Close", 3, "click", 4, "ngIf"], [1, "app-dialog-title", "modal-title"], [3, "ngClass", "ngStyle", 4, "ngIf"], ["data-identifier", "img", 3, "src", "ngStyle", 4, "ngIf"], [1, "dialog-heading", 3, "textContent", "id"], ["class", "dialog-sub-heading", 3, "title", "textContent", 4, "ngIf"], ["aria-label", "Close", "title", "Close", 1, "app-dialog-close", "close", 3, "click"], ["aria-hidden", "true"], [3, "ngClass", "ngStyle"], ["data-identifier", "img", 3, "src", "ngStyle"], [1, "dialog-sub-heading", 3, "title", "textContent"]], template: function DialogHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
456
335
|
i0__namespace.ɵɵtemplate(0, DialogHeaderComponent_button_0_Template, 3, 0, "button", 0);
|
|
457
|
-
i0__namespace.ɵɵ
|
|
458
|
-
i0__namespace.ɵɵtemplate(2,
|
|
459
|
-
i0__namespace.ɵɵtemplate(3,
|
|
460
|
-
i0__namespace.ɵɵ
|
|
461
|
-
i0__namespace.ɵɵtemplate(5,
|
|
462
|
-
i0__namespace.ɵɵ
|
|
463
|
-
i0__namespace.ɵɵtemplate(7, DialogHeaderComponent_ng_container_7_Template, 3, 1, "ng-container", 2);
|
|
464
|
-
i0__namespace.ɵɵtemplate(8, DialogHeaderComponent_ng_container_8_Template, 3, 1, "ng-container", 3);
|
|
465
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
466
|
-
i0__namespace.ɵɵtemplate(9, DialogHeaderComponent_ng_template_9_Template, 4, 5, "ng-template", null, 4, i0__namespace.ɵɵtemplateRefExtractor);
|
|
336
|
+
i0__namespace.ɵɵelementStart(1, "h4", 1);
|
|
337
|
+
i0__namespace.ɵɵtemplate(2, DialogHeaderComponent_i_2_Template, 1, 6, "i", 2);
|
|
338
|
+
i0__namespace.ɵɵtemplate(3, DialogHeaderComponent_img_3_Template, 2, 8, "img", 3);
|
|
339
|
+
i0__namespace.ɵɵelement(4, "span", 4);
|
|
340
|
+
i0__namespace.ɵɵtemplate(5, DialogHeaderComponent_span_5_Template, 1, 2, "span", 5);
|
|
341
|
+
i0__namespace.ɵɵelementEnd();
|
|
467
342
|
} if (rf & 2) {
|
|
468
343
|
i0__namespace.ɵɵproperty("ngIf", ctx.isClosable);
|
|
344
|
+
i0__namespace.ɵɵadvance(2);
|
|
345
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.iconclass && !ctx.iconurl);
|
|
469
346
|
i0__namespace.ɵɵadvance(1);
|
|
470
|
-
i0__namespace.ɵɵproperty("
|
|
471
|
-
i0__namespace.ɵɵadvance(1);
|
|
472
|
-
i0__namespace.ɵɵproperty("ngSwitchCase", "h1");
|
|
473
|
-
i0__namespace.ɵɵadvance(1);
|
|
474
|
-
i0__namespace.ɵɵproperty("ngSwitchCase", "h2");
|
|
347
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.iconurl);
|
|
475
348
|
i0__namespace.ɵɵadvance(1);
|
|
476
|
-
i0__namespace.ɵɵproperty("
|
|
349
|
+
i0__namespace.ɵɵproperty("textContent", ctx.heading)("id", ctx.titleid);
|
|
477
350
|
i0__namespace.ɵɵadvance(1);
|
|
478
|
-
i0__namespace.ɵɵproperty("
|
|
479
|
-
|
|
480
|
-
i0__namespace.ɵɵproperty("ngSwitchCase", "h5");
|
|
481
|
-
i0__namespace.ɵɵadvance(1);
|
|
482
|
-
i0__namespace.ɵɵproperty("ngSwitchCase", "h6");
|
|
483
|
-
} }, dependencies: [i1$1__namespace.NgClass, i1$1__namespace.NgIf, i1$1__namespace.NgTemplateOutlet, i1$1__namespace.NgStyle, i1$1__namespace.NgSwitch, i1$1__namespace.NgSwitchCase, i1$1__namespace.NgSwitchDefault, i2__namespace.TextContentDirective, i2__namespace.ImagePipe], encapsulation: 2 }); }
|
|
351
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.subheading);
|
|
352
|
+
} }, dependencies: [i1$1__namespace.NgClass, i1$1__namespace.NgIf, i1$1__namespace.NgStyle, i2__namespace.TextContentDirective, i2__namespace.ImagePipe], encapsulation: 2 }); }
|
|
484
353
|
}
|
|
485
354
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DialogHeaderComponent, [{
|
|
486
355
|
type: i0.Component,
|
|
487
|
-
args: [{ selector: 'div[wmDialogHeader]', template: "<button *ngIf=\"isClosable\" aria-label=\"Close\" class=\"app-dialog-close close\" (click)=\"closeDialog();\" title=\"Close\">\n <span aria-hidden=\"true\">×</span>\n</button>\n
|
|
356
|
+
args: [{ selector: 'div[wmDialogHeader]', template: "<button *ngIf=\"isClosable\" aria-label=\"Close\" class=\"app-dialog-close close\" (click)=\"closeDialog();\" title=\"Close\">\n <span aria-hidden=\"true\">×</span>\n</button>\n<h4 class=\"app-dialog-title modal-title\">\n <i [ngClass]=\"iconclass\" [ngStyle]=\"{width: iconwidth, height: iconheight, margin: iconmargin}\" *ngIf=\"iconclass && !iconurl\"></i>\n <img data-identifier=\"img\" [src]=\"iconurl | image\" *ngIf=\"iconurl\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin}\"/>\n <span class=\"dialog-heading\" [textContent]=\"heading\" [id]=\"titleid\"></span>\n <span class=\"dialog-sub-heading\" *ngIf=\"subheading\" [title]=\"subheading\" [textContent]=\"subheading\"></span>\n</h4>\n" }]
|
|
488
357
|
}], function () { return [{ type: i0__namespace.ElementRef }, { type: BaseDialog, decorators: [{
|
|
489
358
|
type: i0.Inject,
|
|
490
359
|
args: [i2.DialogRef]
|
|
@@ -502,8 +371,6 @@
|
|
|
502
371
|
type: i0.Input
|
|
503
372
|
}], heading: [{
|
|
504
373
|
type: i0.Input
|
|
505
|
-
}], headinglevel: [{
|
|
506
|
-
type: i0.Input
|
|
507
374
|
}], subheading: [{
|
|
508
375
|
type: i0.Input
|
|
509
376
|
}], titleid: [{
|
|
@@ -10,12 +10,11 @@ export declare class DialogHeaderComponent {
|
|
|
10
10
|
iconurl: string;
|
|
11
11
|
closable: boolean;
|
|
12
12
|
heading: string;
|
|
13
|
-
headinglevel?: string;
|
|
14
13
|
subheading: string;
|
|
15
14
|
titleid: string;
|
|
16
15
|
get isClosable(): boolean;
|
|
17
16
|
constructor(elRef: ElementRef, dialogRef: BaseDialog);
|
|
18
17
|
closeDialog(): void;
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogHeaderComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogHeaderComponent, "div[wmDialogHeader]", never, { "iconwidth": { "alias": "iconwidth"; "required": false; }; "iconheight": { "alias": "iconheight"; "required": false; }; "iconmargin": { "alias": "iconmargin"; "required": false; }; "iconclass": { "alias": "iconclass"; "required": false; }; "iconurl": { "alias": "iconurl"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogHeaderComponent, "div[wmDialogHeader]", never, { "iconwidth": { "alias": "iconwidth"; "required": false; }; "iconheight": { "alias": "iconheight"; "required": false; }; "iconmargin": { "alias": "iconmargin"; "required": false; }; "iconclass": { "alias": "iconclass"; "required": false; }; "iconurl": { "alias": "iconurl"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "subheading": { "alias": "subheading"; "required": false; }; "titleid": { "alias": "titleid"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
20
|
}
|
|
@@ -8,152 +8,32 @@ import * as i2 from "@wm/components/base";
|
|
|
8
8
|
import * as i3 from "../base-dialog";
|
|
9
9
|
const _c0 = ["wmDialogHeader", ""];
|
|
10
10
|
function DialogHeaderComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
-
const
|
|
12
|
-
i0.ɵɵelementStart(0, "button",
|
|
13
|
-
i0.ɵɵlistener("click", function DialogHeaderComponent_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
14
|
-
i0.ɵɵelementStart(1, "span",
|
|
11
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
12
|
+
i0.ɵɵelementStart(0, "button", 6);
|
|
13
|
+
i0.ɵɵlistener("click", function DialogHeaderComponent_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.closeDialog()); });
|
|
14
|
+
i0.ɵɵelementStart(1, "span", 7);
|
|
15
15
|
i0.ɵɵtext(2, "\u00D7");
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} }
|
|
18
|
-
function DialogHeaderComponent_ng_container_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
-
i0.ɵɵelementContainer(0);
|
|
20
|
-
} }
|
|
21
|
-
function DialogHeaderComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
22
|
-
i0.ɵɵelementContainerStart(0);
|
|
23
|
-
i0.ɵɵelementStart(1, "h1", 7);
|
|
24
|
-
i0.ɵɵtemplate(2, DialogHeaderComponent_ng_container_2_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
25
|
-
i0.ɵɵelementEnd();
|
|
26
|
-
i0.ɵɵelementContainerEnd();
|
|
27
|
-
} if (rf & 2) {
|
|
28
|
-
i0.ɵɵnextContext();
|
|
29
|
-
const _r8 = i0.ɵɵreference(10);
|
|
30
|
-
i0.ɵɵadvance(2);
|
|
31
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r8);
|
|
32
|
-
} }
|
|
33
|
-
function DialogHeaderComponent_ng_container_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
34
|
-
i0.ɵɵelementContainer(0);
|
|
35
|
-
} }
|
|
36
|
-
function DialogHeaderComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
-
i0.ɵɵelementContainerStart(0);
|
|
38
|
-
i0.ɵɵelementStart(1, "h2", 7);
|
|
39
|
-
i0.ɵɵtemplate(2, DialogHeaderComponent_ng_container_3_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
40
|
-
i0.ɵɵelementEnd();
|
|
41
|
-
i0.ɵɵelementContainerEnd();
|
|
42
|
-
} if (rf & 2) {
|
|
43
|
-
i0.ɵɵnextContext();
|
|
44
|
-
const _r8 = i0.ɵɵreference(10);
|
|
45
|
-
i0.ɵɵadvance(2);
|
|
46
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r8);
|
|
47
|
-
} }
|
|
48
|
-
function DialogHeaderComponent_ng_container_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
49
|
-
i0.ɵɵelementContainer(0);
|
|
50
|
-
} }
|
|
51
|
-
function DialogHeaderComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
-
i0.ɵɵelementContainerStart(0);
|
|
53
|
-
i0.ɵɵelementStart(1, "h3", 7);
|
|
54
|
-
i0.ɵɵtemplate(2, DialogHeaderComponent_ng_container_4_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
55
|
-
i0.ɵɵelementEnd();
|
|
56
|
-
i0.ɵɵelementContainerEnd();
|
|
57
|
-
} if (rf & 2) {
|
|
58
|
-
i0.ɵɵnextContext();
|
|
59
|
-
const _r8 = i0.ɵɵreference(10);
|
|
60
|
-
i0.ɵɵadvance(2);
|
|
61
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r8);
|
|
62
|
-
} }
|
|
63
|
-
function DialogHeaderComponent_ng_container_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
64
|
-
i0.ɵɵelementContainer(0);
|
|
65
|
-
} }
|
|
66
|
-
function DialogHeaderComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
67
|
-
i0.ɵɵelementContainerStart(0);
|
|
68
|
-
i0.ɵɵelementStart(1, "h4", 7);
|
|
69
|
-
i0.ɵɵtemplate(2, DialogHeaderComponent_ng_container_5_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
70
|
-
i0.ɵɵelementEnd();
|
|
71
|
-
i0.ɵɵelementContainerEnd();
|
|
72
|
-
} if (rf & 2) {
|
|
73
|
-
i0.ɵɵnextContext();
|
|
74
|
-
const _r8 = i0.ɵɵreference(10);
|
|
75
|
-
i0.ɵɵadvance(2);
|
|
76
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r8);
|
|
77
|
-
} }
|
|
78
|
-
function DialogHeaderComponent_ng_container_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
79
|
-
i0.ɵɵelementContainer(0);
|
|
80
|
-
} }
|
|
81
|
-
function DialogHeaderComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
82
|
-
i0.ɵɵelementContainerStart(0);
|
|
83
|
-
i0.ɵɵelementStart(1, "h5", 7);
|
|
84
|
-
i0.ɵɵtemplate(2, DialogHeaderComponent_ng_container_6_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
85
|
-
i0.ɵɵelementEnd();
|
|
86
|
-
i0.ɵɵelementContainerEnd();
|
|
87
|
-
} if (rf & 2) {
|
|
88
|
-
i0.ɵɵnextContext();
|
|
89
|
-
const _r8 = i0.ɵɵreference(10);
|
|
90
|
-
i0.ɵɵadvance(2);
|
|
91
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r8);
|
|
92
|
-
} }
|
|
93
|
-
function DialogHeaderComponent_ng_container_7_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
94
|
-
i0.ɵɵelementContainer(0);
|
|
95
|
-
} }
|
|
96
|
-
function DialogHeaderComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
97
|
-
i0.ɵɵelementContainerStart(0);
|
|
98
|
-
i0.ɵɵelementStart(1, "h6", 7);
|
|
99
|
-
i0.ɵɵtemplate(2, DialogHeaderComponent_ng_container_7_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
100
|
-
i0.ɵɵelementEnd();
|
|
101
|
-
i0.ɵɵelementContainerEnd();
|
|
102
|
-
} if (rf & 2) {
|
|
103
|
-
i0.ɵɵnextContext();
|
|
104
|
-
const _r8 = i0.ɵɵreference(10);
|
|
105
|
-
i0.ɵɵadvance(2);
|
|
106
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r8);
|
|
107
|
-
} }
|
|
108
|
-
function DialogHeaderComponent_ng_container_8_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
109
|
-
i0.ɵɵelementContainer(0);
|
|
110
|
-
} }
|
|
111
|
-
function DialogHeaderComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
112
|
-
i0.ɵɵelementContainerStart(0);
|
|
113
|
-
i0.ɵɵelementStart(1, "h4", 7);
|
|
114
|
-
i0.ɵɵtemplate(2, DialogHeaderComponent_ng_container_8_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
115
|
-
i0.ɵɵelementEnd();
|
|
116
|
-
i0.ɵɵelementContainerEnd();
|
|
117
|
-
} if (rf & 2) {
|
|
118
|
-
i0.ɵɵnextContext();
|
|
119
|
-
const _r8 = i0.ɵɵreference(10);
|
|
120
|
-
i0.ɵɵadvance(2);
|
|
121
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r8);
|
|
122
|
-
} }
|
|
123
18
|
const _c1 = function (a0, a1, a2) { return { width: a0, height: a1, margin: a2 }; };
|
|
124
|
-
function
|
|
125
|
-
i0.ɵɵelement(0, "i",
|
|
19
|
+
function DialogHeaderComponent_i_2_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
i0.ɵɵelement(0, "i", 8);
|
|
126
21
|
} if (rf & 2) {
|
|
127
|
-
const
|
|
128
|
-
i0.ɵɵproperty("ngClass",
|
|
22
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
23
|
+
i0.ɵɵproperty("ngClass", ctx_r1.iconclass)("ngStyle", i0.ɵɵpureFunction3(2, _c1, ctx_r1.iconwidth, ctx_r1.iconheight, ctx_r1.iconmargin));
|
|
129
24
|
} }
|
|
130
|
-
function
|
|
131
|
-
i0.ɵɵelement(0, "img",
|
|
25
|
+
function DialogHeaderComponent_img_3_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
+
i0.ɵɵelement(0, "img", 9);
|
|
132
27
|
i0.ɵɵpipe(1, "image");
|
|
133
28
|
} if (rf & 2) {
|
|
134
|
-
const
|
|
135
|
-
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 2,
|
|
29
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
30
|
+
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 2, ctx_r2.iconurl), i0.ɵɵsanitizeUrl)("ngStyle", i0.ɵɵpureFunction3(4, _c1, ctx_r2.iconwidth, ctx_r2.iconheight, ctx_r2.iconmargin));
|
|
136
31
|
} }
|
|
137
|
-
function
|
|
138
|
-
i0.ɵɵelement(0, "span",
|
|
32
|
+
function DialogHeaderComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
33
|
+
i0.ɵɵelement(0, "span", 10);
|
|
139
34
|
} if (rf & 2) {
|
|
140
|
-
const
|
|
141
|
-
i0.ɵɵproperty("title",
|
|
142
|
-
} }
|
|
143
|
-
function DialogHeaderComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
144
|
-
i0.ɵɵtemplate(0, DialogHeaderComponent_ng_template_9_i_0_Template, 1, 6, "i", 9);
|
|
145
|
-
i0.ɵɵtemplate(1, DialogHeaderComponent_ng_template_9_img_1_Template, 2, 8, "img", 10);
|
|
146
|
-
i0.ɵɵelement(2, "span", 11);
|
|
147
|
-
i0.ɵɵtemplate(3, DialogHeaderComponent_ng_template_9_span_3_Template, 1, 2, "span", 12);
|
|
148
|
-
} if (rf & 2) {
|
|
149
|
-
const ctx_r9 = i0.ɵɵnextContext();
|
|
150
|
-
i0.ɵɵproperty("ngIf", ctx_r9.iconclass && !ctx_r9.iconurl);
|
|
151
|
-
i0.ɵɵadvance(1);
|
|
152
|
-
i0.ɵɵproperty("ngIf", ctx_r9.iconurl);
|
|
153
|
-
i0.ɵɵadvance(1);
|
|
154
|
-
i0.ɵɵproperty("textContent", ctx_r9.heading)("id", ctx_r9.titleid);
|
|
155
|
-
i0.ɵɵadvance(1);
|
|
156
|
-
i0.ɵɵproperty("ngIf", ctx_r9.subheading);
|
|
35
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
36
|
+
i0.ɵɵproperty("title", ctx_r3.subheading)("textContent", ctx_r3.subheading);
|
|
157
37
|
} }
|
|
158
38
|
const DEFAULT_CLS = 'app-dialog-header modal-header';
|
|
159
39
|
const DEFAULT_ICON_DIMENSIONS = '21px';
|
|
@@ -166,46 +46,35 @@ export class DialogHeaderComponent {
|
|
|
166
46
|
this.iconwidth = DEFAULT_ICON_DIMENSIONS;
|
|
167
47
|
this.iconheight = DEFAULT_ICON_DIMENSIONS;
|
|
168
48
|
this.closable = true;
|
|
169
|
-
this.headinglevel = 'h4';
|
|
170
49
|
addClass(elRef.nativeElement, DEFAULT_CLS);
|
|
171
50
|
}
|
|
172
51
|
closeDialog() {
|
|
173
52
|
this.dialogRef.close();
|
|
174
53
|
}
|
|
175
54
|
static { this.ɵfac = function DialogHeaderComponent_Factory(t) { return new (t || DialogHeaderComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(DialogRef)); }; }
|
|
176
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DialogHeaderComponent, selectors: [["div", "wmDialogHeader", ""]], inputs: { iconwidth: "iconwidth", iconheight: "iconheight", iconmargin: "iconmargin", iconclass: "iconclass", iconurl: "iconurl", closable: "closable", heading: "heading",
|
|
55
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DialogHeaderComponent, selectors: [["div", "wmDialogHeader", ""]], inputs: { iconwidth: "iconwidth", iconheight: "iconheight", iconmargin: "iconmargin", iconclass: "iconclass", iconurl: "iconurl", closable: "closable", heading: "heading", subheading: "subheading", titleid: "titleid" }, attrs: _c0, decls: 6, vars: 6, consts: [["aria-label", "Close", "class", "app-dialog-close close", "title", "Close", 3, "click", 4, "ngIf"], [1, "app-dialog-title", "modal-title"], [3, "ngClass", "ngStyle", 4, "ngIf"], ["data-identifier", "img", 3, "src", "ngStyle", 4, "ngIf"], [1, "dialog-heading", 3, "textContent", "id"], ["class", "dialog-sub-heading", 3, "title", "textContent", 4, "ngIf"], ["aria-label", "Close", "title", "Close", 1, "app-dialog-close", "close", 3, "click"], ["aria-hidden", "true"], [3, "ngClass", "ngStyle"], ["data-identifier", "img", 3, "src", "ngStyle"], [1, "dialog-sub-heading", 3, "title", "textContent"]], template: function DialogHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
177
56
|
i0.ɵɵtemplate(0, DialogHeaderComponent_button_0_Template, 3, 0, "button", 0);
|
|
178
|
-
i0.ɵɵ
|
|
179
|
-
i0.ɵɵtemplate(2,
|
|
180
|
-
i0.ɵɵtemplate(3,
|
|
181
|
-
i0.ɵɵ
|
|
182
|
-
i0.ɵɵtemplate(5,
|
|
183
|
-
i0.ɵɵ
|
|
184
|
-
i0.ɵɵtemplate(7, DialogHeaderComponent_ng_container_7_Template, 3, 1, "ng-container", 2);
|
|
185
|
-
i0.ɵɵtemplate(8, DialogHeaderComponent_ng_container_8_Template, 3, 1, "ng-container", 3);
|
|
186
|
-
i0.ɵɵelementContainerEnd();
|
|
187
|
-
i0.ɵɵtemplate(9, DialogHeaderComponent_ng_template_9_Template, 4, 5, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
|
57
|
+
i0.ɵɵelementStart(1, "h4", 1);
|
|
58
|
+
i0.ɵɵtemplate(2, DialogHeaderComponent_i_2_Template, 1, 6, "i", 2);
|
|
59
|
+
i0.ɵɵtemplate(3, DialogHeaderComponent_img_3_Template, 2, 8, "img", 3);
|
|
60
|
+
i0.ɵɵelement(4, "span", 4);
|
|
61
|
+
i0.ɵɵtemplate(5, DialogHeaderComponent_span_5_Template, 1, 2, "span", 5);
|
|
62
|
+
i0.ɵɵelementEnd();
|
|
188
63
|
} if (rf & 2) {
|
|
189
64
|
i0.ɵɵproperty("ngIf", ctx.isClosable);
|
|
65
|
+
i0.ɵɵadvance(2);
|
|
66
|
+
i0.ɵɵproperty("ngIf", ctx.iconclass && !ctx.iconurl);
|
|
190
67
|
i0.ɵɵadvance(1);
|
|
191
|
-
i0.ɵɵproperty("
|
|
192
|
-
i0.ɵɵadvance(1);
|
|
193
|
-
i0.ɵɵproperty("ngSwitchCase", "h1");
|
|
194
|
-
i0.ɵɵadvance(1);
|
|
195
|
-
i0.ɵɵproperty("ngSwitchCase", "h2");
|
|
68
|
+
i0.ɵɵproperty("ngIf", ctx.iconurl);
|
|
196
69
|
i0.ɵɵadvance(1);
|
|
197
|
-
i0.ɵɵproperty("
|
|
70
|
+
i0.ɵɵproperty("textContent", ctx.heading)("id", ctx.titleid);
|
|
198
71
|
i0.ɵɵadvance(1);
|
|
199
|
-
i0.ɵɵproperty("
|
|
200
|
-
|
|
201
|
-
i0.ɵɵproperty("ngSwitchCase", "h5");
|
|
202
|
-
i0.ɵɵadvance(1);
|
|
203
|
-
i0.ɵɵproperty("ngSwitchCase", "h6");
|
|
204
|
-
} }, dependencies: [i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i2.TextContentDirective, i2.ImagePipe], encapsulation: 2 }); }
|
|
72
|
+
i0.ɵɵproperty("ngIf", ctx.subheading);
|
|
73
|
+
} }, dependencies: [i1.NgClass, i1.NgIf, i1.NgStyle, i2.TextContentDirective, i2.ImagePipe], encapsulation: 2 }); }
|
|
205
74
|
}
|
|
206
75
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DialogHeaderComponent, [{
|
|
207
76
|
type: Component,
|
|
208
|
-
args: [{ selector: 'div[wmDialogHeader]', template: "<button *ngIf=\"isClosable\" aria-label=\"Close\" class=\"app-dialog-close close\" (click)=\"closeDialog();\" title=\"Close\">\n <span aria-hidden=\"true\">×</span>\n</button>\n
|
|
77
|
+
args: [{ selector: 'div[wmDialogHeader]', template: "<button *ngIf=\"isClosable\" aria-label=\"Close\" class=\"app-dialog-close close\" (click)=\"closeDialog();\" title=\"Close\">\n <span aria-hidden=\"true\">×</span>\n</button>\n<h4 class=\"app-dialog-title modal-title\">\n <i [ngClass]=\"iconclass\" [ngStyle]=\"{width: iconwidth, height: iconheight, margin: iconmargin}\" *ngIf=\"iconclass && !iconurl\"></i>\n <img data-identifier=\"img\" [src]=\"iconurl | image\" *ngIf=\"iconurl\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin}\"/>\n <span class=\"dialog-heading\" [textContent]=\"heading\" [id]=\"titleid\"></span>\n <span class=\"dialog-sub-heading\" *ngIf=\"subheading\" [title]=\"subheading\" [textContent]=\"subheading\"></span>\n</h4>\n" }]
|
|
209
78
|
}], function () { return [{ type: i0.ElementRef }, { type: i3.BaseDialog, decorators: [{
|
|
210
79
|
type: Inject,
|
|
211
80
|
args: [DialogRef]
|
|
@@ -223,11 +92,9 @@ export class DialogHeaderComponent {
|
|
|
223
92
|
type: Input
|
|
224
93
|
}], heading: [{
|
|
225
94
|
type: Input
|
|
226
|
-
}], headinglevel: [{
|
|
227
|
-
type: Input
|
|
228
95
|
}], subheading: [{
|
|
229
96
|
type: Input
|
|
230
97
|
}], titleid: [{
|
|
231
98
|
type: Input
|
|
232
99
|
}] }); })();
|
|
233
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
100
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLWhlYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvZGlhbG9ncy9kZWZhdWx0L3NyYy9kaWFsb2ctaGVhZGVyL2RpYWxvZy1oZWFkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy93aWRnZXRzL2RpYWxvZ3MvZGVmYXVsdC9zcmMvZGlhbG9nLWhlYWRlci9kaWFsb2ctaGVhZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QU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