@wavemaker/app-runtime-wm-build 11.3.2-rc.5253 → 11.4.0-next.1417012
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 +5934 -7938
- app-runtime-wm-build/wmapp/scripts/wm-libs.min.js +2 -15
- app-runtime-wm-build/wmapp/scripts/wm-loader.js +19 -17
- app-runtime-wm-build/wmapp/scripts/wm-loader.min.js +4 -4
- app-runtime-wm-build/wmmobile/scripts/wm-libs.js +5934 -7938
- app-runtime-wm-build/wmmobile/scripts/wm-libs.min.js +162 -175
- 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"\n [hidden]
|
|
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" *ngIf="!(' + pCounter + ".isUpdateMode || " + counter + ".viewmodewidget === 'default' || " + counter + ".widgettype === 'upload')\"\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.button.bind($.summernote);
|
|
21257
|
+
$.summernote.ui.button = function() {
|
|
21258
21258
|
var args = [];
|
|
21259
21259
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
21260
21260
|
args[_i] = arguments[_i];
|
|
@@ -44220,15 +44220,10 @@
|
|
|
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;
|
|
44224
44224
|
_this.handleStateParams(data);
|
|
44225
44225
|
_this.variableInflight = data.active;
|
|
44226
|
-
|
|
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
|
-
}
|
|
44226
|
+
_this.noDataFound = !((_a = data.data) === null || _a === void 0 ? void 0 : _a.pagination.totalElements);
|
|
44232
44227
|
}));
|
|
44233
44228
|
}
|
|
44234
44229
|
};
|
|
@@ -44298,10 +44293,10 @@
|
|
|
44298
44293
|
}
|
|
44299
44294
|
};
|
|
44300
44295
|
ListComponent.prototype.updateFieldDefs = function(newVal) {
|
|
44301
|
-
var
|
|
44296
|
+
var _b;
|
|
44302
44297
|
if (this.infScroll || this.onDemandLoad) {
|
|
44303
|
-
|
|
44304
|
-
this.currentPage =
|
|
44298
|
+
_b = __read(this.paginationService.updateFieldsOnPagination(this, newVal), 2), this.fieldDefs = _b[0],
|
|
44299
|
+
this.currentPage = _b[1];
|
|
44305
44300
|
} else {
|
|
44306
44301
|
this.fieldDefs = newVal;
|
|
44307
44302
|
}
|
|
@@ -62822,8 +62817,7 @@
|
|
|
62822
62817
|
}), maxWaitTime * 1e3);
|
|
62823
62818
|
document.addEventListener("backbutton", this.executeBackTapListeners.bind(this));
|
|
62824
62819
|
if (i2.hasCordova()) {
|
|
62825
|
-
var
|
|
62826
|
-
var configUrl = location.protocol + "//" + location.hostname + port + (i2.isIos() ? "" : "/_www") + "/config.json";
|
|
62820
|
+
var configUrl = location.protocol + "//" + location.hostname + (i2.isIos() ? "" : "/_www") + "/config.json";
|
|
62827
62821
|
i2.fetchContent("json", configUrl, true, (function(response) {
|
|
62828
62822
|
if (!response.error && response.baseUrl) {
|
|
62829
62823
|
_this._config = response;
|
|
@@ -70008,9 +70002,9 @@
|
|
|
70008
70002
|
}));
|
|
70009
70003
|
|
|
70010
70004
|
(function(global, factory) {
|
|
70011
|
-
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("@
|
|
70012
|
-
factory((global.wm = global.wm || {}, global.wm.variables = {}), global.
|
|
70013
|
-
})(this, (function(exports,
|
|
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("@wavemaker/variables"), require("@angular/common"), require("@angular/common/http"), require("ngx-toastr"), require("@wm/http")) : typeof define === "function" && define.amd ? define("@wm/variables", [ "exports", "@wm/core", "angular2-websocket/angular2-websocket", "@metrichor/jmespath", "@angular/core", "@angular/router", "@wm/oAuth", "@wm/security", "@wavemaker/variables", "@angular/common", "@angular/common/http", "ngx-toastr", "@wm/http" ], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self,
|
|
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.wm_common_variables, global.ng.common, global.ng.common.http, global.ngxToastr, global.wm.http));
|
|
70007
|
+
})(this, (function(exports, core, angular2Websocket, jmespath, core$1, router, oAuth, security, variables, common, http, ngxToastr, http$1) {
|
|
70014
70008
|
"use strict";
|
|
70015
70009
|
var CONSTANTS = {
|
|
70016
70010
|
hasCordova: window["cordova"] !== undefined,
|
|
@@ -70312,7 +70306,14 @@
|
|
|
70312
70306
|
}
|
|
70313
70307
|
}
|
|
70314
70308
|
};
|
|
70315
|
-
var $rootScope =
|
|
70309
|
+
var $rootScope = {
|
|
70310
|
+
project: {
|
|
70311
|
+
deployedUrl: "./",
|
|
70312
|
+
id: "temp_id"
|
|
70313
|
+
},
|
|
70314
|
+
projectName: "test_project_name",
|
|
70315
|
+
isApplicationType: true
|
|
70316
|
+
};
|
|
70316
70317
|
/*! *****************************************************************************
|
|
70317
70318
|
Copyright (c) Microsoft Corporation.
|
|
70318
70319
|
|
|
@@ -79194,15 +79195,14 @@
|
|
|
79194
79195
|
error: reject
|
|
79195
79196
|
});
|
|
79196
79197
|
})).then((function(fileContent) {
|
|
79197
|
-
var
|
|
79198
|
-
var path = _this_1.localAppUrl || location.protocol + "//" + location.hostname + port + location.pathname;
|
|
79198
|
+
var path = _this_1.localAppUrl || location.protocol + "//" + location.hostname + 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 +
|
|
79205
|
+
var mAppUrl = location.protocol + "//" + location.hostname + 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, {
|