@wavemaker/app-runtime-wm-build 11.4.0-next.1417012 → 11.4.0-next.1417014
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 +7918 -5913
- app-runtime-wm-build/wmapp/scripts/wm-libs.min.js +16 -3
- app-runtime-wm-build/wmapp/scripts/wm-loader.js +17 -19
- app-runtime-wm-build/wmapp/scripts/wm-loader.min.js +4 -4
- app-runtime-wm-build/wmmobile/scripts/wm-libs.js +7918 -5913
- app-runtime-wm-build/wmmobile/scripts/wm-libs.min.js +175 -162
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.js +22 -22
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.min.js +21 -21
|
@@ -14209,7 +14209,7 @@
|
|
|
14209
14209
|
} else {
|
|
14210
14210
|
setDefaultPlaceholder(attrs, widgetType, 2);
|
|
14211
14211
|
}
|
|
14212
|
-
return "<" + tagName$X + ' data-role="' + dataRole + '" [formGroup]="' + pCounter + '.ngform" wmFormField captionPosition #' + counter + '="wmFormField" widgettype="' + widgetType + '" ' + transpiler.getFormMarkupAttr(attrs) + '>\n <div class="live-field form-group app-composite-widget clearfix caption-{{' + pCounter + '.captionposition}}" widget="' + widgetType + '">\n <label [hidden]="!' + counter + '.displayname" class="app-label control-label formfield-label {{' + pCounter + '._captionClass}}"\n [ngStyle]="{width: ' + pCounter + ".captionsize}\" [ngClass]=\"{'text-danger': " + counter + "._control?.invalid && " + counter + "._control?.touched && " + pCounter + ".isUpdateMode,\n required: " + pCounter + ".isUpdateMode && " + counter + '.required}" [textContent]="' + counter + '.displayname"> </label>\n <div [ngClass]="' + counter + ".displayname ? " + pCounter + "._widgetClass : '" + controlLayout + '\'">\n <label class="form-control-static app-label"
|
|
14212
|
+
return "<" + tagName$X + ' data-role="' + dataRole + '" [formGroup]="' + pCounter + '.ngform" wmFormField captionPosition #' + counter + '="wmFormField" widgettype="' + widgetType + '" ' + transpiler.getFormMarkupAttr(attrs) + '>\n <div class="live-field form-group app-composite-widget clearfix caption-{{' + pCounter + '.captionposition}}" widget="' + widgetType + '">\n <label [hidden]="!' + counter + '.displayname" class="app-label control-label formfield-label {{' + pCounter + '._captionClass}}"\n [ngStyle]="{width: ' + pCounter + ".captionsize}\" [ngClass]=\"{'text-danger': " + counter + "._control?.invalid && " + counter + "._control?.touched && " + pCounter + ".isUpdateMode,\n required: " + pCounter + ".isUpdateMode && " + counter + '.required}" [textContent]="' + counter + '.displayname"> </label>\n <div [ngClass]="' + counter + ".displayname ? " + pCounter + "._widgetClass : '" + controlLayout + '\'">\n <label class="form-control-static app-label"\n [hidden]="' + pCounter + ".isUpdateMode || " + counter + ".viewmodewidget === 'default' || " + counter + ".widgettype === 'upload'\" [innerHTML]=\"" + getCaptionByWidget(attrs, widgetType, counter) + '"></label>\n ' + getTemplate(attrs, widgetType, eventsTmpl, counter, pCounter, isInList) + '\n <span aria-hidden="true" *ngIf="' + counter + '.showPendingSpinner" class="form-field-spinner fa fa-circle-o-notch fa-spin form-control-feedback"></span>\n <p *ngIf="!(' + counter + "._control?.invalid && " + counter + "._control?.touched) && " + pCounter + '.isUpdateMode"\n class="help-block" aria-hidden="true" role="alert" aria-live="polite" [textContent]="' + counter + '.hint"></p>\n ' + validationMsg + "\n </div>\n </div>";
|
|
14213
14213
|
},
|
|
14214
14214
|
post: function() {
|
|
14215
14215
|
return "</" + tagName$X + ">";
|
|
@@ -21253,8 +21253,8 @@
|
|
|
21253
21253
|
var \u02750 = getChangeEvt;
|
|
21254
21254
|
var overrideSummerNote = function() {
|
|
21255
21255
|
if (!$.summernote.__overidden) {
|
|
21256
|
-
var origFn_1 = $.summernote.
|
|
21257
|
-
$.summernote.
|
|
21256
|
+
var origFn_1 = $.summernote.ui_template().button.bind($.summernote);
|
|
21257
|
+
$.summernote.ui_template.button = function() {
|
|
21258
21258
|
var args = [];
|
|
21259
21259
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
21260
21260
|
args[_i] = arguments[_i];
|
|
@@ -44220,10 +44220,15 @@
|
|
|
44220
44220
|
var dataSource = this.datasource;
|
|
44221
44221
|
if (dataSource && dataSource.execute(core.DataSource.Operation.IS_API_AWARE) && core.isDataSourceEqual(data.variable, dataSource)) {
|
|
44222
44222
|
this.ngZone.run((function() {
|
|
44223
|
-
var _a;
|
|
44223
|
+
var _a, _b, _c;
|
|
44224
44224
|
_this.handleStateParams(data);
|
|
44225
44225
|
_this.variableInflight = data.active;
|
|
44226
|
-
|
|
44226
|
+
var totalEle = (_b = (_a = data.data) === null || _a === void 0 ? void 0 : _a.pagination) === null || _b === void 0 ? void 0 : _b.totalElements;
|
|
44227
|
+
if (!_.isUndefined(totalEle)) {
|
|
44228
|
+
_this.noDataFound = totalEle === 0 ? true : false;
|
|
44229
|
+
} else {
|
|
44230
|
+
_this.noDataFound = _.isEmpty((_c = data.data) === null || _c === void 0 ? void 0 : _c.data);
|
|
44231
|
+
}
|
|
44227
44232
|
}));
|
|
44228
44233
|
}
|
|
44229
44234
|
};
|
|
@@ -44293,10 +44298,10 @@
|
|
|
44293
44298
|
}
|
|
44294
44299
|
};
|
|
44295
44300
|
ListComponent.prototype.updateFieldDefs = function(newVal) {
|
|
44296
|
-
var
|
|
44301
|
+
var _d;
|
|
44297
44302
|
if (this.infScroll || this.onDemandLoad) {
|
|
44298
|
-
|
|
44299
|
-
this.currentPage =
|
|
44303
|
+
_d = __read(this.paginationService.updateFieldsOnPagination(this, newVal), 2), this.fieldDefs = _d[0],
|
|
44304
|
+
this.currentPage = _d[1];
|
|
44300
44305
|
} else {
|
|
44301
44306
|
this.fieldDefs = newVal;
|
|
44302
44307
|
}
|
|
@@ -62817,7 +62822,8 @@
|
|
|
62817
62822
|
}), maxWaitTime * 1e3);
|
|
62818
62823
|
document.addEventListener("backbutton", this.executeBackTapListeners.bind(this));
|
|
62819
62824
|
if (i2.hasCordova()) {
|
|
62820
|
-
var
|
|
62825
|
+
var port = location.port ? ":" + location.port : "";
|
|
62826
|
+
var configUrl = location.protocol + "//" + location.hostname + port + (i2.isIos() ? "" : "/_www") + "/config.json";
|
|
62821
62827
|
i2.fetchContent("json", configUrl, true, (function(response) {
|
|
62822
62828
|
if (!response.error && response.baseUrl) {
|
|
62823
62829
|
_this._config = response;
|
|
@@ -70002,9 +70008,9 @@
|
|
|
70002
70008
|
}));
|
|
70003
70009
|
|
|
70004
70010
|
(function(global, factory) {
|
|
70005
|
-
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("@wm/core"), require("angular2-websocket/angular2-websocket"), require("@metrichor/jmespath"), require("@angular/core"), require("@angular/router"), require("@wm/oAuth"), require("@wm/security"), require("@
|
|
70006
|
-
factory((global.wm = global.wm || {}, global.wm.variables = {}), global.wm.core, global.angularWebSocket, global.jmespath, global.ng.core, global.ng.router, global.wm.oAuth, global.wm.security, global.
|
|
70007
|
-
})(this, (function(exports, core, angular2Websocket, jmespath, core$1, router, oAuth, security,
|
|
70011
|
+
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("@wavemaker/variables"), require("@wm/core"), require("angular2-websocket/angular2-websocket"), require("@metrichor/jmespath"), require("@angular/core"), require("@angular/router"), require("@wm/oAuth"), require("@wm/security"), require("@angular/common"), require("@angular/common/http"), require("ngx-toastr"), require("@wm/http")) : typeof define === "function" && define.amd ? define("@wm/variables", [ "exports", "@wavemaker/variables", "@wm/core", "angular2-websocket/angular2-websocket", "@metrichor/jmespath", "@angular/core", "@angular/router", "@wm/oAuth", "@wm/security", "@angular/common", "@angular/common/http", "ngx-toastr", "@wm/http" ], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self,
|
|
70012
|
+
factory((global.wm = global.wm || {}, global.wm.variables = {}), global.wm_common_variables, global.wm.core, global.angularWebSocket, global.jmespath, global.ng.core, global.ng.router, global.wm.oAuth, global.wm.security, global.ng.common, global.ng.common.http, global.ngxToastr, global.wm.http));
|
|
70013
|
+
})(this, (function(exports, variables, core, angular2Websocket, jmespath, core$1, router, oAuth, security, common, http, ngxToastr, http$1) {
|
|
70008
70014
|
"use strict";
|
|
70009
70015
|
var CONSTANTS = {
|
|
70010
70016
|
hasCordova: window["cordova"] !== undefined,
|
|
@@ -70306,14 +70312,7 @@
|
|
|
70306
70312
|
}
|
|
70307
70313
|
}
|
|
70308
70314
|
};
|
|
70309
|
-
var $rootScope =
|
|
70310
|
-
project: {
|
|
70311
|
-
deployedUrl: "./",
|
|
70312
|
-
id: "temp_id"
|
|
70313
|
-
},
|
|
70314
|
-
projectName: "test_project_name",
|
|
70315
|
-
isApplicationType: true
|
|
70316
|
-
};
|
|
70315
|
+
var $rootScope = variables.$rootScope;
|
|
70317
70316
|
/*! *****************************************************************************
|
|
70318
70317
|
Copyright (c) Microsoft Corporation.
|
|
70319
70318
|
|
|
@@ -79195,14 +79194,15 @@
|
|
|
79195
79194
|
error: reject
|
|
79196
79195
|
});
|
|
79197
79196
|
})).then((function(fileContent) {
|
|
79198
|
-
var
|
|
79197
|
+
var port = location.port ? ":" + location.port : "";
|
|
79198
|
+
var path = _this_1.localAppUrl || location.protocol + "//" + location.hostname + port + location.pathname;
|
|
79199
79199
|
var cordovaPath = path;
|
|
79200
79200
|
if (cordovaPath.endsWith(".html")) {
|
|
79201
79201
|
var splits = cordovaPath.split("/").slice(0);
|
|
79202
79202
|
cordovaPath = splits.slice(0, splits.length - 1).join("/");
|
|
79203
79203
|
}
|
|
79204
79204
|
cordovaPath += "/cordova.js";
|
|
79205
|
-
var mAppUrl = location.protocol + "//" + location.hostname + core.transformFileURI(localDir + "live-index.html");
|
|
79205
|
+
var mAppUrl = location.protocol + "//" + location.hostname + port + core.transformFileURI(localDir + "live-index.html");
|
|
79206
79206
|
fileContent = fileContent.replace("cordova.js", cordovaPath);
|
|
79207
79207
|
fileContent = fileContent.replace("<head>", '\n <head>\n <base href="' + _this_1.deployedUrl + '">\n <meta name="liveSync.deployedUrl" value="' + _this_1.deployedUrl + '">\n <meta name="liveSync.syncAppUrl" value="' + mAppUrl + '">\n <meta name="liveSync.localAppUrl" value="' + path + '">');
|
|
79208
79208
|
return _this_1.file.writeFile(localDir, "live-index.html", fileContent, {
|