@esri/solution-simple-types 3.0.0 → 3.1.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.
- package/dist/esm/helpers/convert-item-to-template.js +1 -0
- package/dist/esm/helpers/convert-item-to-template.js.map +1 -1
- package/dist/esm/webmap.js +6 -5
- package/dist/esm/webmap.js.map +1 -1
- package/package.json +7 -7
- package/dist/node/dashboard.d.ts +0 -93
- package/dist/node/dashboard.js +0 -354
- package/dist/node/dashboard.js.map +0 -1
- package/dist/node/helpers/convert-item-to-template.d.ts +0 -39
- package/dist/node/helpers/convert-item-to-template.js +0 -184
- package/dist/node/helpers/convert-item-to-template.js.map +0 -1
- package/dist/node/helpers/create-item-from-template.d.ts +0 -17
- package/dist/node/helpers/create-item-from-template.js +0 -138
- package/dist/node/helpers/create-item-from-template.js.map +0 -1
- package/dist/node/helpers/notebook-helpers.d.ts +0 -19
- package/dist/node/helpers/notebook-helpers.js +0 -25
- package/dist/node/helpers/notebook-helpers.js.map +0 -1
- package/dist/node/helpers/quickcapture-helpers.d.ts +0 -18
- package/dist/node/helpers/quickcapture-helpers.js +0 -23
- package/dist/node/helpers/quickcapture-helpers.js.map +0 -1
- package/dist/node/helpers/simple-type-helpers.d.ts +0 -18
- package/dist/node/helpers/simple-type-helpers.js +0 -23
- package/dist/node/helpers/simple-type-helpers.js.map +0 -1
- package/dist/node/helpers/update-notebook-data.d.ts +0 -17
- package/dist/node/helpers/update-notebook-data.js +0 -28
- package/dist/node/helpers/update-notebook-data.js.map +0 -1
- package/dist/node/index.d.ts +0 -27
- package/dist/node/index.js +0 -37
- package/dist/node/index.js.map +0 -1
- package/dist/node/notebook.d.ts +0 -66
- package/dist/node/notebook.js +0 -134
- package/dist/node/notebook.js.map +0 -1
- package/dist/node/oic.d.ts +0 -53
- package/dist/node/oic.js +0 -171
- package/dist/node/oic.js.map +0 -1
- package/dist/node/quickcapture.d.ts +0 -87
- package/dist/node/quickcapture.js +0 -193
- package/dist/node/quickcapture.js.map +0 -1
- package/dist/node/simple-types.d.ts +0 -57
- package/dist/node/simple-types.js +0 -95
- package/dist/node/simple-types.js.map +0 -1
- package/dist/node/webmap.d.ts +0 -101
- package/dist/node/webmap.js +0 -273
- package/dist/node/webmap.js.map +0 -1
- package/dist/node/webmappingapplication.d.ts +0 -176
- package/dist/node/webmappingapplication.js +0 -675
- package/dist/node/webmappingapplication.js.map +0 -1
- package/dist/node/workforce.d.ts +0 -34
- package/dist/node/workforce.js +0 -45
- package/dist/node/workforce.js.map +0 -1
- package/dist/umd/simple-types/src/dashboard.d.ts +0 -93
- package/dist/umd/simple-types/src/helpers/convert-item-to-template.d.ts +0 -39
- package/dist/umd/simple-types/src/helpers/create-item-from-template.d.ts +0 -17
- package/dist/umd/simple-types/src/helpers/notebook-helpers.d.ts +0 -19
- package/dist/umd/simple-types/src/helpers/quickcapture-helpers.d.ts +0 -18
- package/dist/umd/simple-types/src/helpers/simple-type-helpers.d.ts +0 -18
- package/dist/umd/simple-types/src/helpers/update-notebook-data.d.ts +0 -17
- package/dist/umd/simple-types/src/index.d.ts +0 -27
- package/dist/umd/simple-types/src/notebook.d.ts +0 -66
- package/dist/umd/simple-types/src/oic.d.ts +0 -53
- package/dist/umd/simple-types/src/quickcapture.d.ts +0 -87
- package/dist/umd/simple-types/src/simple-types.d.ts +0 -57
- package/dist/umd/simple-types/src/webmap.d.ts +0 -101
- package/dist/umd/simple-types/src/webmappingapplication.d.ts +0 -176
- package/dist/umd/simple-types/src/workforce.d.ts +0 -34
- package/dist/umd/simple-types.umd.js +0 -2296
- package/dist/umd/simple-types.umd.js.map +0 -1
- package/dist/umd/simple-types.umd.min.js +0 -19
- package/dist/umd/simple-types.umd.min.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webmappingapplication.js","sourceRoot":"","sources":["../../src/webmappingapplication.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;AAEH,sEAAgD;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AAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,SAAS,CACvB,gCAAgC,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,EAAE,cAAc,CAAC,CACrE,CAAC;iBACH;qBAAM,IAAI,OAAO,GAAG,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;oBACrC,mGAAmG;oBACnG,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,cAAc,EAAE;wBACpC,GAAG,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,yBAAyB,CACvC,GAAG,CAAC,CAAC,CAAC,EACN,EAAE,CAAC,MAAM,EACT,EAAE,CAAC,QAAQ,EACX,cAAc,CACf,CAAC;qBACH;oBACD,KAAK,CAAC,CAAC,CAAC,GAAG,gCAAgC,CACzC,GAAG,CAAC,CAAC,CAAC,EACN,EAAE,EACF,EAAE,EACF,cAAc,CACf,CAAC;iBACH;qBAAM;oBACL,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE;wBACvB,GAAG,GAAG,MAAM,CAAC,yBAAyB,CACpC,GAAG,EACH,EAAE,CAAC,MAAM,EACT,EAAE,CAAC,QAAQ,EACX,cAAc,CACf,CAAC;qBACH;oBACD,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;iBACnB;aACF;iBAAM;gBACL,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;aACnB;SACF;KACF;SAAM;QACL,KAAK,GAAG,GAAG,CAAC;KACb;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAhED,4EAgEC"}
|
package/dist/node/workforce.d.ts
DELETED
|
@@ -1,34 +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 common from "@esri/solution-common";
|
|
17
|
-
/**
|
|
18
|
-
* Converts an workforce item to a template.
|
|
19
|
-
*
|
|
20
|
-
* @param itemTemplate template for the workforce project item
|
|
21
|
-
* @param destAuthentication Credentials for requests to the destination organization
|
|
22
|
-
* @param srcAuthentication Credentials for requests to source items
|
|
23
|
-
* @param templateDictionary Hash of key details used for variable replacement
|
|
24
|
-
* @returns templatized itemTemplate
|
|
25
|
-
*/
|
|
26
|
-
export declare function convertItemToTemplate(itemTemplate: common.IItemTemplate, destAuthentication: common.UserSession, srcAuthentication: common.UserSession, templateDictionary: any): Promise<common.IItemTemplate>;
|
|
27
|
-
/**
|
|
28
|
-
* Gets the current user and updates the dispatchers service
|
|
29
|
-
*
|
|
30
|
-
* @param newlyCreatedItem Item to be created; n.b.: this item is modified
|
|
31
|
-
* @param destinationAuthentication The session used to create the new item(s)
|
|
32
|
-
* @returns A promise that will resolve with { "success" === true || false }
|
|
33
|
-
*/
|
|
34
|
-
export declare function fineTuneCreatedItem(newlyCreatedItem: common.IItemTemplate, destinationAuthentication: common.UserSession, templateDictionary: any): Promise<any>;
|
package/dist/node/workforce.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
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.fineTuneCreatedItem = exports.convertItemToTemplate = void 0;
|
|
19
|
-
const tslib_1 = require("tslib");
|
|
20
|
-
const common = tslib_1.__importStar(require("@esri/solution-common"));
|
|
21
|
-
/**
|
|
22
|
-
* Converts an workforce item to a template.
|
|
23
|
-
*
|
|
24
|
-
* @param itemTemplate template for the workforce project item
|
|
25
|
-
* @param destAuthentication Credentials for requests to the destination organization
|
|
26
|
-
* @param srcAuthentication Credentials for requests to source items
|
|
27
|
-
* @param templateDictionary Hash of key details used for variable replacement
|
|
28
|
-
* @returns templatized itemTemplate
|
|
29
|
-
*/
|
|
30
|
-
function convertItemToTemplate(itemTemplate, destAuthentication, srcAuthentication, templateDictionary) {
|
|
31
|
-
return common.convertWorkforceItemToTemplate(itemTemplate, srcAuthentication, templateDictionary);
|
|
32
|
-
}
|
|
33
|
-
exports.convertItemToTemplate = convertItemToTemplate;
|
|
34
|
-
/**
|
|
35
|
-
* Gets the current user and updates the dispatchers service
|
|
36
|
-
*
|
|
37
|
-
* @param newlyCreatedItem Item to be created; n.b.: this item is modified
|
|
38
|
-
* @param destinationAuthentication The session used to create the new item(s)
|
|
39
|
-
* @returns A promise that will resolve with { "success" === true || false }
|
|
40
|
-
*/
|
|
41
|
-
function fineTuneCreatedItem(newlyCreatedItem, destinationAuthentication, templateDictionary) {
|
|
42
|
-
return common.fineTuneCreatedWorkforceItem(newlyCreatedItem, destinationAuthentication, "", templateDictionary);
|
|
43
|
-
}
|
|
44
|
-
exports.fineTuneCreatedItem = fineTuneCreatedItem;
|
|
45
|
-
//# sourceMappingURL=workforce.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workforce.js","sourceRoot":"","sources":["../../src/workforce.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;AAEH,sEAAgD;AAEhD;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CACnC,YAAkC,EAClC,kBAAsC,EACtC,iBAAqC,EACrC,kBAAuB;IAEvB,OAAO,MAAM,CAAC,8BAA8B,CAAC,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,CAAC,CAAC;AACpG,CAAC;AAPD,sDAOC;AAED;;;;;;GAMG;AACH,SAAgB,mBAAmB,CACjC,gBAAsC,EACtC,yBAA6C,EAC7C,kBAAuB;IAEvB,OAAO,MAAM,CAAC,4BAA4B,CACxC,gBAAgB,EAChB,yBAAyB,EACzB,EAAE,EACF,kBAAkB,CACnB,CAAC;AACJ,CAAC;AAXD,kDAWC"}
|
|
@@ -1,93 +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 common from "@esri/solution-common";
|
|
17
|
-
/**
|
|
18
|
-
* Converts a dashboard item to a template.
|
|
19
|
-
*
|
|
20
|
-
* @param itemTemplate Template for the dashboard item
|
|
21
|
-
* @param templateDictionary Hash of key details used for variable replacement
|
|
22
|
-
* @returns templatized itemTemplate
|
|
23
|
-
*/
|
|
24
|
-
export declare function convertItemToTemplate(itemTemplate: common.IItemTemplate, templateDictionary: any): common.IItemTemplate;
|
|
25
|
-
/**
|
|
26
|
-
* Templatizes all itemIds and updates the dependency array
|
|
27
|
-
*
|
|
28
|
-
* @param itemTemplate Template for the dashboard item
|
|
29
|
-
* @param templateDictionary Hash of key details used for variable replacement
|
|
30
|
-
* @returns The updated itemTemplate
|
|
31
|
-
* @private
|
|
32
|
-
*/
|
|
33
|
-
export declare function _extractDependencies(itemTemplate: common.IItemTemplate, templateDictionary: any): common.IItemTemplate;
|
|
34
|
-
/**
|
|
35
|
-
* Templatize datasource itemIds and update the dependency array
|
|
36
|
-
*
|
|
37
|
-
* @param obj A widget, selector, or urlParameter that contains a datasets collection
|
|
38
|
-
* @param itemTemplate Template for the dashboard item
|
|
39
|
-
* @param templateDictionary Hash of key details used for variable replacement
|
|
40
|
-
* @private
|
|
41
|
-
*/
|
|
42
|
-
export declare function _getDatasourceDependencies(obj: any, itemTemplate: common.IItemTemplate, templateDictionary: any): void;
|
|
43
|
-
/**
|
|
44
|
-
* Templatize field references for datasources and widgets.
|
|
45
|
-
*
|
|
46
|
-
* @param solutionTemplate The solution item template
|
|
47
|
-
* @param datasourceInfos A list of datasource info objects that contain key values to templatize field references
|
|
48
|
-
* @returns The solutionTemplate with templatized field references
|
|
49
|
-
*/
|
|
50
|
-
export declare function postProcessFieldReferences(solutionTemplate: common.IItemTemplate, datasourceInfos: common.IDatasourceInfo[]): common.IItemTemplate;
|
|
51
|
-
/**
|
|
52
|
-
* Add all dataset ids to the appropriate datasource info object so we can navigate any relative references
|
|
53
|
-
*
|
|
54
|
-
* @param objs Thes can be widgets, selectors, or urlParameters
|
|
55
|
-
* @param datasourceInfos A list of objects that contain key details about the datasources from the application
|
|
56
|
-
* @private
|
|
57
|
-
*/
|
|
58
|
-
export declare function _updateDatasourceReferences(objs: any, datasourceInfos: common.IDatasourceInfo[]): void;
|
|
59
|
-
/**
|
|
60
|
-
* Templatize all datasets and/or events for the objects at the given path
|
|
61
|
-
*
|
|
62
|
-
* @param itemTemplate Template for the dashboard item
|
|
63
|
-
* @param path A property path to an array of objects that could contain datasets or events
|
|
64
|
-
* @param datasourceInfos A list of objects that contain key details about the datasources from the application
|
|
65
|
-
* @private
|
|
66
|
-
*/
|
|
67
|
-
export declare function _templatize(itemTemplate: common.IItemTemplate, path: string, datasourceInfos: common.IDatasourceInfo[]): void;
|
|
68
|
-
/**
|
|
69
|
-
* For any service dataset datasource templatize all field references
|
|
70
|
-
*
|
|
71
|
-
* @param objs A list of objects that can contain field references
|
|
72
|
-
* @param datasourceInfos A list of objects that contain key details about the datasources from the application
|
|
73
|
-
* @returns An updated list of objects with templatized field references
|
|
74
|
-
* @private
|
|
75
|
-
*/
|
|
76
|
-
export declare function _templatizeByDatasource(objs: any[], datasourceInfos: common.IDatasourceInfo[]): any;
|
|
77
|
-
/**
|
|
78
|
-
* Find the appropriate datasource info object from the datasourceInfo collection
|
|
79
|
-
*
|
|
80
|
-
* @param obj Can be a Dataset or an event
|
|
81
|
-
* @param datasourceInfos A list of objects that contain key details about the datasources from the application
|
|
82
|
-
* @returns The supporting datasource info for the given object
|
|
83
|
-
* @private
|
|
84
|
-
*/
|
|
85
|
-
export declare function _getDatasourceInfo(obj: any, datasourceInfos: common.IDatasourceInfo[]): any;
|
|
86
|
-
/**
|
|
87
|
-
* Verifies if the datasource info contains the given id and adds it if not
|
|
88
|
-
*
|
|
89
|
-
* @param ds The datasource info to add the reference to
|
|
90
|
-
* @param id The id from dashboard object, commonly another widget
|
|
91
|
-
* @private
|
|
92
|
-
*/
|
|
93
|
-
export declare function _updateReferences(ds: common.IDatasourceInfo, id: string): void;
|
|
@@ -1,39 +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
|
-
import * as common from "@esri/solution-common";
|
|
17
|
-
/**
|
|
18
|
-
* Converts an item into a template.
|
|
19
|
-
*
|
|
20
|
-
* @param solutionItemId The solution to contain the template
|
|
21
|
-
* @param itemInfo Info about the item
|
|
22
|
-
* @param destAuthentication Credentials for requests to the destination organization
|
|
23
|
-
* @param srcAuthentication Credentials for requests to source items
|
|
24
|
-
* @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
|
|
25
|
-
*
|
|
26
|
-
* @returns A promise that will resolve when the template has been created
|
|
27
|
-
*/
|
|
28
|
-
export declare function convertItemToTemplate(solutionItemId: string, itemInfo: any, destAuthentication: common.UserSession, srcAuthentication: common.UserSession, templateDictionary: any): Promise<common.IItemTemplate>;
|
|
29
|
-
/**
|
|
30
|
-
* Encapsulates the rules for naming a form's data file.
|
|
31
|
-
* Chooses the first parameter that's defined and is not the string "undefined".
|
|
32
|
-
*
|
|
33
|
-
* @param itemName Template's item name
|
|
34
|
-
* @param dataFilename The data file name
|
|
35
|
-
* @param itemIdAsName A name constructed from the template's id suffixed with ".zip"
|
|
36
|
-
*
|
|
37
|
-
* @return A name for the data file
|
|
38
|
-
*/
|
|
39
|
-
export declare function _getFormDataFilename(itemName: string, dataFilename: string, itemIdAsName: string): string;
|
|
@@ -1,17 +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
|
-
import * as common from "@esri/solution-common";
|
|
17
|
-
export declare function createItemFromTemplate(template: common.IItemTemplate, templateDictionary: any, destinationAuthentication: common.UserSession, itemProgressCallback: common.IItemProgressCallback): Promise<common.ICreateItemFromTemplateResponse>;
|
|
@@ -1,19 +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
|
-
import { convertItemToTemplate } from "./convert-item-to-template";
|
|
17
|
-
import { createItemFromTemplate } from "./create-item-from-template";
|
|
18
|
-
import { updateNotebookData } from "./update-notebook-data";
|
|
19
|
-
export { createItemFromTemplate, convertItemToTemplate, updateNotebookData };
|
|
@@ -1,18 +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
|
-
import { convertItemToTemplate } from "./convert-item-to-template";
|
|
17
|
-
import { createItemFromTemplate } from "./create-item-from-template";
|
|
18
|
-
export { createItemFromTemplate, convertItemToTemplate };
|
|
@@ -1,18 +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
|
-
import { convertItemToTemplate } from "./convert-item-to-template";
|
|
17
|
-
import { createItemFromTemplate } from "./create-item-from-template";
|
|
18
|
-
export { createItemFromTemplate, convertItemToTemplate };
|
|
@@ -1,17 +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
|
-
import { UserSession } from "@esri/solution-common";
|
|
17
|
-
export declare function updateNotebookData(itemId: string, data: any, authentication: UserSession): Promise<any>;
|
|
@@ -1,27 +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
|
-
/**
|
|
17
|
-
* Manages the creation and deployment of simple item types.
|
|
18
|
-
*
|
|
19
|
-
* @module simple-types
|
|
20
|
-
*/
|
|
21
|
-
import * as simpleTypeHelpers from "./helpers/simple-type-helpers";
|
|
22
|
-
import * as notebookHelpers from "./helpers/notebook-helpers";
|
|
23
|
-
import * as quickcaptureHelpers from "./helpers/quickcapture-helpers";
|
|
24
|
-
import * as simpleTypes from "./simple-types";
|
|
25
|
-
import * as notebookProcessor from "./notebook";
|
|
26
|
-
import * as quickcaptureProcessor from "./quickcapture";
|
|
27
|
-
export { simpleTypes, notebookProcessor, notebookHelpers, simpleTypeHelpers, quickcaptureHelpers, quickcaptureProcessor };
|
|
@@ -1,66 +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
|
-
import * as common from "@esri/solution-common";
|
|
17
|
-
/**
|
|
18
|
-
* Converts a notebook item into a template.
|
|
19
|
-
*
|
|
20
|
-
* @param solutionItemId The solution to contain the template
|
|
21
|
-
* @param itemInfo Info about the item
|
|
22
|
-
* @param destAuthentication Credentials for requests to the destination organization
|
|
23
|
-
* @param srcAuthentication Credentials for requests to source items
|
|
24
|
-
* @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
|
|
25
|
-
* @returns A promise that will resolve when the template has been created
|
|
26
|
-
*/
|
|
27
|
-
export declare function convertItemToTemplate(solutionItemId: string, itemInfo: any, destAuthentication: common.UserSession, srcAuthentication: common.UserSession, templateDictionary: any): Promise<common.IItemTemplate>;
|
|
28
|
-
export declare function createItemFromTemplate(template: common.IItemTemplate, templateDictionary: any, destinationAuthentication: common.UserSession, itemProgressCallback: common.IItemProgressCallback): Promise<common.ICreateItemFromTemplateResponse>;
|
|
29
|
-
/**
|
|
30
|
-
* Converts a Python Notebook item to a template.
|
|
31
|
-
*
|
|
32
|
-
* @param itemTemplate template for the Python Notebook
|
|
33
|
-
* @returns templatized itemTemplate
|
|
34
|
-
*/
|
|
35
|
-
export declare function convertNotebookToTemplate(itemTemplate: common.IItemTemplate): common.IItemTemplate;
|
|
36
|
-
/**
|
|
37
|
-
* Remove interpreter and papermill props
|
|
38
|
-
*
|
|
39
|
-
* This function will update the data passed in by removing key props
|
|
40
|
-
*
|
|
41
|
-
* @param data The notebooks data object
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export declare function deleteProps(data: any): void;
|
|
45
|
-
/**
|
|
46
|
-
* Update the notebooks data
|
|
47
|
-
*
|
|
48
|
-
* @param originalTemplate The original template item
|
|
49
|
-
* @param newlyCreatedItem The current item that may have unswapped variables
|
|
50
|
-
* @param templateDictionary Hash of facts: org URL, adlib replacements, deferreds for dependencies
|
|
51
|
-
* @param authentication Credentials for the requests to the destination
|
|
52
|
-
*
|
|
53
|
-
* @returns A promise that will resolve once any updates have been made
|
|
54
|
-
*/
|
|
55
|
-
export declare function fineTuneCreatedItem(originalTemplate: common.IItemTemplate, newlyCreatedItem: common.IItemTemplate, templateDictionary: any, authentication: common.UserSession): Promise<void>;
|
|
56
|
-
/**
|
|
57
|
-
* Notebook specific post-processing actions
|
|
58
|
-
*
|
|
59
|
-
* @param {string} itemId The item ID
|
|
60
|
-
* @param {string} type The template type
|
|
61
|
-
* @param {any[]} itemInfos Array of \{id: 'ef3', type: 'Web Map'\} objects
|
|
62
|
-
* @param {any} templateDictionary The template dictionary
|
|
63
|
-
* @param {UserSession} authentication The destination session info
|
|
64
|
-
* @returns {Promise<any>}
|
|
65
|
-
*/
|
|
66
|
-
export declare function postProcess(itemId: string, type: string, itemInfos: any[], template: common.IItemTemplate, templates: common.IItemTemplate[], templateDictionary: any, authentication: common.UserSession): Promise<any>;
|
|
@@ -1,53 +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 common from "@esri/solution-common";
|
|
17
|
-
/**
|
|
18
|
-
* Converts an AGOL OIC (Oriented Imagery Catalog) item to a template.
|
|
19
|
-
*
|
|
20
|
-
* @param itemTemplate Template for the OIC (Oriented Imagery Catalog) item
|
|
21
|
-
* @param destAuthentication Credentials for requests to the destination organization
|
|
22
|
-
* @param srcAuthentication Credentials for requests to source items
|
|
23
|
-
* @returns Template for the solution item that contains key details for item reconstruction
|
|
24
|
-
*/
|
|
25
|
-
export declare function convertItemToTemplate(itemTemplate: common.IItemTemplate, destAuthentication: common.UserSession, srcAuthentication: common.UserSession): Promise<common.IItemTemplate>;
|
|
26
|
-
/**
|
|
27
|
-
* Gets the ids of the dependencies of an AGOL OIC (Oriented Imagery Catalog) item.
|
|
28
|
-
*
|
|
29
|
-
* @param itemTemplate A OIC (Oriented Imagery Catalog) item whose dependencies are sought
|
|
30
|
-
* @param authentication Credentials for any requests
|
|
31
|
-
* @returns List of dependencies ids and url/itemId hash
|
|
32
|
-
* @private
|
|
33
|
-
*/
|
|
34
|
-
export declare function _extractDependencies(itemTemplate: common.IItemTemplate, authentication: common.UserSession): Promise<any>;
|
|
35
|
-
/**
|
|
36
|
-
* Extracts the AGOL itemId for each layer in a list using the url.
|
|
37
|
-
*
|
|
38
|
-
* @param layerURLs List of OIC layer URLs
|
|
39
|
-
* @param dependencies Current list of dependencies
|
|
40
|
-
* @param authentication Credentials for any requests
|
|
41
|
-
* @returns List of dependencies ids and url/itemId hash
|
|
42
|
-
* @private
|
|
43
|
-
*/
|
|
44
|
-
export declare function _getLayerIds(layerURLs: string[], dependencies: string[], authentication: common.UserSession): Promise<any>;
|
|
45
|
-
/**
|
|
46
|
-
* Templatizes the url and item id for a layer.
|
|
47
|
-
*
|
|
48
|
-
* @param layerURL OIC layer URL
|
|
49
|
-
* @param urlHash Lookup object for analysis layers
|
|
50
|
-
* @returns Templatized URL if layerURL is in the urlHash
|
|
51
|
-
* @private
|
|
52
|
-
*/
|
|
53
|
-
export declare function _templatizeOicLayerUrl(layerURL: string, urlHash: any): string;
|
|
@@ -1,87 +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 common from "@esri/solution-common";
|
|
17
|
-
/**
|
|
18
|
-
* Converts a Quick Capture item into a template.
|
|
19
|
-
*
|
|
20
|
-
* @param solutionItemId The solution to contain the template
|
|
21
|
-
* @param itemInfo Info about the item
|
|
22
|
-
* @param destAuthentication Credentials for requests to the destination organization
|
|
23
|
-
* @param srcAuthentication Credentials for requests to source items
|
|
24
|
-
* @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
|
|
25
|
-
* @returns A promise that will resolve when the template has been created
|
|
26
|
-
*/
|
|
27
|
-
export declare function convertItemToTemplate(solutionItemId: string, itemInfo: any, destAuthentication: common.UserSession, srcAuthentication: common.UserSession, templateDictionary: any): Promise<common.IItemTemplate>;
|
|
28
|
-
/**
|
|
29
|
-
* Converts an quick capture item to a template.
|
|
30
|
-
*
|
|
31
|
-
* @param itemTemplate template for the quick capture project item
|
|
32
|
-
* @returns templatized itemTemplate
|
|
33
|
-
*/
|
|
34
|
-
export declare function convertQuickCaptureToTemplate(itemTemplate: common.IItemTemplate): Promise<common.IItemTemplate>;
|
|
35
|
-
/**
|
|
36
|
-
* Templatizes key properties for a quick capture project and gathers item dependencies
|
|
37
|
-
*
|
|
38
|
-
* @param data the projects json
|
|
39
|
-
* @param itemTemplate template for the quick capture project item
|
|
40
|
-
* @returns templatized itemTemplate
|
|
41
|
-
* @private
|
|
42
|
-
*/
|
|
43
|
-
export declare function _templatizeApplication(data: any, itemTemplate: common.IItemTemplate): any;
|
|
44
|
-
/**
|
|
45
|
-
* Templatize the email property
|
|
46
|
-
*
|
|
47
|
-
* @param data the quick capture application
|
|
48
|
-
* @private
|
|
49
|
-
*/
|
|
50
|
-
export declare function _templatizeAdminEmail(data: any): void;
|
|
51
|
-
/**
|
|
52
|
-
* Updates the templates dependencies list with unique item ids
|
|
53
|
-
*
|
|
54
|
-
* @param id the item id of the dependency
|
|
55
|
-
* @param itemTemplate template for the quick capture project item
|
|
56
|
-
* @returns templatized itemTemplate
|
|
57
|
-
*/
|
|
58
|
-
export declare function _updateDependencies(id: string, itemTemplate: common.IItemTemplate): void;
|
|
59
|
-
/**
|
|
60
|
-
* Templatize a url property
|
|
61
|
-
*
|
|
62
|
-
* @param obj the datasource object
|
|
63
|
-
* @param idPath the path to the id property
|
|
64
|
-
* @param urlPath the path to the url property
|
|
65
|
-
* @private
|
|
66
|
-
*/
|
|
67
|
-
export declare function _templatizeUrl(obj: any, idPath: string, urlPath: string): void;
|
|
68
|
-
/**
|
|
69
|
-
* Templatize the item id property
|
|
70
|
-
*
|
|
71
|
-
* @param obj the datasource or object that contains the item id property
|
|
72
|
-
* @param path the path to the id property
|
|
73
|
-
* @private
|
|
74
|
-
*/
|
|
75
|
-
export declare function _templatizeId(obj: any, path: string): void;
|
|
76
|
-
export declare function createItemFromTemplate(template: common.IItemTemplate, templateDictionary: any, destinationAuthentication: common.UserSession, itemProgressCallback: common.IItemProgressCallback): Promise<common.ICreateItemFromTemplateResponse>;
|
|
77
|
-
/**
|
|
78
|
-
* QuickCapture post-processing actions
|
|
79
|
-
*
|
|
80
|
-
* @param {string} itemId The item ID
|
|
81
|
-
* @param {string} type The template type
|
|
82
|
-
* @param {any[]} itemInfos Array of \{id: 'ef3', type: 'Web Map'\} objects
|
|
83
|
-
* @param {any} templateDictionary The template dictionary
|
|
84
|
-
* @param {UserSession} authentication The destination session info
|
|
85
|
-
* @returns Promise resolving to successfulness of update
|
|
86
|
-
*/
|
|
87
|
-
export declare function postProcess(itemId: string, type: string, itemInfos: any[], template: common.IItemTemplate, templates: common.IItemTemplate[], templateDictionary: any, authentication: common.UserSession): Promise<any>;
|
|
@@ -1,57 +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 { ICreateItemFromTemplateResponse, IDatasourceInfo, IItemProgressCallback, IItemTemplate, IUpdateItemResponse, UserSession } from "@esri/solution-common";
|
|
17
|
-
/**
|
|
18
|
-
* Converts an item into a template.
|
|
19
|
-
*
|
|
20
|
-
* @param solutionItemId The solution to contain the template
|
|
21
|
-
* @param itemInfo Info about the item
|
|
22
|
-
* @param destAuthentication Credentials for requests to the destination organization
|
|
23
|
-
* @param srcAuthentication Credentials for requests to source items
|
|
24
|
-
* @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
|
|
25
|
-
* @returns A promise that will resolve when the template has been created
|
|
26
|
-
*/
|
|
27
|
-
export declare function convertItemToTemplate(solutionItemId: string, itemInfo: any, destAuthentication: UserSession, srcAuthentication: UserSession, templateDictionary: any): Promise<IItemTemplate>;
|
|
28
|
-
/**
|
|
29
|
-
* Delegate to simpleType creator
|
|
30
|
-
*
|
|
31
|
-
* @param template
|
|
32
|
-
* @param templateDictionary
|
|
33
|
-
* @param destinationAuthentication
|
|
34
|
-
* @param itemProgressCallback
|
|
35
|
-
*/
|
|
36
|
-
export declare function createItemFromTemplate(template: IItemTemplate, templateDictionary: any, destinationAuthentication: UserSession, itemProgressCallback: IItemProgressCallback): Promise<ICreateItemFromTemplateResponse>;
|
|
37
|
-
/**
|
|
38
|
-
* Templatizes field references within specific template types.
|
|
39
|
-
* Currently only handles web mapping applications
|
|
40
|
-
*
|
|
41
|
-
* @param template A solution template
|
|
42
|
-
* @param datasourceInfos A list of objects that store key datasource info used to templatizing field references
|
|
43
|
-
* @param type The item type
|
|
44
|
-
* @returns The updated solution template
|
|
45
|
-
*/
|
|
46
|
-
export declare function postProcessFieldReferences(solutionTemplate: IItemTemplate, datasourceInfos: IDatasourceInfo[], type: string): IItemTemplate;
|
|
47
|
-
/**
|
|
48
|
-
* Simple Type post-processing actions
|
|
49
|
-
*
|
|
50
|
-
* @param {string} itemId The item ID
|
|
51
|
-
* @param {string} type The template type
|
|
52
|
-
* @param {any[]} itemInfos Array of \{id: 'ef3', type: 'Web Map'\} objects
|
|
53
|
-
* @param {any} templateDictionary The template dictionary
|
|
54
|
-
* @param {UserSession} authentication The destination session info
|
|
55
|
-
* @returns Promise resolving to successfulness of update
|
|
56
|
-
*/
|
|
57
|
-
export declare function postProcess(itemId: string, type: string, itemInfos: any[], template: IItemTemplate, templates: IItemTemplate[], templateDictionary: any, authentication: UserSession): Promise<IUpdateItemResponse>;
|