@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
@@ -732,7 +732,7 @@ const MapPicker = class {
|
|
732
732
|
_getMapPicker() {
|
733
733
|
const id = "map-picker-expand-toggle";
|
734
734
|
const mapListIcon = this._mapListExpanded ? "chevron-up" : "chevron-down";
|
735
|
-
return (index.h("div", { class: "width-full" }, index.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), index.h("calcite-tooltip", {
|
735
|
+
return (index.h("div", { class: "width-full" }, index.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), index.h("calcite-tooltip", { placement: "bottom", "reference-element": id }, index.h("span", null, this._translations.switchMap))));
|
736
736
|
}
|
737
737
|
/**
|
738
738
|
* Create the toolbar (controls used for map and app interactions)
|
@@ -8,15 +8,96 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-5a0af791.js');
|
11
|
+
const observers = require('./observers-5f9f67ee.js');
|
11
12
|
const conditionalSlot = require('./conditionalSlot-2d2541f4.js');
|
12
13
|
const dom = require('./dom-3d3a8f25.js');
|
13
14
|
const resources = require('./resources-f11e9bd6.js');
|
14
15
|
const component = require('./component-7f2bd646.js');
|
15
16
|
const loadable = require('./loadable-0e357195.js');
|
16
|
-
require('./observers-5f9f67ee.js');
|
17
17
|
require('./browser-2893460e.js');
|
18
18
|
require('./guid-42cda8c9.js');
|
19
19
|
|
20
|
+
/*!
|
21
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
22
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
23
|
+
* v2.12.2
|
24
|
+
*/
|
25
|
+
const CSS$1 = {
|
26
|
+
accordion: "accordion",
|
27
|
+
transparent: "accordion--transparent",
|
28
|
+
};
|
29
|
+
|
30
|
+
const accordionCss = ":host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2));background-color:var(--calcite-accordion-background-color, var(--calcite-color-foreground-1))}.accordion--transparent{--calcite-accordion-border-color:transparent;border-color:var(--calcite-color-transparent);background-color:var(--calcite-color-transparent)}:host([scale=s]){--calcite-internal-accordion-item-spacing-unit:0.25rem;--calcite-internal-accordion-icon-margin:0.5rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-accordion-item-spacing-unit:0.5rem;--calcite-internal-accordion-icon-margin:0.75rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-accordion-item-spacing-unit:0.75rem;--calcite-internal-accordion-icon-margin:1rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([hidden]){display:none}[hidden]{display:none}";
|
31
|
+
const CalciteAccordionStyle0 = accordionCss;
|
32
|
+
|
33
|
+
const Accordion = class {
|
34
|
+
constructor(hostRef) {
|
35
|
+
index.registerInstance(this, hostRef);
|
36
|
+
this.calciteInternalAccordionChange = index.createEvent(this, "calciteInternalAccordionChange", 6);
|
37
|
+
this.mutationObserver = observers.createObserver("mutation", () => this.updateAccordionItems());
|
38
|
+
this.appearance = "solid";
|
39
|
+
this.iconPosition = "end";
|
40
|
+
this.iconType = "chevron";
|
41
|
+
this.scale = "m";
|
42
|
+
this.selectionMode = "multiple";
|
43
|
+
}
|
44
|
+
handlePropsChange() {
|
45
|
+
this.updateAccordionItems();
|
46
|
+
}
|
47
|
+
//--------------------------------------------------------------------------
|
48
|
+
//
|
49
|
+
// Lifecycle
|
50
|
+
//
|
51
|
+
//--------------------------------------------------------------------------
|
52
|
+
connectedCallback() {
|
53
|
+
this.mutationObserver?.observe(this.el, { childList: true });
|
54
|
+
this.updateAccordionItems();
|
55
|
+
}
|
56
|
+
disconnectedCallback() {
|
57
|
+
this.mutationObserver?.disconnect();
|
58
|
+
}
|
59
|
+
render() {
|
60
|
+
const transparent = this.appearance === "transparent";
|
61
|
+
return (index.h("div", { key: '1399ab312fad432bde78fdedd0435848b53109ef', class: {
|
62
|
+
[CSS$1.transparent]: transparent,
|
63
|
+
[CSS$1.accordion]: !transparent,
|
64
|
+
} }, index.h("slot", { key: '3ab7863d23eabb6c5ce499de42dab74df885ccdd' })));
|
65
|
+
}
|
66
|
+
//--------------------------------------------------------------------------
|
67
|
+
//
|
68
|
+
// Event Listeners
|
69
|
+
//
|
70
|
+
//--------------------------------------------------------------------------
|
71
|
+
updateActiveItemOnChange(event) {
|
72
|
+
this.calciteInternalAccordionChange.emit({
|
73
|
+
requestedAccordionItem: event.detail.requestedAccordionItem,
|
74
|
+
});
|
75
|
+
event.stopPropagation();
|
76
|
+
}
|
77
|
+
//--------------------------------------------------------------------------
|
78
|
+
//
|
79
|
+
// Private Methods
|
80
|
+
//
|
81
|
+
//--------------------------------------------------------------------------
|
82
|
+
updateAccordionItems() {
|
83
|
+
this.el.querySelectorAll("calcite-accordion-item").forEach((item) => {
|
84
|
+
item.iconPosition = this.iconPosition;
|
85
|
+
item.iconType = this.iconType;
|
86
|
+
item.scale = this.scale;
|
87
|
+
});
|
88
|
+
// sync props on items across shadow DOM
|
89
|
+
document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"));
|
90
|
+
}
|
91
|
+
get el() { return index.getElement(this); }
|
92
|
+
static get watchers() { return {
|
93
|
+
"iconPosition": ["handlePropsChange"],
|
94
|
+
"iconType": ["handlePropsChange"],
|
95
|
+
"scale": ["handlePropsChange"],
|
96
|
+
"selectionMode": ["handlePropsChange"]
|
97
|
+
}; }
|
98
|
+
};
|
99
|
+
Accordion.style = CalciteAccordionStyle0;
|
100
|
+
|
20
101
|
/*!
|
21
102
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
22
103
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
@@ -199,4 +280,5 @@ const AccordionItem = class {
|
|
199
280
|
};
|
200
281
|
AccordionItem.style = CalciteAccordionItemStyle0;
|
201
282
|
|
283
|
+
exports.calcite_accordion = Accordion;
|
202
284
|
exports.calcite_accordion_item = AccordionItem;
|
@@ -19,7 +19,7 @@ const interactive = require('./interactive-3b85d8df.js');
|
|
19
19
|
const resources$1 = require('./resources-4c3e1c50.js');
|
20
20
|
const locale$1 = require('./locale-a09603ee.js');
|
21
21
|
const mapViewUtils = require('./mapViewUtils-18c46b84.js');
|
22
|
-
const popupUtils = require('./popupUtils-
|
22
|
+
const popupUtils = require('./popupUtils-24306e6b.js');
|
23
23
|
require('./guid-42cda8c9.js');
|
24
24
|
require('./resources-f11e9bd6.js');
|
25
25
|
require('./browser-2893460e.js');
|
@@ -28,7 +28,7 @@ require('./observers-5f9f67ee.js');
|
|
28
28
|
require('./esri-loader-08dc41bd.js');
|
29
29
|
require('./_commonjsHelpers-baf43783.js');
|
30
30
|
require('./interfaces-09c4c40e.js');
|
31
|
-
require('./downloadUtils-
|
31
|
+
require('./downloadUtils-17f08e5e.js');
|
32
32
|
require('./solution-resource-40e70253.js');
|
33
33
|
require('./index-f052f656.js');
|
34
34
|
require('./restHelpersGet-5c2245a3.js');
|
@@ -1379,7 +1379,8 @@ const MapLayerPicker = class {
|
|
1379
1379
|
* @returns Calcite label with the layer name and icon
|
1380
1380
|
*/
|
1381
1381
|
_getSingleLayerPlaceholder() {
|
1382
|
-
|
1382
|
+
const itemTypeIcon = this._getItemTypeIcon();
|
1383
|
+
return (index.h("div", { class: "layer-picker-label-container cursor-default" }, index.h("calcite-icon", { icon: itemTypeIcon, scale: "s" }), index.h("calcite-label", { class: "no-bottom-margin padding-start-1" }, this.selectedName)));
|
1383
1384
|
}
|
1384
1385
|
/**
|
1385
1386
|
* Create a list of layers from the map
|
@@ -1427,10 +1428,24 @@ const MapLayerPicker = class {
|
|
1427
1428
|
* @returns the node for the button
|
1428
1429
|
*/
|
1429
1430
|
_getDropdownButton() {
|
1431
|
+
const itemTypeIcon = this._getItemTypeIcon();
|
1430
1432
|
const buttonClass = this.isMobile ? "" : "max-width-350";
|
1431
1433
|
const buttonSlot = this.isMobile ? "trigger" : "";
|
1432
1434
|
const buttonIcon = this._isDropdownOpen ? "chevron-up" : "chevron-down";
|
1433
|
-
return (index.h("calcite-button", { alignment: "icon-end-space-between", appearance: this.appearance, class: buttonClass, iconEnd: buttonIcon, iconStart:
|
1435
|
+
return (index.h("calcite-button", { alignment: "icon-end-space-between", appearance: this.appearance, class: buttonClass, iconEnd: buttonIcon, iconStart: itemTypeIcon, kind: "neutral", slot: buttonSlot, width: "full" }, index.h("div", null, this.selectedName)));
|
1436
|
+
}
|
1437
|
+
/**
|
1438
|
+
* Get the appropriate icon based on the selected layer or table
|
1439
|
+
*
|
1440
|
+
* @returns a string for the appropriate icon
|
1441
|
+
*/
|
1442
|
+
_getItemTypeIcon() {
|
1443
|
+
let itemTypeIcon = "layers";
|
1444
|
+
if (this.selectedIds.length > 0) {
|
1445
|
+
const id = this.selectedIds[0];
|
1446
|
+
itemTypeIcon = Object.keys(this._layerNameHash).indexOf(id) > -1 ? "layers" : "table";
|
1447
|
+
}
|
1448
|
+
return itemTypeIcon;
|
1434
1449
|
}
|
1435
1450
|
/**
|
1436
1451
|
* Get the appropriate type of dom nodes for each valid layer or table
|
@@ -2208,7 +2208,7 @@ const SolutionItemDetails = class {
|
|
2208
2208
|
* Renders the component.
|
2209
2209
|
*/
|
2210
2210
|
render() {
|
2211
|
-
return (index.h(index.Host, { key: '
|
2211
|
+
return (index.h(index.Host, { key: '84bfa00fcedb54a43856c92e8446305d15d1a54a' }, index.h("div", { key: 'bceaddf6dcc35e5a22cad12e661c17f716fd165e', class: "parent-container" }, index.h("div", { key: '17834a249ffbbbd3ee54617fa2f2224816dd59b1', class: "inputBottomSeparation" }, index.h("calcite-input", { key: '372ceefe695e7c54a4ad35cf5b496202037fd57c', id: "item-title", value: this.itemDetails.title })), index.h("div", { key: 'fc356bd1e3bb965b7555dcea9fccfce44ca96a31', class: "inputBottomSeparation" }, index.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" }), index.h("button", { key: 'abc5c96ec20adb16026fd6a7c3eb41871512d360', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, index.h("svg", { key: '35ce23e7fe17e7f45110e028ddb0c31e033f6f34', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, index.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), index.h("div", { key: '4dff94a716f70a350168ae123f0afb41f360fb3b', class: "flex" }, index.h("div", { key: 'bda8e51d80a72f221eb02ea915609b1e2175a56f', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, index.h("img", { key: '3b606e141fae758b24d6114d7433cfdec9570ba9', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), index.h("div", { key: '3f5c6fd680a45c754e2b798566776363e94bf307', class: "snippet-count-container" }, index.h("calcite-input", { key: '3d35c224c6d8b34483712e392aeca8a87e0d0810', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), index.h("label", { key: '1aecd6515a83c523c991d5ccd9516ff14384a13a', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), index.h("calcite-label", { key: '3052a4847edc5afd336a763e8e6933694aad9d6d' }, this._translations.description, index.h("label", { key: '595de020ea7e1e5b61296f7c9b17f1a02a0741e0', id: "item-description-label" }, index.h("calcite-input", { key: '135cb36c76f6462aa470f9b7680ebefa6be60018', id: "item-description", type: "textarea", value: this.itemDetails.description }))), index.h("calcite-label", { key: '8f51b5f1d2607e040b6a94920d2f581b3595838f' }, this._translations.tags, index.h("label", { key: '21b84a7bcb9d5b8b56e7b6ccee0b49e940e1faf3', id: "item-tags-label" }, index.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" ? index.h("calcite-label", null, this._translations.credits, index.h("label", { id: "item-credits-label" }, index.h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? index.h("calcite-label", null, index.h("label", { id: "item-terms-label" }, this._translations.termsOfUse, index.h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
|
2212
2212
|
}
|
2213
2213
|
componentDidRender() {
|
2214
2214
|
this._loadThumb();
|
@@ -2386,7 +2386,7 @@ const SolutionItemSharing = class {
|
|
2386
2386
|
* Renders the component.
|
2387
2387
|
*/
|
2388
2388
|
render() {
|
2389
|
-
return (index.h(index.Host, { key: '
|
2389
|
+
return (index.h(index.Host, { key: '6a9facacd8961a53dd4e49082def5573732d49bf' }, index.h("div", { key: '6eaf512253573a4db25ec64ebe1439228df4845d', class: "container-border" }, index.h("calcite-label", { key: 'db5680d010759bdb28b774293b8ae1522c9d8052' }, this._translations.groupInfo), this._renderItems(this.sharing))));
|
2390
2390
|
}
|
2391
2391
|
//--------------------------------------------------------------------------
|
2392
2392
|
//
|
@@ -2505,7 +2505,7 @@ const SolutionOrganizationVariables = class {
|
|
2505
2505
|
* Renders the component.
|
2506
2506
|
*/
|
2507
2507
|
render() {
|
2508
|
-
return (index.h(index.Host, { key: '
|
2508
|
+
return (index.h(index.Host, { key: '99ef09d7f851a57d42c7f7ad5cd6e303b9508d17' }, index.h("div", { key: '7217187249febdbbf3899d96cdbb2a45474343b7' }, index.h("h4", { key: 'd5d01648936de6726d7422f81f58ad998574ea87', class: "org-var-header" }, this._translations.orgVariables)), index.h("div", { key: '22d6f7fb4b0d8f570dbcf9dcac08dce7e2f6383e', class: "container-border" }, index.h("calcite-tree", { key: '5f21f4fc4b378da1b144dbeb1e19df2f43bcee61', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
|
2509
2509
|
}
|
2510
2510
|
//--------------------------------------------------------------------------
|
2511
2511
|
//
|
@@ -2603,7 +2603,7 @@ const SolutionResourceItem = class {
|
|
2603
2603
|
*/
|
2604
2604
|
render() {
|
2605
2605
|
const hasValidResources = this._hasValidResources();
|
2606
|
-
return (index.h(index.Host, { key: '
|
2606
|
+
return (index.h(index.Host, { key: 'eb76345d460620ea6229c1ac94eaf5dec9943c1e' }, index.h("div", { key: '8dfb91c0ca0d4201940e29bcb809002da1cd9d76', class: "resource-item" }, index.h("div", { key: 'a6ec9664d267c25eada0432e6825369fdc82676f', class: "margin-bottom-1" }, index.h("calcite-button", { key: 'd84827e9dbe4ad68544430c007b28c5e9929e076', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), index.h("calcite-button", { key: 'd88b2928ca6994054f899823701327ece50a937b', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), index.h("div", { key: '445c0c3e2deb3b546f4c84186a148e8888477d13', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
|
2607
2607
|
}
|
2608
2608
|
_removedResources = {};
|
2609
2609
|
//--------------------------------------------------------------------------
|
@@ -2885,7 +2885,7 @@ const SolutionTemplateData = class {
|
|
2885
2885
|
* Renders the component.
|
2886
2886
|
*/
|
2887
2887
|
render() {
|
2888
|
-
return (index.h(index.Host, { key: '
|
2888
|
+
return (index.h(index.Host, { key: '78d31b01a7b3aac5e3b63ec59fa0225e662c3532' }, index.h("div", { key: '84ad00f60d5ad98fc14fad50b2db93844e54a842', class: "solution-data-container" }, index.h("calcite-shell", { key: '0e56c32e9ba92e9e536ce16f30db4e59d1c71094', class: "light var-container", dir: "ltr" }, index.h("calcite-panel", { key: 'ab251fe749493d11b61359f3f018fa87917d83c6', class: "json-editor" }, index.h("div", { key: '94be603b8c03bccbcc31293839d633ffa0ca5b15', class: "solution-data-child-container calcite-match-height" }, index.h("json-editor", { key: '76a5a31ae0dc54d59a300e0d6cc6b543e994d322', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), index.h("calcite-shell-panel", { key: '5405b6aa574c721965bbdd4aabf90981f82c7da7', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, index.h("div", { key: 'e7b57aa1f91e479a7538b5bb60fff9ff096bc9c9', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, index.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 }), index.h("div", { key: 'a45aec86952e3172c76153b01a54076d97050de9', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, index.h("solution-organization-variables", { key: 'e138b7ec4c256c916ef52cef6d17f0d9a839d506', value: this.organizationVariables })), index.h("div", { key: '9444585d82bc85f2cf535ecc8921b2d3f67b398d', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, index.h("solution-variables", { key: '030de51ff885c3ddf549fc4898c31ec23bb0d303', value: this.solutionVariables }))))))));
|
2889
2889
|
}
|
2890
2890
|
_initializing = false;
|
2891
2891
|
//--------------------------------------------------------------------------
|
@@ -2959,7 +2959,7 @@ const SolutionVariables = class {
|
|
2959
2959
|
* Renders the component.
|
2960
2960
|
*/
|
2961
2961
|
render() {
|
2962
|
-
return (index.h(index.Host, { key: '
|
2962
|
+
return (index.h(index.Host, { key: '5d3ed27bced41fb6bf6c393ddde152fb0056d25b' }, index.h("div", { key: 'cb05d3c237719abd539b21b38968a41364c1880e' }, index.h("h4", { key: '367eb15af209dfed31b43f705fb6de05e25bb374', class: "org-var-header" }, this._translations.solVariables)), index.h("div", { key: '10142202269a9f2eaa82c0b50a1980d9f3051208', class: "container-border" }, index.h("calcite-tree", { key: 'd89353a7fe357851a697df036ae7795154254759', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
|
2963
2963
|
}
|
2964
2964
|
//--------------------------------------------------------------------------
|
2965
2965
|
//
|
@@ -612,322 +612,5 @@ const TreeItem = class {
|
|
612
612
|
};
|
613
613
|
TreeItem.style = CalciteTreeItemStyle0;
|
614
614
|
|
615
|
-
const solutionItemIconCss = ".item-type-icon{pointer-events:none;display:block;height:1rem;margin-top:0.15em !important;min-width:16px;fill:currentColor;transform:rotate(360deg)}.item-type-icon-margin{margin-inline-end:0.375rem}";
|
616
|
-
const SolutionItemIconStyle0 = solutionItemIconCss;
|
617
|
-
|
618
|
-
const SolutionItemIcon = class {
|
619
|
-
constructor(hostRef) {
|
620
|
-
index.registerInstance(this, hostRef);
|
621
|
-
this.isPortal = false;
|
622
|
-
this.type = "";
|
623
|
-
this.typeKeywords = [];
|
624
|
-
}
|
625
|
-
get el() { return index.getElement(this); }
|
626
|
-
//--------------------------------------------------------------------------
|
627
|
-
//
|
628
|
-
// Lifecycle
|
629
|
-
//
|
630
|
-
//--------------------------------------------------------------------------
|
631
|
-
/**
|
632
|
-
* Renders the component.
|
633
|
-
*/
|
634
|
-
render() {
|
635
|
-
return index.h("div", { key: 'b09dad770feb6278f79ffb9351e8907bfc9ab71c', title: this.type }, index.h("img", { key: '58f68fa8835383382fa7d9bcf86f597e2557868b', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
|
636
|
-
}
|
637
|
-
//--------------------------------------------------------------------------
|
638
|
-
//
|
639
|
-
// Properties (protected)
|
640
|
-
//
|
641
|
-
//--------------------------------------------------------------------------
|
642
|
-
//--------------------------------------------------------------------------
|
643
|
-
//
|
644
|
-
// Event Listeners
|
645
|
-
//
|
646
|
-
//--------------------------------------------------------------------------
|
647
|
-
//--------------------------------------------------------------------------
|
648
|
-
//
|
649
|
-
// Events
|
650
|
-
//
|
651
|
-
//--------------------------------------------------------------------------
|
652
|
-
//--------------------------------------------------------------------------
|
653
|
-
//
|
654
|
-
// Public Methods (async)
|
655
|
-
//
|
656
|
-
//--------------------------------------------------------------------------
|
657
|
-
//--------------------------------------------------------------------------
|
658
|
-
//
|
659
|
-
// Private Methods
|
660
|
-
//
|
661
|
-
//--------------------------------------------------------------------------
|
662
|
-
/**
|
663
|
-
* This function was copied and slightly modified from the arcgis-portal-app.
|
664
|
-
*
|
665
|
-
* This will construct the path to the icon based on type and typeKeyword info.
|
666
|
-
*
|
667
|
-
* @param type The item type
|
668
|
-
* @param typeKeywords The item typeKeywords
|
669
|
-
*/
|
670
|
-
_getIconUrl(type, typeKeywords) {
|
671
|
-
const itemType = (type && type.toLowerCase()) || "", imgDir = "./item-icons/", size = "16"; //for now we only support 16x16 pixel images
|
672
|
-
let isHosted = false, isRouteLayer = false, isMarkupLayer = false, isTable = false, isSpatiotemporal = false, isRelational = false, imgName = "";
|
673
|
-
typeKeywords = typeKeywords || [];
|
674
|
-
if (itemType.indexOf("service") > 0 || itemType === "feature collection" || itemType === "kml" || itemType === "wms" || itemType === "wmts" || itemType === "wfs") {
|
675
|
-
isHosted = typeKeywords.indexOf("Hosted Service") > -1;
|
676
|
-
if (itemType === "feature service" || itemType === "feature collection" || itemType === "kml" || itemType === "wfs") {
|
677
|
-
isTable = typeKeywords.indexOf("Table") > -1;
|
678
|
-
isRouteLayer = typeKeywords.indexOf("Route Layer") > -1;
|
679
|
-
isMarkupLayer = typeKeywords.indexOf("Markup") > -1;
|
680
|
-
isSpatiotemporal = typeKeywords.indexOf("Spatiotemporal") !== -1;
|
681
|
-
imgName = isSpatiotemporal && isTable ? "spatiotemporaltable" : (isTable ? "table" : (isRouteLayer ? "routelayer" : (isMarkupLayer ? "markup" : (isSpatiotemporal ? "spatiotemporal" : (isHosted ? "featureshosted" : "features")))));
|
682
|
-
}
|
683
|
-
else if (itemType === "map service" || itemType === "wms" || itemType === "wmts") {
|
684
|
-
isSpatiotemporal = typeKeywords.indexOf("Spatiotemporal") !== -1;
|
685
|
-
isRelational = typeKeywords.indexOf("Relational") !== -1;
|
686
|
-
if (isSpatiotemporal || isRelational) {
|
687
|
-
imgName = "mapimages";
|
688
|
-
}
|
689
|
-
else {
|
690
|
-
imgName = (isHosted || typeKeywords.indexOf("Tiled") > -1 || itemType === "wmts") ? "maptiles" : "mapimages";
|
691
|
-
}
|
692
|
-
}
|
693
|
-
else if (itemType === "scene service") {
|
694
|
-
if (typeKeywords.indexOf("Line") > -1) {
|
695
|
-
imgName = "sceneweblayerline";
|
696
|
-
}
|
697
|
-
else if (typeKeywords.indexOf("3DObject") > -1) {
|
698
|
-
imgName = "sceneweblayermultipatch";
|
699
|
-
}
|
700
|
-
else if (typeKeywords.indexOf("Point") > -1) {
|
701
|
-
imgName = "sceneweblayerpoint";
|
702
|
-
}
|
703
|
-
else if (typeKeywords.indexOf("IntegratedMesh") > -1) {
|
704
|
-
imgName = "sceneweblayermesh";
|
705
|
-
}
|
706
|
-
else if (typeKeywords.indexOf("PointCloud") > -1) {
|
707
|
-
imgName = "sceneweblayerpointcloud";
|
708
|
-
}
|
709
|
-
else if (typeKeywords.indexOf("Polygon") > -1) {
|
710
|
-
imgName = "sceneweblayerpolygon";
|
711
|
-
}
|
712
|
-
else if (typeKeywords.indexOf("Building") > -1) {
|
713
|
-
imgName = "sceneweblayerbuilding";
|
714
|
-
}
|
715
|
-
else {
|
716
|
-
imgName = "sceneweblayer";
|
717
|
-
}
|
718
|
-
}
|
719
|
-
else if (itemType === "image service") {
|
720
|
-
imgName = typeKeywords.indexOf("Elevation 3D Layer") > -1 ? "elevationlayer" : (typeKeywords.indexOf("Tiled Imagery") > -1 ? "tiledimagerylayer" : "imagery");
|
721
|
-
}
|
722
|
-
else if (itemType === "stream service") {
|
723
|
-
imgName = "streamlayer";
|
724
|
-
}
|
725
|
-
else if (itemType === "vector tile service") {
|
726
|
-
imgName = "vectortile";
|
727
|
-
}
|
728
|
-
else if (itemType === "datastore catalog service") {
|
729
|
-
imgName = "datastorecollection";
|
730
|
-
}
|
731
|
-
else if (itemType === "geocoding service") {
|
732
|
-
imgName = "geocodeservice";
|
733
|
-
}
|
734
|
-
else if (itemType === "geoprocessing service") {
|
735
|
-
imgName = (typeKeywords.indexOf("Web Tool") > -1 && (this.isPortal)) ? "tool" : "layers";
|
736
|
-
}
|
737
|
-
else {
|
738
|
-
imgName = "layers";
|
739
|
-
}
|
740
|
-
}
|
741
|
-
else if (itemType === "web map" || itemType === "cityengine web scene") {
|
742
|
-
imgName = "maps";
|
743
|
-
}
|
744
|
-
else if (itemType === "web scene") {
|
745
|
-
imgName = typeKeywords.indexOf("ViewingMode-Local") > -1 ? "webscenelocal" : "websceneglobal";
|
746
|
-
}
|
747
|
-
else if (itemType === "web mapping application" || itemType === "mobile application" || itemType === "application" ||
|
748
|
-
itemType === "operation view" || itemType === "desktop application") {
|
749
|
-
imgName = "apps";
|
750
|
-
}
|
751
|
-
else if (itemType === "map document" || itemType === "map package" || itemType === "published map" || itemType === "scene document" ||
|
752
|
-
itemType === "globe document" || itemType === "basemap package" || itemType === "mobile basemap package" || itemType === "mobile map package" ||
|
753
|
-
itemType === "project package" || itemType === "project template" || itemType === "pro map" || itemType === "layout" ||
|
754
|
-
(itemType === "layer" && typeKeywords.indexOf("ArcGIS Pro") > -1) || (itemType === "explorer map" && typeKeywords.indexOf("Explorer Document"))) {
|
755
|
-
imgName = "mapsgray";
|
756
|
-
}
|
757
|
-
else if (itemType === "service definition" || itemType === "csv" || itemType === "shapefile" || itemType === "cad drawing" || itemType === "geojson" || itemType === "360 vr experience" || itemType === "netcdf" || itemType === "administrative report") {
|
758
|
-
imgName = "datafiles";
|
759
|
-
}
|
760
|
-
else if (itemType === "explorer add in" || itemType === "desktop add in" || itemType === "windows viewer add in" || itemType === "windows viewer configuration") {
|
761
|
-
imgName = "appsgray";
|
762
|
-
}
|
763
|
-
else if (itemType === "arcgis pro add in" || itemType === "arcgis pro configuration") {
|
764
|
-
imgName = "addindesktop";
|
765
|
-
}
|
766
|
-
else if (itemType === "rule package" || itemType === "file geodatabase" || itemType === "sqlite geodatabase" || itemType === "csv collection" || itemType === "kml collection" ||
|
767
|
-
itemType === "windows mobile package" || itemType === "map template" || itemType === "desktop application template" || itemType === "gml" ||
|
768
|
-
itemType === "arcpad package" || itemType === "code sample" || itemType === "form" || itemType === "document link" ||
|
769
|
-
itemType === "operations dashboard add in" || itemType === "rules package" || itemType === "image" || itemType === "workflow manager package" ||
|
770
|
-
(itemType === "explorer map" && typeKeywords.indexOf("Explorer Mapping Application") > -1 || typeKeywords.indexOf("Document") > -1)) {
|
771
|
-
imgName = "datafilesgray";
|
772
|
-
}
|
773
|
-
else if (itemType === "network analysis service" || itemType === "geoprocessing service" ||
|
774
|
-
itemType === "geodata service" || itemType === "geometry service" || itemType === "geoprocessing package" ||
|
775
|
-
itemType === "locator package" || itemType === "geoprocessing sample" || itemType === "workflow manager service") {
|
776
|
-
imgName = "toolsgray";
|
777
|
-
}
|
778
|
-
else if (itemType === "layer" || itemType === "layer package" || itemType === "explorer layer") {
|
779
|
-
imgName = "layersgray";
|
780
|
-
}
|
781
|
-
else if (itemType === "scene package") {
|
782
|
-
imgName = "scenepackage";
|
783
|
-
}
|
784
|
-
else if (itemType === "mobile scene package") {
|
785
|
-
imgName = "mobilescenepackage";
|
786
|
-
}
|
787
|
-
else if (itemType === "tile package" || itemType === "compact tile package") {
|
788
|
-
imgName = "tilepackage";
|
789
|
-
}
|
790
|
-
else if (itemType === "task file") {
|
791
|
-
imgName = "taskfile";
|
792
|
-
}
|
793
|
-
else if (itemType === "report template") {
|
794
|
-
imgName = "report-template";
|
795
|
-
}
|
796
|
-
else if (itemType === "statistical data collection") {
|
797
|
-
imgName = "statisticaldatacollection";
|
798
|
-
}
|
799
|
-
else if (itemType === "insights workbook") {
|
800
|
-
imgName = "workbook";
|
801
|
-
}
|
802
|
-
else if (itemType === "insights model") {
|
803
|
-
imgName = "insightsmodel";
|
804
|
-
}
|
805
|
-
else if (itemType === "insights page") {
|
806
|
-
imgName = "insightspage";
|
807
|
-
}
|
808
|
-
else if (itemType === "insights theme") {
|
809
|
-
imgName = "insightstheme";
|
810
|
-
}
|
811
|
-
else if (itemType === "hub initiative") {
|
812
|
-
imgName = "hubinitiative";
|
813
|
-
}
|
814
|
-
else if (itemType === "hub page") {
|
815
|
-
imgName = "hubpage";
|
816
|
-
}
|
817
|
-
else if (itemType === "hub site application") {
|
818
|
-
imgName = "hubsite";
|
819
|
-
}
|
820
|
-
else if (itemType === "hub event") {
|
821
|
-
imgName = "hubevent";
|
822
|
-
}
|
823
|
-
else if (itemType === "relational database connection") {
|
824
|
-
imgName = "relationaldatabaseconnection";
|
825
|
-
}
|
826
|
-
else if (itemType === "big data file share") {
|
827
|
-
imgName = "datastorecollection";
|
828
|
-
}
|
829
|
-
else if (itemType === "image collection") {
|
830
|
-
imgName = "imagecollection";
|
831
|
-
}
|
832
|
-
else if (itemType === "desktop style") {
|
833
|
-
imgName = "desktopstyle";
|
834
|
-
}
|
835
|
-
else if (itemType === "style") {
|
836
|
-
imgName = "style";
|
837
|
-
}
|
838
|
-
else if (itemType === "dashboard") {
|
839
|
-
imgName = "dashboard";
|
840
|
-
}
|
841
|
-
else if (itemType === "raster function template") {
|
842
|
-
imgName = "rasterprocessingtemplate";
|
843
|
-
}
|
844
|
-
else if (itemType === "vector tile package") {
|
845
|
-
imgName = "vectortilepackage";
|
846
|
-
}
|
847
|
-
else if (itemType === "ortho mapping project") {
|
848
|
-
imgName = "orthomappingproject";
|
849
|
-
}
|
850
|
-
else if (itemType === "ortho mapping template") {
|
851
|
-
imgName = "orthomappingtemplate";
|
852
|
-
}
|
853
|
-
else if (itemType === "solution") {
|
854
|
-
imgName = "solutions";
|
855
|
-
}
|
856
|
-
else if (itemType === "geopackage") {
|
857
|
-
imgName = "geopackage";
|
858
|
-
}
|
859
|
-
else if (itemType === "deep learning package") {
|
860
|
-
imgName = "deeplearningpackage";
|
861
|
-
}
|
862
|
-
else if (itemType === "real time analytic") {
|
863
|
-
imgName = "realtimeanalytics";
|
864
|
-
}
|
865
|
-
else if (itemType === "big data analytic") {
|
866
|
-
imgName = "bigdataanalytics";
|
867
|
-
}
|
868
|
-
else if (itemType === "feed") {
|
869
|
-
imgName = "feed";
|
870
|
-
}
|
871
|
-
else if (itemType === "excalibur imagery project") {
|
872
|
-
imgName = "excaliburimageryproject";
|
873
|
-
}
|
874
|
-
else if (itemType === "notebook") {
|
875
|
-
imgName = "notebook";
|
876
|
-
}
|
877
|
-
else if (itemType === "storymap") {
|
878
|
-
imgName = "storymap";
|
879
|
-
}
|
880
|
-
else if (itemType === "survey123 add in") {
|
881
|
-
imgName = "survey123addin";
|
882
|
-
}
|
883
|
-
else if (itemType === "mission") {
|
884
|
-
imgName = "mission";
|
885
|
-
}
|
886
|
-
else if (itemType === "mission report") {
|
887
|
-
imgName = "missionreport";
|
888
|
-
}
|
889
|
-
else if (itemType === "quickcapture project") {
|
890
|
-
imgName = "quickcaptureproject";
|
891
|
-
}
|
892
|
-
else if (itemType === "pro report") {
|
893
|
-
imgName = "proreport";
|
894
|
-
}
|
895
|
-
else if (itemType === "urban model") {
|
896
|
-
imgName = "urbanmodel";
|
897
|
-
}
|
898
|
-
else if (itemType === "web experience") {
|
899
|
-
imgName = "experiencebuilder";
|
900
|
-
}
|
901
|
-
else if (itemType === "web experience template") {
|
902
|
-
imgName = "webexperiencetemplate";
|
903
|
-
}
|
904
|
-
else if (itemType === "workflow") {
|
905
|
-
imgName = "workflow";
|
906
|
-
}
|
907
|
-
else if (itemType === "kernel gateway connection") {
|
908
|
-
imgName = "kernelgatewayconnection";
|
909
|
-
}
|
910
|
-
else if (itemType === "insights script") {
|
911
|
-
imgName = "insightsscript";
|
912
|
-
}
|
913
|
-
else if (itemType === "hub initiative template") {
|
914
|
-
imgName = "hubinitiativetemplate";
|
915
|
-
}
|
916
|
-
else if (itemType === "storymap theme") {
|
917
|
-
imgName = "storymaptheme";
|
918
|
-
}
|
919
|
-
else if (itemType === "group") {
|
920
|
-
imgName = "group";
|
921
|
-
}
|
922
|
-
else {
|
923
|
-
imgName = "maps";
|
924
|
-
}
|
925
|
-
return imgName ? index.getAssetPath(imgDir + imgName + size + ".png") : null;
|
926
|
-
}
|
927
|
-
static get assetsDirs() { return ["item-icons"]; }
|
928
|
-
};
|
929
|
-
SolutionItemIcon.style = SolutionItemIconStyle0;
|
930
|
-
|
931
615
|
exports.calcite_tree = Tree;
|
932
616
|
exports.calcite_tree_item = TreeItem;
|
933
|
-
exports.solution_item_icon = SolutionItemIcon;
|
@@ -10,7 +10,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
10
10
|
const index = require('./index-5a0af791.js');
|
11
11
|
const locale = require('./locale-a09603ee.js');
|
12
12
|
const mapViewUtils = require('./mapViewUtils-18c46b84.js');
|
13
|
-
const downloadUtils = require('./downloadUtils-
|
13
|
+
const downloadUtils = require('./downloadUtils-17f08e5e.js');
|
14
14
|
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
16
|
require('./interfaces-09c4c40e.js');
|
@@ -896,7 +896,7 @@ const LayerTable = class {
|
|
896
896
|
_getFieldlist() {
|
897
897
|
return this._columnsInfo ? (index.h("calcite-dropdown-group", { "selection-mode": "multiple" }, Object.keys(this._columnsInfo).map(k => {
|
898
898
|
const selected = this._columnsInfo[k];
|
899
|
-
return (index.h("calcite-dropdown-item", { id: k, onClick: (e) => {
|
899
|
+
return (index.h("calcite-dropdown-item", { id: `layer-table-${k.toLowerCase().replaceAll(" ", "")}`, onClick: (e) => {
|
900
900
|
const target = e.target;
|
901
901
|
this._columnsInfo[target.id] = target.selected;
|
902
902
|
if (!target.selected) {
|
@@ -1236,7 +1236,7 @@ const LayerTable = class {
|
|
1236
1236
|
_getDropdown(id) {
|
1237
1237
|
const dropdownItems = this._getDropdownItems();
|
1238
1238
|
return dropdownItems.length > 0 ? (index.h("calcite-dropdown", { closeOnSelectDisabled: true, disabled: this._layer === undefined, id: "solutions-more", onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._moreDropdown = el }, index.h("calcite-action", { appearance: "solid", id: id, label: "", onClick: () => this._closeShowHide(), slot: "trigger", text: "" }, index.h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), index.h("calcite-dropdown-group", { "selection-mode": "none" }, dropdownItems.map(item => {
|
1239
|
-
return (index.h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: item.disabled ? "none" : "single" }, index.h("calcite-dropdown-item", { disabled: item.loading, iconStart: item.isSublist && this._showHideOpen ? "chevron-down" : item.loading ? "" : item.icon, id:
|
1239
|
+
return (index.h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: item.disabled ? "none" : "single" }, index.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 ? (index.h("div", { class: "display-flex" }, index.h("calcite-loader", { inline: true, label: item.label, scale: "m" }), item.label)) : item.label)));
|
1240
1240
|
})), this._showHideOpen ? this._getFieldlist() : undefined)) : undefined;
|
1241
1241
|
}
|
1242
1242
|
/**
|
@@ -1259,7 +1259,7 @@ const LayerTable = class {
|
|
1259
1259
|
*/
|
1260
1260
|
_getAction(active, icon, indicator, label, func, disabled, loading, slot) {
|
1261
1261
|
const _disabled = this._layer === undefined ? true : disabled;
|
1262
|
-
return (index.h("div", { class: "display-flex", id: this._getId(icon), slot: slot }, index.h("calcite-action", { active: active, appearance: "solid", disabled: _disabled, icon: icon, id: icon
|
1262
|
+
return (index.h("div", { class: "display-flex", id: this._getId(icon), slot: slot }, index.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)));
|
1263
1263
|
}
|
1264
1264
|
/**
|
1265
1265
|
* Get an action and tooltip for share
|