@onecx/accelerator 5.1.3 → 5.1.5

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onecx/accelerator",
3
- "version": "5.1.3",
3
+ "version": "5.1.5",
4
4
  "peerDependencies": {
5
5
  "tslib": "^2.6.3",
6
6
  "rxjs": "7.8.1"
package/src/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export * from './lib/topic/topic';
2
2
  export * from './lib/topic/syncable-topic';
3
3
  export * from './lib/topic/topic-publisher';
4
4
  export * from './lib/utils/path.utils';
5
+ export * from './lib/utils/date.utils';
package/src/index.js CHANGED
@@ -5,4 +5,5 @@ tslib_1.__exportStar(require("./lib/topic/topic"), exports);
5
5
  tslib_1.__exportStar(require("./lib/topic/syncable-topic"), exports);
6
6
  tslib_1.__exportStar(require("./lib/topic/topic-publisher"), exports);
7
7
  tslib_1.__exportStar(require("./lib/utils/path.utils"), exports);
8
+ tslib_1.__exportStar(require("./lib/utils/date.utils"), exports);
8
9
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/accelerator/src/index.ts"],"names":[],"mappings":";;;AAAA,4DAAiC;AACjC,qEAA0C;AAC1C,sEAA2C;AAC3C,iEAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/accelerator/src/index.ts"],"names":[],"mappings":";;;AAAA,4DAAiC;AACjC,qEAA0C;AAC1C,sEAA2C;AAC3C,iEAAsC;AACtC,iEAAsC"}
@@ -0,0 +1 @@
1
+ export declare function isValidDate(value: any): value is Date;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isValidDate = isValidDate;
4
+ function isValidDate(value) {
5
+ return value instanceof Date && !isNaN(value);
6
+ }
7
+ //# sourceMappingURL=date.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date.utils.js","sourceRoot":"","sources":["../../../../../../libs/accelerator/src/lib/utils/date.utils.ts"],"names":[],"mappings":";;AAAA,kCAEG;AAFH,SAAgB,WAAW,CAAC,KAAU;IAClC,OAAO,KAAK,YAAY,IAAI,IAAI,CAAC,KAAK,CAAC,KAAY,CAAC,CAAC;AACvD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getLocation = void 0;
3
+ exports.getLocation = getLocation;
4
4
  /**
5
5
  * returns the standard window.location enriched with deploymentPath and applicationPath.
6
6
  * deploymentPath contains the part of the URL which identifies the sub folder to which the shell is deployed
@@ -13,5 +13,4 @@ function getLocation() {
13
13
  location.applicationPath = window.location.href.substring(baseHref.length - 1);
14
14
  return location;
15
15
  }
16
- exports.getLocation = getLocation;
17
16
  //# sourceMappingURL=path.utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"path.utils.js","sourceRoot":"","sources":["../../../../../../libs/accelerator/src/lib/utils/path.utils.ts"],"names":[],"mappings":";;;AAEA;;;;GAIG;AACH,SAAgB,WAAW;IACzB,MAAM,QAAQ,GAAG,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,IAAI,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,GAAG,CAAA;IAC/F,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAuB,CAAA;IAC/C,QAAQ,CAAC,cAAc,GAAG,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;IAC3E,QAAQ,CAAC,eAAe,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IAE9E,OAAO,QAAQ,CAAA;AACjB,CAAC;AAPD,kCAOC"}
1
+ {"version":3,"file":"path.utils.js","sourceRoot":"","sources":["../../../../../../libs/accelerator/src/lib/utils/path.utils.ts"],"names":[],"mappings":";;AAOA,kCAOC;AAZD;;;;GAIG;AACH,SAAgB,WAAW;IACzB,MAAM,QAAQ,GAAG,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,IAAI,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,GAAG,CAAA;IAC/F,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAuB,CAAA;IAC/C,QAAQ,CAAC,cAAc,GAAG,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;IAC3E,QAAQ,CAAC,eAAe,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IAE9E,OAAO,QAAQ,CAAA;AACjB,CAAC"}