@wavemaker/app-runtime-wm-build 11.3.2-next.27801 → 11.4.0-next.1417011
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 +5933 -7935
- app-runtime-wm-build/wmapp/scripts/wm-libs.min.js +2 -15
- app-runtime-wm-build/wmapp/scripts/wm-loader.js +8 -13
- app-runtime-wm-build/wmapp/scripts/wm-loader.min.js +3 -3
- app-runtime-wm-build/wmmobile/scripts/wm-libs.js +5933 -7935
- app-runtime-wm-build/wmmobile/scripts/wm-libs.min.js +162 -175
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.js +8 -13
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.min.js +3 -3
|
@@ -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
|
}
|