@wavemaker/app-runtime-wm-build 11.3.4-rc.5323 → 11.3.4-rc.5327

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.
@@ -46421,6 +46421,11 @@
46421
46421
  return;
46422
46422
  }
46423
46423
  this.variableInflight = false;
46424
+ if (newValue && newValue.length === 0) {
46425
+ this.callDataGridMethod("setStatus", "nodata", this.nodatamessage);
46426
+ } else {
46427
+ this.callDataGridMethod("setStatus", "ready");
46428
+ }
46424
46429
  if (this.gridOptions.isNavTypeScrollOrOndemand()) {
46425
46430
  _a = __read(this.paginationService.updateFieldsOnPagination(this, newValue), 2),
46426
46431
  this._gridData = _a[0], this.currentPage = _a[1];
@@ -60123,6 +60128,7 @@
60123
60128
  }));
60124
60129
  this.currentStep = currentStep;
60125
60130
  this.currentStep.active = true;
60131
+ this.addMoreText();
60126
60132
  }
60127
60133
  };
60128
60134
  WizardComponent.prototype.next = function(eventName) {
@@ -60183,14 +60189,23 @@
60183
60189
  };
60184
60190
  WizardComponent.prototype.addMoreText = function() {
60185
60191
  setTimeout((function() {
60192
+ $(".app-wizard-step.current .subtitle-wrapper .step-title").css({
60193
+ height: "auto",
60194
+ display: "block"
60195
+ });
60186
60196
  var subtitleTextLength = $(".app-wizard-step.current .subtitle-wrapper .step-title").height();
60187
60197
  var newWindowWidth = $(window).width();
60188
60198
  $(".read_more").css("display", "none");
60189
- if (subtitleTextLength > 40 && newWindowWidth < 768) {
60199
+ $(".current .subtitle-wrapper").removeClass("readmore_subtitle");
60200
+ if (subtitleTextLength > 44 && newWindowWidth < 768) {
60201
+ $(".app-wizard-step.current .subtitle-wrapper .step-title").css({
60202
+ height: "44px",
60203
+ display: "-webkit-box"
60204
+ });
60190
60205
  $(".current .read_more").css("display", "block");
60191
60206
  $(".active .read_more").css("display", "none");
60192
60207
  $(".disable .read_more").css("display", "none");
60193
- $(".app-wizard-step a").css("height", "95px");
60208
+ $(".app-wizard-step.current>a").css("height", "95px");
60194
60209
  }
60195
60210
  }));
60196
60211
  };
@@ -82244,9 +82259,152 @@
82244
82259
  type: ComponentRefProvider
82245
82260
  } ];
82246
82261
  };
82262
+ var PipeProvider = function() {
82263
+ function PipeProvider(compiler, injector, domSanitizer, i18service) {
82264
+ var _this = this;
82265
+ var _a;
82266
+ this.compiler = compiler;
82267
+ this.injector = injector;
82268
+ this.domSanitizer = domSanitizer;
82269
+ this.i18service = i18service;
82270
+ this._locale = i2.getSessionStorageItem("selectedLocale") || "en";
82271
+ this.formatsByLocale = (_a = this.i18service) === null || _a === void 0 ? void 0 : _a.getwidgetLocale();
82272
+ this.preparePipeMeta = function(reference, name, pure, diDeps) {
82273
+ if (diDeps === void 0) {
82274
+ diDeps = [];
82275
+ }
82276
+ return {
82277
+ type: {
82278
+ reference: reference,
82279
+ diDeps: diDeps
82280
+ },
82281
+ name: name,
82282
+ pure: pure
82283
+ };
82284
+ };
82285
+ this._pipeData = [ this.preparePipeMeta(common.AsyncPipe, "async", false, [ i0.ChangeDetectorRef ]), this.preparePipeMeta(common.SlicePipe, "slice", false), this.preparePipeMeta(common.PercentPipe, "percent", true, [ this._locale ]), this.preparePipeMeta(common.I18nPluralPipe, "i18nPlural", true, [ common.NgLocalization ]), this.preparePipeMeta(common.I18nSelectPipe, "i18nSelect", true), this.preparePipeMeta(common.KeyValuePipe, "keyvalue", false, [ i0.KeyValueDiffers ]), this.preparePipeMeta(base.FileIconClassPipe, "fileIconClass", true), this.preparePipeMeta(base.FileExtensionFromMimePipe, "fileExtensionFromMime", true), this.preparePipeMeta(base.StateClassPipe, "stateClass", true), this.preparePipeMeta(base.FileSizePipe, "filesize", true), this.preparePipeMeta(base.FilterPipe, "filter", true), this.preparePipeMeta(common.UpperCasePipe, "uppercase", true), this.preparePipeMeta(common.LowerCasePipe, "lowercase", true), this.preparePipeMeta(common.JsonPipe, "json", false), this.preparePipeMeta(common.DecimalPipe, "number", true, [ this._locale ]), this.preparePipeMeta(common.TitleCasePipe, "titlecase", true), this.preparePipeMeta(common.CurrencyPipe, "currency", true, [ this._locale ]), this.preparePipeMeta(common.DatePipe, "date", true, [ this._locale ]), this.preparePipeMeta(base.ToDatePipe, "toDate", true, [ new common.DatePipe(this._locale) ]), this.preparePipeMeta(base.ToNumberPipe, "toNumber", true, [ new common.DecimalPipe(this._locale), this.i18service ]), this.preparePipeMeta(base.ToCurrencyPipe, "toCurrency", true, [ new common.DecimalPipe(this._locale), this.i18service ]), this.preparePipeMeta(base.PrefixPipe, "prefix", true), this.preparePipeMeta(base.SuffixPipe, "suffix", true), this.preparePipeMeta(base.TimeFromNowPipe, "timeFromNow", true), this.preparePipeMeta(base.NumberToStringPipe, "numberToString", true, [ new common.DecimalPipe(this._locale) ]), this.preparePipeMeta(base.StringToNumberPipe, "stringToNumber", true), this.preparePipeMeta(base.CustomPipe, "custom", true, [ this.injector.get(i2.CustomPipeManager) ]), this.preparePipeMeta(base.TrustAsPipe, "trustAs", true, [ this.domSanitizer ]), this.preparePipeMeta(base.SanitizePipe, "sanitize", true, [ this.domSanitizer ]) ];
82286
+ this._pipeMeta = new Map;
82287
+ this._pipeData.forEach((function(v) {
82288
+ _this._pipeMeta.set(v.name, v);
82289
+ }));
82290
+ }
82291
+ PipeProvider.prototype.unknownPipe = function(name) {
82292
+ throw Error("The pipe '" + name + "' could not be found");
82293
+ };
82294
+ PipeProvider.prototype.meta = function(name) {
82295
+ var meta = this._pipeMeta.get(name);
82296
+ if (!meta) {
82297
+ this.unknownPipe(name);
82298
+ }
82299
+ return meta;
82300
+ };
82301
+ PipeProvider.prototype.getPipeNameVsIsPureMap = function() {
82302
+ var _map = new Map;
82303
+ this._pipeMeta.forEach((function(v, k) {
82304
+ _map.set(k, v.pure);
82305
+ }));
82306
+ return _map;
82307
+ };
82308
+ PipeProvider.prototype.resolveDep = function(dep) {
82309
+ return this.injector.get(dep.token.identifier.reference);
82310
+ };
82311
+ PipeProvider.prototype.getInstance = function(name) {
82312
+ var e_1, _b;
82313
+ var _c = this.meta(name).type, ref = _c.reference, deps = _c.diDeps;
82314
+ if (!ref) {
82315
+ this.unknownPipe(name);
82316
+ }
82317
+ if (!deps.length) {
82318
+ return new ref;
82319
+ } else {
82320
+ var args = [];
82321
+ try {
82322
+ for (var deps_1 = __values(deps), deps_1_1 = deps_1.next(); !deps_1_1.done; deps_1_1 = deps_1.next()) {
82323
+ var dep = deps_1_1.value;
82324
+ args.push(dep);
82325
+ }
82326
+ } catch (e_1_1) {
82327
+ e_1 = {
82328
+ error: e_1_1
82329
+ };
82330
+ } finally {
82331
+ try {
82332
+ if (deps_1_1 && !deps_1_1.done && (_b = deps_1.return)) _b.call(deps_1);
82333
+ } finally {
82334
+ if (e_1) throw e_1.error;
82335
+ }
82336
+ }
82337
+ return new (ref.bind.apply(ref, __spreadArray([ void 0 ], __read(args))));
82338
+ }
82339
+ };
82340
+ return PipeProvider;
82341
+ }();
82342
+ PipeProvider.\u0275prov = i0__namespace.\u0275\u0275defineInjectable({
82343
+ factory: function PipeProvider_Factory() {
82344
+ return new PipeProvider(i0__namespace.\u0275\u0275inject(i0__namespace.Compiler), i0__namespace.\u0275\u0275inject(i0__namespace.INJECTOR), i0__namespace.\u0275\u0275inject(i1__namespace.DomSanitizer), i0__namespace.\u0275\u0275inject(i2__namespace.AbstractI18nService));
82345
+ },
82346
+ token: PipeProvider,
82347
+ providedIn: "root"
82348
+ });
82349
+ PipeProvider.decorators = [ {
82350
+ type: i0.Injectable,
82351
+ args: [ {
82352
+ providedIn: "root"
82353
+ } ]
82354
+ } ];
82355
+ PipeProvider.ctorParameters = function() {
82356
+ return [ {
82357
+ type: i0.Compiler
82358
+ }, {
82359
+ type: i0.Injector
82360
+ }, {
82361
+ type: i1.DomSanitizer
82362
+ }, {
82363
+ type: i2.AbstractI18nService
82364
+ } ];
82365
+ };
82366
+ var PipeService = function() {
82367
+ function PipeService(pipeProvider, $app) {
82368
+ this.pipeProvider = pipeProvider;
82369
+ this.$app = $app;
82370
+ this.supportedPipes = [ "toDate", "toCurrency", "prefix", "suffix", "numberToString", "stringToNumber", "timeFromNow", "trustAs", "sanitize" ];
82371
+ if (this.$app.isApplicationType) {
82372
+ this.supportedPipes.push("custom");
82373
+ }
82374
+ }
82375
+ PipeService.prototype.getPipe = function(name) {
82376
+ if (this.supportedPipes.includes(name)) {
82377
+ return this.pipeProvider.getInstance(name);
82378
+ } else {
82379
+ throw Error("The pipe '" + name + "' could not be found");
82380
+ }
82381
+ };
82382
+ return PipeService;
82383
+ }();
82384
+ PipeService.\u0275prov = i0__namespace.\u0275\u0275defineInjectable({
82385
+ factory: function PipeService_Factory() {
82386
+ return new PipeService(i0__namespace.\u0275\u0275inject(PipeProvider), i0__namespace.\u0275\u0275inject(i2__namespace.App));
82387
+ },
82388
+ token: PipeService,
82389
+ providedIn: "root"
82390
+ });
82391
+ PipeService.decorators = [ {
82392
+ type: i0.Injectable,
82393
+ args: [ {
82394
+ providedIn: "root"
82395
+ } ]
82396
+ } ];
82397
+ PipeService.ctorParameters = function() {
82398
+ return [ {
82399
+ type: PipeProvider
82400
+ }, {
82401
+ type: i2.App
82402
+ } ];
82403
+ };
82247
82404
  var injectorMap = {
82248
82405
  DialogService: i2.AbstractDialogService,
82249
82406
  i18nService: i2.AbstractI18nService,
82407
+ PipeService: PipeService,
82250
82408
  statePersistence: i2.StatePersistence,
82251
82409
  SpinnerService: i2.AbstractSpinnerService,
82252
82410
  StatePersistenceService: i2.StatePersistence,
@@ -83363,110 +83521,6 @@
83363
83521
  type: i2.AbstractI18nService
83364
83522
  } ];
83365
83523
  };
83366
- var PipeProvider = function() {
83367
- function PipeProvider(compiler, injector, domSanitizer, i18service) {
83368
- var _this = this;
83369
- var _a;
83370
- this.compiler = compiler;
83371
- this.injector = injector;
83372
- this.domSanitizer = domSanitizer;
83373
- this.i18service = i18service;
83374
- this._locale = i2.getSessionStorageItem("selectedLocale") || "en";
83375
- this.formatsByLocale = (_a = this.i18service) === null || _a === void 0 ? void 0 : _a.getwidgetLocale();
83376
- this.preparePipeMeta = function(reference, name, pure, diDeps) {
83377
- if (diDeps === void 0) {
83378
- diDeps = [];
83379
- }
83380
- return {
83381
- type: {
83382
- reference: reference,
83383
- diDeps: diDeps
83384
- },
83385
- name: name,
83386
- pure: pure
83387
- };
83388
- };
83389
- this._pipeData = [ this.preparePipeMeta(common.AsyncPipe, "async", false, [ i0.ChangeDetectorRef ]), this.preparePipeMeta(common.SlicePipe, "slice", false), this.preparePipeMeta(common.PercentPipe, "percent", true, [ this._locale ]), this.preparePipeMeta(common.I18nPluralPipe, "i18nPlural", true, [ common.NgLocalization ]), this.preparePipeMeta(common.I18nSelectPipe, "i18nSelect", true), this.preparePipeMeta(common.KeyValuePipe, "keyvalue", false, [ i0.KeyValueDiffers ]), this.preparePipeMeta(base.FileIconClassPipe, "fileIconClass", true), this.preparePipeMeta(base.FileExtensionFromMimePipe, "fileExtensionFromMime", true), this.preparePipeMeta(base.StateClassPipe, "stateClass", true), this.preparePipeMeta(base.FileSizePipe, "filesize", true), this.preparePipeMeta(base.FilterPipe, "filter", true), this.preparePipeMeta(common.UpperCasePipe, "uppercase", true), this.preparePipeMeta(common.LowerCasePipe, "lowercase", true), this.preparePipeMeta(common.JsonPipe, "json", false), this.preparePipeMeta(common.DecimalPipe, "number", true, [ this._locale ]), this.preparePipeMeta(common.TitleCasePipe, "titlecase", true), this.preparePipeMeta(common.CurrencyPipe, "currency", true, [ this._locale ]), this.preparePipeMeta(common.DatePipe, "date", true, [ this._locale ]), this.preparePipeMeta(base.ToDatePipe, "toDate", true, [ new common.DatePipe(this._locale) ]), this.preparePipeMeta(base.ToNumberPipe, "toNumber", true, [ new common.DecimalPipe(this._locale), this.i18service ]), this.preparePipeMeta(base.ToCurrencyPipe, "toCurrency", true, [ new common.DecimalPipe(this._locale), this.i18service ]), this.preparePipeMeta(base.PrefixPipe, "prefix", true), this.preparePipeMeta(base.SuffixPipe, "suffix", true), this.preparePipeMeta(base.TimeFromNowPipe, "timeFromNow", true), this.preparePipeMeta(base.NumberToStringPipe, "numberToString", true, [ new common.DecimalPipe(this._locale) ]), this.preparePipeMeta(base.StringToNumberPipe, "stringToNumber", true), this.preparePipeMeta(base.CustomPipe, "custom", true, [ this.injector.get(i2.CustomPipeManager) ]), this.preparePipeMeta(base.TrustAsPipe, "trustAs", true, [ this.domSanitizer ]), this.preparePipeMeta(base.SanitizePipe, "sanitize", true, [ this.domSanitizer ]) ];
83390
- this._pipeMeta = new Map;
83391
- this._pipeData.forEach((function(v) {
83392
- _this._pipeMeta.set(v.name, v);
83393
- }));
83394
- }
83395
- PipeProvider.prototype.unknownPipe = function(name) {
83396
- throw Error("The pipe '" + name + "' could not be found");
83397
- };
83398
- PipeProvider.prototype.meta = function(name) {
83399
- var meta = this._pipeMeta.get(name);
83400
- if (!meta) {
83401
- this.unknownPipe(name);
83402
- }
83403
- return meta;
83404
- };
83405
- PipeProvider.prototype.getPipeNameVsIsPureMap = function() {
83406
- var _map = new Map;
83407
- this._pipeMeta.forEach((function(v, k) {
83408
- _map.set(k, v.pure);
83409
- }));
83410
- return _map;
83411
- };
83412
- PipeProvider.prototype.resolveDep = function(dep) {
83413
- return this.injector.get(dep.token.identifier.reference);
83414
- };
83415
- PipeProvider.prototype.getInstance = function(name) {
83416
- var e_1, _b;
83417
- var _c = this.meta(name).type, ref = _c.reference, deps = _c.diDeps;
83418
- if (!ref) {
83419
- this.unknownPipe(name);
83420
- }
83421
- if (!deps.length) {
83422
- return new ref;
83423
- } else {
83424
- var args = [];
83425
- try {
83426
- for (var deps_1 = __values(deps), deps_1_1 = deps_1.next(); !deps_1_1.done; deps_1_1 = deps_1.next()) {
83427
- var dep = deps_1_1.value;
83428
- args.push(dep);
83429
- }
83430
- } catch (e_1_1) {
83431
- e_1 = {
83432
- error: e_1_1
83433
- };
83434
- } finally {
83435
- try {
83436
- if (deps_1_1 && !deps_1_1.done && (_b = deps_1.return)) _b.call(deps_1);
83437
- } finally {
83438
- if (e_1) throw e_1.error;
83439
- }
83440
- }
83441
- return new (ref.bind.apply(ref, __spreadArray([ void 0 ], __read(args))));
83442
- }
83443
- };
83444
- return PipeProvider;
83445
- }();
83446
- PipeProvider.\u0275prov = i0__namespace.\u0275\u0275defineInjectable({
83447
- factory: function PipeProvider_Factory() {
83448
- return new PipeProvider(i0__namespace.\u0275\u0275inject(i0__namespace.Compiler), i0__namespace.\u0275\u0275inject(i0__namespace.INJECTOR), i0__namespace.\u0275\u0275inject(i1__namespace.DomSanitizer), i0__namespace.\u0275\u0275inject(i2__namespace.AbstractI18nService));
83449
- },
83450
- token: PipeProvider,
83451
- providedIn: "root"
83452
- });
83453
- PipeProvider.decorators = [ {
83454
- type: i0.Injectable,
83455
- args: [ {
83456
- providedIn: "root"
83457
- } ]
83458
- } ];
83459
- PipeProvider.ctorParameters = function() {
83460
- return [ {
83461
- type: i0.Compiler
83462
- }, {
83463
- type: i0.Injector
83464
- }, {
83465
- type: i1.DomSanitizer
83466
- }, {
83467
- type: i2.AbstractI18nService
83468
- } ];
83469
- };
83470
83524
  var AppComponent = function() {
83471
83525
  function AppComponent(_pipeProvider, _appRef, elRef, oAuthService, dialogService, spinnerService, ngZone, router$1, app, appManager) {
83472
83526
  var _this = this;
@@ -84457,7 +84511,7 @@
84457
84511
  provide: http.HTTP_INTERCEPTORS,
84458
84512
  useClass: HttpCallInterceptor,
84459
84513
  multi: true
84460
- }, common.DecimalPipe, common.DatePipe, AppManagerService, PrefabManagerService, AuthGuard, RoleGuard, PageNotFoundGaurd, CanDeactivatePageGuard, AppJSResolve, AppExtensionJSResolve, I18nResolve, getSettingProvider(MAX_CACHE_SIZE, 10), getSettingProvider(MAX_CACHE_AGE, 30 * 60) ]
84514
+ }, PipeService, common.DecimalPipe, common.DatePipe, AppManagerService, PrefabManagerService, AuthGuard, RoleGuard, PageNotFoundGaurd, CanDeactivatePageGuard, AppJSResolve, AppExtensionJSResolve, I18nResolve, getSettingProvider(MAX_CACHE_SIZE, 10), getSettingProvider(MAX_CACHE_AGE, 30 * 60) ]
84461
84515
  };
84462
84516
  };
84463
84517
  RuntimeBaseModule.prototype.getDeviceDetails = function() {
@@ -84650,6 +84704,7 @@
84650
84704
  exports.NavigationServiceImpl = NavigationServiceImpl;
84651
84705
  exports.PageNotFoundGaurd = PageNotFoundGaurd;
84652
84706
  exports.PipeProvider = PipeProvider;
84707
+ exports.PipeService = PipeService;
84653
84708
  exports.PrefabConfigProvider = PrefabConfigProvider;
84654
84709
  exports.PrefabDirective = PrefabDirective;
84655
84710
  exports.PrefabManagerService = PrefabManagerService;