@esri/solutions-components 0.10.22 → 0.10.24
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +1 -1
- package/dist/cjs/{calcite-accordion-item.cjs.entry.js → calcite-accordion_2.cjs.entry.js} +83 -1
- package/dist/cjs/calcite-alert_5.cjs.entry.js +2 -2
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +17 -2
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +6 -6
- package/dist/cjs/{calcite-tree_3.cjs.entry.js → calcite-tree_2.cjs.entry.js} +0 -317
- package/dist/cjs/card-manager_3.cjs.entry.js +4 -4
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -2
- package/dist/cjs/{downloadUtils-470f6a27.js → downloadUtils-17f08e5e.js} +235 -160
- package/dist/cjs/feature-list.cjs.entry.js +2 -2
- package/dist/cjs/{index.es-6387d8fb.js → index.es-2518dd41.js} +36 -47
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/{popupUtils-c38f840d.js → popupUtils-24306e6b.js} +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
- package/dist/cjs/solution-item-accordion.cjs.entry.js +233 -0
- package/dist/cjs/solution-item-icon.cjs.entry.js +328 -0
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_en.json +3 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +2 -1
- package/dist/collection/components/layer-table/layer-table.js +3 -3
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +17 -2
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.css +23 -0
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +287 -0
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/solution-item-accordion.html +345 -0
- package/dist/collection/utils/interfaces.ts +11 -0
- package/dist/{esm/calcite-accordion-item.entry.js → components/accordion-item.js} +47 -16
- package/dist/{esm/calcite-accordion.entry.js → components/accordion.js} +36 -10
- package/dist/components/calcite-accordion-item.js +1 -222
- package/dist/components/calcite-accordion.js +1 -110
- package/dist/components/crowdsource-manager.js +3 -2
- package/dist/components/downloadUtils.js +234 -159
- package/dist/components/index.es.js +35 -46
- package/dist/components/layer-table2.js +3 -3
- package/dist/components/map-layer-picker2.js +17 -2
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/solution-item-accordion.d.ts +11 -0
- package/dist/components/solution-item-accordion.js +336 -0
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/esm/{ExpandToggle-b5147279.js → ExpandToggle-9289b7ca.js} +1 -1
- package/dist/esm/{ar-e0e64e78.js → ar-8dded5d5.js} +8 -8
- package/dist/esm/basemap-gallery_7.entry.js +1 -1
- package/dist/esm/{bg-d2d8dbe0.js → bg-c1cdf619.js} +8 -8
- package/dist/esm/{bs-d883901d.js → bs-a40506a4.js} +8 -8
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/{ca-064729ad.js → ca-67879a0c.js} +8 -8
- package/dist/esm/calcite-accordion_2.entry.js +279 -0
- package/dist/esm/calcite-action-bar.entry.js +4 -4
- package/dist/esm/calcite-action-group.entry.js +3 -3
- package/dist/esm/calcite-action-menu_2.entry.js +3 -3
- package/dist/esm/calcite-action-pad_2.entry.js +4 -4
- package/dist/esm/calcite-action_2.entry.js +6 -6
- package/dist/esm/calcite-alert_5.entry.js +6 -6
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block-section.entry.js +3 -3
- package/dist/esm/calcite-block_5.entry.js +9 -9
- package/dist/esm/calcite-button.entry.js +5 -5
- package/dist/esm/calcite-card-group.entry.js +1 -1
- package/dist/esm/calcite-card.entry.js +3 -3
- package/dist/esm/calcite-carousel.entry.js +3 -3
- package/dist/esm/calcite-checkbox.entry.js +3 -3
- package/dist/esm/calcite-chip-group.entry.js +1 -1
- package/dist/esm/calcite-chip_2.entry.js +4 -4
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +1 -1
- package/dist/esm/calcite-color-picker.entry.js +3 -3
- package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
- package/dist/esm/calcite-combobox_3.entry.js +25 -10
- package/dist/esm/calcite-date-picker-day_3.entry.js +3 -3
- package/dist/esm/calcite-dialog.entry.js +5 -5
- package/dist/esm/calcite-dropdown_2.entry.js +3 -3
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter_5.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +4 -4
- package/dist/esm/calcite-icon_2.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +4 -4
- package/dist/esm/calcite-input-number.entry.js +5 -5
- package/dist/esm/calcite-input-text.entry.js +5 -5
- package/dist/esm/{calcite-input-time-picker-66e7a9f3.js → calcite-input-time-picker-37845feb.js} +56 -56
- package/dist/esm/calcite-input-time-picker.entry.js +8 -8
- package/dist/esm/calcite-input-time-zone.entry.js +5 -5
- package/dist/esm/calcite-input_2.entry.js +5 -5
- package/dist/esm/calcite-label.entry.js +2 -2
- package/dist/esm/calcite-link.entry.js +1 -1
- package/dist/esm/calcite-menu-item.entry.js +3 -3
- package/dist/esm/calcite-menu.entry.js +3 -3
- package/dist/esm/calcite-meter.entry.js +3 -3
- package/dist/esm/calcite-modal_3.entry.js +5 -5
- package/dist/esm/calcite-navigation.entry.js +1 -1
- package/dist/esm/calcite-notice.entry.js +4 -4
- package/dist/esm/calcite-option_2.entry.js +3 -3
- package/dist/esm/calcite-pagination.entry.js +3 -3
- package/dist/esm/calcite-pick-list-group.entry.js +1 -1
- package/dist/esm/calcite-pick-list-item.entry.js +3 -3
- package/dist/esm/calcite-pick-list.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm/calcite-radio-button.entry.js +3 -3
- package/dist/esm/calcite-rating.entry.js +5 -5
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
- package/dist/esm/calcite-sheet.entry.js +3 -3
- package/dist/esm/calcite-shell-center-row.entry.js +1 -1
- package/dist/esm/calcite-shell-panel_14.entry.js +10 -10
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-stepper-item.entry.js +3 -3
- package/dist/esm/calcite-stepper.entry.js +3 -3
- package/dist/esm/calcite-switch.entry.js +3 -3
- package/dist/esm/calcite-table-cell_2.entry.js +3 -3
- package/dist/esm/calcite-table-row.entry.js +1 -1
- package/dist/esm/calcite-table.entry.js +3 -3
- package/dist/esm/calcite-text-area.entry.js +5 -5
- package/dist/esm/calcite-tile-group.entry.js +1 -1
- package/dist/esm/calcite-tile.entry.js +1 -1
- package/dist/esm/calcite-time-picker.entry.js +4 -4
- package/dist/esm/calcite-tip-manager.entry.js +3 -3
- package/dist/esm/calcite-tip.entry.js +3 -3
- package/dist/esm/calcite-tooltip.entry.js +3 -3
- package/dist/esm/{calcite-tree_3.entry.js → calcite-tree_2.entry.js} +3 -319
- package/dist/esm/card-manager_3.entry.js +4 -4
- package/dist/esm/crowdsource-manager.entry.js +3 -2
- package/dist/esm/{cs-3751e560.js → cs-b01aecfc.js} +8 -8
- package/dist/esm/{da-227f8ad5.js → da-87ac64be.js} +8 -8
- package/dist/esm/{date-87a67cb4.js → date-7a1345c1.js} +1 -1
- package/dist/esm/{de-a5d2b25b.js → de-0eb6c065.js} +8 -8
- package/dist/esm/{de-at-66232b80.js → de-at-2db1a5d5.js} +8 -8
- package/dist/esm/{de-ch-1264ed4c.js → de-ch-063c0a6b.js} +8 -8
- package/dist/esm/{dom-63d2d41c.js → dom-451ed293.js} +1 -1
- package/dist/esm/{downloadUtils-d1f791c5.js → downloadUtils-4a34c86a.js} +235 -160
- package/dist/esm/{el-f5bf7ca3.js → el-eb29e645.js} +8 -8
- package/dist/esm/{en-au-2ac8f62e.js → en-au-00f884ad.js} +8 -8
- package/dist/esm/{en-ca-a1602b49.js → en-ca-1e7456d7.js} +8 -8
- package/dist/esm/{en-gb-28354b2e.js → en-gb-60a33692.js} +8 -8
- package/dist/esm/{es-feb7aad2.js → es-74f8b164.js} +8 -8
- package/dist/esm/{es-mx-5d64f899.js → es-mx-2bfa704a.js} +8 -8
- package/dist/esm/{et-173d2f49.js → et-b1a2d978.js} +8 -8
- package/dist/esm/feature-list.entry.js +2 -2
- package/dist/esm/{fi-ff9bb719.js → fi-70441d5b.js} +8 -8
- package/dist/esm/{floating-ui-c7ae81d9.js → floating-ui-4b1f5138.js} +1 -1
- package/dist/esm/{focusTrapComponent-833b1234.js → focusTrapComponent-b9709e71.js} +1 -1
- package/dist/esm/{form-08e1bcb7.js → form-fa4c471b.js} +1 -1
- package/dist/esm/{fr-e3af6835.js → fr-cea05ec9.js} +8 -8
- package/dist/esm/{fr-ch-491f1abe.js → fr-ch-8faa2fcf.js} +8 -8
- package/dist/esm/{he-47aa8dde.js → he-058ece46.js} +8 -8
- package/dist/esm/{hi-1700df3e.js → hi-163a268e.js} +8 -8
- package/dist/esm/{hr-68b828f5.js → hr-2b69b2ad.js} +8 -8
- package/dist/esm/{hu-df6a8f29.js → hu-e46e0cb6.js} +8 -8
- package/dist/esm/{id-8091582d.js → id-ebccdbbb.js} +8 -8
- package/dist/esm/{index.es-decad494.js → index.es-5f44061b.js} +36 -47
- package/dist/esm/{it-1f5e149d.js → it-813be6d0.js} +8 -8
- package/dist/esm/{it-ch-bf7fcac6.js → it-ch-bc95119e.js} +8 -8
- package/dist/esm/{ja-a5117166.js → ja-3488d28c.js} +8 -8
- package/dist/esm/{ko-9d7a9e79.js → ko-54faa268.js} +8 -8
- package/dist/esm/{label-4c4e06d6.js → label-414f1003.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-4441c976.js → locale-337dc231.js} +1 -1
- package/dist/esm/{lt-2e1c53de.js → lt-8c773940.js} +8 -8
- package/dist/esm/{lv-ca1ba866.js → lv-4882a326.js} +8 -8
- package/dist/esm/map-select-tools_3.entry.js +1 -1
- package/dist/esm/{mk-421d0d41.js → mk-d045a827.js} +8 -8
- package/dist/esm/{nb-5b103e32.js → nb-529fd6f8.js} +8 -8
- package/dist/esm/{nl-eac33461.js → nl-ebd398ac.js} +8 -8
- package/dist/esm/{openCloseComponent-c8c8645b.js → openCloseComponent-80c6ee4b.js} +1 -1
- package/dist/esm/{pl-03531ccb.js → pl-4cd334ed.js} +8 -8
- package/dist/esm/{popupUtils-4e0a103f.js → popupUtils-3ccb86bd.js} +1 -1
- package/dist/esm/{pt-b5d8bffc.js → pt-be0c86a5.js} +8 -8
- package/dist/esm/{pt-br-dee45728.js → pt-br-29226fc3.js} +8 -8
- package/dist/esm/public-notification.entry.js +1 -1
- package/dist/esm/{ro-df6cb584.js → ro-6555f5dd.js} +8 -8
- package/dist/esm/{ru-e7c02faa.js → ru-67b5c59c.js} +8 -8
- package/dist/esm/{shared-list-render-cadae2eb.js → shared-list-render-c8da5fde.js} +1 -1
- package/dist/esm/{sk-cae387d2.js → sk-81f19081.js} +8 -8
- package/dist/esm/{sl-2892ad87.js → sl-4b892d99.js} +8 -8
- package/dist/esm/solution-contents_3.entry.js +1 -1
- package/dist/esm/solution-item-accordion.entry.js +229 -0
- package/dist/esm/solution-item-icon.entry.js +324 -0
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/esm/{sr-11e6839f.js → sr-6cb6f797.js} +8 -8
- package/dist/esm/{sv-fd5c6ca5.js → sv-aacab364.js} +8 -8
- package/dist/esm/{t9n-b7ea1a61.js → t9n-7d4462c0.js} +1 -1
- package/dist/esm/{th-170cf6b1.js → th-6b423678.js} +8 -8
- package/dist/esm/{time-a7f1020b.js → time-b0bba3f9.js} +1 -1
- package/dist/esm/{tr-1d6ca382.js → tr-0e2b854e.js} +8 -8
- package/dist/esm/{uk-35eec84e.js → uk-af0a30cc.js} +8 -8
- package/dist/esm/{utils-62514064.js → utils-37bc2853.js} +1 -1
- package/dist/esm/{vi-2713ee26.js → vi-62071c6f.js} +8 -8
- package/dist/esm/{zh-cn-ed066014.js → zh-cn-8f53db2f.js} +8 -8
- package/dist/esm/{zh-hk-a118dced.js → zh-hk-a8c68b9c.js} +8 -8
- package/dist/esm/{zh-tw-c9bbf220.js → zh-tw-3006115d.js} +8 -8
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_en.json +3 -0
- package/dist/solutions-components/demos/solution-item-accordion.html +345 -0
- package/dist/solutions-components/{p-02ea30d1.entry.js → p-00cfce5b.entry.js} +1 -1
- package/dist/solutions-components/{p-ac11cf8f.entry.js → p-01510268.entry.js} +1 -1
- package/dist/solutions-components/{p-cd5a9034.entry.js → p-030e5077.entry.js} +1 -1
- package/dist/solutions-components/{p-de3ee7a6.entry.js → p-075a3c9d.entry.js} +1 -1
- package/dist/solutions-components/{p-267ef1b8.entry.js → p-0bd7752a.entry.js} +1 -1
- package/dist/solutions-components/{p-8c6a301f.entry.js → p-109cabd8.entry.js} +2 -2
- package/dist/solutions-components/{p-87f928a5.entry.js → p-116927af.entry.js} +3 -3
- package/dist/solutions-components/{p-8da5aeea.entry.js → p-118e1989.entry.js} +1 -1
- package/dist/solutions-components/p-16261018.js +11 -0
- package/dist/solutions-components/{p-c5facecd.entry.js → p-16d721ef.entry.js} +1 -1
- package/dist/solutions-components/{p-f7bc99fb.entry.js → p-1794a1aa.entry.js} +3 -3
- package/dist/solutions-components/{p-cf9e6515.entry.js → p-19697807.entry.js} +2 -2
- package/dist/solutions-components/{p-25b5ffea.js → p-1a7c4e9a.js} +1 -1
- package/dist/solutions-components/{p-5067d77e.entry.js → p-1c5f17cb.entry.js} +1 -1
- package/dist/solutions-components/p-1cfc581f.js +11 -0
- package/dist/solutions-components/{p-d784f756.entry.js → p-20393dcf.entry.js} +1 -1
- package/dist/solutions-components/{p-4e7aa926.js → p-203b4081.js} +1 -1
- package/dist/solutions-components/p-228c3bf3.entry.js +17 -0
- package/dist/solutions-components/{p-e4ef6f49.js → p-24192cfe.js} +1 -1
- package/dist/solutions-components/{p-d75ef009.entry.js → p-25ee25ea.entry.js} +2 -2
- package/dist/solutions-components/{p-7b2ef872.entry.js → p-2756e4ac.entry.js} +1 -1
- package/dist/solutions-components/{p-691cb5f4.js → p-290dee0b.js} +2 -2
- package/dist/solutions-components/{p-aa68a36e.entry.js → p-2ace1fe7.entry.js} +2 -2
- package/dist/solutions-components/{p-8bb2c169.js → p-2afb3a2b.js} +1 -1
- package/dist/solutions-components/{p-95c3b305.entry.js → p-2b212cd0.entry.js} +1 -1
- package/dist/solutions-components/p-2c00221b.js +6 -0
- package/dist/solutions-components/{p-3c1ecf85.entry.js → p-2fafe489.entry.js} +1 -1
- package/dist/solutions-components/{p-9560a1fd.entry.js → p-30b555dc.entry.js} +1 -1
- package/dist/solutions-components/{p-347d9ce0.js → p-328fbcb5.js} +1 -1
- package/dist/solutions-components/{p-aa341d46.entry.js → p-32cf5a71.entry.js} +1 -1
- package/dist/solutions-components/{p-712873f0.js → p-33fe9a28.js} +1 -1
- package/dist/solutions-components/{p-80f49acc.js → p-35f33a32.js} +1 -1
- package/dist/solutions-components/p-374d0fdc.entry.js +6 -0
- package/dist/solutions-components/{p-fb3e0eae.js → p-3955461a.js} +1 -1
- package/dist/solutions-components/p-39e9ae5c.entry.js +6 -0
- package/dist/solutions-components/{p-54a9017c.entry.js → p-3f6d5f14.entry.js} +1 -1
- package/dist/solutions-components/{p-1a06bf01.js → p-3fb350ea.js} +1 -1
- package/dist/solutions-components/{p-a79f4c52.entry.js → p-41744516.entry.js} +1 -1
- package/dist/solutions-components/{p-c40b0ec5.js → p-4182a628.js} +3 -3
- package/dist/solutions-components/{p-304cef31.js → p-42552409.js} +3 -3
- package/dist/solutions-components/{p-0e851a4b.js → p-4336e44a.js} +1 -1
- package/dist/solutions-components/{p-c25e8c35.js → p-441f1992.js} +1 -1
- package/dist/solutions-components/{p-fa68f43a.entry.js → p-451b483d.entry.js} +1 -1
- package/dist/solutions-components/{p-9bc84681.js → p-472be784.js} +1 -1
- package/dist/solutions-components/p-48c58b28.js +6 -0
- package/dist/solutions-components/{p-ca6055a3.js → p-4993c7b1.js} +1 -1
- package/dist/solutions-components/{p-b8ce880d.js → p-4a35785b.js} +1 -1
- package/dist/solutions-components/{p-de8121a4.js → p-4d97016e.js} +1 -1
- package/dist/solutions-components/{p-990d8b4b.js → p-4f4f00a9.js} +1 -1
- package/dist/solutions-components/{p-b3e8da19.entry.js → p-50203a2d.entry.js} +1 -1
- package/dist/solutions-components/{p-19b466d0.js → p-546a2802.js} +1 -1
- package/dist/solutions-components/{p-66b01781.js → p-54fa7a94.js} +2 -2
- package/dist/solutions-components/{p-04294b8e.js → p-57b673e2.js} +1 -1
- package/dist/solutions-components/{p-c163b67f.js → p-593a6f17.js} +1 -1
- package/dist/solutions-components/{p-5a3cab12.entry.js → p-5c0d42e9.entry.js} +1 -1
- package/dist/solutions-components/{p-9fa7a7ad.entry.js → p-5cef36d6.entry.js} +1 -1
- package/dist/solutions-components/{p-2aa44a02.entry.js → p-5d4efa42.entry.js} +2 -2
- package/dist/solutions-components/{p-7fce703f.entry.js → p-5d8a5e53.entry.js} +1 -1
- package/dist/solutions-components/{p-793f1b14.entry.js → p-5fe92f6e.entry.js} +2 -2
- package/dist/solutions-components/{p-da80cfbc.entry.js → p-6384a9a5.entry.js} +1 -1
- package/dist/solutions-components/{p-b8f33145.js → p-6518727d.js} +1 -1
- package/dist/solutions-components/p-671fd156.entry.js +6 -0
- package/dist/solutions-components/{p-52f19286.entry.js → p-67392838.entry.js} +1 -1
- package/dist/solutions-components/{p-54b7e680.js → p-6e0b76ce.js} +1 -1
- package/dist/solutions-components/{p-1017609e.js → p-6e3f1d71.js} +2 -2
- package/dist/solutions-components/{p-5f7c1e49.js → p-6f39a13f.js} +1 -1
- package/dist/solutions-components/{p-0b6e5486.js → p-71c0a413.js} +1 -1
- package/dist/solutions-components/{p-fedbf657.entry.js → p-728ec094.entry.js} +1 -1
- package/dist/solutions-components/{p-b8b78283.entry.js → p-72d0eda0.entry.js} +1 -1
- package/dist/solutions-components/p-743ad3a7.entry.js +6 -0
- package/dist/solutions-components/{p-732bb88c.entry.js → p-78c438c0.entry.js} +1 -1
- package/dist/solutions-components/{p-1ef6a1c2.entry.js → p-7b63f249.entry.js} +1 -1
- package/dist/solutions-components/{p-91b7a7dc.entry.js → p-7f090468.entry.js} +1 -1
- package/dist/solutions-components/{p-770a0e12.js → p-7f31be6a.js} +1 -1
- package/dist/solutions-components/{p-cb07016a.entry.js → p-8419b5a1.entry.js} +2 -2
- package/dist/solutions-components/{p-dfeb6a2e.entry.js → p-86ca6cfe.entry.js} +1 -1
- package/dist/solutions-components/{p-66afdfdd.entry.js → p-8846430d.entry.js} +3 -3
- package/dist/solutions-components/{p-508b2b7b.js → p-89ddc916.js} +1 -1
- package/dist/solutions-components/{p-9db30b19.entry.js → p-89f14b8a.entry.js} +1 -1
- package/dist/solutions-components/{p-23dd68de.entry.js → p-8ae73529.entry.js} +2 -2
- package/dist/solutions-components/{p-64bf4d2e.entry.js → p-8badcaf5.entry.js} +1 -1
- package/dist/solutions-components/{p-eb2859d6.js → p-8eacc640.js} +1 -1
- package/dist/solutions-components/{p-798b9928.entry.js → p-8f840208.entry.js} +1 -1
- package/dist/solutions-components/{p-c7eaade6.entry.js → p-9232245b.entry.js} +1 -1
- package/dist/solutions-components/{p-1490c752.js → p-926664d9.js} +1 -1
- package/dist/solutions-components/{p-919e9de7.entry.js → p-92de7cd3.entry.js} +1 -1
- package/dist/solutions-components/{p-9c5f4347.js → p-96919110.js} +1 -1
- package/dist/solutions-components/{p-222e0445.entry.js → p-981afe9e.entry.js} +1 -1
- package/dist/solutions-components/{p-550da58b.js → p-9901e971.js} +1 -1
- package/dist/solutions-components/{p-986ff43b.entry.js → p-9957c7b8.entry.js} +1 -1
- package/dist/solutions-components/{p-6b0fa1eb.entry.js → p-9c6f2672.entry.js} +1 -1
- package/dist/solutions-components/{p-bb0f549a.js → p-a0ef9cee.js} +1 -1
- package/dist/solutions-components/{p-d47abf9b.entry.js → p-a16449b2.entry.js} +1 -1
- package/dist/solutions-components/{p-08d1cc1f.js → p-a2d4c97e.js} +2 -2
- package/dist/solutions-components/{p-bae65813.entry.js → p-a68f4775.entry.js} +1 -1
- package/dist/solutions-components/{p-79f78acc.entry.js → p-a8d4a522.entry.js} +1 -1
- package/dist/solutions-components/{p-6c080ac7.entry.js → p-a9f65057.entry.js} +1 -1
- package/dist/solutions-components/{p-40175313.entry.js → p-ab8f4820.entry.js} +2 -2
- package/dist/solutions-components/{p-f6f2018a.js → p-abc30e04.js} +1 -1
- package/dist/solutions-components/{p-c0d25be5.entry.js → p-ac7868a6.entry.js} +1 -1
- package/dist/solutions-components/{p-9524e5e4.js → p-acf135cc.js} +1 -1
- package/dist/solutions-components/{p-b96233e3.entry.js → p-af3e49d8.entry.js} +1 -1
- package/dist/solutions-components/p-af8a7aff.entry.js +6 -0
- package/dist/solutions-components/{p-924ec704.js → p-b3b042df.js} +1 -1
- package/dist/solutions-components/{p-8fb06a85.entry.js → p-b6b4c707.entry.js} +1 -1
- package/dist/solutions-components/{p-4c179300.entry.js → p-b7a49673.entry.js} +1 -1
- package/dist/solutions-components/{p-40f5df15.entry.js → p-b955a19b.entry.js} +1 -1
- package/dist/solutions-components/{p-c4953b5e.entry.js → p-b9eefee6.entry.js} +2 -2
- package/dist/solutions-components/p-bb9492ed.js +6 -0
- package/dist/solutions-components/{p-8537518d.entry.js → p-bc86c87d.entry.js} +2 -2
- package/dist/solutions-components/{p-8614d1a0.entry.js → p-bd3c130b.entry.js} +1 -1
- package/dist/solutions-components/{p-e74bc7b3.js → p-bdc425fc.js} +1 -1
- package/dist/solutions-components/{p-92ba99ff.js → p-beba6703.js} +1 -1
- package/dist/solutions-components/{p-cd6eee11.js → p-c1242d4b.js} +1 -1
- package/dist/solutions-components/{p-a4e35c2d.entry.js → p-c26ac7d9.entry.js} +1 -1
- package/dist/solutions-components/{p-b76ed1c7.entry.js → p-c3782a7e.entry.js} +2 -2
- package/dist/solutions-components/{p-936037e4.js → p-c5520bba.js} +1 -1
- package/dist/solutions-components/{p-29a09798.js → p-c58ec2d0.js} +3 -3
- package/dist/solutions-components/{p-53b5a39e.js → p-c5d26e3a.js} +1 -1
- package/dist/solutions-components/{p-a37d1b17.entry.js → p-c8325ead.entry.js} +1 -1
- package/dist/solutions-components/{p-94ae78d6.js → p-cba777d2.js} +1 -1
- package/dist/solutions-components/{p-01dae909.js → p-d1371897.js} +1 -1
- package/dist/solutions-components/{p-d1cc620f.entry.js → p-d6c50190.entry.js} +1 -1
- package/dist/solutions-components/{p-fcd33b4f.js → p-d726e895.js} +1 -1
- package/dist/solutions-components/{p-270ead49.js → p-d8a54947.js} +1 -1
- package/dist/solutions-components/{p-a85fd786.entry.js → p-da6e25cb.entry.js} +1 -1
- package/dist/solutions-components/{p-ee9b7fab.js → p-db2c82ad.js} +1 -1
- package/dist/solutions-components/{p-e0ee0556.entry.js → p-dbcfdc6d.entry.js} +1 -1
- package/dist/solutions-components/{p-67c34d05.entry.js → p-ddc97e93.entry.js} +1 -1
- package/dist/solutions-components/{p-74fbad1c.js → p-dec62e5d.js} +30 -31
- package/dist/solutions-components/{p-245c35ce.js → p-e013e797.js} +1 -1
- package/dist/solutions-components/{p-0d6b3f44.js → p-e3bb02cc.js} +1 -1
- package/dist/solutions-components/{p-5440c8dd.js → p-e5ec69a4.js} +1 -1
- package/dist/solutions-components/p-e8aa44e2.entry.js +6 -0
- package/dist/solutions-components/{p-49bbe45e.js → p-ea119eee.js} +1 -1
- package/dist/solutions-components/{p-062f4457.js → p-ec59efb8.js} +1 -1
- package/dist/solutions-components/{p-bc6cf10f.entry.js → p-ef360459.entry.js} +1 -1
- package/dist/solutions-components/{p-0dc73313.js → p-f14d11f1.js} +1 -1
- package/dist/solutions-components/{p-6319ca20.js → p-f4d6771a.js} +1 -1
- package/dist/solutions-components/{p-5f705984.js → p-f4e30ab2.js} +1 -1
- package/dist/solutions-components/p-f6dc7347.entry.js +6 -0
- package/dist/solutions-components/{p-7ae41cd8.js → p-f7680693.js} +1 -1
- package/dist/solutions-components/{p-9277a339.entry.js → p-faf7740b.entry.js} +1 -1
- package/dist/solutions-components/{p-707ee1d1.entry.js → p-fb95ec69.entry.js} +2 -2
- package/dist/solutions-components/{p-2264e8d5.entry.js → p-fbf86656.entry.js} +1 -1
- package/dist/solutions-components/{p-7c854814.js → p-fd730974.js} +2 -2
- package/dist/solutions-components/{p-4fe5e9c3.entry.js → p-ff96d7ee.entry.js} +3 -3
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +11 -0
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +6 -0
- package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +117 -0
- package/dist/types/components.d.ts +23 -2
- package/dist/types/preact.d.ts +2 -0
- package/dist/types/utils/interfaces.d.ts +10 -0
- package/package.json +6 -6
- package/dist/cjs/calcite-accordion.cjs.entry.js +0 -95
- package/dist/solutions-components/p-2007eaa4.entry.js +0 -6
- package/dist/solutions-components/p-23ce9afa.entry.js +0 -11
- package/dist/solutions-components/p-24a813a4.entry.js +0 -6
- package/dist/solutions-components/p-2d17790c.js +0 -6
- package/dist/solutions-components/p-2e06ec97.js +0 -6
- package/dist/solutions-components/p-33db098c.js +0 -6
- package/dist/solutions-components/p-3a47fde6.entry.js +0 -11
- package/dist/solutions-components/p-79f5a8be.js +0 -11
- package/dist/solutions-components/p-a5e64f6b.entry.js +0 -6
- package/dist/solutions-components/p-bd2278cf.entry.js +0 -6
- package/dist/solutions-components/p-d36878db.js +0 -11
- package/dist/solutions-components/p-fd79adec.entry.js +0 -6
@@ -21105,7 +21105,7 @@ const SpatialRef = class {
|
|
21105
21105
|
* Renders the component.
|
21106
21106
|
*/
|
21107
21107
|
render() {
|
21108
|
-
return (index.h(index.Host, { key: '
|
21108
|
+
return (index.h(index.Host, { key: 'f723d08854c429ea7eb3e9c5588089a5dd614440' }, index.h("div", { key: '5f91149d48e5df3f01479bec291d97c569ffd5d7' }, index.h("calcite-input", { key: 'fa6cd1622e62b9c830999afc0940adddabbcc2c2', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), index.h("calcite-tree", { key: '02e651be4895c57ddb0fbf319c5a41b5dc39472c', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
|
21109
21109
|
}
|
21110
21110
|
_lastHighlightedSref;
|
21111
21111
|
//--------------------------------------------------------------------------
|
@@ -43,6 +43,7 @@
|
|
43
43
|
"components/solution-configuration/solution-configuration.js",
|
44
44
|
"components/solution-contents/solution-contents.js",
|
45
45
|
"components/solution-item/solution-item.js",
|
46
|
+
"components/solution-item-accordion/solution-item-accordion.js",
|
46
47
|
"components/solution-item-details/solution-item-details.js",
|
47
48
|
"components/solution-item-icon/solution-item-icon.js",
|
48
49
|
"components/solution-item-sharing/solution-item-sharing.js",
|
@@ -427,7 +427,8 @@ export class CrowdsourceManager {
|
|
427
427
|
const headerClass = this._isMobile && this._showInformationHeader ? "display-none height-0" : "";
|
428
428
|
const headerTheme = this.popupHeaderColor ? "" : !this._isMobile ? "calcite-mode-dark" : "calcite-mode-light";
|
429
429
|
const containerClass = this._isMobile && this._hideTable ? "position-absolute-0 width-full height-full" : this._isMobile ? "display-none height-0" : "";
|
430
|
-
|
430
|
+
const tableViewClass = this.appLayout === "tableView" ? "position-relative top-51" : "";
|
431
|
+
return (h("div", { class: `${headerTheme} ${popupNodeClass} ${containerClass} ${tableViewClass}`, style: {
|
431
432
|
'--calcite-color-foreground-1': this.popupHeaderColor, /* background color that will be displayed on the popup header */
|
432
433
|
'--calcite-color-foreground-2': this.popupHeaderHoverColor, /* background color that will be displayed on button when hovered */
|
433
434
|
'--calcite-color-text-3': this.popupHeaderTextColor, /* font color that will be displayed on button */
|
@@ -715,7 +715,7 @@ export class LayerTable {
|
|
715
715
|
_getFieldlist() {
|
716
716
|
return this._columnsInfo ? (h("calcite-dropdown-group", { "selection-mode": "multiple" }, Object.keys(this._columnsInfo).map(k => {
|
717
717
|
const selected = this._columnsInfo[k];
|
718
|
-
return (h("calcite-dropdown-item", { id: k, onClick: (e) => {
|
718
|
+
return (h("calcite-dropdown-item", { id: `layer-table-${k.toLowerCase().replaceAll(" ", "")}`, onClick: (e) => {
|
719
719
|
const target = e.target;
|
720
720
|
this._columnsInfo[target.id] = target.selected;
|
721
721
|
if (!target.selected) {
|
@@ -1055,7 +1055,7 @@ export class LayerTable {
|
|
1055
1055
|
_getDropdown(id) {
|
1056
1056
|
const dropdownItems = this._getDropdownItems();
|
1057
1057
|
return dropdownItems.length > 0 ? (h("calcite-dropdown", { closeOnSelectDisabled: true, disabled: this._layer === undefined, id: "solutions-more", onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._moreDropdown = el }, h("calcite-action", { appearance: "solid", id: id, label: "", onClick: () => this._closeShowHide(), slot: "trigger", text: "" }, h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), h("calcite-dropdown-group", { "selection-mode": "none" }, dropdownItems.map(item => {
|
1058
|
-
return (h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: item.disabled ? "none" : "single" }, h("calcite-dropdown-item", { disabled: item.loading, iconStart: item.isSublist && this._showHideOpen ? "chevron-down" : item.loading ? "" : item.icon, id:
|
1058
|
+
return (h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: item.disabled ? "none" : "single" }, h("calcite-dropdown-item", { disabled: item.loading, iconStart: item.isSublist && this._showHideOpen ? "chevron-down" : item.loading ? "" : item.icon, id: `layer-table-${item.icon}`, onClick: item.func }, item.loading ? (h("div", { class: "display-flex" }, h("calcite-loader", { inline: true, label: item.label, scale: "m" }), item.label)) : item.label)));
|
1059
1059
|
})), this._showHideOpen ? this._getFieldlist() : undefined)) : undefined;
|
1060
1060
|
}
|
1061
1061
|
/**
|
@@ -1078,7 +1078,7 @@ export class LayerTable {
|
|
1078
1078
|
*/
|
1079
1079
|
_getAction(active, icon, indicator, label, func, disabled, loading, slot) {
|
1080
1080
|
const _disabled = this._layer === undefined ? true : disabled;
|
1081
|
-
return (h("div", { class: "display-flex", id: this._getId(icon), slot: slot }, h("calcite-action", { active: active, appearance: "solid", disabled: _disabled, icon: icon, id: icon
|
1081
|
+
return (h("div", { class: "display-flex", id: this._getId(icon), slot: slot }, h("calcite-action", { active: active, appearance: "solid", disabled: _disabled, icon: icon, id: `layer-table-${icon}`, indicator: indicator, label: label, loading: loading, onClick: func, text: label, textEnabled: true }), this._getToolTip("bottom", icon, label)));
|
1082
1082
|
}
|
1083
1083
|
/**
|
1084
1084
|
* Get an action and tooltip for share
|
@@ -188,7 +188,8 @@ export class MapLayerPicker {
|
|
188
188
|
* @returns Calcite label with the layer name and icon
|
189
189
|
*/
|
190
190
|
_getSingleLayerPlaceholder() {
|
191
|
-
|
191
|
+
const itemTypeIcon = this._getItemTypeIcon();
|
192
|
+
return (h("div", { class: "layer-picker-label-container cursor-default" }, h("calcite-icon", { icon: itemTypeIcon, scale: "s" }), h("calcite-label", { class: "no-bottom-margin padding-start-1" }, this.selectedName)));
|
192
193
|
}
|
193
194
|
/**
|
194
195
|
* Create a list of layers from the map
|
@@ -236,10 +237,24 @@ export class MapLayerPicker {
|
|
236
237
|
* @returns the node for the button
|
237
238
|
*/
|
238
239
|
_getDropdownButton() {
|
240
|
+
const itemTypeIcon = this._getItemTypeIcon();
|
239
241
|
const buttonClass = this.isMobile ? "" : "max-width-350";
|
240
242
|
const buttonSlot = this.isMobile ? "trigger" : "";
|
241
243
|
const buttonIcon = this._isDropdownOpen ? "chevron-up" : "chevron-down";
|
242
|
-
return (h("calcite-button", { alignment: "icon-end-space-between", appearance: this.appearance, class: buttonClass, iconEnd: buttonIcon, iconStart:
|
244
|
+
return (h("calcite-button", { alignment: "icon-end-space-between", appearance: this.appearance, class: buttonClass, iconEnd: buttonIcon, iconStart: itemTypeIcon, kind: "neutral", slot: buttonSlot, width: "full" }, h("div", null, this.selectedName)));
|
245
|
+
}
|
246
|
+
/**
|
247
|
+
* Get the appropriate icon based on the selected layer or table
|
248
|
+
*
|
249
|
+
* @returns a string for the appropriate icon
|
250
|
+
*/
|
251
|
+
_getItemTypeIcon() {
|
252
|
+
let itemTypeIcon = "layers";
|
253
|
+
if (this.selectedIds.length > 0) {
|
254
|
+
const id = this.selectedIds[0];
|
255
|
+
itemTypeIcon = Object.keys(this._layerNameHash).indexOf(id) > -1 ? "layers" : "table";
|
256
|
+
}
|
257
|
+
return itemTypeIcon;
|
243
258
|
}
|
244
259
|
/**
|
245
260
|
* Get the appropriate type of dom nodes for each valid layer or table
|
@@ -147,7 +147,7 @@ export class MapPicker {
|
|
147
147
|
_getMapPicker() {
|
148
148
|
const id = "map-picker-expand-toggle";
|
149
149
|
const mapListIcon = this._mapListExpanded ? "chevron-up" : "chevron-down";
|
150
|
-
return (h("div", { class: "width-full" }, h("calcite-button", { alignment: "icon-end-space-between", appearance: "transparent", class: "width-full height-full", iconEnd: mapListIcon, id: id, kind: "neutral", onClick: () => this._chooseMap(), width: "full" }, this._webMapInfo?.name), h("calcite-tooltip", {
|
150
|
+
return (h("div", { class: "width-full" }, h("calcite-button", { alignment: "icon-end-space-between", appearance: "transparent", class: "width-full height-full", iconEnd: mapListIcon, iconStart: "map", id: id, kind: "neutral", onClick: () => this._chooseMap(), width: "full" }, this._webMapInfo?.name), h("calcite-tooltip", { placement: "bottom", "reference-element": id }, h("span", null, this._translations.switchMap))));
|
151
151
|
}
|
152
152
|
/**
|
153
153
|
* Create the toolbar (controls used for map and app interactions)
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/** @license
|
2
|
+
* Copyright 2024 Esri
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
:host {
|
18
|
+
display: block;
|
19
|
+
}
|
20
|
+
|
21
|
+
.padding-start-1 {
|
22
|
+
padding-inline-start: 1rem;
|
23
|
+
}
|
@@ -0,0 +1,287 @@
|
|
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
|
+
/** @license
|
7
|
+
* Copyright 2024 Esri
|
8
|
+
*
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10
|
+
* you may not use this file except in compliance with the License.
|
11
|
+
* You may obtain a copy of the License at
|
12
|
+
*
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
14
|
+
*
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
18
|
+
* See the License for the specific language governing permissions and
|
19
|
+
* limitations under the License.
|
20
|
+
*/
|
21
|
+
import { Host, h } from "@stencil/core";
|
22
|
+
import { getLocaleComponentStrings } from "../../utils/locale";
|
23
|
+
export class SolutionItemAccordion {
|
24
|
+
constructor() {
|
25
|
+
this.templateInfos = [];
|
26
|
+
this._sortedTemplateInfos = [];
|
27
|
+
this._translations = undefined;
|
28
|
+
}
|
29
|
+
//--------------------------------------------------------------------------
|
30
|
+
//
|
31
|
+
// Host element access
|
32
|
+
//
|
33
|
+
//--------------------------------------------------------------------------
|
34
|
+
el;
|
35
|
+
//--------------------------------------------------------------------------
|
36
|
+
//
|
37
|
+
// Properties (protected)
|
38
|
+
//
|
39
|
+
//--------------------------------------------------------------------------
|
40
|
+
/**
|
41
|
+
* string[]: The order we should sort templates based on
|
42
|
+
*/
|
43
|
+
_sortOrder = [
|
44
|
+
"Hub Site Application",
|
45
|
+
"Hub Page",
|
46
|
+
"Web Experience",
|
47
|
+
"Instant App",
|
48
|
+
"Web Mapping Application",
|
49
|
+
"Dashboard",
|
50
|
+
"StoryMap",
|
51
|
+
"Form",
|
52
|
+
"QuickCapture Project",
|
53
|
+
"Workflow",
|
54
|
+
"Big Data Analytic",
|
55
|
+
"Real Time Analytic",
|
56
|
+
"Feed",
|
57
|
+
"Tool",
|
58
|
+
"Notebook",
|
59
|
+
"Data Pipeline",
|
60
|
+
"Project Package",
|
61
|
+
"Desktop Application Template",
|
62
|
+
"TypeNotFound",
|
63
|
+
"Web Map",
|
64
|
+
"Web Scene",
|
65
|
+
"Feature Layer (hosted, view)",
|
66
|
+
"Feature Layer (hosted)",
|
67
|
+
"Tile Layer",
|
68
|
+
"CSV",
|
69
|
+
"Microsoft Excel",
|
70
|
+
"Microsoft Word",
|
71
|
+
"Report Template",
|
72
|
+
"Rule Package",
|
73
|
+
"Group"
|
74
|
+
];
|
75
|
+
/**
|
76
|
+
* string[]: Array of template types.
|
77
|
+
* This array is used during render to ensure only one Accordion item is added for each type.
|
78
|
+
*/
|
79
|
+
_types = [];
|
80
|
+
//--------------------------------------------------------------------------
|
81
|
+
//
|
82
|
+
// Watch handlers
|
83
|
+
//
|
84
|
+
//--------------------------------------------------------------------------
|
85
|
+
async templateInfosWatchHandler() {
|
86
|
+
this._types = [];
|
87
|
+
this._sortedTemplateInfos = this._sortTemplates();
|
88
|
+
}
|
89
|
+
//--------------------------------------------------------------------------
|
90
|
+
//
|
91
|
+
// Methods (public)
|
92
|
+
//
|
93
|
+
//--------------------------------------------------------------------------
|
94
|
+
//--------------------------------------------------------------------------
|
95
|
+
//
|
96
|
+
// Events (public)
|
97
|
+
//
|
98
|
+
//--------------------------------------------------------------------------
|
99
|
+
//--------------------------------------------------------------------------
|
100
|
+
//
|
101
|
+
// Functions (lifecycle)
|
102
|
+
//
|
103
|
+
//--------------------------------------------------------------------------
|
104
|
+
/**
|
105
|
+
* StencilJS: Called once just after the component is first connected to the DOM.
|
106
|
+
*/
|
107
|
+
async componentWillLoad() {
|
108
|
+
await this._getTranslations();
|
109
|
+
}
|
110
|
+
/**
|
111
|
+
* StencilJS: Called before each render
|
112
|
+
*/
|
113
|
+
async componentWillRender() {
|
114
|
+
if (this._sortedTemplateInfos.length === 0 && this.templateInfos?.length > 0) {
|
115
|
+
this._sortedTemplateInfos = this._sortTemplates();
|
116
|
+
}
|
117
|
+
}
|
118
|
+
/**
|
119
|
+
* Renders the component.
|
120
|
+
*/
|
121
|
+
render() {
|
122
|
+
return (h(Host, { key: 'c9fea75fb3cd0558366bb086eccb28c4e2b7b07d' }, this._getAccordion()));
|
123
|
+
}
|
124
|
+
//--------------------------------------------------------------------------
|
125
|
+
//
|
126
|
+
// Functions (protected)
|
127
|
+
//
|
128
|
+
//--------------------------------------------------------------------------
|
129
|
+
/**
|
130
|
+
* Get the Accordion component
|
131
|
+
*
|
132
|
+
* @returns the Accordion component
|
133
|
+
*
|
134
|
+
* @protected
|
135
|
+
*/
|
136
|
+
_getAccordion() {
|
137
|
+
return (h("calcite-accordion", null, this._sortedTemplateInfos.reduce((prev, cur) => {
|
138
|
+
if (this._types.indexOf(cur.type) < 0) {
|
139
|
+
this._types.push(cur.type);
|
140
|
+
prev.push(this._getAccordionItem(cur));
|
141
|
+
}
|
142
|
+
return prev;
|
143
|
+
}, [])));
|
144
|
+
}
|
145
|
+
/**
|
146
|
+
* Get the Accordion Item component with the appropriate icon and template type
|
147
|
+
* Only one accordion item per type.
|
148
|
+
*
|
149
|
+
* @returns the Accordion Item component
|
150
|
+
*
|
151
|
+
* @protected
|
152
|
+
*/
|
153
|
+
_getAccordionItem(templateInfo) {
|
154
|
+
const templateInfos = this._sortedTemplateInfos.filter(t => t.type === templateInfo.type);
|
155
|
+
return (h("calcite-accordion-item", { description: `${templateInfo.type} (${templateInfos.length})` }, h("solution-item-icon", { class: "padding-start-1", slot: "actions-start", type: templateInfo.type, typeKeywords: templateInfo.typeKeywords }), this._getList(templateInfos)));
|
156
|
+
}
|
157
|
+
/**
|
158
|
+
* Get the list of template infos for the current type
|
159
|
+
*
|
160
|
+
* @param templateInfos filtered list of templateInfos for the current type
|
161
|
+
*
|
162
|
+
* @returns the List component
|
163
|
+
*
|
164
|
+
* @protected
|
165
|
+
*/
|
166
|
+
_getList(templateInfos) {
|
167
|
+
return (h("calcite-list", { class: "padding-start-1" }, templateInfos.map(t => this._getListItem(t))));
|
168
|
+
}
|
169
|
+
/**
|
170
|
+
* Get list item for the current type
|
171
|
+
*
|
172
|
+
* @param templateInfo the current templateInfo to handle
|
173
|
+
*
|
174
|
+
* @returns the List item component
|
175
|
+
*
|
176
|
+
* @protected
|
177
|
+
*/
|
178
|
+
_getListItem(templateInfo) {
|
179
|
+
return (h("calcite-list-item", { description: templateInfo.description, label: templateInfo.title, value: templateInfo.id }));
|
180
|
+
}
|
181
|
+
/**
|
182
|
+
* Sort the templates based on the defined order in _sortOrder
|
183
|
+
*
|
184
|
+
* @returns the sorted templates
|
185
|
+
*
|
186
|
+
* @protected
|
187
|
+
*/
|
188
|
+
_sortTemplates() {
|
189
|
+
return this.templateInfos.sort((a, b) => {
|
190
|
+
const aType = this._updateType(a);
|
191
|
+
const bType = this._updateType(b);
|
192
|
+
const indexA = this._sortOrder.indexOf(aType);
|
193
|
+
const indexB = this._sortOrder.indexOf(bType);
|
194
|
+
return indexA - indexB;
|
195
|
+
});
|
196
|
+
}
|
197
|
+
/**
|
198
|
+
* Some template types are displayed with a value that is different than the stored type value.
|
199
|
+
* This function will catch and update the type value to match how we would like it sorted and displayed.
|
200
|
+
*
|
201
|
+
* @returns the sorted templates
|
202
|
+
*
|
203
|
+
* @protected
|
204
|
+
*/
|
205
|
+
_updateType(templateInfo) {
|
206
|
+
let updatedType = templateInfo.type;
|
207
|
+
if (templateInfo.type === "Feature Service") {
|
208
|
+
updatedType = templateInfo.typeKeywords.indexOf("View Service") > -1 ?
|
209
|
+
"Feature Layer (hosted, view)" : "Feature Layer (hosted)";
|
210
|
+
}
|
211
|
+
if (templateInfo.type === "Web Mapping Application") {
|
212
|
+
updatedType = templateInfo.typeKeywords.indexOf("configurableApp") > -1 ?
|
213
|
+
"Instant App" : updatedType;
|
214
|
+
}
|
215
|
+
templateInfo.type = templateInfo.type === "Geoprocessing Service" ? "Tool" :
|
216
|
+
templateInfo.type === "Vector Tile Service" ? "Tile Layer" : updatedType;
|
217
|
+
if (this._sortOrder.indexOf(updatedType) < 0) {
|
218
|
+
// If we encounter an item type that is not in the list
|
219
|
+
// put it between the "Desktop Application Template" and "Web Map" section
|
220
|
+
// Do not set this as the templates type value as we want its actual type to be displayed
|
221
|
+
// this is just used for sorting
|
222
|
+
updatedType = "TypeNotFound";
|
223
|
+
}
|
224
|
+
return updatedType;
|
225
|
+
}
|
226
|
+
/**
|
227
|
+
* Fetches the component's translations
|
228
|
+
*
|
229
|
+
* @returns Promise when complete
|
230
|
+
* @protected
|
231
|
+
*/
|
232
|
+
async _getTranslations() {
|
233
|
+
const messages = await getLocaleComponentStrings(this.el);
|
234
|
+
this._translations = messages[0];
|
235
|
+
}
|
236
|
+
static get is() { return "solution-item-accordion"; }
|
237
|
+
static get encapsulation() { return "shadow"; }
|
238
|
+
static get originalStyleUrls() {
|
239
|
+
return {
|
240
|
+
"$": ["solution-item-accordion.css"]
|
241
|
+
};
|
242
|
+
}
|
243
|
+
static get styleUrls() {
|
244
|
+
return {
|
245
|
+
"$": ["solution-item-accordion.css"]
|
246
|
+
};
|
247
|
+
}
|
248
|
+
static get properties() {
|
249
|
+
return {
|
250
|
+
"templateInfos": {
|
251
|
+
"type": "unknown",
|
252
|
+
"mutable": false,
|
253
|
+
"complexType": {
|
254
|
+
"original": "ITemplateInfo[]",
|
255
|
+
"resolved": "ITemplateInfo[]",
|
256
|
+
"references": {
|
257
|
+
"ITemplateInfo": {
|
258
|
+
"location": "import",
|
259
|
+
"path": "../../utils/interfaces",
|
260
|
+
"id": "src/utils/interfaces.ts::ITemplateInfo"
|
261
|
+
}
|
262
|
+
}
|
263
|
+
},
|
264
|
+
"required": false,
|
265
|
+
"optional": false,
|
266
|
+
"docs": {
|
267
|
+
"tags": [],
|
268
|
+
"text": "ITemplateInfo[]: Collection of template infos"
|
269
|
+
},
|
270
|
+
"defaultValue": "[]"
|
271
|
+
}
|
272
|
+
};
|
273
|
+
}
|
274
|
+
static get states() {
|
275
|
+
return {
|
276
|
+
"_sortedTemplateInfos": {},
|
277
|
+
"_translations": {}
|
278
|
+
};
|
279
|
+
}
|
280
|
+
static get elementRef() { return "el"; }
|
281
|
+
static get watchers() {
|
282
|
+
return [{
|
283
|
+
"propName": "templateInfos",
|
284
|
+
"methodName": "templateInfosWatchHandler"
|
285
|
+
}];
|
286
|
+
}
|
287
|
+
}
|
@@ -67,7 +67,7 @@ export class SolutionItemDetails {
|
|
67
67
|
* Renders the component.
|
68
68
|
*/
|
69
69
|
render() {
|
70
|
-
return (h(Host, { key: '
|
70
|
+
return (h(Host, { key: '84bfa00fcedb54a43856c92e8446305d15d1a54a' }, h("div", { key: 'bceaddf6dcc35e5a22cad12e661c17f716fd165e', class: "parent-container" }, h("div", { key: '17834a249ffbbbd3ee54617fa2f2224816dd59b1', class: "inputBottomSeparation" }, h("calcite-input", { key: '372ceefe695e7c54a4ad35cf5b496202037fd57c', id: "item-title", value: this.itemDetails.title })), h("div", { key: 'fc356bd1e3bb965b7555dcea9fccfce44ca96a31', class: "inputBottomSeparation" }, h("input", { key: '11dc51158e385025d139372682b33d2093956a50', accept: ".jpg,.gif,.png,image/jpg,image/gif,image/png", class: "display-none", onChange: (event) => (this._updateThumbnail(event)), ref: (el) => (this.browseForThumbnail = el), type: "file" }), h("button", { key: 'abc5c96ec20adb16026fd6a7c3eb41871512d360', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, h("svg", { key: '35ce23e7fe17e7f45110e028ddb0c31e033f6f34', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, h("path", { key: '0bab7e61e1261db38a1a62dd085f63de5993a640', d: "M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" })), this._translations.editThumbnail), h("div", { key: '4dff94a716f70a350168ae123f0afb41f360fb3b', class: "flex" }, h("div", { key: 'bda8e51d80a72f221eb02ea915609b1e2175a56f', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, h("img", { key: '3b606e141fae758b24d6114d7433cfdec9570ba9', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), h("div", { key: '3f5c6fd680a45c754e2b798566776363e94bf307', class: "snippet-count-container" }, h("calcite-input", { key: '3d35c224c6d8b34483712e392aeca8a87e0d0810', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), h("label", { key: '1aecd6515a83c523c991d5ccd9516ff14384a13a', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), h("calcite-label", { key: '3052a4847edc5afd336a763e8e6933694aad9d6d' }, this._translations.description, h("label", { key: '595de020ea7e1e5b61296f7c9b17f1a02a0741e0', id: "item-description-label" }, h("calcite-input", { key: '135cb36c76f6462aa470f9b7680ebefa6be60018', id: "item-description", type: "textarea", value: this.itemDetails.description }))), h("calcite-label", { key: '8f51b5f1d2607e040b6a94920d2f581b3595838f' }, this._translations.tags, h("label", { key: '21b84a7bcb9d5b8b56e7b6ccee0b49e940e1faf3', id: "item-tags-label" }, h("calcite-input", { key: '8f3b14471019c703944e531abca80b01751b04e1', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? h("calcite-label", null, this._translations.credits, h("label", { id: "item-credits-label" }, h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? h("calcite-label", null, h("label", { id: "item-terms-label" }, this._translations.termsOfUse, h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
|
71
71
|
}
|
72
72
|
componentDidRender() {
|
73
73
|
this._loadThumb();
|
@@ -40,7 +40,7 @@ export class SolutionItemIcon {
|
|
40
40
|
* Renders the component.
|
41
41
|
*/
|
42
42
|
render() {
|
43
|
-
return h("div", { key: '
|
43
|
+
return h("div", { key: '79a661148dd8e3bd73229b642b8253c525e3d747', title: this.type }, h("img", { key: 'e0b21dbd11b8edc4abfdb9af39b40c774b830753', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
|
44
44
|
}
|
45
45
|
//--------------------------------------------------------------------------
|
46
46
|
//
|
@@ -52,7 +52,7 @@ export class SolutionItemSharing {
|
|
52
52
|
* Renders the component.
|
53
53
|
*/
|
54
54
|
render() {
|
55
|
-
return (h(Host, { key: '
|
55
|
+
return (h(Host, { key: '6a9facacd8961a53dd4e49082def5573732d49bf' }, h("div", { key: '6eaf512253573a4db25ec64ebe1439228df4845d', class: "container-border" }, h("calcite-label", { key: 'db5680d010759bdb28b774293b8ae1522c9d8052' }, this._translations.groupInfo), this._renderItems(this.sharing))));
|
56
56
|
}
|
57
57
|
//--------------------------------------------------------------------------
|
58
58
|
//
|
@@ -50,7 +50,7 @@ export class SolutionOrganizationVariables {
|
|
50
50
|
* Renders the component.
|
51
51
|
*/
|
52
52
|
render() {
|
53
|
-
return (h(Host, { key: '
|
53
|
+
return (h(Host, { key: '99ef09d7f851a57d42c7f7ad5cd6e303b9508d17' }, h("div", { key: '7217187249febdbbf3899d96cdbb2a45474343b7' }, h("h4", { key: 'd5d01648936de6726d7422f81f58ad998574ea87', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: '22d6f7fb4b0d8f570dbcf9dcac08dce7e2f6383e', class: "container-border" }, h("calcite-tree", { key: '5f21f4fc4b378da1b144dbeb1e19df2f43bcee61', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
|
54
54
|
}
|
55
55
|
//--------------------------------------------------------------------------
|
56
56
|
//
|
@@ -61,7 +61,7 @@ export class SolutionResourceItem {
|
|
61
61
|
*/
|
62
62
|
render() {
|
63
63
|
const hasValidResources = this._hasValidResources();
|
64
|
-
return (h(Host, { key: '
|
64
|
+
return (h(Host, { key: 'eb76345d460620ea6229c1ac94eaf5dec9943c1e' }, h("div", { key: '8dfb91c0ca0d4201940e29bcb809002da1cd9d76', class: "resource-item" }, h("div", { key: 'a6ec9664d267c25eada0432e6825369fdc82676f', class: "margin-bottom-1" }, h("calcite-button", { key: 'd84827e9dbe4ad68544430c007b28c5e9929e076', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: 'd88b2928ca6994054f899823701327ece50a937b', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '445c0c3e2deb3b546f4c84186a148e8888477d13', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
|
65
65
|
}
|
66
66
|
_removedResources = {};
|
67
67
|
//--------------------------------------------------------------------------
|
@@ -61,7 +61,7 @@ export class SolutionSpatialRef {
|
|
61
61
|
}
|
62
62
|
render() {
|
63
63
|
this._updateUIFromStore();
|
64
|
-
return (h(Host, { key: '
|
64
|
+
return (h(Host, { key: 'ca1dd62000a2fdbd82a00830fc3ac94b47db73f7' }, h("label", { key: 'fa1ca79af87525ce25a6acf0a5b6a093429f5b77', class: "switch-label" }, h("calcite-switch", { key: '8dbcdbc8f417dfe1a05578fc9bbf3417ae93abfb', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), h("br", { key: 'd3c2296bf3568e7b5b167fe0516184ae0c2d26f1' }), h("div", { key: 'fee9eac900cae65363658fa769347c3db0783007', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), h("label", { key: '317e1422cdcb2147a961f2edfbcedb30c4246f6d', class: "switch-label spatial-ref-component" }, h("calcite-switch", { key: '6f0b7eb7216d0a663e5f2d436b7523b2d2301841', checked: this.enableDefault, class: "spatial-ref-switch", disabled: !this.enabled, onCalciteSwitchChange: (event) => this.enableDefault = event.target.checked, scale: "m" }), this._translations.enableDefaultSpatialReference)));
|
65
65
|
}
|
66
66
|
//--------------------------------------------------------------------------
|
67
67
|
//
|
@@ -77,7 +77,7 @@ export class SolutionTemplateData {
|
|
77
77
|
* Renders the component.
|
78
78
|
*/
|
79
79
|
render() {
|
80
|
-
return (h(Host, { key: '
|
80
|
+
return (h(Host, { key: '78d31b01a7b3aac5e3b63ec59fa0225e662c3532' }, h("div", { key: '84ad00f60d5ad98fc14fad50b2db93844e54a842', class: "solution-data-container" }, h("calcite-shell", { key: '0e56c32e9ba92e9e536ce16f30db4e59d1c71094', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: 'ab251fe749493d11b61359f3f018fa87917d83c6', class: "json-editor" }, h("div", { key: '94be603b8c03bccbcc31293839d633ffa0ca5b15', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: '76a5a31ae0dc54d59a300e0d6cc6b543e994d322', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), h("calcite-shell-panel", { key: '5405b6aa574c721965bbdd4aabf90981f82c7da7', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: 'e7b57aa1f91e479a7538b5bb60fff9ff096bc9c9', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, h("calcite-button", { key: 'ddd017fee5c66d79cd2c6239b847aacef9e04070', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: 'a45aec86952e3172c76153b01a54076d97050de9', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: 'e138b7ec4c256c916ef52cef6d17f0d9a839d506', value: this.organizationVariables })), h("div", { key: '9444585d82bc85f2cf535ecc8921b2d3f67b398d', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: '030de51ff885c3ddf549fc4898c31ec23bb0d303', value: this.solutionVariables }))))))));
|
81
81
|
}
|
82
82
|
_initializing = false;
|
83
83
|
//--------------------------------------------------------------------------
|
@@ -50,7 +50,7 @@ export class SolutionVariables {
|
|
50
50
|
* Renders the component.
|
51
51
|
*/
|
52
52
|
render() {
|
53
|
-
return (h(Host, { key: '
|
53
|
+
return (h(Host, { key: '5d3ed27bced41fb6bf6c393ddde152fb0056d25b' }, h("div", { key: 'cb05d3c237719abd539b21b38968a41364c1880e' }, h("h4", { key: '367eb15af209dfed31b43f705fb6de05e25bb374', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: '10142202269a9f2eaa82c0b50a1980d9f3051208', class: "container-border" }, h("calcite-tree", { key: 'd89353a7fe357851a697df036ae7795154254759', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
|
54
54
|
}
|
55
55
|
//--------------------------------------------------------------------------
|
56
56
|
//
|
@@ -70,7 +70,7 @@ export class SpatialRef {
|
|
70
70
|
* Renders the component.
|
71
71
|
*/
|
72
72
|
render() {
|
73
|
-
return (h(Host, { key: '
|
73
|
+
return (h(Host, { key: 'f723d08854c429ea7eb3e9c5588089a5dd614440' }, h("div", { key: '5f91149d48e5df3f01479bec291d97c569ffd5d7' }, h("calcite-input", { key: 'fa6cd1622e62b9c830999afc0940adddabbcc2c2', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), h("calcite-tree", { key: '02e651be4895c57ddb0fbf319c5a41b5dc39472c', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
|
74
74
|
}
|
75
75
|
_lastHighlightedSref;
|
76
76
|
//--------------------------------------------------------------------------
|