@wavemaker-ai/app-ng-runtime 1.0.0-rc.324 → 1.0.0-rc.326
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 +24 -9
- package/components/base/fesm2022/index.mjs +24 -9
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/base/index.d.ts +4 -1
- package/components/basic/anchor/bundles/index.umd.js +1 -1
- package/components/basic/anchor/fesm2022/index.mjs +1 -1
- package/components/basic/anchor/fesm2022/index.mjs.map +1 -1
- package/components/basic/icon/bundles/index.umd.js +1 -1
- package/components/basic/icon/fesm2022/index.mjs +1 -1
- package/components/basic/icon/fesm2022/index.mjs.map +1 -1
- package/components/basic/search/bundles/index.umd.js +1 -1
- package/components/basic/search/fesm2022/index.mjs +1 -1
- package/components/basic/search/fesm2022/index.mjs.map +1 -1
- package/components/basic/spinner/bundles/index.umd.js +1 -1
- package/components/basic/spinner/fesm2022/index.mjs +1 -1
- package/components/basic/spinner/fesm2022/index.mjs.map +1 -1
- package/components/chart/bundles/index.umd.js +1 -1
- package/components/chart/fesm2022/index.mjs +1 -1
- package/components/chart/fesm2022/index.mjs.map +1 -1
- package/components/containers/accordion/bundles/index.umd.js +1 -1
- package/components/containers/accordion/fesm2022/index.mjs +1 -1
- package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- package/components/containers/panel/bundles/index.umd.js +1 -1
- package/components/containers/panel/fesm2022/index.mjs +1 -1
- package/components/containers/panel/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/bundles/index.umd.js +1 -1
- package/components/containers/tabs/fesm2022/index.mjs +1 -1
- package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/bundles/index.umd.js +1 -1
- package/components/containers/wizard/fesm2022/index.mjs +1 -1
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/data/card/bundles/index.umd.js +1 -1
- package/components/data/card/fesm2022/index.mjs +1 -1
- package/components/data/card/fesm2022/index.mjs.map +1 -1
- package/components/data/form/bundles/index.umd.js +1 -1
- package/components/data/form/fesm2022/index.mjs +1 -1
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/list/bundles/index.umd.js +1 -1
- package/components/data/list/fesm2022/index.mjs +1 -1
- package/components/data/list/fesm2022/index.mjs.map +1 -1
- package/components/data/table/bundles/index.umd.js +9 -2
- package/components/data/table/fesm2022/index.mjs +9 -2
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/default/bundles/index.umd.js +1 -1
- package/components/dialogs/default/fesm2022/index.mjs +1 -1
- package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- package/components/input/button/bundles/index.umd.js +1 -1
- package/components/input/button/fesm2022/index.mjs +1 -1
- package/components/input/button/fesm2022/index.mjs.map +1 -1
- package/components/input/checkbox/bundles/index.umd.js +1 -1
- package/components/input/checkbox/fesm2022/index.mjs +1 -1
- package/components/input/checkbox/fesm2022/index.mjs.map +1 -1
- package/components/input/file-upload/bundles/index.umd.js +1 -1
- package/components/input/file-upload/fesm2022/index.mjs +1 -1
- package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- package/components/input/rating/bundles/index.umd.js +1 -1
- package/components/input/rating/fesm2022/index.mjs +1 -1
- package/components/input/rating/fesm2022/index.mjs.map +1 -1
- package/components/input/slider/bundles/index.umd.js +1 -1
- package/components/input/slider/fesm2022/index.mjs +1 -1
- package/components/input/slider/fesm2022/index.mjs.map +1 -1
- package/components/input/switch/bundles/index.umd.js +1 -1
- package/components/input/switch/fesm2022/index.mjs +1 -1
- package/components/input/switch/fesm2022/index.mjs.map +1 -1
- package/components/input/text/bundles/index.umd.js +1 -1
- package/components/input/text/fesm2022/index.mjs +1 -1
- package/components/input/text/fesm2022/index.mjs.map +1 -1
- package/components/navigation/breadcrumb/bundles/index.umd.js +3 -3
- package/components/navigation/breadcrumb/fesm2022/index.mjs +4 -4
- package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/bundles/index.umd.js +1 -1
- package/components/navigation/menu/fesm2022/index.mjs +1 -1
- package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- package/components/navigation/navbar/bundles/index.umd.js +1 -1
- package/components/navigation/navbar/fesm2022/index.mjs +1 -1
- package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- package/components/page/default/bundles/index.umd.js +1 -0
- package/components/page/default/fesm2022/index.mjs +1 -0
- package/components/page/default/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 +3 -3
|
@@ -502,6 +502,7 @@
|
|
|
502
502
|
onDeactivate: () => container.classList.remove('is-active'),
|
|
503
503
|
allowOutsideClick: allowOutsideClick,
|
|
504
504
|
setReturnFocus: setReturnFocusElement,
|
|
505
|
+
preventScroll: true,
|
|
505
506
|
});
|
|
506
507
|
};
|
|
507
508
|
/**
|
|
@@ -6086,14 +6087,14 @@
|
|
|
6086
6087
|
i0__namespace.ɵɵelement(0, "i", 0);
|
|
6087
6088
|
} if (rf & 2) {
|
|
6088
6089
|
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
6089
|
-
i0__namespace.ɵɵproperty("ngClass", ctx_r0._svgClasses)("ngStyle", ctx_r0.iconStyle)("iconUrl", ctx_r0.
|
|
6090
|
+
i0__namespace.ɵɵproperty("ngClass", ctx_r0._svgClasses)("ngStyle", ctx_r0.iconStyle)("iconUrl", ctx_r0._effectiveIconurl);
|
|
6090
6091
|
} }
|
|
6091
6092
|
function WmAppIconComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
6092
6093
|
i0__namespace.ɵɵelement(0, "img", 1);
|
|
6093
6094
|
i0__namespace.ɵɵpipe(1, "image");
|
|
6094
6095
|
} if (rf & 2) {
|
|
6095
6096
|
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
6096
|
-
i0__namespace.ɵɵproperty("ngClass", ctx_r0._imageClasses)("src", i0__namespace.ɵɵpipeBind1(1, 4, ctx_r0.
|
|
6097
|
+
i0__namespace.ɵɵproperty("ngClass", ctx_r0._imageClasses)("src", i0__namespace.ɵɵpipeBind1(1, 4, ctx_r0._effectiveIconurl), i0__namespace.ɵɵsanitizeUrl)("ngStyle", ctx_r0.iconStyle);
|
|
6097
6098
|
i0__namespace.ɵɵattribute("alt", ctx_r0.alt || "");
|
|
6098
6099
|
} }
|
|
6099
6100
|
function WmAppIconComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -6126,14 +6127,26 @@
|
|
|
6126
6127
|
* working - the wrapper element is layout-transparent.
|
|
6127
6128
|
*/
|
|
6128
6129
|
class WmAppIconComponent {
|
|
6130
|
+
get _effectiveIconurl() {
|
|
6131
|
+
if (this.iconurl) {
|
|
6132
|
+
return this.iconurl;
|
|
6133
|
+
}
|
|
6134
|
+
return isSvgIconUrl(this.icon) ? this.icon : null;
|
|
6135
|
+
}
|
|
6136
|
+
get _effectiveIconclass() {
|
|
6137
|
+
if (this.iconclass) {
|
|
6138
|
+
return this.iconclass;
|
|
6139
|
+
}
|
|
6140
|
+
return this.icon && !isSvgIconUrl(this.icon) ? this.icon : null;
|
|
6141
|
+
}
|
|
6129
6142
|
get _isSvg() {
|
|
6130
|
-
return isSvgIconUrl(this.
|
|
6143
|
+
return isSvgIconUrl(this._effectiveIconurl);
|
|
6131
6144
|
}
|
|
6132
6145
|
get _isImage() {
|
|
6133
|
-
return !!this.
|
|
6146
|
+
return !!this._effectiveIconurl && !this._isSvg;
|
|
6134
6147
|
}
|
|
6135
6148
|
get _fontClass() {
|
|
6136
|
-
return [this.defaultIconClass, this.
|
|
6149
|
+
return [this.defaultIconClass, this._effectiveIconclass]
|
|
6137
6150
|
.filter(Boolean)
|
|
6138
6151
|
.join(' ');
|
|
6139
6152
|
}
|
|
@@ -6159,7 +6172,7 @@
|
|
|
6159
6172
|
static { this.ɵfac = function WmAppIconComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WmAppIconComponent)(); }; }
|
|
6160
6173
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: WmAppIconComponent, selectors: [["wm-app-icon"]], hostVars: 2, hostBindings: function WmAppIconComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
6161
6174
|
i0__namespace.ɵɵstyleProp("display", "contents");
|
|
6162
|
-
} }, inputs: { iconclass: "iconclass", iconurl: "iconurl", defaultIconClass: "defaultIconClass", defaultClasses: "defaultClasses", iconStyle: "iconStyle", alt: "alt" }, decls: 3, vars: 1, consts: [["role", "img", "aria-hidden", "true", "data-identifier", "svg", 3, "ngClass", "ngStyle", "iconUrl"], ["data-identifier", "img", 3, "ngClass", "src", "ngStyle"], ["aria-hidden", "true", 3, "ngClass", "ngStyle"]], template: function WmAppIconComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6175
|
+
} }, inputs: { icon: "icon", iconclass: "iconclass", iconurl: "iconurl", defaultIconClass: "defaultIconClass", defaultClasses: "defaultClasses", iconStyle: "iconStyle", alt: "alt" }, decls: 3, vars: 1, consts: [["role", "img", "aria-hidden", "true", "data-identifier", "svg", 3, "ngClass", "ngStyle", "iconUrl"], ["data-identifier", "img", 3, "ngClass", "src", "ngStyle"], ["aria-hidden", "true", 3, "ngClass", "ngStyle"]], template: function WmAppIconComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6163
6176
|
i0__namespace.ɵɵconditionalCreate(0, WmAppIconComponent_Conditional_0_Template, 1, 3, "i", 0)(1, WmAppIconComponent_Conditional_1_Template, 2, 6, "img", 1)(2, WmAppIconComponent_Conditional_2_Template, 1, 2, "i", 2);
|
|
6164
6177
|
} if (rf & 2) {
|
|
6165
6178
|
i0__namespace.ɵɵconditional(ctx._isSvg ? 0 : ctx._isImage ? 1 : ctx._fontClass ? 2 : -1);
|
|
@@ -6182,12 +6195,12 @@
|
|
|
6182
6195
|
aria-hidden="true"
|
|
6183
6196
|
data-identifier="svg"
|
|
6184
6197
|
[ngStyle]="iconStyle"
|
|
6185
|
-
[iconUrl]="
|
|
6198
|
+
[iconUrl]="_effectiveIconurl"></i>
|
|
6186
6199
|
} @else if (_isImage) {
|
|
6187
6200
|
<img [ngClass]="_imageClasses"
|
|
6188
6201
|
data-identifier="img"
|
|
6189
6202
|
[attr.alt]="alt || ''"
|
|
6190
|
-
[src]="
|
|
6203
|
+
[src]="_effectiveIconurl | image"
|
|
6191
6204
|
[ngStyle]="iconStyle"/>
|
|
6192
6205
|
} @else if (_fontClass) {
|
|
6193
6206
|
<i [ngClass]="_fontClasses"
|
|
@@ -6196,7 +6209,9 @@
|
|
|
6196
6209
|
}
|
|
6197
6210
|
`
|
|
6198
6211
|
}]
|
|
6199
|
-
}], null, {
|
|
6212
|
+
}], null, { icon: [{
|
|
6213
|
+
type: i0.Input
|
|
6214
|
+
}], iconclass: [{
|
|
6200
6215
|
type: i0.Input
|
|
6201
6216
|
}], iconurl: [{
|
|
6202
6217
|
type: i0.Input
|
|
@@ -492,6 +492,7 @@ const setFocusTrap = (container, allowOutsideClick, setReturnFocusElement) => {
|
|
|
492
492
|
onDeactivate: () => container.classList.remove('is-active'),
|
|
493
493
|
allowOutsideClick: allowOutsideClick,
|
|
494
494
|
setReturnFocus: setReturnFocusElement,
|
|
495
|
+
preventScroll: true,
|
|
495
496
|
});
|
|
496
497
|
};
|
|
497
498
|
/**
|
|
@@ -6087,14 +6088,14 @@ function WmAppIconComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
6087
6088
|
i0.ɵɵelement(0, "i", 0);
|
|
6088
6089
|
} if (rf & 2) {
|
|
6089
6090
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
6090
|
-
i0.ɵɵproperty("ngClass", ctx_r0._svgClasses)("ngStyle", ctx_r0.iconStyle)("iconUrl", ctx_r0.
|
|
6091
|
+
i0.ɵɵproperty("ngClass", ctx_r0._svgClasses)("ngStyle", ctx_r0.iconStyle)("iconUrl", ctx_r0._effectiveIconurl);
|
|
6091
6092
|
} }
|
|
6092
6093
|
function WmAppIconComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
6093
6094
|
i0.ɵɵelement(0, "img", 1);
|
|
6094
6095
|
i0.ɵɵpipe(1, "image");
|
|
6095
6096
|
} if (rf & 2) {
|
|
6096
6097
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
6097
|
-
i0.ɵɵproperty("ngClass", ctx_r0._imageClasses)("src", i0.ɵɵpipeBind1(1, 4, ctx_r0.
|
|
6098
|
+
i0.ɵɵproperty("ngClass", ctx_r0._imageClasses)("src", i0.ɵɵpipeBind1(1, 4, ctx_r0._effectiveIconurl), i0.ɵɵsanitizeUrl)("ngStyle", ctx_r0.iconStyle);
|
|
6098
6099
|
i0.ɵɵattribute("alt", ctx_r0.alt || "");
|
|
6099
6100
|
} }
|
|
6100
6101
|
function WmAppIconComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -6127,14 +6128,26 @@ function WmAppIconComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
6127
6128
|
* working - the wrapper element is layout-transparent.
|
|
6128
6129
|
*/
|
|
6129
6130
|
class WmAppIconComponent {
|
|
6131
|
+
get _effectiveIconurl() {
|
|
6132
|
+
if (this.iconurl) {
|
|
6133
|
+
return this.iconurl;
|
|
6134
|
+
}
|
|
6135
|
+
return isSvgIconUrl(this.icon) ? this.icon : null;
|
|
6136
|
+
}
|
|
6137
|
+
get _effectiveIconclass() {
|
|
6138
|
+
if (this.iconclass) {
|
|
6139
|
+
return this.iconclass;
|
|
6140
|
+
}
|
|
6141
|
+
return this.icon && !isSvgIconUrl(this.icon) ? this.icon : null;
|
|
6142
|
+
}
|
|
6130
6143
|
get _isSvg() {
|
|
6131
|
-
return isSvgIconUrl(this.
|
|
6144
|
+
return isSvgIconUrl(this._effectiveIconurl);
|
|
6132
6145
|
}
|
|
6133
6146
|
get _isImage() {
|
|
6134
|
-
return !!this.
|
|
6147
|
+
return !!this._effectiveIconurl && !this._isSvg;
|
|
6135
6148
|
}
|
|
6136
6149
|
get _fontClass() {
|
|
6137
|
-
return [this.defaultIconClass, this.
|
|
6150
|
+
return [this.defaultIconClass, this._effectiveIconclass]
|
|
6138
6151
|
.filter(Boolean)
|
|
6139
6152
|
.join(' ');
|
|
6140
6153
|
}
|
|
@@ -6160,7 +6173,7 @@ class WmAppIconComponent {
|
|
|
6160
6173
|
static { this.ɵfac = function WmAppIconComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WmAppIconComponent)(); }; }
|
|
6161
6174
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WmAppIconComponent, selectors: [["wm-app-icon"]], hostVars: 2, hostBindings: function WmAppIconComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
6162
6175
|
i0.ɵɵstyleProp("display", "contents");
|
|
6163
|
-
} }, inputs: { iconclass: "iconclass", iconurl: "iconurl", defaultIconClass: "defaultIconClass", defaultClasses: "defaultClasses", iconStyle: "iconStyle", alt: "alt" }, decls: 3, vars: 1, consts: [["role", "img", "aria-hidden", "true", "data-identifier", "svg", 3, "ngClass", "ngStyle", "iconUrl"], ["data-identifier", "img", 3, "ngClass", "src", "ngStyle"], ["aria-hidden", "true", 3, "ngClass", "ngStyle"]], template: function WmAppIconComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6176
|
+
} }, inputs: { icon: "icon", iconclass: "iconclass", iconurl: "iconurl", defaultIconClass: "defaultIconClass", defaultClasses: "defaultClasses", iconStyle: "iconStyle", alt: "alt" }, decls: 3, vars: 1, consts: [["role", "img", "aria-hidden", "true", "data-identifier", "svg", 3, "ngClass", "ngStyle", "iconUrl"], ["data-identifier", "img", 3, "ngClass", "src", "ngStyle"], ["aria-hidden", "true", 3, "ngClass", "ngStyle"]], template: function WmAppIconComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6164
6177
|
i0.ɵɵconditionalCreate(0, WmAppIconComponent_Conditional_0_Template, 1, 3, "i", 0)(1, WmAppIconComponent_Conditional_1_Template, 2, 6, "img", 1)(2, WmAppIconComponent_Conditional_2_Template, 1, 2, "i", 2);
|
|
6165
6178
|
} if (rf & 2) {
|
|
6166
6179
|
i0.ɵɵconditional(ctx._isSvg ? 0 : ctx._isImage ? 1 : ctx._fontClass ? 2 : -1);
|
|
@@ -6183,12 +6196,12 @@ class WmAppIconComponent {
|
|
|
6183
6196
|
aria-hidden="true"
|
|
6184
6197
|
data-identifier="svg"
|
|
6185
6198
|
[ngStyle]="iconStyle"
|
|
6186
|
-
[iconUrl]="
|
|
6199
|
+
[iconUrl]="_effectiveIconurl"></i>
|
|
6187
6200
|
} @else if (_isImage) {
|
|
6188
6201
|
<img [ngClass]="_imageClasses"
|
|
6189
6202
|
data-identifier="img"
|
|
6190
6203
|
[attr.alt]="alt || ''"
|
|
6191
|
-
[src]="
|
|
6204
|
+
[src]="_effectiveIconurl | image"
|
|
6192
6205
|
[ngStyle]="iconStyle"/>
|
|
6193
6206
|
} @else if (_fontClass) {
|
|
6194
6207
|
<i [ngClass]="_fontClasses"
|
|
@@ -6197,7 +6210,9 @@ class WmAppIconComponent {
|
|
|
6197
6210
|
}
|
|
6198
6211
|
`
|
|
6199
6212
|
}]
|
|
6200
|
-
}], null, {
|
|
6213
|
+
}], null, { icon: [{
|
|
6214
|
+
type: Input
|
|
6215
|
+
}], iconclass: [{
|
|
6201
6216
|
type: Input
|
|
6202
6217
|
}], iconurl: [{
|
|
6203
6218
|
type: Input
|