@esri/solution-common 1.3.10 → 1.3.13
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/completeItem.d.ts +1 -1
- package/dist/esm/completeItem.js +1 -1
- package/dist/esm/deleteHelpers/deleteEmptyGroups.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteEmptyGroups.js +1 -1
- package/dist/esm/deleteHelpers/deleteGroupIfEmpty.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteGroupIfEmpty.js +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionContents.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionContents.js +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionFolder.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionFolder.js +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionItem.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionItem.js +1 -1
- package/dist/esm/deleteHelpers/reconstructBuildOrderIds.d.ts +1 -1
- package/dist/esm/deleteHelpers/reconstructBuildOrderIds.js +1 -1
- package/dist/esm/deleteHelpers/removeItems.d.ts +1 -1
- package/dist/esm/deleteHelpers/removeItems.js +1 -1
- package/dist/esm/deleteSolution.d.ts +2 -2
- package/dist/esm/deleteSolution.js +2 -2
- package/dist/esm/dependencies.d.ts +1 -1
- package/dist/esm/dependencies.js +2 -2
- package/dist/esm/featureServiceHelpers.d.ts +99 -60
- package/dist/esm/featureServiceHelpers.js +99 -60
- package/dist/esm/featureServiceHelpers.js.map +1 -1
- package/dist/esm/generalHelpers.d.ts +34 -34
- package/dist/esm/generalHelpers.js +36 -36
- package/dist/esm/getDeletableSolutionInfo.d.ts +1 -1
- package/dist/esm/getDeletableSolutionInfo.js +1 -1
- package/dist/esm/getSolutionSummary.d.ts +1 -1
- package/dist/esm/getSolutionSummary.js +1 -1
- package/dist/esm/interfaces.d.ts +438 -10
- package/dist/esm/interfaces.js +7 -1
- package/dist/esm/interfaces.js.map +1 -1
- package/dist/esm/libConnectors.d.ts +5 -5
- package/dist/esm/libConnectors.js +5 -5
- package/dist/esm/migrations/apply-schema.d.ts +1 -0
- package/dist/esm/migrations/apply-schema.js +1 -0
- package/dist/esm/migrations/apply-schema.js.map +1 -1
- package/dist/esm/migrations/upgrade-three-dot-one.d.ts +1 -0
- package/dist/esm/migrations/upgrade-three-dot-one.js +1 -0
- package/dist/esm/migrations/upgrade-three-dot-one.js.map +1 -1
- package/dist/esm/migrations/upgrade-two-dot-seven.d.ts +7 -0
- package/dist/esm/migrations/upgrade-two-dot-seven.js +7 -0
- package/dist/esm/migrations/upgrade-two-dot-seven.js.map +1 -1
- package/dist/esm/polyfills.d.ts +2 -2
- package/dist/esm/polyfills.js +2 -2
- package/dist/esm/resourceHelpers.d.ts +11 -11
- package/dist/esm/resourceHelpers.js +11 -11
- package/dist/esm/resources/addMetadataFromBlob.d.ts +1 -1
- package/dist/esm/resources/addMetadataFromBlob.js +1 -1
- package/dist/esm/resources/convert-item-resource-to-storage-resource.d.ts +1 -1
- package/dist/esm/resources/convert-item-resource-to-storage-resource.js +1 -1
- package/dist/esm/resources/convert-storage-resource-to-item-resource.d.ts +1 -1
- package/dist/esm/resources/convert-storage-resource-to-item-resource.js +1 -1
- package/dist/esm/resources/copyAssociatedFiles.d.ts +4 -3
- package/dist/esm/resources/copyAssociatedFiles.js +5 -4
- package/dist/esm/resources/copyAssociatedFiles.js.map +1 -1
- package/dist/esm/resources/copyDataIntoItem.d.ts +2 -2
- package/dist/esm/resources/copyDataIntoItem.js +2 -2
- package/dist/esm/resources/copyMetadataIntoItem.d.ts +1 -1
- package/dist/esm/resources/copyMetadataIntoItem.js +1 -1
- package/dist/esm/resources/copyResourceIntoZip.d.ts +2 -2
- package/dist/esm/resources/copyResourceIntoZip.js +2 -2
- package/dist/esm/resources/copyZipIntoItem.d.ts +1 -1
- package/dist/esm/resources/copyZipIntoItem.js +1 -1
- package/dist/esm/resources/createCopyResults.d.ts +1 -1
- package/dist/esm/resources/createCopyResults.js +1 -1
- package/dist/esm/resources/get-blob.d.ts +1 -1
- package/dist/esm/resources/get-blob.js +1 -1
- package/dist/esm/resources/getItemResourcesFilesFromPaths.d.ts +1 -1
- package/dist/esm/resources/getItemResourcesFilesFromPaths.js +1 -1
- package/dist/esm/resources/getItemResourcesPaths.d.ts +1 -1
- package/dist/esm/resources/getItemResourcesPaths.js +1 -1
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.d.ts +1 -0
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.js +1 -0
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.js.map +1 -1
- package/dist/esm/restHelpers.d.ts +59 -54
- package/dist/esm/restHelpers.js +55 -50
- package/dist/esm/restHelpers.js.map +1 -1
- package/dist/esm/restHelpersGet.d.ts +30 -30
- package/dist/esm/restHelpersGet.js +30 -30
- package/dist/esm/templatization.d.ts +15 -15
- package/dist/esm/templatization.js +15 -15
- package/dist/esm/trackingHelpers.d.ts +9 -9
- package/dist/esm/trackingHelpers.js +9 -9
- package/dist/esm/velocityHelpers.d.ts +4 -4
- package/dist/esm/velocityHelpers.js +4 -4
- package/dist/esm/workforceHelpers.d.ts +8 -7
- package/dist/esm/workforceHelpers.js +18 -7
- package/dist/esm/workforceHelpers.js.map +1 -1
- package/dist/node/completeItem.d.ts +1 -1
- package/dist/node/completeItem.js +1 -1
- package/dist/node/deleteHelpers/deleteEmptyGroups.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteEmptyGroups.js +1 -1
- package/dist/node/deleteHelpers/deleteGroupIfEmpty.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteGroupIfEmpty.js +1 -1
- package/dist/node/deleteHelpers/deleteSolutionContents.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteSolutionContents.js +1 -1
- package/dist/node/deleteHelpers/deleteSolutionFolder.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteSolutionFolder.js +1 -1
- package/dist/node/deleteHelpers/deleteSolutionItem.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteSolutionItem.js +1 -1
- package/dist/node/deleteHelpers/reconstructBuildOrderIds.d.ts +1 -1
- package/dist/node/deleteHelpers/reconstructBuildOrderIds.js +1 -1
- package/dist/node/deleteHelpers/removeItems.d.ts +1 -1
- package/dist/node/deleteHelpers/removeItems.js +1 -1
- package/dist/node/deleteSolution.d.ts +2 -2
- package/dist/node/deleteSolution.js +2 -2
- package/dist/node/dependencies.d.ts +1 -1
- package/dist/node/dependencies.js +2 -2
- package/dist/node/featureServiceHelpers.d.ts +99 -60
- package/dist/node/featureServiceHelpers.js +99 -60
- package/dist/node/featureServiceHelpers.js.map +1 -1
- package/dist/node/generalHelpers.d.ts +34 -34
- package/dist/node/generalHelpers.js +36 -36
- package/dist/node/getDeletableSolutionInfo.d.ts +1 -1
- package/dist/node/getDeletableSolutionInfo.js +1 -1
- package/dist/node/getSolutionSummary.d.ts +1 -1
- package/dist/node/getSolutionSummary.js +1 -1
- package/dist/node/interfaces.d.ts +438 -10
- package/dist/node/interfaces.js +7 -1
- package/dist/node/interfaces.js.map +1 -1
- package/dist/node/libConnectors.d.ts +5 -5
- package/dist/node/libConnectors.js +5 -5
- package/dist/node/migrations/apply-schema.d.ts +1 -0
- package/dist/node/migrations/apply-schema.js +1 -0
- package/dist/node/migrations/apply-schema.js.map +1 -1
- package/dist/node/migrations/upgrade-three-dot-one.d.ts +1 -0
- package/dist/node/migrations/upgrade-three-dot-one.js +1 -0
- package/dist/node/migrations/upgrade-three-dot-one.js.map +1 -1
- package/dist/node/migrations/upgrade-two-dot-seven.d.ts +7 -0
- package/dist/node/migrations/upgrade-two-dot-seven.js +7 -0
- package/dist/node/migrations/upgrade-two-dot-seven.js.map +1 -1
- package/dist/node/polyfills.d.ts +2 -2
- package/dist/node/polyfills.js +2 -2
- package/dist/node/resourceHelpers.d.ts +11 -11
- package/dist/node/resourceHelpers.js +11 -11
- package/dist/node/resources/addMetadataFromBlob.d.ts +1 -1
- package/dist/node/resources/addMetadataFromBlob.js +1 -1
- package/dist/node/resources/convert-item-resource-to-storage-resource.d.ts +1 -1
- package/dist/node/resources/convert-item-resource-to-storage-resource.js +1 -1
- package/dist/node/resources/convert-storage-resource-to-item-resource.d.ts +1 -1
- package/dist/node/resources/convert-storage-resource-to-item-resource.js +1 -1
- package/dist/node/resources/copyAssociatedFiles.d.ts +4 -3
- package/dist/node/resources/copyAssociatedFiles.js +5 -4
- package/dist/node/resources/copyAssociatedFiles.js.map +1 -1
- package/dist/node/resources/copyDataIntoItem.d.ts +2 -2
- package/dist/node/resources/copyDataIntoItem.js +2 -2
- package/dist/node/resources/copyMetadataIntoItem.d.ts +1 -1
- package/dist/node/resources/copyMetadataIntoItem.js +1 -1
- package/dist/node/resources/copyResourceIntoZip.d.ts +2 -2
- package/dist/node/resources/copyResourceIntoZip.js +2 -2
- package/dist/node/resources/copyZipIntoItem.d.ts +1 -1
- package/dist/node/resources/copyZipIntoItem.js +1 -1
- package/dist/node/resources/createCopyResults.d.ts +1 -1
- package/dist/node/resources/createCopyResults.js +1 -1
- package/dist/node/resources/get-blob.d.ts +1 -1
- package/dist/node/resources/get-blob.js +1 -1
- package/dist/node/resources/getItemResourcesFilesFromPaths.d.ts +1 -1
- package/dist/node/resources/getItemResourcesFilesFromPaths.js +1 -1
- package/dist/node/resources/getItemResourcesPaths.d.ts +1 -1
- package/dist/node/resources/getItemResourcesPaths.js +1 -1
- package/dist/node/resources/transform-resource-paths-to-solution-resources.d.ts +1 -0
- package/dist/node/resources/transform-resource-paths-to-solution-resources.js +1 -0
- package/dist/node/resources/transform-resource-paths-to-solution-resources.js.map +1 -1
- package/dist/node/restHelpers.d.ts +59 -54
- package/dist/node/restHelpers.js +55 -50
- package/dist/node/restHelpers.js.map +1 -1
- package/dist/node/restHelpersGet.d.ts +30 -30
- package/dist/node/restHelpersGet.js +30 -30
- package/dist/node/templatization.d.ts +15 -15
- package/dist/node/templatization.js +15 -15
- package/dist/node/trackingHelpers.d.ts +9 -9
- package/dist/node/trackingHelpers.js +9 -9
- package/dist/node/velocityHelpers.d.ts +4 -4
- package/dist/node/velocityHelpers.js +4 -4
- package/dist/node/workforceHelpers.d.ts +8 -7
- package/dist/node/workforceHelpers.js +18 -7
- package/dist/node/workforceHelpers.js.map +1 -1
- package/dist/umd/common.umd.js +399 -313
- package/dist/umd/common.umd.js.map +1 -1
- package/dist/umd/common.umd.min.js +3 -3
- package/dist/umd/common.umd.min.js.map +1 -1
- package/dist/umd/completeItem.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteEmptyGroups.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteGroupIfEmpty.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteSolutionContents.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteSolutionFolder.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteSolutionItem.d.ts +1 -1
- package/dist/umd/deleteHelpers/reconstructBuildOrderIds.d.ts +1 -1
- package/dist/umd/deleteHelpers/removeItems.d.ts +1 -1
- package/dist/umd/deleteSolution.d.ts +2 -2
- package/dist/umd/dependencies.d.ts +1 -1
- package/dist/umd/featureServiceHelpers.d.ts +99 -60
- package/dist/umd/generalHelpers.d.ts +34 -34
- package/dist/umd/getDeletableSolutionInfo.d.ts +1 -1
- package/dist/umd/getSolutionSummary.d.ts +1 -1
- package/dist/umd/interfaces.d.ts +438 -10
- package/dist/umd/libConnectors.d.ts +5 -5
- package/dist/umd/migrations/apply-schema.d.ts +1 -0
- package/dist/umd/migrations/upgrade-three-dot-one.d.ts +1 -0
- package/dist/umd/migrations/upgrade-two-dot-seven.d.ts +7 -0
- package/dist/umd/polyfills.d.ts +2 -2
- package/dist/umd/resourceHelpers.d.ts +11 -11
- package/dist/umd/resources/addMetadataFromBlob.d.ts +1 -1
- package/dist/umd/resources/convert-item-resource-to-storage-resource.d.ts +1 -1
- package/dist/umd/resources/convert-storage-resource-to-item-resource.d.ts +1 -1
- package/dist/umd/resources/copyAssociatedFiles.d.ts +4 -3
- package/dist/umd/resources/copyDataIntoItem.d.ts +2 -2
- package/dist/umd/resources/copyMetadataIntoItem.d.ts +1 -1
- package/dist/umd/resources/copyResourceIntoZip.d.ts +2 -2
- package/dist/umd/resources/copyZipIntoItem.d.ts +1 -1
- package/dist/umd/resources/createCopyResults.d.ts +1 -1
- package/dist/umd/resources/get-blob.d.ts +1 -1
- package/dist/umd/resources/getItemResourcesFilesFromPaths.d.ts +1 -1
- package/dist/umd/resources/getItemResourcesPaths.d.ts +1 -1
- package/dist/umd/resources/transform-resource-paths-to-solution-resources.d.ts +1 -0
- package/dist/umd/restHelpers.d.ts +59 -54
- package/dist/umd/restHelpersGet.d.ts +30 -30
- package/dist/umd/templatization.d.ts +15 -15
- package/dist/umd/trackingHelpers.d.ts +9 -9
- package/dist/umd/velocityHelpers.d.ts +4 -4
- package/dist/umd/workforceHelpers.d.ts +8 -7
- package/package.json +18 -17
|
@@ -27,8 +27,8 @@ import { IDependency, IItemTemplate, INumberValuePair, UserSession } from "./int
|
|
|
27
27
|
* @param dependencies Array of IDependency for name mapping
|
|
28
28
|
* @param templatizeFieldReferences Templatize all field references within a layer
|
|
29
29
|
* @param templateDictionary Hash mapping property names to replacement values
|
|
30
|
-
* @
|
|
31
|
-
* @
|
|
30
|
+
* @returns A promise that will resolve when template has been updated
|
|
31
|
+
* @private
|
|
32
32
|
*/
|
|
33
33
|
export declare function templatize(itemTemplate: IItemTemplate, dependencies: IDependency[], templatizeFieldReferences: boolean, templateDictionary?: any): IItemTemplate;
|
|
34
34
|
/**
|
|
@@ -47,7 +47,7 @@ export declare function deleteViewProps(layer: any): void;
|
|
|
47
47
|
* @param layer The data layer instance with field name references within
|
|
48
48
|
* @param fieldInfos the object that stores the cached field infos
|
|
49
49
|
* @param isPortal Controls what properties should be removed.
|
|
50
|
-
* @
|
|
50
|
+
* @returns An updated instance of the fieldInfos
|
|
51
51
|
*/
|
|
52
52
|
export declare function cacheFieldInfos(layer: any, fieldInfos: any, isPortal: boolean): any;
|
|
53
53
|
/**
|
|
@@ -57,13 +57,14 @@ export declare function cacheFieldInfos(layer: any, fieldInfos: any, isPortal: b
|
|
|
57
57
|
* @param layer the data layer being cloned
|
|
58
58
|
* @param prop the property name used to cache
|
|
59
59
|
* @param fieldInfos the object that will store the cached property
|
|
60
|
+
* @private
|
|
60
61
|
*/
|
|
61
62
|
export declare function _cacheFieldInfo(layer: any, prop: string, fieldInfos: any, removeProp: boolean): void;
|
|
62
63
|
/**
|
|
63
64
|
* Cache popup info that can contain field references
|
|
64
65
|
*
|
|
65
66
|
* @param data The items data property
|
|
66
|
-
* @
|
|
67
|
+
* @returns An updated instance of the popupInfos
|
|
67
68
|
*/
|
|
68
69
|
export declare function cachePopupInfos(data: any): any;
|
|
69
70
|
/**
|
|
@@ -73,6 +74,7 @@ export declare function cachePopupInfos(data: any): any;
|
|
|
73
74
|
* @param popupInfos object to store the cahced popupInfo
|
|
74
75
|
* @param type is it a layer or table
|
|
75
76
|
* @param _items list or either layers or tables
|
|
77
|
+
* @private
|
|
76
78
|
*/
|
|
77
79
|
export declare function _cachePopupInfo(popupInfos: IPopupInfos, type: "layers" | "tables", _items: any): void;
|
|
78
80
|
/**
|
|
@@ -81,8 +83,8 @@ export declare function _cachePopupInfo(popupInfos: IPopupInfos, type: "layers"
|
|
|
81
83
|
* @param itemTemplate Item to be created; n.b.: this item is modified
|
|
82
84
|
* @param templateDictionary Hash mapping property names to replacement values
|
|
83
85
|
* @param createResponse Response from create service
|
|
84
|
-
* @
|
|
85
|
-
* @
|
|
86
|
+
* @returns An updated instance of the template
|
|
87
|
+
* @private
|
|
86
88
|
*/
|
|
87
89
|
export declare function updateTemplate(itemTemplate: IItemTemplate, templateDictionary: any, createResponse: any): IItemTemplate;
|
|
88
90
|
/**
|
|
@@ -91,8 +93,8 @@ export declare function updateTemplate(itemTemplate: IItemTemplate, templateDict
|
|
|
91
93
|
*
|
|
92
94
|
* @param itemTemplate Item to be created; n.b.: this item is modified
|
|
93
95
|
* @param createResponse Response from create service
|
|
94
|
-
* @
|
|
95
|
-
* @
|
|
96
|
+
* @returns An updated instance of the template
|
|
97
|
+
* @private
|
|
96
98
|
*/
|
|
97
99
|
export declare function _updateTypeKeywords(itemTemplate: IItemTemplate, createResponse: any): IItemTemplate;
|
|
98
100
|
/**
|
|
@@ -103,7 +105,7 @@ export declare function _updateTypeKeywords(itemTemplate: IItemTemplate, createR
|
|
|
103
105
|
* Example... { layer0: { fields: { lowerCaseSourceFieldName: newFieldNameAfterDeployment } } }
|
|
104
106
|
*
|
|
105
107
|
* @param layerInfos The object that stores the cached layer properties and name mapping
|
|
106
|
-
* @
|
|
108
|
+
* @returns The settings object that will be used to de-templatize the field references.
|
|
107
109
|
*/
|
|
108
110
|
export declare function getLayerSettings(layerInfos: any, url: string, itemId: string, enterpriseIDMapping?: any): any;
|
|
109
111
|
/**
|
|
@@ -114,7 +116,7 @@ export declare function getLayerSettings(layerInfos: any, url: string, itemId: s
|
|
|
114
116
|
*
|
|
115
117
|
* @param templates A collection of AGO item templates.
|
|
116
118
|
* @param solutionItemId The item id for the deployed solution item.
|
|
117
|
-
* @
|
|
119
|
+
* @returns An updated collection of AGO templates with unique feature service names.
|
|
118
120
|
*/
|
|
119
121
|
export declare function setNamesAndTitles(templates: IItemTemplate[], solutionItemId: string): IItemTemplate[];
|
|
120
122
|
/**
|
|
@@ -133,8 +135,8 @@ export declare function updateSettingsFieldInfos(itemTemplate: IItemTemplate, se
|
|
|
133
135
|
*
|
|
134
136
|
* @param template Template for feature service item
|
|
135
137
|
* @param authentication Credentials for the request
|
|
136
|
-
* @
|
|
137
|
-
* @
|
|
138
|
+
* @returns A promise that will resolve when template has been updated
|
|
139
|
+
* @private
|
|
138
140
|
*/
|
|
139
141
|
export declare function updateTemplateForInvalidDesignations(template: IItemTemplate, authentication: UserSession): Promise<IItemTemplate>;
|
|
140
142
|
/**
|
|
@@ -144,7 +146,7 @@ export declare function updateTemplateForInvalidDesignations(template: IItemTemp
|
|
|
144
146
|
* @param popupInfos The object from the popupInfo property for the layer
|
|
145
147
|
* @param adminLayerInfos The object from the adminLayerInfo property for the layer
|
|
146
148
|
* @param settings The settings object that has all of the mappings for de-templatizing.
|
|
147
|
-
* @
|
|
149
|
+
* @returns An object that contains updated instances of popupInfos, fieldInfos, and adminLayerInfos
|
|
148
150
|
*/
|
|
149
151
|
export declare function deTemplatizeFieldInfos(fieldInfos: any, popupInfos: any, adminLayerInfos: any, settings: any): any;
|
|
150
152
|
/**
|
|
@@ -154,7 +156,7 @@ export declare function deTemplatizeFieldInfos(fieldInfos: any, popupInfos: any,
|
|
|
154
156
|
* to the item settings for the view.
|
|
155
157
|
*
|
|
156
158
|
* @param itemTemplate The current itemTemplate being processed.
|
|
157
|
-
* @
|
|
159
|
+
* @returns array of layers and tables
|
|
158
160
|
*/
|
|
159
161
|
export declare function getLayersAndTables(itemTemplate: IItemTemplate): any[];
|
|
160
162
|
/**
|
|
@@ -165,8 +167,8 @@ export declare function getLayersAndTables(itemTemplate: IItemTemplate): any[];
|
|
|
165
167
|
* @param url Feature service endpoint
|
|
166
168
|
* @param ids layer and table ids
|
|
167
169
|
* @param authentication Credentials for the request
|
|
168
|
-
* @
|
|
169
|
-
* @
|
|
170
|
+
* @returns A promise that will resolve an array of promises with either a failure or the data
|
|
171
|
+
* @private
|
|
170
172
|
*/
|
|
171
173
|
export declare function getExistingLayersAndTables(url: string, ids: number[], authentication: UserSession): Promise<any>;
|
|
172
174
|
/**
|
|
@@ -177,8 +179,8 @@ export declare function getExistingLayersAndTables(url: string, ids: number[], a
|
|
|
177
179
|
* service)
|
|
178
180
|
* @param popupInfos the cached popup info from the layers
|
|
179
181
|
* @param authentication Credentials for the request
|
|
180
|
-
* @
|
|
181
|
-
* @
|
|
182
|
+
* @returns A promise that will resolve when all layers and tables have been added
|
|
183
|
+
* @private
|
|
182
184
|
*/
|
|
183
185
|
export declare function addFeatureServiceLayersAndTables(itemTemplate: IItemTemplate, templateDictionary: any, popupInfos: IPopupInfos, authentication: UserSession): Promise<void>;
|
|
184
186
|
/**
|
|
@@ -193,8 +195,8 @@ export declare function addFeatureServiceLayersAndTables(itemTemplate: IItemTemp
|
|
|
193
195
|
* @param adminLayerInfos Hash map of a layers adminLayerInfo
|
|
194
196
|
* @param fieldInfos Hash map of properties that contain field references
|
|
195
197
|
* @param itemTemplate
|
|
196
|
-
* @
|
|
197
|
-
* @
|
|
198
|
+
* @returns A promise that will resolve when the feature service has been updated
|
|
199
|
+
* @private
|
|
198
200
|
*/
|
|
199
201
|
export declare function addFeatureServiceDefinition(serviceUrl: string, listToAdd: any[], templateDictionary: any, authentication: UserSession, key: string, adminLayerInfos: any, fieldInfos: any, itemTemplate: IItemTemplate): Promise<void>;
|
|
200
202
|
/**
|
|
@@ -207,15 +209,15 @@ export declare function addFeatureServiceDefinition(serviceUrl: string, listToAd
|
|
|
207
209
|
* @param layerChunks Groups of layers or tables to add to the service
|
|
208
210
|
* @param authentication Credentials for the request
|
|
209
211
|
*
|
|
210
|
-
* @
|
|
211
|
-
* @
|
|
212
|
+
* @returns Add to service definition options
|
|
213
|
+
* @private
|
|
212
214
|
*/
|
|
213
215
|
export declare function _updateAddOptions(itemTemplate: IItemTemplate, item: any, options: any, layerChunks: any[], authentication: UserSession): any;
|
|
214
216
|
/**
|
|
215
217
|
* Remove "multiScaleGeometryInfo" for issue #526 to prevent invalid enablement of layer optimization
|
|
216
218
|
*
|
|
217
219
|
* @param layer the layer to evaluate
|
|
218
|
-
* @
|
|
220
|
+
* @private
|
|
219
221
|
*/
|
|
220
222
|
export declare function removeLayerOptimization(layer: any): void;
|
|
221
223
|
/**
|
|
@@ -225,8 +227,8 @@ export declare function removeLayerOptimization(layer: any): void;
|
|
|
225
227
|
* @param itemTemplate the item template
|
|
226
228
|
* @param templateDictionary Hash mapping Solution source id to id of its clone
|
|
227
229
|
*
|
|
228
|
-
* @
|
|
229
|
-
* @
|
|
230
|
+
* @returns the updated item
|
|
231
|
+
* @private
|
|
230
232
|
*/
|
|
231
233
|
export declare function _updateForPortal(item: any, itemTemplate: IItemTemplate, templateDictionary: any): any;
|
|
232
234
|
/**
|
|
@@ -236,8 +238,8 @@ export declare function _updateForPortal(item: any, itemTemplate: IItemTemplate,
|
|
|
236
238
|
* @param itemTemplate the item template
|
|
237
239
|
* @param templateDictionary Hash mapping Solution source id to id of its clone
|
|
238
240
|
*
|
|
239
|
-
* @
|
|
240
|
-
* @
|
|
241
|
+
* @returns an array of the source layers fields
|
|
242
|
+
* @private
|
|
241
243
|
*/
|
|
242
244
|
export declare function _getFieldNames(table: any, itemTemplate: IItemTemplate, templateDictionary: any): string[];
|
|
243
245
|
/**
|
|
@@ -246,8 +248,8 @@ export declare function _getFieldNames(table: any, itemTemplate: IItemTemplate,
|
|
|
246
248
|
* @param item Layer or table
|
|
247
249
|
* @param templateDictionary Hash mapping Solution source id to id of its clone
|
|
248
250
|
*
|
|
249
|
-
* @
|
|
250
|
-
* @
|
|
251
|
+
* @returns updated layer or table
|
|
252
|
+
* @private
|
|
251
253
|
*/
|
|
252
254
|
export declare function _updateItemFields(item: any, fieldNames: string[]): any;
|
|
253
255
|
/**
|
|
@@ -255,8 +257,8 @@ export declare function _updateItemFields(item: any, fieldNames: string[]): any;
|
|
|
255
257
|
*
|
|
256
258
|
* @param table the table instance to evaluate
|
|
257
259
|
* @param sourceLayerFields array of fields from the source service
|
|
258
|
-
* @
|
|
259
|
-
* @
|
|
260
|
+
* @returns Updated instance of the table
|
|
261
|
+
* @private
|
|
260
262
|
*/
|
|
261
263
|
export declare function _updateSourceLayerFields(table: any, sourceLayerFields: string[]): any;
|
|
262
264
|
/**
|
|
@@ -265,7 +267,7 @@ export declare function _updateSourceLayerFields(table: any, sourceLayerFields:
|
|
|
265
267
|
*
|
|
266
268
|
* @param item the item details from the current template
|
|
267
269
|
* @param templateDictionary Hash mapping property names to replacement values
|
|
268
|
-
* @
|
|
270
|
+
* @private
|
|
269
271
|
*/
|
|
270
272
|
export declare function _updateGeomFieldName(adminLayerInfo: any, templateDictionary: any): void;
|
|
271
273
|
/**
|
|
@@ -277,7 +279,7 @@ export declare function _updateGeomFieldName(adminLayerInfo: any, templateDictio
|
|
|
277
279
|
*
|
|
278
280
|
* @param itemTemplate
|
|
279
281
|
* @param templateDictionary Hash mapping Solution source id to id of its clone (and name & URL for feature service)
|
|
280
|
-
* @
|
|
282
|
+
* @private
|
|
281
283
|
*/
|
|
282
284
|
export declare function _updateTemplateDictionaryFields(itemTemplate: IItemTemplate, templateDictionary: any, compareItemId?: boolean): void;
|
|
283
285
|
/**
|
|
@@ -288,7 +290,7 @@ export declare function _updateTemplateDictionaryFields(itemTemplate: IItemTempl
|
|
|
288
290
|
* @param templateDictionary Hash mapping Solution source id to id of its clone (and name & URL for feature service)
|
|
289
291
|
* @param itemId The source id for the item
|
|
290
292
|
* @param spatialReference { wkid: 102100 } for example
|
|
291
|
-
* @
|
|
293
|
+
* @private
|
|
292
294
|
*/
|
|
293
295
|
export declare function setDefaultSpatialReference(templateDictionary: any, itemId: string, spatialReference: any): void;
|
|
294
296
|
/**
|
|
@@ -299,7 +301,7 @@ export declare function setDefaultSpatialReference(templateDictionary: any, item
|
|
|
299
301
|
* @param serviceInfo Basic service information
|
|
300
302
|
* @param itemTemplate The current template to process
|
|
301
303
|
* @param templateDictionary Hash mapping Solution source id to id of its clone (and name & URL for feature service)
|
|
302
|
-
* @
|
|
304
|
+
* @private
|
|
303
305
|
*/
|
|
304
306
|
export declare function validateSpatialReferenceAndExtent(serviceInfo: any, itemTemplate: IItemTemplate, templateDictionary: any): void;
|
|
305
307
|
/**
|
|
@@ -311,8 +313,8 @@ export declare function validateSpatialReferenceAndExtent(serviceInfo: any, item
|
|
|
311
313
|
* @param adminLayerInfos Hash map of a layers adminLayerInfo
|
|
312
314
|
* @param templateDictionary Hash mapping Solution source id to id of its clone (and name & URL for feature service)
|
|
313
315
|
* @param authentication Credentials for the request
|
|
314
|
-
* @
|
|
315
|
-
* @
|
|
316
|
+
* @returns A promise that will resolve when the feature service has been updated
|
|
317
|
+
* @private
|
|
316
318
|
*/
|
|
317
319
|
export declare function updateLayerFieldReferences(itemTemplate: IItemTemplate, fieldInfos: any, popupInfos: IPopupInfos, adminLayerInfos: any, templateDictionary: any): Promise<any>;
|
|
318
320
|
/**
|
|
@@ -325,8 +327,8 @@ export declare function updateLayerFieldReferences(itemTemplate: IItemTemplate,
|
|
|
325
327
|
* @param adminLayerInfos Hash map of a layers adminLayerInfo
|
|
326
328
|
* @param templateDictionary
|
|
327
329
|
* @param authentication Credentials for the request
|
|
328
|
-
* @
|
|
329
|
-
* @
|
|
330
|
+
* @returns An object with detemplatized field references
|
|
331
|
+
* @private
|
|
330
332
|
*/
|
|
331
333
|
export declare function postProcessFields(itemTemplate: IItemTemplate, layerInfos: any, popupInfos: any, adminLayerInfos: any, templateDictionary: any): Promise<any>;
|
|
332
334
|
/**
|
|
@@ -334,8 +336,8 @@ export declare function postProcessFields(itemTemplate: IItemTemplate, layerInfo
|
|
|
334
336
|
* we need to pass it via an updateDef call or it will be set as the typeIdField of the source service
|
|
335
337
|
*
|
|
336
338
|
* @param item current layer or table
|
|
337
|
-
* @
|
|
338
|
-
* @
|
|
339
|
+
* @returns name of field to set for typeIdField in the update call
|
|
340
|
+
* @private
|
|
339
341
|
*/
|
|
340
342
|
export declare function _getTypeIdField(item: any): string;
|
|
341
343
|
/**
|
|
@@ -344,8 +346,8 @@ export declare function _getTypeIdField(item: any): string;
|
|
|
344
346
|
* visible true when added with the layer definition
|
|
345
347
|
*
|
|
346
348
|
* @param fieldInfo current layers or tables fieldInfo
|
|
347
|
-
* @
|
|
348
|
-
* @
|
|
349
|
+
* @returns Array of fields that should not be visible in the view
|
|
350
|
+
* @private
|
|
349
351
|
*/
|
|
350
352
|
export declare function _getFieldVisibilityUpdates(fieldInfo: any): any[];
|
|
351
353
|
/**
|
|
@@ -354,8 +356,8 @@ export declare function _getFieldVisibilityUpdates(fieldInfo: any): any[];
|
|
|
354
356
|
*
|
|
355
357
|
* @param fieldInfo current view layer or table fieldInfo
|
|
356
358
|
* @param fieldUpdates any existing field updates
|
|
357
|
-
* @
|
|
358
|
-
* @
|
|
359
|
+
* @returns Array of fields to be updated
|
|
360
|
+
* @private
|
|
359
361
|
*/
|
|
360
362
|
export declare function _validateDomains(fieldInfo: any, fieldUpdates: any[]): any[];
|
|
361
363
|
/**
|
|
@@ -367,7 +369,7 @@ export declare function _validateDomains(fieldInfo: any, fieldUpdates: any[]): a
|
|
|
367
369
|
* @param fields the alias or domain fields
|
|
368
370
|
* @param key the field key to evaluate
|
|
369
371
|
* @param fieldUpdates any existing field updates
|
|
370
|
-
* @
|
|
372
|
+
* @private
|
|
371
373
|
*/
|
|
372
374
|
export declare function _getPortalViewFieldUpdates(field: any, names: string[], fields: any[], key: string, fieldUpdates: any[]): void;
|
|
373
375
|
/**
|
|
@@ -376,15 +378,15 @@ export declare function _getPortalViewFieldUpdates(field: any, names: string[],
|
|
|
376
378
|
*
|
|
377
379
|
* @param fieldInfo current view layer or table fieldInfo
|
|
378
380
|
* @param fieldUpdates any existing field updates
|
|
379
|
-
* @
|
|
380
|
-
* @
|
|
381
|
+
* @returns Array of fields to be updated
|
|
382
|
+
* @private
|
|
381
383
|
*/
|
|
382
384
|
export declare function _validateViewDomainsAndAlias(fieldInfo: any, item: any): void;
|
|
383
385
|
/**
|
|
384
386
|
* Get array of domain fields and names and alias fields and names
|
|
385
387
|
*
|
|
386
388
|
* @param fieldInfo current view layer or table fieldInfo
|
|
387
|
-
*
|
|
389
|
+
* @private
|
|
388
390
|
*/
|
|
389
391
|
export declare function _getDomainAndAliasInfos(fieldInfo: any): any;
|
|
390
392
|
/**
|
|
@@ -394,7 +396,7 @@ export declare function _getDomainAndAliasInfos(fieldInfo: any): any;
|
|
|
394
396
|
* @param names array of field names
|
|
395
397
|
* @param fields array of fields
|
|
396
398
|
* @param key the field key to compare
|
|
397
|
-
* @
|
|
399
|
+
* @private
|
|
398
400
|
*/
|
|
399
401
|
export declare function _isViewFieldOverride(field: any, names: string[], fields: any[], key: string): void;
|
|
400
402
|
/**
|
|
@@ -402,7 +404,7 @@ export declare function _isViewFieldOverride(field: any, names: string[], fields
|
|
|
402
404
|
*
|
|
403
405
|
* @param itemTemplate
|
|
404
406
|
* @param popupInfos popup info to be added back to the layer
|
|
405
|
-
* @
|
|
407
|
+
* @private
|
|
406
408
|
*/
|
|
407
409
|
export declare function updatePopupInfo(itemTemplate: IItemTemplate, popupInfos: any): void;
|
|
408
410
|
/**
|
|
@@ -410,6 +412,7 @@ export declare function updatePopupInfo(itemTemplate: IItemTemplate, popupInfos:
|
|
|
410
412
|
*
|
|
411
413
|
* @param basePath path used to de-templatize while deploying
|
|
412
414
|
* @param value to be converted to lower case for lookup while deploying
|
|
415
|
+
* @private
|
|
413
416
|
*/
|
|
414
417
|
export declare function _templatize(basePath: string, value: string, suffix?: string): string;
|
|
415
418
|
/**
|
|
@@ -418,6 +421,7 @@ export declare function _templatize(basePath: string, value: string, suffix?: st
|
|
|
418
421
|
* @param object the object with the property to templatize
|
|
419
422
|
* @param property the property of the object to templatize
|
|
420
423
|
* @param basePath path used to de-templatize while deploying
|
|
424
|
+
* @private
|
|
421
425
|
*/
|
|
422
426
|
export declare function _templatizeProperty(object: any, property: string, basePath: string, suffix: string): void;
|
|
423
427
|
/**
|
|
@@ -428,8 +432,8 @@ export declare function _templatizeProperty(object: any, property: string, baseP
|
|
|
428
432
|
* @param itemTemplate Template for feature service item
|
|
429
433
|
* @param dependencies Array of IDependency for name mapping
|
|
430
434
|
* @param templatizeFieldReferences Templatize all field references within a layer
|
|
431
|
-
* @
|
|
432
|
-
* @
|
|
435
|
+
* @returns A promise that will resolve when template has been updated
|
|
436
|
+
* @private
|
|
433
437
|
*/
|
|
434
438
|
export declare function _templatizeLayer(dataItem: any, adminItem: any, itemTemplate: IItemTemplate, dependencies: IDependency[], templatizeFieldReferences: boolean, templateDictionary: any): void;
|
|
435
439
|
/**
|
|
@@ -445,6 +449,7 @@ export declare function _validateFields(adminItem: any): void;
|
|
|
445
449
|
*
|
|
446
450
|
* @param adminItem layer or table from the service
|
|
447
451
|
* @param fieldNames string list of fields names
|
|
452
|
+
* @private
|
|
448
453
|
*/
|
|
449
454
|
export declare function _validateDisplayField(adminItem: any, fieldNames: string[]): void;
|
|
450
455
|
/**
|
|
@@ -453,6 +458,7 @@ export declare function _validateDisplayField(adminItem: any, fieldNames: string
|
|
|
453
458
|
*
|
|
454
459
|
* @param adminItem layer or table from the service
|
|
455
460
|
* @param fieldNames string list of fields names
|
|
461
|
+
* @private
|
|
456
462
|
*/
|
|
457
463
|
export declare function _validateIndexes(adminItem: any, fieldNames: string[]): void;
|
|
458
464
|
/**
|
|
@@ -460,6 +466,7 @@ export declare function _validateIndexes(adminItem: any, fieldNames: string[]):
|
|
|
460
466
|
*
|
|
461
467
|
* @param adminItem layer or table from the service
|
|
462
468
|
* @param fieldNames string list of fields names
|
|
469
|
+
* @private
|
|
463
470
|
*/
|
|
464
471
|
export declare function _validateTemplatesFields(adminItem: any, fieldNames: string[]): void;
|
|
465
472
|
/**
|
|
@@ -467,6 +474,7 @@ export declare function _validateTemplatesFields(adminItem: any, fieldNames: str
|
|
|
467
474
|
*
|
|
468
475
|
* @param adminItem layer or table from the service
|
|
469
476
|
* @param fieldNames string list of fields names
|
|
477
|
+
* @private
|
|
470
478
|
*/
|
|
471
479
|
export declare function _validateTypesTemplates(adminItem: any, fieldNames: string[]): void;
|
|
472
480
|
/**
|
|
@@ -474,6 +482,7 @@ export declare function _validateTypesTemplates(adminItem: any, fieldNames: stri
|
|
|
474
482
|
*
|
|
475
483
|
* @param adminItem layer or table from the service
|
|
476
484
|
* @param fieldNames string list of fields names
|
|
485
|
+
* @private
|
|
477
486
|
*/
|
|
478
487
|
export declare function _validateEditFieldsInfo(adminItem: any, fieldNames: string[]): void;
|
|
479
488
|
/**
|
|
@@ -486,7 +495,8 @@ export declare function _validateEditFieldsInfo(adminItem: any, fieldNames: stri
|
|
|
486
495
|
* @param itemID The id for the item that contains this layer.
|
|
487
496
|
* @param layer JSON return from the layer being templatized.
|
|
488
497
|
* @param dependencies
|
|
489
|
-
* @
|
|
498
|
+
* @returns An updated instance of the layer
|
|
499
|
+
* @private
|
|
490
500
|
*/
|
|
491
501
|
export declare function _templatizeLayerFieldReferences(dataItem: any, itemID: string, layer: any, dependencies: IDependency[]): void;
|
|
492
502
|
/**
|
|
@@ -495,8 +505,8 @@ export declare function _templatizeLayerFieldReferences(dataItem: any, itemID: s
|
|
|
495
505
|
*
|
|
496
506
|
* @param layer The layer to be modified
|
|
497
507
|
* @param dependencies Array of service dependencies
|
|
498
|
-
* @
|
|
499
|
-
* @
|
|
508
|
+
* @returns A new copy of the modified adminLayerInfo for the given layer
|
|
509
|
+
* @private
|
|
500
510
|
*/
|
|
501
511
|
export declare function _templatizeAdminLayerInfo(layer: any, dependencies: IDependency[], templateDictionary: any): any;
|
|
502
512
|
/**
|
|
@@ -504,7 +514,7 @@ export declare function _templatizeAdminLayerInfo(layer: any, dependencies: IDep
|
|
|
504
514
|
*
|
|
505
515
|
* @param object The layer to be modified
|
|
506
516
|
* @param dependencies Array of service dependencies
|
|
507
|
-
* @
|
|
517
|
+
* @private
|
|
508
518
|
*/
|
|
509
519
|
export declare function _processAdminObject(object: any, dependencies: IDependency[]): void;
|
|
510
520
|
/**
|
|
@@ -512,8 +522,8 @@ export declare function _processAdminObject(object: any, dependencies: IDependen
|
|
|
512
522
|
*
|
|
513
523
|
* @param lookupName The current name from the source service
|
|
514
524
|
* @param dependencies Array of IDependency for name mapping
|
|
515
|
-
* @
|
|
516
|
-
* @
|
|
525
|
+
* @returns The templatized name || undefined when no matching dependency is found
|
|
526
|
+
* @private
|
|
517
527
|
*/
|
|
518
528
|
export declare function _templatizeSourceServiceName(lookupName: string, dependencies: IDependency[]): string | string[] | undefined;
|
|
519
529
|
/**
|
|
@@ -522,6 +532,7 @@ export declare function _templatizeSourceServiceName(lookupName: string, depende
|
|
|
522
532
|
* @param layer the layer object with the adminLayerInfo property to templatize
|
|
523
533
|
* @param basePath path used to de-templatize while deploying
|
|
524
534
|
* @param itemID the id for the item that contains this layer
|
|
535
|
+
* @private
|
|
525
536
|
*/
|
|
526
537
|
export declare function _templatizeAdminLayerInfoFields(layer: any, dependencies: IDependency[]): void;
|
|
527
538
|
/**
|
|
@@ -529,6 +540,7 @@ export declare function _templatizeAdminLayerInfoFields(layer: any, dependencies
|
|
|
529
540
|
*
|
|
530
541
|
* @param lookupName name of dependency we want to find the id of
|
|
531
542
|
* @param dependencies array of item dependencies
|
|
543
|
+
* @private
|
|
532
544
|
*/
|
|
533
545
|
export declare function _getDependantItemId(lookupName: string, dependencies: IDependency[]): string;
|
|
534
546
|
/**
|
|
@@ -536,6 +548,7 @@ export declare function _getDependantItemId(lookupName: string, dependencies: ID
|
|
|
536
548
|
*
|
|
537
549
|
* @param fields array of sourceLayerFields to templatize
|
|
538
550
|
* @param basePath path used to de-templatize while deploying
|
|
551
|
+
* @private
|
|
539
552
|
*/
|
|
540
553
|
export declare function _templatizeAdminSourceLayerFields(fields: any[], basePath: string): void;
|
|
541
554
|
/**
|
|
@@ -543,6 +556,7 @@ export declare function _templatizeAdminSourceLayerFields(fields: any[], basePat
|
|
|
543
556
|
*
|
|
544
557
|
* @param topFilter the topFilter object to templatize
|
|
545
558
|
* @param basePath path used to de-templatize while deploying
|
|
559
|
+
* @private
|
|
546
560
|
*/
|
|
547
561
|
export declare function _templatizeTopFilter(topFilter: any, basePath: string): void;
|
|
548
562
|
/**
|
|
@@ -550,6 +564,7 @@ export declare function _templatizeTopFilter(topFilter: any, basePath: string):
|
|
|
550
564
|
*
|
|
551
565
|
* @param layer the layer that has the relationships to templatize
|
|
552
566
|
* @param itemID the id of the item that contains the related table
|
|
567
|
+
* @private
|
|
553
568
|
*/
|
|
554
569
|
export declare function _templatizeRelationshipFields(layer: any, itemID: string): void;
|
|
555
570
|
/**
|
|
@@ -560,6 +575,7 @@ export declare function _templatizeRelationshipFields(layer: any, itemID: string
|
|
|
560
575
|
* @param basePath path used to de-templatize while deploying
|
|
561
576
|
* @param itemID the id for the item that contains this layer
|
|
562
577
|
* @param fieldNames array of fieldNames
|
|
578
|
+
* @private
|
|
563
579
|
*/
|
|
564
580
|
export declare function _templatizePopupInfo(layerDefinition: any, layer: any, basePath: string, itemID: any, fieldNames: string[]): void;
|
|
565
581
|
/**
|
|
@@ -570,6 +586,7 @@ export declare function _templatizePopupInfo(layerDefinition: any, layer: any, b
|
|
|
570
586
|
* @param property that could have a field name referenced
|
|
571
587
|
* @param fieldNames array for field names for the layer
|
|
572
588
|
* @param basePath path used to de-templatize while deploying
|
|
589
|
+
* @private
|
|
573
590
|
*/
|
|
574
591
|
export declare function _templatizeName(object: any, property: string, fieldNames: string[], basePath: string): void;
|
|
575
592
|
/**
|
|
@@ -580,6 +597,7 @@ export declare function _templatizeName(object: any, property: string, fieldName
|
|
|
580
597
|
* @param layer json of layer being cloned
|
|
581
598
|
* @param itemID id of the item that contains the current layer
|
|
582
599
|
* @param basePath path used to de-templatize while deploying
|
|
600
|
+
* @private
|
|
583
601
|
*/
|
|
584
602
|
export declare function _templatizePopupInfoFieldInfos(fieldInfos: any[], layer: any, itemID: any, basePath: string): void;
|
|
585
603
|
/**
|
|
@@ -590,6 +608,7 @@ export declare function _templatizePopupInfoFieldInfos(fieldInfos: any[], layer:
|
|
|
590
608
|
* @param layer json of layer being cloned
|
|
591
609
|
* @param itemID id of the item that contains the current layer
|
|
592
610
|
* @param basePath path used to de-templatize while deploying
|
|
611
|
+
* @private
|
|
593
612
|
*/
|
|
594
613
|
export declare function _templatizeFieldName(name: string, layer: any, itemID: string, basePath: string): string;
|
|
595
614
|
/**
|
|
@@ -598,6 +617,7 @@ export declare function _templatizeFieldName(name: string, layer: any, itemID: s
|
|
|
598
617
|
* @param expressionInfos the popups expressionInfos to check
|
|
599
618
|
* @param fieldNames array of the layers field names
|
|
600
619
|
* @param basePath path used to de-templatize while deploying
|
|
620
|
+
* @private
|
|
601
621
|
*/
|
|
602
622
|
export declare function _templatizeExpressionInfos(expressionInfos: any[], fieldNames: string[], basePath: string): any[];
|
|
603
623
|
/**
|
|
@@ -608,6 +628,7 @@ export declare function _templatizeExpressionInfos(expressionInfos: any[], field
|
|
|
608
628
|
* @param layer json of layer being cloned
|
|
609
629
|
* @param itemID id of the item that contains the current layer
|
|
610
630
|
* @param fieldNames array of field names
|
|
631
|
+
* @private
|
|
611
632
|
*/
|
|
612
633
|
export declare function _templatizePopupElements(popupElelments: any[], basePath: string, layer: any, itemID: string, fieldNames: any): void;
|
|
613
634
|
/**
|
|
@@ -618,6 +639,7 @@ export declare function _templatizePopupElements(popupElelments: any[], basePath
|
|
|
618
639
|
* @param basePath path used to de-templatize while deploying
|
|
619
640
|
* @param layer json of layer being cloned
|
|
620
641
|
* @param itemID id of the item that contains the current layer
|
|
642
|
+
* @private
|
|
621
643
|
*/
|
|
622
644
|
export declare function _templatizeMediaInfos(mediaInfos: any, fieldNames: string[], basePath: string, layer: any, itemId: string): void;
|
|
623
645
|
/**
|
|
@@ -626,6 +648,7 @@ export declare function _templatizeMediaInfos(mediaInfos: any, fieldNames: strin
|
|
|
626
648
|
* @param layer the layer with the definition editor
|
|
627
649
|
* @param basePath path used to de-templatize while deploying
|
|
628
650
|
* @param fieldNames json of layer being cloned
|
|
651
|
+
* @private
|
|
629
652
|
*/
|
|
630
653
|
export declare function _templatizeDefinitionEditor(layer: any, basePath: string, fieldNames: string[]): void;
|
|
631
654
|
/**
|
|
@@ -634,6 +657,7 @@ export declare function _templatizeDefinitionEditor(layer: any, basePath: string
|
|
|
634
657
|
* @param layer the layer with the definition editor
|
|
635
658
|
* @param basePath path used to de-templatize while deploying
|
|
636
659
|
* @param fieldNames array of field names
|
|
660
|
+
* @private
|
|
637
661
|
*/
|
|
638
662
|
export declare function _templatizeDefinitionExpression(layer: any, basePath: string, fieldNames: string[]): void;
|
|
639
663
|
/**
|
|
@@ -642,6 +666,7 @@ export declare function _templatizeDefinitionExpression(layer: any, basePath: st
|
|
|
642
666
|
* @param expression the expression to test for field name references
|
|
643
667
|
* @param basePath path used to de-templatize while deploying
|
|
644
668
|
* @param fieldNames array of the layers field names
|
|
669
|
+
* @private
|
|
645
670
|
*/
|
|
646
671
|
export declare function _templatizeSimpleName(expression: string, basePath: string, fieldNames: string[], suffix: string): string;
|
|
647
672
|
/**
|
|
@@ -650,6 +675,7 @@ export declare function _templatizeSimpleName(expression: string, basePath: stri
|
|
|
650
675
|
* @param layer the data layer
|
|
651
676
|
* @param basePath path used to de-templatize while deploying
|
|
652
677
|
* @param fieldNames array of the layers field names
|
|
678
|
+
* @private
|
|
653
679
|
*/
|
|
654
680
|
export declare function _templatizeDrawingInfo(layer: any, basePath: string, fieldNames: string[]): void;
|
|
655
681
|
/**
|
|
@@ -658,6 +684,7 @@ export declare function _templatizeDrawingInfo(layer: any, basePath: string, fie
|
|
|
658
684
|
* @param renderer the layers renderer
|
|
659
685
|
* @param basePath path used to de-templatize while deploying
|
|
660
686
|
* @param fieldNames array of the layers field names
|
|
687
|
+
* @private
|
|
661
688
|
*/
|
|
662
689
|
export declare function _templatizeRenderer(renderer: any, basePath: string, fieldNames: string[]): void;
|
|
663
690
|
/**
|
|
@@ -666,6 +693,7 @@ export declare function _templatizeRenderer(renderer: any, basePath: string, fie
|
|
|
666
693
|
* @param renderer the renderer object to check for field references
|
|
667
694
|
* @param basePath path used to de-templatize while deploying
|
|
668
695
|
* @param fieldNames array of field names that will be used to search expressions
|
|
696
|
+
* @private
|
|
669
697
|
*/
|
|
670
698
|
export declare function _templatizeGenRenderer(renderer: any, basePath: string, fieldNames: string[]): void;
|
|
671
699
|
/**
|
|
@@ -674,6 +702,7 @@ export declare function _templatizeGenRenderer(renderer: any, basePath: string,
|
|
|
674
702
|
* @param renderer the renderer object to check for field references
|
|
675
703
|
* @param basePath path used to de-templatize while deploying
|
|
676
704
|
* @param fieldNames array of field names that will be used to search expressions
|
|
705
|
+
* @private
|
|
677
706
|
*/
|
|
678
707
|
export declare function _templatizeTemporalRenderer(renderer: any, basePath: string, fieldNames: string[]): void;
|
|
679
708
|
/**
|
|
@@ -682,6 +711,7 @@ export declare function _templatizeTemporalRenderer(renderer: any, basePath: str
|
|
|
682
711
|
* @param authoringInfo object containing metadata about the authoring process
|
|
683
712
|
* @param basePath path used to de-templatize while deploying
|
|
684
713
|
* @param fieldNames the name of fields from the layer
|
|
714
|
+
* @private
|
|
685
715
|
*/
|
|
686
716
|
export declare function _templatizeAuthoringInfo(authoringInfo: any, basePath: string, fieldNames: string[]): void;
|
|
687
717
|
/**
|
|
@@ -690,6 +720,7 @@ export declare function _templatizeAuthoringInfo(authoringInfo: any, basePath: s
|
|
|
690
720
|
* @param text the text that contains the expression
|
|
691
721
|
* @param fieldName name of the field to test for
|
|
692
722
|
* @param basePath path used to de-templatize while deploying
|
|
723
|
+
* @private
|
|
693
724
|
*/
|
|
694
725
|
export declare function _templatizeArcadeExpressions(text: string, fieldName: string, basePath: string): string;
|
|
695
726
|
/**
|
|
@@ -698,6 +729,7 @@ export declare function _templatizeArcadeExpressions(text: string, fieldName: st
|
|
|
698
729
|
* @param labelingInfo the object that contains the labelingInfo
|
|
699
730
|
* @param basePath path used to de-templatize while deploying
|
|
700
731
|
* @param fieldNames array of the layers field names
|
|
732
|
+
* @private
|
|
701
733
|
*/
|
|
702
734
|
export declare function _templatizeLabelingInfo(labelingInfo: any, basePath: string, fieldNames: string[]): void;
|
|
703
735
|
/**
|
|
@@ -705,6 +737,7 @@ export declare function _templatizeLabelingInfo(labelingInfo: any, basePath: str
|
|
|
705
737
|
*
|
|
706
738
|
* @param layer the data layer being cloned
|
|
707
739
|
* @param basePath path used to de-templatize while deploying
|
|
740
|
+
* @private
|
|
708
741
|
*/
|
|
709
742
|
export declare function _templatizeTemplates(layer: any, basePath: string): void;
|
|
710
743
|
/**
|
|
@@ -712,6 +745,7 @@ export declare function _templatizeTemplates(layer: any, basePath: string): void
|
|
|
712
745
|
*
|
|
713
746
|
* @param layer the data layer being cloned
|
|
714
747
|
* @param basePath path used to de-templatize while deploying
|
|
748
|
+
* @private
|
|
715
749
|
*/
|
|
716
750
|
export declare function _templatizeTypeTemplates(layer: any, basePath: string): void;
|
|
717
751
|
/**
|
|
@@ -720,6 +754,7 @@ export declare function _templatizeTypeTemplates(layer: any, basePath: string):
|
|
|
720
754
|
* @param obj the object to templatize
|
|
721
755
|
* @param basePath path used to de-templatize while deploying
|
|
722
756
|
* @param suffix expected suffix for template variable
|
|
757
|
+
* @private
|
|
723
758
|
*/
|
|
724
759
|
export declare function _templatizeKeys(obj: any, basePath: string, suffix: string): any;
|
|
725
760
|
/**
|
|
@@ -727,6 +762,7 @@ export declare function _templatizeKeys(obj: any, basePath: string, suffix: stri
|
|
|
727
762
|
*
|
|
728
763
|
* @param layer the data layer being cloned
|
|
729
764
|
* @param basePath path used to de-templatize while deploying
|
|
765
|
+
* @private
|
|
730
766
|
*/
|
|
731
767
|
export declare function _templatizeTimeInfo(layer: any, basePath: string): void;
|
|
732
768
|
/**
|
|
@@ -735,6 +771,7 @@ export declare function _templatizeTimeInfo(layer: any, basePath: string): void;
|
|
|
735
771
|
* @param layer the data layer being cloned
|
|
736
772
|
* @param basePath path used to de-templatize while deploying
|
|
737
773
|
* @param fieldNames array of the layers field names
|
|
774
|
+
* @private
|
|
738
775
|
*/
|
|
739
776
|
export declare function _templatizeDefinitionQuery(layer: any, basePath: string, fieldNames: string[]): void;
|
|
740
777
|
/**
|
|
@@ -743,6 +780,7 @@ export declare function _templatizeDefinitionQuery(layer: any, basePath: string,
|
|
|
743
780
|
*
|
|
744
781
|
* @param fieldInfos the object that stores the cached information
|
|
745
782
|
* @param id the id for the current layer being processed
|
|
783
|
+
* @private
|
|
746
784
|
*/
|
|
747
785
|
export declare function _getNameMapping(fieldInfos: any, id: string): any;
|
|
748
786
|
export interface IPopupInfos {
|
|
@@ -752,6 +790,7 @@ export interface IPopupInfos {
|
|
|
752
790
|
/**
|
|
753
791
|
* Helper function to ensure same chunk size value is used in multiple locations
|
|
754
792
|
*
|
|
755
|
-
* @
|
|
793
|
+
* @returns a number that represents how many layers should be included per addToDef call
|
|
794
|
+
* @private
|
|
756
795
|
*/
|
|
757
796
|
export declare function _getLayerChunkSize(): number;
|