@esri/solutions-components 0.10.23 → 0.10.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{calcite-accordion-item.cjs.entry.js → calcite-accordion_2.cjs.entry.js} +83 -1
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert_5.cjs.entry.js +2 -2
- package/dist/cjs/calcite-block_5.cjs.entry.js +5 -7
- package/dist/cjs/{calcite-carousel.cjs.entry.js → calcite-carousel_2.cjs.entry.js} +52 -18
- 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/{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/instant-apps-app-guide.cjs.entry.js +106 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +8 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +34 -14
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +59 -29
- 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/cjs/{utils-9343bd5b.js → utils-62072741.js} +23 -0
- 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 +2 -0
- package/dist/collection/components/layer-table/layer-table.js +3 -3
- 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/calcite-carousel-item.js +1 -54
- package/dist/components/calcite-carousel.js +1 -517
- package/dist/{esm/calcite-carousel-item.entry.js → components/carousel-item.js} +28 -9
- package/dist/{esm/calcite-carousel.entry.js → components/carousel.js} +76 -19
- package/dist/components/downloadUtils.js +234 -159
- package/dist/components/index.es.js +35 -46
- package/dist/components/instant-apps-app-guide.js +184 -0
- package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
- package/dist/components/instant-apps-control-panel.js +1 -1
- package/dist/components/instant-apps-export-views.js +1 -1
- package/dist/components/instant-apps-export.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +3 -5
- package/dist/components/instant-apps-header2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-classic2.js +8 -3
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +2 -2
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-relationship2.js +2 -2
- package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
- package/dist/components/instant-apps-landing-page.js +1 -1
- package/dist/components/instant-apps-language-switcher.js +3 -3
- package/dist/components/instant-apps-language-translator-item2.js +1 -1
- package/dist/components/instant-apps-language-translator-search2.js +1 -1
- package/dist/components/instant-apps-language-translator2.js +33 -13
- package/dist/components/instant-apps-measurement-tool2.js +2 -2
- package/dist/components/instant-apps-measurement.js +1 -1
- package/dist/components/instant-apps-popover.js +1 -1
- package/dist/components/instant-apps-scoreboard.js +1 -1
- package/dist/components/instant-apps-sign-in2.js +1 -1
- package/dist/components/instant-apps-social-share2.js +2 -2
- package/dist/components/instant-apps-splash.js +1 -1
- package/dist/components/instant-apps-time-filter.js +59 -29
- package/dist/components/layer-table2.js +3 -3
- 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/components/utils4.js +22 -1
- package/dist/esm/{ExpandToggle-b5147279.js → ExpandToggle-076b4360.js} +1 -1
- package/dist/esm/{ar-e0e64e78.js → ar-3e3c0d14.js} +8 -8
- package/dist/esm/{bg-d2d8dbe0.js → bg-a872736b.js} +8 -8
- package/dist/esm/{bs-d883901d.js → bs-fe545c28.js} +8 -8
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/{ca-064729ad.js → ca-8a2abdaa.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 +6 -6
- 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 +14 -16
- 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_2.entry.js +500 -0
- 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 +8 -8
- 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-2fbabd28.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/{cs-3751e560.js → cs-f9bfb6dd.js} +8 -8
- package/dist/esm/{da-227f8ad5.js → da-0528de8d.js} +8 -8
- package/dist/esm/{date-87a67cb4.js → date-f0c83d13.js} +1 -1
- package/dist/esm/{de-at-66232b80.js → de-at-c7c45014.js} +8 -8
- package/dist/esm/{de-ch-1264ed4c.js → de-ch-e9338f1b.js} +8 -8
- package/dist/esm/{de-a5d2b25b.js → de-d149b983.js} +8 -8
- package/dist/esm/{dom-63d2d41c.js → dom-42a638f6.js} +1 -1
- package/dist/esm/{downloadUtils-d1f791c5.js → downloadUtils-4a34c86a.js} +235 -160
- package/dist/esm/{el-f5bf7ca3.js → el-d86fff8e.js} +8 -8
- package/dist/esm/{en-au-2ac8f62e.js → en-au-e722c119.js} +8 -8
- package/dist/esm/{en-ca-a1602b49.js → en-ca-8f38a3b8.js} +8 -8
- package/dist/esm/{en-gb-28354b2e.js → en-gb-24dd064c.js} +8 -8
- package/dist/esm/{es-feb7aad2.js → es-39a9e113.js} +8 -8
- package/dist/esm/{es-mx-5d64f899.js → es-mx-fa0cbd42.js} +8 -8
- package/dist/esm/{et-173d2f49.js → et-51eabe80.js} +8 -8
- package/dist/esm/feature-list.entry.js +2 -2
- package/dist/esm/{fi-ff9bb719.js → fi-64ca8666.js} +8 -8
- package/dist/esm/{floating-ui-c7ae81d9.js → floating-ui-a14930d0.js} +1 -1
- package/dist/esm/{focusTrapComponent-833b1234.js → focusTrapComponent-c1def619.js} +1 -1
- package/dist/esm/{form-08e1bcb7.js → form-46367137.js} +1 -1
- package/dist/esm/{fr-ch-491f1abe.js → fr-ch-6fe6a6e6.js} +8 -8
- package/dist/esm/{fr-e3af6835.js → fr-e20306bf.js} +8 -8
- package/dist/esm/{he-47aa8dde.js → he-32ec6cce.js} +8 -8
- package/dist/esm/{hi-1700df3e.js → hi-da2b085c.js} +8 -8
- package/dist/esm/{hr-68b828f5.js → hr-5a52222a.js} +8 -8
- package/dist/esm/{hu-df6a8f29.js → hu-d3bbacef.js} +8 -8
- package/dist/esm/{id-8091582d.js → id-dcdac250.js} +8 -8
- package/dist/esm/{index.es-decad494.js → index.es-5f44061b.js} +36 -47
- package/dist/esm/instant-apps-app-guide.entry.js +102 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +3 -3
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-export-views.entry.js +1 -1
- package/dist/esm/instant-apps-export.entry.js +1 -1
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +8 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +7 -7
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +3 -3
- package/dist/esm/instant-apps-language-translator.entry.js +34 -14
- package/dist/esm/instant-apps-measurement.entry.js +1 -1
- package/dist/esm/instant-apps-popover.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
- package/dist/esm/instant-apps-sign-in.entry.js +1 -1
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/instant-apps-time-filter.entry.js +59 -29
- package/dist/esm/{it-1f5e149d.js → it-360f430f.js} +8 -8
- package/dist/esm/{it-ch-bf7fcac6.js → it-ch-0ec68776.js} +8 -8
- package/dist/esm/{ja-a5117166.js → ja-a95cae4c.js} +8 -8
- package/dist/esm/{ko-9d7a9e79.js → ko-f0edd78f.js} +8 -8
- package/dist/esm/{label-4c4e06d6.js → label-f2ec1100.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-4441c976.js → locale-a53a7bc6.js} +1 -1
- package/dist/esm/{lt-2e1c53de.js → lt-bff432da.js} +8 -8
- package/dist/esm/{lv-ca1ba866.js → lv-0c7edf32.js} +8 -8
- package/dist/esm/map-select-tools_3.entry.js +1 -1
- package/dist/esm/{mk-421d0d41.js → mk-876446b8.js} +8 -8
- package/dist/esm/{nb-5b103e32.js → nb-25537e87.js} +8 -8
- package/dist/esm/{nl-eac33461.js → nl-8be84da3.js} +8 -8
- package/dist/esm/{openCloseComponent-c8c8645b.js → openCloseComponent-9d44719e.js} +1 -1
- package/dist/esm/{pl-03531ccb.js → pl-8d4fe5a7.js} +8 -8
- package/dist/esm/{popupUtils-4e0a103f.js → popupUtils-3ccb86bd.js} +1 -1
- package/dist/esm/{pt-br-dee45728.js → pt-br-3015e62b.js} +8 -8
- package/dist/esm/{pt-b5d8bffc.js → pt-dcc887b4.js} +8 -8
- package/dist/esm/public-notification.entry.js +1 -1
- package/dist/esm/{ro-df6cb584.js → ro-b973c654.js} +8 -8
- package/dist/esm/{ru-e7c02faa.js → ru-59a7f10b.js} +8 -8
- package/dist/esm/{shared-list-render-cadae2eb.js → shared-list-render-097ee366.js} +1 -1
- package/dist/esm/{sk-cae387d2.js → sk-a00e5b97.js} +8 -8
- package/dist/esm/{sl-2892ad87.js → sl-55c8a748.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-e4fc3293.js} +8 -8
- package/dist/esm/{sv-fd5c6ca5.js → sv-f0782d2a.js} +8 -8
- package/dist/esm/{t9n-b7ea1a61.js → t9n-b33c486a.js} +1 -1
- package/dist/esm/{th-170cf6b1.js → th-d2abb499.js} +8 -8
- package/dist/esm/{time-a7f1020b.js → time-f99aceff.js} +1 -1
- package/dist/esm/{tr-1d6ca382.js → tr-512413e1.js} +8 -8
- package/dist/esm/{uk-35eec84e.js → uk-79fe44f1.js} +8 -8
- package/dist/esm/{utils-6493bff2.js → utils-6f13e31e.js} +22 -1
- package/dist/esm/{utils-62514064.js → utils-d67a6d71.js} +1 -1
- package/dist/esm/{vi-2713ee26.js → vi-53b51e7a.js} +8 -8
- package/dist/esm/{zh-cn-ed066014.js → zh-cn-7d19a53a.js} +8 -8
- package/dist/esm/{zh-hk-a118dced.js → zh-hk-4fb6c3eb.js} +8 -8
- package/dist/esm/{zh-tw-c9bbf220.js → zh-tw-6a5d2c2b.js} +8 -8
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +75 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +16 -0
- 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-022d51db.js +6 -0
- package/dist/solutions-components/{p-cd5a9034.entry.js → p-030e5077.entry.js} +1 -1
- package/dist/solutions-components/{p-92ba99ff.js → p-03f3cf77.js} +1 -1
- package/dist/solutions-components/{p-fb3e0eae.js → p-03ffbb1b.js} +1 -1
- package/dist/solutions-components/{p-ee9b7fab.js → p-0a1a9ff1.js} +1 -1
- package/dist/solutions-components/p-0a64be62.js +6 -0
- package/dist/solutions-components/{p-bb0f549a.js → p-0ded20f0.js} +1 -1
- package/dist/solutions-components/{p-f6f2018a.js → p-12be6545.js} +1 -1
- package/dist/solutions-components/{p-da80cfbc.entry.js → p-1692858b.entry.js} +1 -1
- package/dist/solutions-components/{p-c40b0ec5.js → p-174aa4da.js} +1 -1
- package/dist/solutions-components/{p-222e0445.entry.js → p-1826154b.entry.js} +1 -1
- package/dist/solutions-components/{p-8c6a301f.entry.js → p-18307307.entry.js} +2 -2
- package/dist/solutions-components/{p-c163b67f.js → p-1a047db6.js} +1 -1
- package/dist/solutions-components/{p-5067d77e.entry.js → p-1c5f17cb.entry.js} +1 -1
- package/dist/solutions-components/{p-01dae909.js → p-1df2d94d.js} +1 -1
- package/dist/solutions-components/{p-64bf4d2e.entry.js → p-216ae423.entry.js} +1 -1
- package/dist/solutions-components/{p-7586e1de.entry.js → p-219f0273.entry.js} +1 -1
- package/dist/solutions-components/{p-ae8ed06a.entry.js → p-283e344a.entry.js} +1 -1
- package/dist/solutions-components/{p-691cb5f4.js → p-290dee0b.js} +2 -2
- package/dist/solutions-components/{p-91b7a7dc.entry.js → p-2a059548.entry.js} +1 -1
- package/dist/solutions-components/{p-8da5aeea.entry.js → p-2bb9b365.entry.js} +1 -1
- package/dist/solutions-components/{p-7c854814.js → p-2caf1f94.js} +2 -2
- package/dist/solutions-components/{p-919e9de7.entry.js → p-2cb47eff.entry.js} +2 -2
- package/dist/solutions-components/{p-e5736093.entry.js → p-2d2b06db.entry.js} +1 -1
- package/dist/solutions-components/{p-de8121a4.js → p-2d2dcf8a.js} +1 -1
- package/dist/solutions-components/{p-9bc84681.js → p-2d5e428d.js} +1 -1
- package/dist/solutions-components/{p-508b2b7b.js → p-2e7d005f.js} +1 -1
- package/dist/solutions-components/{p-bc6cf10f.entry.js → p-3016bf77.entry.js} +1 -1
- package/dist/solutions-components/{p-08d1cc1f.js → p-3244e59a.js} +1 -1
- package/dist/solutions-components/{p-66b01781.js → p-365169c2.js} +2 -2
- package/dist/solutions-components/{p-245c35ce.js → p-372e4640.js} +1 -1
- package/dist/solutions-components/p-374d0fdc.entry.js +6 -0
- package/dist/solutions-components/p-39e9ae5c.entry.js +6 -0
- package/dist/solutions-components/p-3d6f8c9e.entry.js +29 -0
- package/dist/solutions-components/{p-458a3f01.entry.js → p-3de85f54.entry.js} +1 -1
- package/dist/solutions-components/{p-c7046172.entry.js → p-3e9a487b.entry.js} +2 -2
- package/dist/solutions-components/{p-7b2ef872.entry.js → p-42710186.entry.js} +1 -1
- package/dist/solutions-components/{p-c5facecd.entry.js → p-44270ade.entry.js} +1 -1
- package/dist/solutions-components/{p-d1cc620f.entry.js → p-47398e76.entry.js} +1 -1
- package/dist/solutions-components/{p-d784f756.entry.js → p-4881885b.entry.js} +3 -3
- package/dist/solutions-components/{p-5a76a4c8.entry.js → p-496b7a1f.entry.js} +1 -1
- package/dist/solutions-components/{p-9db30b19.entry.js → p-4aafcac7.entry.js} +1 -1
- package/dist/solutions-components/{p-2aa44a02.entry.js → p-4cfe3d80.entry.js} +2 -2
- package/dist/solutions-components/{p-cf9e6515.entry.js → p-4feaf7db.entry.js} +2 -2
- package/dist/solutions-components/{p-a37d1b17.entry.js → p-50323300.entry.js} +1 -1
- package/dist/solutions-components/{p-5f705984.js → p-50ab7903.js} +1 -1
- package/dist/solutions-components/{p-960a4993.entry.js → p-50c2d3e5.entry.js} +1 -1
- package/dist/solutions-components/{p-712873f0.js → p-50e2a33b.js} +1 -1
- package/dist/solutions-components/{p-54b7e680.js → p-51abfcb7.js} +1 -1
- package/dist/solutions-components/{p-25b5ffea.js → p-524a996f.js} +1 -1
- package/dist/solutions-components/{p-02ea30d1.entry.js → p-54879c84.entry.js} +1 -1
- package/dist/solutions-components/{p-23dd68de.entry.js → p-5550f101.entry.js} +1 -1
- package/dist/solutions-components/{p-040b6e44.entry.js → p-5714f5ca.entry.js} +1 -1
- package/dist/solutions-components/{p-52f19286.entry.js → p-57be85fb.entry.js} +1 -1
- package/dist/solutions-components/p-58d8ee47.js +6 -0
- package/dist/solutions-components/{p-0b6e5486.js → p-5959580d.js} +1 -1
- package/dist/solutions-components/{p-9524e5e4.js → p-59695ccc.js} +1 -1
- package/dist/solutions-components/{p-87f928a5.entry.js → p-59b3e946.entry.js} +2 -2
- package/dist/solutions-components/{p-6b0fa1eb.entry.js → p-5a997dc9.entry.js} +1 -1
- package/dist/solutions-components/{p-29a09798.js → p-5ba9df82.js} +2 -2
- package/dist/solutions-components/{p-9fa7a7ad.entry.js → p-5cef36d6.entry.js} +1 -1
- package/dist/solutions-components/{p-732bb88c.entry.js → p-5d398871.entry.js} +1 -1
- package/dist/solutions-components/{p-7fce703f.entry.js → p-5d58d70c.entry.js} +1 -1
- package/dist/solutions-components/{p-0e851a4b.js → p-62dadb51.js} +1 -1
- package/dist/solutions-components/{p-981ab7fc.entry.js → p-62ed6a7a.entry.js} +1 -1
- package/dist/solutions-components/{p-49bbe45e.js → p-63f9004a.js} +1 -1
- package/dist/solutions-components/{p-40f5df15.entry.js → p-64906bb5.entry.js} +2 -2
- package/dist/solutions-components/{p-7ae41cd8.js → p-65fe42ef.js} +1 -1
- package/dist/solutions-components/{p-c25e8c35.js → p-66cee72b.js} +1 -1
- package/dist/solutions-components/{p-a85fd786.entry.js → p-6b1d1546.entry.js} +1 -1
- package/dist/solutions-components/{p-0dc73313.js → p-6b21efce.js} +1 -1
- package/dist/solutions-components/{p-79f78acc.entry.js → p-6cf1225a.entry.js} +1 -1
- package/dist/solutions-components/{p-6c080ac7.entry.js → p-6d4db88b.entry.js} +8 -2
- package/dist/solutions-components/{p-b76ed1c7.entry.js → p-6d894d47.entry.js} +2 -2
- package/dist/solutions-components/{p-26a3ba5e.entry.js → p-6e0439fa.entry.js} +1 -1
- package/dist/solutions-components/p-6e118057.js +11 -0
- package/dist/solutions-components/{p-267ef1b8.entry.js → p-6f594492.entry.js} +2 -2
- package/dist/solutions-components/{p-30903105.entry.js → p-70f2898c.entry.js} +1 -1
- package/dist/solutions-components/p-72bce122.entry.js +6 -0
- package/dist/solutions-components/{p-67c34d05.entry.js → p-72ee63b0.entry.js} +1 -1
- package/dist/solutions-components/{p-e4ef6f49.js → p-754a5334.js} +1 -1
- package/dist/solutions-components/{p-2264e8d5.entry.js → p-76efd680.entry.js} +1 -1
- package/dist/solutions-components/{p-5a3cab12.entry.js → p-7758a533.entry.js} +1 -1
- package/dist/solutions-components/{p-cd6eee11.js → p-7a820f38.js} +1 -1
- package/dist/solutions-components/{p-bae65813.entry.js → p-7b122a6e.entry.js} +1 -1
- package/dist/solutions-components/{p-1a06bf01.js → p-7e762fa7.js} +1 -1
- package/dist/solutions-components/{p-004d601f.entry.js → p-7f147e8b.entry.js} +1 -1
- package/dist/solutions-components/{p-a79f4c52.entry.js → p-82185ebf.entry.js} +1 -1
- package/dist/solutions-components/{p-d47abf9b.entry.js → p-827037ce.entry.js} +1 -1
- package/dist/solutions-components/{p-cb07016a.entry.js → p-88c6ece3.entry.js} +2 -2
- package/dist/solutions-components/{p-94ae78d6.js → p-8a683cdc.js} +1 -1
- package/dist/solutions-components/{p-304cef31.js → p-8d453a3a.js} +3 -3
- package/dist/solutions-components/{p-886fbbe3.entry.js → p-8ef003ec.entry.js} +1 -1
- package/dist/solutions-components/p-8fb651e5.entry.js +6 -0
- package/dist/solutions-components/{p-b8ce880d.js → p-92008b90.js} +1 -1
- package/dist/solutions-components/{p-1490c752.js → p-926664d9.js} +1 -1
- package/dist/solutions-components/{p-4e7aa926.js → p-94397114.js} +1 -1
- package/dist/solutions-components/{p-b3e8da19.entry.js → p-94805d7f.entry.js} +1 -1
- package/dist/solutions-components/p-94c518ff.entry.js +6 -0
- package/dist/solutions-components/{p-936037e4.js → p-97aa6766.js} +1 -1
- package/dist/solutions-components/{p-8bb2c169.js → p-984ce9da.js} +1 -1
- package/dist/solutions-components/{p-9c5f4347.js → p-99e6cb74.js} +1 -1
- package/dist/solutions-components/{p-de3ee7a6.entry.js → p-9d12b3f1.entry.js} +1 -1
- package/dist/solutions-components/{p-4fe5e9c3.entry.js → p-9ee72dba.entry.js} +1 -1
- package/dist/solutions-components/{p-dfeb6a2e.entry.js → p-9f3aebd0.entry.js} +1 -1
- package/dist/solutions-components/{p-a5e64f6b.entry.js → p-a1093fee.entry.js} +1 -1
- package/dist/solutions-components/{p-8537518d.entry.js → p-a2a2c6a2.entry.js} +1 -1
- package/dist/solutions-components/{p-c4953b5e.entry.js → p-a2dbc38b.entry.js} +1 -1
- package/dist/solutions-components/{p-6319ca20.js → p-a4255b97.js} +1 -1
- package/dist/solutions-components/{p-b8f33145.js → p-a4e73041.js} +1 -1
- package/dist/solutions-components/{p-1017609e.js → p-a5fc6ab7.js} +2 -2
- package/dist/solutions-components/{p-d75ef009.entry.js → p-a60a2c8b.entry.js} +1 -1
- package/dist/solutions-components/{p-254f6e23.entry.js → p-a6a0df5c.entry.js} +1 -1
- package/dist/solutions-components/{p-33db098c.js → p-a7395caf.js} +1 -1
- package/dist/solutions-components/{p-eb2859d6.js → p-a7761371.js} +1 -1
- package/dist/solutions-components/{p-e74bc7b3.js → p-a8b70e9a.js} +1 -1
- package/dist/solutions-components/{p-fedbf657.entry.js → p-a8d83bc3.entry.js} +1 -1
- package/dist/solutions-components/p-aa36f70e.entry.js +6 -0
- package/dist/solutions-components/{p-c0d25be5.entry.js → p-ac7868a6.entry.js} +1 -1
- package/dist/solutions-components/{p-04294b8e.js → p-ac92679c.js} +1 -1
- package/dist/solutions-components/{p-e0ee0556.entry.js → p-ad441ffa.entry.js} +1 -1
- package/dist/solutions-components/{p-ac11cf8f.entry.js → p-add869b6.entry.js} +1 -1
- package/dist/solutions-components/{p-b96233e3.entry.js → p-af3e49d8.entry.js} +1 -1
- package/dist/solutions-components/{p-c7eaade6.entry.js → p-b310402f.entry.js} +1 -1
- package/dist/solutions-components/{p-996daf05.entry.js → p-b4d708cd.entry.js} +1 -1
- package/dist/solutions-components/{p-5f7c1e49.js → p-b7e63ac2.js} +1 -1
- package/dist/solutions-components/{p-a4e35c2d.entry.js → p-b9b2f7a9.entry.js} +1 -1
- package/dist/solutions-components/{p-3c1ecf85.entry.js → p-bb040eab.entry.js} +1 -1
- package/dist/solutions-components/{p-53b5a39e.js → p-bcc2d4ff.js} +1 -1
- package/dist/solutions-components/{p-66afdfdd.entry.js → p-bcce9d28.entry.js} +1 -1
- package/dist/solutions-components/{p-8fb06a85.entry.js → p-c60c5991.entry.js} +1 -1
- package/dist/solutions-components/{p-062f4457.js → p-c6ef8cca.js} +1 -1
- package/dist/solutions-components/{p-1ef6a1c2.entry.js → p-c718930a.entry.js} +1 -1
- package/dist/solutions-components/{p-270ead49.js → p-c94b0e1a.js} +1 -1
- package/dist/solutions-components/{p-5440c8dd.js → p-cba6953c.js} +1 -1
- package/dist/solutions-components/{p-976ad17d.entry.js → p-d00ca970.entry.js} +1 -1
- package/dist/solutions-components/p-d2033cfa.entry.js +6 -0
- package/dist/solutions-components/{p-ca6055a3.js → p-d2ee8b82.js} +1 -1
- package/dist/solutions-components/p-d4ab82e3.entry.js +17 -0
- package/dist/solutions-components/{p-798b9928.entry.js → p-d7711a84.entry.js} +1 -1
- package/dist/solutions-components/{p-4c179300.entry.js → p-d7871f0d.entry.js} +1 -1
- package/dist/solutions-components/{p-f7bc99fb.entry.js → p-dc264663.entry.js} +3 -3
- package/dist/solutions-components/{p-aa68a36e.entry.js → p-dcaae1e9.entry.js} +2 -2
- package/dist/solutions-components/{p-770a0e12.js → p-dcebc541.js} +1 -1
- package/dist/solutions-components/{p-9277a339.entry.js → p-de3719f2.entry.js} +1 -1
- package/dist/solutions-components/{p-74fbad1c.js → p-dec62e5d.js} +30 -31
- package/dist/solutions-components/{p-aa341d46.entry.js → p-e068dfb9.entry.js} +1 -1
- package/dist/solutions-components/p-e0b65115.js +11 -0
- package/dist/solutions-components/{p-550da58b.js → p-e0fd4006.js} +1 -1
- package/dist/solutions-components/{p-8614d1a0.entry.js → p-e26cf5f5.entry.js} +1 -1
- package/dist/solutions-components/{p-0d6b3f44.js → p-e6798e38.js} +1 -1
- package/dist/solutions-components/p-e8aa44e2.entry.js +6 -0
- package/dist/solutions-components/{p-19b466d0.js → p-ea8d2558.js} +1 -1
- package/dist/solutions-components/{p-fcd33b4f.js → p-ef187f1d.js} +1 -1
- package/dist/solutions-components/{p-b4d92441.entry.js → p-efca5cea.entry.js} +1 -1
- package/dist/solutions-components/{p-40175313.entry.js → p-f4360468.entry.js} +1 -1
- package/dist/solutions-components/{p-80f49acc.js → p-f4d7f757.js} +1 -1
- package/dist/solutions-components/{p-95c3b305.entry.js → p-f72fa647.entry.js} +1 -1
- package/dist/solutions-components/{p-347d9ce0.js → p-f7e45464.js} +1 -1
- package/dist/solutions-components/{p-990d8b4b.js → p-f7ffcd95.js} +1 -1
- package/dist/solutions-components/{p-9560a1fd.entry.js → p-fa7c50f8.entry.js} +1 -1
- package/dist/solutions-components/{p-707ee1d1.entry.js → p-fd9fb1ba.entry.js} +2 -2
- package/dist/solutions-components/{p-986ff43b.entry.js → p-fdb201ff.entry.js} +1 -1
- package/dist/solutions-components/{p-924ec704.js → p-fe0add26.js} +1 -1
- package/dist/solutions-components/{p-54a9017c.entry.js → p-ff105078.entry.js} +1 -1
- package/dist/solutions-components/{p-fa68f43a.entry.js → p-ff639390.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +11 -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 +4 -0
- package/dist/types/utils/interfaces.d.ts +10 -0
- package/package.json +7 -7
- package/dist/cjs/calcite-accordion.cjs.entry.js +0 -95
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +0 -46
- 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-27a25ece.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-3a47fde6.entry.js +0 -11
- package/dist/solutions-components/p-41c34a67.js +0 -6
- package/dist/solutions-components/p-79f5a8be.js +0 -11
- package/dist/solutions-components/p-93d8ef73.entry.js +0 -6
- package/dist/solutions-components/p-a0b62b46.entry.js +0 -6
- package/dist/solutions-components/p-aef41a6d.entry.js +0 -11
- package/dist/solutions-components/p-b8b78283.entry.js +0 -29
- package/dist/solutions-components/p-d36878db.js +0 -11
- package/dist/solutions-components/p-fd79adec.entry.js +0 -6
|
@@ -12,7 +12,7 @@ const locale = require('./locale-a09603ee.js');
|
|
|
12
12
|
const mapViewUtils = require('./mapViewUtils-18c46b84.js');
|
|
13
13
|
const interfaces = require('./interfaces-09c4c40e.js');
|
|
14
14
|
const publicNotificationStore = require('./publicNotificationStore-f229e839.js');
|
|
15
|
-
const downloadUtils = require('./downloadUtils-
|
|
15
|
+
const downloadUtils = require('./downloadUtils-17f08e5e.js');
|
|
16
16
|
require('./esri-loader-08dc41bd.js');
|
|
17
17
|
require('./_commonjsHelpers-baf43783.js');
|
|
18
18
|
require('./index-da709a10.js');
|
|
@@ -12,7 +12,7 @@ const interfaces = require('./interfaces-09c4c40e.js');
|
|
|
12
12
|
const locale = require('./locale-a09603ee.js');
|
|
13
13
|
const mapViewUtils = require('./mapViewUtils-18c46b84.js');
|
|
14
14
|
const publicNotificationStore = require('./publicNotificationStore-f229e839.js');
|
|
15
|
-
const downloadUtils = require('./downloadUtils-
|
|
15
|
+
const downloadUtils = require('./downloadUtils-17f08e5e.js');
|
|
16
16
|
require('./esri-loader-08dc41bd.js');
|
|
17
17
|
require('./_commonjsHelpers-baf43783.js');
|
|
18
18
|
require('./index-da709a10.js');
|
|
@@ -236,7 +236,7 @@ const SolutionSpatialRef = class {
|
|
|
236
236
|
}
|
|
237
237
|
render() {
|
|
238
238
|
this._updateUIFromStore();
|
|
239
|
-
return (index.h(index.Host, { key: '
|
|
239
|
+
return (index.h(index.Host, { key: 'ca1dd62000a2fdbd82a00830fc3ac94b47db73f7' }, index.h("label", { key: 'fa1ca79af87525ce25a6acf0a5b6a093429f5b77', class: "switch-label" }, index.h("calcite-switch", { key: '8dbcdbc8f417dfe1a05578fc9bbf3417ae93abfb', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), index.h("br", { key: 'd3c2296bf3568e7b5b167fe0516184ae0c2d26f1' }), index.h("div", { key: 'fee9eac900cae65363658fa769347c3db0783007', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), index.h("label", { key: '317e1422cdcb2147a961f2edfbcedb30c4246f6d', class: "switch-label spatial-ref-component" }, index.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)));
|
|
240
240
|
}
|
|
241
241
|
//--------------------------------------------------------------------------
|
|
242
242
|
//
|
|
@@ -0,0 +1,233 @@
|
|
|
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
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
|
+
|
|
10
|
+
const index = require('./index-5a0af791.js');
|
|
11
|
+
const locale = require('./locale-a09603ee.js');
|
|
12
|
+
require('./esri-loader-08dc41bd.js');
|
|
13
|
+
require('./_commonjsHelpers-baf43783.js');
|
|
14
|
+
|
|
15
|
+
const solutionItemAccordionCss = ":host{display:block}.padding-start-1{padding-inline-start:1rem}";
|
|
16
|
+
const SolutionItemAccordionStyle0 = solutionItemAccordionCss;
|
|
17
|
+
|
|
18
|
+
const SolutionItemAccordion = class {
|
|
19
|
+
constructor(hostRef) {
|
|
20
|
+
index.registerInstance(this, hostRef);
|
|
21
|
+
this.templateInfos = [];
|
|
22
|
+
this._sortedTemplateInfos = [];
|
|
23
|
+
this._translations = undefined;
|
|
24
|
+
}
|
|
25
|
+
get el() { return index.getElement(this); }
|
|
26
|
+
//--------------------------------------------------------------------------
|
|
27
|
+
//
|
|
28
|
+
// Properties (protected)
|
|
29
|
+
//
|
|
30
|
+
//--------------------------------------------------------------------------
|
|
31
|
+
/**
|
|
32
|
+
* string[]: The order we should sort templates based on
|
|
33
|
+
*/
|
|
34
|
+
_sortOrder = [
|
|
35
|
+
"Hub Site Application",
|
|
36
|
+
"Hub Page",
|
|
37
|
+
"Web Experience",
|
|
38
|
+
"Instant App",
|
|
39
|
+
"Web Mapping Application",
|
|
40
|
+
"Dashboard",
|
|
41
|
+
"StoryMap",
|
|
42
|
+
"Form",
|
|
43
|
+
"QuickCapture Project",
|
|
44
|
+
"Workflow",
|
|
45
|
+
"Big Data Analytic",
|
|
46
|
+
"Real Time Analytic",
|
|
47
|
+
"Feed",
|
|
48
|
+
"Tool",
|
|
49
|
+
"Notebook",
|
|
50
|
+
"Data Pipeline",
|
|
51
|
+
"Project Package",
|
|
52
|
+
"Desktop Application Template",
|
|
53
|
+
"TypeNotFound",
|
|
54
|
+
"Web Map",
|
|
55
|
+
"Web Scene",
|
|
56
|
+
"Feature Layer (hosted, view)",
|
|
57
|
+
"Feature Layer (hosted)",
|
|
58
|
+
"Tile Layer",
|
|
59
|
+
"CSV",
|
|
60
|
+
"Microsoft Excel",
|
|
61
|
+
"Microsoft Word",
|
|
62
|
+
"Report Template",
|
|
63
|
+
"Rule Package",
|
|
64
|
+
"Group"
|
|
65
|
+
];
|
|
66
|
+
/**
|
|
67
|
+
* string[]: Array of template types.
|
|
68
|
+
* This array is used during render to ensure only one Accordion item is added for each type.
|
|
69
|
+
*/
|
|
70
|
+
_types = [];
|
|
71
|
+
//--------------------------------------------------------------------------
|
|
72
|
+
//
|
|
73
|
+
// Watch handlers
|
|
74
|
+
//
|
|
75
|
+
//--------------------------------------------------------------------------
|
|
76
|
+
async templateInfosWatchHandler() {
|
|
77
|
+
this._types = [];
|
|
78
|
+
this._sortedTemplateInfos = this._sortTemplates();
|
|
79
|
+
}
|
|
80
|
+
//--------------------------------------------------------------------------
|
|
81
|
+
//
|
|
82
|
+
// Methods (public)
|
|
83
|
+
//
|
|
84
|
+
//--------------------------------------------------------------------------
|
|
85
|
+
//--------------------------------------------------------------------------
|
|
86
|
+
//
|
|
87
|
+
// Events (public)
|
|
88
|
+
//
|
|
89
|
+
//--------------------------------------------------------------------------
|
|
90
|
+
//--------------------------------------------------------------------------
|
|
91
|
+
//
|
|
92
|
+
// Functions (lifecycle)
|
|
93
|
+
//
|
|
94
|
+
//--------------------------------------------------------------------------
|
|
95
|
+
/**
|
|
96
|
+
* StencilJS: Called once just after the component is first connected to the DOM.
|
|
97
|
+
*/
|
|
98
|
+
async componentWillLoad() {
|
|
99
|
+
await this._getTranslations();
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* StencilJS: Called before each render
|
|
103
|
+
*/
|
|
104
|
+
async componentWillRender() {
|
|
105
|
+
if (this._sortedTemplateInfos.length === 0 && this.templateInfos?.length > 0) {
|
|
106
|
+
this._sortedTemplateInfos = this._sortTemplates();
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Renders the component.
|
|
111
|
+
*/
|
|
112
|
+
render() {
|
|
113
|
+
return (index.h(index.Host, { key: 'c9fea75fb3cd0558366bb086eccb28c4e2b7b07d' }, this._getAccordion()));
|
|
114
|
+
}
|
|
115
|
+
//--------------------------------------------------------------------------
|
|
116
|
+
//
|
|
117
|
+
// Functions (protected)
|
|
118
|
+
//
|
|
119
|
+
//--------------------------------------------------------------------------
|
|
120
|
+
/**
|
|
121
|
+
* Get the Accordion component
|
|
122
|
+
*
|
|
123
|
+
* @returns the Accordion component
|
|
124
|
+
*
|
|
125
|
+
* @protected
|
|
126
|
+
*/
|
|
127
|
+
_getAccordion() {
|
|
128
|
+
return (index.h("calcite-accordion", null, this._sortedTemplateInfos.reduce((prev, cur) => {
|
|
129
|
+
if (this._types.indexOf(cur.type) < 0) {
|
|
130
|
+
this._types.push(cur.type);
|
|
131
|
+
prev.push(this._getAccordionItem(cur));
|
|
132
|
+
}
|
|
133
|
+
return prev;
|
|
134
|
+
}, [])));
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Get the Accordion Item component with the appropriate icon and template type
|
|
138
|
+
* Only one accordion item per type.
|
|
139
|
+
*
|
|
140
|
+
* @returns the Accordion Item component
|
|
141
|
+
*
|
|
142
|
+
* @protected
|
|
143
|
+
*/
|
|
144
|
+
_getAccordionItem(templateInfo) {
|
|
145
|
+
const templateInfos = this._sortedTemplateInfos.filter(t => t.type === templateInfo.type);
|
|
146
|
+
return (index.h("calcite-accordion-item", { description: `${templateInfo.type} (${templateInfos.length})` }, index.h("solution-item-icon", { class: "padding-start-1", slot: "actions-start", type: templateInfo.type, typeKeywords: templateInfo.typeKeywords }), this._getList(templateInfos)));
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Get the list of template infos for the current type
|
|
150
|
+
*
|
|
151
|
+
* @param templateInfos filtered list of templateInfos for the current type
|
|
152
|
+
*
|
|
153
|
+
* @returns the List component
|
|
154
|
+
*
|
|
155
|
+
* @protected
|
|
156
|
+
*/
|
|
157
|
+
_getList(templateInfos) {
|
|
158
|
+
return (index.h("calcite-list", { class: "padding-start-1" }, templateInfos.map(t => this._getListItem(t))));
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Get list item for the current type
|
|
162
|
+
*
|
|
163
|
+
* @param templateInfo the current templateInfo to handle
|
|
164
|
+
*
|
|
165
|
+
* @returns the List item component
|
|
166
|
+
*
|
|
167
|
+
* @protected
|
|
168
|
+
*/
|
|
169
|
+
_getListItem(templateInfo) {
|
|
170
|
+
return (index.h("calcite-list-item", { description: templateInfo.description, label: templateInfo.title, value: templateInfo.id }));
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Sort the templates based on the defined order in _sortOrder
|
|
174
|
+
*
|
|
175
|
+
* @returns the sorted templates
|
|
176
|
+
*
|
|
177
|
+
* @protected
|
|
178
|
+
*/
|
|
179
|
+
_sortTemplates() {
|
|
180
|
+
return this.templateInfos.sort((a, b) => {
|
|
181
|
+
const aType = this._updateType(a);
|
|
182
|
+
const bType = this._updateType(b);
|
|
183
|
+
const indexA = this._sortOrder.indexOf(aType);
|
|
184
|
+
const indexB = this._sortOrder.indexOf(bType);
|
|
185
|
+
return indexA - indexB;
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Some template types are displayed with a value that is different than the stored type value.
|
|
190
|
+
* This function will catch and update the type value to match how we would like it sorted and displayed.
|
|
191
|
+
*
|
|
192
|
+
* @returns the sorted templates
|
|
193
|
+
*
|
|
194
|
+
* @protected
|
|
195
|
+
*/
|
|
196
|
+
_updateType(templateInfo) {
|
|
197
|
+
let updatedType = templateInfo.type;
|
|
198
|
+
if (templateInfo.type === "Feature Service") {
|
|
199
|
+
updatedType = templateInfo.typeKeywords.indexOf("View Service") > -1 ?
|
|
200
|
+
"Feature Layer (hosted, view)" : "Feature Layer (hosted)";
|
|
201
|
+
}
|
|
202
|
+
if (templateInfo.type === "Web Mapping Application") {
|
|
203
|
+
updatedType = templateInfo.typeKeywords.indexOf("configurableApp") > -1 ?
|
|
204
|
+
"Instant App" : updatedType;
|
|
205
|
+
}
|
|
206
|
+
templateInfo.type = templateInfo.type === "Geoprocessing Service" ? "Tool" :
|
|
207
|
+
templateInfo.type === "Vector Tile Service" ? "Tile Layer" : updatedType;
|
|
208
|
+
if (this._sortOrder.indexOf(updatedType) < 0) {
|
|
209
|
+
// If we encounter an item type that is not in the list
|
|
210
|
+
// put it between the "Desktop Application Template" and "Web Map" section
|
|
211
|
+
// Do not set this as the templates type value as we want its actual type to be displayed
|
|
212
|
+
// this is just used for sorting
|
|
213
|
+
updatedType = "TypeNotFound";
|
|
214
|
+
}
|
|
215
|
+
return updatedType;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Fetches the component's translations
|
|
219
|
+
*
|
|
220
|
+
* @returns Promise when complete
|
|
221
|
+
* @protected
|
|
222
|
+
*/
|
|
223
|
+
async _getTranslations() {
|
|
224
|
+
const messages = await locale.getLocaleComponentStrings(this.el);
|
|
225
|
+
this._translations = messages[0];
|
|
226
|
+
}
|
|
227
|
+
static get watchers() { return {
|
|
228
|
+
"templateInfos": ["templateInfosWatchHandler"]
|
|
229
|
+
}; }
|
|
230
|
+
};
|
|
231
|
+
SolutionItemAccordion.style = SolutionItemAccordionStyle0;
|
|
232
|
+
|
|
233
|
+
exports.solution_item_accordion = SolutionItemAccordion;
|
|
@@ -0,0 +1,328 @@
|
|
|
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
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
|
+
|
|
10
|
+
const index = require('./index-5a0af791.js');
|
|
11
|
+
|
|
12
|
+
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}";
|
|
13
|
+
const SolutionItemIconStyle0 = solutionItemIconCss;
|
|
14
|
+
|
|
15
|
+
const SolutionItemIcon = class {
|
|
16
|
+
constructor(hostRef) {
|
|
17
|
+
index.registerInstance(this, hostRef);
|
|
18
|
+
this.isPortal = false;
|
|
19
|
+
this.type = "";
|
|
20
|
+
this.typeKeywords = [];
|
|
21
|
+
}
|
|
22
|
+
get el() { return index.getElement(this); }
|
|
23
|
+
//--------------------------------------------------------------------------
|
|
24
|
+
//
|
|
25
|
+
// Lifecycle
|
|
26
|
+
//
|
|
27
|
+
//--------------------------------------------------------------------------
|
|
28
|
+
/**
|
|
29
|
+
* Renders the component.
|
|
30
|
+
*/
|
|
31
|
+
render() {
|
|
32
|
+
return index.h("div", { key: '79a661148dd8e3bd73229b642b8253c525e3d747', title: this.type }, index.h("img", { key: 'e0b21dbd11b8edc4abfdb9af39b40c774b830753', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
|
|
33
|
+
}
|
|
34
|
+
//--------------------------------------------------------------------------
|
|
35
|
+
//
|
|
36
|
+
// Properties (protected)
|
|
37
|
+
//
|
|
38
|
+
//--------------------------------------------------------------------------
|
|
39
|
+
//--------------------------------------------------------------------------
|
|
40
|
+
//
|
|
41
|
+
// Event Listeners
|
|
42
|
+
//
|
|
43
|
+
//--------------------------------------------------------------------------
|
|
44
|
+
//--------------------------------------------------------------------------
|
|
45
|
+
//
|
|
46
|
+
// Events
|
|
47
|
+
//
|
|
48
|
+
//--------------------------------------------------------------------------
|
|
49
|
+
//--------------------------------------------------------------------------
|
|
50
|
+
//
|
|
51
|
+
// Public Methods (async)
|
|
52
|
+
//
|
|
53
|
+
//--------------------------------------------------------------------------
|
|
54
|
+
//--------------------------------------------------------------------------
|
|
55
|
+
//
|
|
56
|
+
// Private Methods
|
|
57
|
+
//
|
|
58
|
+
//--------------------------------------------------------------------------
|
|
59
|
+
/**
|
|
60
|
+
* This function was copied and slightly modified from the arcgis-portal-app.
|
|
61
|
+
*
|
|
62
|
+
* This will construct the path to the icon based on type and typeKeyword info.
|
|
63
|
+
*
|
|
64
|
+
* @param type The item type
|
|
65
|
+
* @param typeKeywords The item typeKeywords
|
|
66
|
+
*/
|
|
67
|
+
_getIconUrl(type, typeKeywords) {
|
|
68
|
+
const itemType = (type && type.toLowerCase()) || "", imgDir = "./item-icons/", size = "16"; //for now we only support 16x16 pixel images
|
|
69
|
+
let isHosted = false, isRouteLayer = false, isMarkupLayer = false, isTable = false, isSpatiotemporal = false, isRelational = false, imgName = "";
|
|
70
|
+
typeKeywords = typeKeywords || [];
|
|
71
|
+
if (itemType.indexOf("service") > 0 || itemType === "feature collection" || itemType === "kml" || itemType === "wms" || itemType === "wmts" || itemType === "wfs") {
|
|
72
|
+
isHosted = typeKeywords.indexOf("Hosted Service") > -1;
|
|
73
|
+
if (itemType === "feature service" || itemType === "feature collection" || itemType === "kml" || itemType === "wfs") {
|
|
74
|
+
isTable = typeKeywords.indexOf("Table") > -1;
|
|
75
|
+
isRouteLayer = typeKeywords.indexOf("Route Layer") > -1;
|
|
76
|
+
isMarkupLayer = typeKeywords.indexOf("Markup") > -1;
|
|
77
|
+
isSpatiotemporal = typeKeywords.indexOf("Spatiotemporal") !== -1;
|
|
78
|
+
imgName = isSpatiotemporal && isTable ? "spatiotemporaltable" : (isTable ? "table" : (isRouteLayer ? "routelayer" : (isMarkupLayer ? "markup" : (isSpatiotemporal ? "spatiotemporal" : (isHosted ? "featureshosted" : "features")))));
|
|
79
|
+
}
|
|
80
|
+
else if (itemType === "map service" || itemType === "wms" || itemType === "wmts") {
|
|
81
|
+
isSpatiotemporal = typeKeywords.indexOf("Spatiotemporal") !== -1;
|
|
82
|
+
isRelational = typeKeywords.indexOf("Relational") !== -1;
|
|
83
|
+
if (isSpatiotemporal || isRelational) {
|
|
84
|
+
imgName = "mapimages";
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
imgName = (isHosted || typeKeywords.indexOf("Tiled") > -1 || itemType === "wmts") ? "maptiles" : "mapimages";
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
else if (itemType === "scene service") {
|
|
91
|
+
if (typeKeywords.indexOf("Line") > -1) {
|
|
92
|
+
imgName = "sceneweblayerline";
|
|
93
|
+
}
|
|
94
|
+
else if (typeKeywords.indexOf("3DObject") > -1) {
|
|
95
|
+
imgName = "sceneweblayermultipatch";
|
|
96
|
+
}
|
|
97
|
+
else if (typeKeywords.indexOf("Point") > -1) {
|
|
98
|
+
imgName = "sceneweblayerpoint";
|
|
99
|
+
}
|
|
100
|
+
else if (typeKeywords.indexOf("IntegratedMesh") > -1) {
|
|
101
|
+
imgName = "sceneweblayermesh";
|
|
102
|
+
}
|
|
103
|
+
else if (typeKeywords.indexOf("PointCloud") > -1) {
|
|
104
|
+
imgName = "sceneweblayerpointcloud";
|
|
105
|
+
}
|
|
106
|
+
else if (typeKeywords.indexOf("Polygon") > -1) {
|
|
107
|
+
imgName = "sceneweblayerpolygon";
|
|
108
|
+
}
|
|
109
|
+
else if (typeKeywords.indexOf("Building") > -1) {
|
|
110
|
+
imgName = "sceneweblayerbuilding";
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
imgName = "sceneweblayer";
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
else if (itemType === "image service") {
|
|
117
|
+
imgName = typeKeywords.indexOf("Elevation 3D Layer") > -1 ? "elevationlayer" : (typeKeywords.indexOf("Tiled Imagery") > -1 ? "tiledimagerylayer" : "imagery");
|
|
118
|
+
}
|
|
119
|
+
else if (itemType === "stream service") {
|
|
120
|
+
imgName = "streamlayer";
|
|
121
|
+
}
|
|
122
|
+
else if (itemType === "vector tile service") {
|
|
123
|
+
imgName = "vectortile";
|
|
124
|
+
}
|
|
125
|
+
else if (itemType === "datastore catalog service") {
|
|
126
|
+
imgName = "datastorecollection";
|
|
127
|
+
}
|
|
128
|
+
else if (itemType === "geocoding service") {
|
|
129
|
+
imgName = "geocodeservice";
|
|
130
|
+
}
|
|
131
|
+
else if (itemType === "geoprocessing service") {
|
|
132
|
+
imgName = (typeKeywords.indexOf("Web Tool") > -1 && (this.isPortal)) ? "tool" : "layers";
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
imgName = "layers";
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
else if (itemType === "web map" || itemType === "cityengine web scene") {
|
|
139
|
+
imgName = "maps";
|
|
140
|
+
}
|
|
141
|
+
else if (itemType === "web scene") {
|
|
142
|
+
imgName = typeKeywords.indexOf("ViewingMode-Local") > -1 ? "webscenelocal" : "websceneglobal";
|
|
143
|
+
}
|
|
144
|
+
else if (itemType === "web mapping application" || itemType === "mobile application" || itemType === "application" ||
|
|
145
|
+
itemType === "operation view" || itemType === "desktop application") {
|
|
146
|
+
imgName = "apps";
|
|
147
|
+
}
|
|
148
|
+
else if (itemType === "map document" || itemType === "map package" || itemType === "published map" || itemType === "scene document" ||
|
|
149
|
+
itemType === "globe document" || itemType === "basemap package" || itemType === "mobile basemap package" || itemType === "mobile map package" ||
|
|
150
|
+
itemType === "project package" || itemType === "project template" || itemType === "pro map" || itemType === "layout" ||
|
|
151
|
+
(itemType === "layer" && typeKeywords.indexOf("ArcGIS Pro") > -1) || (itemType === "explorer map" && typeKeywords.indexOf("Explorer Document"))) {
|
|
152
|
+
imgName = "mapsgray";
|
|
153
|
+
}
|
|
154
|
+
else if (itemType === "service definition" || itemType === "csv" || itemType === "shapefile" || itemType === "cad drawing" || itemType === "geojson" || itemType === "360 vr experience" || itemType === "netcdf" || itemType === "administrative report") {
|
|
155
|
+
imgName = "datafiles";
|
|
156
|
+
}
|
|
157
|
+
else if (itemType === "explorer add in" || itemType === "desktop add in" || itemType === "windows viewer add in" || itemType === "windows viewer configuration") {
|
|
158
|
+
imgName = "appsgray";
|
|
159
|
+
}
|
|
160
|
+
else if (itemType === "arcgis pro add in" || itemType === "arcgis pro configuration") {
|
|
161
|
+
imgName = "addindesktop";
|
|
162
|
+
}
|
|
163
|
+
else if (itemType === "rule package" || itemType === "file geodatabase" || itemType === "sqlite geodatabase" || itemType === "csv collection" || itemType === "kml collection" ||
|
|
164
|
+
itemType === "windows mobile package" || itemType === "map template" || itemType === "desktop application template" || itemType === "gml" ||
|
|
165
|
+
itemType === "arcpad package" || itemType === "code sample" || itemType === "form" || itemType === "document link" ||
|
|
166
|
+
itemType === "operations dashboard add in" || itemType === "rules package" || itemType === "image" || itemType === "workflow manager package" ||
|
|
167
|
+
(itemType === "explorer map" && typeKeywords.indexOf("Explorer Mapping Application") > -1 || typeKeywords.indexOf("Document") > -1)) {
|
|
168
|
+
imgName = "datafilesgray";
|
|
169
|
+
}
|
|
170
|
+
else if (itemType === "network analysis service" || itemType === "geoprocessing service" ||
|
|
171
|
+
itemType === "geodata service" || itemType === "geometry service" || itemType === "geoprocessing package" ||
|
|
172
|
+
itemType === "locator package" || itemType === "geoprocessing sample" || itemType === "workflow manager service") {
|
|
173
|
+
imgName = "toolsgray";
|
|
174
|
+
}
|
|
175
|
+
else if (itemType === "layer" || itemType === "layer package" || itemType === "explorer layer") {
|
|
176
|
+
imgName = "layersgray";
|
|
177
|
+
}
|
|
178
|
+
else if (itemType === "scene package") {
|
|
179
|
+
imgName = "scenepackage";
|
|
180
|
+
}
|
|
181
|
+
else if (itemType === "mobile scene package") {
|
|
182
|
+
imgName = "mobilescenepackage";
|
|
183
|
+
}
|
|
184
|
+
else if (itemType === "tile package" || itemType === "compact tile package") {
|
|
185
|
+
imgName = "tilepackage";
|
|
186
|
+
}
|
|
187
|
+
else if (itemType === "task file") {
|
|
188
|
+
imgName = "taskfile";
|
|
189
|
+
}
|
|
190
|
+
else if (itemType === "report template") {
|
|
191
|
+
imgName = "report-template";
|
|
192
|
+
}
|
|
193
|
+
else if (itemType === "statistical data collection") {
|
|
194
|
+
imgName = "statisticaldatacollection";
|
|
195
|
+
}
|
|
196
|
+
else if (itemType === "insights workbook") {
|
|
197
|
+
imgName = "workbook";
|
|
198
|
+
}
|
|
199
|
+
else if (itemType === "insights model") {
|
|
200
|
+
imgName = "insightsmodel";
|
|
201
|
+
}
|
|
202
|
+
else if (itemType === "insights page") {
|
|
203
|
+
imgName = "insightspage";
|
|
204
|
+
}
|
|
205
|
+
else if (itemType === "insights theme") {
|
|
206
|
+
imgName = "insightstheme";
|
|
207
|
+
}
|
|
208
|
+
else if (itemType === "hub initiative") {
|
|
209
|
+
imgName = "hubinitiative";
|
|
210
|
+
}
|
|
211
|
+
else if (itemType === "hub page") {
|
|
212
|
+
imgName = "hubpage";
|
|
213
|
+
}
|
|
214
|
+
else if (itemType === "hub site application") {
|
|
215
|
+
imgName = "hubsite";
|
|
216
|
+
}
|
|
217
|
+
else if (itemType === "hub event") {
|
|
218
|
+
imgName = "hubevent";
|
|
219
|
+
}
|
|
220
|
+
else if (itemType === "relational database connection") {
|
|
221
|
+
imgName = "relationaldatabaseconnection";
|
|
222
|
+
}
|
|
223
|
+
else if (itemType === "big data file share") {
|
|
224
|
+
imgName = "datastorecollection";
|
|
225
|
+
}
|
|
226
|
+
else if (itemType === "image collection") {
|
|
227
|
+
imgName = "imagecollection";
|
|
228
|
+
}
|
|
229
|
+
else if (itemType === "desktop style") {
|
|
230
|
+
imgName = "desktopstyle";
|
|
231
|
+
}
|
|
232
|
+
else if (itemType === "style") {
|
|
233
|
+
imgName = "style";
|
|
234
|
+
}
|
|
235
|
+
else if (itemType === "dashboard") {
|
|
236
|
+
imgName = "dashboard";
|
|
237
|
+
}
|
|
238
|
+
else if (itemType === "raster function template") {
|
|
239
|
+
imgName = "rasterprocessingtemplate";
|
|
240
|
+
}
|
|
241
|
+
else if (itemType === "vector tile package") {
|
|
242
|
+
imgName = "vectortilepackage";
|
|
243
|
+
}
|
|
244
|
+
else if (itemType === "ortho mapping project") {
|
|
245
|
+
imgName = "orthomappingproject";
|
|
246
|
+
}
|
|
247
|
+
else if (itemType === "ortho mapping template") {
|
|
248
|
+
imgName = "orthomappingtemplate";
|
|
249
|
+
}
|
|
250
|
+
else if (itemType === "solution") {
|
|
251
|
+
imgName = "solutions";
|
|
252
|
+
}
|
|
253
|
+
else if (itemType === "geopackage") {
|
|
254
|
+
imgName = "geopackage";
|
|
255
|
+
}
|
|
256
|
+
else if (itemType === "deep learning package") {
|
|
257
|
+
imgName = "deeplearningpackage";
|
|
258
|
+
}
|
|
259
|
+
else if (itemType === "real time analytic") {
|
|
260
|
+
imgName = "realtimeanalytics";
|
|
261
|
+
}
|
|
262
|
+
else if (itemType === "big data analytic") {
|
|
263
|
+
imgName = "bigdataanalytics";
|
|
264
|
+
}
|
|
265
|
+
else if (itemType === "feed") {
|
|
266
|
+
imgName = "feed";
|
|
267
|
+
}
|
|
268
|
+
else if (itemType === "excalibur imagery project") {
|
|
269
|
+
imgName = "excaliburimageryproject";
|
|
270
|
+
}
|
|
271
|
+
else if (itemType === "notebook") {
|
|
272
|
+
imgName = "notebook";
|
|
273
|
+
}
|
|
274
|
+
else if (itemType === "storymap") {
|
|
275
|
+
imgName = "storymap";
|
|
276
|
+
}
|
|
277
|
+
else if (itemType === "survey123 add in") {
|
|
278
|
+
imgName = "survey123addin";
|
|
279
|
+
}
|
|
280
|
+
else if (itemType === "mission") {
|
|
281
|
+
imgName = "mission";
|
|
282
|
+
}
|
|
283
|
+
else if (itemType === "mission report") {
|
|
284
|
+
imgName = "missionreport";
|
|
285
|
+
}
|
|
286
|
+
else if (itemType === "quickcapture project") {
|
|
287
|
+
imgName = "quickcaptureproject";
|
|
288
|
+
}
|
|
289
|
+
else if (itemType === "pro report") {
|
|
290
|
+
imgName = "proreport";
|
|
291
|
+
}
|
|
292
|
+
else if (itemType === "urban model") {
|
|
293
|
+
imgName = "urbanmodel";
|
|
294
|
+
}
|
|
295
|
+
else if (itemType === "web experience") {
|
|
296
|
+
imgName = "experiencebuilder";
|
|
297
|
+
}
|
|
298
|
+
else if (itemType === "web experience template") {
|
|
299
|
+
imgName = "webexperiencetemplate";
|
|
300
|
+
}
|
|
301
|
+
else if (itemType === "workflow") {
|
|
302
|
+
imgName = "workflow";
|
|
303
|
+
}
|
|
304
|
+
else if (itemType === "kernel gateway connection") {
|
|
305
|
+
imgName = "kernelgatewayconnection";
|
|
306
|
+
}
|
|
307
|
+
else if (itemType === "insights script") {
|
|
308
|
+
imgName = "insightsscript";
|
|
309
|
+
}
|
|
310
|
+
else if (itemType === "hub initiative template") {
|
|
311
|
+
imgName = "hubinitiativetemplate";
|
|
312
|
+
}
|
|
313
|
+
else if (itemType === "storymap theme") {
|
|
314
|
+
imgName = "storymaptheme";
|
|
315
|
+
}
|
|
316
|
+
else if (itemType === "group") {
|
|
317
|
+
imgName = "group";
|
|
318
|
+
}
|
|
319
|
+
else {
|
|
320
|
+
imgName = "maps";
|
|
321
|
+
}
|
|
322
|
+
return imgName ? index.getAssetPath(imgDir + imgName + size + ".png") : null;
|
|
323
|
+
}
|
|
324
|
+
static get assetsDirs() { return ["item-icons"]; }
|
|
325
|
+
};
|
|
326
|
+
SolutionItemIcon.style = SolutionItemIconStyle0;
|
|
327
|
+
|
|
328
|
+
exports.solution_item_icon = SolutionItemIcon;
|