@esri/solution-simple-types 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.
Files changed (58) hide show
  1. package/dist/esm/dashboard.d.ts +12 -10
  2. package/dist/esm/dashboard.js +12 -10
  3. package/dist/esm/dashboard.js.map +1 -1
  4. package/dist/esm/helpers/convert-item-to-template.d.ts +1 -1
  5. package/dist/esm/helpers/convert-item-to-template.js +1 -1
  6. package/dist/esm/notebook.d.ts +3 -3
  7. package/dist/esm/notebook.js +3 -3
  8. package/dist/esm/oic.d.ts +7 -7
  9. package/dist/esm/oic.js +7 -7
  10. package/dist/esm/quickcapture.d.ts +8 -4
  11. package/dist/esm/quickcapture.js +8 -4
  12. package/dist/esm/quickcapture.js.map +1 -1
  13. package/dist/esm/simple-types.d.ts +2 -2
  14. package/dist/esm/simple-types.js +2 -2
  15. package/dist/esm/webmap.d.ts +12 -9
  16. package/dist/esm/webmap.js +13 -10
  17. package/dist/esm/webmap.js.map +1 -1
  18. package/dist/esm/webmappingapplication.d.ts +14 -5
  19. package/dist/esm/webmappingapplication.js +15 -5
  20. package/dist/esm/webmappingapplication.js.map +1 -1
  21. package/dist/esm/workforce.d.ts +2 -2
  22. package/dist/esm/workforce.js +2 -2
  23. package/dist/node/dashboard.d.ts +12 -10
  24. package/dist/node/dashboard.js +12 -10
  25. package/dist/node/dashboard.js.map +1 -1
  26. package/dist/node/helpers/convert-item-to-template.d.ts +1 -1
  27. package/dist/node/helpers/convert-item-to-template.js +1 -1
  28. package/dist/node/notebook.d.ts +3 -3
  29. package/dist/node/notebook.js +3 -3
  30. package/dist/node/oic.d.ts +7 -7
  31. package/dist/node/oic.js +7 -7
  32. package/dist/node/quickcapture.d.ts +8 -4
  33. package/dist/node/quickcapture.js +8 -4
  34. package/dist/node/quickcapture.js.map +1 -1
  35. package/dist/node/simple-types.d.ts +2 -2
  36. package/dist/node/simple-types.js +2 -2
  37. package/dist/node/webmap.d.ts +12 -9
  38. package/dist/node/webmap.js +13 -10
  39. package/dist/node/webmap.js.map +1 -1
  40. package/dist/node/webmappingapplication.d.ts +14 -5
  41. package/dist/node/webmappingapplication.js +15 -5
  42. package/dist/node/webmappingapplication.js.map +1 -1
  43. package/dist/node/workforce.d.ts +2 -2
  44. package/dist/node/workforce.js +2 -2
  45. package/dist/umd/dashboard.d.ts +12 -10
  46. package/dist/umd/helpers/convert-item-to-template.d.ts +1 -1
  47. package/dist/umd/notebook.d.ts +3 -3
  48. package/dist/umd/oic.d.ts +7 -7
  49. package/dist/umd/quickcapture.d.ts +8 -4
  50. package/dist/umd/simple-types.d.ts +2 -2
  51. package/dist/umd/simple-types.umd.js +65 -46
  52. package/dist/umd/simple-types.umd.js.map +1 -1
  53. package/dist/umd/simple-types.umd.min.js +2 -2
  54. package/dist/umd/simple-types.umd.min.js.map +1 -1
  55. package/dist/umd/webmap.d.ts +12 -9
  56. package/dist/umd/webmappingapplication.d.ts +14 -5
  57. package/dist/umd/workforce.d.ts +2 -2
  58. package/package.json +13 -12
@@ -20,7 +20,7 @@ import * as common from "@esri/solution-common";
20
20
  * @param itemTemplate Template for the webmap item
21
21
  * @param destAuthentication Credentials for requests to the destination organization
22
22
  * @param srcAuthentication Credentials for requests to source items
23
- * @return Template for the solution item that contains key details for item reconstruction
23
+ * @returns Template for the solution item that contains key details for item reconstruction
24
24
  */
25
25
  export declare function convertItemToTemplate(itemTemplate: common.IItemTemplate, destAuthentication: common.UserSession, srcAuthentication: common.UserSession): Promise<common.IItemTemplate>;
26
26
  /**
@@ -28,8 +28,8 @@ export declare function convertItemToTemplate(itemTemplate: common.IItemTemplate
28
28
  *
29
29
  * @param itemTemplate A webmap item whose dependencies are sought
30
30
  * @param authentication Credentials for any requests
31
- * @return List of dependencies ids and url/itemId hash
32
- * @protected
31
+ * @returns List of dependencies ids and url/itemId hash
32
+ * @private
33
33
  */
34
34
  export declare function _extractDependencies(itemTemplate: common.IItemTemplate, authentication: common.UserSession): Promise<any>;
35
35
  /**
@@ -39,8 +39,8 @@ export declare function _extractDependencies(itemTemplate: common.IItemTemplate,
39
39
  * Added for issue #662
40
40
  *
41
41
  * @param data the data for the web maps item template
42
- * @return void
43
- * @protected
42
+ * @returns void
43
+ * @private
44
44
  */
45
45
  export declare function _excludeInitialState(data: any): void;
46
46
  /**
@@ -49,8 +49,8 @@ export declare function _excludeInitialState(data: any): void;
49
49
  * @param layerList List of map layers or tables
50
50
  * @param dependencies Current list of dependencies
51
51
  * @param authentication Credentials for any requests
52
- * @return List of dependencies ids and url/itemId hash
53
- * @protected
52
+ * @returns List of dependencies ids and url/itemId hash
53
+ * @private
54
54
  */
55
55
  export declare function _getLayerIds(layerList: any[], dependencies: string[], authentication: common.UserSession): Promise<any>;
56
56
  /**
@@ -58,8 +58,8 @@ export declare function _getLayerIds(layerList: any[], dependencies: string[], a
58
58
  *
59
59
  * @param layerList List of map layers or tables
60
60
  * @param urlHash Lookup object for analysis layers
61
- * @return void
62
- * @protected
61
+ * @returns void
62
+ * @private
63
63
  */
64
64
  export declare function _templatizeWebmapLayerIdsAndUrls(layerList: any[], urlHash: any): void;
65
65
  /**
@@ -76,6 +76,7 @@ export declare function postProcessFieldReferences(solutionTemplate: common.IIte
76
76
  * @param solutionTemplate The solution item template
77
77
  * @param datasourceInfos A list of datasource info objects that contain key values to templatize field references
78
78
  * @param path A string path to the object property to templatize
79
+ * @private
79
80
  */
80
81
  export declare function _templatizeProperty(solutionTemplate: common.IItemTemplate, datasourceInfos: common.IDatasourceInfo[], path: string): void;
81
82
  /**
@@ -84,6 +85,7 @@ export declare function _templatizeProperty(solutionTemplate: common.IItemTempla
84
85
  * @param objs Can be operationalLayers or tables or appProperties search layers
85
86
  * @param datasourceInfos A list of datasource info objects that contain key values to templatize field references
86
87
  * @returns updated instances of the objects
88
+ * @private
87
89
  */
88
90
  export declare function _templatize(objs: any[], datasourceInfos: common.IDatasourceInfo[]): any[];
89
91
  /**
@@ -92,5 +94,6 @@ export declare function _templatize(objs: any[], datasourceInfos: common.IDataso
92
94
  * @param obj Can be operationalLayer or table or appProperties search layer
93
95
  * @param datasourceInfos A list of datasource info objects that contain key values to templatize field references
94
96
  * @returns datasourceInfo for the given object id
97
+ * @private
95
98
  */
96
99
  export declare function _getDatasourceInfo(obj: any, datasourceInfos: common.IDatasourceInfo[]): any;
@@ -20,7 +20,7 @@ import * as common from "@esri/solution-common";
20
20
  * @param itemInfo Info about the item
21
21
  * @param destAuthentication Credentials for requests to the destination organization
22
22
  * @param srcAuthentication Credentials for requests to source items
23
- * @return A promise that will resolve when the template has been created
23
+ * @returns A promise that will resolve when the template has been created
24
24
  */
25
25
  export declare function convertItemToTemplate(itemTemplate: common.IItemTemplate, destAuthentication: common.UserSession, srcAuthentication: common.UserSession): Promise<common.IItemTemplate>;
26
26
  export declare function templatizeDatasources(itemTemplate: common.IItemTemplate, authentication: common.UserSession, portalUrl: string): Promise<common.IItemTemplate>;
@@ -50,12 +50,14 @@ export declare function fineTuneCreatedItem(originalTemplate: common.IItemTempla
50
50
  * Gets the ids of the dependencies of an AGOL webapp item.
51
51
  *
52
52
  * @param fullItem A webapp item whose dependencies are sought
53
- * @return A promise that will resolve with list of dependent ids
54
- * @protected
53
+ * @returns A promise that will resolve with list of dependent ids
54
+ * @private
55
55
  */
56
56
  export declare function _extractDependencies(model: any): string[];
57
57
  /**
58
58
  * Generic Web App Dependencies
59
+ *
60
+ * @private
59
61
  */
60
62
  export declare function _getGenericWebAppDependencies(model: any): any;
61
63
  export declare function _getWABDependencies(model: any): string[];
@@ -64,7 +66,7 @@ export declare function _getWABDependencies(model: any): string[];
64
66
  *
65
67
  * @param itemTemplate The solution item template
66
68
  * @param paths A list of property paths that contain ids
67
- * @protected
69
+ * @private
68
70
  */
69
71
  export declare function _templatizeIdPaths(itemTemplate: common.IItemTemplate, paths: string[]): void;
70
72
  /**
@@ -73,7 +75,7 @@ export declare function _templatizeIdPaths(itemTemplate: common.IItemTemplate, p
73
75
  * @param itemTemplate The solution item template
74
76
  * @param path A path to an id property
75
77
  * @param id The base id to use when templatizing
76
- * @protected
78
+ * @private
77
79
  */
78
80
  export declare function _templatizeIdPath(itemTemplate: common.IItemTemplate, path: string, id: string): void;
79
81
  /**
@@ -90,6 +92,7 @@ export declare function postProcessFieldReferences(solutionTemplate: common.IIte
90
92
  * @param obj The dataSource or widget object from the web application.
91
93
  * @param datasourceInfos A list of datasource info objects that contain key values to templatize field references
92
94
  * @returns The dataSource with templatized field references
95
+ * @private
93
96
  */
94
97
  export declare function _templatizeObject(obj: any, datasourceInfos: common.IDatasourceInfo[], templatizeKeys?: boolean): any;
95
98
  /**
@@ -98,6 +101,7 @@ export declare function _templatizeObject(obj: any, datasourceInfos: common.IDat
98
101
  * @param objects A list of widgets or objects from the web application that may contain field references.
99
102
  * @param datasourceInfos A list of datasource info objects that contain key values to templatize field references
100
103
  * @returns The widgets with templatized field references
104
+ * @private
101
105
  */
102
106
  export declare function _templatizeObjectArray(objects: any[], datasourceInfos: common.IDatasourceInfo[]): any;
103
107
  /**
@@ -108,6 +112,7 @@ export declare function _templatizeObjectArray(objects: any[], datasourceInfos:
108
112
  * @param obj The dataSource or widget object from the web application.
109
113
  * @param datasourceInfos A list of datasource info objects that contain key values to templatize field references
110
114
  * @returns A list of datasourceInfo objects sorted based on the presence of a layers url or id
115
+ * @private
111
116
  */
112
117
  export declare function _getReplaceOrder(obj: any, datasourceInfos: common.IDatasourceInfo[]): common.IDatasourceInfo[];
113
118
  /**
@@ -117,6 +122,7 @@ export declare function _getReplaceOrder(obj: any, datasourceInfos: common.IData
117
122
  * @param datasourceInfo The datasource object with key properties about the service.
118
123
  * @param testString A stringified version of a widget or dataSource
119
124
  * @returns The prioritized order for testing
125
+ * @private
120
126
  */
121
127
  export declare function _getSortOrder(datasourceInfo: common.IDatasourceInfo, testString: string): number;
122
128
  /**
@@ -128,6 +134,7 @@ export declare function _getSortOrder(datasourceInfo: common.IDatasourceInfo, te
128
134
  * @param obj The dataSource or widget object from the application
129
135
  * @param datasourceInfos A list of datasource info objects that contain key values to templatize field references
130
136
  * @returns An updated instance of the dataSource or widget with as many field references templatized as possible.
137
+ * @private
131
138
  */
132
139
  export declare function _prioritizedTests(obj: any, datasourceInfos: common.IDatasourceInfo[], templatizeKeys: boolean): any;
133
140
  /**
@@ -138,6 +145,7 @@ export declare function _prioritizedTests(obj: any, datasourceInfos: common.IDat
138
145
  * @param obj The dataSource or widget object from the application
139
146
  * @param ds A datasourceInfo object to use for testing against the current dataSource or widget
140
147
  * @returns The updated instance of the object with as many field references templatized as possible
148
+ * @private
141
149
  */
142
150
  export declare function _templatizeParentByURL(obj: {
143
151
  [index: string]: any;
@@ -151,6 +159,7 @@ export declare function _templatizeParentByURL(obj: {
151
159
  * @param ds A datasourceInfo object to use for testing against the current dataSource or widget
152
160
  * @param id A webmap layer id to test with.
153
161
  * @returns The updated instance of the object with as many field references templatized as possible
162
+ * @private
154
163
  */
155
164
  export declare function _templatizeParentByWebMapLayerId(obj: {
156
165
  [index: string]: any;
@@ -20,7 +20,7 @@ import * as common from "@esri/solution-common";
20
20
  * @param itemTemplate template for the workforce project item
21
21
  * @param destAuthentication Credentials for requests to the destination organization
22
22
  * @param srcAuthentication Credentials for requests to source items
23
- * @return templatized itemTemplate
23
+ * @returns templatized itemTemplate
24
24
  */
25
25
  export declare function convertItemToTemplate(itemTemplate: common.IItemTemplate, destAuthentication: common.UserSession, srcAuthentication: common.UserSession): Promise<common.IItemTemplate>;
26
26
  /**
@@ -28,6 +28,6 @@ export declare function convertItemToTemplate(itemTemplate: common.IItemTemplate
28
28
  *
29
29
  * @param newlyCreatedItem Item to be created; n.b.: this item is modified
30
30
  * @param destinationAuthentication The session used to create the new item(s)
31
- * @return A promise that will resolve with { "success" === true || false }
31
+ * @returns A promise that will resolve with { "success" === true || false }
32
32
  */
33
33
  export declare function fineTuneCreatedItem(newlyCreatedItem: common.IItemTemplate, destinationAuthentication: common.UserSession, templateDictionary: any): Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solution-simple-types",
3
- "version": "1.3.10",
3
+ "version": "1.3.13",
4
4
  "description": "Manages the creation and deployment of simple item types for @esri/solution.js.",
5
5
  "main": "dist/node/index.js",
6
6
  "unpkg": "dist/umd/simple-types.umd.min.js",
@@ -18,9 +18,9 @@
18
18
  "@esri/arcgis-rest-portal": "3.4.3",
19
19
  "@esri/arcgis-rest-request": "3.4.3",
20
20
  "@esri/arcgis-rest-service-admin": "3.4.3",
21
- "@esri/hub-common": "9.15.0",
22
- "@esri/hub-teams": "9.15.0",
23
- "rollup": "^2.60.0"
21
+ "@esri/hub-common": "9.29.0",
22
+ "@esri/hub-teams": "9.29.0",
23
+ "rollup": "2.70.2"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@esri/arcgis-rest-auth": "3.4.3",
@@ -28,15 +28,15 @@
28
28
  "@esri/arcgis-rest-portal": "3.4.3",
29
29
  "@esri/arcgis-rest-request": "3.4.3",
30
30
  "@esri/arcgis-rest-service-admin": "3.4.3",
31
- "@esri/hub-common": "9.15.0",
32
- "@esri/hub-teams": "9.15.0"
31
+ "@esri/hub-common": "9.29.0",
32
+ "@esri/hub-teams": "9.29.0"
33
33
  },
34
34
  "dependencies": {
35
- "@esri/solution-common": "^1.3.10",
36
- "@esri/solution-feature-layer": "^1.3.10",
37
- "@esri/solution-file": "^1.3.10",
38
- "@esri/solution-group": "^1.3.10",
39
- "tslib": "1.13.0"
35
+ "@esri/solution-common": "^1.3.13",
36
+ "@esri/solution-feature-layer": "^1.3.13",
37
+ "@esri/solution-file": "^1.3.13",
38
+ "@esri/solution-group": "^1.3.13",
39
+ "tslib": "1.14.1"
40
40
  },
41
41
  "scripts": {
42
42
  "prepare": "npm run build",
@@ -47,6 +47,7 @@
47
47
  "dev:esm": "tsc -w --module esnext --outDir ./dist/esm --declaration",
48
48
  "dev:umd": "rollup -w -c ../../umd-base-profile.js",
49
49
  "dev:node": "tsc -w --module commonjs --outDir ./dist/node",
50
+ "getupdates": "npm-check-updates --upgrade",
50
51
  "tsc:v": "tsc -v"
51
52
  },
52
53
  "publishConfig": {
@@ -89,5 +90,5 @@
89
90
  "esri",
90
91
  "ES6"
91
92
  ],
92
- "gitHead": "6a645fa3e0674a4425223f57856c002a5ad887fd"
93
+ "gitHead": "ee404319048f8e0323933d69c4eb5bbf33c438ec"
93
94
  }