@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/app-runtime-wm-build",
3
- "version": "11.3.4-rc.5323",
3
+ "version": "11.3.4-rc.5327",
4
4
  "description": "All modules required for a wavemaker application.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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
  };
@@ -67657,9 +67672,152 @@
67657
67672
  type: ComponentRefProvider
67658
67673
  } ];
67659
67674
  };
67675
+ var PipeProvider = function() {
67676
+ function PipeProvider(compiler, injector, domSanitizer, i18service) {
67677
+ var _this = this;
67678
+ var _a;
67679
+ this.compiler = compiler;
67680
+ this.injector = injector;
67681
+ this.domSanitizer = domSanitizer;
67682
+ this.i18service = i18service;
67683
+ this._locale = i2.getSessionStorageItem("selectedLocale") || "en";
67684
+ this.formatsByLocale = (_a = this.i18service) === null || _a === void 0 ? void 0 : _a.getwidgetLocale();
67685
+ this.preparePipeMeta = function(reference, name, pure, diDeps) {
67686
+ if (diDeps === void 0) {
67687
+ diDeps = [];
67688
+ }
67689
+ return {
67690
+ type: {
67691
+ reference: reference,
67692
+ diDeps: diDeps
67693
+ },
67694
+ name: name,
67695
+ pure: pure
67696
+ };
67697
+ };
67698
+ 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 ]) ];
67699
+ this._pipeMeta = new Map;
67700
+ this._pipeData.forEach((function(v) {
67701
+ _this._pipeMeta.set(v.name, v);
67702
+ }));
67703
+ }
67704
+ PipeProvider.prototype.unknownPipe = function(name) {
67705
+ throw Error("The pipe '" + name + "' could not be found");
67706
+ };
67707
+ PipeProvider.prototype.meta = function(name) {
67708
+ var meta = this._pipeMeta.get(name);
67709
+ if (!meta) {
67710
+ this.unknownPipe(name);
67711
+ }
67712
+ return meta;
67713
+ };
67714
+ PipeProvider.prototype.getPipeNameVsIsPureMap = function() {
67715
+ var _map = new Map;
67716
+ this._pipeMeta.forEach((function(v, k) {
67717
+ _map.set(k, v.pure);
67718
+ }));
67719
+ return _map;
67720
+ };
67721
+ PipeProvider.prototype.resolveDep = function(dep) {
67722
+ return this.injector.get(dep.token.identifier.reference);
67723
+ };
67724
+ PipeProvider.prototype.getInstance = function(name) {
67725
+ var e_1, _b;
67726
+ var _c = this.meta(name).type, ref = _c.reference, deps = _c.diDeps;
67727
+ if (!ref) {
67728
+ this.unknownPipe(name);
67729
+ }
67730
+ if (!deps.length) {
67731
+ return new ref;
67732
+ } else {
67733
+ var args = [];
67734
+ try {
67735
+ for (var deps_1 = __values(deps), deps_1_1 = deps_1.next(); !deps_1_1.done; deps_1_1 = deps_1.next()) {
67736
+ var dep = deps_1_1.value;
67737
+ args.push(dep);
67738
+ }
67739
+ } catch (e_1_1) {
67740
+ e_1 = {
67741
+ error: e_1_1
67742
+ };
67743
+ } finally {
67744
+ try {
67745
+ if (deps_1_1 && !deps_1_1.done && (_b = deps_1.return)) _b.call(deps_1);
67746
+ } finally {
67747
+ if (e_1) throw e_1.error;
67748
+ }
67749
+ }
67750
+ return new (ref.bind.apply(ref, __spreadArray([ void 0 ], __read(args))));
67751
+ }
67752
+ };
67753
+ return PipeProvider;
67754
+ }();
67755
+ PipeProvider.\u0275prov = i0__namespace.\u0275\u0275defineInjectable({
67756
+ factory: function PipeProvider_Factory() {
67757
+ 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));
67758
+ },
67759
+ token: PipeProvider,
67760
+ providedIn: "root"
67761
+ });
67762
+ PipeProvider.decorators = [ {
67763
+ type: i0.Injectable,
67764
+ args: [ {
67765
+ providedIn: "root"
67766
+ } ]
67767
+ } ];
67768
+ PipeProvider.ctorParameters = function() {
67769
+ return [ {
67770
+ type: i0.Compiler
67771
+ }, {
67772
+ type: i0.Injector
67773
+ }, {
67774
+ type: i1.DomSanitizer
67775
+ }, {
67776
+ type: i2.AbstractI18nService
67777
+ } ];
67778
+ };
67779
+ var PipeService = function() {
67780
+ function PipeService(pipeProvider, $app) {
67781
+ this.pipeProvider = pipeProvider;
67782
+ this.$app = $app;
67783
+ this.supportedPipes = [ "toDate", "toCurrency", "prefix", "suffix", "numberToString", "stringToNumber", "timeFromNow", "trustAs", "sanitize" ];
67784
+ if (this.$app.isApplicationType) {
67785
+ this.supportedPipes.push("custom");
67786
+ }
67787
+ }
67788
+ PipeService.prototype.getPipe = function(name) {
67789
+ if (this.supportedPipes.includes(name)) {
67790
+ return this.pipeProvider.getInstance(name);
67791
+ } else {
67792
+ throw Error("The pipe '" + name + "' could not be found");
67793
+ }
67794
+ };
67795
+ return PipeService;
67796
+ }();
67797
+ PipeService.\u0275prov = i0__namespace.\u0275\u0275defineInjectable({
67798
+ factory: function PipeService_Factory() {
67799
+ return new PipeService(i0__namespace.\u0275\u0275inject(PipeProvider), i0__namespace.\u0275\u0275inject(i2__namespace.App));
67800
+ },
67801
+ token: PipeService,
67802
+ providedIn: "root"
67803
+ });
67804
+ PipeService.decorators = [ {
67805
+ type: i0.Injectable,
67806
+ args: [ {
67807
+ providedIn: "root"
67808
+ } ]
67809
+ } ];
67810
+ PipeService.ctorParameters = function() {
67811
+ return [ {
67812
+ type: PipeProvider
67813
+ }, {
67814
+ type: i2.App
67815
+ } ];
67816
+ };
67660
67817
  var injectorMap = {
67661
67818
  DialogService: i2.AbstractDialogService,
67662
67819
  i18nService: i2.AbstractI18nService,
67820
+ PipeService: PipeService,
67663
67821
  statePersistence: i2.StatePersistence,
67664
67822
  SpinnerService: i2.AbstractSpinnerService,
67665
67823
  StatePersistenceService: i2.StatePersistence,
@@ -68776,110 +68934,6 @@
68776
68934
  type: i2.AbstractI18nService
68777
68935
  } ];
68778
68936
  };
68779
- var PipeProvider = function() {
68780
- function PipeProvider(compiler, injector, domSanitizer, i18service) {
68781
- var _this = this;
68782
- var _a;
68783
- this.compiler = compiler;
68784
- this.injector = injector;
68785
- this.domSanitizer = domSanitizer;
68786
- this.i18service = i18service;
68787
- this._locale = i2.getSessionStorageItem("selectedLocale") || "en";
68788
- this.formatsByLocale = (_a = this.i18service) === null || _a === void 0 ? void 0 : _a.getwidgetLocale();
68789
- this.preparePipeMeta = function(reference, name, pure, diDeps) {
68790
- if (diDeps === void 0) {
68791
- diDeps = [];
68792
- }
68793
- return {
68794
- type: {
68795
- reference: reference,
68796
- diDeps: diDeps
68797
- },
68798
- name: name,
68799
- pure: pure
68800
- };
68801
- };
68802
- 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 ]) ];
68803
- this._pipeMeta = new Map;
68804
- this._pipeData.forEach((function(v) {
68805
- _this._pipeMeta.set(v.name, v);
68806
- }));
68807
- }
68808
- PipeProvider.prototype.unknownPipe = function(name) {
68809
- throw Error("The pipe '" + name + "' could not be found");
68810
- };
68811
- PipeProvider.prototype.meta = function(name) {
68812
- var meta = this._pipeMeta.get(name);
68813
- if (!meta) {
68814
- this.unknownPipe(name);
68815
- }
68816
- return meta;
68817
- };
68818
- PipeProvider.prototype.getPipeNameVsIsPureMap = function() {
68819
- var _map = new Map;
68820
- this._pipeMeta.forEach((function(v, k) {
68821
- _map.set(k, v.pure);
68822
- }));
68823
- return _map;
68824
- };
68825
- PipeProvider.prototype.resolveDep = function(dep) {
68826
- return this.injector.get(dep.token.identifier.reference);
68827
- };
68828
- PipeProvider.prototype.getInstance = function(name) {
68829
- var e_1, _b;
68830
- var _c = this.meta(name).type, ref = _c.reference, deps = _c.diDeps;
68831
- if (!ref) {
68832
- this.unknownPipe(name);
68833
- }
68834
- if (!deps.length) {
68835
- return new ref;
68836
- } else {
68837
- var args = [];
68838
- try {
68839
- for (var deps_1 = __values(deps), deps_1_1 = deps_1.next(); !deps_1_1.done; deps_1_1 = deps_1.next()) {
68840
- var dep = deps_1_1.value;
68841
- args.push(dep);
68842
- }
68843
- } catch (e_1_1) {
68844
- e_1 = {
68845
- error: e_1_1
68846
- };
68847
- } finally {
68848
- try {
68849
- if (deps_1_1 && !deps_1_1.done && (_b = deps_1.return)) _b.call(deps_1);
68850
- } finally {
68851
- if (e_1) throw e_1.error;
68852
- }
68853
- }
68854
- return new (ref.bind.apply(ref, __spreadArray([ void 0 ], __read(args))));
68855
- }
68856
- };
68857
- return PipeProvider;
68858
- }();
68859
- PipeProvider.\u0275prov = i0__namespace.\u0275\u0275defineInjectable({
68860
- factory: function PipeProvider_Factory() {
68861
- 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));
68862
- },
68863
- token: PipeProvider,
68864
- providedIn: "root"
68865
- });
68866
- PipeProvider.decorators = [ {
68867
- type: i0.Injectable,
68868
- args: [ {
68869
- providedIn: "root"
68870
- } ]
68871
- } ];
68872
- PipeProvider.ctorParameters = function() {
68873
- return [ {
68874
- type: i0.Compiler
68875
- }, {
68876
- type: i0.Injector
68877
- }, {
68878
- type: i1.DomSanitizer
68879
- }, {
68880
- type: i2.AbstractI18nService
68881
- } ];
68882
- };
68883
68937
  var AppComponent = function() {
68884
68938
  function AppComponent(_pipeProvider, _appRef, elRef, oAuthService, dialogService, spinnerService, ngZone, router$1, app, appManager) {
68885
68939
  var _this = this;
@@ -69870,7 +69924,7 @@
69870
69924
  provide: http.HTTP_INTERCEPTORS,
69871
69925
  useClass: HttpCallInterceptor,
69872
69926
  multi: true
69873
- }, common.DecimalPipe, common.DatePipe, AppManagerService, PrefabManagerService, AuthGuard, RoleGuard, PageNotFoundGaurd, CanDeactivatePageGuard, AppJSResolve, AppExtensionJSResolve, I18nResolve, getSettingProvider(MAX_CACHE_SIZE, 10), getSettingProvider(MAX_CACHE_AGE, 30 * 60) ]
69927
+ }, 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) ]
69874
69928
  };
69875
69929
  };
69876
69930
  RuntimeBaseModule.prototype.getDeviceDetails = function() {
@@ -70063,6 +70117,7 @@
70063
70117
  exports.NavigationServiceImpl = NavigationServiceImpl;
70064
70118
  exports.PageNotFoundGaurd = PageNotFoundGaurd;
70065
70119
  exports.PipeProvider = PipeProvider;
70120
+ exports.PipeService = PipeService;
70066
70121
  exports.PrefabConfigProvider = PrefabConfigProvider;
70067
70122
  exports.PrefabDirective = PrefabDirective;
70068
70123
  exports.PrefabManagerService = PrefabManagerService;