@onecx/accelerator 5.1.3 → 5.1.4
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/index.js.map +1 -1
- package/src/lib/utils/date.utils.d.ts +1 -0
- package/src/lib/utils/date.utils.js +7 -0
- package/src/lib/utils/date.utils.js.map +1 -0
- package/src/lib/utils/path.utils.js +1 -2
- package/src/lib/utils/path.utils.js.map +1 -1
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
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 @@
|
|
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 =
|
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":"
|
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"}
|