@wavemaker/app-runtime-wm-build 11.4.3-next.25766 → 11.4.3-next.25767
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.
|
@@ -14525,7 +14525,7 @@
|
|
|
14525
14525
|
return {
|
|
14526
14526
|
pre: function(attrs) {
|
|
14527
14527
|
var counter = idGen$c.nextUid();
|
|
14528
|
-
return "<" + tagName$P + " wmButton #" + counter + '="wmButton" [attr.aria-label]="' + counter + ".hint || " + counter + '.caption" ' + transpiler.getAttrMarkup(attrs) + ">";
|
|
14528
|
+
return "<" + tagName$P + " wmButton #" + counter + '="wmButton" [attr.aria-label]="' + counter + ".hint || " + counter + '.caption || null" ' + transpiler.getAttrMarkup(attrs) + ">";
|
|
14529
14529
|
},
|
|
14530
14530
|
post: function() {
|
|
14531
14531
|
return "</" + tagName$P + ">";
|
|
@@ -35704,7 +35704,10 @@
|
|
|
35704
35704
|
value: "Link"
|
|
35705
35705
|
}, base.PROP_STRING) ], [ "class", base.PROP_STRING ], [ "conditionalclass", base.PROP_ANY ], [ "content", base.PROP_STRING ], [ "contentanimation", base.PROP_STRING ], [ "contentsource", Object.assign({
|
|
35706
35706
|
value: "partial"
|
|
35707
|
-
}, base.PROP_STRING) ], [ "encodeurl", base.PROP_BOOLEAN ], [ "hint", base.PROP_STRING ], [ "hyperlink",
|
|
35707
|
+
}, base.PROP_STRING) ], [ "encodeurl", base.PROP_BOOLEAN ], [ "hint", base.PROP_STRING ], [ "hyperlink", {
|
|
35708
|
+
value: "javascript:void(0)",
|
|
35709
|
+
PROP_STRING: base.PROP_STRING
|
|
35710
|
+
} ], [ "iconclass", base.PROP_STRING ], [ "iconheight", base.PROP_STRING ], [ "iconmargin", base.PROP_STRING ], [ "iconposition", base.PROP_STRING ], [ "iconurl", base.PROP_STRING ], [ "iconwidth", base.PROP_STRING ], [ "interaction", Object.assign({
|
|
35708
35711
|
value: "click"
|
|
35709
35712
|
}, base.PROP_STRING) ], [ "name", base.PROP_STRING ], [ "popoverarrow", Object.assign({
|
|
35710
35713
|
value: true
|
|
@@ -37168,7 +37171,7 @@
|
|
|
37168
37171
|
type: core$1.Component,
|
|
37169
37172
|
args: [ {
|
|
37170
37173
|
selector: "div[wmAlertDialog]",
|
|
37171
|
-
template: '<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]="closable"\n [iconclass]="iconclass"\n [iconurl]="iconurl"\n [iconwidth]="iconwidth"\n [iconheight]="iconheight"\n [iconmargin]="iconmargin"\n [heading]="title"\n [titleid]="titleId"></div>\n <div wmDialogBody>\n <p class="app-dialog-message text-{{alerttype}}" [
|
|
37174
|
+
template: '<ng-template #dialogTemplate>\n <div wmDialogHeader [closable]="closable"\n [iconclass]="iconclass"\n [iconurl]="iconurl"\n [iconwidth]="iconwidth"\n [iconheight]="iconheight"\n [iconmargin]="iconmargin"\n [heading]="title"\n [titleid]="titleId"></div>\n <div wmDialogBody>\n <p class="app-dialog-message text-{{alerttype}}" [textContent]="message"></p>\n </div>\n <div wmDialogFooter>\n <button wmButton class="btn-primary ok-action" caption.bind="oktext" aria-label="Submit button" (click)="onOk($event)"></button>\n </div>\n</ng-template>\n',
|
|
37172
37175
|
providers: [ base.provideAsWidgetRef(AlertDialogComponent), base.provideAsDialogRef(AlertDialogComponent) ]
|
|
37173
37176
|
} ]
|
|
37174
37177
|
} ];
|
|
@@ -38091,10 +38094,9 @@
|
|
|
38091
38094
|
value;
|
|
38092
38095
|
}
|
|
38093
38096
|
var registerProps = function() {
|
|
38094
|
-
base.register("wm-dialog", new Map([ [ "animation", base.PROP_STRING ], [ "class", base.PROP_STRING ], [ "closable", {
|
|
38095
|
-
value: true
|
|
38096
|
-
|
|
38097
|
-
} ], [ "iconclass", {
|
|
38097
|
+
base.register("wm-dialog", new Map([ [ "animation", base.PROP_STRING ], [ "class", base.PROP_STRING ], [ "closable", Object.assign({
|
|
38098
|
+
value: true
|
|
38099
|
+
}, base.PROP_BOOLEAN) ], [ "iconclass", {
|
|
38098
38100
|
value: "wi wi-file-text",
|
|
38099
38101
|
PROP_STRING: base.PROP_STRING
|
|
38100
38102
|
} ], [ "iconheight", base.PROP_STRING ], [ "iconmargin", base.PROP_STRING ], [ "iconurl", base.PROP_STRING ], [ "iconwidth", base.PROP_STRING ], [ "modal", Object.assign({
|
|
@@ -38129,7 +38131,7 @@
|
|
|
38129
38131
|
_this = _super.call(this, inj, WIDGET_INFO, {
|
|
38130
38132
|
class: DIALOG_CLS + " " + (dialogClass || ""),
|
|
38131
38133
|
backdrop: backdrop,
|
|
38132
|
-
keyboard: !core.toBoolean(modal)
|
|
38134
|
+
keyboard: core.toBoolean(closable) ? true : !core.toBoolean(modal)
|
|
38133
38135
|
}) || this;
|
|
38134
38136
|
return _this;
|
|
38135
38137
|
}
|