@esri/solution-workflow 5.2.0

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.
Files changed (51) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +53 -0
  3. package/dist/cjs/common/src/generalHelpers.d.ts +400 -0
  4. package/dist/cjs/common/src/generalHelpers.js +877 -0
  5. package/dist/cjs/common/src/generalHelpers.js.map +1 -0
  6. package/dist/cjs/common/src/getItemTypeAbbrev.d.ts +19 -0
  7. package/dist/cjs/common/src/getItemTypeAbbrev.js +186 -0
  8. package/dist/cjs/common/src/getItemTypeAbbrev.js.map +1 -0
  9. package/dist/cjs/common/src/interfaces.d.ts +1344 -0
  10. package/dist/cjs/common/src/interfaces.js +77 -0
  11. package/dist/cjs/common/src/interfaces.js.map +1 -0
  12. package/dist/cjs/common/src/libConnectors.d.ts +73 -0
  13. package/dist/cjs/common/src/libConnectors.js +115 -0
  14. package/dist/cjs/common/src/libConnectors.js.map +1 -0
  15. package/dist/cjs/common/test/mocks/templates.d.ts +71 -0
  16. package/dist/cjs/common/test/mocks/templates.js +1220 -0
  17. package/dist/cjs/common/test/mocks/templates.js.map +1 -0
  18. package/dist/cjs/common/test/mocks/utils.d.ts +605 -0
  19. package/dist/cjs/common/test/mocks/utils.js +1222 -0
  20. package/dist/cjs/common/test/mocks/utils.js.map +1 -0
  21. package/dist/cjs/workflow/src/index.d.ts +21 -0
  22. package/dist/cjs/workflow/src/index.js +25 -0
  23. package/dist/cjs/workflow/src/index.js.map +1 -0
  24. package/dist/cjs/workflow/src/workflow.d.ts +32 -0
  25. package/dist/cjs/workflow/src/workflow.js +51 -0
  26. package/dist/cjs/workflow/src/workflow.js.map +1 -0
  27. package/dist/esm/common/src/generalHelpers.d.ts +400 -0
  28. package/dist/esm/common/src/generalHelpers.js +829 -0
  29. package/dist/esm/common/src/generalHelpers.js.map +1 -0
  30. package/dist/esm/common/src/getItemTypeAbbrev.d.ts +19 -0
  31. package/dist/esm/common/src/getItemTypeAbbrev.js +182 -0
  32. package/dist/esm/common/src/getItemTypeAbbrev.js.map +1 -0
  33. package/dist/esm/common/src/interfaces.d.ts +1344 -0
  34. package/dist/esm/common/src/interfaces.js +72 -0
  35. package/dist/esm/common/src/interfaces.js.map +1 -0
  36. package/dist/esm/common/src/libConnectors.d.ts +73 -0
  37. package/dist/esm/common/src/libConnectors.js +105 -0
  38. package/dist/esm/common/src/libConnectors.js.map +1 -0
  39. package/dist/esm/common/test/mocks/templates.d.ts +71 -0
  40. package/dist/esm/common/test/mocks/templates.js +1195 -0
  41. package/dist/esm/common/test/mocks/templates.js.map +1 -0
  42. package/dist/esm/common/test/mocks/utils.d.ts +605 -0
  43. package/dist/esm/common/test/mocks/utils.js +1177 -0
  44. package/dist/esm/common/test/mocks/utils.js.map +1 -0
  45. package/dist/esm/workflow/src/index.d.ts +21 -0
  46. package/dist/esm/workflow/src/index.js +22 -0
  47. package/dist/esm/workflow/src/index.js.map +1 -0
  48. package/dist/esm/workflow/src/workflow.d.ts +32 -0
  49. package/dist/esm/workflow/src/workflow.js +45 -0
  50. package/dist/esm/workflow/src/workflow.js.map +1 -0
  51. package/package.json +70 -0
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ /** @license
3
+ * Copyright 2018 Esri
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.SItemProgressStatus = exports.EItemProgressStatus = exports.SFileType = exports.EFileType = exports.UNREACHABLE = exports.DeployedSolutionFormatVersion = exports.SolutionTemplateFormatVersion = exports.queryRelated = exports.UserSession = void 0;
19
+ //#region Re-exports -------------------------------------------------------------------------------------------------//
20
+ var arcgis_rest_auth_1 = require("@esri/arcgis-rest-auth");
21
+ Object.defineProperty(exports, "UserSession", { enumerable: true, get: function () { return arcgis_rest_auth_1.UserSession; } });
22
+ var arcgis_rest_feature_layer_1 = require("@esri/arcgis-rest-feature-layer");
23
+ Object.defineProperty(exports, "queryRelated", { enumerable: true, get: function () { return arcgis_rest_feature_layer_1.queryRelated; } });
24
+ //#endregion ---------------------------------------------------------------------------------------------------------//
25
+ exports.SolutionTemplateFormatVersion = 1;
26
+ exports.DeployedSolutionFormatVersion = 1;
27
+ exports.UNREACHABLE = "unreachable";
28
+ //#region Enums ------------------------------------------------------------------------------------------------------//
29
+ /**
30
+ * Flags for storing an item's binary resources.
31
+ */
32
+ var EFileType;
33
+ (function (EFileType) {
34
+ EFileType[EFileType["Data"] = 0] = "Data";
35
+ EFileType[EFileType["Info"] = 1] = "Info";
36
+ EFileType[EFileType["Metadata"] = 2] = "Metadata";
37
+ EFileType[EFileType["Resource"] = 3] = "Resource";
38
+ EFileType[EFileType["Thumbnail"] = 4] = "Thumbnail";
39
+ })(EFileType || (exports.EFileType = EFileType = {}));
40
+ /**
41
+ * Text versions of flags for storing an item's binary resources.
42
+ */
43
+ var SFileType;
44
+ (function (SFileType) {
45
+ SFileType[SFileType["Data"] = 0] = "Data";
46
+ SFileType[SFileType["Info"] = 1] = "Info";
47
+ SFileType[SFileType["Metadata"] = 2] = "Metadata";
48
+ SFileType[SFileType["Resource"] = 3] = "Resource";
49
+ SFileType[SFileType["Thumbnail"] = 4] = "Thumbnail";
50
+ })(SFileType || (exports.SFileType = SFileType = {}));
51
+ /**
52
+ * Flags for reporting the status of creating or deploying an item.
53
+ */
54
+ var EItemProgressStatus;
55
+ (function (EItemProgressStatus) {
56
+ EItemProgressStatus[EItemProgressStatus["Started"] = 0] = "Started";
57
+ EItemProgressStatus[EItemProgressStatus["Created"] = 1] = "Created";
58
+ EItemProgressStatus[EItemProgressStatus["Cancelled"] = 2] = "Cancelled";
59
+ EItemProgressStatus[EItemProgressStatus["Finished"] = 3] = "Finished";
60
+ EItemProgressStatus[EItemProgressStatus["Ignored"] = 4] = "Ignored";
61
+ EItemProgressStatus[EItemProgressStatus["Failed"] = 5] = "Failed";
62
+ EItemProgressStatus[EItemProgressStatus["Unknown"] = 6] = "Unknown";
63
+ })(EItemProgressStatus || (exports.EItemProgressStatus = EItemProgressStatus = {}));
64
+ /**
65
+ * Text versions of flags for reporting the status of creating or deploying an item.
66
+ */
67
+ exports.SItemProgressStatus = [
68
+ "1 Started",
69
+ "2 Created",
70
+ "3 Cancelled",
71
+ "3 Finished",
72
+ "3 Ignored",
73
+ "3 Failed",
74
+ "Unknown"
75
+ ];
76
+ //#endregion ---------------------------------------------------------------------------------------------------------//
77
+ //# sourceMappingURL=interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../common/src/interfaces.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAeH,wHAAwH;AAExH,2DAIgC;AAD9B,+GAAA,WAAW,OAAA;AAEb,6EAMyC;AADvC,yHAAA,YAAY,OAAA;AAuBd,wHAAwH;AAE3G,QAAA,6BAA6B,GAAG,CAAC,CAAC;AAClC,QAAA,6BAA6B,GAAG,CAAC,CAAC;AAClC,QAAA,WAAW,GAAG,aAAa,CAAC;AAEzC,wHAAwH;AAExH;;GAEG;AACH,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,yCAAI,CAAA;IACJ,yCAAI,CAAA;IACJ,iDAAQ,CAAA;IACR,iDAAQ,CAAA;IACR,mDAAS,CAAA;AACX,CAAC,EANW,SAAS,yBAAT,SAAS,QAMpB;AAED;;GAEG;AACH,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,yCAAM,CAAA;IACN,yCAAM,CAAA;IACN,iDAAU,CAAA;IACV,iDAAU,CAAA;IACV,mDAAW,CAAA;AACb,CAAC,EANW,SAAS,yBAAT,SAAS,QAMpB;AAED;;GAEG;AACH,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,mCAAnB,mBAAmB,QAQ9B;AAED;;GAEG;AACU,QAAA,mBAAmB,GAAG;IACjC,WAAW;IACX,WAAW;IACX,aAAa;IACb,YAAY;IACZ,WAAW;IACX,UAAU;IACV,SAAS;CACV,CAAC;AAogDF,wHAAwH"}
@@ -0,0 +1,73 @@
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;
@@ -0,0 +1,115 @@
1
+ "use strict";
2
+ /** @license
3
+ * Copyright 2020 Esri
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ /**
18
+ * Provides connectors to third-party helper functions.
19
+ */
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.validateHTML = exports.sanitizeURLProtocol = exports.sanitizeJSON = exports.sanitizeHTML = exports.createZip = exports.Sanitizer = void 0;
22
+ const tslib_1 = require("tslib");
23
+ const jszip_1 = tslib_1.__importDefault(require("jszip"));
24
+ const generalHelpers_1 = require("./generalHelpers");
25
+ const arcgis_html_sanitizer_1 = require("@esri/arcgis-html-sanitizer");
26
+ var arcgis_html_sanitizer_2 = require("@esri/arcgis-html-sanitizer");
27
+ Object.defineProperty(exports, "Sanitizer", { enumerable: true, get: function () { return arcgis_html_sanitizer_2.Sanitizer; } });
28
+ //#region JSZip ----------------------------------------------------------------------------------------------------- //
29
+ /**
30
+ * Creates a zip File from a collection of Files.
31
+ *
32
+ * @param zipFilename Name to use for zip File
33
+ * @param files List of files to add to zip File
34
+ * @param folder Folder to contain the files
35
+ * @returns Promise resolving to a zip File
36
+ */
37
+ function createZip(zipFilename, files, folder) {
38
+ return new Promise((resolve, reject) => {
39
+ const zip = new jszip_1.default();
40
+ let container = zip;
41
+ if (folder) {
42
+ container = zip.folder(folder);
43
+ }
44
+ // Add the files
45
+ files.forEach(file => container.file(file.name, file, { binary: true }));
46
+ // Create the ZIP
47
+ zip
48
+ .generateAsync({ type: "blob" })
49
+ .then((content) => resolve((0, generalHelpers_1.blobToFile)(content, zipFilename, "application/zip")), reject);
50
+ });
51
+ }
52
+ exports.createZip = createZip;
53
+ /**
54
+ * Sanitizes html.
55
+ *
56
+ * @param HTML Text to sanitize
57
+ * @param sanitizer Instance of Sanitizer class
58
+ * @returns Sanitized version of `html`
59
+ * @see https://github.com/esri/arcgis-html-sanitizer#basic-usage
60
+ */
61
+ function sanitizeHTML(html, sanitizer) {
62
+ if (!sanitizer) {
63
+ sanitizer = new arcgis_html_sanitizer_1.Sanitizer();
64
+ }
65
+ return sanitizer.sanitize(html);
66
+ }
67
+ exports.sanitizeHTML = sanitizeHTML;
68
+ /**
69
+ * Sanitizes JSON.
70
+ *
71
+ * @param json JSON to sanitize
72
+ * @param sanitizer Instance of Sanitizer class
73
+ * @returns Sanitized version of `json`
74
+ * @see https://github.com/esri/arcgis-html-sanitizer#sanitize-json
75
+ */
76
+ function sanitizeJSON(json, sanitizer) {
77
+ if (!sanitizer) {
78
+ sanitizer = new arcgis_html_sanitizer_1.Sanitizer();
79
+ }
80
+ return sanitizer.sanitize(json);
81
+ }
82
+ exports.sanitizeJSON = sanitizeJSON;
83
+ /**
84
+ * Sanitizes the protocol in a URL.
85
+ *
86
+ * @param url URL to sanitize
87
+ * @param sanitizer Instance of Sanitizer class
88
+ * @returns Sanitized version of `url`
89
+ * @see https://github.com/esri/arcgis-html-sanitizer#sanitize-urls
90
+ */
91
+ function sanitizeURLProtocol(url, sanitizer) {
92
+ if (!sanitizer) {
93
+ sanitizer = new arcgis_html_sanitizer_1.Sanitizer();
94
+ }
95
+ return sanitizer.sanitizeUrl(url);
96
+ }
97
+ exports.sanitizeURLProtocol = sanitizeURLProtocol;
98
+ /**
99
+ * Checks if a string contains invalid HTML.
100
+ *
101
+ * @param html HTML to check
102
+ * @param sanitizer Instance of Sanitizer class
103
+ * @returns An object containing a flag indicating if `html` is valid (i.e., contains no invalid HTML)
104
+ * as well as the sanitized version of `html`
105
+ * @see https://github.com/esri/arcgis-html-sanitizer#basic-usage
106
+ */
107
+ function validateHTML(html, sanitizer) {
108
+ if (!sanitizer) {
109
+ sanitizer = new arcgis_html_sanitizer_1.Sanitizer();
110
+ }
111
+ return sanitizer.validate(html);
112
+ }
113
+ exports.validateHTML = validateHTML;
114
+ //#endregion ---------------------------------------------------------------------------------------------------------//
115
+ //# sourceMappingURL=libConnectors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"libConnectors.js","sourceRoot":"","sources":["../../../../../common/src/libConnectors.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AACH;;GAEG;;;;AAEH,0DAA0B;AAC1B,qDAA8C;AAC9C,uEAAwD;AACxD,qEAAwD;AAA/C,kHAAA,SAAS,OAAA;AAElB,wHAAwH;AAExH;;;;;;;GAOG;AACH,SAAgB,SAAS,CACvB,WAAmB,EACnB,KAAa,EACb,MAAe;IAEf,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC3C,MAAM,GAAG,GAAG,IAAI,eAAK,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,IAAA,2BAAU,EAAC,OAAO,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC,EAC9D,MAAM,CACP,CAAC;IACN,CAAC,CAAC,CAAC;AACL,CAAC;AAxBD,8BAwBC;AAoBD;;;;;;;GAOG;AACH,SAAgB,YAAY,CAAC,IAAY,EAAE,SAAqB;IAC9D,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,IAAI,iCAAS,EAAE,CAAC;KAC7B;IAED,OAAO,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC;AAND,oCAMC;AAED;;;;;;;GAOG;AACH,SAAgB,YAAY,CAAC,IAAS,EAAE,SAAqB;IAC3D,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,IAAI,iCAAS,EAAE,CAAC;KAC7B;IAED,OAAO,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC;AAND,oCAMC;AAED;;;;;;;GAOG;AACH,SAAgB,mBAAmB,CACjC,GAAW,EACX,SAAqB;IAErB,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,IAAI,iCAAS,EAAE,CAAC;KAC7B;IAED,OAAO,SAAS,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;AACpC,CAAC;AATD,kDASC;AAED;;;;;;;;GAQG;AACH,SAAgB,YAAY,CAC1B,IAAY,EACZ,SAAqB;IAErB,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,IAAI,iCAAS,EAAE,CAAC;KAC7B;IAED,OAAO,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC;AATD,oCASC;AAED,wHAAwH"}
@@ -0,0 +1,71 @@
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
+ };