@kwiz/common 1.0.10 → 1.0.12
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.
- package/dist/_dependencies.d.ts +8 -1
- package/dist/_dependencies.js +10 -5
- package/dist/_dependencies.js.map +1 -1
- package/dist/config.d.ts +9 -0
- package/dist/config.js +16 -0
- package/dist/config.js.map +1 -0
- package/dist/exports-index.d.ts +4 -0
- package/dist/exports-index.js +21 -0
- package/dist/exports-index.js.map +1 -0
- package/dist/helpers/_dependencies.d.ts +1 -1
- package/dist/helpers/_dependencies.js +1 -1
- package/dist/helpers/_dependencies.js.map +1 -1
- package/{src/helpers/index.ts → dist/helpers/exports-index.d.ts} +29 -29
- package/dist/helpers/exports-index.js +46 -0
- package/dist/helpers/exports-index.js.map +1 -0
- package/dist/helpers/graph/exports-index.d.ts +1 -0
- package/dist/helpers/graph/exports-index.js +18 -0
- package/dist/helpers/graph/exports-index.js.map +1 -0
- package/dist/helpers/scheduler/exports-index.d.ts +1 -0
- package/dist/helpers/scheduler/exports-index.js +18 -0
- package/dist/helpers/scheduler/exports-index.js.map +1 -0
- package/dist/helpers/url.js +3 -1
- package/dist/helpers/url.js.map +1 -1
- package/dist/index.d.ts +1 -15
- package/dist/index.js +1 -20
- package/dist/index.js.map +1 -1
- package/dist/types/exports-index.d.ts +14 -0
- package/dist/types/exports-index.js +31 -0
- package/dist/types/exports-index.js.map +1 -0
- package/dist/types/graph/exports-index.d.ts +1 -0
- package/dist/types/graph/exports-index.js +18 -0
- package/dist/types/graph/exports-index.js.map +1 -0
- package/dist/types/libs/exports-index.d.ts +3 -0
- package/dist/types/libs/exports-index.js +20 -0
- package/dist/types/libs/exports-index.js.map +1 -0
- package/dist/utils/_dependencies.d.ts +2 -2
- package/dist/utils/_dependencies.js +2 -2
- package/dist/utils/_dependencies.js.map +1 -1
- package/dist/utils/auth/exports-index.d.ts +2 -0
- package/dist/utils/auth/exports-index.js +19 -0
- package/dist/utils/auth/exports-index.js.map +1 -0
- package/dist/utils/exports-index.d.ts +11 -0
- package/dist/utils/exports-index.js +28 -0
- package/dist/utils/exports-index.js.map +1 -0
- package/dist/utils/sharepoint.rest/exports-index.d.ts +9 -0
- package/dist/utils/sharepoint.rest/exports-index.js +26 -0
- package/dist/utils/sharepoint.rest/exports-index.js.map +1 -0
- package/dist/utils/sharepoint.rest/listutils/exports-index.d.ts +3 -0
- package/dist/utils/sharepoint.rest/listutils/exports-index.js +20 -0
- package/dist/utils/sharepoint.rest/listutils/exports-index.js.map +1 -0
- package/fix-folder-imports.js +27 -0
- package/package.json +68 -65
- package/src/_dependencies.ts +12 -2
- package/src/config.ts +17 -0
- package/src/exports-index.ts +4 -0
- package/src/helpers/_dependencies.ts +1 -1
- package/src/helpers/date.test.js +47 -24
- package/src/helpers/exports-index.ts +29 -0
- package/src/helpers/graph/exports-index.ts +1 -0
- package/src/helpers/scheduler/exports-index.ts +1 -0
- package/src/helpers/url.test.js +4 -0
- package/src/helpers/url.ts +2 -1
- package/src/index.ts +1 -23
- package/src/types/exports-index.ts +14 -0
- package/src/types/graph/exports-index.ts +1 -0
- package/src/types/libs/exports-index.ts +3 -0
- package/src/utils/_dependencies.ts +2 -2
- package/src/utils/auth/exports-index.ts +2 -0
- package/src/utils/exports-index.ts +11 -0
- package/src/utils/sharepoint.rest/exports-index.ts +9 -0
- package/src/utils/sharepoint.rest/listutils/exports-index.ts +3 -0
- package/src/types/graph/index.ts +0 -1
- package/src/types/index.ts +0 -13
- package/src/types/libs/index.ts +0 -4
- package/src/utils/auth/index.ts +0 -3
- package/src/utils/index.ts +0 -14
- package/src/utils/sharepoint.rest/index.ts +0 -11
package/dist/_dependencies.d.ts
CHANGED
|
@@ -1 +1,8 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare var BuildNumber: string;
|
|
2
|
+
export declare var IsLocalDev: boolean;
|
|
3
|
+
export declare var ReleaseStatus: string;
|
|
4
|
+
export declare function SetDependencies(params: {
|
|
5
|
+
BuildNumber: string;
|
|
6
|
+
IsLocalDev: boolean;
|
|
7
|
+
ReleaseStatus: string;
|
|
8
|
+
}): void;
|
package/dist/_dependencies.js
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReleaseStatus = exports.IsLocalDev = exports.BuildNumber = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
exports.SetDependencies = exports.ReleaseStatus = exports.IsLocalDev = exports.BuildNumber = void 0;
|
|
4
|
+
exports.BuildNumber = "unset";
|
|
5
|
+
exports.IsLocalDev = false;
|
|
6
|
+
exports.ReleaseStatus = "npm";
|
|
7
|
+
function SetDependencies(params) {
|
|
8
|
+
exports.BuildNumber = params.BuildNumber;
|
|
9
|
+
exports.IsLocalDev = params.IsLocalDev;
|
|
10
|
+
exports.ReleaseStatus = params.ReleaseStatus;
|
|
11
|
+
}
|
|
12
|
+
exports.SetDependencies = SetDependencies;
|
|
8
13
|
//# sourceMappingURL=_dependencies.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_dependencies.js","sourceRoot":"","sources":["../src/_dependencies.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"_dependencies.js","sourceRoot":"","sources":["../src/_dependencies.ts"],"names":[],"mappings":";;;AAAW,QAAA,WAAW,GAAG,OAAO,CAAC;AACtB,QAAA,UAAU,GAAG,KAAK,CAAC;AACnB,QAAA,aAAa,GAAG,KAAK,CAAC;AACjC,SAAgB,eAAe,CAAC,MAI/B;IACG,mBAAW,GAAG,MAAM,CAAC,WAAW,CAAC;IACjC,kBAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAC/B,qBAAa,GAAG,MAAM,CAAC,aAAa,CAAC;AACzC,CAAC;AARD,0CAQC"}
|
package/dist/config.d.ts
ADDED
package/dist/config.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.config = void 0;
|
|
4
|
+
const _dependencies_1 = require("./_dependencies");
|
|
5
|
+
const consolelogger_1 = require("./utils/consolelogger");
|
|
6
|
+
function config(params) {
|
|
7
|
+
(0, _dependencies_1.SetDependencies)(params);
|
|
8
|
+
function GetLogger(name) {
|
|
9
|
+
return consolelogger_1.ConsoleLogger.get(name, "[cms]");
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
logger: GetLogger
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
exports.config = config;
|
|
16
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";;;AAAA,mDAAkD;AAClD,yDAAsD;AAEtD,SAAgB,MAAM,CAAC,MAKtB;IACG,IAAA,+BAAe,EAAC,MAAM,CAAC,CAAC;IACxB,SAAS,SAAS,CAAC,IAAY;QAC3B,OAAO,6BAAa,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;IACD,OAAO;QACH,MAAM,EAAE,SAAS;KACpB,CAAA;AACL,CAAC;AAbD,wBAaC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./helpers/exports-index"), exports);
|
|
18
|
+
__exportStar(require("./types/exports-index"), exports);
|
|
19
|
+
__exportStar(require("./utils/exports-index"), exports);
|
|
20
|
+
__exportStar(require("./config"), exports);
|
|
21
|
+
//# sourceMappingURL=exports-index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports-index.js","sourceRoot":"","sources":["../src/exports-index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,wDAAsC;AACtC,wDAAsC;AACtC,2CAAyB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { IsLocalDev } from "../_dependencies";
|
|
2
|
-
export * from '../types';
|
|
2
|
+
export * from '../types/exports-index';
|
|
@@ -17,5 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
exports.IsLocalDev = void 0;
|
|
18
18
|
var _dependencies_1 = require("../_dependencies");
|
|
19
19
|
Object.defineProperty(exports, "IsLocalDev", { enumerable: true, get: function () { return _dependencies_1.IsLocalDev; } });
|
|
20
|
-
__exportStar(require("../types"), exports);
|
|
20
|
+
__exportStar(require("../types/exports-index"), exports);
|
|
21
21
|
//# sourceMappingURL=_dependencies.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_dependencies.js","sourceRoot":"","sources":["../../src/helpers/_dependencies.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kDAA8C;AAArC,2GAAA,UAAU,OAAA;AACnB,
|
|
1
|
+
{"version":3,"file":"_dependencies.js","sourceRoot":"","sources":["../../src/helpers/_dependencies.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kDAA8C;AAArC,2GAAA,UAAU,OAAA;AACnB,yDAAuC"}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
19
|
-
export * from './
|
|
20
|
-
export * from './
|
|
21
|
-
export * from './
|
|
22
|
-
export * from './
|
|
23
|
-
export * from './
|
|
24
|
-
export * from './
|
|
25
|
-
export * from './sharepoint';
|
|
26
|
-
export * from './strings';
|
|
27
|
-
export * from './typecheckers';
|
|
28
|
-
export * from './url';
|
|
29
|
-
export * from './urlhelper';
|
|
1
|
+
export * from './graph/exports-index';
|
|
2
|
+
export * from './scheduler/exports-index';
|
|
3
|
+
export * from './Guid';
|
|
4
|
+
export * from './base64';
|
|
5
|
+
export * from './browser';
|
|
6
|
+
export * from './browserinfo';
|
|
7
|
+
export * from './collections.base';
|
|
8
|
+
export * from './collections';
|
|
9
|
+
export * from './color';
|
|
10
|
+
export * from './cookies';
|
|
11
|
+
export * from './date';
|
|
12
|
+
export * from './debug';
|
|
13
|
+
export * from './emails';
|
|
14
|
+
export * from './eval';
|
|
15
|
+
export * from './file';
|
|
16
|
+
export * from './flatted';
|
|
17
|
+
export * from './functions';
|
|
18
|
+
export * from './http';
|
|
19
|
+
export * from './images';
|
|
20
|
+
export * from './json';
|
|
21
|
+
export * from './md5';
|
|
22
|
+
export * from './objects';
|
|
23
|
+
export * from './promises';
|
|
24
|
+
export * from './random';
|
|
25
|
+
export * from './sharepoint';
|
|
26
|
+
export * from './strings';
|
|
27
|
+
export * from './typecheckers';
|
|
28
|
+
export * from './url';
|
|
29
|
+
export * from './urlhelper';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./graph/exports-index"), exports);
|
|
18
|
+
__exportStar(require("./scheduler/exports-index"), exports);
|
|
19
|
+
__exportStar(require("./Guid"), exports);
|
|
20
|
+
__exportStar(require("./base64"), exports);
|
|
21
|
+
__exportStar(require("./browser"), exports);
|
|
22
|
+
__exportStar(require("./browserinfo"), exports);
|
|
23
|
+
__exportStar(require("./collections.base"), exports);
|
|
24
|
+
__exportStar(require("./collections"), exports);
|
|
25
|
+
__exportStar(require("./color"), exports);
|
|
26
|
+
__exportStar(require("./cookies"), exports);
|
|
27
|
+
__exportStar(require("./date"), exports);
|
|
28
|
+
__exportStar(require("./debug"), exports);
|
|
29
|
+
__exportStar(require("./emails"), exports);
|
|
30
|
+
__exportStar(require("./eval"), exports);
|
|
31
|
+
__exportStar(require("./file"), exports);
|
|
32
|
+
__exportStar(require("./flatted"), exports);
|
|
33
|
+
__exportStar(require("./functions"), exports);
|
|
34
|
+
__exportStar(require("./http"), exports);
|
|
35
|
+
__exportStar(require("./images"), exports);
|
|
36
|
+
__exportStar(require("./json"), exports);
|
|
37
|
+
__exportStar(require("./md5"), exports);
|
|
38
|
+
__exportStar(require("./objects"), exports);
|
|
39
|
+
__exportStar(require("./promises"), exports);
|
|
40
|
+
__exportStar(require("./random"), exports);
|
|
41
|
+
__exportStar(require("./sharepoint"), exports);
|
|
42
|
+
__exportStar(require("./strings"), exports);
|
|
43
|
+
__exportStar(require("./typecheckers"), exports);
|
|
44
|
+
__exportStar(require("./url"), exports);
|
|
45
|
+
__exportStar(require("./urlhelper"), exports);
|
|
46
|
+
//# sourceMappingURL=exports-index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports-index.js","sourceRoot":"","sources":["../../src/helpers/exports-index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,4DAA0C;AAC1C,yCAAuB;AACvB,2CAAyB;AACzB,4CAA0B;AAC1B,gDAA8B;AAC9B,qDAAmC;AACnC,gDAA8B;AAC9B,0CAAwB;AACxB,4CAA0B;AAC1B,yCAAuB;AACvB,0CAAwB;AACxB,2CAAyB;AACzB,yCAAuB;AACvB,yCAAuB;AACvB,4CAA0B;AAC1B,8CAA4B;AAC5B,yCAAuB;AACvB,2CAAyB;AACzB,yCAAuB;AACvB,wCAAsB;AACtB,4CAA0B;AAC1B,6CAA2B;AAC3B,2CAAyB;AACzB,+CAA6B;AAC7B,4CAA0B;AAC1B,iDAA+B;AAC/B,wCAAsB;AACtB,8CAA4B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './calendar.types';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./calendar.types"), exports);
|
|
18
|
+
//# sourceMappingURL=exports-index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports-index.js","sourceRoot":"","sources":["../../../src/helpers/graph/exports-index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './scheduler';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./scheduler"), exports);
|
|
18
|
+
//# sourceMappingURL=exports-index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports-index.js","sourceRoot":"","sources":["../../../src/helpers/scheduler/exports-index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B"}
|
package/dist/helpers/url.js
CHANGED
|
@@ -62,7 +62,7 @@ function makeFullUrl(url, baseUrl) {
|
|
|
62
62
|
if (url.indexOf('://') > 0)
|
|
63
63
|
return url;
|
|
64
64
|
else {
|
|
65
|
-
if (url.startsWith('/')) {
|
|
65
|
+
if (url.startsWith('/') || url.startsWith('#')) {
|
|
66
66
|
//server relative
|
|
67
67
|
if ((0, typecheckers_1.isNullOrEmptyString)(baseUrl)) { //no override base
|
|
68
68
|
var xxx = document.createElement("a");
|
|
@@ -71,6 +71,8 @@ function makeFullUrl(url, baseUrl) {
|
|
|
71
71
|
}
|
|
72
72
|
else //have override base
|
|
73
73
|
{
|
|
74
|
+
if (url.startsWith('#'))
|
|
75
|
+
return `${baseUrl.split('#')[0]}${url}`;
|
|
74
76
|
return `${baseUrl.split('/').slice(0, 3).join("/")}${url}`;
|
|
75
77
|
}
|
|
76
78
|
}
|
package/dist/helpers/url.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url.js","sourceRoot":"","sources":["../../src/helpers/url.ts"],"names":[],"mappings":";;;AACA,yDAA2D;AAC3D,iDAA+D;AAC/D,2CAAwC;AAExC;;;;GAIG;AACH,SAAgB,uBAAuB,CAAC,KAAa,EAAE,GAAY,EAAE,eAAyB;IAC1F,IAAI,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC;IACpC,IAAI,CAAC,IAAA,kCAAmB,EAAC,GAAG,CAAC,EAA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AAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAChE,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAClB,CAAC;AATD,4CASC;AACD,SAAgB,SAAS,CAAC,GAAW;IACjC,IAAI,IAAA,kCAAmB,EAAC,GAAG,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC;QAAE,OAAO,EAAE,CAAC;IAChE,IAAI,SAAS,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC7C,IAAI,MAAM,GAAwB,EAAE,CAAC;IACrC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;QAClB,IAAI,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC5B,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAChE,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAClB,CAAC;AATD,8BASC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './helpers';
|
|
3
|
-
export * from './types';
|
|
4
|
-
export * from './utils';
|
|
5
|
-
export declare var BuildNumber: string;
|
|
6
|
-
export declare var IsLocalDev: boolean;
|
|
7
|
-
export declare var ReleaseStatus: string;
|
|
8
|
-
export declare function config(params: {
|
|
9
|
-
BuildNumber: string;
|
|
10
|
-
IsLocalDev: boolean;
|
|
11
|
-
ReleaseStatus: string;
|
|
12
|
-
ProjectName: string;
|
|
13
|
-
}): {
|
|
14
|
-
logger: (name: string) => ConsoleLogger;
|
|
15
|
-
};
|
|
1
|
+
export * from './exports-index';
|
package/dist/index.js
CHANGED
|
@@ -14,24 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports
|
|
18
|
-
const utils_1 = require("./utils");
|
|
19
|
-
__exportStar(require("./helpers"), exports);
|
|
20
|
-
__exportStar(require("./types"), exports);
|
|
21
|
-
__exportStar(require("./utils"), exports);
|
|
22
|
-
exports.BuildNumber = "unset";
|
|
23
|
-
exports.IsLocalDev = false;
|
|
24
|
-
exports.ReleaseStatus = "npm";
|
|
25
|
-
function config(params) {
|
|
26
|
-
exports.BuildNumber = params.BuildNumber;
|
|
27
|
-
exports.IsLocalDev = params.IsLocalDev;
|
|
28
|
-
exports.ReleaseStatus = params.ReleaseStatus;
|
|
29
|
-
function GetLogger(name) {
|
|
30
|
-
return utils_1.ConsoleLogger.get(name, "[cms]");
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
logger: GetLogger
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
exports.config = config;
|
|
17
|
+
__exportStar(require("./exports-index"), exports);
|
|
37
18
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './graph/exports-index';
|
|
2
|
+
export * from './libs/exports-index';
|
|
3
|
+
export * from './auth';
|
|
4
|
+
export * from './common.types';
|
|
5
|
+
export * from './flatted.types';
|
|
6
|
+
export * from './globals.types';
|
|
7
|
+
export * from './knownscript.types';
|
|
8
|
+
export * from './locales';
|
|
9
|
+
export * from './localstoragecache.types';
|
|
10
|
+
export * from './moment';
|
|
11
|
+
export * from './regex.types';
|
|
12
|
+
export * from './rest.types';
|
|
13
|
+
export * from './sharepoint.types';
|
|
14
|
+
export * from './sharepoint.utils.types';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./graph/exports-index"), exports);
|
|
18
|
+
__exportStar(require("./libs/exports-index"), exports);
|
|
19
|
+
__exportStar(require("./auth"), exports);
|
|
20
|
+
__exportStar(require("./common.types"), exports);
|
|
21
|
+
__exportStar(require("./flatted.types"), exports);
|
|
22
|
+
__exportStar(require("./globals.types"), exports);
|
|
23
|
+
__exportStar(require("./knownscript.types"), exports);
|
|
24
|
+
__exportStar(require("./locales"), exports);
|
|
25
|
+
__exportStar(require("./localstoragecache.types"), exports);
|
|
26
|
+
__exportStar(require("./moment"), exports);
|
|
27
|
+
__exportStar(require("./regex.types"), exports);
|
|
28
|
+
__exportStar(require("./rest.types"), exports);
|
|
29
|
+
__exportStar(require("./sharepoint.types"), exports);
|
|
30
|
+
__exportStar(require("./sharepoint.utils.types"), exports);
|
|
31
|
+
//# sourceMappingURL=exports-index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports-index.js","sourceRoot":"","sources":["../../src/types/exports-index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,uDAAqC;AACrC,yCAAuB;AACvB,iDAA+B;AAC/B,kDAAgC;AAChC,kDAAgC;AAChC,sDAAoC;AACpC,4CAA0B;AAC1B,4DAA0C;AAC1C,2CAAyB;AACzB,gDAA8B;AAC9B,+CAA6B;AAC7B,qDAAmC;AACnC,2DAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './calendar.types';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./calendar.types"), exports);
|
|
18
|
+
//# sourceMappingURL=exports-index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports-index.js","sourceRoot":"","sources":["../../../src/types/graph/exports-index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./datajs.types"), exports);
|
|
18
|
+
__exportStar(require("./ics.types"), exports);
|
|
19
|
+
__exportStar(require("./msal.types"), exports);
|
|
20
|
+
//# sourceMappingURL=exports-index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports-index.js","sourceRoot":"","sources":["../../../src/types/libs/exports-index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,8CAA4B;AAC5B,+CAA6B"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { BuildNumber, IsLocalDev, ReleaseStatus } from "../_dependencies";
|
|
2
|
-
export * from '../helpers';
|
|
3
|
-
export * from '../types';
|
|
2
|
+
export * from '../helpers/exports-index';
|
|
3
|
+
export * from '../types/exports-index';
|
|
@@ -19,6 +19,6 @@ var _dependencies_1 = require("../_dependencies");
|
|
|
19
19
|
Object.defineProperty(exports, "BuildNumber", { enumerable: true, get: function () { return _dependencies_1.BuildNumber; } });
|
|
20
20
|
Object.defineProperty(exports, "IsLocalDev", { enumerable: true, get: function () { return _dependencies_1.IsLocalDev; } });
|
|
21
21
|
Object.defineProperty(exports, "ReleaseStatus", { enumerable: true, get: function () { return _dependencies_1.ReleaseStatus; } });
|
|
22
|
-
__exportStar(require("../helpers"), exports);
|
|
23
|
-
__exportStar(require("../types"), exports);
|
|
22
|
+
__exportStar(require("../helpers/exports-index"), exports);
|
|
23
|
+
__exportStar(require("../types/exports-index"), exports);
|
|
24
24
|
//# sourceMappingURL=_dependencies.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_dependencies.js","sourceRoot":"","sources":["../../src/utils/_dependencies.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kDAA0E;AAAjE,4GAAA,WAAW,OAAA;AAAE,2GAAA,UAAU,OAAA;AAAE,8GAAA,aAAa,OAAA;AAC/C,
|
|
1
|
+
{"version":3,"file":"_dependencies.js","sourceRoot":"","sources":["../../src/utils/_dependencies.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kDAA0E;AAAjE,4GAAA,WAAW,OAAA;AAAE,2GAAA,UAAU,OAAA;AAAE,8GAAA,aAAa,OAAA;AAC/C,2DAAyC;AACzC,yDAAuC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./common"), exports);
|
|
18
|
+
__exportStar(require("./discovery"), exports);
|
|
19
|
+
//# sourceMappingURL=exports-index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports-index.js","sourceRoot":"","sources":["../../../src/utils/auth/exports-index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,8CAA4B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './auth/exports-index';
|
|
2
|
+
export * from './sharepoint.rest/exports-index';
|
|
3
|
+
export * from './base64';
|
|
4
|
+
export * from './consolelogger';
|
|
5
|
+
export * from './date';
|
|
6
|
+
export * from './emails';
|
|
7
|
+
export * from './knownscript';
|
|
8
|
+
export * from './localstoragecache';
|
|
9
|
+
export * from './rest';
|
|
10
|
+
export * from './script';
|
|
11
|
+
export * from './sod';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./auth/exports-index"), exports);
|
|
18
|
+
__exportStar(require("./sharepoint.rest/exports-index"), exports);
|
|
19
|
+
__exportStar(require("./base64"), exports);
|
|
20
|
+
__exportStar(require("./consolelogger"), exports);
|
|
21
|
+
__exportStar(require("./date"), exports);
|
|
22
|
+
__exportStar(require("./emails"), exports);
|
|
23
|
+
__exportStar(require("./knownscript"), exports);
|
|
24
|
+
__exportStar(require("./localstoragecache"), exports);
|
|
25
|
+
__exportStar(require("./rest"), exports);
|
|
26
|
+
__exportStar(require("./script"), exports);
|
|
27
|
+
__exportStar(require("./sod"), exports);
|
|
28
|
+
//# sourceMappingURL=exports-index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports-index.js","sourceRoot":"","sources":["../../src/utils/exports-index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,kEAAgD;AAChD,2CAAyB;AACzB,kDAAgC;AAChC,yCAAuB;AACvB,2CAAyB;AACzB,gDAA8B;AAC9B,sDAAoC;AACpC,yCAAuB;AACvB,2CAAyB;AACzB,wCAAsB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './listutils/exports-index';
|
|
2
|
+
export * from './common';
|
|
3
|
+
export * from './date';
|
|
4
|
+
export * from './file.folder';
|
|
5
|
+
export * from './item';
|
|
6
|
+
export * from './list';
|
|
7
|
+
export * from './user-search';
|
|
8
|
+
export * from './user';
|
|
9
|
+
export * from './web';
|