@esri/solutions-components 0.2.2 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. package/dist/assets/t9n/solution-config-modal/resources.json +22 -0
  2. package/dist/assets/t9n/solution-config-modal/resources_en.json +22 -0
  3. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +18 -401
  4. package/dist/cjs/calcite-action-menu_2.cjs.entry.js.map +1 -1
  5. package/dist/cjs/calcite-action_2.cjs.entry.js +423 -71
  6. package/dist/cjs/calcite-action_2.cjs.entry.js.map +1 -1
  7. package/dist/cjs/calcite-loader.cjs.entry.js +97 -0
  8. package/dist/cjs/calcite-loader.cjs.entry.js.map +1 -0
  9. package/dist/cjs/{solution-configuration.cjs.entry.js → calcite-modal_2.cjs.entry.js} +451 -13
  10. package/dist/cjs/calcite-modal_2.cjs.entry.js.map +1 -0
  11. package/dist/cjs/{calcite-shell-panel_14.cjs.entry.js → calcite-panel_12.cjs.entry.js} +455 -709
  12. package/dist/cjs/calcite-panel_12.cjs.entry.js.map +1 -0
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/cjs/solution-config-modal.cjs.entry.js +131 -0
  15. package/dist/cjs/solution-config-modal.cjs.entry.js.map +1 -0
  16. package/dist/cjs/{solution-contents_3.cjs.entry.js → solution-contents_7.cjs.entry.js} +664 -5
  17. package/dist/cjs/solution-contents_7.cjs.entry.js.map +1 -0
  18. package/dist/cjs/{solution-store-893499a5.js → solution-store-09b3fc53.js} +4 -6
  19. package/dist/cjs/solution-store-09b3fc53.js.map +1 -0
  20. package/dist/cjs/solutions-components.cjs.js +1 -1
  21. package/dist/collection/collection-manifest.json +1 -0
  22. package/dist/collection/components/solution-config-modal/solution-config-modal.css +91 -0
  23. package/dist/collection/components/solution-config-modal/solution-config-modal.js +245 -0
  24. package/dist/collection/components/solution-config-modal/solution-config-modal.js.map +1 -0
  25. package/dist/collection/components/solution-configuration/solution-configuration.js +23 -17
  26. package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -1
  27. package/dist/collection/components/solution-item/solution-item.js +0 -2
  28. package/dist/collection/components/solution-item/solution-item.js.map +1 -1
  29. package/dist/collection/components/solution-item-details/solution-item-details.js +0 -13
  30. package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -1
  31. package/dist/collection/utils/solution-store.js +3 -5
  32. package/dist/collection/utils/solution-store.js.map +1 -1
  33. package/dist/collection/utils/solution-store.ts +3 -5
  34. package/dist/esm/buffer-tools_6.entry.js +2 -2
  35. package/dist/esm/calcite-action-bar_6.entry.js +2 -2
  36. package/dist/esm/calcite-action-menu_2.entry.js +20 -403
  37. package/dist/esm/calcite-action-menu_2.entry.js.map +1 -1
  38. package/dist/esm/calcite-action_2.entry.js +424 -72
  39. package/dist/esm/calcite-action_2.entry.js.map +1 -1
  40. package/dist/esm/calcite-combobox_3.entry.js +2 -2
  41. package/dist/esm/calcite-loader.entry.js +93 -0
  42. package/dist/esm/calcite-loader.entry.js.map +1 -0
  43. package/dist/esm/{solution-configuration.entry.js → calcite-modal_2.entry.js} +453 -16
  44. package/dist/esm/calcite-modal_2.entry.js.map +1 -0
  45. package/dist/esm/{calcite-shell-panel_14.entry.js → calcite-panel_12.entry.js} +454 -706
  46. package/dist/esm/calcite-panel_12.entry.js.map +1 -0
  47. package/dist/esm/config-layer-picker.entry.js +2 -2
  48. package/dist/esm/{interfaces-e2a2064d.js → interfaces-1bdfc3a8.js} +2 -2
  49. package/dist/esm/{interfaces-e2a2064d.js.map → interfaces-1bdfc3a8.js.map} +1 -1
  50. package/dist/esm/loader.js +1 -1
  51. package/dist/esm/{mapViewUtils-09f1e7bd.js → mapViewUtils-809947c8.js} +2 -2
  52. package/dist/esm/{mapViewUtils-09f1e7bd.js.map → mapViewUtils-809947c8.js.map} +1 -1
  53. package/dist/esm/public-notification.entry.js +2 -2
  54. package/dist/esm/solution-config-modal.entry.js +127 -0
  55. package/dist/esm/solution-config-modal.entry.js.map +1 -0
  56. package/dist/esm/{solution-contents_3.entry.js → solution-contents_7.entry.js} +661 -6
  57. package/dist/esm/solution-contents_7.entry.js.map +1 -0
  58. package/dist/esm/{solution-store-0c58c852.js → solution-store-d8519c64.js} +5 -7
  59. package/dist/esm/solution-store-d8519c64.js.map +1 -0
  60. package/dist/esm/solutions-components.js +1 -1
  61. package/dist/solutions-components/{p-be1ed982.entry.js → p-11068040.entry.js} +3 -3
  62. package/dist/solutions-components/{p-be1ed982.entry.js.map → p-11068040.entry.js.map} +0 -0
  63. package/dist/solutions-components/{p-659edb14.js → p-2910dd9e.js} +5 -7
  64. package/dist/{cjs/solution-store-893499a5.js.map → solutions-components/p-2910dd9e.js.map} +1 -1
  65. package/dist/solutions-components/{p-291fd295.entry.js → p-30810b45.entry.js} +3 -3
  66. package/dist/solutions-components/{p-291fd295.entry.js.map → p-30810b45.entry.js.map} +0 -0
  67. package/dist/solutions-components/p-38ddadf2.entry.js +342 -0
  68. package/dist/solutions-components/p-38ddadf2.entry.js.map +1 -0
  69. package/dist/solutions-components/{p-77c75f3a.entry.js → p-5b20090f.entry.js} +661 -6
  70. package/dist/solutions-components/p-5b20090f.entry.js.map +1 -0
  71. package/dist/solutions-components/{p-9393631c.entry.js → p-9ef1328a.entry.js} +3 -3
  72. package/dist/solutions-components/{p-9393631c.entry.js.map → p-9ef1328a.entry.js.map} +0 -0
  73. package/dist/solutions-components/{p-984cb687.entry.js → p-a1786d11.entry.js} +454 -706
  74. package/dist/solutions-components/p-a1786d11.entry.js.map +1 -0
  75. package/dist/solutions-components/{p-fe0fdd8b.js → p-c20bd963.js} +2 -2
  76. package/dist/solutions-components/{p-fe0fdd8b.js.map → p-c20bd963.js.map} +1 -1
  77. package/dist/solutions-components/p-c5721b0f.entry.js +127 -0
  78. package/dist/solutions-components/p-c5721b0f.entry.js.map +1 -0
  79. package/dist/solutions-components/{p-24d75151.entry.js → p-c818e661.entry.js} +3 -3
  80. package/dist/solutions-components/{p-24d75151.entry.js.map → p-c818e661.entry.js.map} +0 -0
  81. package/dist/solutions-components/{p-90629c1d.entry.js → p-cf59eb16.entry.js} +453 -16
  82. package/dist/solutions-components/p-cf59eb16.entry.js.map +1 -0
  83. package/dist/solutions-components/p-e405ebe8.entry.js +93 -0
  84. package/dist/solutions-components/p-e405ebe8.entry.js.map +1 -0
  85. package/dist/solutions-components/{p-77e6b03c.entry.js → p-e6fb9cde.entry.js} +3 -3
  86. package/dist/solutions-components/{p-77e6b03c.entry.js.map → p-e6fb9cde.entry.js.map} +0 -0
  87. package/dist/solutions-components/{p-97c4a268.entry.js → p-ef6f9e24.entry.js} +113 -229
  88. package/dist/solutions-components/p-ef6f9e24.entry.js.map +1 -0
  89. package/dist/solutions-components/{p-6b9dc092.js → p-f04fdb9a.js} +2 -2
  90. package/dist/solutions-components/{p-6b9dc092.js.map → p-f04fdb9a.js.map} +1 -1
  91. package/dist/solutions-components/solutions-components.esm.js +1 -1
  92. package/dist/solutions-components/utils/solution-store.ts +3 -5
  93. package/dist/solutions-components_commit.txt +8 -8
  94. package/dist/types/components/solution-config-modal/solution-config-modal.d.ts +69 -0
  95. package/dist/types/components/solution-configuration/solution-configuration.d.ts +4 -2
  96. package/dist/types/components/solution-item-details/solution-item-details.d.ts +0 -1
  97. package/dist/types/components.d.ts +43 -5
  98. package/dist/types/preact.d.ts +4 -0
  99. package/package.json +1 -1
  100. package/dist/cjs/calcite-modal.cjs.entry.js +0 -449
  101. package/dist/cjs/calcite-modal.cjs.entry.js.map +0 -1
  102. package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -439
  103. package/dist/cjs/calcite-panel_2.cjs.entry.js.map +0 -1
  104. package/dist/cjs/calcite-scrim.cjs.entry.js +0 -64
  105. package/dist/cjs/calcite-scrim.cjs.entry.js.map +0 -1
  106. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +0 -1
  107. package/dist/cjs/solution-configuration.cjs.entry.js.map +0 -1
  108. package/dist/cjs/solution-contents_3.cjs.entry.js.map +0 -1
  109. package/dist/esm/calcite-modal.entry.js +0 -445
  110. package/dist/esm/calcite-modal.entry.js.map +0 -1
  111. package/dist/esm/calcite-panel_2.entry.js +0 -434
  112. package/dist/esm/calcite-panel_2.entry.js.map +0 -1
  113. package/dist/esm/calcite-scrim.entry.js +0 -60
  114. package/dist/esm/calcite-scrim.entry.js.map +0 -1
  115. package/dist/esm/calcite-shell-panel_14.entry.js.map +0 -1
  116. package/dist/esm/solution-configuration.entry.js.map +0 -1
  117. package/dist/esm/solution-contents_3.entry.js.map +0 -1
  118. package/dist/esm/solution-store-0c58c852.js.map +0 -1
  119. package/dist/solutions-components/p-0fda7d9e.entry.js +0 -434
  120. package/dist/solutions-components/p-0fda7d9e.entry.js.map +0 -1
  121. package/dist/solutions-components/p-2ff754ce.entry.js +0 -257
  122. package/dist/solutions-components/p-2ff754ce.entry.js.map +0 -1
  123. package/dist/solutions-components/p-30a6199a.entry.js +0 -445
  124. package/dist/solutions-components/p-30a6199a.entry.js.map +0 -1
  125. package/dist/solutions-components/p-659edb14.js.map +0 -1
  126. package/dist/solutions-components/p-77c75f3a.entry.js.map +0 -1
  127. package/dist/solutions-components/p-90629c1d.entry.js.map +0 -1
  128. package/dist/solutions-components/p-97c4a268.entry.js.map +0 -1
  129. package/dist/solutions-components/p-984cb687.entry.js.map +0 -1
  130. package/dist/solutions-components/p-f5268b4f.entry.js +0 -60
  131. package/dist/solutions-components/p-f5268b4f.entry.js.map +0 -1
@@ -5,9 +5,9 @@
5
5
  */
6
6
  import { r as registerInstance, h, H as Host, g as getElement } from './index-15022d11.js';
7
7
  import { g as getLocaleComponentStrings } from './locale-0e10d7e5.js';
8
- import { g as getMapLayerNames } from './mapViewUtils-09f1e7bd.js';
8
+ import { g as getMapLayerNames } from './mapViewUtils-809947c8.js';
9
9
  import './_commonjsHelpers-8fd39c50.js';
10
- import './interfaces-e2a2064d.js';
10
+ import './interfaces-1bdfc3a8.js';
11
11
 
12
12
  const configLayerPickerCss = ":host{display:block}.label-spacing{--calcite-label-margin-bottom:0}.padding-block-end-1{-webkit-padding-after:1rem;padding-block-end:1rem}.padding-inline-start-1{-webkit-padding-start:1rem;padding-inline-start:1rem}";
13
13
 
@@ -67,6 +67,6 @@ var ESelectionType;
67
67
  ESelectionType["RECT"] = "RECT";
68
68
  })(ESelectionType || (ESelectionType = {}));
69
69
 
70
- export { EWorkflowType as E, EPageType as a, EExportType as b, EUpdateType as c, ESelectionMode as d, ERefineMode as e, ESelectionType as f };
70
+ export { EWorkflowType as E, EPageType as a, EExportType as b, ESelectionMode as c, ERefineMode as d, EUpdateType as e, ESelectionType as f };
71
71
 
72
- //# sourceMappingURL=interfaces-e2a2064d.js.map
72
+ //# sourceMappingURL=interfaces-1bdfc3a8.js.map
@@ -1 +1 @@
1
- {"file":"interfaces-e2a2064d.js","mappings":";;;;;AAAA;;;;;;;;;;;;;;;AAqBA;;;IAGY;AAAZ,WAAY,WAAW;EACrB,2CAAG,CAAA;EACH,iDAAM,CAAA;EACN,iDAAM,CAAA;EACN,6CAAI,CAAA;EACJ,qDAAQ,CAAA;AACV,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;IAEW;AAAZ,WAAY,WAAW;EACrB,2CAAG,CAAA;EACH,2CAAG,CAAA;AACL,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB;IAEW;AAAZ,WAAY,SAAS;EACnB,yCAAI,CAAA;EACJ,6CAAM,CAAA;EACN,6CAAM,CAAA;EACN,uCAAG,CAAA;EACH,uCAAG,CAAA;AACL,CAAC,EANW,SAAS,KAAT,SAAS,QAMpB;IAEW;AAAZ,WAAY,WAAW;EACrB,0BAAS,CAAA;EACT,gCAAe,CAAA;AACjB,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB;IAEW;AAAZ,WAAY,cAAc;EACxB,6BAAS,CAAA;EACT,mCAAe,CAAA;AACjB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;IAEW;AAAZ,WAAY,aAAa;EACvB,kCAAe,CAAA;EACf,kCAAe,CAAA;EACf,kCAAe,CAAA;EACf,kCAAe,CAAA;AACjB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;IAEW;AAAZ,WAAY,cAAc;EACxB,iCAAa,CAAA;EACb,+BAAW,CAAA;EACX,+BAAW,CAAA;EACX,+BAAW,CAAA;AACb,CAAC,EALW,cAAc,KAAd,cAAc;;;;","names":[],"sources":["./src/utils/interfaces.ts"],"sourcesContent":["/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\nimport {\r\n IDeployFileCopyPath,\r\n IItemTemplate\r\n} from '@esri/solution-common';\r\n\r\n/**\r\n * Resource update types\r\n */\r\nexport enum EUpdateType {\r\n Add,\r\n Update,\r\n Remove,\r\n None,\r\n Obsolete\r\n}\r\n\r\nexport enum EExportType {\r\n PDF,\r\n CSV\r\n}\r\n\r\nexport enum EPageType {\r\n LIST,\r\n SELECT,\r\n REFINE,\r\n PDF,\r\n CSV\r\n}\r\n\r\nexport enum ERefineMode {\r\n ALL=\"ALL\",\r\n SUBSET=\"SUBSET\"\r\n}\r\n\r\nexport enum ESelectionMode {\r\n ADD=\"ADD\",\r\n REMOVE=\"REMOVE\"\r\n}\r\n\r\nexport enum EWorkflowType {\r\n SEARCH=\"SEARCH\",\r\n SELECT=\"SELECT\",\r\n SKETCH=\"SKETCH\",\r\n REFINE=\"REFINE\"\r\n}\r\n\r\nexport enum ESelectionType {\r\n POINT=\"POINT\",\r\n LINE=\"LINE\",\r\n POLY=\"POLY\",\r\n RECT=\"RECT\"\r\n}\r\n/* eslint-enable no-unused-vars */\r\n\r\nexport type SelectionMode = \"single\" | \"multi\";\r\n\r\n/**\r\n * Key details from the templates item\r\n */\r\nexport interface IItemDetails {\r\n accessInformation?: string;\r\n description?: string;\r\n licenseInfo?: string;\r\n snippet: string;\r\n tags: string[];\r\n title: string;\r\n [key: string]: any;\r\n}\r\n\r\n/**\r\n * Key details used to show solution contents\r\n */\r\nexport interface IInventoryItem {\r\n id: string;\r\n title: string;\r\n dependencies?: IInventoryItem[];\r\n type: string;\r\n typeKeywords: string[];\r\n}\r\n\r\n/**\r\n * A templates share details\r\n */\r\nexport interface IItemShare {\r\n id: string;\r\n title: string;\r\n isShared: boolean;\r\n shareItem: boolean;\r\n type: string;\r\n typeKeywords: string[];\r\n}\r\n\r\n/**\r\n * Organization based variables the user can insert at runtime\r\n */\r\nexport interface IOrganizationVariableItem {\r\n id: string;\r\n title: string;\r\n value: string;\r\n}\r\n\r\n/**\r\n * Key details for items that support upload/download\r\n */\r\nexport interface IResourceItem {\r\n name: string;\r\n url: string;\r\n}\r\n\r\n/**\r\n * Standardized response type for promises\r\n */\r\nexport interface IResponse {\r\n success: boolean;\r\n message: string;\r\n}\r\n\r\n/**\r\n * Solution configuration details used to display solution contents\r\n */\r\nexport interface ISolutionConfiguration {\r\n contents: IInventoryItem[];\r\n}\r\n\r\n/**\r\n * Details used to display and store information about the item\r\n */\r\nexport interface ISolutionTemplateEdit {\r\n itemId: string;\r\n type: string;\r\n details: IItemDetails;\r\n data: any;\r\n properties: any;\r\n thumbnail: any;\r\n resourceFilePaths: IResourcePath[];\r\n groupDetails?: IItemShare[];\r\n}\r\n\r\nexport interface IItemTemplateEdit extends IItemTemplate {\r\n resourceFilePaths: IResourcePath[];\r\n thumbnail: any;\r\n groupDetails?: IItemShare[];\r\n}\r\n\r\n/**\r\n * A list of solution state info for each template in a solution\r\n */\r\nexport interface ISolutionTemplateEdits {\r\n [templateId: string]: ISolutionTemplateEdit;\r\n}\r\n\r\n//???\r\nexport interface ISolutionModel {\r\n dataModel: monaco.editor.ITextModel;\r\n dataOriginValue: string;\r\n propsModel: monaco.editor.ITextModel;\r\n propsOriginValue: string;\r\n propsDiffOriginValue: string;\r\n state: any;\r\n shareInfo: any;\r\n isEditing: boolean;\r\n itemId: string;\r\n updateItemValues: any;\r\n originalItemValues: any;\r\n name: string;\r\n title: string;\r\n itemOriginValue: string;\r\n spatialReference: any;\r\n resources: string[];\r\n resourceFilePaths: IResourcePath[];\r\n sourceResourceFilePaths: IResourcePath[];\r\n thumbnailOrigin: any;\r\n thumbnailNew: any;\r\n type: string;\r\n}\r\n\r\n/**\r\n * A list of solution models for each template in a solution\r\n */\r\nexport interface ISolutionModels {\r\n [key: string]: ISolutionModel;\r\n}\r\n//???\r\n\r\n/**\r\n * Feature service name and whether the service is enabled for SR configuration\r\n */\r\nexport interface IFeatureServiceEnabledStatus {\r\n name: string;\r\n enabled: boolean;\r\n}\r\n\r\n/**\r\n * Hash of service name: enabled (should it honor the user defined spatial reference)\r\n */\r\nexport interface IServiceInfo {\r\n [key: string]: boolean;\r\n}\r\n\r\n/**\r\n * Key spatial reference information for the solution\r\n */\r\nexport interface ISolutionSpatialReferenceInfo {\r\n enabled: boolean;\r\n services: IServiceInfo;\r\n spatialReference: string | number;\r\n}\r\n\r\n/**\r\n * Key spatial reference information\r\n */\r\nexport interface ISpatialRefRepresentation {\r\n display: string;\r\n usingWkid: boolean;\r\n wkid: number;\r\n wkt: string;\r\n}\r\n\r\n/**\r\n * Stores the data object for a template and indicator if it supports upload/download\r\n */\r\nexport interface ITemplateData {\r\n resourceItem?: IResourceItem;\r\n value?: any;\r\n}\r\n\r\n/**\r\n * Stores updated templates that contain runtime changes from the user\r\n */\r\nexport interface IUpdateTemplateResponse {\r\n templates: any[];\r\n errors: string[];\r\n}\r\n\r\n/**\r\n * Solution template based variables that the user can insert at runtime\r\n */\r\nexport interface IVariableItem {\r\n id: string;\r\n title: string;\r\n type?: string;\r\n value: string;\r\n dependencies?: IVariableItem[];\r\n}\r\n\r\n/**\r\n * WKID label and extent\r\n */\r\nexport interface IWkidDescription {\r\n label: string;\r\n defaultExtent: string;\r\n}\r\n\r\n/**\r\n * Key details to manage resources\r\n */\r\nexport interface IResourcePath extends IDeployFileCopyPath {\r\n blob?: any; // This will only be set when a new file is uploaded (add or update)\r\n sourceFileName?: string; // This will only be set when a file is being updated\r\n updateType: EUpdateType;\r\n}\r\n\r\n/**\r\n * A templates share details\r\n */\r\nexport interface ISearchConfig {\r\n layers: string[];\r\n layerUrl: string;\r\n locators: string[];\r\n locatorUrl: string;\r\n}\r\n\r\nexport interface ISearchResult {\r\n graphics: __esri.Graphic[];\r\n name: string;\r\n}\r\n\r\nexport interface ISelectionSet {\r\n id: number; // Date.Now() when the item is created...used to update a selection set\r\n workflowType: EWorkflowType;\r\n searchResult: any;\r\n buffer: __esri.Geometry;\r\n distance: number;\r\n download: boolean;\r\n unit: __esri.LinearUnits;\r\n label: string;\r\n selectedIds: number[];\r\n layerView: __esri.FeatureLayerView;\r\n geometries: __esri.Geometry[];\r\n refineSelectLayers: __esri.FeatureLayerView[];\r\n refineIds: IRefineIds;\r\n}\r\n\r\nexport interface IRefineIds {\r\n addIds: number[];\r\n removeIds: number[];\r\n}\r\n\r\nexport interface IQueryExtentResponse {\r\n count: number;\r\n extent: __esri.Extent;\r\n}\r\n\r\nexport interface IRefineOperation {\r\n mode: ESelectionMode;\r\n ids: number[];\r\n}\r\n"],"version":3}
1
+ {"file":"interfaces-1bdfc3a8.js","mappings":";;;;;AAAA;;;;;;;;;;;;;;;AAqBA;;;IAGY;AAAZ,WAAY,WAAW;EACrB,2CAAG,CAAA;EACH,iDAAM,CAAA;EACN,iDAAM,CAAA;EACN,6CAAI,CAAA;EACJ,qDAAQ,CAAA;AACV,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;IAEW;AAAZ,WAAY,WAAW;EACrB,2CAAG,CAAA;EACH,2CAAG,CAAA;AACL,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB;IAEW;AAAZ,WAAY,SAAS;EACnB,yCAAI,CAAA;EACJ,6CAAM,CAAA;EACN,6CAAM,CAAA;EACN,uCAAG,CAAA;EACH,uCAAG,CAAA;AACL,CAAC,EANW,SAAS,KAAT,SAAS,QAMpB;IAEW;AAAZ,WAAY,WAAW;EACrB,0BAAS,CAAA;EACT,gCAAe,CAAA;AACjB,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB;IAEW;AAAZ,WAAY,cAAc;EACxB,6BAAS,CAAA;EACT,mCAAe,CAAA;AACjB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;IAEW;AAAZ,WAAY,aAAa;EACvB,kCAAe,CAAA;EACf,kCAAe,CAAA;EACf,kCAAe,CAAA;EACf,kCAAe,CAAA;AACjB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;IAEW;AAAZ,WAAY,cAAc;EACxB,iCAAa,CAAA;EACb,+BAAW,CAAA;EACX,+BAAW,CAAA;EACX,+BAAW,CAAA;AACb,CAAC,EALW,cAAc,KAAd,cAAc;;;;","names":[],"sources":["./src/utils/interfaces.ts"],"sourcesContent":["/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\nimport {\r\n IDeployFileCopyPath,\r\n IItemTemplate\r\n} from '@esri/solution-common';\r\n\r\n/**\r\n * Resource update types\r\n */\r\nexport enum EUpdateType {\r\n Add,\r\n Update,\r\n Remove,\r\n None,\r\n Obsolete\r\n}\r\n\r\nexport enum EExportType {\r\n PDF,\r\n CSV\r\n}\r\n\r\nexport enum EPageType {\r\n LIST,\r\n SELECT,\r\n REFINE,\r\n PDF,\r\n CSV\r\n}\r\n\r\nexport enum ERefineMode {\r\n ALL=\"ALL\",\r\n SUBSET=\"SUBSET\"\r\n}\r\n\r\nexport enum ESelectionMode {\r\n ADD=\"ADD\",\r\n REMOVE=\"REMOVE\"\r\n}\r\n\r\nexport enum EWorkflowType {\r\n SEARCH=\"SEARCH\",\r\n SELECT=\"SELECT\",\r\n SKETCH=\"SKETCH\",\r\n REFINE=\"REFINE\"\r\n}\r\n\r\nexport enum ESelectionType {\r\n POINT=\"POINT\",\r\n LINE=\"LINE\",\r\n POLY=\"POLY\",\r\n RECT=\"RECT\"\r\n}\r\n/* eslint-enable no-unused-vars */\r\n\r\nexport type SelectionMode = \"single\" | \"multi\";\r\n\r\n/**\r\n * Key details from the templates item\r\n */\r\nexport interface IItemDetails {\r\n accessInformation?: string;\r\n description?: string;\r\n licenseInfo?: string;\r\n snippet: string;\r\n tags: string[];\r\n title: string;\r\n [key: string]: any;\r\n}\r\n\r\n/**\r\n * Key details used to show solution contents\r\n */\r\nexport interface IInventoryItem {\r\n id: string;\r\n title: string;\r\n dependencies?: IInventoryItem[];\r\n type: string;\r\n typeKeywords: string[];\r\n}\r\n\r\n/**\r\n * A templates share details\r\n */\r\nexport interface IItemShare {\r\n id: string;\r\n title: string;\r\n isShared: boolean;\r\n shareItem: boolean;\r\n type: string;\r\n typeKeywords: string[];\r\n}\r\n\r\n/**\r\n * Organization based variables the user can insert at runtime\r\n */\r\nexport interface IOrganizationVariableItem {\r\n id: string;\r\n title: string;\r\n value: string;\r\n}\r\n\r\n/**\r\n * Key details for items that support upload/download\r\n */\r\nexport interface IResourceItem {\r\n name: string;\r\n url: string;\r\n}\r\n\r\n/**\r\n * Standardized response type for promises\r\n */\r\nexport interface IResponse {\r\n success: boolean;\r\n message: string;\r\n}\r\n\r\n/**\r\n * Solution configuration details used to display solution contents\r\n */\r\nexport interface ISolutionConfiguration {\r\n contents: IInventoryItem[];\r\n}\r\n\r\n/**\r\n * Details used to display and store information about the item\r\n */\r\nexport interface ISolutionTemplateEdit {\r\n itemId: string;\r\n type: string;\r\n details: IItemDetails;\r\n data: any;\r\n properties: any;\r\n thumbnail: any;\r\n resourceFilePaths: IResourcePath[];\r\n groupDetails?: IItemShare[];\r\n}\r\n\r\nexport interface IItemTemplateEdit extends IItemTemplate {\r\n resourceFilePaths: IResourcePath[];\r\n thumbnail: any;\r\n groupDetails?: IItemShare[];\r\n}\r\n\r\n/**\r\n * A list of solution state info for each template in a solution\r\n */\r\nexport interface ISolutionTemplateEdits {\r\n [templateId: string]: ISolutionTemplateEdit;\r\n}\r\n\r\n//???\r\nexport interface ISolutionModel {\r\n dataModel: monaco.editor.ITextModel;\r\n dataOriginValue: string;\r\n propsModel: monaco.editor.ITextModel;\r\n propsOriginValue: string;\r\n propsDiffOriginValue: string;\r\n state: any;\r\n shareInfo: any;\r\n isEditing: boolean;\r\n itemId: string;\r\n updateItemValues: any;\r\n originalItemValues: any;\r\n name: string;\r\n title: string;\r\n itemOriginValue: string;\r\n spatialReference: any;\r\n resources: string[];\r\n resourceFilePaths: IResourcePath[];\r\n sourceResourceFilePaths: IResourcePath[];\r\n thumbnailOrigin: any;\r\n thumbnailNew: any;\r\n type: string;\r\n}\r\n\r\n/**\r\n * A list of solution models for each template in a solution\r\n */\r\nexport interface ISolutionModels {\r\n [key: string]: ISolutionModel;\r\n}\r\n//???\r\n\r\n/**\r\n * Feature service name and whether the service is enabled for SR configuration\r\n */\r\nexport interface IFeatureServiceEnabledStatus {\r\n name: string;\r\n enabled: boolean;\r\n}\r\n\r\n/**\r\n * Hash of service name: enabled (should it honor the user defined spatial reference)\r\n */\r\nexport interface IServiceInfo {\r\n [key: string]: boolean;\r\n}\r\n\r\n/**\r\n * Key spatial reference information for the solution\r\n */\r\nexport interface ISolutionSpatialReferenceInfo {\r\n enabled: boolean;\r\n services: IServiceInfo;\r\n spatialReference: string | number;\r\n}\r\n\r\n/**\r\n * Key spatial reference information\r\n */\r\nexport interface ISpatialRefRepresentation {\r\n display: string;\r\n usingWkid: boolean;\r\n wkid: number;\r\n wkt: string;\r\n}\r\n\r\n/**\r\n * Stores the data object for a template and indicator if it supports upload/download\r\n */\r\nexport interface ITemplateData {\r\n resourceItem?: IResourceItem;\r\n value?: any;\r\n}\r\n\r\n/**\r\n * Stores updated templates that contain runtime changes from the user\r\n */\r\nexport interface IUpdateTemplateResponse {\r\n templates: any[];\r\n errors: string[];\r\n}\r\n\r\n/**\r\n * Solution template based variables that the user can insert at runtime\r\n */\r\nexport interface IVariableItem {\r\n id: string;\r\n title: string;\r\n type?: string;\r\n value: string;\r\n dependencies?: IVariableItem[];\r\n}\r\n\r\n/**\r\n * WKID label and extent\r\n */\r\nexport interface IWkidDescription {\r\n label: string;\r\n defaultExtent: string;\r\n}\r\n\r\n/**\r\n * Key details to manage resources\r\n */\r\nexport interface IResourcePath extends IDeployFileCopyPath {\r\n blob?: any; // This will only be set when a new file is uploaded (add or update)\r\n sourceFileName?: string; // This will only be set when a file is being updated\r\n updateType: EUpdateType;\r\n}\r\n\r\n/**\r\n * A templates share details\r\n */\r\nexport interface ISearchConfig {\r\n layers: string[];\r\n layerUrl: string;\r\n locators: string[];\r\n locatorUrl: string;\r\n}\r\n\r\nexport interface ISearchResult {\r\n graphics: __esri.Graphic[];\r\n name: string;\r\n}\r\n\r\nexport interface ISelectionSet {\r\n id: number; // Date.Now() when the item is created...used to update a selection set\r\n workflowType: EWorkflowType;\r\n searchResult: any;\r\n buffer: __esri.Geometry;\r\n distance: number;\r\n download: boolean;\r\n unit: __esri.LinearUnits;\r\n label: string;\r\n selectedIds: number[];\r\n layerView: __esri.FeatureLayerView;\r\n geometries: __esri.Geometry[];\r\n refineSelectLayers: __esri.FeatureLayerView[];\r\n refineIds: IRefineIds;\r\n}\r\n\r\nexport interface IRefineIds {\r\n addIds: number[];\r\n removeIds: number[];\r\n}\r\n\r\nexport interface IQueryExtentResponse {\r\n count: number;\r\n extent: __esri.Extent;\r\n}\r\n\r\nexport interface IRefineOperation {\r\n mode: ESelectionMode;\r\n ids: number[];\r\n}\r\n"],"version":3}
@@ -18,7 +18,7 @@ const defineCustomElements = (win, options) => {
18
18
  if (typeof window === 'undefined') return Promise.resolve();
19
19
  return patchEsm().then(() => {
20
20
  globalScripts();
21
- return bootstrapLazy(JSON.parse("[[\"public-notification\",[[0,\"public-notification\",{\"addresseeLayer\":[16],\"mapView\":[16],\"_downloadActive\":[32],\"_numSelected\":[32],\"_pageType\":[32],\"_saveEnabled\":[32],\"_selectionSets\":[32],\"_selectionWorkflowType\":[32],\"_translations\":[32]},[[8,\"selectionSetsChanged\",\"selectionSetsChanged\"]]]]],[\"solution-configuration\",[[0,\"solution-configuration\",{\"authentication\":[1040],\"solutionItemId\":[1537,\"solution-item-id\"],\"showLoading\":[1540,\"show-loading\"],\"_currentEditItemId\":[32],\"_organizationVariables\":[32],\"_solutionContentsComponent\":[32],\"_solutionIsLoaded\":[32],\"_solutionVariables\":[32],\"_templateHierarchy\":[32],\"_translations\":[32],\"_treeOpen\":[32],\"getSpatialReferenceInfo\":[64],\"saveSolution\":[64],\"unloadSolution\":[64]},[[8,\"solutionItemSelected\",\"_solutionItemSelected\"]]]]],[\"calcite-color-picker\",[[1,\"calcite-color-picker\",{\"allowEmpty\":[516,\"allow-empty\"],\"appearance\":[513],\"color\":[1040],\"disabled\":[516],\"format\":[513],\"hideHex\":[516,\"hide-hex\"],\"hideChannels\":[516,\"hide-channels\"],\"hideSaved\":[516,\"hide-saved\"],\"intlB\":[1,\"intl-b\"],\"intlBlue\":[1,\"intl-blue\"],\"intlDeleteColor\":[1,\"intl-delete-color\"],\"intlG\":[1,\"intl-g\"],\"intlGreen\":[1,\"intl-green\"],\"intlH\":[1,\"intl-h\"],\"intlHsv\":[1,\"intl-hsv\"],\"intlHex\":[1,\"intl-hex\"],\"intlHue\":[1,\"intl-hue\"],\"intlNoColor\":[1,\"intl-no-color\"],\"intlR\":[1,\"intl-r\"],\"intlRed\":[1,\"intl-red\"],\"intlRgb\":[1,\"intl-rgb\"],\"intlS\":[1,\"intl-s\"],\"intlSaturation\":[1,\"intl-saturation\"],\"intlSaveColor\":[1,\"intl-save-color\"],\"intlSaved\":[1,\"intl-saved\"],\"intlV\":[1,\"intl-v\"],\"intlValue\":[1,\"intl-value\"],\"scale\":[513],\"storageId\":[513,\"storage-id\"],\"numberingSystem\":[513,\"numbering-system\"],\"value\":[1025],\"colorFieldAndSliderInteractive\":[32],\"channelMode\":[32],\"channels\":[32],\"dimensions\":[32],\"savedColors\":[32],\"colorFieldScopeTop\":[32],\"colorFieldScopeLeft\":[32],\"scopeOrientation\":[32],\"hueScopeLeft\":[32],\"hueScopeTop\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"handleChannelKeyUpOrDown\"],[2,\"keyup\",\"handleChannelKeyUpOrDown\"]]]]],[\"calcite-flow-item\",[[1,\"calcite-flow-item\",{\"closable\":[1540],\"closed\":[1540],\"beforeBack\":[16],\"description\":[1],\"disabled\":[516],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"heightScale\":[513,\"height-scale\"],\"intlBack\":[1,\"intl-back\"],\"intlClose\":[1,\"intl-close\"],\"intlOptions\":[1,\"intl-options\"],\"loading\":[516],\"menuOpen\":[516,\"menu-open\"],\"showBackButton\":[516,\"show-back-button\"],\"widthScale\":[513,\"width-scale\"],\"backButtonEl\":[32],\"setFocus\":[64],\"scrollContentTo\":[64]}]]],[\"calcite-block\",[[1,\"calcite-block\",{\"collapsible\":[516],\"disabled\":[516],\"dragHandle\":[516,\"drag-handle\"],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"intlLoading\":[1,\"intl-loading\"],\"intlOptions\":[1,\"intl-options\"],\"loading\":[516],\"open\":[1540],\"status\":[513],\"summary\":[1],\"description\":[1],\"disablePadding\":[516,\"disable-padding\"]}]]],[\"calcite-input-date-picker\",[[1,\"calcite-input-date-picker\",{\"disabled\":[516],\"readOnly\":[516,\"read-only\"],\"value\":[1025],\"flipPlacements\":[16],\"headingLevel\":[514,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1025],\"max\":[1025],\"active\":[1540],\"open\":[1540],\"name\":[513],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"placement\":[513],\"range\":[516],\"required\":[516],\"start\":[1537],\"end\":[1537],\"overlayPositioning\":[513,\"overlay-positioning\"],\"proximitySelectionDisabled\":[4,\"proximity-selection-disabled\"],\"layout\":[513],\"effectiveLocale\":[32],\"focusedInput\":[32],\"globalAttributes\":[32],\"localeData\":[32],\"setFocus\":[64],\"reposition\":[64]},[[0,\"calciteDatePickerChange\",\"handleDateOrRangeChange\"],[0,\"calciteDatePickerRangeChange\",\"handleDateOrRangeChange\"],[0,\"calciteDaySelect\",\"calciteDaySelectHandler\"]]]]],[\"calcite-input-time-picker\",[[1,\"calcite-input-time-picker\",{\"active\":[1540],\"open\":[1540],\"disabled\":[516],\"readOnly\":[516,\"read-only\"],\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025],\"name\":[1],\"numberingSystem\":[1,\"numbering-system\"],\"required\":[516],\"scale\":[513],\"overlayPositioning\":[1,\"overlay-positioning\"],\"placement\":[513],\"step\":[2],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"reposition\":[64]},[[0,\"click\",\"clickHandler\"],[0,\"calciteInternalTimePickerBlur\",\"timePickerBlurHandler\"],[0,\"calciteInternalTimePickerFocus\",\"timePickerFocusHandler\"]]]]],[\"calcite-action-pad\",[[1,\"calcite-action-pad\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"layout\":[513],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"position\":[513],\"scale\":[513],\"setFocus\":[64]}]]],[\"config-buffer-tools\",[[1,\"config-buffer-tools\",{\"alignment\":[1537],\"distance\":[1538],\"unit\":[1544],\"_translations\":[32],\"getConfigInfo\":[64]}]]],[\"calcite-split-button\",[[1,\"calcite-split-button\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"active\":[1540],\"dropdownIconType\":[513,\"dropdown-icon-type\"],\"dropdownLabel\":[513,\"dropdown-label\"],\"loading\":[516],\"overlayPositioning\":[513,\"overlay-positioning\"],\"primaryIconEnd\":[513,\"primary-icon-end\"],\"primaryIconFlipRtl\":[513,\"primary-icon-flip-rtl\"],\"primaryIconStart\":[513,\"primary-icon-start\"],\"primaryLabel\":[513,\"primary-label\"],\"primaryText\":[513,\"primary-text\"],\"scale\":[513],\"width\":[513]}]]],[\"calcite-card\",[[1,\"calcite-card\",{\"loading\":[516],\"selected\":[1540],\"selectable\":[516],\"intlLoading\":[1,\"intl-loading\"],\"intlSelect\":[1,\"intl-select\"],\"intlDeselect\":[1,\"intl-deselect\"],\"thumbnailPosition\":[513,\"thumbnail-position\"]}]]],[\"calcite-fab\",[[1,\"calcite-fab\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"icon\":[513],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-filter\",[[1,\"calcite-filter\",{\"items\":[1040],\"disabled\":[516],\"filteredItems\":[1040],\"intlClear\":[1,\"intl-clear\"],\"intlLabel\":[1,\"intl-label\"],\"placeholder\":[1],\"scale\":[513],\"value\":[1025],\"setFocus\":[64]}]]],[\"calcite-inline-editable\",[[1,\"calcite-inline-editable\",{\"disabled\":[516],\"editingEnabled\":[1540,\"editing-enabled\"],\"loading\":[1540],\"controls\":[516],\"intlEnableEditing\":[513,\"intl-enable-editing\"],\"intlCancelEditing\":[513,\"intl-cancel-editing\"],\"intlConfirmChanges\":[513,\"intl-confirm-changes\"],\"scale\":[1537],\"afterConfirm\":[16],\"setFocus\":[64]},[[0,\"calciteInternalInputBlur\",\"blurHandler\"]]]]],[\"calcite-modal\",[[1,\"calcite-modal\",{\"active\":[1540],\"open\":[1540],\"beforeClose\":[16],\"disableCloseButton\":[516,\"disable-close-button\"],\"disableOutsideClose\":[516,\"disable-outside-close\"],\"intlClose\":[1,\"intl-close\"],\"docked\":[516],\"disableEscape\":[516,\"disable-escape\"],\"scale\":[513],\"width\":[520],\"fullscreen\":[516],\"color\":[513],\"backgroundColor\":[513,\"background-color\"],\"noPadding\":[516,\"no-padding\"],\"hasFooter\":[32],\"isOpen\":[32],\"focusElement\":[64],\"setFocus\":[64],\"scrollContent\":[64]},[[8,\"keydown\",\"handleEscape\"]]]]],[\"calcite-tile-select\",[[1,\"calcite-tile-select\",{\"checked\":[1540],\"description\":[513],\"disabled\":[516],\"heading\":[513],\"hidden\":[516],\"icon\":[513],\"name\":[520],\"inputEnabled\":[516,\"input-enabled\"],\"inputAlignment\":[513,\"input-alignment\"],\"type\":[513],\"value\":[8],\"width\":[513],\"focused\":[32],\"setFocus\":[64]},[[0,\"calciteCheckboxChange\",\"checkboxChangeHandler\"],[0,\"calciteInternalCheckboxFocus\",\"checkboxFocusBlurHandler\"],[0,\"calciteInternalCheckboxBlur\",\"checkboxFocusBlurHandler\"],[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"],[0,\"calciteInternalRadioButtonCheckedChange\",\"radioButtonCheckedChangeHandler\"],[0,\"calciteInternalRadioButtonFocus\",\"radioButtonFocusBlurHandler\"],[0,\"calciteInternalRadioButtonBlur\",\"radioButtonFocusBlurHandler\"],[0,\"click\",\"click\"],[1,\"pointerenter\",\"mouseenter\"],[1,\"pointerleave\",\"mouseleave\"]]]]],[\"calcite-tip\",[[1,\"calcite-tip\",{\"dismissed\":[1540],\"nonDismissible\":[516,\"non-dismissible\"],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"selected\":[516],\"intlClose\":[1,\"intl-close\"]}]]],[\"calcite-tip-manager\",[[1,\"calcite-tip-manager\",{\"closed\":[1540],\"headingLevel\":[514,\"heading-level\"],\"intlClose\":[1,\"intl-close\"],\"intlDefaultTitle\":[1,\"intl-default-title\"],\"intlNext\":[1,\"intl-next\"],\"intlPaginationLabel\":[1,\"intl-pagination-label\"],\"intlPrevious\":[1,\"intl-previous\"],\"selectedIndex\":[32],\"tips\":[32],\"total\":[32],\"direction\":[32],\"groupTitle\":[32],\"nextTip\":[64],\"previousTip\":[64]}]]],[\"config-draw-tools\",[[1,\"config-draw-tools\",{\"defaultChecked\":[516,\"default-checked\"],\"_translations\":[32],\"getConfigInfo\":[64]}]]],[\"config-layer-picker\",[[1,\"config-layer-picker\",{\"defaultChecked\":[516,\"default-checked\"],\"mapView\":[16],\"_layerNames\":[32],\"_translations\":[32],\"getConfigInfo\":[64]}]]],[\"config-pdf-download\",[[1,\"config-pdf-download\",{\"defaultChecked\":[516,\"default-checked\"],\"_formatOptions\":[32],\"_translations\":[32],\"getConfigInfo\":[64]}]]],[\"calcite-alert\",[[1,\"calcite-alert\",{\"active\":[1540],\"open\":[1540],\"autoDismiss\":[516,\"auto-dismiss\"],\"autoDismissDuration\":[513,\"auto-dismiss-duration\"],\"color\":[513],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"label\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"placement\":[513],\"scale\":[513],\"effectiveLocale\":[32],\"queue\":[32],\"queueLength\":[32],\"queued\":[32],\"requestedIcon\":[32],\"setFocus\":[64]},[[8,\"calciteInternalAlertSync\",\"alertSync\"],[8,\"calciteInternalAlertRegister\",\"alertRegister\"]]]]],[\"calcite-block-section\",[[1,\"calcite-block-section\",{\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"open\":[1540],\"status\":[513],\"text\":[1],\"toggleDisplay\":[513,\"toggle-display\"]}]]],[\"calcite-input-number\",[[1,\"calcite-input-number\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"localeFormat\":[4,\"locale-format\"],\"max\":[514],\"min\":[514],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"numberButtonType\":[513,\"number-button-type\"],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"step\":[520],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"selectText\":[64]}]]],[\"calcite-input-text\",[[1,\"calcite-input-text\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"value\":[1025],\"setFocus\":[64],\"selectText\":[64]}]]],[\"calcite-rating\",[[1,\"calcite-rating\",{\"scale\":[513],\"value\":[1538],\"readOnly\":[516,\"read-only\"],\"disabled\":[516],\"showChip\":[516,\"show-chip\"],\"count\":[514],\"average\":[514],\"name\":[513],\"intlRating\":[1,\"intl-rating\"],\"intlStars\":[1,\"intl-stars\"],\"required\":[516],\"hoverValue\":[32],\"focusValue\":[32],\"hasFocus\":[32],\"setFocus\":[64]},[[0,\"blur\",\"blurHandler\"]]]]],[\"calcite-accordion-item\",[[1,\"calcite-accordion-item\",{\"active\":[1540],\"expanded\":[1540],\"itemTitle\":[1,\"item-title\"],\"itemSubtitle\":[1,\"item-subtitle\"],\"heading\":[1],\"description\":[1],\"icon\":[1537],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"]},[[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteInternalAccordionChange\",\"updateActiveItemOnChange\"]]]]],[\"calcite-avatar\",[[1,\"calcite-avatar\",{\"scale\":[513],\"thumbnail\":[513],\"fullName\":[513,\"full-name\"],\"username\":[513],\"userId\":[513,\"user-id\"],\"thumbnailFailedToLoad\":[32]}]]],[\"calcite-dropdown-item\",[[1,\"calcite-dropdown-item\",{\"active\":[1540],\"selected\":[1540],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"href\":[513],\"label\":[1],\"rel\":[513],\"target\":[513],\"setFocus\":[64]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteInternalDropdownItemChange\",\"updateActiveItemOnChange\"]]]]],[\"calcite-pagination\",[[1,\"calcite-pagination\",{\"groupSeparator\":[516,\"group-separator\"],\"num\":[514],\"numberingSystem\":[1,\"numbering-system\"],\"start\":[1538],\"total\":[514],\"textLabelNext\":[1,\"text-label-next\"],\"textLabelPrevious\":[1,\"text-label-previous\"],\"scale\":[513],\"effectiveLocale\":[32],\"nextPage\":[64],\"previousPage\":[64]}]]],[\"calcite-stepper-item\",[[1,\"calcite-stepper-item\",{\"active\":[1540],\"selected\":[1540],\"complete\":[516],\"error\":[516],\"disabled\":[516],\"itemTitle\":[1,\"item-title\"],\"heading\":[1],\"itemSubtitle\":[1,\"item-subtitle\"],\"description\":[1],\"layout\":[1537],\"icon\":[1028],\"numbered\":[1028],\"scale\":[1537],\"effectiveLocale\":[32],\"setFocus\":[64]},[[16,\"calciteInternalStepperItemChange\",\"updateActiveItemOnChange\"]]]]],[\"calcite-accordion\",[[1,\"calcite-accordion\",{\"appearance\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconType\":[513,\"icon-type\"],\"scale\":[513],\"selectionMode\":[513,\"selection-mode\"]},[[0,\"calciteInternalAccordionItemKeyEvent\",\"calciteInternalAccordionItemKeyEvent\"],[0,\"calciteInternalAccordionItemRegister\",\"registerCalciteAccordionItem\"],[0,\"calciteInternalAccordionItemSelect\",\"updateActiveItemOnChange\"]]]]],[\"calcite-combobox-item-group\",[[1,\"calcite-combobox-item-group\",{\"ancestors\":[1040],\"label\":[1]}]]],[\"calcite-dropdown-group\",[[1,\"calcite-dropdown-group\",{\"groupTitle\":[513,\"group-title\"],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513]},[[0,\"calciteInternalDropdownItemSelect\",\"updateActiveItemOnChange\"]]]]],[\"calcite-flow\",[[1,\"calcite-flow\",{\"flowDirection\":[32],\"itemCount\":[32],\"items\":[32],\"back\":[64]},[[0,\"calciteFlowItemBackClick\",\"handleItemBackClick\"],[0,\"calcitePanelBackClick\",\"handleItemBackClick\"]]]]],[\"calcite-list-item-group\",[[1,\"calcite-list-item-group\",{\"heading\":[513],\"headingLevel\":[514,\"heading-level\"]}]]],[\"calcite-option-group\",[[1,\"calcite-option-group\",{\"disabled\":[516],\"label\":[1]}]]],[\"calcite-pick-list\",[[1,\"calcite-pick-list\",{\"disabled\":[516],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"headingLevel\":[514,\"heading-level\"],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[516,\"selection-follows-focus\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteInternalListItemPropsChange\",\"calciteInternalListItemPropsChangeHandler\"],[0,\"calciteInternalListItemValueChange\",\"calciteInternalListItemValueChangeHandler\"],[0,\"focusout\",\"calciteListFocusOutHandler\"]]]]],[\"calcite-pick-list-group\",[[1,\"calcite-pick-list-group\",{\"groupTitle\":[513,\"group-title\"],\"headingLevel\":[514,\"heading-level\"]}]]],[\"calcite-popover-manager\",[[1,\"calcite-popover-manager\",{\"selector\":[513],\"autoClose\":[516,\"auto-close\"]}]]],[\"calcite-radio-button\",[[1,\"calcite-radio-button\",{\"checked\":[1540],\"disabled\":[516],\"focused\":[1540],\"guid\":[1537],\"hidden\":[516],\"hovered\":[1540],\"label\":[1],\"name\":[513],\"required\":[516],\"scale\":[513],\"value\":[1032],\"setFocus\":[64],\"emitCheckedChange\":[64]},[[1,\"pointerenter\",\"mouseenter\"],[1,\"pointerleave\",\"mouseleave\"]]]]],[\"calcite-radio-button-group\",[[1,\"calcite-radio-button-group\",{\"disabled\":[516],\"hidden\":[516],\"layout\":[513],\"name\":[513],\"required\":[516],\"scale\":[513]},[[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"]]]]],[\"calcite-shell-center-row\",[[1,\"calcite-shell-center-row\",{\"detached\":[516],\"heightScale\":[513,\"height-scale\"],\"position\":[513]}]]],[\"calcite-sortable-list\",[[1,\"calcite-sortable-list\",{\"dragSelector\":[513,\"drag-selector\"],\"group\":[513],\"handleSelector\":[513,\"handle-selector\"],\"layout\":[513],\"disabled\":[516],\"loading\":[516],\"handleActivated\":[32]},[[0,\"calciteHandleNudge\",\"calciteHandleNudgeHandler\"]]]]],[\"calcite-stepper\",[[1,\"calcite-stepper\",{\"icon\":[516],\"layout\":[513],\"numbered\":[516],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"nextStep\":[64],\"prevStep\":[64],\"goToStep\":[64],\"startStep\":[64],\"endStep\":[64]},[[0,\"calciteInternalStepperItemKeyEvent\",\"calciteInternalStepperItemKeyEvent\"],[0,\"calciteInternalStepperItemRegister\",\"registerItem\"],[0,\"calciteInternalStepperItemSelect\",\"updateItem\"],[0,\"calciteInternalUserRequestedStepperItemSelect\",\"handleUserRequestedStepperItemSelect\"]]]]],[\"calcite-tile-select-group\",[[1,\"calcite-tile-select-group\",{\"disabled\":[516],\"layout\":[513]}]]],[\"calcite-tip-group\",[[1,\"calcite-tip-group\",{\"groupTitle\":[1,\"group-title\"]}]]],[\"calcite-tooltip-manager\",[[1,\"calcite-tooltip-manager\",{\"selector\":[513]}]]],[\"map-search\",[[0,\"map-search\",{\"mapView\":[16],\"_searchTerm\":[32],\"_translations\":[32],\"clear\":[64]}]]],[\"store-manager\",[[0,\"store-manager\",{\"value\":[1537],\"templates\":[1040],\"authentication\":[1040]}]]],[\"calcite-color-picker-swatch\",[[1,\"calcite-color-picker-swatch\",{\"active\":[516],\"color\":[1],\"scale\":[513]}]]],[\"calcite-color-picker-hex-input\",[[1,\"calcite-color-picker-hex-input\",{\"allowEmpty\":[4,\"allow-empty\"],\"intlHex\":[1,\"intl-hex\"],\"intlNoColor\":[1,\"intl-no-color\"],\"scale\":[513],\"value\":[1537],\"numberingSystem\":[1,\"numbering-system\"],\"internalColor\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"onInputKeyDown\"]]]]],[\"calcite-date-picker\",[[1,\"calcite-date-picker\",{\"activeRange\":[513,\"active-range\"],\"value\":[1025],\"headingLevel\":[514,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1537],\"max\":[1537],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"range\":[516],\"start\":[1537],\"end\":[1537],\"proximitySelectionDisabled\":[516,\"proximity-selection-disabled\"],\"activeDate\":[32],\"activeStartDate\":[32],\"activeEndDate\":[32],\"globalAttributes\":[32],\"effectiveLocale\":[32],\"localeData\":[32],\"hoverRange\":[32]}]]],[\"calcite-tile\",[[1,\"calcite-tile\",{\"active\":[516],\"description\":[513],\"disabled\":[516],\"embed\":[516],\"focused\":[516],\"heading\":[513],\"hidden\":[516],\"href\":[513],\"icon\":[513]}]]],[\"calcite-handle\",[[1,\"calcite-handle\",{\"activated\":[1540],\"textTitle\":[513,\"text-title\"],\"setFocus\":[64]}]]],[\"calcite-time-picker\",[[1,\"calcite-time-picker\",{\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025],\"scale\":[513],\"step\":[514],\"numberingSystem\":[1,\"numbering-system\"],\"value\":[1025],\"effectiveLocale\":[32],\"hour\":[32],\"hourCycle\":[32],\"localizedHour\":[32],\"localizedHourSuffix\":[32],\"localizedMeridiem\":[32],\"localizedMinute\":[32],\"localizedMinuteSuffix\":[32],\"localizedSecond\":[32],\"localizedSecondSuffix\":[32],\"meridiem\":[32],\"minute\":[32],\"second\":[32],\"showSecond\":[32],\"setFocus\":[64]},[[0,\"blur\",\"hostBlurHandler\"],[0,\"focus\",\"hostFocusHandler\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-dropdown\",[[1,\"calcite-dropdown\",{\"active\":[1540],\"open\":[1540],\"disableCloseOnSelect\":[516,\"disable-close-on-select\"],\"disabled\":[516],\"flipPlacements\":[16],\"maxItems\":[514,\"max-items\"],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"selectedItems\":[1040],\"type\":[513],\"width\":[513],\"reposition\":[64]},[[9,\"pointerdown\",\"closeCalciteDropdownOnClick\"],[0,\"calciteInternalDropdownCloseRequest\",\"closeCalciteDropdownOnEvent\"],[8,\"calciteDropdownOpen\",\"closeCalciteDropdownOnOpenEvent\"],[1,\"pointerenter\",\"mouseEnterHandler\"],[1,\"pointerleave\",\"mouseLeaveHandler\"],[0,\"calciteInternalDropdownItemKeyEvent\",\"calciteInternalDropdownItemKeyEvent\"],[0,\"calciteInternalDropdownItemSelect\",\"handleItemSelect\"]]]]],[\"calcite-link\",[[1,\"calcite-link\",{\"disabled\":[516],\"download\":[520],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"rel\":[1],\"target\":[1],\"setFocus\":[64]},[[0,\"click\",\"clickHandler\"]]]]],[\"calcite-tooltip\",[[1,\"calcite-tooltip\",{\"closeOnClick\":[516,\"close-on-click\"],\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[516],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"effectiveReferenceElement\":[32],\"reposition\":[64]}]]],[\"check-list\",[[1,\"check-list\",{\"defaultChecked\":[516,\"default-checked\"],\"values\":[16],\"getConfigInfo\":[64]}]]],[\"calcite-pick-list-item\",[[1,\"calcite-pick-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[516,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"intlRemove\":[513,\"intl-remove\"],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]}]]],[\"calcite-graph\",[[1,\"calcite-graph\",{\"data\":[16],\"colorStops\":[16],\"highlightMin\":[2,\"highlight-min\"],\"highlightMax\":[2,\"highlight-max\"],\"min\":[514],\"max\":[514]}]]],[\"calcite-switch\",[[1,\"calcite-switch\",{\"disabled\":[516],\"label\":[1],\"name\":[513],\"scale\":[513],\"switched\":[1540],\"checked\":[1540],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-action-group\",[[1,\"calcite-action-group\",{\"expanded\":[516],\"layout\":[513],\"columns\":[514],\"intlMore\":[1,\"intl-more\"],\"menuOpen\":[1540,\"menu-open\"],\"scale\":[513]}]]],[\"calcite-chip\",[[1,\"calcite-chip\",{\"appearance\":[513],\"color\":[513],\"dismissible\":[1540],\"closable\":[1540],\"dismissLabel\":[1,\"dismiss-label\"],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"scale\":[513],\"value\":[8],\"closed\":[1540],\"setFocus\":[64]}]]],[\"calcite-scrim\",[[1,\"calcite-scrim\",{\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516]}]]],[\"calcite-icon\",[[1,\"calcite-icon\",{\"icon\":[513],\"flipRtl\":[516,\"flip-rtl\"],\"scale\":[513],\"textLabel\":[1,\"text-label\"],\"pathData\":[32],\"visible\":[32]}]]],[\"calcite-panel_2\",[[1,\"calcite-shell\",{\"contentBehind\":[516,\"content-behind\"]}],[1,\"calcite-panel\",{\"dismissed\":[1540],\"closed\":[1540],\"beforeBack\":[16],\"disabled\":[516],\"dismissible\":[1540],\"closable\":[1540],\"headingLevel\":[514,\"heading-level\"],\"showBackButton\":[516,\"show-back-button\"],\"intlBack\":[1,\"intl-back\"],\"heightScale\":[513,\"height-scale\"],\"widthScale\":[513,\"width-scale\"],\"loading\":[516],\"intlClose\":[1,\"intl-close\"],\"intlOptions\":[1,\"intl-options\"],\"heading\":[1],\"summary\":[1],\"description\":[1],\"menuOpen\":[516,\"menu-open\"],\"hasStartActions\":[32],\"hasEndActions\":[32],\"hasMenuItems\":[32],\"hasHeaderContent\":[32],\"hasFooterContent\":[32],\"hasFooterActions\":[32],\"hasFab\":[32],\"setFocus\":[64],\"scrollContentTo\":[64]}]]],[\"calcite-button\",[[1,\"calcite-button\",{\"alignment\":[513],\"appearance\":[513],\"label\":[1],\"color\":[513],\"disabled\":[516],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516],\"name\":[513],\"rel\":[513],\"form\":[1],\"round\":[516],\"scale\":[513],\"splitChild\":[520,\"split-child\"],\"target\":[513],\"type\":[1537],\"width\":[513],\"hasContent\":[32],\"hasLoader\":[32],\"setFocus\":[64]}]]],[\"calcite-checkbox\",[[1,\"calcite-checkbox\",{\"checked\":[1540],\"disabled\":[516],\"guid\":[1537],\"hovered\":[1540],\"indeterminate\":[1540],\"label\":[1],\"name\":[520],\"required\":[516],\"scale\":[513],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-label\",[[1,\"calcite-label\",{\"alignment\":[513],\"status\":[513],\"for\":[513],\"scale\":[513],\"layout\":[513],\"disabled\":[516],\"disableSpacing\":[516,\"disable-spacing\"]}]]],[\"calcite-option_2\",[[1,\"calcite-select\",{\"disabled\":[516],\"label\":[1],\"name\":[513],\"required\":[516],\"scale\":[513],\"value\":[1025],\"selectedOption\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteInternalOptionChange\",\"handleOptionOrGroupChange\"],[0,\"calciteInternalOptionGroupChange\",\"handleOptionOrGroupChange\"]]],[1,\"calcite-option\",{\"disabled\":[516],\"label\":[1025],\"selected\":[516],\"value\":[1032]}]]],[\"calcite-tree_3\",[[0,\"solution-item-icon\",{\"isPortal\":[4,\"is-portal\"],\"type\":[1],\"typeKeywords\":[16]}],[1,\"calcite-tree-item\",{\"disabled\":[516],\"selected\":[1540],\"expanded\":[1540],\"parentExpanded\":[4,\"parent-expanded\"],\"depth\":[1538],\"hasChildren\":[1540,\"has-children\"],\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"scale\":[1537],\"indeterminate\":[516],\"selectionMode\":[1537,\"selection-mode\"]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-tree\",{\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"child\":[1540],\"scale\":[1537],\"selectionMode\":[1537,\"selection-mode\"]},[[0,\"focus\",\"onFocus\"],[0,\"focusin\",\"onFocusIn\"],[0,\"focusout\",\"onFocusOut\"],[0,\"calciteInternalTreeItemSelect\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-shell-panel_14\",[[0,\"solution-template-data\",{\"instanceid\":[1537],\"itemId\":[1537,\"item-id\"],\"organizationVariables\":[1537,\"organization-variables\"],\"solutionVariables\":[1537,\"solution-variables\"],\"varsOpen\":[1540,\"vars-open\"],\"_translations\":[32],\"value\":[32]}],[1,\"solution-resource-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"resourceFilePaths\":[32],\"resources\":[32],\"_translations\":[32]}],[0,\"solution-item-details\",{\"itemId\":[1537,\"item-id\"],\"itemDetails\":[32],\"itemEdit\":[32],\"_translations\":[32],\"thumbnail\":[32],\"thumbnailContainer\":[32]},[[0,\"calciteInputInput\",\"inputReceivedHandler\"]]],[1,\"solution-item-sharing\",{\"groupId\":[1537,\"group-id\"],\"_translations\":[32],\"sharing\":[32],\"getShareInfo\":[64]}],[1,\"solution-variables\",{\"value\":[1537],\"_solutionVariables\":[32],\"_translations\":[32]}],[1,\"calcite-value-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[4,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"handleActivated\":[1028,\"handle-activated\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]},[[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"]]],[1,\"solution-organization-variables\",{\"value\":[1537],\"_organizationVariables\":[32],\"_translations\":[32]}],[0,\"json-editor\",{\"hasChanges\":[1540,\"has-changes\"],\"hasErrors\":[1540,\"has-errors\"],\"instanceid\":[1544],\"value\":[1544],\"getEditorContents\":[64],\"prepareForDeletion\":[64],\"replaceCurrentSelection\":[64],\"reset\":[64]}],[1,\"calcite-tab-title\",{\"active\":[1540],\"selected\":[1540],\"disabled\":[516],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"layout\":[1537],\"position\":[1537],\"scale\":[1537],\"bordered\":[1540],\"tab\":[513],\"controls\":[32],\"hasText\":[32],\"getTabIndex\":[64],\"getTabIdentifier\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteInternalTabChange\",\"internalTabChangeHandler\"],[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-shell-panel\",{\"collapsed\":[516],\"detached\":[516],\"detachedHeightScale\":[513,\"detached-height-scale\"],\"widthScale\":[513,\"width-scale\"],\"position\":[513],\"intlResize\":[1,\"intl-resize\"],\"resizable\":[516],\"contentWidth\":[32]}],[1,\"calcite-tab\",{\"tab\":[513],\"active\":[1540],\"selected\":[1540],\"scale\":[1537],\"labeledBy\":[32],\"getTabIndex\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteInternalTabChange\",\"internalTabChangeHandler\"]]],[1,\"calcite-tab-nav\",{\"storageId\":[513,\"storage-id\"],\"syncId\":[513,\"sync-id\"],\"scale\":[1537],\"layout\":[1537],\"position\":[1537],\"bordered\":[1540],\"indicatorOffset\":[1026,\"indicator-offset\"],\"indicatorWidth\":[1026,\"indicator-width\"],\"selectedTab\":[32],\"selectedTabEl\":[32]},[[0,\"calciteInternalTabsFocusPrevious\",\"focusPreviousTabHandler\"],[0,\"calciteInternalTabsFocusNext\",\"focusNextTabHandler\"],[0,\"calciteInternalTabsActivate\",\"internalActivateTabHandler\"],[0,\"calciteTabsActivate\",\"activateTabHandler\"],[0,\"calciteInternalTabTitleRegister\",\"updateTabTitles\"],[16,\"calciteInternalTabChange\",\"globalInternalTabChangeHandler\"],[0,\"calciteInternalTabIconChanged\",\"iconStartChangeHandler\"]]],[1,\"calcite-tabs\",{\"layout\":[513],\"position\":[513],\"scale\":[513],\"bordered\":[1540],\"titles\":[32],\"tabs\":[32]},[[0,\"calciteInternalTabTitleRegister\",\"calciteInternalTabTitleRegister\"],[16,\"calciteTabTitleUnregister\",\"calciteTabTitleUnregister\"],[0,\"calciteInternalTabRegister\",\"calciteInternalTabRegister\"],[16,\"calciteTabUnregister\",\"calciteTabUnregister\"]]],[1,\"calcite-value-list\",{\"disabled\":[516],\"dragEnabled\":[516,\"drag-enabled\"],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"group\":[513],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[516,\"selection-follows-focus\"],\"intlDragHandleIdle\":[1,\"intl-drag-handle-idle\"],\"intlDragHandleActive\":[1,\"intl-drag-handle-active\"],\"intlDragHandleChange\":[1,\"intl-drag-handle-change\"],\"intlDragHandleCommit\":[1,\"intl-drag-handle-commit\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"focusout\",\"calciteListFocusOutHandler\"],[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteInternalListItemPropsChange\",\"calciteInternalListItemPropsChangeHandler\"],[0,\"calciteInternalListItemValueChange\",\"calciteInternalListItemValueChangeHandler\"]]]]],[\"solution-contents_3\",[[0,\"solution-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"solutionVariables\":[1537,\"solution-variables\"],\"organizationVariables\":[1537,\"organization-variables\"],\"itemType\":[32],\"_translations\":[32]}],[0,\"solution-spatial-ref\",{\"defaultWkid\":[1538,\"default-wkid\"],\"locked\":[1540],\"value\":[1537],\"services\":[1040],\"loaded\":[32],\"spatialRef\":[32],\"_srSearchText\":[32],\"_translations\":[32],\"createSpatialRefDisplay\":[64],\"getSpatialRef\":[64],\"wkidToDisplay\":[64]}],[0,\"solution-contents\",{\"selectedItemId\":[1537,\"selected-item-id\"],\"templateHierarchy\":[1040]}]]],[\"calcite-list_2\",[[1,\"calcite-list\",{\"disabled\":[516],\"headingLevel\":[514,\"heading-level\"],\"setFocus\":[64]}],[1,\"calcite-list-item\",{\"nonInteractive\":[516,\"non-interactive\"],\"description\":[1],\"disabled\":[516],\"label\":[1],\"setFocus\":[64]}]]],[\"calcite-date-picker-day_3\",[[1,\"calcite-date-picker-month\",{\"selectedDate\":[16],\"activeDate\":[16],\"startDate\":[16],\"endDate\":[16],\"min\":[16],\"max\":[16],\"scale\":[513],\"localeData\":[16],\"hoverRange\":[16]},[[1,\"pointerout\",\"mouseoutHandler\"]]],[1,\"calcite-date-picker-month-header\",{\"selectedDate\":[16],\"activeDate\":[16],\"headingLevel\":[2,\"heading-level\"],\"min\":[16],\"max\":[16],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"scale\":[513],\"localeData\":[16],\"globalAttributes\":[32],\"nextMonthDate\":[32],\"prevMonthDate\":[32]}],[1,\"calcite-date-picker-day\",{\"day\":[2],\"disabled\":[516],\"currentMonth\":[516,\"current-month\"],\"selected\":[516],\"highlighted\":[516],\"range\":[516],\"startOfRange\":[516,\"start-of-range\"],\"endOfRange\":[516,\"end-of-range\"],\"rangeHover\":[516,\"range-hover\"],\"active\":[516],\"scale\":[513],\"value\":[16]},[[1,\"pointerover\",\"mouseoverHandler\"]]]]],[\"calcite-combobox_3\",[[0,\"map-layer-picker\",{\"layerNames\":[1040],\"mapView\":[16],\"selectedLayers\":[1040],\"selectionMode\":[1537,\"selection-mode\"]}],[1,\"calcite-combobox\",{\"active\":[1540],\"open\":[1540],\"disabled\":[516],\"label\":[1],\"placeholder\":[1],\"placeholderIcon\":[513,\"placeholder-icon\"],\"maxItems\":[514,\"max-items\"],\"name\":[513],\"allowCustomValues\":[516,\"allow-custom-values\"],\"overlayPositioning\":[513,\"overlay-positioning\"],\"required\":[516],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513],\"value\":[1025],\"intlRemoveTag\":[1,\"intl-remove-tag\"],\"flipPlacements\":[16],\"items\":[32],\"groupItems\":[32],\"selectedItems\":[32],\"visibleItems\":[32],\"needsIcon\":[32],\"activeItemIndex\":[32],\"activeChipIndex\":[32],\"activeDescendant\":[32],\"text\":[32],\"reposition\":[64],\"setFocus\":[64]},[[5,\"pointerdown\",\"documentClickHandler\"],[0,\"calciteComboboxItemChange\",\"calciteComboboxItemChangeHandler\"]]],[1,\"calcite-combobox-item\",{\"disabled\":[516],\"selected\":[1540],\"active\":[516],\"ancestors\":[1040],\"guid\":[513],\"icon\":[513],\"textLabel\":[513,\"text-label\"],\"value\":[8],\"constant\":[516],\"filterDisabled\":[516,\"filter-disabled\"],\"toggleSelected\":[64]}]]],[\"buffer-tools_6\",[[1,\"buffer-tools\",{\"appearance\":[1],\"distance\":[2],\"geometries\":[16],\"sliderMax\":[2,\"slider-max\"],\"sliderMin\":[2,\"slider-min\"],\"sliderTicks\":[2,\"slider-ticks\"],\"unionResults\":[4,\"union-results\"],\"unit\":[8],\"_translations\":[32]}],[0,\"map-draw-tools\",{\"active\":[4],\"border\":[4],\"mapView\":[1040],\"pointSymbol\":[1040],\"polylineSymbol\":[1040],\"polygonSymbol\":[1040],\"graphics\":[1040],\"_translations\":[32],\"clear\":[64]}],[1,\"refine-selection-tools\",{\"active\":[4],\"border\":[4],\"graphics\":[1040],\"ids\":[16],\"layerView\":[16],\"layerViews\":[16],\"mapView\":[16],\"mode\":[1],\"refineMode\":[1,\"refine-mode\"],\"useLayerPicker\":[4,\"use-layer-picker\"],\"_selectEnabled\":[32],\"_selectionMode\":[32],\"_translations\":[32],\"reset\":[64],\"clearHighlight\":[64]}],[1,\"calcite-radio-group-item\",{\"checked\":[1540],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"iconPosition\":[513,\"icon-position\"],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"value\":[1032]}],[1,\"calcite-slider\",{\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hasHistogram\":[1540,\"has-histogram\"],\"histogram\":[16],\"histogramStops\":[16],\"labelHandles\":[516,\"label-handles\"],\"labelTicks\":[516,\"label-ticks\"],\"max\":[514],\"maxLabel\":[1,\"max-label\"],\"maxValue\":[1026,\"max-value\"],\"min\":[514],\"minLabel\":[1,\"min-label\"],\"minValue\":[1026,\"min-value\"],\"mirrored\":[516],\"name\":[513],\"numberingSystem\":[1,\"numbering-system\"],\"pageStep\":[514,\"page-step\"],\"precise\":[516],\"required\":[516],\"snap\":[516],\"step\":[514],\"ticks\":[514],\"value\":[1538],\"scale\":[513],\"effectiveLocale\":[32],\"minMaxValueRange\":[32],\"minValueDragRange\":[32],\"maxValueDragRange\":[32],\"tickValues\":[32],\"setFocus\":[64]},[[0,\"keydown\",\"keyDownHandler\"],[1,\"pointerdown\",\"pointerDownHandler\"]]],[1,\"calcite-radio-group\",{\"appearance\":[513],\"disabled\":[516],\"required\":[516],\"layout\":[513],\"name\":[513],\"scale\":[513],\"value\":[1025],\"selectedItem\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteInternalRadioGroupItemChange\",\"handleSelected\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"calcite-action-menu_2\",[[1,\"calcite-action-menu\",{\"expanded\":[516],\"flipPlacements\":[16],\"label\":[1],\"open\":[1540],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"menuButtonEl\":[32],\"activeMenuItemIndex\":[32],\"setFocus\":[64]},[[9,\"pointerdown\",\"closeCalciteActionMenuOnClick\"]]],[1,\"calcite-popover\",{\"autoClose\":[516,\"auto-close\"],\"closeButton\":[516,\"close-button\"],\"dismissible\":[1540],\"closable\":[1540],\"disableFlip\":[516,\"disable-flip\"],\"disablePointer\":[516,\"disable-pointer\"],\"flipPlacements\":[16],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[1540],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"triggerDisabled\":[516,\"trigger-disabled\"],\"intlClose\":[1,\"intl-close\"],\"effectiveReferenceElement\":[32],\"reposition\":[64],\"setFocus\":[64],\"toggle\":[64]}]]],[\"calcite-input_2\",[[1,\"calcite-input\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"localeFormat\":[4,\"locale-format\"],\"max\":[514],\"min\":[514],\"maxlength\":[514],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"numberButtonType\":[513,\"number-button-type\"],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"step\":[520],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"type\":[513],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"selectText\":[64]}],[1,\"calcite-progress\",{\"type\":[513],\"value\":[2],\"label\":[1],\"text\":[1],\"reversed\":[516]}]]],[\"calcite-action_2\",[[1,\"calcite-action\",{\"active\":[516],\"alignment\":[513],\"appearance\":[513],\"compact\":[516],\"disabled\":[516],\"icon\":[1],\"indicator\":[516],\"intlLoading\":[1,\"intl-loading\"],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}],[1,\"calcite-loader\",{\"active\":[516],\"inline\":[516],\"label\":[1],\"scale\":[513],\"type\":[513],\"value\":[2],\"text\":[1],\"noPadding\":[516,\"no-padding\"]}]]],[\"calcite-action-bar_6\",[[4,\"map-select-tools\",{\"mapView\":[16],\"selectLayerView\":[16],\"geometries\":[16],\"selectionSet\":[16],\"isUpdate\":[4,\"is-update\"],\"_searchTerm\":[32],\"_translations\":[32],\"_workflowType\":[32],\"clearSelection\":[64],\"getSelection\":[64]},[[8,\"sketchGraphicsChange\",\"sketchGraphicsChange\"],[8,\"refineSelectionGraphicsChange\",\"refineSelectionGraphicsChange\"]]],[0,\"refine-selection\",{\"addresseeLayer\":[16],\"mapView\":[16],\"selectionSets\":[16],\"_translations\":[32]},[[8,\"refineSelectionIdsChange\",\"refineSelectionIdsChange\"]]],[1,\"calcite-action-bar\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"layout\":[513],\"overflowActionsDisabled\":[516,\"overflow-actions-disabled\"],\"position\":[513],\"scale\":[513],\"overflowActions\":[64],\"setFocus\":[64]}],[1,\"pdf-download\",{\"disabled\":[4],\"layerView\":[16],\"_translations\":[32],\"downloadPDF\":[64],\"downloadCSV\":[64]}],[1,\"calcite-input-message\",{\"active\":[516],\"icon\":[520],\"scale\":[1537],\"status\":[1537],\"type\":[513]}],[1,\"calcite-notice\",{\"active\":[1540],\"open\":[1540],\"color\":[513],\"dismissible\":[516],\"closable\":[516],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"scale\":[513],\"width\":[513],\"setFocus\":[64]}]]]]"), options);
21
+ return bootstrapLazy(JSON.parse("[[\"solution-config-modal\",[[0,\"solution-config-modal\",{\"cacheBreaker\":[1025,\"cache-breaker\"],\"serializedAuthentication\":[1025,\"serialized-authentication\"],\"solutionTitle\":[1025,\"solution-title\"],\"solutionItemId\":[1025,\"solution-item-id\"],\"_canSave\":[32],\"_translations\":[32]}]]],[\"public-notification\",[[0,\"public-notification\",{\"addresseeLayer\":[16],\"mapView\":[16],\"_downloadActive\":[32],\"_numSelected\":[32],\"_pageType\":[32],\"_saveEnabled\":[32],\"_selectionSets\":[32],\"_selectionWorkflowType\":[32],\"_translations\":[32]},[[8,\"selectionSetsChanged\",\"selectionSetsChanged\"]]]]],[\"calcite-color-picker\",[[1,\"calcite-color-picker\",{\"allowEmpty\":[516,\"allow-empty\"],\"appearance\":[513],\"color\":[1040],\"disabled\":[516],\"format\":[513],\"hideHex\":[516,\"hide-hex\"],\"hideChannels\":[516,\"hide-channels\"],\"hideSaved\":[516,\"hide-saved\"],\"intlB\":[1,\"intl-b\"],\"intlBlue\":[1,\"intl-blue\"],\"intlDeleteColor\":[1,\"intl-delete-color\"],\"intlG\":[1,\"intl-g\"],\"intlGreen\":[1,\"intl-green\"],\"intlH\":[1,\"intl-h\"],\"intlHsv\":[1,\"intl-hsv\"],\"intlHex\":[1,\"intl-hex\"],\"intlHue\":[1,\"intl-hue\"],\"intlNoColor\":[1,\"intl-no-color\"],\"intlR\":[1,\"intl-r\"],\"intlRed\":[1,\"intl-red\"],\"intlRgb\":[1,\"intl-rgb\"],\"intlS\":[1,\"intl-s\"],\"intlSaturation\":[1,\"intl-saturation\"],\"intlSaveColor\":[1,\"intl-save-color\"],\"intlSaved\":[1,\"intl-saved\"],\"intlV\":[1,\"intl-v\"],\"intlValue\":[1,\"intl-value\"],\"scale\":[513],\"storageId\":[513,\"storage-id\"],\"numberingSystem\":[513,\"numbering-system\"],\"value\":[1025],\"colorFieldAndSliderInteractive\":[32],\"channelMode\":[32],\"channels\":[32],\"dimensions\":[32],\"savedColors\":[32],\"colorFieldScopeTop\":[32],\"colorFieldScopeLeft\":[32],\"scopeOrientation\":[32],\"hueScopeLeft\":[32],\"hueScopeTop\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"handleChannelKeyUpOrDown\"],[2,\"keyup\",\"handleChannelKeyUpOrDown\"]]]]],[\"calcite-flow-item\",[[1,\"calcite-flow-item\",{\"closable\":[1540],\"closed\":[1540],\"beforeBack\":[16],\"description\":[1],\"disabled\":[516],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"heightScale\":[513,\"height-scale\"],\"intlBack\":[1,\"intl-back\"],\"intlClose\":[1,\"intl-close\"],\"intlOptions\":[1,\"intl-options\"],\"loading\":[516],\"menuOpen\":[516,\"menu-open\"],\"showBackButton\":[516,\"show-back-button\"],\"widthScale\":[513,\"width-scale\"],\"backButtonEl\":[32],\"setFocus\":[64],\"scrollContentTo\":[64]}]]],[\"calcite-block\",[[1,\"calcite-block\",{\"collapsible\":[516],\"disabled\":[516],\"dragHandle\":[516,\"drag-handle\"],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"intlLoading\":[1,\"intl-loading\"],\"intlOptions\":[1,\"intl-options\"],\"loading\":[516],\"open\":[1540],\"status\":[513],\"summary\":[1],\"description\":[1],\"disablePadding\":[516,\"disable-padding\"]}]]],[\"calcite-input-date-picker\",[[1,\"calcite-input-date-picker\",{\"disabled\":[516],\"readOnly\":[516,\"read-only\"],\"value\":[1025],\"flipPlacements\":[16],\"headingLevel\":[514,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1025],\"max\":[1025],\"active\":[1540],\"open\":[1540],\"name\":[513],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"placement\":[513],\"range\":[516],\"required\":[516],\"start\":[1537],\"end\":[1537],\"overlayPositioning\":[513,\"overlay-positioning\"],\"proximitySelectionDisabled\":[4,\"proximity-selection-disabled\"],\"layout\":[513],\"effectiveLocale\":[32],\"focusedInput\":[32],\"globalAttributes\":[32],\"localeData\":[32],\"setFocus\":[64],\"reposition\":[64]},[[0,\"calciteDatePickerChange\",\"handleDateOrRangeChange\"],[0,\"calciteDatePickerRangeChange\",\"handleDateOrRangeChange\"],[0,\"calciteDaySelect\",\"calciteDaySelectHandler\"]]]]],[\"calcite-input-time-picker\",[[1,\"calcite-input-time-picker\",{\"active\":[1540],\"open\":[1540],\"disabled\":[516],\"readOnly\":[516,\"read-only\"],\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025],\"name\":[1],\"numberingSystem\":[1,\"numbering-system\"],\"required\":[516],\"scale\":[513],\"overlayPositioning\":[1,\"overlay-positioning\"],\"placement\":[513],\"step\":[2],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"reposition\":[64]},[[0,\"click\",\"clickHandler\"],[0,\"calciteInternalTimePickerBlur\",\"timePickerBlurHandler\"],[0,\"calciteInternalTimePickerFocus\",\"timePickerFocusHandler\"]]]]],[\"calcite-action-pad\",[[1,\"calcite-action-pad\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"layout\":[513],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"position\":[513],\"scale\":[513],\"setFocus\":[64]}]]],[\"config-buffer-tools\",[[1,\"config-buffer-tools\",{\"alignment\":[1537],\"distance\":[1538],\"unit\":[1544],\"_translations\":[32],\"getConfigInfo\":[64]}]]],[\"calcite-split-button\",[[1,\"calcite-split-button\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"active\":[1540],\"dropdownIconType\":[513,\"dropdown-icon-type\"],\"dropdownLabel\":[513,\"dropdown-label\"],\"loading\":[516],\"overlayPositioning\":[513,\"overlay-positioning\"],\"primaryIconEnd\":[513,\"primary-icon-end\"],\"primaryIconFlipRtl\":[513,\"primary-icon-flip-rtl\"],\"primaryIconStart\":[513,\"primary-icon-start\"],\"primaryLabel\":[513,\"primary-label\"],\"primaryText\":[513,\"primary-text\"],\"scale\":[513],\"width\":[513]}]]],[\"calcite-card\",[[1,\"calcite-card\",{\"loading\":[516],\"selected\":[1540],\"selectable\":[516],\"intlLoading\":[1,\"intl-loading\"],\"intlSelect\":[1,\"intl-select\"],\"intlDeselect\":[1,\"intl-deselect\"],\"thumbnailPosition\":[513,\"thumbnail-position\"]}]]],[\"calcite-fab\",[[1,\"calcite-fab\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"icon\":[513],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-filter\",[[1,\"calcite-filter\",{\"items\":[1040],\"disabled\":[516],\"filteredItems\":[1040],\"intlClear\":[1,\"intl-clear\"],\"intlLabel\":[1,\"intl-label\"],\"placeholder\":[1],\"scale\":[513],\"value\":[1025],\"setFocus\":[64]}]]],[\"calcite-inline-editable\",[[1,\"calcite-inline-editable\",{\"disabled\":[516],\"editingEnabled\":[1540,\"editing-enabled\"],\"loading\":[1540],\"controls\":[516],\"intlEnableEditing\":[513,\"intl-enable-editing\"],\"intlCancelEditing\":[513,\"intl-cancel-editing\"],\"intlConfirmChanges\":[513,\"intl-confirm-changes\"],\"scale\":[1537],\"afterConfirm\":[16],\"setFocus\":[64]},[[0,\"calciteInternalInputBlur\",\"blurHandler\"]]]]],[\"calcite-tile-select\",[[1,\"calcite-tile-select\",{\"checked\":[1540],\"description\":[513],\"disabled\":[516],\"heading\":[513],\"hidden\":[516],\"icon\":[513],\"name\":[520],\"inputEnabled\":[516,\"input-enabled\"],\"inputAlignment\":[513,\"input-alignment\"],\"type\":[513],\"value\":[8],\"width\":[513],\"focused\":[32],\"setFocus\":[64]},[[0,\"calciteCheckboxChange\",\"checkboxChangeHandler\"],[0,\"calciteInternalCheckboxFocus\",\"checkboxFocusBlurHandler\"],[0,\"calciteInternalCheckboxBlur\",\"checkboxFocusBlurHandler\"],[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"],[0,\"calciteInternalRadioButtonCheckedChange\",\"radioButtonCheckedChangeHandler\"],[0,\"calciteInternalRadioButtonFocus\",\"radioButtonFocusBlurHandler\"],[0,\"calciteInternalRadioButtonBlur\",\"radioButtonFocusBlurHandler\"],[0,\"click\",\"click\"],[1,\"pointerenter\",\"mouseenter\"],[1,\"pointerleave\",\"mouseleave\"]]]]],[\"calcite-tip\",[[1,\"calcite-tip\",{\"dismissed\":[1540],\"nonDismissible\":[516,\"non-dismissible\"],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"selected\":[516],\"intlClose\":[1,\"intl-close\"]}]]],[\"calcite-tip-manager\",[[1,\"calcite-tip-manager\",{\"closed\":[1540],\"headingLevel\":[514,\"heading-level\"],\"intlClose\":[1,\"intl-close\"],\"intlDefaultTitle\":[1,\"intl-default-title\"],\"intlNext\":[1,\"intl-next\"],\"intlPaginationLabel\":[1,\"intl-pagination-label\"],\"intlPrevious\":[1,\"intl-previous\"],\"selectedIndex\":[32],\"tips\":[32],\"total\":[32],\"direction\":[32],\"groupTitle\":[32],\"nextTip\":[64],\"previousTip\":[64]}]]],[\"config-draw-tools\",[[1,\"config-draw-tools\",{\"defaultChecked\":[516,\"default-checked\"],\"_translations\":[32],\"getConfigInfo\":[64]}]]],[\"config-layer-picker\",[[1,\"config-layer-picker\",{\"defaultChecked\":[516,\"default-checked\"],\"mapView\":[16],\"_layerNames\":[32],\"_translations\":[32],\"getConfigInfo\":[64]}]]],[\"config-pdf-download\",[[1,\"config-pdf-download\",{\"defaultChecked\":[516,\"default-checked\"],\"_formatOptions\":[32],\"_translations\":[32],\"getConfigInfo\":[64]}]]],[\"calcite-alert\",[[1,\"calcite-alert\",{\"active\":[1540],\"open\":[1540],\"autoDismiss\":[516,\"auto-dismiss\"],\"autoDismissDuration\":[513,\"auto-dismiss-duration\"],\"color\":[513],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"label\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"placement\":[513],\"scale\":[513],\"effectiveLocale\":[32],\"queue\":[32],\"queueLength\":[32],\"queued\":[32],\"requestedIcon\":[32],\"setFocus\":[64]},[[8,\"calciteInternalAlertSync\",\"alertSync\"],[8,\"calciteInternalAlertRegister\",\"alertRegister\"]]]]],[\"calcite-block-section\",[[1,\"calcite-block-section\",{\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"open\":[1540],\"status\":[513],\"text\":[1],\"toggleDisplay\":[513,\"toggle-display\"]}]]],[\"calcite-input-number\",[[1,\"calcite-input-number\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"localeFormat\":[4,\"locale-format\"],\"max\":[514],\"min\":[514],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"numberButtonType\":[513,\"number-button-type\"],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"step\":[520],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"selectText\":[64]}]]],[\"calcite-input-text\",[[1,\"calcite-input-text\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"value\":[1025],\"setFocus\":[64],\"selectText\":[64]}]]],[\"calcite-rating\",[[1,\"calcite-rating\",{\"scale\":[513],\"value\":[1538],\"readOnly\":[516,\"read-only\"],\"disabled\":[516],\"showChip\":[516,\"show-chip\"],\"count\":[514],\"average\":[514],\"name\":[513],\"intlRating\":[1,\"intl-rating\"],\"intlStars\":[1,\"intl-stars\"],\"required\":[516],\"hoverValue\":[32],\"focusValue\":[32],\"hasFocus\":[32],\"setFocus\":[64]},[[0,\"blur\",\"blurHandler\"]]]]],[\"calcite-accordion-item\",[[1,\"calcite-accordion-item\",{\"active\":[1540],\"expanded\":[1540],\"itemTitle\":[1,\"item-title\"],\"itemSubtitle\":[1,\"item-subtitle\"],\"heading\":[1],\"description\":[1],\"icon\":[1537],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"]},[[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteInternalAccordionChange\",\"updateActiveItemOnChange\"]]]]],[\"calcite-avatar\",[[1,\"calcite-avatar\",{\"scale\":[513],\"thumbnail\":[513],\"fullName\":[513,\"full-name\"],\"username\":[513],\"userId\":[513,\"user-id\"],\"thumbnailFailedToLoad\":[32]}]]],[\"calcite-dropdown-item\",[[1,\"calcite-dropdown-item\",{\"active\":[1540],\"selected\":[1540],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"href\":[513],\"label\":[1],\"rel\":[513],\"target\":[513],\"setFocus\":[64]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteInternalDropdownItemChange\",\"updateActiveItemOnChange\"]]]]],[\"calcite-pagination\",[[1,\"calcite-pagination\",{\"groupSeparator\":[516,\"group-separator\"],\"num\":[514],\"numberingSystem\":[1,\"numbering-system\"],\"start\":[1538],\"total\":[514],\"textLabelNext\":[1,\"text-label-next\"],\"textLabelPrevious\":[1,\"text-label-previous\"],\"scale\":[513],\"effectiveLocale\":[32],\"nextPage\":[64],\"previousPage\":[64]}]]],[\"calcite-stepper-item\",[[1,\"calcite-stepper-item\",{\"active\":[1540],\"selected\":[1540],\"complete\":[516],\"error\":[516],\"disabled\":[516],\"itemTitle\":[1,\"item-title\"],\"heading\":[1],\"itemSubtitle\":[1,\"item-subtitle\"],\"description\":[1],\"layout\":[1537],\"icon\":[1028],\"numbered\":[1028],\"scale\":[1537],\"effectiveLocale\":[32],\"setFocus\":[64]},[[16,\"calciteInternalStepperItemChange\",\"updateActiveItemOnChange\"]]]]],[\"calcite-accordion\",[[1,\"calcite-accordion\",{\"appearance\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconType\":[513,\"icon-type\"],\"scale\":[513],\"selectionMode\":[513,\"selection-mode\"]},[[0,\"calciteInternalAccordionItemKeyEvent\",\"calciteInternalAccordionItemKeyEvent\"],[0,\"calciteInternalAccordionItemRegister\",\"registerCalciteAccordionItem\"],[0,\"calciteInternalAccordionItemSelect\",\"updateActiveItemOnChange\"]]]]],[\"calcite-combobox-item-group\",[[1,\"calcite-combobox-item-group\",{\"ancestors\":[1040],\"label\":[1]}]]],[\"calcite-dropdown-group\",[[1,\"calcite-dropdown-group\",{\"groupTitle\":[513,\"group-title\"],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513]},[[0,\"calciteInternalDropdownItemSelect\",\"updateActiveItemOnChange\"]]]]],[\"calcite-flow\",[[1,\"calcite-flow\",{\"flowDirection\":[32],\"itemCount\":[32],\"items\":[32],\"back\":[64]},[[0,\"calciteFlowItemBackClick\",\"handleItemBackClick\"],[0,\"calcitePanelBackClick\",\"handleItemBackClick\"]]]]],[\"calcite-list-item-group\",[[1,\"calcite-list-item-group\",{\"heading\":[513],\"headingLevel\":[514,\"heading-level\"]}]]],[\"calcite-option-group\",[[1,\"calcite-option-group\",{\"disabled\":[516],\"label\":[1]}]]],[\"calcite-pick-list\",[[1,\"calcite-pick-list\",{\"disabled\":[516],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"headingLevel\":[514,\"heading-level\"],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[516,\"selection-follows-focus\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteInternalListItemPropsChange\",\"calciteInternalListItemPropsChangeHandler\"],[0,\"calciteInternalListItemValueChange\",\"calciteInternalListItemValueChangeHandler\"],[0,\"focusout\",\"calciteListFocusOutHandler\"]]]]],[\"calcite-pick-list-group\",[[1,\"calcite-pick-list-group\",{\"groupTitle\":[513,\"group-title\"],\"headingLevel\":[514,\"heading-level\"]}]]],[\"calcite-popover-manager\",[[1,\"calcite-popover-manager\",{\"selector\":[513],\"autoClose\":[516,\"auto-close\"]}]]],[\"calcite-radio-button\",[[1,\"calcite-radio-button\",{\"checked\":[1540],\"disabled\":[516],\"focused\":[1540],\"guid\":[1537],\"hidden\":[516],\"hovered\":[1540],\"label\":[1],\"name\":[513],\"required\":[516],\"scale\":[513],\"value\":[1032],\"setFocus\":[64],\"emitCheckedChange\":[64]},[[1,\"pointerenter\",\"mouseenter\"],[1,\"pointerleave\",\"mouseleave\"]]]]],[\"calcite-radio-button-group\",[[1,\"calcite-radio-button-group\",{\"disabled\":[516],\"hidden\":[516],\"layout\":[513],\"name\":[513],\"required\":[516],\"scale\":[513]},[[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"]]]]],[\"calcite-shell-center-row\",[[1,\"calcite-shell-center-row\",{\"detached\":[516],\"heightScale\":[513,\"height-scale\"],\"position\":[513]}]]],[\"calcite-sortable-list\",[[1,\"calcite-sortable-list\",{\"dragSelector\":[513,\"drag-selector\"],\"group\":[513],\"handleSelector\":[513,\"handle-selector\"],\"layout\":[513],\"disabled\":[516],\"loading\":[516],\"handleActivated\":[32]},[[0,\"calciteHandleNudge\",\"calciteHandleNudgeHandler\"]]]]],[\"calcite-stepper\",[[1,\"calcite-stepper\",{\"icon\":[516],\"layout\":[513],\"numbered\":[516],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"nextStep\":[64],\"prevStep\":[64],\"goToStep\":[64],\"startStep\":[64],\"endStep\":[64]},[[0,\"calciteInternalStepperItemKeyEvent\",\"calciteInternalStepperItemKeyEvent\"],[0,\"calciteInternalStepperItemRegister\",\"registerItem\"],[0,\"calciteInternalStepperItemSelect\",\"updateItem\"],[0,\"calciteInternalUserRequestedStepperItemSelect\",\"handleUserRequestedStepperItemSelect\"]]]]],[\"calcite-tile-select-group\",[[1,\"calcite-tile-select-group\",{\"disabled\":[516],\"layout\":[513]}]]],[\"calcite-tip-group\",[[1,\"calcite-tip-group\",{\"groupTitle\":[1,\"group-title\"]}]]],[\"calcite-tooltip-manager\",[[1,\"calcite-tooltip-manager\",{\"selector\":[513]}]]],[\"map-search\",[[0,\"map-search\",{\"mapView\":[16],\"_searchTerm\":[32],\"_translations\":[32],\"clear\":[64]}]]],[\"store-manager\",[[0,\"store-manager\",{\"value\":[1537],\"templates\":[1040],\"authentication\":[1040]}]]],[\"calcite-color-picker-swatch\",[[1,\"calcite-color-picker-swatch\",{\"active\":[516],\"color\":[1],\"scale\":[513]}]]],[\"calcite-icon\",[[1,\"calcite-icon\",{\"icon\":[513],\"flipRtl\":[516,\"flip-rtl\"],\"scale\":[513],\"textLabel\":[1,\"text-label\"],\"pathData\":[32],\"visible\":[32]}]]],[\"calcite-color-picker-hex-input\",[[1,\"calcite-color-picker-hex-input\",{\"allowEmpty\":[4,\"allow-empty\"],\"intlHex\":[1,\"intl-hex\"],\"intlNoColor\":[1,\"intl-no-color\"],\"scale\":[513],\"value\":[1537],\"numberingSystem\":[1,\"numbering-system\"],\"internalColor\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"onInputKeyDown\"]]]]],[\"calcite-date-picker\",[[1,\"calcite-date-picker\",{\"activeRange\":[513,\"active-range\"],\"value\":[1025],\"headingLevel\":[514,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1537],\"max\":[1537],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"range\":[516],\"start\":[1537],\"end\":[1537],\"proximitySelectionDisabled\":[516,\"proximity-selection-disabled\"],\"activeDate\":[32],\"activeStartDate\":[32],\"activeEndDate\":[32],\"globalAttributes\":[32],\"effectiveLocale\":[32],\"localeData\":[32],\"hoverRange\":[32]}]]],[\"calcite-tile\",[[1,\"calcite-tile\",{\"active\":[516],\"description\":[513],\"disabled\":[516],\"embed\":[516],\"focused\":[516],\"heading\":[513],\"hidden\":[516],\"href\":[513],\"icon\":[513]}]]],[\"calcite-handle\",[[1,\"calcite-handle\",{\"activated\":[1540],\"textTitle\":[513,\"text-title\"],\"setFocus\":[64]}]]],[\"calcite-time-picker\",[[1,\"calcite-time-picker\",{\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025],\"scale\":[513],\"step\":[514],\"numberingSystem\":[1,\"numbering-system\"],\"value\":[1025],\"effectiveLocale\":[32],\"hour\":[32],\"hourCycle\":[32],\"localizedHour\":[32],\"localizedHourSuffix\":[32],\"localizedMeridiem\":[32],\"localizedMinute\":[32],\"localizedMinuteSuffix\":[32],\"localizedSecond\":[32],\"localizedSecondSuffix\":[32],\"meridiem\":[32],\"minute\":[32],\"second\":[32],\"showSecond\":[32],\"setFocus\":[64]},[[0,\"blur\",\"hostBlurHandler\"],[0,\"focus\",\"hostFocusHandler\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-dropdown\",[[1,\"calcite-dropdown\",{\"active\":[1540],\"open\":[1540],\"disableCloseOnSelect\":[516,\"disable-close-on-select\"],\"disabled\":[516],\"flipPlacements\":[16],\"maxItems\":[514,\"max-items\"],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"selectedItems\":[1040],\"type\":[513],\"width\":[513],\"reposition\":[64]},[[9,\"pointerdown\",\"closeCalciteDropdownOnClick\"],[0,\"calciteInternalDropdownCloseRequest\",\"closeCalciteDropdownOnEvent\"],[8,\"calciteDropdownOpen\",\"closeCalciteDropdownOnOpenEvent\"],[1,\"pointerenter\",\"mouseEnterHandler\"],[1,\"pointerleave\",\"mouseLeaveHandler\"],[0,\"calciteInternalDropdownItemKeyEvent\",\"calciteInternalDropdownItemKeyEvent\"],[0,\"calciteInternalDropdownItemSelect\",\"handleItemSelect\"]]]]],[\"calcite-chip\",[[1,\"calcite-chip\",{\"appearance\":[513],\"color\":[513],\"dismissible\":[1540],\"closable\":[1540],\"dismissLabel\":[1,\"dismiss-label\"],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"scale\":[513],\"value\":[8],\"closed\":[1540],\"setFocus\":[64]}]]],[\"calcite-button\",[[1,\"calcite-button\",{\"alignment\":[513],\"appearance\":[513],\"label\":[1],\"color\":[513],\"disabled\":[516],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516],\"name\":[513],\"rel\":[513],\"form\":[1],\"round\":[516],\"scale\":[513],\"splitChild\":[520,\"split-child\"],\"target\":[513],\"type\":[1537],\"width\":[513],\"hasContent\":[32],\"hasLoader\":[32],\"setFocus\":[64]}]]],[\"calcite-checkbox\",[[1,\"calcite-checkbox\",{\"checked\":[1540],\"disabled\":[516],\"guid\":[1537],\"hovered\":[1540],\"indeterminate\":[1540],\"label\":[1],\"name\":[520],\"required\":[516],\"scale\":[513],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-option_2\",[[1,\"calcite-select\",{\"disabled\":[516],\"label\":[1],\"name\":[513],\"required\":[516],\"scale\":[513],\"value\":[1025],\"selectedOption\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteInternalOptionChange\",\"handleOptionOrGroupChange\"],[0,\"calciteInternalOptionGroupChange\",\"handleOptionOrGroupChange\"]]],[1,\"calcite-option\",{\"disabled\":[516],\"label\":[1025],\"selected\":[516],\"value\":[1032]}]]],[\"calcite-label\",[[1,\"calcite-label\",{\"alignment\":[513],\"status\":[513],\"for\":[513],\"scale\":[513],\"layout\":[513],\"disabled\":[516],\"disableSpacing\":[516,\"disable-spacing\"]}]]],[\"calcite-tree_3\",[[0,\"solution-item-icon\",{\"isPortal\":[4,\"is-portal\"],\"type\":[1],\"typeKeywords\":[16]}],[1,\"calcite-tree-item\",{\"disabled\":[516],\"selected\":[1540],\"expanded\":[1540],\"parentExpanded\":[4,\"parent-expanded\"],\"depth\":[1538],\"hasChildren\":[1540,\"has-children\"],\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"scale\":[1537],\"indeterminate\":[516],\"selectionMode\":[1537,\"selection-mode\"]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-tree\",{\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"child\":[1540],\"scale\":[1537],\"selectionMode\":[1537,\"selection-mode\"]},[[0,\"focus\",\"onFocus\"],[0,\"focusin\",\"onFocusIn\"],[0,\"focusout\",\"onFocusOut\"],[0,\"calciteInternalTreeItemSelect\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-modal_2\",[[0,\"solution-configuration\",{\"serializedAuthentication\":[1025,\"serialized-authentication\"],\"solutionItemId\":[1537,\"solution-item-id\"],\"showLoading\":[1540,\"show-loading\"],\"_currentEditItemId\":[32],\"_organizationVariables\":[32],\"_solutionContentsComponent\":[32],\"_solutionIsLoaded\":[32],\"_solutionVariables\":[32],\"_templateHierarchy\":[32],\"_translations\":[32],\"_treeOpen\":[32],\"getSpatialReferenceInfo\":[64],\"saveSolution\":[64],\"unloadSolution\":[64]},[[8,\"solutionItemSelected\",\"_solutionItemSelected\"]]],[1,\"calcite-modal\",{\"active\":[1540],\"open\":[1540],\"beforeClose\":[16],\"disableCloseButton\":[516,\"disable-close-button\"],\"disableOutsideClose\":[516,\"disable-outside-close\"],\"intlClose\":[1,\"intl-close\"],\"docked\":[516],\"disableEscape\":[516,\"disable-escape\"],\"scale\":[513],\"width\":[520],\"fullscreen\":[516],\"color\":[513],\"backgroundColor\":[513,\"background-color\"],\"noPadding\":[516,\"no-padding\"],\"hasFooter\":[32],\"isOpen\":[32],\"focusElement\":[64],\"setFocus\":[64],\"scrollContent\":[64]},[[8,\"keydown\",\"handleEscape\"]]]]],[\"calcite-link\",[[1,\"calcite-link\",{\"disabled\":[516],\"download\":[520],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"rel\":[1],\"target\":[1],\"setFocus\":[64]},[[0,\"click\",\"clickHandler\"]]]]],[\"calcite-tooltip\",[[1,\"calcite-tooltip\",{\"closeOnClick\":[516,\"close-on-click\"],\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[516],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"effectiveReferenceElement\":[32],\"reposition\":[64]}]]],[\"check-list\",[[1,\"check-list\",{\"defaultChecked\":[516,\"default-checked\"],\"values\":[16],\"getConfigInfo\":[64]}]]],[\"calcite-list_2\",[[1,\"calcite-list\",{\"disabled\":[516],\"headingLevel\":[514,\"heading-level\"],\"setFocus\":[64]}],[1,\"calcite-list-item\",{\"nonInteractive\":[516,\"non-interactive\"],\"description\":[1],\"disabled\":[516],\"label\":[1],\"setFocus\":[64]}]]],[\"calcite-graph\",[[1,\"calcite-graph\",{\"data\":[16],\"colorStops\":[16],\"highlightMin\":[2,\"highlight-min\"],\"highlightMax\":[2,\"highlight-max\"],\"min\":[514],\"max\":[514]}]]],[\"calcite-loader\",[[1,\"calcite-loader\",{\"active\":[516],\"inline\":[516],\"label\":[1],\"scale\":[513],\"type\":[513],\"value\":[2],\"text\":[1],\"noPadding\":[516,\"no-padding\"]}]]],[\"calcite-action_2\",[[1,\"calcite-popover\",{\"autoClose\":[516,\"auto-close\"],\"closeButton\":[516,\"close-button\"],\"dismissible\":[1540],\"closable\":[1540],\"disableFlip\":[516,\"disable-flip\"],\"disablePointer\":[516,\"disable-pointer\"],\"flipPlacements\":[16],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[1540],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"triggerDisabled\":[516,\"trigger-disabled\"],\"intlClose\":[1,\"intl-close\"],\"effectiveReferenceElement\":[32],\"reposition\":[64],\"setFocus\":[64],\"toggle\":[64]}],[1,\"calcite-action\",{\"active\":[516],\"alignment\":[513],\"appearance\":[513],\"compact\":[516],\"disabled\":[516],\"icon\":[1],\"indicator\":[516],\"intlLoading\":[1,\"intl-loading\"],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-pick-list-item\",[[1,\"calcite-pick-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[516,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"intlRemove\":[513,\"intl-remove\"],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]}]]],[\"calcite-action-menu_2\",[[1,\"calcite-scrim\",{\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516]}],[1,\"calcite-action-menu\",{\"expanded\":[516],\"flipPlacements\":[16],\"label\":[1],\"open\":[1540],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"menuButtonEl\":[32],\"activeMenuItemIndex\":[32],\"setFocus\":[64]},[[9,\"pointerdown\",\"closeCalciteActionMenuOnClick\"]]]]],[\"calcite-action-group\",[[1,\"calcite-action-group\",{\"expanded\":[516],\"layout\":[513],\"columns\":[514],\"intlMore\":[1,\"intl-more\"],\"menuOpen\":[1540,\"menu-open\"],\"scale\":[513]}]]],[\"calcite-date-picker-day_3\",[[1,\"calcite-date-picker-month\",{\"selectedDate\":[16],\"activeDate\":[16],\"startDate\":[16],\"endDate\":[16],\"min\":[16],\"max\":[16],\"scale\":[513],\"localeData\":[16],\"hoverRange\":[16]},[[1,\"pointerout\",\"mouseoutHandler\"]]],[1,\"calcite-date-picker-month-header\",{\"selectedDate\":[16],\"activeDate\":[16],\"headingLevel\":[2,\"heading-level\"],\"min\":[16],\"max\":[16],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"scale\":[513],\"localeData\":[16],\"globalAttributes\":[32],\"nextMonthDate\":[32],\"prevMonthDate\":[32]}],[1,\"calcite-date-picker-day\",{\"day\":[2],\"disabled\":[516],\"currentMonth\":[516,\"current-month\"],\"selected\":[516],\"highlighted\":[516],\"range\":[516],\"startOfRange\":[516,\"start-of-range\"],\"endOfRange\":[516,\"end-of-range\"],\"rangeHover\":[516,\"range-hover\"],\"active\":[516],\"scale\":[513],\"value\":[16]},[[1,\"pointerover\",\"mouseoverHandler\"]]]]],[\"calcite-combobox_3\",[[0,\"map-layer-picker\",{\"layerNames\":[1040],\"mapView\":[16],\"selectedLayers\":[1040],\"selectionMode\":[1537,\"selection-mode\"]}],[1,\"calcite-combobox\",{\"active\":[1540],\"open\":[1540],\"disabled\":[516],\"label\":[1],\"placeholder\":[1],\"placeholderIcon\":[513,\"placeholder-icon\"],\"maxItems\":[514,\"max-items\"],\"name\":[513],\"allowCustomValues\":[516,\"allow-custom-values\"],\"overlayPositioning\":[513,\"overlay-positioning\"],\"required\":[516],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513],\"value\":[1025],\"intlRemoveTag\":[1,\"intl-remove-tag\"],\"flipPlacements\":[16],\"items\":[32],\"groupItems\":[32],\"selectedItems\":[32],\"visibleItems\":[32],\"needsIcon\":[32],\"activeItemIndex\":[32],\"activeChipIndex\":[32],\"activeDescendant\":[32],\"text\":[32],\"reposition\":[64],\"setFocus\":[64]},[[5,\"pointerdown\",\"documentClickHandler\"],[0,\"calciteComboboxItemChange\",\"calciteComboboxItemChangeHandler\"]]],[1,\"calcite-combobox-item\",{\"disabled\":[516],\"selected\":[1540],\"active\":[516],\"ancestors\":[1040],\"guid\":[513],\"icon\":[513],\"textLabel\":[513,\"text-label\"],\"value\":[8],\"constant\":[516],\"filterDisabled\":[516,\"filter-disabled\"],\"toggleSelected\":[64]}]]],[\"calcite-input_2\",[[1,\"calcite-input\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"localeFormat\":[4,\"locale-format\"],\"max\":[514],\"min\":[514],\"maxlength\":[514],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"numberButtonType\":[513,\"number-button-type\"],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"step\":[520],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"type\":[513],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"selectText\":[64]}],[1,\"calcite-progress\",{\"type\":[513],\"value\":[2],\"label\":[1],\"text\":[1],\"reversed\":[516]}]]],[\"buffer-tools_6\",[[1,\"buffer-tools\",{\"appearance\":[1],\"distance\":[2],\"geometries\":[16],\"sliderMax\":[2,\"slider-max\"],\"sliderMin\":[2,\"slider-min\"],\"sliderTicks\":[2,\"slider-ticks\"],\"unionResults\":[4,\"union-results\"],\"unit\":[8],\"_translations\":[32]}],[0,\"map-draw-tools\",{\"active\":[4],\"border\":[4],\"mapView\":[1040],\"pointSymbol\":[1040],\"polylineSymbol\":[1040],\"polygonSymbol\":[1040],\"graphics\":[1040],\"_translations\":[32],\"clear\":[64]}],[1,\"refine-selection-tools\",{\"active\":[4],\"border\":[4],\"graphics\":[1040],\"ids\":[16],\"layerView\":[16],\"layerViews\":[16],\"mapView\":[16],\"mode\":[1],\"refineMode\":[1,\"refine-mode\"],\"useLayerPicker\":[4,\"use-layer-picker\"],\"_selectEnabled\":[32],\"_selectionMode\":[32],\"_translations\":[32],\"reset\":[64],\"clearHighlight\":[64]}],[1,\"calcite-radio-group-item\",{\"checked\":[1540],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"iconPosition\":[513,\"icon-position\"],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"value\":[1032]}],[1,\"calcite-slider\",{\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hasHistogram\":[1540,\"has-histogram\"],\"histogram\":[16],\"histogramStops\":[16],\"labelHandles\":[516,\"label-handles\"],\"labelTicks\":[516,\"label-ticks\"],\"max\":[514],\"maxLabel\":[1,\"max-label\"],\"maxValue\":[1026,\"max-value\"],\"min\":[514],\"minLabel\":[1,\"min-label\"],\"minValue\":[1026,\"min-value\"],\"mirrored\":[516],\"name\":[513],\"numberingSystem\":[1,\"numbering-system\"],\"pageStep\":[514,\"page-step\"],\"precise\":[516],\"required\":[516],\"snap\":[516],\"step\":[514],\"ticks\":[514],\"value\":[1538],\"scale\":[513],\"effectiveLocale\":[32],\"minMaxValueRange\":[32],\"minValueDragRange\":[32],\"maxValueDragRange\":[32],\"tickValues\":[32],\"setFocus\":[64]},[[0,\"keydown\",\"keyDownHandler\"],[1,\"pointerdown\",\"pointerDownHandler\"]]],[1,\"calcite-radio-group\",{\"appearance\":[513],\"disabled\":[516],\"required\":[516],\"layout\":[513],\"name\":[513],\"scale\":[513],\"value\":[1025],\"selectedItem\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteInternalRadioGroupItemChange\",\"handleSelected\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"calcite-action-bar_6\",[[4,\"map-select-tools\",{\"mapView\":[16],\"selectLayerView\":[16],\"geometries\":[16],\"selectionSet\":[16],\"isUpdate\":[4,\"is-update\"],\"_searchTerm\":[32],\"_translations\":[32],\"_workflowType\":[32],\"clearSelection\":[64],\"getSelection\":[64]},[[8,\"sketchGraphicsChange\",\"sketchGraphicsChange\"],[8,\"refineSelectionGraphicsChange\",\"refineSelectionGraphicsChange\"]]],[0,\"refine-selection\",{\"addresseeLayer\":[16],\"mapView\":[16],\"selectionSets\":[16],\"_translations\":[32]},[[8,\"refineSelectionIdsChange\",\"refineSelectionIdsChange\"]]],[1,\"calcite-action-bar\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"layout\":[513],\"overflowActionsDisabled\":[516,\"overflow-actions-disabled\"],\"position\":[513],\"scale\":[513],\"overflowActions\":[64],\"setFocus\":[64]}],[1,\"pdf-download\",{\"disabled\":[4],\"layerView\":[16],\"_translations\":[32],\"downloadPDF\":[64],\"downloadCSV\":[64]}],[1,\"calcite-input-message\",{\"active\":[516],\"icon\":[520],\"scale\":[1537],\"status\":[1537],\"type\":[513]}],[1,\"calcite-notice\",{\"active\":[1540],\"open\":[1540],\"color\":[513],\"dismissible\":[516],\"closable\":[516],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"scale\":[513],\"width\":[513],\"setFocus\":[64]}]]],[\"calcite-switch\",[[1,\"calcite-switch\",{\"disabled\":[516],\"label\":[1],\"name\":[513],\"scale\":[513],\"switched\":[1540],\"checked\":[1540],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-panel_12\",[[1,\"solution-variables\",{\"value\":[1537],\"_solutionVariables\":[32],\"_translations\":[32]}],[1,\"calcite-value-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[4,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"handleActivated\":[1028,\"handle-activated\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]},[[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"]]],[1,\"solution-organization-variables\",{\"value\":[1537],\"_organizationVariables\":[32],\"_translations\":[32]}],[0,\"json-editor\",{\"hasChanges\":[1540,\"has-changes\"],\"hasErrors\":[1540,\"has-errors\"],\"instanceid\":[1544],\"value\":[1544],\"getEditorContents\":[64],\"prepareForDeletion\":[64],\"replaceCurrentSelection\":[64],\"reset\":[64]}],[1,\"calcite-tab-title\",{\"active\":[1540],\"selected\":[1540],\"disabled\":[516],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"layout\":[1537],\"position\":[1537],\"scale\":[1537],\"bordered\":[1540],\"tab\":[513],\"controls\":[32],\"hasText\":[32],\"getTabIndex\":[64],\"getTabIdentifier\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteInternalTabChange\",\"internalTabChangeHandler\"],[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-shell-panel\",{\"collapsed\":[516],\"detached\":[516],\"detachedHeightScale\":[513,\"detached-height-scale\"],\"widthScale\":[513,\"width-scale\"],\"position\":[513],\"intlResize\":[1,\"intl-resize\"],\"resizable\":[516],\"contentWidth\":[32]}],[1,\"calcite-tab\",{\"tab\":[513],\"active\":[1540],\"selected\":[1540],\"scale\":[1537],\"labeledBy\":[32],\"getTabIndex\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteInternalTabChange\",\"internalTabChangeHandler\"]]],[1,\"calcite-tab-nav\",{\"storageId\":[513,\"storage-id\"],\"syncId\":[513,\"sync-id\"],\"scale\":[1537],\"layout\":[1537],\"position\":[1537],\"bordered\":[1540],\"indicatorOffset\":[1026,\"indicator-offset\"],\"indicatorWidth\":[1026,\"indicator-width\"],\"selectedTab\":[32],\"selectedTabEl\":[32]},[[0,\"calciteInternalTabsFocusPrevious\",\"focusPreviousTabHandler\"],[0,\"calciteInternalTabsFocusNext\",\"focusNextTabHandler\"],[0,\"calciteInternalTabsActivate\",\"internalActivateTabHandler\"],[0,\"calciteTabsActivate\",\"activateTabHandler\"],[0,\"calciteInternalTabTitleRegister\",\"updateTabTitles\"],[16,\"calciteInternalTabChange\",\"globalInternalTabChangeHandler\"],[0,\"calciteInternalTabIconChanged\",\"iconStartChangeHandler\"]]],[1,\"calcite-tabs\",{\"layout\":[513],\"position\":[513],\"scale\":[513],\"bordered\":[1540],\"titles\":[32],\"tabs\":[32]},[[0,\"calciteInternalTabTitleRegister\",\"calciteInternalTabTitleRegister\"],[16,\"calciteTabTitleUnregister\",\"calciteTabTitleUnregister\"],[0,\"calciteInternalTabRegister\",\"calciteInternalTabRegister\"],[16,\"calciteTabUnregister\",\"calciteTabUnregister\"]]],[1,\"calcite-value-list\",{\"disabled\":[516],\"dragEnabled\":[516,\"drag-enabled\"],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"group\":[513],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[516,\"selection-follows-focus\"],\"intlDragHandleIdle\":[1,\"intl-drag-handle-idle\"],\"intlDragHandleActive\":[1,\"intl-drag-handle-active\"],\"intlDragHandleChange\":[1,\"intl-drag-handle-change\"],\"intlDragHandleCommit\":[1,\"intl-drag-handle-commit\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"focusout\",\"calciteListFocusOutHandler\"],[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteInternalListItemPropsChange\",\"calciteInternalListItemPropsChangeHandler\"],[0,\"calciteInternalListItemValueChange\",\"calciteInternalListItemValueChangeHandler\"]]],[1,\"calcite-shell\",{\"contentBehind\":[516,\"content-behind\"]}],[1,\"calcite-panel\",{\"dismissed\":[1540],\"closed\":[1540],\"beforeBack\":[16],\"disabled\":[516],\"dismissible\":[1540],\"closable\":[1540],\"headingLevel\":[514,\"heading-level\"],\"showBackButton\":[516,\"show-back-button\"],\"intlBack\":[1,\"intl-back\"],\"heightScale\":[513,\"height-scale\"],\"widthScale\":[513,\"width-scale\"],\"loading\":[516],\"intlClose\":[1,\"intl-close\"],\"intlOptions\":[1,\"intl-options\"],\"heading\":[1],\"summary\":[1],\"description\":[1],\"menuOpen\":[516,\"menu-open\"],\"hasStartActions\":[32],\"hasEndActions\":[32],\"hasMenuItems\":[32],\"hasHeaderContent\":[32],\"hasFooterContent\":[32],\"hasFooterActions\":[32],\"hasFab\":[32],\"setFocus\":[64],\"scrollContentTo\":[64]}]]],[\"solution-contents_7\",[[0,\"solution-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"solutionVariables\":[1537,\"solution-variables\"],\"organizationVariables\":[1537,\"organization-variables\"],\"itemType\":[32],\"_translations\":[32]}],[0,\"solution-spatial-ref\",{\"defaultWkid\":[1538,\"default-wkid\"],\"locked\":[1540],\"value\":[1537],\"services\":[1040],\"loaded\":[32],\"spatialRef\":[32],\"_srSearchText\":[32],\"_translations\":[32],\"createSpatialRefDisplay\":[64],\"getSpatialRef\":[64],\"wkidToDisplay\":[64]}],[0,\"solution-contents\",{\"selectedItemId\":[1537,\"selected-item-id\"],\"templateHierarchy\":[1040]}],[0,\"solution-template-data\",{\"instanceid\":[1537],\"itemId\":[1537,\"item-id\"],\"organizationVariables\":[1537,\"organization-variables\"],\"solutionVariables\":[1537,\"solution-variables\"],\"varsOpen\":[1540,\"vars-open\"],\"_translations\":[32],\"value\":[32]}],[1,\"solution-resource-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"resourceFilePaths\":[32],\"resources\":[32],\"_translations\":[32]}],[0,\"solution-item-details\",{\"itemId\":[1537,\"item-id\"],\"itemDetails\":[32],\"itemEdit\":[32],\"_translations\":[32],\"thumbnail\":[32],\"thumbnailContainer\":[32]},[[0,\"calciteInputInput\",\"inputReceivedHandler\"]]],[1,\"solution-item-sharing\",{\"groupId\":[1537,\"group-id\"],\"_translations\":[32],\"sharing\":[32],\"getShareInfo\":[64]}]]]]"), options);
22
22
  });
23
23
  };
24
24
 
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import { E as EWorkflowType } from './interfaces-e2a2064d.js';
6
+ import { E as EWorkflowType } from './interfaces-1bdfc3a8.js';
7
7
 
8
8
  /** @license
9
9
  * Copyright 2022 Esri
@@ -281,4 +281,4 @@ async function goToSelection(ids, layerView, mapView, flashFeatures = true) {
281
281
 
282
282
  export { goToSelection as a, getMapLayerView as b, getSelectionSetQuery as c, getQueryGeoms as d, queryFeaturesByID as e, queryFeaturesByGeometry as f, getMapLayerNames as g, highlightFeatures as h, queryObjectIds as q };
283
283
 
284
- //# sourceMappingURL=mapViewUtils-09f1e7bd.js.map
284
+ //# sourceMappingURL=mapViewUtils-809947c8.js.map
@@ -1 +1 @@
1
- {"file":"mapViewUtils-09f1e7bd.js","mappings":"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","names":[],"sources":["./src/utils/queryUtils.ts","./src/utils/mapViewUtils.ts"],"sourcesContent":["/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\nimport { EWorkflowType, ISelectionSet, IQueryExtentResponse } from \"./interfaces\";\r\n\r\n/**\r\n * Query the layer for OIDs based on any user drawn geometries or buffers\r\n *\r\n * @param geometries Array of geometries used for the selection of ids from the layer\r\n * @param layer the layer to retrieve ids from\r\n *\r\n * @returns Promise with the OIDs of features from the layer that interset the provided geometries\r\n */\r\nexport async function queryObjectIds(\r\n geometries: __esri.Geometry[],\r\n layer: __esri.FeatureLayer\r\n): Promise<number[]> {\r\n let ids = [];\r\n const queryDefs = geometries.map(g => _intersectQuery(g, layer))\r\n const results = await Promise.all(queryDefs);\r\n results.forEach(resultIds => {\r\n ids = [\r\n ...ids,\r\n ...resultIds\r\n ]\r\n });\r\n return ids;\r\n}\r\n\r\n/**\r\n * Query the layer for features that have the provided OIDs\r\n *\r\n * @param ids array of ObjectIDs to be used to query for features in a layer\r\n * @param layer the layer to retrieve features from\r\n *\r\n * @returns Promise with the featureSet from the layer that match the provided ids\r\n */\r\n export async function queryFeaturesByID(\r\n ids: number[],\r\n layer: __esri.FeatureLayer\r\n): Promise<__esri.FeatureSet> {\r\n const q = layer.createQuery();\r\n q.outFields = [\"*\"];\r\n q.objectIds = ids;\r\n return layer.queryFeatures(q);\r\n}\r\n\r\n/**\r\n * Query the layer for features that intersect the provided geometry\r\n *\r\n * @param start zero-based index indicating where to begin retrieving features\r\n * @param layer the layer to retrieve features from\r\n * @param geometry the geometry to apply to the spatial filter\r\n * @param featuresCollection\r\n *\r\n * @returns Promise with the featureSet from the layer that match the provided ids\r\n */\r\nexport async function queryFeaturesByGeometry(\r\n start: number,\r\n layer: __esri.FeatureLayer,\r\n geometry: __esri.Geometry,\r\n featuresCollection: {[key: string]: __esri.Graphic[]}\r\n): Promise<{[key: string]: __esri.Graphic[]}> {\r\n const num = layer.capabilities.query.maxRecordCount;\r\n const query = {\r\n start,\r\n num,\r\n outFields: [\"*\"],\r\n returnGeometry: true,\r\n geometry\r\n };\r\n\r\n const result = await layer.queryFeatures(query);\r\n featuresCollection[layer.title] = featuresCollection[layer.title].concat(\r\n result.features\r\n );\r\n\r\n return result.exceededTransferLimit ?\r\n queryFeaturesByGeometry(start += num, layer, geometry, featuresCollection) :\r\n Promise.resolve(featuresCollection);\r\n}\r\n\r\n/**\r\n * Query the layer for the extent of features with the provided OIDs\r\n *\r\n * @param ids array of ObjectIDs to be used to query for features in a layer\r\n * @param layer the layer to query\r\n *\r\n * @returns Promise with the Extent of all features that match the provided ids\r\n */\r\n export async function queryExtent(\r\n ids: number[],\r\n layer: __esri.FeatureLayer\r\n): Promise<IQueryExtentResponse> {\r\n const query = layer.createQuery();\r\n query.objectIds = ids;\r\n return layer.queryExtent(query);\r\n}\r\n\r\n/**\r\n * Union geometries based on geometry type\r\n *\r\n * @param geometries Array of geometries to union\r\n * @param geometryEngine the geometry engine instance to perform the unions\r\n *\r\n * @returns Array of single unioned geometry for each geometry type\r\n */\r\nexport function getQueryGeoms(\r\n geometries: __esri.Geometry[],\r\n geometryEngine: __esri.geometryEngine\r\n): __esri.Geometry[] {\r\n // sort and union by geom type so we have a single geom for each type to query with\r\n return [\r\n ..._unionGeoms(geometries, \"polygon\", geometryEngine),\r\n ..._unionGeoms(geometries, \"polyline\", geometryEngine),\r\n ..._unionGeoms(geometries, \"point\", geometryEngine)\r\n ];\r\n}\r\n\r\n/**\r\n * Get the appropriate ObjectIds query for the provided selection set\r\n *\r\n * @param selectionSet the current selection set to fetch the query for\r\n * @param geometryEngine the geometry engine instance to perform the union of the user drawn graphics or buffers\r\n *\r\n * @returns A promise that will resolve with ids that intersect the selection sets geometries\r\n */\r\nexport function getSelectionSetQuery(\r\n selectionSet: ISelectionSet,\r\n geometryEngine: __esri.geometryEngine\r\n): Promise<number[]> {\r\n let q = Promise.resolve([]);\r\n if (selectionSet.workflowType !== EWorkflowType.REFINE) {\r\n if (!selectionSet.buffer) {\r\n const queryGeoms = getQueryGeoms(\r\n selectionSet.geometries,\r\n geometryEngine\r\n );\r\n q = queryObjectIds(\r\n queryGeoms,\r\n selectionSet.layerView.layer\r\n );\r\n } else {\r\n // buffer is a single unioned geom\r\n q = queryObjectIds(\r\n [selectionSet.buffer],\r\n selectionSet.layerView.layer\r\n );\r\n }\r\n }\r\n return q;\r\n}\r\n\r\n/**\r\n * Union geometries based on geometry type\r\n *\r\n * @param geometries array of geometries to union\r\n * @param type the current geometry type to union\r\n * @param geometryEngine the geometry engine instance to perform the unions\r\n *\r\n * @returns Array of single unioned geometry for the provided geometry type\r\n */\r\n function _unionGeoms(\r\n geometries: __esri.Geometry[],\r\n type: string,\r\n geometryEngine: __esri.geometryEngine\r\n): __esri.Geometry[] {\r\n const geoms = geometries.filter(g => g.type === type);\r\n return geoms.length <= 1 ? geoms : [geometryEngine.union(geoms)];\r\n}\r\n\r\n/**\r\n * Query the layer for ObjectIds of features that intersect the provided geometry\r\n *\r\n * @param geometry Geometry used for the selection of ids from the select layer view\r\n * @param layer the layer to query\r\n *\r\n * @returns Promise that will contain the selected ids\r\n */\r\nasync function _intersectQuery(\r\n geometry: __esri.Geometry,\r\n layer: __esri.FeatureLayer\r\n): Promise<number[]> {\r\n const q = layer.createQuery();\r\n q.spatialRelationship = \"intersects\";\r\n q.geometry = geometry;\r\n return layer.queryObjectIds(q);\r\n}\r\n","/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\nimport { queryExtent } from \"./queryUtils\";\r\n\r\n/**\r\n * Gets the layer names from the current map\r\n * \r\n * @param mapView the map view to fetch the layer names from\r\n *\r\n * @returns Promise resolving with an array of layer names\r\n *\r\n */\r\nexport async function getMapLayerNames(\r\n mapView: __esri.MapView\r\n): Promise<string[]> {\r\n let layerNames = [];\r\n await mapView.when(() => {\r\n layerNames = mapView.map.layers.toArray().map((l) => {\r\n return l.title;\r\n });\r\n });\r\n return layerNames;\r\n}\r\n\r\n/**\r\n * Get a layer view by title\r\n * \r\n * @param mapView the map view to fetch the layer from\r\n * @param title the title if the layer to fetch\r\n *\r\n * @returns Promise resolving with the fetched layer view\r\n *\r\n */\r\nexport async function getMapLayerView(\r\n mapView: __esri.MapView,\r\n title: string\r\n): Promise<__esri.FeatureLayerView> {\r\n const layer = await getMapLayer(mapView, title);\r\n return layer ? await mapView.whenLayerView(layer) : undefined;\r\n}\r\n\r\n/**\r\n * Get a layer by title\r\n * \r\n * @param mapView the map view to fetch the layer from\r\n * @param title the title if the layer to fetch\r\n *\r\n * @returns Promise resolving with the fetched layer\r\n *\r\n */\r\nexport async function getMapLayer(\r\n mapView: __esri.MapView,\r\n title: string\r\n): Promise<__esri.FeatureLayer> {\r\n let layers = [];\r\n await mapView.when(() => {\r\n layers = mapView.map.layers.toArray().filter((l) => {\r\n return l.title === title;\r\n });\r\n });\r\n return layers.length > 0 ? layers[0] : undefined;\r\n}\r\n\r\n/**\r\n * Highlight features by OID\r\n * \r\n * @param ids the OIDs from the layer to highlight\r\n * @param layerView the layer view to highlight\r\n * @param mapView the map view used if updateExtent is true\r\n * @param updateExtent optional (default false) boolean to indicate if we should zoom to the extent\r\n *\r\n * @returns Promise resolving with the highlight handle\r\n *\r\n */\r\nexport async function highlightFeatures(\r\n ids: number[],\r\n layerView: __esri.FeatureLayerView,\r\n mapView: __esri.MapView,\r\n updateExtent = false\r\n): Promise<__esri.Handle> {\r\n if (updateExtent) {\r\n await goToSelection(ids, layerView, mapView, false);\r\n }\r\n return layerView.highlight(ids);\r\n}\r\n\r\n/**\r\n * Flash features by OID\r\n * \r\n * @param ids the OIDs from the layer to highlight\r\n * @param layerView the layer view to highlight\r\n *\r\n * @returns Promise resolving when the operation is complete\r\n *\r\n */\r\nexport async function flashSelection(\r\n ids: number[],\r\n layerView: __esri.FeatureLayerView\r\n): Promise<void> {\r\n const featureFilter = {\r\n objectIds: ids\r\n } as __esri.FeatureFilter;\r\n layerView.featureEffect = {\r\n filter: featureFilter,\r\n includedEffect: \"invert(100%)\",\r\n excludedEffect: \"blur(5px)\"\r\n } as __esri.FeatureEffect;\r\n\r\n setTimeout(() => {\r\n layerView.featureEffect = undefined;\r\n }, 1300);\r\n}\r\n\r\n/**\r\n * Zoom to features based on OID\r\n * \r\n * @param ids the OIDs from the layer to go to\r\n * @param layerView the layer view that contains the OIDs\r\n * @param mapView the map view to show the extent change\r\n * @param flashFeatures optional (default true) boolean to indicate if we should flash the features\r\n * \r\n * @returns Promise resolving when the operation is complete\r\n *\r\n */\r\nexport async function goToSelection(\r\n ids: number[],\r\n layerView: __esri.FeatureLayerView,\r\n mapView: __esri.MapView,\r\n flashFeatures = true\r\n): Promise<void> {\r\n const result = await queryExtent(ids, layerView.layer);\r\n await mapView.goTo(result.extent);\r\n if (flashFeatures) {\r\n await flashSelection(ids, layerView);\r\n }\r\n}\r\n"],"version":3}
1
+ {"file":"mapViewUtils-809947c8.js","mappings":"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","names":[],"sources":["./src/utils/queryUtils.ts","./src/utils/mapViewUtils.ts"],"sourcesContent":["/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\nimport { EWorkflowType, ISelectionSet, IQueryExtentResponse } from \"./interfaces\";\r\n\r\n/**\r\n * Query the layer for OIDs based on any user drawn geometries or buffers\r\n *\r\n * @param geometries Array of geometries used for the selection of ids from the layer\r\n * @param layer the layer to retrieve ids from\r\n *\r\n * @returns Promise with the OIDs of features from the layer that interset the provided geometries\r\n */\r\nexport async function queryObjectIds(\r\n geometries: __esri.Geometry[],\r\n layer: __esri.FeatureLayer\r\n): Promise<number[]> {\r\n let ids = [];\r\n const queryDefs = geometries.map(g => _intersectQuery(g, layer))\r\n const results = await Promise.all(queryDefs);\r\n results.forEach(resultIds => {\r\n ids = [\r\n ...ids,\r\n ...resultIds\r\n ]\r\n });\r\n return ids;\r\n}\r\n\r\n/**\r\n * Query the layer for features that have the provided OIDs\r\n *\r\n * @param ids array of ObjectIDs to be used to query for features in a layer\r\n * @param layer the layer to retrieve features from\r\n *\r\n * @returns Promise with the featureSet from the layer that match the provided ids\r\n */\r\n export async function queryFeaturesByID(\r\n ids: number[],\r\n layer: __esri.FeatureLayer\r\n): Promise<__esri.FeatureSet> {\r\n const q = layer.createQuery();\r\n q.outFields = [\"*\"];\r\n q.objectIds = ids;\r\n return layer.queryFeatures(q);\r\n}\r\n\r\n/**\r\n * Query the layer for features that intersect the provided geometry\r\n *\r\n * @param start zero-based index indicating where to begin retrieving features\r\n * @param layer the layer to retrieve features from\r\n * @param geometry the geometry to apply to the spatial filter\r\n * @param featuresCollection\r\n *\r\n * @returns Promise with the featureSet from the layer that match the provided ids\r\n */\r\nexport async function queryFeaturesByGeometry(\r\n start: number,\r\n layer: __esri.FeatureLayer,\r\n geometry: __esri.Geometry,\r\n featuresCollection: {[key: string]: __esri.Graphic[]}\r\n): Promise<{[key: string]: __esri.Graphic[]}> {\r\n const num = layer.capabilities.query.maxRecordCount;\r\n const query = {\r\n start,\r\n num,\r\n outFields: [\"*\"],\r\n returnGeometry: true,\r\n geometry\r\n };\r\n\r\n const result = await layer.queryFeatures(query);\r\n featuresCollection[layer.title] = featuresCollection[layer.title].concat(\r\n result.features\r\n );\r\n\r\n return result.exceededTransferLimit ?\r\n queryFeaturesByGeometry(start += num, layer, geometry, featuresCollection) :\r\n Promise.resolve(featuresCollection);\r\n}\r\n\r\n/**\r\n * Query the layer for the extent of features with the provided OIDs\r\n *\r\n * @param ids array of ObjectIDs to be used to query for features in a layer\r\n * @param layer the layer to query\r\n *\r\n * @returns Promise with the Extent of all features that match the provided ids\r\n */\r\n export async function queryExtent(\r\n ids: number[],\r\n layer: __esri.FeatureLayer\r\n): Promise<IQueryExtentResponse> {\r\n const query = layer.createQuery();\r\n query.objectIds = ids;\r\n return layer.queryExtent(query);\r\n}\r\n\r\n/**\r\n * Union geometries based on geometry type\r\n *\r\n * @param geometries Array of geometries to union\r\n * @param geometryEngine the geometry engine instance to perform the unions\r\n *\r\n * @returns Array of single unioned geometry for each geometry type\r\n */\r\nexport function getQueryGeoms(\r\n geometries: __esri.Geometry[],\r\n geometryEngine: __esri.geometryEngine\r\n): __esri.Geometry[] {\r\n // sort and union by geom type so we have a single geom for each type to query with\r\n return [\r\n ..._unionGeoms(geometries, \"polygon\", geometryEngine),\r\n ..._unionGeoms(geometries, \"polyline\", geometryEngine),\r\n ..._unionGeoms(geometries, \"point\", geometryEngine)\r\n ];\r\n}\r\n\r\n/**\r\n * Get the appropriate ObjectIds query for the provided selection set\r\n *\r\n * @param selectionSet the current selection set to fetch the query for\r\n * @param geometryEngine the geometry engine instance to perform the union of the user drawn graphics or buffers\r\n *\r\n * @returns A promise that will resolve with ids that intersect the selection sets geometries\r\n */\r\nexport function getSelectionSetQuery(\r\n selectionSet: ISelectionSet,\r\n geometryEngine: __esri.geometryEngine\r\n): Promise<number[]> {\r\n let q = Promise.resolve([]);\r\n if (selectionSet.workflowType !== EWorkflowType.REFINE) {\r\n if (!selectionSet.buffer) {\r\n const queryGeoms = getQueryGeoms(\r\n selectionSet.geometries,\r\n geometryEngine\r\n );\r\n q = queryObjectIds(\r\n queryGeoms,\r\n selectionSet.layerView.layer\r\n );\r\n } else {\r\n // buffer is a single unioned geom\r\n q = queryObjectIds(\r\n [selectionSet.buffer],\r\n selectionSet.layerView.layer\r\n );\r\n }\r\n }\r\n return q;\r\n}\r\n\r\n/**\r\n * Union geometries based on geometry type\r\n *\r\n * @param geometries array of geometries to union\r\n * @param type the current geometry type to union\r\n * @param geometryEngine the geometry engine instance to perform the unions\r\n *\r\n * @returns Array of single unioned geometry for the provided geometry type\r\n */\r\n function _unionGeoms(\r\n geometries: __esri.Geometry[],\r\n type: string,\r\n geometryEngine: __esri.geometryEngine\r\n): __esri.Geometry[] {\r\n const geoms = geometries.filter(g => g.type === type);\r\n return geoms.length <= 1 ? geoms : [geometryEngine.union(geoms)];\r\n}\r\n\r\n/**\r\n * Query the layer for ObjectIds of features that intersect the provided geometry\r\n *\r\n * @param geometry Geometry used for the selection of ids from the select layer view\r\n * @param layer the layer to query\r\n *\r\n * @returns Promise that will contain the selected ids\r\n */\r\nasync function _intersectQuery(\r\n geometry: __esri.Geometry,\r\n layer: __esri.FeatureLayer\r\n): Promise<number[]> {\r\n const q = layer.createQuery();\r\n q.spatialRelationship = \"intersects\";\r\n q.geometry = geometry;\r\n return layer.queryObjectIds(q);\r\n}\r\n","/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\nimport { queryExtent } from \"./queryUtils\";\r\n\r\n/**\r\n * Gets the layer names from the current map\r\n * \r\n * @param mapView the map view to fetch the layer names from\r\n *\r\n * @returns Promise resolving with an array of layer names\r\n *\r\n */\r\nexport async function getMapLayerNames(\r\n mapView: __esri.MapView\r\n): Promise<string[]> {\r\n let layerNames = [];\r\n await mapView.when(() => {\r\n layerNames = mapView.map.layers.toArray().map((l) => {\r\n return l.title;\r\n });\r\n });\r\n return layerNames;\r\n}\r\n\r\n/**\r\n * Get a layer view by title\r\n * \r\n * @param mapView the map view to fetch the layer from\r\n * @param title the title if the layer to fetch\r\n *\r\n * @returns Promise resolving with the fetched layer view\r\n *\r\n */\r\nexport async function getMapLayerView(\r\n mapView: __esri.MapView,\r\n title: string\r\n): Promise<__esri.FeatureLayerView> {\r\n const layer = await getMapLayer(mapView, title);\r\n return layer ? await mapView.whenLayerView(layer) : undefined;\r\n}\r\n\r\n/**\r\n * Get a layer by title\r\n * \r\n * @param mapView the map view to fetch the layer from\r\n * @param title the title if the layer to fetch\r\n *\r\n * @returns Promise resolving with the fetched layer\r\n *\r\n */\r\nexport async function getMapLayer(\r\n mapView: __esri.MapView,\r\n title: string\r\n): Promise<__esri.FeatureLayer> {\r\n let layers = [];\r\n await mapView.when(() => {\r\n layers = mapView.map.layers.toArray().filter((l) => {\r\n return l.title === title;\r\n });\r\n });\r\n return layers.length > 0 ? layers[0] : undefined;\r\n}\r\n\r\n/**\r\n * Highlight features by OID\r\n * \r\n * @param ids the OIDs from the layer to highlight\r\n * @param layerView the layer view to highlight\r\n * @param mapView the map view used if updateExtent is true\r\n * @param updateExtent optional (default false) boolean to indicate if we should zoom to the extent\r\n *\r\n * @returns Promise resolving with the highlight handle\r\n *\r\n */\r\nexport async function highlightFeatures(\r\n ids: number[],\r\n layerView: __esri.FeatureLayerView,\r\n mapView: __esri.MapView,\r\n updateExtent = false\r\n): Promise<__esri.Handle> {\r\n if (updateExtent) {\r\n await goToSelection(ids, layerView, mapView, false);\r\n }\r\n return layerView.highlight(ids);\r\n}\r\n\r\n/**\r\n * Flash features by OID\r\n * \r\n * @param ids the OIDs from the layer to highlight\r\n * @param layerView the layer view to highlight\r\n *\r\n * @returns Promise resolving when the operation is complete\r\n *\r\n */\r\nexport async function flashSelection(\r\n ids: number[],\r\n layerView: __esri.FeatureLayerView\r\n): Promise<void> {\r\n const featureFilter = {\r\n objectIds: ids\r\n } as __esri.FeatureFilter;\r\n layerView.featureEffect = {\r\n filter: featureFilter,\r\n includedEffect: \"invert(100%)\",\r\n excludedEffect: \"blur(5px)\"\r\n } as __esri.FeatureEffect;\r\n\r\n setTimeout(() => {\r\n layerView.featureEffect = undefined;\r\n }, 1300);\r\n}\r\n\r\n/**\r\n * Zoom to features based on OID\r\n * \r\n * @param ids the OIDs from the layer to go to\r\n * @param layerView the layer view that contains the OIDs\r\n * @param mapView the map view to show the extent change\r\n * @param flashFeatures optional (default true) boolean to indicate if we should flash the features\r\n * \r\n * @returns Promise resolving when the operation is complete\r\n *\r\n */\r\nexport async function goToSelection(\r\n ids: number[],\r\n layerView: __esri.FeatureLayerView,\r\n mapView: __esri.MapView,\r\n flashFeatures = true\r\n): Promise<void> {\r\n const result = await queryExtent(ids, layerView.layer);\r\n await mapView.goTo(result.extent);\r\n if (flashFeatures) {\r\n await flashSelection(ids, layerView);\r\n }\r\n}\r\n"],"version":3}
@@ -5,8 +5,8 @@
5
5
  */
6
6
  import { r as registerInstance, h, H as Host, g as getElement } from './index-15022d11.js';
7
7
  import { l as loadModules } from './loadModules-d3b50f95.js';
8
- import { a as EPageType, E as EWorkflowType, b as EExportType } from './interfaces-e2a2064d.js';
9
- import { a as goToSelection, b as getMapLayerView, c as getSelectionSetQuery, h as highlightFeatures } from './mapViewUtils-09f1e7bd.js';
8
+ import { a as EPageType, E as EWorkflowType, b as EExportType } from './interfaces-1bdfc3a8.js';
9
+ import { a as goToSelection, b as getMapLayerView, c as getSelectionSetQuery, h as highlightFeatures } from './mapViewUtils-809947c8.js';
10
10
  import { s as state } from './publicNotificationStore-060c59c8.js';
11
11
  import { g as getLocaleComponentStrings } from './locale-0e10d7e5.js';
12
12
  import { g as getTotal, a as getSelectionIds } from './publicNotificationUtils-5cb5a607.js';
@@ -0,0 +1,127 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-15022d11.js';
7
+ import { g as getLocaleComponentStrings } from './locale-0e10d7e5.js';
8
+ import './_commonjsHelpers-8fd39c50.js';
9
+
10
+ const solutionConfigModalCss = ".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%}.config-solution{position:absolute;top:3.5rem;right:-1px;bottom:-1px;left:-1px;display:flex;padding:0.5rem}.config-inventory{display:inline;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-inventory-hide{display:none;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-item{position:relative;display:inline;flex-grow:1;overflow-y:auto;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}solution-contents{position:relative;height:100%}solution-item{position:relative;height:100%}solution-spatial-ref{position:relative;height:100%;width:100%;overflow-y:auto}";
11
+
12
+ const SolutionConfigModal = class {
13
+ //--------------------------------------------------------------------------
14
+ //
15
+ // Lifecycle
16
+ //
17
+ //--------------------------------------------------------------------------
18
+ constructor(hostRef) {
19
+ registerInstance(this, hostRef);
20
+ this.solutionConfigModalClosed = createEvent(this, "solutionConfigModalClosed", 7);
21
+ this.cacheBreaker = undefined;
22
+ this.serializedAuthentication = "";
23
+ this.solutionTitle = "";
24
+ this.solutionItemId = undefined;
25
+ this._canSave = false;
26
+ this._translations = undefined;
27
+ //console.log("MODAL constructor " + this.solutionItemId);//??? + " open:" + this._modalIsOpen);//???
28
+ window.addEventListener("solutionCanSave", (evt) => {
29
+ this._canSave = evt.detail;
30
+ });
31
+ }
32
+ async valueWatchHandler() {
33
+ console.log("MODAL watch " + this.solutionItemId); //???
34
+ }
35
+ /**
36
+ * StencilJS: Called once just after the component is first connected to the DOM.
37
+ *
38
+ * @returns Promise when complete
39
+ */
40
+ async componentWillLoad() {
41
+ return this._getTranslations();
42
+ }
43
+ componentWillRender() {
44
+ console.log("MODAL will render " + this.solutionTitle + " (" + this.solutionItemId + ", " + this.cacheBreaker + ")"); //???
45
+ }
46
+ /**
47
+ * Renders the component.
48
+ */
49
+ render() {
50
+ const cacheBreakerParts = this.cacheBreaker.split("_");
51
+ if (!this.solutionItemId && cacheBreakerParts.length === 2) {
52
+ this.solutionItemId = cacheBreakerParts[0];
53
+ }
54
+ const modalIsOpen = !!this.solutionItemId;
55
+ console.log("MODAL render " + this.solutionTitle + " (" + this.solutionItemId + ", " + this.cacheBreaker + ")" + " open:" + modalIsOpen.toString()); //???
56
+ return (h(Host, null, h("calcite-modal", { "aria-labelledby": "solutions-modal-title", fullscreen: "", "intl-close": this._translations.cancel, onCalciteModalClose: () => this._cancel(), open: modalIsOpen, ref: (el) => this._modal = el }, h("h3", { id: "solutions-modal-title", slot: "header" }, this._translations.title.replace("{{solutionName}}", this.solutionTitle)), h("div", { class: "solutions-modal-content", id: "solutions-modal-content", slot: "content" }, h("solution-configuration", { ref: (el) => (this._configuration = el), "serialized-authentication": this.serializedAuthentication, "solution-item-id": this.solutionItemId })), h("calcite-button", { appearance: "outline", disabled: !this._canSave, onClick: () => this._cancel(), ref: (el) => (this._cancelBtn = el), slot: "secondary", width: "full" }, this._translations.cancel), h("calcite-button", { appearance: "solid", disabled: !this._canSave, onClick: () => this._save(), ref: (el) => (this._saveBtn = el), slot: "primary", width: "full" }, this._translations.save))));
57
+ }
58
+ //--------------------------------------------------------------------------
59
+ //
60
+ // Public Methods (async)
61
+ //
62
+ //--------------------------------------------------------------------------
63
+ //--------------------------------------------------------------------------
64
+ //
65
+ // Private Methods
66
+ //
67
+ //--------------------------------------------------------------------------
68
+ async _cancel() {
69
+ console.log("MODAL cancel " + this.solutionItemId); //???
70
+ this._cancelBtn.disabled = this._saveBtn.disabled = true;
71
+ this._canSave
72
+ ? confirm("Save changes?")
73
+ ? await this._saveChanges()
74
+ : await this._cancelChanges()
75
+ : await this._cancelChanges();
76
+ this._closeModal();
77
+ }
78
+ async _cancelChanges() {
79
+ console.log("MODAL cancelChanges"); //???
80
+ this._canSave = false;
81
+ await this._configuration.unloadSolution();
82
+ }
83
+ _closeModal() {
84
+ console.log("MODAL close"); //???
85
+ this.solutionItemId = "";
86
+ //this.solutionTitle = "";
87
+ this.cacheBreaker = "";
88
+ this.solutionConfigModalClosed.emit();
89
+ }
90
+ // Save changes and close the modal
91
+ async _save() {
92
+ console.log("MODAL save " + this.solutionItemId); //???
93
+ this._cancelBtn.disabled = this._saveBtn.disabled = true;
94
+ if (this._canSave) {
95
+ await this._saveChanges();
96
+ }
97
+ }
98
+ async _saveChanges() {
99
+ console.log("MODAL saveChanges"); //???
100
+ try {
101
+ this._canSave = false;
102
+ await this._configuration.saveSolution();
103
+ }
104
+ catch (error) {
105
+ //reportError("Unable to save", error.originalMessage);
106
+ console.log("Unable to save", error.originalMessage);
107
+ }
108
+ }
109
+ /**
110
+ * Fetches the component's translations
111
+ *
112
+ * @protected
113
+ */
114
+ async _getTranslations() {
115
+ const translations = await getLocaleComponentStrings(this.el);
116
+ this._translations = translations[0];
117
+ }
118
+ get el() { return getElement(this); }
119
+ static get watchers() { return {
120
+ "solutionItemId": ["valueWatchHandler"]
121
+ }; }
122
+ };
123
+ SolutionConfigModal.style = solutionConfigModalCss;
124
+
125
+ export { SolutionConfigModal as solution_config_modal };
126
+
127
+ //# sourceMappingURL=solution-config-modal.entry.js.map