@wavemaker/app-runtime-wm-build 11.4.0-next.25720 → 11.4.0-next.25724

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.
@@ -232146,6 +232146,8 @@ window.requestAnimationFrame = function() {
232146
232146
  var _metrichor_jmespath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @metrichor/jmespath */ "./node_modules/@metrichor/jmespath/dist/jmespath.esm.js");
232147
232147
  var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ "./node_modules/lodash/lodash.js");
232148
232148
  var lodash__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
232149
+ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils */ "./src/util/utils.ts");
232150
+ var _constants_variables_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../constants/variables.constants */ "./src/constants/variables.constants.ts");
232149
232151
  var PaginationUtils = function() {
232150
232152
  function PaginationUtils() {}
232151
232153
  PaginationUtils.setPaginationQueryParams = function(variable, operationInfo, paginationInfo) {
@@ -232278,9 +232280,15 @@ window.requestAnimationFrame = function() {
232278
232280
  return obj.name === paramName;
232279
232281
  }));
232280
232282
  if ((paramObj === null || paramObj === void 0 ? void 0 : paramObj.parameterType) === "header") {
232281
- lodash__WEBPACK_IMPORTED_MODULE_1___default().set(reqObj, paginationInfo.input[inputParam], variable.pagination["page"]);
232282
- lodash__WEBPACK_IMPORTED_MODULE_1___default().set(reqObj, paginationInfo.input.size, variable.pagination["size"]);
232283
- headers[paramName] = JSON.stringify(reqObj[paramName]);
232283
+ var inputBodyParam = _constants_variables_constants__WEBPACK_IMPORTED_MODULE_3__.VARIABLE_CONSTANTS.REST_SERVICE.PREFIX.CLOAK_HEADER_KEY + paginationInfo.input[inputParam];
232284
+ if (inputParam !== "offset") {
232285
+ lodash__WEBPACK_IMPORTED_MODULE_1___default().set(reqObj, inputBodyParam, variable.pagination["page"]);
232286
+ } else {
232287
+ lodash__WEBPACK_IMPORTED_MODULE_1___default().set(reqObj, inputBodyParam, this.getOffsetInfo(variable, options));
232288
+ }
232289
+ lodash__WEBPACK_IMPORTED_MODULE_1___default().set(reqObj, _constants_variables_constants__WEBPACK_IMPORTED_MODULE_3__.VARIABLE_CONSTANTS.REST_SERVICE.PREFIX.CLOAK_HEADER_KEY + paginationInfo.input.size, variable.pagination["size"]);
232290
+ var headerKey = _constants_variables_constants__WEBPACK_IMPORTED_MODULE_3__.VARIABLE_CONSTANTS.REST_SERVICE.PREFIX.CLOAK_HEADER_KEY + paramName;
232291
+ headers[headerKey] = typeof reqObj[headerKey] === "object" ? JSON.stringify(reqObj[headerKey]) : reqObj[headerKey];
232284
232292
  resObj["headers"] = headers;
232285
232293
  } else if ((paramObj === null || paramObj === void 0 ? void 0 : paramObj.parameterType) === "body") {
232286
232294
  var bodyVal = JSON.parse(paramObj.sampleValue);
@@ -232338,11 +232346,15 @@ window.requestAnimationFrame = function() {
232338
232346
  };
232339
232347
  PaginationUtils.setParameterVal = function(paramName, res, operationInfo, variable) {
232340
232348
  var paginationInfo = this.getPaginationInfo(operationInfo, variable);
232341
- var param = paginationInfo.input[paramName].split(".")[0];
232349
+ var paginationParams = paginationInfo.input[paramName].split(".");
232350
+ var param = paginationParams[0];
232342
232351
  var sizeObj = lodash__WEBPACK_IMPORTED_MODULE_1___default().find(operationInfo.parameters, (function(obj) {
232343
232352
  return obj.name === param;
232344
232353
  }));
232345
232354
  res[paramName] = lodash__WEBPACK_IMPORTED_MODULE_1___default().result(sizeObj, "sampleValue");
232355
+ if (paginationParams.length > 1) {
232356
+ res[paramName] = lodash__WEBPACK_IMPORTED_MODULE_1___default().get((0, _utils__WEBPACK_IMPORTED_MODULE_2__.getValidJSON)(res[paramName]), paginationInfo.input[paramName].split(".").splice(1).join("."));
232357
+ }
232346
232358
  };
232347
232359
  PaginationUtils.generatePaginationRes = function(operationInfo, paginationInfo, response, resHeaders, options, variable) {
232348
232360
  var res = {};
@@ -4599,7 +4599,7 @@ i.version="2.29.4",o(Zn),i.fn=lo,i.min=er,i.max=tr,i.now=nr,i.utc=m,i.unix=co,i.
4599
4599
  /*!***********************************************!*\
4600
4600
  !*** ./src/util/variable/pagination.utils.ts ***!
4601
4601
  \***********************************************/
4602
- (e,t,n)=>{"use strict";n.r(t),n.d(t,{PaginationUtils:()=>a});var r=n(/*! @metrichor/jmespath */"./node_modules/@metrichor/jmespath/dist/jmespath.esm.js"),i=n(/*! lodash */"./node_modules/lodash/lodash.js"),o=n.n(i),a=function(){function e(){}return e.setPaginationQueryParams=function(e,t,n){t.parameters.forEach((function(t){var r;r="offset"===n.type||n.input.offset?"offset":"page",t.name===n.input[r].split(".")[0]?t.sampleValue=e.pagination.page:t.name===n.input.size.split(".")[0]&&(t.sampleValue=e.pagination.size)}))},e.setVariablePagination=function(e,t,n){e.pagination||(e.pagination={empty:!1}),e.pagination.size=t.size,e.pagination.page=t.page||0,e.pagination.totalElements=t.totalElements,e.pagination.numberOfElements=e.pagination.size,e.pagination.number=n.page?n.page-1:0,e.pagination.totalPages=e.pagination.totalElements/e.pagination.size,e.pagination.totalElements%e.pagination.size==0?e.pagination.totalPages=parseInt(e.pagination.totalPages):e.pagination.totalPages=parseInt(e.pagination.totalPages)+1,t.next?(e.pagination.next=t.next,e.pagination.prev=t.prev,e.pagination.last=!t.next,e.pagination.first=!t.prev):(e.pagination.first=e.pagination.page<=1,e.pagination.last=""===t.hasMoreItems?!(e.pagination.page<e.pagination.totalPages):!t.hasMoreItems)},e.setPaginationItems=function(e,t,n,i,a){var s;if(o().startsWith(e,"$body")){var u=e.replace("$body.","");try{n[i]=r.jmespath.search(t,u)}catch(t){console.warn(e+" expression needs to be corrected as per JMES guidelines")}}else if(o().startsWith(e,"$header")){var l=e.replace("$header.",""),c=Object.fromEntries(a.headers),d=l.split(".");try{n[i]=r.jmespath.search(c,d[0].toLowerCase())}catch(t){console.warn(e+" expression needs to be corrected as per JMES guidelines")}if(null===(s=n[i])||void 0===s?void 0:s.length){var p=n[i].join();if(1===d.length)n[i]=p;else{var h=d.slice(1).join("."),f=JSON.parse(p);/[!@#$%^&*()+\=\[\]{};':"\\|,<>\/?]+/.test(h)&&(h="headerResp."+h);try{n[i]=r.jmespath.search(f,h)}catch(t){console.warn(e+" expression needs to be corrected as per JMES guidelines")}}}}},e.getPaginationInfo=function(e,t){return(null==e?void 0:e.paginationInfo)?e.paginationInfo:t._paginationConfig},e.checkPaginationAtQuery=function(e,t,n){var r,i=this.getPaginationInfo(e,t);if(n&&n.page&&(null==i?void 0:i.input.size)&&t.pagination){var a;a="offset"===i.type||i.input.offset?"offset":"page";var s=i.input[a].split(".")[0],u=o().find(e.parameters,(function(e){return e.name===s}));!o().isEmpty(t.dataBinding)&&u&&"query"===u.parameterType&&((null===(r=i.output)||void 0===r?void 0:r.page)||"offset"===i.type?t.pagination.page=this.getOffsetInfo(t,n):t.pagination.page=n.page,this.setPaginationQueryParams(t,e,i))}},e.getOffsetInfo=function(e,t){return e.pagination.size*(t.page?t.page-1:1)},e.setPaginationAtReq=function(e,t,n,r,i,a,s){var u,l={},c={};u="offset"===e.type||e.input.offset?"offset":"page";var d=e.input[u].split(".")[0],p=o().find(t.parameters,(function(e){return e.name===d}));if("header"===(null==p?void 0:p.parameterType))o().set(l,e.input[u],n.pagination.page),o().set(l,e.input.size,n.pagination.size),r[d]=JSON.stringify(l[d]),c.headers=r;else if("body"===(null==p?void 0:p.parameterType)){var h=JSON.parse(p.sampleValue),f=e.input[u].split(".")[1];if(h&&h[f]){var m=e.input[u].split(".").splice(1).join(".");"offset"!==u?o().set(l,m,n.pagination.page):o().set(l,m,this.getOffsetInfo(n,s)),o().set(l,e.input.size.split(".").splice(1).join("."),n.pagination.size),h[f]=l[f],i=JSON.stringify(h),c.requestBody=i}}else if(n.pagination.next&&p)if("path"===p.parameterType){var v=t.relativePath.split("/"),g="{"+p.name+"}",y=v.indexOf(g),_=void 0;_=n.pagination.isNext?n.pagination.next.split("/"):n.pagination.prev.split("/");var b=void 0,w=void 0;t.directPath?((b=(w=new URL(a)).pathname.split("/"))[y]=_[y],w.pathname=b.join("/"),a=w.href,c.url=a):((b=a.split("/"))[y+1]=_[y],a=b.join("/"),c.url=a)}else if("query"===p.parameterType){v=a.split("?"),_=void 0;_=n.pagination.isNext?n.pagination.next.split("?"):n.pagination.prev.split("?"),v[1]=_[1],a=v.join("?"),c.url=a}return c},e.setParameterVal=function(e,t,n,r){var i=this.getPaginationInfo(n,r).input[e].split(".")[0],a=o().find(n.parameters,(function(e){return e.name===i}));t[e]=o().result(a,"sampleValue")},e.generatePaginationRes=function(e,t,n,r,i,a){var s={},u=t.output;if(null==u?void 0:u.next)u&&(this.setPaginationItems(u.next,n,s,"next",r),this.setPaginationItems(u.prev,n,s,"prev",r));else{if((null==u?void 0:u.size)?this.setPaginationItems(u.size,n,s,"size",r):this.setParameterVal("size",s,e,a),(null==u?void 0:u.page)?this.setPaginationItems(u.page,n,s,"page",r):"offset"!==t.type&&this.setParameterVal("page",s,e,a),o().startsWith(null==u?void 0:u.totalElements,"$minValue")){var l=u.totalElements.replace("$minValue=",""),c=s.page?s.page:i.page,d=s.size*c;!a.pagination||a.pagination.totalElements>d?s.totalElements=parseInt(l):s.totalElements=d+1}else(null==u?void 0:u.totalElements)?this.setPaginationItems(u.totalElements,n,s,"totalElements",r):"offset"===t.type||t.input.offset?s.totalElements=s.size*(i.page?i.page:1)+1:s.totalElements=s.size*s.page+1;(null==u?void 0:u.hasMoreItems)?this.setPaginationItems(u.hasMoreItems,n,s,"hasMoreItems",r):s.hasMoreItems=""}return s},e}()},"./src/util/variable/service-variable.utils.ts":
4602
+ (e,t,n)=>{"use strict";n.r(t),n.d(t,{PaginationUtils:()=>u});var r=n(/*! @metrichor/jmespath */"./node_modules/@metrichor/jmespath/dist/jmespath.esm.js"),i=n(/*! lodash */"./node_modules/lodash/lodash.js"),o=n.n(i),a=n(/*! ../utils */"./src/util/utils.ts"),s=n(/*! ../../constants/variables.constants */"./src/constants/variables.constants.ts"),u=function(){function e(){}return e.setPaginationQueryParams=function(e,t,n){t.parameters.forEach((function(t){var r;r="offset"===n.type||n.input.offset?"offset":"page",t.name===n.input[r].split(".")[0]?t.sampleValue=e.pagination.page:t.name===n.input.size.split(".")[0]&&(t.sampleValue=e.pagination.size)}))},e.setVariablePagination=function(e,t,n){e.pagination||(e.pagination={empty:!1}),e.pagination.size=t.size,e.pagination.page=t.page||0,e.pagination.totalElements=t.totalElements,e.pagination.numberOfElements=e.pagination.size,e.pagination.number=n.page?n.page-1:0,e.pagination.totalPages=e.pagination.totalElements/e.pagination.size,e.pagination.totalElements%e.pagination.size==0?e.pagination.totalPages=parseInt(e.pagination.totalPages):e.pagination.totalPages=parseInt(e.pagination.totalPages)+1,t.next?(e.pagination.next=t.next,e.pagination.prev=t.prev,e.pagination.last=!t.next,e.pagination.first=!t.prev):(e.pagination.first=e.pagination.page<=1,e.pagination.last=""===t.hasMoreItems?!(e.pagination.page<e.pagination.totalPages):!t.hasMoreItems)},e.setPaginationItems=function(e,t,n,i,a){var s;if(o().startsWith(e,"$body")){var u=e.replace("$body.","");try{n[i]=r.jmespath.search(t,u)}catch(t){console.warn(e+" expression needs to be corrected as per JMES guidelines")}}else if(o().startsWith(e,"$header")){var l=e.replace("$header.",""),c=Object.fromEntries(a.headers),d=l.split(".");try{n[i]=r.jmespath.search(c,d[0].toLowerCase())}catch(t){console.warn(e+" expression needs to be corrected as per JMES guidelines")}if(null===(s=n[i])||void 0===s?void 0:s.length){var p=n[i].join();if(1===d.length)n[i]=p;else{var h=d.slice(1).join("."),f=JSON.parse(p);/[!@#$%^&*()+\=\[\]{};':"\\|,<>\/?]+/.test(h)&&(h="headerResp."+h);try{n[i]=r.jmespath.search(f,h)}catch(t){console.warn(e+" expression needs to be corrected as per JMES guidelines")}}}}},e.getPaginationInfo=function(e,t){return(null==e?void 0:e.paginationInfo)?e.paginationInfo:t._paginationConfig},e.checkPaginationAtQuery=function(e,t,n){var r,i=this.getPaginationInfo(e,t);if(n&&n.page&&(null==i?void 0:i.input.size)&&t.pagination){var a;a="offset"===i.type||i.input.offset?"offset":"page";var s=i.input[a].split(".")[0],u=o().find(e.parameters,(function(e){return e.name===s}));!o().isEmpty(t.dataBinding)&&u&&"query"===u.parameterType&&((null===(r=i.output)||void 0===r?void 0:r.page)||"offset"===i.type?t.pagination.page=this.getOffsetInfo(t,n):t.pagination.page=n.page,this.setPaginationQueryParams(t,e,i))}},e.getOffsetInfo=function(e,t){return e.pagination.size*(t.page?t.page-1:1)},e.setPaginationAtReq=function(e,t,n,r,i,a,u){var l,c={},d={};l="offset"===e.type||e.input.offset?"offset":"page";var p=e.input[l].split(".")[0],h=o().find(t.parameters,(function(e){return e.name===p}));if("header"===(null==h?void 0:h.parameterType)){var f=s.VARIABLE_CONSTANTS.REST_SERVICE.PREFIX.CLOAK_HEADER_KEY+e.input[l];"offset"!==l?o().set(c,f,n.pagination.page):o().set(c,f,this.getOffsetInfo(n,u)),o().set(c,s.VARIABLE_CONSTANTS.REST_SERVICE.PREFIX.CLOAK_HEADER_KEY+e.input.size,n.pagination.size);var m=s.VARIABLE_CONSTANTS.REST_SERVICE.PREFIX.CLOAK_HEADER_KEY+p;r[m]="object"==typeof c[m]?JSON.stringify(c[m]):c[m],d.headers=r}else if("body"===(null==h?void 0:h.parameterType)){var v=JSON.parse(h.sampleValue),g=e.input[l].split(".")[1];if(v&&v[g]){f=e.input[l].split(".").splice(1).join(".");"offset"!==l?o().set(c,f,n.pagination.page):o().set(c,f,this.getOffsetInfo(n,u)),o().set(c,e.input.size.split(".").splice(1).join("."),n.pagination.size),v[g]=c[g],i=JSON.stringify(v),d.requestBody=i}}else if(n.pagination.next&&h)if("path"===h.parameterType){var y=t.relativePath.split("/"),_="{"+h.name+"}",b=y.indexOf(_),w=void 0;w=n.pagination.isNext?n.pagination.next.split("/"):n.pagination.prev.split("/");var S=void 0,E=void 0;t.directPath?((S=(E=new URL(a)).pathname.split("/"))[b]=w[b],E.pathname=S.join("/"),a=E.href,d.url=a):((S=a.split("/"))[b+1]=w[b],a=S.join("/"),d.url=a)}else if("query"===h.parameterType){y=a.split("?"),w=void 0;w=n.pagination.isNext?n.pagination.next.split("?"):n.pagination.prev.split("?"),y[1]=w[1],a=y.join("?"),d.url=a}return d},e.setParameterVal=function(e,t,n,r){var i=this.getPaginationInfo(n,r),s=i.input[e].split("."),u=s[0],l=o().find(n.parameters,(function(e){return e.name===u}));t[e]=o().result(l,"sampleValue"),s.length>1&&(t[e]=o().get((0,a.getValidJSON)(t[e]),i.input[e].split(".").splice(1).join(".")))},e.generatePaginationRes=function(e,t,n,r,i,a){var s={},u=t.output;if(null==u?void 0:u.next)u&&(this.setPaginationItems(u.next,n,s,"next",r),this.setPaginationItems(u.prev,n,s,"prev",r));else{if((null==u?void 0:u.size)?this.setPaginationItems(u.size,n,s,"size",r):this.setParameterVal("size",s,e,a),(null==u?void 0:u.page)?this.setPaginationItems(u.page,n,s,"page",r):"offset"!==t.type&&this.setParameterVal("page",s,e,a),o().startsWith(null==u?void 0:u.totalElements,"$minValue")){var l=u.totalElements.replace("$minValue=",""),c=s.page?s.page:i.page,d=s.size*c;!a.pagination||a.pagination.totalElements>d?s.totalElements=parseInt(l):s.totalElements=d+1}else(null==u?void 0:u.totalElements)?this.setPaginationItems(u.totalElements,n,s,"totalElements",r):"offset"===t.type||t.input.offset?s.totalElements=s.size*(i.page?i.page:1)+1:s.totalElements=s.size*s.page+1;(null==u?void 0:u.hasMoreItems)?this.setPaginationItems(u.hasMoreItems,n,s,"hasMoreItems",r):s.hasMoreItems=""}return s},e}()},"./src/util/variable/service-variable.utils.ts":
4603
4603
  /*!*****************************************************!*\
4604
4604
  !*** ./src/util/variable/service-variable.utils.ts ***!
4605
4605
  \*****************************************************/
@@ -3012,11 +3012,15 @@
3012
3012
  var isIos = function() {
3013
3013
  return isIphone() || isIpod() || isIpad();
3014
3014
  };
3015
- var isLargeTabletLandscape = function() {
3016
- return window.matchMedia("only screen and (min-device-width : 1366px) and (max-device-width : 1366px) and (min-device-height : 1024px) and (max-device-height : 1024px) and (min-width: 1366px) and (max-width: 1366px)").matches;
3015
+ var isLargeTabletLandscape = function(landScapeWidth, landScapeHeight) {
3016
+ var width = landScapeWidth || "1366px";
3017
+ var height = landScapeHeight || "1024px";
3018
+ return window.matchMedia("only screen and (min-device-width : " + width + ") and (max-device-width : " + width + ") and (min-device-height : " + height + ") and (max-device-height : " + height + ") and (min-width: " + width + ") and (max-width: " + width + ")").matches;
3017
3019
  };
3018
- var isLargeTabletPortrait = function() {
3019
- return window.matchMedia("only screen and (min-device-width : 1024px) and (max-device-width : 1024px) and (min-device-height : 1366px) and (max-device-height : 1366px) and (min-width: 1024px) and (max-width: 1024px)").matches;
3020
+ var isLargeTabletPortrait = function(landScapeWidth, landScapeHeight) {
3021
+ var height = landScapeWidth || "1366px";
3022
+ var width = landScapeHeight || "1024px";
3023
+ return window.matchMedia("only screen and (min-device-width : " + width + ") and (max-device-width : " + width + ") and (min-device-height : " + height + ") and (max-device-height : " + height + ") and (min-width: " + width + ") and (max-width: " + width + ")").matches;
3020
3024
  };
3021
3025
  var isMobile = function() {
3022
3026
  return isAndroid() || isIos() || isAndroidTablet() || $("#wm-mobile-display:visible").length > 0;
@@ -4466,6 +4470,8 @@
4466
4470
  this.isMobileType = true;
4467
4471
  }
4468
4472
  } else {
4473
+ MINIMUM_MOBILE_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue("--screen-xs")) || 480;
4474
+ MINIMUM_TAB_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue("--screen-sm")) || 768;
4469
4475
  if (minValue >= MINIMUM_MOBILE_WIDTH && maxValue >= MINIMUM_TAB_WIDTH) {
4470
4476
  this.type = 1;
4471
4477
  if (isAndroid() || isIos() || isAndroidTablet()) {
@@ -10384,7 +10390,18 @@
10384
10390
  configurable: true
10385
10391
  });
10386
10392
  ShowInDeviceDirective.prototype.onResize = function($event) {
10387
- if (this.devices.indexOf("lg") > -1 && window.matchMedia("(min-width: 1200px)").matches && !core$1.isLargeTabletLandscape() || this.devices.indexOf("md") > -1 && (core$1.isLargeTabletLandscape() || window.matchMedia("(min-width: 992px) and (max-width: 1199px)").matches && !core$1.isLargeTabletPortrait()) || this.devices.indexOf("sm") > -1 && (window.matchMedia("(min-width: 768px) and (max-width: 991px)").matches || core$1.isLargeTabletPortrait()) || this.devices.indexOf("xs") > -1 && window.matchMedia("(max-width: 767px)").matches || this.devices.indexOf("all") > -1) {
10393
+ var lgWidth = getComputedStyle(document.documentElement).getPropertyValue("--screen-lg") || "1200px";
10394
+ var mdWidth = getComputedStyle(document.documentElement).getPropertyValue("--screen-md") || "992px";
10395
+ var smWidth = getComputedStyle(document.documentElement).getPropertyValue("--screen-sm") || "768px";
10396
+ var lgTabLandScapeWidth = getComputedStyle(document.documentElement).getPropertyValue("--screen-lg-tab-landscape") || "1366px";
10397
+ var lgTabPortraitWidth = getComputedStyle(document.documentElement).getPropertyValue("--screen-lg-tab-portrait") || "1024px";
10398
+ var lgWidthMin = parseFloat(lgWidth) - 1;
10399
+ var lgUnit = lgWidthMin + "px";
10400
+ var mdWidthMin = parseFloat(mdWidth) - 1;
10401
+ var mdUnit = mdWidthMin + "px";
10402
+ var smWidthMin = parseFloat(smWidth) - 1;
10403
+ var smUnit = smWidthMin + "px";
10404
+ if (this.devices.indexOf("lg") > -1 && window.matchMedia("(min-width: " + lgWidth + ")").matches && !core$1.isLargeTabletLandscape(lgTabLandScapeWidth, lgTabPortraitWidth) || this.devices.indexOf("md") > -1 && (core$1.isLargeTabletLandscape(lgTabLandScapeWidth, lgTabPortraitWidth) || window.matchMedia("(min-width: " + mdWidth + ") and (max-width: " + lgUnit + ")").matches && !core$1.isLargeTabletPortrait(lgTabLandScapeWidth, lgTabPortraitWidth)) || this.devices.indexOf("sm") > -1 && (window.matchMedia("(min-width: " + smWidth + ") and (max-width: " + mdUnit + ")").matches || core$1.isLargeTabletPortrait(lgTabLandScapeWidth, lgTabPortraitWidth)) || this.devices.indexOf("xs") > -1 && window.matchMedia("(max-width: " + smUnit + ")").matches || this.devices.indexOf("all") > -1) {
10388
10405
  if (!this.embeddedView) {
10389
10406
  this.embeddedView = this.viewContainerRef.createEmbeddedView(this.templateRef, this.context);
10390
10407
  }
@@ -32417,7 +32434,7 @@
32417
32434
  var value = _.get(dataObj, xKey);
32418
32435
  if (isLineTypeChart(this.type) && !core.isNumberType(this.xAxisDataType)) {
32419
32436
  this.xDataKeyArr.push(value);
32420
- return index;
32437
+ return value;
32421
32438
  }
32422
32439
  return value;
32423
32440
  };
@@ -60051,7 +60068,7 @@
60051
60068
  value: true
60052
60069
  }, base.PROP_BOOLEAN) ], [ "title", Object.assign({
60053
60070
  value: "Step Title"
60054
- }, base.PROP_STRING) ] ]));
60071
+ }, base.PROP_STRING) ], [ "subtitle", base.PROP_STRING ] ]));
60055
60072
  };
60056
60073
  var DEFAULT_CLS$1 = "app-wizard-step-content";
60057
60074
  var WIDGET_CONFIG$1 = {
@@ -60355,6 +60372,7 @@
60355
60372
  this.setDefaultStep(step);
60356
60373
  }
60357
60374
  }
60375
+ this.addMoreText();
60358
60376
  };
60359
60377
  WizardComponent.prototype.onWizardHeaderClick = function($event, currentStep) {
60360
60378
  var _this = this;
@@ -60370,6 +60388,7 @@
60370
60388
  }));
60371
60389
  this.currentStep = currentStep;
60372
60390
  this.currentStep.active = true;
60391
+ this.addMoreText();
60373
60392
  }
60374
60393
  };
60375
60394
  WizardComponent.prototype.next = function(eventName) {
@@ -60396,6 +60415,7 @@
60396
60415
  nextStep.active = true;
60397
60416
  this.currentStep = nextStep;
60398
60417
  }
60418
+ this.addMoreText();
60399
60419
  };
60400
60420
  WizardComponent.prototype.prev = function() {
60401
60421
  var currentStep = this.currentStep;
@@ -60411,6 +60431,7 @@
60411
60431
  prevStep.active = true;
60412
60432
  this.currentStep = prevStep;
60413
60433
  }
60434
+ this.addMoreText();
60414
60435
  };
60415
60436
  WizardComponent.prototype.skip = function() {
60416
60437
  this.next("skip");
@@ -60426,6 +60447,42 @@
60426
60447
  steps: this.steps.toArray()
60427
60448
  });
60428
60449
  };
60450
+ WizardComponent.prototype.addMoreText = function() {
60451
+ setTimeout((function() {
60452
+ var newWindowWidth = $(window).width();
60453
+ if (newWindowWidth < 768) {
60454
+ $(".app-wizard-step.current .subtitle-wrapper .step-title").css({
60455
+ height: "auto",
60456
+ display: "block"
60457
+ });
60458
+ var subtitleTextLength = $(".app-wizard-step.current .subtitle-wrapper .step-title").height();
60459
+ $(".read_more").css("display", "none");
60460
+ $(".current .subtitle-wrapper").removeClass("readmore_subtitle");
60461
+ if (subtitleTextLength > 44) {
60462
+ $(".app-wizard-step.current .subtitle-wrapper .step-title").css({
60463
+ height: "44px",
60464
+ display: "-webkit-box"
60465
+ });
60466
+ $(".current .read_more").css("display", "block");
60467
+ $(".active .read_more").css("display", "none");
60468
+ $(".disable .read_more").css("display", "none");
60469
+ $(".app-wizard-step>a").css("height", "100px");
60470
+ }
60471
+ }
60472
+ }));
60473
+ };
60474
+ WizardComponent.prototype.readMoreSubtitle = function() {
60475
+ $(".current .subtitle-wrapper").addClass("readmore_subtitle");
60476
+ $(".current .read_more").css("display", "none");
60477
+ $(document).on("mouseup", (function(e) {
60478
+ var container = $(".subtitle-wrapper");
60479
+ if (!container.is(e.target) && container.has(e.target).length === 0) {
60480
+ $(".current .subtitle-wrapper").removeClass("readmore_subtitle");
60481
+ $(".current .read_more").css("display", "block");
60482
+ $(document).off("mouseup");
60483
+ }
60484
+ }));
60485
+ };
60429
60486
  WizardComponent.prototype.isFirstStep = function(stepRef) {
60430
60487
  return this.steps.first === stepRef;
60431
60488
  };
@@ -60448,6 +60505,11 @@
60448
60505
  WizardComponent.prototype.ngAfterViewInit = function() {
60449
60506
  _super.prototype.ngAfterViewInit.call(this);
60450
60507
  base.styler(this.nativeElement.querySelector(".panel-body"), this, base.APPLY_STYLES_TYPE.INNER_SHELL);
60508
+ setTimeout((function() {
60509
+ if ($(window).width() < 768) {
60510
+ $(".app-wizard").removeClass("vertical");
60511
+ }
60512
+ }));
60451
60513
  };
60452
60514
  return WizardComponent;
60453
60515
  }(base.StylableComponent);
@@ -60456,7 +60518,7 @@
60456
60518
  type: core.Component,
60457
60519
  args: [ {
60458
60520
  selector: "div[wmWizard]",
60459
- template: '<div class="app-wizard-heading" role="tab">\n <ul class="app-wizard-steps nav nav-pills {{stepClass}}">\n <li class="app-wizard-step" *ngFor="let step of steps; let i = index" [hidden]="!step.show"\n [ngClass]="{active: step.done, current: step.active, disabled: step.disabled}"\n (click)="onWizardHeaderClick($event, step)">\n <a href="javascript:void(0)" [attr.aria-label]="step.title" [attr.title]="step.title">\n <span class="arrow" *ngIf="class && class.includes(\'classic\')"></span>\n <span class="wizard-step-number">\n <span class="count" *ngIf="class && class.includes(\'number\') && !step.isDone">{{i+1}}</span>\n <i class="dottedstepper" *ngIf="class && (class.includes(\'dottedstepper\') || class.includes(\'text-inline\') && !class.includes(\'iconstepper\')) && !step.isDone"></i>\n <i class="app-icon wi wi-done" *ngIf="class && (class.includes(\'dottedstepper\') || class.includes(\'number\')) && step.isDone"></i>\n <i class="app-icon {{step.iconclass}}" *ngIf="(class && class.includes(\'iconstepper\')) && ((step.iconclass && !step.isDone) || (step.iconclass && step.isDone && step.doneiconclass ===\'\'))"></i>\n <i class="app-icon {{step.doneiconclass}}" *ngIf="step.doneiconclass && step.isDone && (class && class.includes(\'iconstepper\'))"></i>\n </span>\n <span class="title-wrapper">\n <span *ngIf="class && class.includes(\'text-inline\')">{{\'0\' + (i+1)}}</span>\n <span class="step-title" [textContent]="step.title"></span>\n </span>\n </a>\n </li>\n </ul>\n</div>\n<div class="app-wizard-body panel-body" role="tabpanel">\n <p wmMessage *ngIf="message.caption" caption.bind="message.caption" type.bind="message.type"></p>\n <ng-content ngProjectAs="form[wmWizardStep]"></ng-content>\n</div>\n<div class="app-wizard-actions panel-footer {{actionsalignment}}">\n <a class="app-wizard-skip" name="skipStep_{{name}}" *ngIf="currentStep?.enableskip" title="Skip step" (click)="skip()">Skip &raquo;</a>\n <div class="app-wizard-actions-right">\n <button type="button" name="cancelBtn_{{name}}" class="btn app-button btn-default" *ngIf="cancelable"\n (click)="cancel()" [title]="cancelbtnlabel" [textContent]="cancelbtnlabel"></button>\n <button type="button" name="previousBtn_{{name}}" class="btn app-button btn-default"\n *ngIf="hasPrevStep" (click)="prev()" [disabled]="!enablePrev">\n <i class="app-icon wi wi-chevron-left"></i>\n <span class="btn-caption" [textContent]="previousbtnlabel"></span>\n </button>\n <button type="button" name="nextBtn_{{name}}" class="btn app-button btn-primary"\n *ngIf="hasNextStep" (click)="next()" [disabled]="!enableNext">\n <span class="btn-caption" [textContent]="nextbtnlabel"></span>\n <i class="app-icon wi wi-chevron-right"></i>\n </button>\n <button type="button" name="doneBtn_{{name}}" class="btn app-button btn-success"\n *ngIf="showDoneBtn" (click)="done()"\n [disabled]="!enableDone">\n <i class="app-icon wm-sl-l sl-check"></i>\n <span class="btn-caption" [textContent]="donebtnlabel"></span>\n </button>\n </div>\n</div>\n',
60521
+ template: '<div class="app-wizard-heading" role="tab">\n <ul class="app-wizard-steps nav nav-pills {{stepClass}}">\n <li class="app-wizard-step" *ngFor="let step of steps; let i = index" [hidden]="!step.show"\n [ngClass]="{active: step.done, current: step.active, disabled: step.disabled}"\n (click)="onWizardHeaderClick($event, step)">\n <a href="javascript:void(0)" [attr.aria-label]="step.title" [attr.title]="step.title" [ngClass]="{\'title-center-align\':class && class.includes(\'classic\') && !step.subtitle}">\n <span class="arrow" *ngIf="class && class.includes(\'classic\')"></span>\n <span class="wizard-step-number">\n <span class="count" *ngIf="class && class.includes(\'number\') && !step.isDone">{{i+1}}</span>\n <i class="dottedstepper" *ngIf="class && (class.includes(\'dottedstepper\') || class.includes(\'text-inline\') && !class.includes(\'iconstepper\')) && !step.isDone"></i>\n <i class="app-icon wi wi-done" *ngIf="class && (class.includes(\'dottedstepper\') || class.includes(\'number\')) && step.isDone"></i>\n <i class="app-icon {{step.iconclass}}" *ngIf="(class && class.includes(\'iconstepper\')) && ((step.iconclass && !step.isDone) || (step.iconclass && step.isDone && step.doneiconclass ===\'\'))"></i>\n <i class="app-icon {{step.doneiconclass}}" *ngIf="step.doneiconclass && step.isDone && (class && class.includes(\'iconstepper\'))"></i>\n </span>\n <span class="title-wrapper">\n <span *ngIf="class && class.includes(\'text-inline\')">{{\'0\' + (i+1)}}</span>\n <span class="step-title" [textContent]="step.title"></span>\n </span>\n <span class="subtitle-wrapper" [attr.title]="step.subtitle" *ngIf="step.subtitle">\n <span class="step-title" [textContent]="step.subtitle"></span>\n <a class="read_more" (click)="readMoreSubtitle()" style="display:none">more</a>\n </span>\n </a> \n </li>\n </ul>\n</div>\n<div class="app-wizard-body panel-body" role="tabpanel">\n <p wmMessage *ngIf="message.caption" caption.bind="message.caption" type.bind="message.type"></p>\n <ng-content ngProjectAs="form[wmWizardStep]"></ng-content>\n</div>\n<div class="app-wizard-actions panel-footer {{actionsalignment}}">\n <a class="app-wizard-skip" name="skipStep_{{name}}" *ngIf="currentStep?.enableskip" title="Skip step" (click)="skip()">Skip &raquo;</a>\n <div class="app-wizard-actions-right">\n <button type="button" name="cancelBtn_{{name}}" class="btn app-button btn-default" *ngIf="cancelable"\n (click)="cancel()" [title]="cancelbtnlabel" [textContent]="cancelbtnlabel"></button>\n <button type="button" name="previousBtn_{{name}}" class="btn app-button btn-default"\n *ngIf="hasPrevStep" (click)="prev()" [disabled]="!enablePrev">\n <i class="app-icon wi wi-chevron-left"></i>\n <span class="btn-caption" [textContent]="previousbtnlabel"></span>\n </button>\n <button type="button" name="nextBtn_{{name}}" class="btn app-button btn-primary"\n *ngIf="hasNextStep" (click)="next()" [disabled]="!enableNext">\n <span class="btn-caption" [textContent]="nextbtnlabel"></span>\n <i class="app-icon wi wi-chevron-right"></i>\n </button>\n <button type="button" name="doneBtn_{{name}}" class="btn app-button btn-success"\n *ngIf="showDoneBtn" (click)="done()"\n [disabled]="!enableDone">\n <i class="app-icon wm-sl-l sl-check"></i>\n <span class="btn-caption" [textContent]="donebtnlabel"></span>\n </button>\n </div>\n</div>\n',
60460
60522
  providers: [ base.provideAsWidgetRef(WizardComponent) ]
60461
60523
  } ]
60462
60524
  } ];
@@ -82492,9 +82554,152 @@
82492
82554
  type: ComponentRefProvider
82493
82555
  } ];
82494
82556
  };
82557
+ var PipeProvider = function() {
82558
+ function PipeProvider(compiler, injector, domSanitizer, i18service) {
82559
+ var _this = this;
82560
+ var _a;
82561
+ this.compiler = compiler;
82562
+ this.injector = injector;
82563
+ this.domSanitizer = domSanitizer;
82564
+ this.i18service = i18service;
82565
+ this._locale = i2.getSessionStorageItem("selectedLocale") || "en";
82566
+ this.formatsByLocale = (_a = this.i18service) === null || _a === void 0 ? void 0 : _a.getwidgetLocale();
82567
+ this.preparePipeMeta = function(reference, name, pure, diDeps) {
82568
+ if (diDeps === void 0) {
82569
+ diDeps = [];
82570
+ }
82571
+ return {
82572
+ type: {
82573
+ reference: reference,
82574
+ diDeps: diDeps
82575
+ },
82576
+ name: name,
82577
+ pure: pure
82578
+ };
82579
+ };
82580
+ 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 ]) ];
82581
+ this._pipeMeta = new Map;
82582
+ this._pipeData.forEach((function(v) {
82583
+ _this._pipeMeta.set(v.name, v);
82584
+ }));
82585
+ }
82586
+ PipeProvider.prototype.unknownPipe = function(name) {
82587
+ throw Error("The pipe '" + name + "' could not be found");
82588
+ };
82589
+ PipeProvider.prototype.meta = function(name) {
82590
+ var meta = this._pipeMeta.get(name);
82591
+ if (!meta) {
82592
+ this.unknownPipe(name);
82593
+ }
82594
+ return meta;
82595
+ };
82596
+ PipeProvider.prototype.getPipeNameVsIsPureMap = function() {
82597
+ var _map = new Map;
82598
+ this._pipeMeta.forEach((function(v, k) {
82599
+ _map.set(k, v.pure);
82600
+ }));
82601
+ return _map;
82602
+ };
82603
+ PipeProvider.prototype.resolveDep = function(dep) {
82604
+ return this.injector.get(dep.token.identifier.reference);
82605
+ };
82606
+ PipeProvider.prototype.getInstance = function(name) {
82607
+ var e_1, _b;
82608
+ var _c = this.meta(name).type, ref = _c.reference, deps = _c.diDeps;
82609
+ if (!ref) {
82610
+ this.unknownPipe(name);
82611
+ }
82612
+ if (!deps.length) {
82613
+ return new ref;
82614
+ } else {
82615
+ var args = [];
82616
+ try {
82617
+ for (var deps_1 = __values(deps), deps_1_1 = deps_1.next(); !deps_1_1.done; deps_1_1 = deps_1.next()) {
82618
+ var dep = deps_1_1.value;
82619
+ args.push(dep);
82620
+ }
82621
+ } catch (e_1_1) {
82622
+ e_1 = {
82623
+ error: e_1_1
82624
+ };
82625
+ } finally {
82626
+ try {
82627
+ if (deps_1_1 && !deps_1_1.done && (_b = deps_1.return)) _b.call(deps_1);
82628
+ } finally {
82629
+ if (e_1) throw e_1.error;
82630
+ }
82631
+ }
82632
+ return new (ref.bind.apply(ref, __spreadArray([ void 0 ], __read(args))));
82633
+ }
82634
+ };
82635
+ return PipeProvider;
82636
+ }();
82637
+ PipeProvider.\u0275prov = i0__namespace.\u0275\u0275defineInjectable({
82638
+ factory: function PipeProvider_Factory() {
82639
+ 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));
82640
+ },
82641
+ token: PipeProvider,
82642
+ providedIn: "root"
82643
+ });
82644
+ PipeProvider.decorators = [ {
82645
+ type: i0.Injectable,
82646
+ args: [ {
82647
+ providedIn: "root"
82648
+ } ]
82649
+ } ];
82650
+ PipeProvider.ctorParameters = function() {
82651
+ return [ {
82652
+ type: i0.Compiler
82653
+ }, {
82654
+ type: i0.Injector
82655
+ }, {
82656
+ type: i1.DomSanitizer
82657
+ }, {
82658
+ type: i2.AbstractI18nService
82659
+ } ];
82660
+ };
82661
+ var PipeService = function() {
82662
+ function PipeService(pipeProvider, $app) {
82663
+ this.pipeProvider = pipeProvider;
82664
+ this.$app = $app;
82665
+ this.supportedPipes = [ "toDate", "toCurrency", "prefix", "suffix", "numberToString", "stringToNumber", "timeFromNow", "trustAs", "sanitize" ];
82666
+ if (this.$app.isApplicationType) {
82667
+ this.supportedPipes.push("custom");
82668
+ }
82669
+ }
82670
+ PipeService.prototype.getPipe = function(name) {
82671
+ if (this.supportedPipes.includes(name)) {
82672
+ return this.pipeProvider.getInstance(name);
82673
+ } else {
82674
+ throw Error("The pipe '" + name + "' could not be found");
82675
+ }
82676
+ };
82677
+ return PipeService;
82678
+ }();
82679
+ PipeService.\u0275prov = i0__namespace.\u0275\u0275defineInjectable({
82680
+ factory: function PipeService_Factory() {
82681
+ return new PipeService(i0__namespace.\u0275\u0275inject(PipeProvider), i0__namespace.\u0275\u0275inject(i2__namespace.App));
82682
+ },
82683
+ token: PipeService,
82684
+ providedIn: "root"
82685
+ });
82686
+ PipeService.decorators = [ {
82687
+ type: i0.Injectable,
82688
+ args: [ {
82689
+ providedIn: "root"
82690
+ } ]
82691
+ } ];
82692
+ PipeService.ctorParameters = function() {
82693
+ return [ {
82694
+ type: PipeProvider
82695
+ }, {
82696
+ type: i2.App
82697
+ } ];
82698
+ };
82495
82699
  var injectorMap = {
82496
82700
  DialogService: i2.AbstractDialogService,
82497
82701
  i18nService: i2.AbstractI18nService,
82702
+ PipeService: PipeService,
82498
82703
  statePersistence: i2.StatePersistence,
82499
82704
  SpinnerService: i2.AbstractSpinnerService,
82500
82705
  StatePersistenceService: i2.StatePersistence,
@@ -83611,110 +83816,6 @@
83611
83816
  type: i2.AbstractI18nService
83612
83817
  } ];
83613
83818
  };
83614
- var PipeProvider = function() {
83615
- function PipeProvider(compiler, injector, domSanitizer, i18service) {
83616
- var _this = this;
83617
- var _a;
83618
- this.compiler = compiler;
83619
- this.injector = injector;
83620
- this.domSanitizer = domSanitizer;
83621
- this.i18service = i18service;
83622
- this._locale = i2.getSessionStorageItem("selectedLocale") || "en";
83623
- this.formatsByLocale = (_a = this.i18service) === null || _a === void 0 ? void 0 : _a.getwidgetLocale();
83624
- this.preparePipeMeta = function(reference, name, pure, diDeps) {
83625
- if (diDeps === void 0) {
83626
- diDeps = [];
83627
- }
83628
- return {
83629
- type: {
83630
- reference: reference,
83631
- diDeps: diDeps
83632
- },
83633
- name: name,
83634
- pure: pure
83635
- };
83636
- };
83637
- 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 ]) ];
83638
- this._pipeMeta = new Map;
83639
- this._pipeData.forEach((function(v) {
83640
- _this._pipeMeta.set(v.name, v);
83641
- }));
83642
- }
83643
- PipeProvider.prototype.unknownPipe = function(name) {
83644
- throw Error("The pipe '" + name + "' could not be found");
83645
- };
83646
- PipeProvider.prototype.meta = function(name) {
83647
- var meta = this._pipeMeta.get(name);
83648
- if (!meta) {
83649
- this.unknownPipe(name);
83650
- }
83651
- return meta;
83652
- };
83653
- PipeProvider.prototype.getPipeNameVsIsPureMap = function() {
83654
- var _map = new Map;
83655
- this._pipeMeta.forEach((function(v, k) {
83656
- _map.set(k, v.pure);
83657
- }));
83658
- return _map;
83659
- };
83660
- PipeProvider.prototype.resolveDep = function(dep) {
83661
- return this.injector.get(dep.token.identifier.reference);
83662
- };
83663
- PipeProvider.prototype.getInstance = function(name) {
83664
- var e_1, _b;
83665
- var _c = this.meta(name).type, ref = _c.reference, deps = _c.diDeps;
83666
- if (!ref) {
83667
- this.unknownPipe(name);
83668
- }
83669
- if (!deps.length) {
83670
- return new ref;
83671
- } else {
83672
- var args = [];
83673
- try {
83674
- for (var deps_1 = __values(deps), deps_1_1 = deps_1.next(); !deps_1_1.done; deps_1_1 = deps_1.next()) {
83675
- var dep = deps_1_1.value;
83676
- args.push(dep);
83677
- }
83678
- } catch (e_1_1) {
83679
- e_1 = {
83680
- error: e_1_1
83681
- };
83682
- } finally {
83683
- try {
83684
- if (deps_1_1 && !deps_1_1.done && (_b = deps_1.return)) _b.call(deps_1);
83685
- } finally {
83686
- if (e_1) throw e_1.error;
83687
- }
83688
- }
83689
- return new (ref.bind.apply(ref, __spreadArray([ void 0 ], __read(args))));
83690
- }
83691
- };
83692
- return PipeProvider;
83693
- }();
83694
- PipeProvider.\u0275prov = i0__namespace.\u0275\u0275defineInjectable({
83695
- factory: function PipeProvider_Factory() {
83696
- 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));
83697
- },
83698
- token: PipeProvider,
83699
- providedIn: "root"
83700
- });
83701
- PipeProvider.decorators = [ {
83702
- type: i0.Injectable,
83703
- args: [ {
83704
- providedIn: "root"
83705
- } ]
83706
- } ];
83707
- PipeProvider.ctorParameters = function() {
83708
- return [ {
83709
- type: i0.Compiler
83710
- }, {
83711
- type: i0.Injector
83712
- }, {
83713
- type: i1.DomSanitizer
83714
- }, {
83715
- type: i2.AbstractI18nService
83716
- } ];
83717
- };
83718
83819
  var AppComponent = function() {
83719
83820
  function AppComponent(_pipeProvider, _appRef, elRef, oAuthService, dialogService, spinnerService, ngZone, router$1, app, appManager) {
83720
83821
  var _this = this;
@@ -84705,7 +84806,7 @@
84705
84806
  provide: http.HTTP_INTERCEPTORS,
84706
84807
  useClass: HttpCallInterceptor,
84707
84808
  multi: true
84708
- }, common.DecimalPipe, common.DatePipe, AppManagerService, PrefabManagerService, AuthGuard, RoleGuard, PageNotFoundGaurd, CanDeactivatePageGuard, AppJSResolve, AppExtensionJSResolve, I18nResolve, getSettingProvider(MAX_CACHE_SIZE, 10), getSettingProvider(MAX_CACHE_AGE, 30 * 60) ]
84809
+ }, 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) ]
84709
84810
  };
84710
84811
  };
84711
84812
  RuntimeBaseModule.prototype.getDeviceDetails = function() {
@@ -84898,6 +84999,7 @@
84898
84999
  exports.NavigationServiceImpl = NavigationServiceImpl;
84899
85000
  exports.PageNotFoundGaurd = PageNotFoundGaurd;
84900
85001
  exports.PipeProvider = PipeProvider;
85002
+ exports.PipeService = PipeService;
84901
85003
  exports.PrefabConfigProvider = PrefabConfigProvider;
84902
85004
  exports.PrefabDirective = PrefabDirective;
84903
85005
  exports.PrefabManagerService = PrefabManagerService;