@esri/solution-workflow 5.2.0 → 5.2.2
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/README.md +4 -7
- package/dist/cjs/index.js.map +1 -0
- package/dist/{esm/workflow/src → cjs}/workflow.d.ts +12 -3
- package/dist/cjs/workflow.js +118 -0
- package/dist/cjs/workflow.js.map +1 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/{cjs/workflow/src → esm}/workflow.d.ts +12 -3
- package/dist/esm/workflow.js +112 -0
- package/dist/esm/workflow.js.map +1 -0
- package/package.json +3 -3
- package/dist/cjs/common/src/generalHelpers.d.ts +0 -400
- package/dist/cjs/common/src/generalHelpers.js +0 -877
- package/dist/cjs/common/src/generalHelpers.js.map +0 -1
- package/dist/cjs/common/src/getItemTypeAbbrev.d.ts +0 -19
- package/dist/cjs/common/src/getItemTypeAbbrev.js +0 -186
- package/dist/cjs/common/src/getItemTypeAbbrev.js.map +0 -1
- package/dist/cjs/common/src/interfaces.d.ts +0 -1344
- package/dist/cjs/common/src/interfaces.js +0 -77
- package/dist/cjs/common/src/interfaces.js.map +0 -1
- package/dist/cjs/common/src/libConnectors.d.ts +0 -73
- package/dist/cjs/common/src/libConnectors.js +0 -115
- package/dist/cjs/common/src/libConnectors.js.map +0 -1
- package/dist/cjs/common/test/mocks/templates.d.ts +0 -71
- package/dist/cjs/common/test/mocks/templates.js +0 -1220
- package/dist/cjs/common/test/mocks/templates.js.map +0 -1
- package/dist/cjs/common/test/mocks/utils.d.ts +0 -605
- package/dist/cjs/common/test/mocks/utils.js +0 -1222
- package/dist/cjs/common/test/mocks/utils.js.map +0 -1
- package/dist/cjs/workflow/src/index.js.map +0 -1
- package/dist/cjs/workflow/src/workflow.js +0 -51
- package/dist/cjs/workflow/src/workflow.js.map +0 -1
- package/dist/esm/common/src/generalHelpers.d.ts +0 -400
- package/dist/esm/common/src/generalHelpers.js +0 -829
- package/dist/esm/common/src/generalHelpers.js.map +0 -1
- package/dist/esm/common/src/getItemTypeAbbrev.d.ts +0 -19
- package/dist/esm/common/src/getItemTypeAbbrev.js +0 -182
- package/dist/esm/common/src/getItemTypeAbbrev.js.map +0 -1
- package/dist/esm/common/src/interfaces.d.ts +0 -1344
- package/dist/esm/common/src/interfaces.js +0 -72
- package/dist/esm/common/src/interfaces.js.map +0 -1
- package/dist/esm/common/src/libConnectors.d.ts +0 -73
- package/dist/esm/common/src/libConnectors.js +0 -105
- package/dist/esm/common/src/libConnectors.js.map +0 -1
- package/dist/esm/common/test/mocks/templates.d.ts +0 -71
- package/dist/esm/common/test/mocks/templates.js +0 -1195
- package/dist/esm/common/test/mocks/templates.js.map +0 -1
- package/dist/esm/common/test/mocks/utils.d.ts +0 -605
- package/dist/esm/common/test/mocks/utils.js +0 -1177
- package/dist/esm/common/test/mocks/utils.js.map +0 -1
- package/dist/esm/workflow/src/index.js.map +0 -1
- package/dist/esm/workflow/src/workflow.js +0 -45
- package/dist/esm/workflow/src/workflow.js.map +0 -1
- /package/dist/cjs/{workflow/src/index.d.ts → index.d.ts} +0 -0
- /package/dist/cjs/{workflow/src/index.js → index.js} +0 -0
- /package/dist/esm/{workflow/src/index.d.ts → index.d.ts} +0 -0
- /package/dist/esm/{workflow/src/index.js → index.js} +0 -0
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2018 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
//#region Re-exports -------------------------------------------------------------------------------------------------//
|
|
17
|
-
export { UserSession } from "@esri/arcgis-rest-auth";
|
|
18
|
-
export { queryRelated } from "@esri/arcgis-rest-feature-layer";
|
|
19
|
-
//#endregion ---------------------------------------------------------------------------------------------------------//
|
|
20
|
-
export const SolutionTemplateFormatVersion = 1;
|
|
21
|
-
export const DeployedSolutionFormatVersion = 1;
|
|
22
|
-
export const UNREACHABLE = "unreachable";
|
|
23
|
-
//#region Enums ------------------------------------------------------------------------------------------------------//
|
|
24
|
-
/**
|
|
25
|
-
* Flags for storing an item's binary resources.
|
|
26
|
-
*/
|
|
27
|
-
export var EFileType;
|
|
28
|
-
(function (EFileType) {
|
|
29
|
-
EFileType[EFileType["Data"] = 0] = "Data";
|
|
30
|
-
EFileType[EFileType["Info"] = 1] = "Info";
|
|
31
|
-
EFileType[EFileType["Metadata"] = 2] = "Metadata";
|
|
32
|
-
EFileType[EFileType["Resource"] = 3] = "Resource";
|
|
33
|
-
EFileType[EFileType["Thumbnail"] = 4] = "Thumbnail";
|
|
34
|
-
})(EFileType || (EFileType = {}));
|
|
35
|
-
/**
|
|
36
|
-
* Text versions of flags for storing an item's binary resources.
|
|
37
|
-
*/
|
|
38
|
-
export var SFileType;
|
|
39
|
-
(function (SFileType) {
|
|
40
|
-
SFileType[SFileType["Data"] = 0] = "Data";
|
|
41
|
-
SFileType[SFileType["Info"] = 1] = "Info";
|
|
42
|
-
SFileType[SFileType["Metadata"] = 2] = "Metadata";
|
|
43
|
-
SFileType[SFileType["Resource"] = 3] = "Resource";
|
|
44
|
-
SFileType[SFileType["Thumbnail"] = 4] = "Thumbnail";
|
|
45
|
-
})(SFileType || (SFileType = {}));
|
|
46
|
-
/**
|
|
47
|
-
* Flags for reporting the status of creating or deploying an item.
|
|
48
|
-
*/
|
|
49
|
-
export var EItemProgressStatus;
|
|
50
|
-
(function (EItemProgressStatus) {
|
|
51
|
-
EItemProgressStatus[EItemProgressStatus["Started"] = 0] = "Started";
|
|
52
|
-
EItemProgressStatus[EItemProgressStatus["Created"] = 1] = "Created";
|
|
53
|
-
EItemProgressStatus[EItemProgressStatus["Cancelled"] = 2] = "Cancelled";
|
|
54
|
-
EItemProgressStatus[EItemProgressStatus["Finished"] = 3] = "Finished";
|
|
55
|
-
EItemProgressStatus[EItemProgressStatus["Ignored"] = 4] = "Ignored";
|
|
56
|
-
EItemProgressStatus[EItemProgressStatus["Failed"] = 5] = "Failed";
|
|
57
|
-
EItemProgressStatus[EItemProgressStatus["Unknown"] = 6] = "Unknown";
|
|
58
|
-
})(EItemProgressStatus || (EItemProgressStatus = {}));
|
|
59
|
-
/**
|
|
60
|
-
* Text versions of flags for reporting the status of creating or deploying an item.
|
|
61
|
-
*/
|
|
62
|
-
export const SItemProgressStatus = [
|
|
63
|
-
"1 Started",
|
|
64
|
-
"2 Created",
|
|
65
|
-
"3 Cancelled",
|
|
66
|
-
"3 Finished",
|
|
67
|
-
"3 Ignored",
|
|
68
|
-
"3 Failed",
|
|
69
|
-
"Unknown"
|
|
70
|
-
];
|
|
71
|
-
//#endregion ---------------------------------------------------------------------------------------------------------//
|
|
72
|
-
//# sourceMappingURL=interfaces.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../common/src/interfaces.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAeH,wHAAwH;AAExH,OAAO,EAGL,WAAW,EACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAKL,YAAY,EACb,MAAM,iCAAiC,CAAC;AAsBzC,wHAAwH;AAExH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC;AAC/C,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC;AAC/C,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC;AAEzC,wHAAwH;AAExH;;GAEG;AACH,MAAM,CAAN,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,yCAAI,CAAA;IACJ,yCAAI,CAAA;IACJ,iDAAQ,CAAA;IACR,iDAAQ,CAAA;IACR,mDAAS,CAAA;AACX,CAAC,EANW,SAAS,KAAT,SAAS,QAMpB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,yCAAM,CAAA;IACN,yCAAM,CAAA;IACN,iDAAU,CAAA;IACV,iDAAU,CAAA;IACV,mDAAW,CAAA;AACb,CAAC,EANW,SAAS,KAAT,SAAS,QAMpB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,mBAQX;AARD,WAAY,mBAAmB;IAC7B,mEAAO,CAAA;IACP,mEAAO,CAAA;IACP,uEAAS,CAAA;IACT,qEAAQ,CAAA;IACR,mEAAO,CAAA;IACP,iEAAM,CAAA;IACN,mEAAO,CAAA;AACT,CAAC,EARW,mBAAmB,KAAnB,mBAAmB,QAQ9B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,WAAW;IACX,WAAW;IACX,aAAa;IACb,YAAY;IACZ,WAAW;IACX,UAAU;IACV,SAAS;CACV,CAAC;AAogDF,wHAAwH"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2020 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* Provides connectors to third-party helper functions.
|
|
18
|
-
*/
|
|
19
|
-
import { Sanitizer } from "@esri/arcgis-html-sanitizer";
|
|
20
|
-
export { Sanitizer } from "@esri/arcgis-html-sanitizer";
|
|
21
|
-
/**
|
|
22
|
-
* Creates a zip File from a collection of Files.
|
|
23
|
-
*
|
|
24
|
-
* @param zipFilename Name to use for zip File
|
|
25
|
-
* @param files List of files to add to zip File
|
|
26
|
-
* @param folder Folder to contain the files
|
|
27
|
-
* @returns Promise resolving to a zip File
|
|
28
|
-
*/
|
|
29
|
-
export declare function createZip(zipFilename: string, files: File[], folder?: string): Promise<File>;
|
|
30
|
-
/**
|
|
31
|
-
* Result of checking if a string contains invalid HTML.
|
|
32
|
-
*/
|
|
33
|
-
export interface IValidationResult {
|
|
34
|
-
isValid: boolean;
|
|
35
|
-
sanitized: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Sanitizes html.
|
|
39
|
-
*
|
|
40
|
-
* @param HTML Text to sanitize
|
|
41
|
-
* @param sanitizer Instance of Sanitizer class
|
|
42
|
-
* @returns Sanitized version of `html`
|
|
43
|
-
* @see https://github.com/esri/arcgis-html-sanitizer#basic-usage
|
|
44
|
-
*/
|
|
45
|
-
export declare function sanitizeHTML(html: string, sanitizer?: Sanitizer): string;
|
|
46
|
-
/**
|
|
47
|
-
* Sanitizes JSON.
|
|
48
|
-
*
|
|
49
|
-
* @param json JSON to sanitize
|
|
50
|
-
* @param sanitizer Instance of Sanitizer class
|
|
51
|
-
* @returns Sanitized version of `json`
|
|
52
|
-
* @see https://github.com/esri/arcgis-html-sanitizer#sanitize-json
|
|
53
|
-
*/
|
|
54
|
-
export declare function sanitizeJSON(json: any, sanitizer?: Sanitizer): any;
|
|
55
|
-
/**
|
|
56
|
-
* Sanitizes the protocol in a URL.
|
|
57
|
-
*
|
|
58
|
-
* @param url URL to sanitize
|
|
59
|
-
* @param sanitizer Instance of Sanitizer class
|
|
60
|
-
* @returns Sanitized version of `url`
|
|
61
|
-
* @see https://github.com/esri/arcgis-html-sanitizer#sanitize-urls
|
|
62
|
-
*/
|
|
63
|
-
export declare function sanitizeURLProtocol(url: string, sanitizer?: Sanitizer): string;
|
|
64
|
-
/**
|
|
65
|
-
* Checks if a string contains invalid HTML.
|
|
66
|
-
*
|
|
67
|
-
* @param html HTML to check
|
|
68
|
-
* @param sanitizer Instance of Sanitizer class
|
|
69
|
-
* @returns An object containing a flag indicating if `html` is valid (i.e., contains no invalid HTML)
|
|
70
|
-
* as well as the sanitized version of `html`
|
|
71
|
-
* @see https://github.com/esri/arcgis-html-sanitizer#basic-usage
|
|
72
|
-
*/
|
|
73
|
-
export declare function validateHTML(html: string, sanitizer?: Sanitizer): IValidationResult;
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2020 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* Provides connectors to third-party helper functions.
|
|
18
|
-
*/
|
|
19
|
-
import JSZip from "jszip";
|
|
20
|
-
import { blobToFile } from "./generalHelpers";
|
|
21
|
-
import { Sanitizer } from "@esri/arcgis-html-sanitizer";
|
|
22
|
-
export { Sanitizer } from "@esri/arcgis-html-sanitizer";
|
|
23
|
-
//#region JSZip ----------------------------------------------------------------------------------------------------- //
|
|
24
|
-
/**
|
|
25
|
-
* Creates a zip File from a collection of Files.
|
|
26
|
-
*
|
|
27
|
-
* @param zipFilename Name to use for zip File
|
|
28
|
-
* @param files List of files to add to zip File
|
|
29
|
-
* @param folder Folder to contain the files
|
|
30
|
-
* @returns Promise resolving to a zip File
|
|
31
|
-
*/
|
|
32
|
-
export function createZip(zipFilename, files, folder) {
|
|
33
|
-
return new Promise((resolve, reject) => {
|
|
34
|
-
const zip = new JSZip();
|
|
35
|
-
let container = zip;
|
|
36
|
-
if (folder) {
|
|
37
|
-
container = zip.folder(folder);
|
|
38
|
-
}
|
|
39
|
-
// Add the files
|
|
40
|
-
files.forEach(file => container.file(file.name, file, { binary: true }));
|
|
41
|
-
// Create the ZIP
|
|
42
|
-
zip
|
|
43
|
-
.generateAsync({ type: "blob" })
|
|
44
|
-
.then((content) => resolve(blobToFile(content, zipFilename, "application/zip")), reject);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Sanitizes html.
|
|
49
|
-
*
|
|
50
|
-
* @param HTML Text to sanitize
|
|
51
|
-
* @param sanitizer Instance of Sanitizer class
|
|
52
|
-
* @returns Sanitized version of `html`
|
|
53
|
-
* @see https://github.com/esri/arcgis-html-sanitizer#basic-usage
|
|
54
|
-
*/
|
|
55
|
-
export function sanitizeHTML(html, sanitizer) {
|
|
56
|
-
if (!sanitizer) {
|
|
57
|
-
sanitizer = new Sanitizer();
|
|
58
|
-
}
|
|
59
|
-
return sanitizer.sanitize(html);
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Sanitizes JSON.
|
|
63
|
-
*
|
|
64
|
-
* @param json JSON to sanitize
|
|
65
|
-
* @param sanitizer Instance of Sanitizer class
|
|
66
|
-
* @returns Sanitized version of `json`
|
|
67
|
-
* @see https://github.com/esri/arcgis-html-sanitizer#sanitize-json
|
|
68
|
-
*/
|
|
69
|
-
export function sanitizeJSON(json, sanitizer) {
|
|
70
|
-
if (!sanitizer) {
|
|
71
|
-
sanitizer = new Sanitizer();
|
|
72
|
-
}
|
|
73
|
-
return sanitizer.sanitize(json);
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Sanitizes the protocol in a URL.
|
|
77
|
-
*
|
|
78
|
-
* @param url URL to sanitize
|
|
79
|
-
* @param sanitizer Instance of Sanitizer class
|
|
80
|
-
* @returns Sanitized version of `url`
|
|
81
|
-
* @see https://github.com/esri/arcgis-html-sanitizer#sanitize-urls
|
|
82
|
-
*/
|
|
83
|
-
export function sanitizeURLProtocol(url, sanitizer) {
|
|
84
|
-
if (!sanitizer) {
|
|
85
|
-
sanitizer = new Sanitizer();
|
|
86
|
-
}
|
|
87
|
-
return sanitizer.sanitizeUrl(url);
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Checks if a string contains invalid HTML.
|
|
91
|
-
*
|
|
92
|
-
* @param html HTML to check
|
|
93
|
-
* @param sanitizer Instance of Sanitizer class
|
|
94
|
-
* @returns An object containing a flag indicating if `html` is valid (i.e., contains no invalid HTML)
|
|
95
|
-
* as well as the sanitized version of `html`
|
|
96
|
-
* @see https://github.com/esri/arcgis-html-sanitizer#basic-usage
|
|
97
|
-
*/
|
|
98
|
-
export function validateHTML(html, sanitizer) {
|
|
99
|
-
if (!sanitizer) {
|
|
100
|
-
sanitizer = new Sanitizer();
|
|
101
|
-
}
|
|
102
|
-
return sanitizer.validate(html);
|
|
103
|
-
}
|
|
104
|
-
//#endregion ---------------------------------------------------------------------------------------------------------//
|
|
105
|
-
//# sourceMappingURL=libConnectors.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"libConnectors.js","sourceRoot":"","sources":["../../../../../common/src/libConnectors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH;;GAEG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,wHAAwH;AAExH;;;;;;;GAOG;AACH,MAAM,UAAU,SAAS,CACvB,WAAmB,EACnB,KAAa,EACb,MAAe;IAEf,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC3C,MAAM,GAAG,GAAG,IAAI,KAAK,EAAE,CAAC;QACxB,IAAI,SAAS,GAAG,GAAG,CAAC;QACpB,IAAI,MAAM,EAAE;YACV,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;SAChC;QAED,gBAAgB;QAChB,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QAEzE,iBAAiB;QACjB,GAAG;aACA,aAAa,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;aAC/B,IAAI,CACH,CAAC,OAAa,EAAE,EAAE,CAChB,OAAO,CAAC,UAAU,CAAC,OAAO,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC,EAC9D,MAAM,CACP,CAAC;IACN,CAAC,CAAC,CAAC;AACL,CAAC;AAoBD;;;;;;;GAOG;AACH,MAAM,UAAU,YAAY,CAAC,IAAY,EAAE,SAAqB;IAC9D,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;KAC7B;IAED,OAAO,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,YAAY,CAAC,IAAS,EAAE,SAAqB;IAC3D,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;KAC7B;IAED,OAAO,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,mBAAmB,CACjC,GAAW,EACX,SAAqB;IAErB,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;KAC7B;IAED,OAAO,SAAS,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;AACpC,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,YAAY,CAC1B,IAAY,EACZ,SAAqB;IAErB,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;KAC7B;IAED,OAAO,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC;AAED,wHAAwH"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2018 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import * as interfaces from "../../src/interfaces";
|
|
17
|
-
export declare function getEmptyGeneralizedItem(): interfaces.IItemGeneralized;
|
|
18
|
-
export declare function getEmptyItem(): interfaces.IItem;
|
|
19
|
-
export declare function getFailedDeployment(failedItemIds?: string[]): any;
|
|
20
|
-
export declare function getFailedItem(itemType: string): interfaces.ICreateItemFromTemplateResponse;
|
|
21
|
-
export declare function getSolutionTemplateItem(templates?: interfaces.IItemTemplate[]): interfaces.ISolutionItem;
|
|
22
|
-
export declare function getItemTemplateSkeleton(): interfaces.IItemTemplate;
|
|
23
|
-
export declare function getDeployedItemTemplate(itemId: string, type: string, dependencies?: string[]): any;
|
|
24
|
-
export declare function getItemTemplate(type: string, dependencies?: string[], url?: string): interfaces.IItemTemplate;
|
|
25
|
-
export declare function getDashboardTemplatePartNoWidgets(): any;
|
|
26
|
-
export declare function getTemplatePartNoData(type: string): any;
|
|
27
|
-
export declare function getTemplatePartNoExtent(type: string): any;
|
|
28
|
-
export declare function getFeatureServiceTemplatePartNoRelationships(): any;
|
|
29
|
-
export declare function getGroupTemplatePart(dependencies?: string[]): any;
|
|
30
|
-
export declare function getWebMappingApplicationTemplate(): interfaces.IItemTemplate[];
|
|
31
|
-
export declare function getWebMappingApplicationTemplateGroup(): interfaces.IItemTemplate[];
|
|
32
|
-
export declare function getWebMappingApplicationTemplateNoWebmapOrGroup(): interfaces.IItemTemplate[];
|
|
33
|
-
export declare function getItemTemplateData(type: string): any;
|
|
34
|
-
export declare function getItemTemplateResources(type: string, itemId: string): string[];
|
|
35
|
-
export declare function getItemTemplateResourcesAsSourceFiles(type: string, itemId: string): interfaces.ISourceFile[];
|
|
36
|
-
export declare function getItemTemplateResourcesAsTemplatizedFiles(type: string): interfaces.IAssociatedFileInfo[];
|
|
37
|
-
export declare function removeEditFieldsInfoField(layerOrTable: any): any;
|
|
38
|
-
export declare const sampleInfoRootJson: {
|
|
39
|
-
resourceInfo: string[];
|
|
40
|
-
};
|
|
41
|
-
export declare const sampleStylesRootJson: {
|
|
42
|
-
version: number;
|
|
43
|
-
sprite: string;
|
|
44
|
-
glyphs: string;
|
|
45
|
-
sources: {
|
|
46
|
-
esri: {
|
|
47
|
-
type: string;
|
|
48
|
-
url: string;
|
|
49
|
-
tiles: string[];
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
layers: any[];
|
|
53
|
-
metadata: {};
|
|
54
|
-
};
|
|
55
|
-
export declare const sampleInfoRootTemplatizedJson: {
|
|
56
|
-
resourceInfo: string[];
|
|
57
|
-
};
|
|
58
|
-
export declare const sampleStylesRootTemplatizedJson: {
|
|
59
|
-
version: number;
|
|
60
|
-
sprite: string;
|
|
61
|
-
glyphs: string;
|
|
62
|
-
sources: {
|
|
63
|
-
esri: {
|
|
64
|
-
type: string;
|
|
65
|
-
url: string;
|
|
66
|
-
tiles: string[];
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
layers: any[];
|
|
70
|
-
metadata: {};
|
|
71
|
-
};
|