@wavemaker/app-runtime-wm-build 11.5.0-next.1417087 → 11.5.0-next.141919
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-runtime-wm-build/package.json +1 -1
- app-runtime-wm-build/wmapp/scripts/wm-libs.js +1 -1
- app-runtime-wm-build/wmapp/scripts/wm-libs.min.js +1 -1
- app-runtime-wm-build/wmapp/scripts/wm-loader.js +18 -42
- app-runtime-wm-build/wmapp/scripts/wm-loader.min.js +9 -9
- app-runtime-wm-build/wmapp/styles/css/wm-style.css +1 -1
- app-runtime-wm-build/wmmobile/scripts/wm-libs.js +1 -1
- app-runtime-wm-build/wmmobile/scripts/wm-libs.min.js +1 -1
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.js +18 -42
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.min.js +9 -9
- app-runtime-wm-build/wmmobile/styles/css/wm-style.css +1 -1
|
@@ -199274,7 +199274,7 @@ window.requestAnimationFrame = function() {
|
|
|
199274
199274
|
var _this = this;
|
|
199275
199275
|
return new Promise((function(resolve, reject) {
|
|
199276
199276
|
requestParams["_source"] = "variable";
|
|
199277
|
-
variable.httpService.sendCall(requestParams, variable
|
|
199277
|
+
variable.httpService.sendCall(requestParams, variable).then((function(response) {
|
|
199278
199278
|
if (response && response.type || response && response.status) {
|
|
199279
199279
|
_this.setRequestTrackId(response, variable);
|
|
199280
199280
|
resolve(response);
|
|
@@ -4267,7 +4267,7 @@ i.version="2.29.4",o(Zn),i.fn=lo,i.min=er,i.max=tr,i.now=nr,i.utc=m,i.unix=co,i.
|
|
|
4267
4267
|
/*!*******************************************************!*\
|
|
4268
4268
|
!*** ./src/manager/variable/base-variable.manager.ts ***!
|
|
4269
4269
|
\*******************************************************/
|
|
4270
|
-
(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseVariableManager:()=>a});var r=n(/*! ./../../util/variable/variables.utils */"./src/util/variable/variables.utils.ts"),i=n(/*! lodash */"./node_modules/lodash/lodash.js"),o=n.n(i),a=function(){function e(){}return e.prototype.initBinding=function(e,t,n){},e.prototype.notifyInflight=function(e,t,n,i){r.appManager&&r.appManager.notify("toggle-variable-state",{variable:e,active:t,data:n,options:i})},e.prototype.setRequestTrackId=function(e,t){void 0===e&&(e={}),e.headers=e.headers||{};var n=e.headers.get&&e.headers.get("x-wm-request-track-id")||e.headers["x-wm-request-track-id"];n&&(t._requestTrackId=n)},e.prototype.httpCall=function(e,t,n){var r=this;return new Promise((function(i
|
|
4270
|
+
(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseVariableManager:()=>a});var r=n(/*! ./../../util/variable/variables.utils */"./src/util/variable/variables.utils.ts"),i=n(/*! lodash */"./node_modules/lodash/lodash.js"),o=n.n(i),a=function(){function e(){}return e.prototype.initBinding=function(e,t,n){},e.prototype.notifyInflight=function(e,t,n,i){r.appManager&&r.appManager.notify("toggle-variable-state",{variable:e,active:t,data:n,options:i})},e.prototype.setRequestTrackId=function(e,t){void 0===e&&(e={}),e.headers=e.headers||{};var n=e.headers.get&&e.headers.get("x-wm-request-track-id")||e.headers["x-wm-request-track-id"];n&&(t._requestTrackId=n)},e.prototype.httpCall=function(e,t,n){var r=this;return new Promise((function(n,i){e._source="variable",t.httpService.sendCall(e,t).then((function(e){(e&&e.type||e&&e.status)&&(r.setRequestTrackId(e,t),n(e))}),(function(e){r.setRequestTrackId(e,t),t.httpService.isPlatformSessionTimeout&&t.httpService.isPlatformSessionTimeout(e)?(r.notifyInflight(t,!1,e),e._401Subscriber.asObservable().subscribe((function(e){return n(e)}),(function(e){return i(e)}))):i(e)}))}))},e.prototype.prepareCallbackOptions=function(e,t){var n={};return n.xhrObj=e,t&&o().extend(n,t),n},e}()},"./src/manager/variable/crud-variable.manager.ts":
|
|
4271
4271
|
/*!*******************************************************!*\
|
|
4272
4272
|
!*** ./src/manager/variable/crud-variable.manager.ts ***!
|
|
4273
4273
|
\*******************************************************/
|
|
@@ -7243,14 +7243,14 @@
|
|
|
7243
7243
|
}
|
|
7244
7244
|
return new http.HttpRequest(options.method, options.url, third, fourth);
|
|
7245
7245
|
};
|
|
7246
|
-
HttpServiceImpl.prototype.sendCallAsObservable = function(options
|
|
7246
|
+
HttpServiceImpl.prototype.sendCallAsObservable = function(options) {
|
|
7247
7247
|
var req = this.generateRequest(options);
|
|
7248
7248
|
return this.httpClient.request(req);
|
|
7249
7249
|
};
|
|
7250
|
-
HttpServiceImpl.prototype.sendCall = function(requestParams, variable
|
|
7250
|
+
HttpServiceImpl.prototype.sendCall = function(requestParams, variable) {
|
|
7251
7251
|
var _this = this;
|
|
7252
7252
|
return new Promise((function(resolve, reject) {
|
|
7253
|
-
variable._observable = _this.sendCallAsObservable(requestParams
|
|
7253
|
+
variable._observable = _this.sendCallAsObservable(requestParams).subscribe((function(response) {
|
|
7254
7254
|
if (response && response.type) {
|
|
7255
7255
|
resolve(response);
|
|
7256
7256
|
}
|
|
@@ -12533,11 +12533,7 @@
|
|
|
12533
12533
|
};
|
|
12534
12534
|
this.widgetControl.setAsyncValidators([ this._asyncValidatorFn() ]);
|
|
12535
12535
|
if (this.widgetContext.ngform.touched) {
|
|
12536
|
-
|
|
12537
|
-
if (this.formwidget && this.instance.value === this.formwidget.prevDatavalue) {
|
|
12538
|
-
opt["emitEvent"] = false;
|
|
12539
|
-
}
|
|
12540
|
-
this.widgetControl.updateValueAndValidity(opt);
|
|
12536
|
+
this.widgetControl.updateValueAndValidity();
|
|
12541
12537
|
}
|
|
12542
12538
|
};
|
|
12543
12539
|
BaseFieldValidations.prototype.isDefaultValidator = function(type) {
|
|
@@ -12594,12 +12590,8 @@
|
|
|
12594
12590
|
BaseFieldValidations.prototype.validate = function() {
|
|
12595
12591
|
this.applyDefaultValidators();
|
|
12596
12592
|
if (this._asyncValidatorFn) {
|
|
12597
|
-
var opt = {};
|
|
12598
|
-
if (this.formwidget && this.instance.value === this.formwidget.prevDatavalue) {
|
|
12599
|
-
opt["emitEvent"] = false;
|
|
12600
|
-
}
|
|
12601
12593
|
this.widgetControl.setAsyncValidators([ this._asyncValidatorFn() ]);
|
|
12602
|
-
this.widgetControl.updateValueAndValidity(
|
|
12594
|
+
this.widgetControl.updateValueAndValidity();
|
|
12603
12595
|
}
|
|
12604
12596
|
if (this.widgetContext.ngform.touched) {
|
|
12605
12597
|
this.widgetControl.markAsTouched();
|
|
@@ -12618,12 +12610,8 @@
|
|
|
12618
12610
|
};
|
|
12619
12611
|
BaseFieldValidations.prototype.applyDefaultValidators = function() {
|
|
12620
12612
|
var validators = this.getDefaultValidators();
|
|
12621
|
-
var opt = {};
|
|
12622
|
-
if (this.formwidget && this.instance.value === this.formwidget.prevDatavalue) {
|
|
12623
|
-
opt["emitEvent"] = false;
|
|
12624
|
-
}
|
|
12625
12613
|
this.widgetControl.setValidators(_.concat(this._syncValidators || [], validators));
|
|
12626
|
-
this.widgetControl.updateValueAndValidity(
|
|
12614
|
+
this.widgetControl.updateValueAndValidity();
|
|
12627
12615
|
this.setCustomValidationMessage();
|
|
12628
12616
|
};
|
|
12629
12617
|
BaseFieldValidations.prototype.setCustomValidationMessage = function() {
|
|
@@ -14525,7 +14513,7 @@
|
|
|
14525
14513
|
return {
|
|
14526
14514
|
pre: function(attrs) {
|
|
14527
14515
|
var counter = idGen$c.nextUid();
|
|
14528
|
-
return "<" + tagName$P + " wmButton #" + counter + '="wmButton" [attr.aria-label]="' + counter + ".hint || " + counter + '.caption
|
|
14516
|
+
return "<" + tagName$P + " wmButton #" + counter + '="wmButton" [attr.aria-label]="' + counter + ".hint || " + counter + '.caption" ' + transpiler.getAttrMarkup(attrs) + ">";
|
|
14529
14517
|
},
|
|
14530
14518
|
post: function() {
|
|
14531
14519
|
return "</" + tagName$P + ">";
|
|
@@ -22717,7 +22705,7 @@
|
|
|
22717
22705
|
type: core$1.Component,
|
|
22718
22706
|
args: [ {
|
|
22719
22707
|
selector: "[wmSearch]",
|
|
22720
|
-
template: '<ng-template #customItemTemplate let-model="item" let-index="index" let-query="query" let-match="match">\n \x3c!-- Default item template --\x3e\n <a *ngIf="!content">\n <img *ngIf="model.imgSrc" [src]="model.imgSrc" alt="Search" [style.width]="imagewidth">\n <span [title]="model.label" [innerHtml]="highlight(match, query) || model.label"></span>\n </a>\n \x3c!-- Custom partial template --\x3e\n <a *ngIf="content" [ngClass]="{customTemplate: content}" partialContainer [wmItemTemplate]="content" [userComponentParams]="match.item">\n <div partial-container-target></div>\n </a>\n</ng-template>\n\n<ng-template #customListTemplate let-matches="matches" let-itemTemplate="itemTemplate" let-query="query">\n <ul #ulElement class="app-search dropdown-menu" scrollable>\n <li #liElements *ngFor="let match of matches" [ngClass]="{active: typeaheadContainer && typeaheadContainer.isActive(match), \'list-group-header\': match && match.isHeader()}"\n (mouseenter)="typeaheadContainer.selectActive(match);"\n (click)="match && !match.isHeader() && typeaheadContainer.selectMatch(match, $event); $typeaheadEvent = $event; notifySubscriber();">\n \x3c!-- itemTemplate comes from the <input> --\x3e\n <h4 *ngIf="match.isHeader()" class="group-title">{{match.value}}</h4>\n <ng-container *ngIf="!match.isHeader()" [ngTemplateOutlet]="itemTemplate"\n [ngTemplateOutletContext]="{item: match.item, index: i, match: match, query: query}">\n </ng-container>\n </li>\n <div class="status" [hidden]="_loadingItems || !(datacompletemsg && dataProvider.isLastPage)">\n <span [textContent]="datacompletemsg"></span>\n </div>\n <div class="status" [hidden]="!_loadingItems">\n <i class="fa fa-circle-o-notch fa-spin"></i>\n <span [textContent]="loadingdatamsg"></span>\n </div>\n </ul>\n</ng-template>\n\n\x3c!--This template is for search inside mobile navbar.--\x3e\n<ng-container *ngIf="navsearchbar; else searchTemplate">\n <input [title]="query || \'\'" type="text" class="app-textbox form-control list-of-objs app-search-input" [placeholder]="placeholder || \'\'"\n focus-target\n container="body"\n [disabled]="disabled"\n autocomplete="off"\n [(ngModel)]="query"\n [readonly]="readonly"\n [disabled]="disabled"\n [typeahead]="typeaheadDataSource"\n [typeaheadWaitMs]="debouncetime"\n [typeaheadItemTemplate]="customItemTemplate"\n [optionsListTemplate]="customListTemplate"\n (input)="onInputChange($event)"\n (keydown)="listenQuery = true"\n (keydown.enter)="$typeaheadEvent = $event;handleEnterEvent($event)"\n (keydown.arrowdown)="selectNext($event)"\n (blur)="invokeOnTouched($event)"\n (click)="handleFocus($event);"\n (focus)="_unsubscribeDv = false; listenQuery = true; handleFocus($event); invokeOnFocus($event);"\n (focusout)="onFocusOut()"\n [typeaheadMinLength]="minchars"\n [typeaheadOptionsLimit]="limit"\n (typeaheadLoading)="_loadingItems"\n (typeaheadOnSelect)="typeaheadOnSelect($event)"\n typeaheadOptionField="label"\n [typeaheadGroupField]="groupby ? \'groupby\' : null"\n [typeaheadAsync]="true"\n [typeaheadScrollable]="true"\n [
|
|
22708
|
+
template: '<ng-template #customItemTemplate let-model="item" let-index="index" let-query="query" let-match="match">\n \x3c!-- Default item template --\x3e\n <a *ngIf="!content">\n <img *ngIf="model.imgSrc" [src]="model.imgSrc" alt="Search" [style.width]="imagewidth">\n <span [title]="model.label" [innerHtml]="highlight(match, query) || model.label"></span>\n </a>\n \x3c!-- Custom partial template --\x3e\n <a *ngIf="content" [ngClass]="{customTemplate: content}" partialContainer [wmItemTemplate]="content" [userComponentParams]="match.item">\n <div partial-container-target></div>\n </a>\n</ng-template>\n\n<ng-template #customListTemplate let-matches="matches" let-itemTemplate="itemTemplate" let-query="query">\n <ul #ulElement class="app-search dropdown-menu" scrollable>\n <li #liElements *ngFor="let match of matches" [ngClass]="{active: typeaheadContainer && typeaheadContainer.isActive(match), \'list-group-header\': match && match.isHeader()}"\n (mouseenter)="typeaheadContainer.selectActive(match);"\n (click)="match && !match.isHeader() && typeaheadContainer.selectMatch(match, $event); $typeaheadEvent = $event; notifySubscriber();">\n \x3c!-- itemTemplate comes from the <input> --\x3e\n <h4 *ngIf="match.isHeader()" class="group-title">{{match.value}}</h4>\n <ng-container *ngIf="!match.isHeader()" [ngTemplateOutlet]="itemTemplate"\n [ngTemplateOutletContext]="{item: match.item, index: i, match: match, query: query}">\n </ng-container>\n </li>\n <div class="status" [hidden]="_loadingItems || !(datacompletemsg && dataProvider.isLastPage)">\n <span [textContent]="datacompletemsg"></span>\n </div>\n <div class="status" [hidden]="!_loadingItems">\n <i class="fa fa-circle-o-notch fa-spin"></i>\n <span [textContent]="loadingdatamsg"></span>\n </div>\n </ul>\n</ng-template>\n\n\x3c!--This template is for search inside mobile navbar.--\x3e\n<ng-container *ngIf="navsearchbar; else searchTemplate">\n <input [title]="query || \'\'" type="text" class="app-textbox form-control list-of-objs app-search-input" [placeholder]="placeholder || \'\'"\n focus-target\n container="body"\n [disabled]="disabled"\n autocomplete="off"\n [(ngModel)]="query"\n [readonly]="readonly"\n [disabled]="disabled"\n [typeahead]="typeaheadDataSource"\n [typeaheadWaitMs]="debouncetime"\n [typeaheadItemTemplate]="customItemTemplate"\n [optionsListTemplate]="customListTemplate"\n (input)="onInputChange($event)"\n (keydown)="listenQuery = true"\n (keydown.enter)="$typeaheadEvent = $event;handleEnterEvent($event)"\n (keydown.arrowdown)="selectNext($event)"\n (blur)="invokeOnTouched($event)"\n (click)="handleFocus($event);"\n (focus)="_unsubscribeDv = false; listenQuery = true; handleFocus($event); invokeOnFocus($event);"\n (focusout)="onFocusOut()"\n [typeaheadMinLength]="minchars"\n [typeaheadOptionsLimit]="limit"\n (typeaheadLoading)="_loadingItems"\n (typeaheadOnSelect)="typeaheadOnSelect($event)"\n typeaheadOptionField="label"\n [typeaheadGroupField]="groupby ? \'groupby\' : null"\n [typeaheadAsync]="true"\n [typeaheadScrollable]="true"\n [typeaheadOptionsInScrollableView]="optionslimitinscrollableview"\n [dropup]="dropup"\n [tabindex]="tabindex"\n [attr.name]="name"\n [attr.aria-label]="hint || \'Search field\'"/>\n <i class="btn-close wi wi-cancel" [hidden]="!showClosebtn" (click)="clearSearch($event);"></i>\n</ng-container>\n\x3c!--This template is for both web and fullscreen mode in mobile.--\x3e\n<ng-template #searchTemplate>\n <span class="wi wi-arrow-left form-control-feedback back-btn" aria-hidden="true" (click)="closeSearch()"></span>\n <span class="sr-only">Back button</span>\n <input [title]="query || \'\'" type="text" class="app-textbox form-control list-of-objs app-search-input" [placeholder]="placeholder || \'\'"\n focus-target\n [container]="containerTarget || \'body\'"\n [disabled]="disabled"\n autocomplete="off"\n [(ngModel)]="query"\n [readonly]="readonly"\n [typeahead]="typeaheadDataSource"\n [typeaheadWaitMs]="debouncetime"\n [typeaheadItemTemplate]="customItemTemplate"\n [optionsListTemplate]="customListTemplate"\n (input)="onInputChange($event)"\n (keydown)="listenQuery = true"\n (keydown.enter)="$typeaheadEvent = $event;handleEnterEvent($event)"\n (keydown.arrowdown)="selectNext($event)"\n (blur)="invokeOnTouched($event); onFocusOut()"\n (click)="handleFocus($event);"\n (focus)="_unsubscribeDv = false; listenQuery = true; handleFocus($event); invokeOnFocus($event)"\n [typeaheadMinLength]="minchars"\n [typeaheadOptionsLimit]="limit"\n (typeaheadLoading)="_loadingItems"\n (typeaheadOnSelect)="typeaheadOnSelect($event)"\n typeaheadOptionField="label"\n [typeaheadGroupField]="groupby ? \'groupby\' : null"\n [typeaheadAsync]="true"\n [typeaheadScrollable]="true"\n [typeaheadOptionsInScrollableView]="optionslimitinscrollableview"\n [tabindex]="tabindex"\n [dropup]="dropup"\n [attr.name]="name"\n [attr.aria-label]="hint || \'Search field\'">\n <input class="model-holder" ng-model="proxyModel" ng-required="required" tabindex="-1" aria-hidden="true">\n <span *ngIf="_loadingItems" aria-hidden="true" class="fa fa-circle-o-notch fa-spin form-control-feedback"></span>\n <span class="wi wi-close form-control-feedback clear-btn" [ngClass]="{\'show-btn\': isQueryEntered()}" (click)="clearSearch($event, true)"></span>\n <span class="sr-only">Clear button</span>\n <span *ngIf="showsearchicon" class="input-group-addon" aria-label="search icon" [ngClass]="{\'disabled\': disabled}">\n <form>\n <button title="Search" [disabled]="disabled" class="app-search-button wm-sl-l sl-search" type="submit"\n (click)="onSearchSelect($event)"></button>\n </form>\n </span>\n</ng-template>\n',
|
|
22721
22709
|
providers: [ base.provideAs(SearchComponent, forms.NG_VALUE_ACCESSOR, true), base.provideAs(SearchComponent, forms.NG_VALIDATORS, true), base.provideAsWidgetRef(SearchComponent) ]
|
|
22722
22710
|
} ]
|
|
22723
22711
|
} ];
|
|
@@ -28160,7 +28148,7 @@
|
|
|
28160
28148
|
}, base.PROP_BOOLEAN) ], [ "clearbutton", Object.assign({
|
|
28161
28149
|
value: true
|
|
28162
28150
|
}, base.PROP_BOOLEAN) ], [ "adaptiveposition", Object.assign({
|
|
28163
|
-
value:
|
|
28151
|
+
value: false
|
|
28164
28152
|
}, base.PROP_BOOLEAN) ], [ "todaybuttonlabel", Object.assign({
|
|
28165
28153
|
value: "LABEL_TODAY_DATE"
|
|
28166
28154
|
}, base.PROP_STRING) ], [ "clearbuttonlabel", Object.assign({
|
|
@@ -28249,8 +28237,6 @@
|
|
|
28249
28237
|
if (isNativePicker === void 0) {
|
|
28250
28238
|
isNativePicker = false;
|
|
28251
28239
|
}
|
|
28252
|
-
this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
|
|
28253
|
-
this.updateFormat("datepattern");
|
|
28254
28240
|
if (this.isEnterPressedOnDateInput) {
|
|
28255
28241
|
this.isEnterPressedOnDateInput = false;
|
|
28256
28242
|
return;
|
|
@@ -28356,8 +28342,6 @@
|
|
|
28356
28342
|
}), 350);
|
|
28357
28343
|
};
|
|
28358
28344
|
DateComponent.prototype.onDisplayKeydown = function(event) {
|
|
28359
|
-
this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
|
|
28360
|
-
this.updateFormat("datepattern");
|
|
28361
28345
|
if (this.isDropDownDisplayEnabledOnInput(this.showdropdownon)) {
|
|
28362
28346
|
event.stopPropagation();
|
|
28363
28347
|
var action = this.keyEventPlugin.constructor.getEventFullKey(event);
|
|
@@ -28390,8 +28374,6 @@
|
|
|
28390
28374
|
}
|
|
28391
28375
|
};
|
|
28392
28376
|
DateComponent.prototype.onDateChange = function(newVal) {
|
|
28393
|
-
this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
|
|
28394
|
-
this.updateFormat("datepattern");
|
|
28395
28377
|
if (this._bsDefaultLoadCheck) {
|
|
28396
28378
|
this._bsDefaultLoadCheck = false;
|
|
28397
28379
|
return;
|
|
@@ -28460,7 +28442,7 @@
|
|
|
28460
28442
|
}, base.PROP_BOOLEAN) ], [ "clearbutton", Object.assign({
|
|
28461
28443
|
value: true
|
|
28462
28444
|
}, base.PROP_BOOLEAN) ], [ "adaptiveposition", Object.assign({
|
|
28463
|
-
value:
|
|
28445
|
+
value: false
|
|
28464
28446
|
}, base.PROP_BOOLEAN) ], [ "todaybuttonlabel", Object.assign({
|
|
28465
28447
|
value: "LABEL_TODAY_DATE"
|
|
28466
28448
|
}, base.PROP_STRING) ], [ "clearbuttonlabel", Object.assign({
|
|
@@ -35704,10 +35686,7 @@
|
|
|
35704
35686
|
value: "Link"
|
|
35705
35687
|
}, base.PROP_STRING) ], [ "class", base.PROP_STRING ], [ "conditionalclass", base.PROP_ANY ], [ "content", base.PROP_STRING ], [ "contentanimation", base.PROP_STRING ], [ "contentsource", Object.assign({
|
|
35706
35688
|
value: "partial"
|
|
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({
|
|
35689
|
+
}, base.PROP_STRING) ], [ "encodeurl", base.PROP_BOOLEAN ], [ "hint", base.PROP_STRING ], [ "hyperlink", base.PROP_STRING ], [ "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({
|
|
35711
35690
|
value: "click"
|
|
35712
35691
|
}, base.PROP_STRING) ], [ "name", base.PROP_STRING ], [ "popoverarrow", Object.assign({
|
|
35713
35692
|
value: true
|
|
@@ -37171,7 +37150,7 @@
|
|
|
37171
37150
|
type: core$1.Component,
|
|
37172
37151
|
args: [ {
|
|
37173
37152
|
selector: "div[wmAlertDialog]",
|
|
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',
|
|
37153
|
+
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}}" [attr.aria-describedby]="message" [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',
|
|
37175
37154
|
providers: [ base.provideAsWidgetRef(AlertDialogComponent), base.provideAsDialogRef(AlertDialogComponent) ]
|
|
37176
37155
|
} ]
|
|
37177
37156
|
} ];
|
|
@@ -38094,9 +38073,10 @@
|
|
|
38094
38073
|
value;
|
|
38095
38074
|
}
|
|
38096
38075
|
var registerProps = function() {
|
|
38097
|
-
base.register("wm-dialog", new Map([ [ "animation", base.PROP_STRING ], [ "class", base.PROP_STRING ], [ "closable",
|
|
38098
|
-
value: true
|
|
38099
|
-
|
|
38076
|
+
base.register("wm-dialog", new Map([ [ "animation", base.PROP_STRING ], [ "class", base.PROP_STRING ], [ "closable", {
|
|
38077
|
+
value: true,
|
|
38078
|
+
PROP_BOOLEAN: base.PROP_BOOLEAN
|
|
38079
|
+
} ], [ "iconclass", {
|
|
38100
38080
|
value: "wi wi-file-text",
|
|
38101
38081
|
PROP_STRING: base.PROP_STRING
|
|
38102
38082
|
} ], [ "iconheight", base.PROP_STRING ], [ "iconmargin", base.PROP_STRING ], [ "iconurl", base.PROP_STRING ], [ "iconwidth", base.PROP_STRING ], [ "modal", Object.assign({
|
|
@@ -38131,7 +38111,7 @@
|
|
|
38131
38111
|
_this = _super.call(this, inj, WIDGET_INFO, {
|
|
38132
38112
|
class: DIALOG_CLS + " " + (dialogClass || ""),
|
|
38133
38113
|
backdrop: backdrop,
|
|
38134
|
-
keyboard:
|
|
38114
|
+
keyboard: !core.toBoolean(modal)
|
|
38135
38115
|
}) || this;
|
|
38136
38116
|
return _this;
|
|
38137
38117
|
}
|
|
@@ -46934,9 +46914,6 @@
|
|
|
46934
46914
|
}
|
|
46935
46915
|
} else {
|
|
46936
46916
|
this.resetPageNavigation();
|
|
46937
|
-
if (newVal === "" || newVal === undefined || _.get(this.datasource, "category") === "wm.Variable") {
|
|
46938
|
-
this.variableInflight = false;
|
|
46939
|
-
}
|
|
46940
46917
|
if (!this.variableInflight) {
|
|
46941
46918
|
this.callDataGridMethod("setStatus", "nodata", this.nodatamessage);
|
|
46942
46919
|
}
|
|
@@ -47076,7 +47053,7 @@
|
|
|
47076
47053
|
};
|
|
47077
47054
|
TableComponent.prototype.setGridData = function(serverData) {
|
|
47078
47055
|
var data = this.filternullrecords ? this.removeEmptyRecords(serverData) : serverData;
|
|
47079
|
-
if (_.get(this.datasource, "category") === "wm.Variable"
|
|
47056
|
+
if (_.get(this.datasource, "category") === "wm.Variable") {
|
|
47080
47057
|
this.variableInflight = false;
|
|
47081
47058
|
}
|
|
47082
47059
|
if (!this.variableInflight) {
|
|
@@ -64993,7 +64970,6 @@
|
|
|
64993
64970
|
variables.wmSetDependency("oAuth", this.oAuthService);
|
|
64994
64971
|
variables.wmSetDependency("security", this.securityService);
|
|
64995
64972
|
variables.wmSetDependency("metadata", this.metadataService);
|
|
64996
|
-
variables.wmSetDependency("http", this.httpService);
|
|
64997
64973
|
}
|
|
64998
64974
|
VariablesService.prototype.bulkCancel = function(collection) {
|
|
64999
64975
|
Object.keys(collection).forEach((function(name) {
|