@wavemaker/app-ng-runtime 11.11.5-rc.6185 → 11.11.6-rc.216
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/base/bundles/index.umd.js +11 -1
- package/components/base/esm2022/widgets/common/redraw/redrawable.directive.mjs +12 -2
- package/components/base/fesm2022/index.mjs +11 -1
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/basic/search/bundles/index.umd.js +2 -2
- package/components/basic/search/esm2022/search.component.mjs +3 -3
- package/components/basic/search/fesm2022/index.mjs +2 -2
- package/components/basic/search/fesm2022/index.mjs.map +1 -1
- package/components/data/pagination/bundles/index.umd.js +3 -1
- package/components/data/pagination/esm2022/pagination.component.mjs +4 -2
- package/components/data/pagination/fesm2022/index.mjs +3 -1
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/table/bundles/index.umd.js +1 -1
- package/components/data/table/esm2022/table-filter.directive.mjs +2 -2
- package/components/data/table/fesm2022/index.mjs +1 -1
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/default/base-dialog.d.ts +1 -0
- package/components/dialogs/default/bundles/index.umd.js +15 -29
- package/components/dialogs/default/esm2022/base-dialog.mjs +9 -23
- package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +4 -5
- package/components/dialogs/default/fesm2022/index.mjs +11 -26
- package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/design-dialog/bundles/index.umd.js +28 -12
- package/components/dialogs/design-dialog/esm2022/dialog.component.mjs +29 -13
- package/components/dialogs/design-dialog/fesm2022/index.mjs +28 -12
- package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/iframe-dialog/bundles/index.umd.js +33 -16
- package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +32 -15
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs +31 -14
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/scripts/datatable/datatable.js +1 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@wm/components/base'), require('@angular/core'), require('@wm/core'), require('@wm/components/dialogs'), require('@wm/components/basic'), require('@wm/components/input')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', '@angular/common', '@wm/components/base', '@angular/core', '@wm/core', '@wm/components/dialogs', '@wm/components/basic', '@wm/components/input'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.dialogs = global.wm.components.dialogs || {}, global.wm.components.dialogs.iframedialog = {}), global.ng.common, global.wm.components.base, global.ng.core, global.wm.core, global.wm.components.dialogs, global.wm.components.basic, global.wm.components.input));
|
|
5
|
-
})(this, (function (exports,
|
|
5
|
+
})(this, (function (exports, i1, base, i0, core, dialogs, basic, input) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
return Object.freeze(n);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
|
|
24
25
|
var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
|
|
25
26
|
|
|
26
27
|
const registerProps = () => {
|
|
@@ -55,10 +56,26 @@
|
|
|
55
56
|
const ctx_r0 = i0__namespace.ɵɵnextContext(2);
|
|
56
57
|
i0__namespace.ɵɵproperty("closable", ctx_r0.closable)("iconclass", ctx_r0.iconclass)("iconurl", ctx_r0.iconurl)("iconwidth", ctx_r0.iconwidth)("iconheight", ctx_r0.iconheight)("iconmargin", ctx_r0.iconmargin)("heading", ctx_r0.title)("headinglevel", ctx_r0.headinglevel)("title", ctx_r0.title)("titleid", ctx_r0.titleId);
|
|
57
58
|
} }
|
|
58
|
-
function
|
|
59
|
+
function IframeDialogComponent_ng_template_0_Conditional_1_h4_0_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
+
i0__namespace.ɵɵelementStart(0, "h4", 2);
|
|
61
|
+
i0__namespace.ɵɵtext(1);
|
|
62
|
+
i0__namespace.ɵɵelementEnd();
|
|
63
|
+
} if (rf & 2) {
|
|
64
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext(3);
|
|
65
|
+
i0__namespace.ɵɵproperty("id", ctx_r0.titleId);
|
|
66
|
+
i0__namespace.ɵɵadvance();
|
|
67
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.title, " ");
|
|
68
|
+
} }
|
|
69
|
+
function IframeDialogComponent_ng_template_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
70
|
+
i0__namespace.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Conditional_1_h4_0_Template, 2, 2, "h4", 6);
|
|
71
|
+
} if (rf & 2) {
|
|
72
|
+
const ctx_r0 = i0__namespace.ɵɵnextContext(2);
|
|
73
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r0.showHeader && ctx_r0.title);
|
|
74
|
+
} }
|
|
75
|
+
function IframeDialogComponent_ng_template_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
59
76
|
const _r2 = i0__namespace.ɵɵgetCurrentView();
|
|
60
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
61
|
-
i0__namespace.ɵɵlistener("click", function
|
|
77
|
+
i0__namespace.ɵɵelementStart(0, "div", 5)(1, "button", 7);
|
|
78
|
+
i0__namespace.ɵɵlistener("click", function IframeDialogComponent_ng_template_0_Conditional_4_Template_button_click_1_listener($event) { i0__namespace.ɵɵrestoreView(_r2); const ctx_r0 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r0.onOk($event)); });
|
|
62
79
|
i0__namespace.ɵɵelementEnd()();
|
|
63
80
|
} if (rf & 2) {
|
|
64
81
|
const ctx_r0 = i0__namespace.ɵɵnextContext(2);
|
|
@@ -66,16 +83,16 @@
|
|
|
66
83
|
i0__namespace.ɵɵattribute("aria-label", ctx_r0.oktext);
|
|
67
84
|
} }
|
|
68
85
|
function IframeDialogComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
-
i0__namespace.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Conditional_0_Template, 1, 10, "div", 1);
|
|
70
|
-
i0__namespace.ɵɵelementStart(
|
|
71
|
-
i0__namespace.ɵɵelement(
|
|
86
|
+
i0__namespace.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Conditional_0_Template, 1, 10, "div", 1)(1, IframeDialogComponent_ng_template_0_Conditional_1_Template, 1, 1, "h4", 2);
|
|
87
|
+
i0__namespace.ɵɵelementStart(2, "div", 3);
|
|
88
|
+
i0__namespace.ɵɵelement(3, "div", 4);
|
|
72
89
|
i0__namespace.ɵɵelementEnd();
|
|
73
|
-
i0__namespace.ɵɵtemplate(
|
|
90
|
+
i0__namespace.ɵɵtemplate(4, IframeDialogComponent_ng_template_0_Conditional_4_Template, 2, 1, "div", 5);
|
|
74
91
|
} if (rf & 2) {
|
|
75
92
|
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
76
|
-
i0__namespace.ɵɵconditional(ctx_r0.showheader ? 0 : -1);
|
|
77
|
-
i0__namespace.ɵɵadvance(
|
|
78
|
-
i0__namespace.ɵɵconditional(ctx_r0.showactions ?
|
|
93
|
+
i0__namespace.ɵɵconditional(ctx_r0.showheader ? 0 : !ctx_r0.showheader && ctx_r0.title ? 1 : -1);
|
|
94
|
+
i0__namespace.ɵɵadvance(4);
|
|
95
|
+
i0__namespace.ɵɵconditional(ctx_r0.showactions ? 4 : -1);
|
|
79
96
|
} }
|
|
80
97
|
const DIALOG_CLS = 'app-dialog modal-dialog app-iframe-dialog';
|
|
81
98
|
const WIDGET_INFO = { widgetType: 'wm-iframedialog' };
|
|
@@ -117,16 +134,16 @@
|
|
|
117
134
|
} }, standalone: true, features: [i0__namespace.ɵɵProvidersFeature([
|
|
118
135
|
base.provideAsWidgetRef(IframeDialogComponent),
|
|
119
136
|
base.provideAsDialogRef(IframeDialogComponent)
|
|
120
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵStandaloneFeature], attrs: _c1, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid"], ["wmDialogBody", ""], ["wmIframe", "", "encodeurl.bind", "encodeurl", "iframesrc.bind", "url", "height.bind", "height", "width.bind", "width", "hint.bind", "hint"], ["wmDialogFooter", ""], ["caption.bind", "oktext", "wmButton", "", 1, "btn-primary", "ok-action", 3, "click"]], template: function IframeDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
121
|
-
i0__namespace.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Template,
|
|
122
|
-
} }, dependencies: [
|
|
137
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵStandaloneFeature], attrs: _c1, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid"], [1, "sr-only", 3, "id"], ["wmDialogBody", ""], ["wmIframe", "", "encodeurl.bind", "encodeurl", "iframesrc.bind", "url", "height.bind", "height", "width.bind", "width", "hint.bind", "hint"], ["wmDialogFooter", ""], ["class", "sr-only", 3, "id", 4, "ngIf"], ["caption.bind", "oktext", "wmButton", "", 1, "btn-primary", "ok-action", 3, "click"]], template: function IframeDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
138
|
+
i0__namespace.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Template, 5, 2, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor);
|
|
139
|
+
} }, dependencies: [i1.CommonModule, i1__namespace.NgIf, base.WmComponentsModule, basic.IframeComponent, dialogs.DialogBodyDirective, dialogs.DialogFooterDirective, dialogs.DialogHeaderComponent, input.ButtonComponent], encapsulation: 2 }); }
|
|
123
140
|
}
|
|
124
141
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IframeDialogComponent, [{
|
|
125
142
|
type: i0.Component,
|
|
126
|
-
args: [{ standalone: true, imports: [
|
|
143
|
+
args: [{ standalone: true, imports: [i1.CommonModule, base.WmComponentsModule, basic.IframeComponent, dialogs.DialogBodyDirective, dialogs.DialogFooterDirective, dialogs.DialogHeaderComponent, input.ButtonComponent], selector: 'div[wmIframeDialog]', providers: [
|
|
127
144
|
base.provideAsWidgetRef(IframeDialogComponent),
|
|
128
145
|
base.provideAsDialogRef(IframeDialogComponent)
|
|
129
|
-
], template: "<ng-template #dialogTemplate>\n @if (showheader) {\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n }\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n @if (showactions) {\n <div wmDialogFooter>\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n }\n</ng-template>\n" }]
|
|
146
|
+
], template: "<ng-template #dialogTemplate>\n @if (showheader) {\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n }@else if (!showheader && title) {\n <h4 *ngIf=\"(!showHeader && title)\" [id]=\"titleId\" class=\"sr-only\">\n {{ title }}\n </h4>\n }\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n @if (showactions) {\n <div wmDialogFooter>\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n }\n</ng-template>\n" }]
|
|
130
147
|
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
131
148
|
type: i0.Attribute,
|
|
132
149
|
args: ['class']
|
|
@@ -8,6 +8,7 @@ import { registerProps } from './iframe-dialog.props';
|
|
|
8
8
|
import { IframeComponent } from '@wm/components/basic';
|
|
9
9
|
import { ButtonComponent } from '@wm/components/input';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/common";
|
|
11
12
|
const _c0 = ["dialogTemplate"];
|
|
12
13
|
const _c1 = ["wmIframeDialog", ""];
|
|
13
14
|
function IframeDialogComponent_ng_template_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -16,10 +17,26 @@ function IframeDialogComponent_ng_template_0_Conditional_0_Template(rf, ctx) { i
|
|
|
16
17
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
17
18
|
i0.ɵɵproperty("closable", ctx_r0.closable)("iconclass", ctx_r0.iconclass)("iconurl", ctx_r0.iconurl)("iconwidth", ctx_r0.iconwidth)("iconheight", ctx_r0.iconheight)("iconmargin", ctx_r0.iconmargin)("heading", ctx_r0.title)("headinglevel", ctx_r0.headinglevel)("title", ctx_r0.title)("titleid", ctx_r0.titleId);
|
|
18
19
|
} }
|
|
19
|
-
function
|
|
20
|
+
function IframeDialogComponent_ng_template_0_Conditional_1_h4_0_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
+
i0.ɵɵelementStart(0, "h4", 2);
|
|
22
|
+
i0.ɵɵtext(1);
|
|
23
|
+
i0.ɵɵelementEnd();
|
|
24
|
+
} if (rf & 2) {
|
|
25
|
+
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
26
|
+
i0.ɵɵproperty("id", ctx_r0.titleId);
|
|
27
|
+
i0.ɵɵadvance();
|
|
28
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.title, " ");
|
|
29
|
+
} }
|
|
30
|
+
function IframeDialogComponent_ng_template_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
31
|
+
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Conditional_1_h4_0_Template, 2, 2, "h4", 6);
|
|
32
|
+
} if (rf & 2) {
|
|
33
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
34
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.showHeader && ctx_r0.title);
|
|
35
|
+
} }
|
|
36
|
+
function IframeDialogComponent_ng_template_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
20
37
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
21
|
-
i0.ɵɵelementStart(0, "div",
|
|
22
|
-
i0.ɵɵlistener("click", function
|
|
38
|
+
i0.ɵɵelementStart(0, "div", 5)(1, "button", 7);
|
|
39
|
+
i0.ɵɵlistener("click", function IframeDialogComponent_ng_template_0_Conditional_4_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.onOk($event)); });
|
|
23
40
|
i0.ɵɵelementEnd()();
|
|
24
41
|
} if (rf & 2) {
|
|
25
42
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -27,16 +44,16 @@ function IframeDialogComponent_ng_template_0_Conditional_3_Template(rf, ctx) { i
|
|
|
27
44
|
i0.ɵɵattribute("aria-label", ctx_r0.oktext);
|
|
28
45
|
} }
|
|
29
46
|
function IframeDialogComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
-
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Conditional_0_Template, 1, 10, "div", 1);
|
|
31
|
-
i0.ɵɵelementStart(
|
|
32
|
-
i0.ɵɵelement(
|
|
47
|
+
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Conditional_0_Template, 1, 10, "div", 1)(1, IframeDialogComponent_ng_template_0_Conditional_1_Template, 1, 1, "h4", 2);
|
|
48
|
+
i0.ɵɵelementStart(2, "div", 3);
|
|
49
|
+
i0.ɵɵelement(3, "div", 4);
|
|
33
50
|
i0.ɵɵelementEnd();
|
|
34
|
-
i0.ɵɵtemplate(
|
|
51
|
+
i0.ɵɵtemplate(4, IframeDialogComponent_ng_template_0_Conditional_4_Template, 2, 1, "div", 5);
|
|
35
52
|
} if (rf & 2) {
|
|
36
53
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
37
|
-
i0.ɵɵconditional(ctx_r0.showheader ? 0 : -1);
|
|
38
|
-
i0.ɵɵadvance(
|
|
39
|
-
i0.ɵɵconditional(ctx_r0.showactions ?
|
|
54
|
+
i0.ɵɵconditional(ctx_r0.showheader ? 0 : !ctx_r0.showheader && ctx_r0.title ? 1 : -1);
|
|
55
|
+
i0.ɵɵadvance(4);
|
|
56
|
+
i0.ɵɵconditional(ctx_r0.showactions ? 4 : -1);
|
|
40
57
|
} }
|
|
41
58
|
const DIALOG_CLS = 'app-dialog modal-dialog app-iframe-dialog';
|
|
42
59
|
const WIDGET_INFO = { widgetType: 'wm-iframedialog' };
|
|
@@ -81,16 +98,16 @@ export class IframeDialogComponent extends BaseDialog {
|
|
|
81
98
|
} }, standalone: true, features: [i0.ɵɵProvidersFeature([
|
|
82
99
|
provideAsWidgetRef(IframeDialogComponent),
|
|
83
100
|
provideAsDialogRef(IframeDialogComponent)
|
|
84
|
-
]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c1, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid"], ["wmDialogBody", ""], ["wmIframe", "", "encodeurl.bind", "encodeurl", "iframesrc.bind", "url", "height.bind", "height", "width.bind", "width", "hint.bind", "hint"], ["wmDialogFooter", ""], ["caption.bind", "oktext", "wmButton", "", 1, "btn-primary", "ok-action", 3, "click"]], template: function IframeDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
85
|
-
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Template,
|
|
86
|
-
} }, dependencies: [CommonModule, WmComponentsModule, IframeComponent, DialogBodyDirective, DialogFooterDirective, DialogHeaderComponent, ButtonComponent], encapsulation: 2 }); }
|
|
101
|
+
]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c1, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid"], [1, "sr-only", 3, "id"], ["wmDialogBody", ""], ["wmIframe", "", "encodeurl.bind", "encodeurl", "iframesrc.bind", "url", "height.bind", "height", "width.bind", "width", "hint.bind", "hint"], ["wmDialogFooter", ""], ["class", "sr-only", 3, "id", 4, "ngIf"], ["caption.bind", "oktext", "wmButton", "", 1, "btn-primary", "ok-action", 3, "click"]], template: function IframeDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
102
|
+
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Template, 5, 2, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
103
|
+
} }, dependencies: [CommonModule, i1.NgIf, WmComponentsModule, IframeComponent, DialogBodyDirective, DialogFooterDirective, DialogHeaderComponent, ButtonComponent], encapsulation: 2 }); }
|
|
87
104
|
}
|
|
88
105
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IframeDialogComponent, [{
|
|
89
106
|
type: Component,
|
|
90
107
|
args: [{ standalone: true, imports: [CommonModule, WmComponentsModule, IframeComponent, DialogBodyDirective, DialogFooterDirective, DialogHeaderComponent, ButtonComponent], selector: 'div[wmIframeDialog]', providers: [
|
|
91
108
|
provideAsWidgetRef(IframeDialogComponent),
|
|
92
109
|
provideAsDialogRef(IframeDialogComponent)
|
|
93
|
-
], template: "<ng-template #dialogTemplate>\n @if (showheader) {\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n }\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n @if (showactions) {\n <div wmDialogFooter>\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n }\n</ng-template>\n" }]
|
|
110
|
+
], template: "<ng-template #dialogTemplate>\n @if (showheader) {\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n }@else if (!showheader && title) {\n <h4 *ngIf=\"(!showHeader && title)\" [id]=\"titleId\" class=\"sr-only\">\n {{ title }}\n </h4>\n }\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n @if (showactions) {\n <div wmDialogFooter>\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n }\n</ng-template>\n" }]
|
|
94
111
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
95
112
|
type: Attribute,
|
|
96
113
|
args: ['class']
|
|
@@ -110,4 +127,4 @@ export class IframeDialogComponent extends BaseDialog {
|
|
|
110
127
|
args: ['dialogTemplate', { static: true }]
|
|
111
128
|
}] }); })();
|
|
112
129
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(IframeDialogComponent, { className: "IframeDialogComponent", filePath: "iframe-dialog.component.ts", lineNumber: 36 }); })();
|
|
113
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
130
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWZyYW1lLWRpYWxvZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvZGlhbG9ncy9pZnJhbWUtZGlhbG9nL3NyYy9pZnJhbWUtZGlhbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9kaWFsb2dzL2lmcmFtZS1kaWFsb2cvc3JjL2lmcmFtZS1kaWFsb2cuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHFCQUFxQix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JiYgdGl0bGUpIHtcbiAgICAgIDxoNCAqbmdJZj1cIighc2hvd0hlYWRlciAmJiB0aXRsZSlcIiBbaWRdPVwidGl0bGVJZFwiIGNsYXNzPVwic3Itb25seVwiPlxuICAgICAgICAgIHt7IHRpdGxlIH19XG4gICAgICA8L2g0PlxuICB9XG4gIDxkaXYgd21EaWFsb2dCb2R5PlxuICAgIDxkaXYgd21JZnJhbWUgZW5jb2RldXJsLmJpbmQ9XCJlbmNvZGV1cmxcIiBpZnJhbWVzcmMuYmluZD1cInVybFwiIGhlaWdodC5iaW5kPVwiaGVpZ2h0XCIgd2lkdGguYmluZD1cIndpZHRoXCIgaGludC5iaW5kPVwiaGludFwiPjwvZGl2PlxuICA8L2Rpdj5cbiAgQGlmIChzaG93YWN0aW9ucykge1xuICAgIDxkaXYgd21EaWFsb2dGb290ZXI+XG4gICAgICA8YnV0dG9uIChjbGljayk9XCJvbk9rKCRldmVudClcIiBbYXR0ci5hcmlhLWxhYmVsXT1cIm9rdGV4dFwiIGNhcHRpb24uYmluZD1cIm9rdGV4dFwiIGNsYXNzPVwiYnRuLXByaW1hcnkgb2stYWN0aW9uXCJcbiAgICAgIHdtQnV0dG9uPjwvYnV0dG9uPlxuICAgIDwvZGl2PlxuICB9XG48L25nLXRlbXBsYXRlPlxuIl19
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i1 from '@angular/common';
|
|
1
2
|
import { CommonModule } from '@angular/common';
|
|
2
3
|
import { register, PROP_STRING, PROP_BOOLEAN, PROP_NUMBER, provideAsWidgetRef, provideAsDialogRef, WmComponentsModule } from '@wm/components/base';
|
|
3
4
|
import * as i0 from '@angular/core';
|
|
@@ -39,10 +40,26 @@ function IframeDialogComponent_ng_template_0_Conditional_0_Template(rf, ctx) { i
|
|
|
39
40
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
40
41
|
i0.ɵɵproperty("closable", ctx_r0.closable)("iconclass", ctx_r0.iconclass)("iconurl", ctx_r0.iconurl)("iconwidth", ctx_r0.iconwidth)("iconheight", ctx_r0.iconheight)("iconmargin", ctx_r0.iconmargin)("heading", ctx_r0.title)("headinglevel", ctx_r0.headinglevel)("title", ctx_r0.title)("titleid", ctx_r0.titleId);
|
|
41
42
|
} }
|
|
42
|
-
function
|
|
43
|
+
function IframeDialogComponent_ng_template_0_Conditional_1_h4_0_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
+
i0.ɵɵelementStart(0, "h4", 2);
|
|
45
|
+
i0.ɵɵtext(1);
|
|
46
|
+
i0.ɵɵelementEnd();
|
|
47
|
+
} if (rf & 2) {
|
|
48
|
+
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
49
|
+
i0.ɵɵproperty("id", ctx_r0.titleId);
|
|
50
|
+
i0.ɵɵadvance();
|
|
51
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.title, " ");
|
|
52
|
+
} }
|
|
53
|
+
function IframeDialogComponent_ng_template_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
54
|
+
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Conditional_1_h4_0_Template, 2, 2, "h4", 6);
|
|
55
|
+
} if (rf & 2) {
|
|
56
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
57
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.showHeader && ctx_r0.title);
|
|
58
|
+
} }
|
|
59
|
+
function IframeDialogComponent_ng_template_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
43
60
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
44
|
-
i0.ɵɵelementStart(0, "div",
|
|
45
|
-
i0.ɵɵlistener("click", function
|
|
61
|
+
i0.ɵɵelementStart(0, "div", 5)(1, "button", 7);
|
|
62
|
+
i0.ɵɵlistener("click", function IframeDialogComponent_ng_template_0_Conditional_4_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.onOk($event)); });
|
|
46
63
|
i0.ɵɵelementEnd()();
|
|
47
64
|
} if (rf & 2) {
|
|
48
65
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -50,16 +67,16 @@ function IframeDialogComponent_ng_template_0_Conditional_3_Template(rf, ctx) { i
|
|
|
50
67
|
i0.ɵɵattribute("aria-label", ctx_r0.oktext);
|
|
51
68
|
} }
|
|
52
69
|
function IframeDialogComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
-
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Conditional_0_Template, 1, 10, "div", 1);
|
|
54
|
-
i0.ɵɵelementStart(
|
|
55
|
-
i0.ɵɵelement(
|
|
70
|
+
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Conditional_0_Template, 1, 10, "div", 1)(1, IframeDialogComponent_ng_template_0_Conditional_1_Template, 1, 1, "h4", 2);
|
|
71
|
+
i0.ɵɵelementStart(2, "div", 3);
|
|
72
|
+
i0.ɵɵelement(3, "div", 4);
|
|
56
73
|
i0.ɵɵelementEnd();
|
|
57
|
-
i0.ɵɵtemplate(
|
|
74
|
+
i0.ɵɵtemplate(4, IframeDialogComponent_ng_template_0_Conditional_4_Template, 2, 1, "div", 5);
|
|
58
75
|
} if (rf & 2) {
|
|
59
76
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
60
|
-
i0.ɵɵconditional(ctx_r0.showheader ? 0 : -1);
|
|
61
|
-
i0.ɵɵadvance(
|
|
62
|
-
i0.ɵɵconditional(ctx_r0.showactions ?
|
|
77
|
+
i0.ɵɵconditional(ctx_r0.showheader ? 0 : !ctx_r0.showheader && ctx_r0.title ? 1 : -1);
|
|
78
|
+
i0.ɵɵadvance(4);
|
|
79
|
+
i0.ɵɵconditional(ctx_r0.showactions ? 4 : -1);
|
|
63
80
|
} }
|
|
64
81
|
const DIALOG_CLS = 'app-dialog modal-dialog app-iframe-dialog';
|
|
65
82
|
const WIDGET_INFO = { widgetType: 'wm-iframedialog' };
|
|
@@ -104,16 +121,16 @@ class IframeDialogComponent extends BaseDialog {
|
|
|
104
121
|
} }, standalone: true, features: [i0.ɵɵProvidersFeature([
|
|
105
122
|
provideAsWidgetRef(IframeDialogComponent),
|
|
106
123
|
provideAsDialogRef(IframeDialogComponent)
|
|
107
|
-
]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c1, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid"], ["wmDialogBody", ""], ["wmIframe", "", "encodeurl.bind", "encodeurl", "iframesrc.bind", "url", "height.bind", "height", "width.bind", "width", "hint.bind", "hint"], ["wmDialogFooter", ""], ["caption.bind", "oktext", "wmButton", "", 1, "btn-primary", "ok-action", 3, "click"]], template: function IframeDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
108
|
-
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Template,
|
|
109
|
-
} }, dependencies: [CommonModule, WmComponentsModule, IframeComponent, DialogBodyDirective, DialogFooterDirective, DialogHeaderComponent, ButtonComponent], encapsulation: 2 }); }
|
|
124
|
+
]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c1, decls: 2, vars: 0, consts: [["dialogTemplate", ""], ["wmDialogHeader", "", 3, "closable", "iconclass", "iconurl", "iconwidth", "iconheight", "iconmargin", "heading", "headinglevel", "title", "titleid"], [1, "sr-only", 3, "id"], ["wmDialogBody", ""], ["wmIframe", "", "encodeurl.bind", "encodeurl", "iframesrc.bind", "url", "height.bind", "height", "width.bind", "width", "hint.bind", "hint"], ["wmDialogFooter", ""], ["class", "sr-only", 3, "id", 4, "ngIf"], ["caption.bind", "oktext", "wmButton", "", 1, "btn-primary", "ok-action", 3, "click"]], template: function IframeDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
125
|
+
i0.ɵɵtemplate(0, IframeDialogComponent_ng_template_0_Template, 5, 2, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
126
|
+
} }, dependencies: [CommonModule, i1.NgIf, WmComponentsModule, IframeComponent, DialogBodyDirective, DialogFooterDirective, DialogHeaderComponent, ButtonComponent], encapsulation: 2 }); }
|
|
110
127
|
}
|
|
111
128
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IframeDialogComponent, [{
|
|
112
129
|
type: Component,
|
|
113
130
|
args: [{ standalone: true, imports: [CommonModule, WmComponentsModule, IframeComponent, DialogBodyDirective, DialogFooterDirective, DialogHeaderComponent, ButtonComponent], selector: 'div[wmIframeDialog]', providers: [
|
|
114
131
|
provideAsWidgetRef(IframeDialogComponent),
|
|
115
132
|
provideAsDialogRef(IframeDialogComponent)
|
|
116
|
-
], template: "<ng-template #dialogTemplate>\n @if (showheader) {\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n }\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n @if (showactions) {\n <div wmDialogFooter>\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n }\n</ng-template>\n" }]
|
|
133
|
+
], template: "<ng-template #dialogTemplate>\n @if (showheader) {\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n }@else if (!showheader && title) {\n <h4 *ngIf=\"(!showHeader && title)\" [id]=\"titleId\" class=\"sr-only\">\n {{ title }}\n </h4>\n }\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n @if (showactions) {\n <div wmDialogFooter>\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n }\n</ng-template>\n" }]
|
|
117
134
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
118
135
|
type: Attribute,
|
|
119
136
|
args: ['class']
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/dialogs/iframe-dialog/src/iframe-dialog.props.ts","../../../../../projects/components/widgets/dialogs/iframe-dialog/src/iframe-dialog.component.html","../../../../../projects/components/widgets/dialogs/iframe-dialog/src/iframe-dialog.component.ts","../../../../../projects/components/widgets/dialogs/iframe-dialog/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-iframedialog',\n new Map(\n [\n ['animation', PROP_STRING],\n ['class', PROP_STRING],\n ['closable', {value: true, PROP_BOOLEAN}],\n ['encodeurl', {value: false, ...PROP_BOOLEAN}],\n ['height', {value: '400px', ...PROP_STRING}],\n ['iconclass', {value: 'wi wi-globe', PROP_STRING}],\n ['iconheight', PROP_STRING],\n ['iconmargin', PROP_STRING],\n ['iconurl', PROP_STRING],\n ['iconwidth', PROP_STRING],\n ['modal', {value: false, ...PROP_BOOLEAN}],\n ['name', PROP_STRING],\n ['oktext', {value: 'OK', ...PROP_STRING}],\n ['showactions', {value: true, ...PROP_BOOLEAN}],\n ['showheader', {value: true, ...PROP_BOOLEAN}],\n ['tabindex', {value: 0, ...PROP_NUMBER}],\n ['headinglevel', {value: 'h4', ...PROP_STRING}],\n ['title', {value: 'External Content', ...PROP_STRING}],\n ['url', {value: '//www.wavemaker.com', ...PROP_STRING}]\n ]\n )\n );\n};\n","<ng-template #dialogTemplate>\n @if (showheader) {\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n }\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n @if (showactions) {\n <div wmDialogFooter>\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n }\n</ng-template>\n","import { CommonModule } from '@angular/common';\nimport { WmComponentsModule } from \"@wm/components/base\";\nimport {\n Attribute,\n Component,\n Inject,\n Injector,\n OnInit,\n Optional,\n SkipSelf,\n TemplateRef,\n ViewChild\n} from '@angular/core';\n\nimport {toBoolean} from '@wm/core';\nimport { provideAsDialogRef, provideAsWidgetRef } from '@wm/components/base';\nimport { BaseDialog, DialogBodyDirective, DialogFooterDirective, DialogHeaderComponent } from '@wm/components/dialogs';\n\nimport { registerProps } from './iframe-dialog.props';\nimport { IframeComponent } from '@wm/components/basic';\nimport { ButtonComponent } from '@wm/components/input';\n\nconst DIALOG_CLS = 'app-dialog modal-dialog app-iframe-dialog';\nconst WIDGET_INFO = {widgetType: 'wm-iframedialog'};\n\n@Component({\n standalone: true,\n imports: [CommonModule, WmComponentsModule, IframeComponent, DialogBodyDirective, DialogFooterDirective, DialogHeaderComponent, ButtonComponent],\n selector: 'div[wmIframeDialog]',\n templateUrl: './iframe-dialog.component.html',\n providers: [\n provideAsWidgetRef(IframeDialogComponent),\n provideAsDialogRef(IframeDialogComponent)\n ]\n})\nexport class IframeDialogComponent extends BaseDialog implements OnInit {\n static initializeProps = registerProps();\n\n @ViewChild('dialogTemplate' , { static: true }) dialogTemplate: TemplateRef<any>;\n\n constructor(\n inj: Injector,\n @Attribute('class') dialogClass: string,\n @Attribute('modal') modal: string | boolean,\n @Attribute('closable') closable: string | boolean,\n @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any\n ) {\n if (modal === null || modal === undefined) {\n modal = false;\n }\n\n if (closable === null || closable === undefined) {\n closable = true;\n }\n\n // setting the backdrop to 'static' will not close the dialog on backdrop click\n const backdrop: boolean | 'static' = toBoolean(modal) ? 'static' : true;\n\n super(\n inj,\n WIDGET_INFO,\n {\n class: `${DIALOG_CLS} ${dialogClass || ''}`,\n backdrop,\n keyboard: !toBoolean(modal)\n },\n explicitContext\n );\n }\n\n protected getTemplateRef(): TemplateRef<any> {\n return this.dialogTemplate;\n }\n\n /**\n * Click event handler for the ok button\n * invokes on-ok event callback\n * @param {Event} $event\n */\n onOk($event: Event) {\n this.invokeEventCallback('ok', {$event});\n }\n\n ngOnInit() {\n super.ngOnInit();\n this.register(this.viewParent);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,iBAAiB,EACjB,IAAI,GAAG,CACH;QACI,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,UAAU,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,YAAY,EAAC,CAAC;QACzC,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,KAAK,EAAE,GAAG,YAAY,EAAC,CAAC;QAC9C,CAAC,QAAQ,EAAE,EAAC,KAAK,EAAE,OAAO,EAAE,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,EAAA,EAAA,CAAA,sBAAA,CAAA;4BC2BjB,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,eAAe,CAAA,EAAA,aAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;iFAQpI,qBAAqB,EAAA,CAAA;cAVjC,SAAS;AACI,QAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,WACP,CAAC,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,eAAe,CAAC,EAAA,QAAA,EACpI,qBAAqB,EAEpB,SAAA,EAAA;AACP,oBAAA,kBAAkB,CAAuB,qBAAA,CAAA;AACzC,oBAAA,kBAAkB,CAAuB,qBAAA;AAC5C,iBAAA,EAAA,QAAA,EAAA,6yBAAA,EAAA;;sBASI,SAAS;uBAAC,OAAO;;sBACjB,SAAS;uBAAC,OAAO;;sBACjB,SAAS;uBAAC,UAAU;;sBACpB,MAAM;uBAAC,kBAAkB;;sBAAG;qBAPe,cAAc,EAAA,CAAA;kBAA7D,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA,gBAAgB,EAAG,EAAE,MAAM,EAAE,IAAI,EAAE;;kFAHrC,qBAAqB,EAAA,EAAA,SAAA,EAAA,uBAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACnClC;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/dialogs/iframe-dialog/src/iframe-dialog.props.ts","../../../../../projects/components/widgets/dialogs/iframe-dialog/src/iframe-dialog.component.html","../../../../../projects/components/widgets/dialogs/iframe-dialog/src/iframe-dialog.component.ts","../../../../../projects/components/widgets/dialogs/iframe-dialog/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-iframedialog',\n new Map(\n [\n ['animation', PROP_STRING],\n ['class', PROP_STRING],\n ['closable', {value: true, PROP_BOOLEAN}],\n ['encodeurl', {value: false, ...PROP_BOOLEAN}],\n ['height', {value: '400px', ...PROP_STRING}],\n ['iconclass', {value: 'wi wi-globe', PROP_STRING}],\n ['iconheight', PROP_STRING],\n ['iconmargin', PROP_STRING],\n ['iconurl', PROP_STRING],\n ['iconwidth', PROP_STRING],\n ['modal', {value: false, ...PROP_BOOLEAN}],\n ['name', PROP_STRING],\n ['oktext', {value: 'OK', ...PROP_STRING}],\n ['showactions', {value: true, ...PROP_BOOLEAN}],\n ['showheader', {value: true, ...PROP_BOOLEAN}],\n ['tabindex', {value: 0, ...PROP_NUMBER}],\n ['headinglevel', {value: 'h4', ...PROP_STRING}],\n ['title', {value: 'External Content', ...PROP_STRING}],\n ['url', {value: '//www.wavemaker.com', ...PROP_STRING}]\n ]\n )\n );\n};\n","<ng-template #dialogTemplate>\n @if (showheader) {\n <div wmDialogHeader [closable]=\"closable\"\n [iconclass]=\"iconclass\"\n [iconurl]=\"iconurl\"\n [iconwidth]=\"iconwidth\"\n [iconheight]=\"iconheight\"\n [iconmargin]=\"iconmargin\"\n [heading]=\"title\"\n [headinglevel]=\"headinglevel\"\n [title]=\"title\"\n [titleid]=\"titleId\"\n ></div>\n }@else if (!showheader && title) {\n <h4 *ngIf=\"(!showHeader && title)\" [id]=\"titleId\" class=\"sr-only\">\n {{ title }}\n </h4>\n }\n <div wmDialogBody>\n <div wmIframe encodeurl.bind=\"encodeurl\" iframesrc.bind=\"url\" height.bind=\"height\" width.bind=\"width\" hint.bind=\"hint\"></div>\n </div>\n @if (showactions) {\n <div wmDialogFooter>\n <button (click)=\"onOk($event)\" [attr.aria-label]=\"oktext\" caption.bind=\"oktext\" class=\"btn-primary ok-action\"\n wmButton></button>\n </div>\n }\n</ng-template>\n","import { CommonModule } from '@angular/common';\nimport { WmComponentsModule } from \"@wm/components/base\";\nimport {\n Attribute,\n Component,\n Inject,\n Injector,\n OnInit,\n Optional,\n SkipSelf,\n TemplateRef,\n ViewChild\n} from '@angular/core';\n\nimport {toBoolean} from '@wm/core';\nimport { provideAsDialogRef, provideAsWidgetRef } from '@wm/components/base';\nimport { BaseDialog, DialogBodyDirective, DialogFooterDirective, DialogHeaderComponent } from '@wm/components/dialogs';\n\nimport { registerProps } from './iframe-dialog.props';\nimport { IframeComponent } from '@wm/components/basic';\nimport { ButtonComponent } from '@wm/components/input';\n\nconst DIALOG_CLS = 'app-dialog modal-dialog app-iframe-dialog';\nconst WIDGET_INFO = {widgetType: 'wm-iframedialog'};\n\n@Component({\n standalone: true,\n imports: [CommonModule, WmComponentsModule, IframeComponent, DialogBodyDirective, DialogFooterDirective, DialogHeaderComponent, ButtonComponent],\n selector: 'div[wmIframeDialog]',\n templateUrl: './iframe-dialog.component.html',\n providers: [\n provideAsWidgetRef(IframeDialogComponent),\n provideAsDialogRef(IframeDialogComponent)\n ]\n})\nexport class IframeDialogComponent extends BaseDialog implements OnInit {\n static initializeProps = registerProps();\n\n @ViewChild('dialogTemplate' , { static: true }) dialogTemplate: TemplateRef<any>;\n\n constructor(\n inj: Injector,\n @Attribute('class') dialogClass: string,\n @Attribute('modal') modal: string | boolean,\n @Attribute('closable') closable: string | boolean,\n @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any\n ) {\n if (modal === null || modal === undefined) {\n modal = false;\n }\n\n if (closable === null || closable === undefined) {\n closable = true;\n }\n\n // setting the backdrop to 'static' will not close the dialog on backdrop click\n const backdrop: boolean | 'static' = toBoolean(modal) ? 'static' : true;\n\n super(\n inj,\n WIDGET_INFO,\n {\n class: `${DIALOG_CLS} ${dialogClass || ''}`,\n backdrop,\n keyboard: !toBoolean(modal)\n },\n explicitContext\n );\n }\n\n protected getTemplateRef(): TemplateRef<any> {\n return this.dialogTemplate;\n }\n\n /**\n * Click event handler for the ok button\n * invokes on-ok event callback\n * @param {Event} $event\n */\n onOk($event: Event) {\n this.invokeEventCallback('ok', {$event});\n }\n\n ngOnInit() {\n super.ngOnInit();\n this.register(this.viewParent);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,iBAAiB,EACjB,IAAI,GAAG,CACH;QACI,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,UAAU,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,YAAY,EAAC,CAAC;QACzC,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,KAAK,EAAE,GAAG,YAAY,EAAC,CAAC;QAC9C,CAAC,QAAQ,EAAE,EAAC,KAAK,EAAE,OAAO,EAAE,GAAG,WAAW,EAAC,CAAC;QAC5C,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,aAAa,EAAE,WAAW,EAAC,CAAC;QAClD,CAAC,YAAY,EAAE,WAAW,CAAC;QAC3B,CAAC,YAAY,EAAE,WAAW,CAAC;QAC3B,CAAC,SAAS,EAAE,WAAW,CAAC;QACxB,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,OAAO,EAAE,EAAC,KAAK,EAAE,KAAK,EAAE,GAAG,YAAY,EAAC,CAAC;QAC1C,CAAC,MAAM,EAAE,WAAW,CAAC;QACrB,CAAC,QAAQ,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,GAAG,WAAW,EAAC,CAAC;QACzC,CAAC,aAAa,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,EAAC,CAAC;QAC/C,CAAC,YAAY,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,EAAC,CAAC;QAC9C,CAAC,UAAU,EAAE,EAAC,KAAK,EAAE,CAAC,EAAE,GAAG,WAAW,EAAC,CAAC;QACxC,CAAC,cAAc,EAAE,E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": {
|
|
8
8
|
"name": "@wavemaker/app-ng-runtime",
|
|
9
|
-
"version": "11.11.
|
|
9
|
+
"version": "11.11.6-rc.216",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": ">=18.16.1",
|
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker/app-ng-runtime",
|
|
3
|
-
"version": "11.11.
|
|
3
|
+
"version": "11.11.6-rc.216",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@wavemaker/app-ng-runtime",
|
|
9
|
-
"version": "11.11.
|
|
9
|
+
"version": "11.11.6-rc.216",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": ">=18.16.1",
|
package/package.json
CHANGED
|
@@ -2608,6 +2608,7 @@ $.widget('wm.datatable', {
|
|
|
2608
2608
|
}
|
|
2609
2609
|
sortInfo.direction = direction;
|
|
2610
2610
|
sortInfo.field = this.preparedHeaderData && this.preparedHeaderData[e.currentTarget.getAttribute('data-col-id')].sortby || field;
|
|
2611
|
+
sortInfo.sortBy = this.preparedHeaderData && this.preparedHeaderData[e.currentTarget.getAttribute('data-col-id')].sortby ? field : '';
|
|
2611
2612
|
if (direction !== '') {
|
|
2612
2613
|
this.preparedHeaderData[id].sortInfo = {'sorted': true, 'direction': direction};
|
|
2613
2614
|
}
|