@esri/solutions-components 0.6.17 → 0.6.19
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/dist/assets/t9n/map-tools/resources.json +2 -1
- package/dist/assets/t9n/map-tools/resources_en.json +2 -1
- package/dist/assets/t9n/solution-spatial-ref/resources.json +0 -1
- package/dist/assets/t9n/solution-spatial-ref/resources_en.json +0 -1
- package/dist/assets/t9n/solution-spatial-ref/resources_fr.json +6 -0
- package/dist/assets/t9n/solution-spatial-ref/resources_he.json +6 -0
- package/dist/assets/t9n/spatial-ref/resources.json +3 -0
- package/dist/assets/t9n/spatial-ref/resources_en.json +3 -0
- package/dist/assets/t9n/spatial-ref/resources_fr.json +3 -0
- package/dist/assets/t9n/spatial-ref/resources_he.json +3 -0
- package/dist/cjs/{ExpandToggle-18c74d06.js → ExpandToggle-39e472da.js} +1 -1
- package/dist/cjs/{FloatingArrow-8cc84cea.js → FloatingArrow-8c88459a.js} +1 -1
- package/dist/cjs/{Heading-c02158c2.js → Heading-8b27f655.js} +1 -1
- package/dist/cjs/{ar-3ed0e602.js → ar-6b662222.js} +5 -5
- package/dist/cjs/{basemap-gallery_6.cjs.entry.js → basemap-gallery_7.cjs.entry.js} +128 -6
- package/dist/cjs/{bg-6057cefd.js → bg-fa2dc0d8.js} +5 -5
- package/dist/cjs/{bs-7a26fe7c.js → bs-feb3d9c5.js} +5 -5
- package/dist/cjs/buffer-tools_4.cjs.entry.js +7 -7
- package/dist/cjs/{ca-5f6c553c.js → ca-0277c48d.js} +5 -5
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar_3.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-pad.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +4 -4
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js +3 -3
- package/dist/cjs/calcite-block.cjs.entry.js +5 -5
- package/dist/cjs/calcite-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +3 -3
- package/dist/cjs/{calcite-tree_3.cjs.entry.js → calcite-checkbox_3.cjs.entry.js} +124 -320
- package/dist/cjs/calcite-chip-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-chip.cjs.entry.js +4 -4
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -3
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +24 -20
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
- package/dist/cjs/calcite-filter_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-flow-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
- package/dist/cjs/calcite-graph.cjs.entry.js +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-number_2.cjs.entry.js +4 -4
- package/dist/cjs/{calcite-input-time-picker-c1aa4c8f.js → calcite-input-time-picker-0b068c1f.js} +53 -53
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +2 -2
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
- package/dist/cjs/calcite-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu.cjs.entry.js +3 -3
- package/dist/cjs/calcite-meter.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +5 -5
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
- package/dist/cjs/calcite-notice_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pagination.cjs.entry.js +3 -3
- package/dist/cjs/calcite-panel_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +4 -4
- package/dist/cjs/calcite-pick-list.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-rating.cjs.entry.js +4 -4
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-sheet.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +11 -10
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-stepper.cjs.entry.js +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-table-row.cjs.entry.js +1 -1
- package/dist/cjs/calcite-table.cjs.entry.js +3 -3
- package/dist/cjs/calcite-text-area.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
- package/dist/cjs/calcite-time-picker.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip.cjs.entry.js +4 -4
- package/dist/cjs/card-manager_3.cjs.entry.js +15 -12
- package/dist/{collection/components/card-manager/test/card-manager.e2e.js → cjs/common-13719149.js} +17 -9
- package/dist/cjs/{conditionalSlot-c989690a.js → conditionalSlot-795790b5.js} +1 -1
- package/dist/cjs/crowdsource-manager.cjs.entry.js +14 -9
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/{cs-532325fc.js → cs-6f20de14.js} +5 -5
- package/dist/cjs/{da-41411e1e.js → da-d4b3c7de.js} +5 -5
- package/dist/cjs/{de-at-31452a36.js → de-at-b9df2464.js} +5 -5
- package/dist/cjs/{de-7faafe28.js → de-cd070c4c.js} +5 -5
- package/dist/cjs/{de-ch-c05ad794.js → de-ch-8012e3ac.js} +5 -5
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{downloadUtils-121fd7ff.js → downloadUtils-3e8b45ec.js} +3 -3
- package/dist/cjs/edit-card_2.cjs.entry.js +7 -6
- package/dist/cjs/{el-336b9b7a.js → el-3bafc319.js} +5 -5
- package/dist/cjs/{en-au-274bdf3e.js → en-au-69ac6dd5.js} +5 -5
- package/dist/cjs/{en-ca-feb0dab0.js → en-ca-e2d69548.js} +5 -5
- package/dist/cjs/{en-gb-0d00325d.js → en-gb-43cbe44d.js} +5 -5
- package/dist/cjs/{es-13de9478.js → es-f809bdee.js} +5 -5
- package/dist/cjs/{es-mx-a889d63d.js → es-mx-cb6bdcde.js} +5 -5
- package/dist/cjs/{et-e8b90e16.js → et-d1fb804f.js} +5 -5
- package/dist/cjs/{fi-7a32cf84.js → fi-809e575d.js} +5 -5
- package/dist/cjs/{form-44895e53.js → form-78a3337d.js} +1 -1
- package/dist/cjs/{fr-ch-1b79327b.js → fr-ch-ec117c1a.js} +5 -5
- package/dist/cjs/{fr-4b281d52.js → fr-e300020c.js} +5 -5
- package/dist/cjs/{he-b155cf0c.js → he-f419115b.js} +5 -5
- package/dist/cjs/{hi-f036e41f.js → hi-0837fa9e.js} +5 -5
- package/dist/cjs/{hr-ef421ab5.js → hr-26c92b0c.js} +5 -5
- package/dist/cjs/{hu-9a9495fa.js → hu-b4348f61.js} +5 -5
- package/dist/cjs/{id-57d1c6f3.js → id-39ae2fbb.js} +5 -5
- package/dist/cjs/{index-ee37804b.js → index-1ffa261f.js} +48 -18
- package/dist/cjs/{index-feeb7b6a.js → index-2bdbac04.js} +1 -1
- package/dist/cjs/{index.es-5c0c137a.js → index.es-bf2ee853.js} +4 -4
- package/dist/cjs/{it-cd26a173.js → it-c0010df5.js} +5 -5
- package/dist/cjs/{it-ch-7704635a.js → it-ch-1d96ff25.js} +5 -5
- package/dist/cjs/{ja-a40fc95f.js → ja-d612ffd0.js} +5 -5
- package/dist/cjs/{ko-1ca619b7.js → ko-3bacee3c.js} +5 -5
- package/dist/cjs/layout-manager.cjs.entry.js +2 -2
- package/dist/cjs/list-item.cjs.entry.js +1 -1
- package/dist/cjs/{loadModules-f6df8d6a.js → loadModules-03328b9d.js} +1 -1
- package/dist/cjs/{loadable-5d36908d.js → loadable-d12ec307.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-67f5f6b6.js → locale-d50f3250.js} +1 -1
- package/dist/cjs/{lt-1d18afa8.js → lt-3d9fa497.js} +5 -5
- package/dist/cjs/{lv-142ba83c.js → lv-3b7eddb4.js} +5 -5
- package/dist/cjs/map-select-tools_3.cjs.entry.js +6 -6
- package/dist/cjs/{mk-fa7c661d.js → mk-06e25b87.js} +5 -5
- package/dist/cjs/{nb-bae4efed.js → nb-631e48ca.js} +5 -5
- package/dist/cjs/{nl-2a0ce458.js → nl-6db6ac0b.js} +5 -5
- package/dist/cjs/{openCloseComponent-078fbb79.js → openCloseComponent-cfafcccc.js} +1 -1
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{pl-bbd4edda.js → pl-a139e04e.js} +5 -5
- package/dist/cjs/{pt-br-36764205.js → pt-br-11aab00e.js} +5 -5
- package/dist/cjs/{pt-74ab8ef9.js → pt-f3d702ac.js} +5 -5
- package/dist/cjs/public-notification.cjs.entry.js +6 -6
- package/dist/cjs/{publicNotificationStore-610bd880.js → publicNotificationStore-9c812ef4.js} +1 -1
- package/dist/cjs/{ro-ce2e1b5a.js → ro-49c70e64.js} +5 -5
- package/dist/cjs/{ru-0349726f.js → ru-304563d2.js} +5 -5
- package/dist/cjs/{shared-list-render-a5fb8233.js → shared-list-render-e6464688.js} +1 -1
- package/dist/cjs/{sk-2a42230b.js → sk-a8fe9263.js} +5 -5
- package/dist/cjs/{sl-27146799.js → sl-bf82d012.js} +5 -5
- package/dist/cjs/solution-configuration.cjs.entry.js +5 -4
- package/dist/cjs/solution-contents_3.cjs.entry.js +23 -21258
- package/dist/cjs/solution-item-icon.cjs.entry.js +327 -0
- package/dist/cjs/{solution-store-c443e657.js → solution-resource-f9e3b289.js} +2 -1698
- package/dist/cjs/solution-store-714601a2.js +1707 -0
- package/dist/cjs/solutions-components.cjs.js +3 -3
- package/dist/cjs/spatial-ref.cjs.entry.js +21293 -0
- package/dist/cjs/{sr-72fa52b5.js → sr-4f2f9974.js} +5 -5
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/{sv-c7abc43b.js → sv-a2916e2b.js} +5 -5
- package/dist/cjs/{t9n-a3d7ce48.js → t9n-c630f16d.js} +1 -1
- package/dist/cjs/{th-e7620fd7.js → th-c5f23e8f.js} +5 -5
- package/dist/cjs/{tr-c1f9956d.js → tr-0486b336.js} +5 -5
- package/dist/cjs/{uk-a5fc4e4a.js → uk-3cf18069.js} +5 -5
- package/dist/cjs/{utils-a4918620.js → utils-0f154174.js} +1 -1
- package/dist/cjs/{vi-bd88795c.js → vi-813fe8f6.js} +5 -5
- package/dist/cjs/{zh-cn-797be53d.js → zh-cn-e835d4ea.js} +5 -5
- package/dist/cjs/{zh-hk-d1f6cd4e.js → zh-hk-cdc4af5b.js} +5 -5
- package/dist/cjs/{zh-tw-0342f9c3.js → zh-tw-5a93dab8.js} +5 -5
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/card-manager/card-manager.js +2 -2
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +16 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +47 -6
- package/dist/collection/components/edit-card/edit-card.css +0 -12
- package/dist/collection/components/floor-filter/floor-filter.css +19 -0
- package/dist/collection/components/floor-filter/floor-filter.js +181 -0
- package/dist/collection/components/info-card/info-card.js +3 -2
- package/dist/collection/components/layer-table/layer-table.css +8 -0
- package/dist/collection/components/layer-table/layer-table.js +20 -4
- package/dist/collection/components/map-card/map-card.js +19 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +15 -11
- package/dist/collection/components/map-picker/map-picker.css +1 -4
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +54 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +7 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.css +1 -7
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +37 -291
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.e2e.js +24 -12
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.spec.js +32 -128
- package/dist/collection/components/spatial-ref/spatial-ref.css +20 -0
- package/dist/collection/components/spatial-ref/spatial-ref.js +445 -0
- package/dist/collection/components/spatial-ref/test/spatial-ref.e2e.js +71 -0
- package/dist/collection/components/spatial-ref/test/spatial-ref.spec.js +158 -0
- package/dist/collection/demos/crowdsource-manager.html +4 -0
- package/dist/collection/demos/solution-spatial-ref.html +9 -16
- package/dist/collection/demos/spatial-ref.html +53 -0
- package/dist/collection/utils/{templates.e2e.js → test/templates.e2e.js} +2 -2
- package/dist/collection/utils/{templates.e2e.ts → test/templates.e2e.ts} +2 -2
- package/dist/components/action-bar.js +7 -0
- package/dist/components/action-group.js +4 -0
- package/dist/components/action-menu.js +5 -1
- package/dist/components/action.js +3 -0
- package/dist/components/alert.js +8 -1
- package/dist/components/basemap-gallery2.js +2 -0
- package/dist/components/buffer-tools2.js +3 -0
- package/dist/components/button.js +4 -0
- package/dist/components/calcite-accordion.js +6 -1
- package/dist/components/calcite-action-pad.js +5 -0
- package/dist/components/calcite-block-section.js +3 -0
- package/dist/components/calcite-block.js +3 -0
- package/dist/components/calcite-card.js +3 -0
- package/dist/components/calcite-chip-group.js +3 -1
- package/dist/components/calcite-color-picker.js +9 -1
- package/dist/components/calcite-flow-item.js +3 -0
- package/dist/components/calcite-inline-editable.js +6 -1
- package/dist/components/calcite-input-date-picker.js +16 -1
- package/dist/components/calcite-input-time-picker.js +10 -0
- package/dist/components/calcite-input-time-zone.js +3 -0
- package/dist/components/calcite-menu-item.js +4 -1
- package/dist/components/calcite-meter.js +11 -0
- package/dist/components/calcite-option-group.js +3 -0
- package/dist/components/calcite-radio-button-group.js +6 -1
- package/dist/components/calcite-radio-button.js +6 -1
- package/dist/components/calcite-rating.js +4 -0
- package/dist/components/calcite-sheet.js +5 -1
- package/dist/components/calcite-split-button.js +3 -0
- package/dist/components/calcite-stepper-item.js +5 -1
- package/dist/components/calcite-stepper.js +7 -1
- package/dist/components/calcite-table-row.js +8 -1
- package/dist/components/calcite-table.js +10 -1
- package/dist/components/calcite-text-area.js +3 -0
- package/dist/components/calcite-tile-select.js +4 -1
- package/dist/components/calcite-tip-manager.js +5 -0
- package/dist/components/calcite-tip.js +3 -0
- package/dist/components/card-manager2.js +2 -2
- package/dist/components/chip.js +4 -1
- package/dist/components/color-picker-hex-input.js +2 -0
- package/dist/components/color-picker-swatch.js +2 -0
- package/dist/components/combobox-item.js +2 -0
- package/dist/components/combobox.js +14 -1
- package/dist/components/crowdsource-manager.js +86 -73
- package/dist/components/date-picker-month-header.js +4 -0
- package/dist/components/date-picker.js +8 -0
- package/dist/components/dropdown-group.js +3 -1
- package/dist/components/dropdown.js +9 -1
- package/dist/components/edit-card2.js +4 -1
- package/dist/components/filter2.js +5 -0
- package/dist/components/floor-filter.d.ts +11 -0
- package/dist/components/floor-filter.js +11 -0
- package/dist/components/floor-filter2.js +119 -0
- package/dist/components/handle.js +8 -0
- package/dist/components/icon.js +3 -0
- package/dist/components/info-card2.js +7 -3
- package/dist/components/input-message.js +3 -0
- package/dist/components/input-number.js +8 -0
- package/dist/components/input-text.js +6 -0
- package/dist/components/input.js +9 -0
- package/dist/components/layer-table2.js +12 -6
- package/dist/components/list-item2.js +8 -1
- package/dist/components/list.js +8 -1
- package/dist/components/map-card2.js +45 -37
- package/dist/components/map-draw-tools2.js +3 -0
- package/dist/components/map-fullscreen2.js +2 -0
- package/dist/components/map-layer-picker2.js +17 -11
- package/dist/components/map-legend2.js +2 -0
- package/dist/components/map-picker2.js +5 -2
- package/dist/components/map-search2.js +3 -0
- package/dist/components/map-select-tools2.js +4 -1
- package/dist/components/map-tools2.js +58 -11
- package/dist/components/menu.js +5 -1
- package/dist/components/modal.js +7 -1
- package/dist/components/notice.js +5 -0
- package/dist/components/option.js +5 -0
- package/dist/components/pagination.js +3 -0
- package/dist/components/panel.js +3 -0
- package/dist/components/pick-list-item.js +9 -0
- package/dist/components/popover.js +11 -0
- package/dist/components/public-notification.js +8 -1
- package/dist/components/scrim.js +3 -0
- package/dist/components/segmented-control-item.js +2 -0
- package/dist/components/segmented-control.js +7 -1
- package/dist/components/select.js +4 -1
- package/dist/components/shell-panel.js +8 -0
- package/dist/components/slider.js +7 -1
- package/dist/components/solution-configuration.js +83 -73
- package/dist/components/solution-contents2.js +2 -0
- package/dist/components/solution-item-sharing2.js +2 -0
- package/dist/components/solution-item2.js +2 -0
- package/dist/components/solution-organization-variables2.js +2 -0
- package/dist/components/solution-resource-item2.js +4 -1
- package/dist/components/solution-resource.js +1836 -0
- package/dist/components/solution-spatial-ref2.js +41 -21277
- package/dist/components/solution-store.js +2 -1830
- package/dist/components/solution-template-data2.js +2 -0
- package/dist/components/solution-variables2.js +2 -0
- package/dist/components/spatial-ref.d.ts +11 -0
- package/dist/components/spatial-ref.js +11 -0
- package/dist/components/spatial-ref2.js +21376 -0
- package/dist/components/tab-nav.js +4 -1
- package/dist/components/tab-title.js +5 -1
- package/dist/components/table-cell.js +4 -0
- package/dist/components/table-header.js +5 -0
- package/dist/components/time-picker.js +6 -1
- package/dist/components/tooltip.js +7 -0
- package/dist/components/tree-item.js +5 -1
- package/dist/components/value-list.js +4 -1
- package/dist/esm/{ExpandToggle-cc557b88.js → ExpandToggle-583be90e.js} +1 -1
- package/dist/esm/{FloatingArrow-2ae40cab.js → FloatingArrow-f3c4aaad.js} +1 -1
- package/dist/esm/{Heading-e0cca2ac.js → Heading-28b8fc31.js} +1 -1
- package/dist/esm/{ar-ddf52dcc.js → ar-d7509316.js} +5 -5
- package/dist/esm/{basemap-gallery_6.entry.js → basemap-gallery_7.entry.js} +128 -7
- package/dist/esm/{bg-6ae0e04d.js → bg-a6c0d55d.js} +5 -5
- package/dist/esm/{bs-b8b19908.js → bs-a98cc594.js} +5 -5
- package/dist/esm/buffer-tools_4.entry.js +7 -7
- package/dist/esm/{ca-35b5c182.js → ca-8d7b9677.js} +5 -5
- package/dist/esm/calcite-accordion-item.entry.js +2 -2
- package/dist/esm/calcite-accordion.entry.js +1 -1
- package/dist/esm/calcite-action-bar_3.entry.js +5 -5
- package/dist/esm/calcite-action-group_2.entry.js +4 -4
- package/dist/esm/calcite-action-pad.entry.js +5 -5
- package/dist/esm/calcite-action_2.entry.js +6 -6
- package/dist/esm/calcite-alert.entry.js +4 -4
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block-section.entry.js +3 -3
- package/dist/esm/calcite-block.entry.js +5 -5
- package/dist/esm/calcite-button.entry.js +4 -4
- package/dist/esm/calcite-card.entry.js +3 -3
- package/dist/esm/{calcite-tree_3.entry.js → calcite-checkbox_3.entry.js} +125 -321
- package/dist/esm/calcite-chip-group.entry.js +2 -2
- package/dist/esm/calcite-chip.entry.js +4 -4
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
- package/dist/esm/calcite-color-picker.entry.js +3 -3
- package/dist/esm/calcite-combobox-item-group.entry.js +1 -1
- package/dist/esm/calcite-combobox_6.entry.js +24 -20
- package/dist/esm/calcite-date-picker-day_3.entry.js +2 -2
- package/dist/esm/calcite-date-picker.entry.js +4 -4
- package/dist/esm/calcite-fab.entry.js +2 -2
- package/dist/esm/calcite-filter_3.entry.js +3 -3
- package/dist/esm/calcite-flow-item.entry.js +3 -3
- package/dist/esm/calcite-flow.entry.js +2 -2
- package/dist/esm/calcite-graph.entry.js +1 -1
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +3 -3
- package/dist/esm/calcite-input-date-picker.entry.js +6 -6
- package/dist/esm/calcite-input-number_2.entry.js +4 -4
- package/dist/esm/{calcite-input-time-picker-25074af7.js → calcite-input-time-picker-f5250903.js} +53 -53
- package/dist/esm/calcite-input-time-picker.entry.js +5 -5
- package/dist/esm/calcite-input-time-zone.entry.js +4 -4
- package/dist/esm/calcite-input_2.entry.js +4 -4
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +2 -2
- package/dist/esm/calcite-list-item-group.entry.js +1 -1
- package/dist/esm/calcite-loader.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.entry.js +5 -5
- package/dist/esm/calcite-navigation-logo.entry.js +2 -2
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +2 -2
- package/dist/esm/calcite-notice_2.entry.js +6 -6
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +3 -3
- package/dist/esm/calcite-pagination.entry.js +3 -3
- package/dist/esm/calcite-panel_2.entry.js +5 -5
- package/dist/esm/calcite-pick-list-group.entry.js +3 -3
- package/dist/esm/calcite-pick-list-item.entry.js +4 -4
- package/dist/esm/calcite-pick-list.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +3 -3
- package/dist/esm/calcite-rating.entry.js +4 -4
- package/dist/esm/calcite-scrim.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/calcite-shell-panel_14.entry.js +9 -8
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +2 -2
- package/dist/esm/calcite-stepper-item.entry.js +2 -2
- package/dist/esm/calcite-stepper.entry.js +1 -1
- 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 +4 -4
- package/dist/esm/calcite-tile-select-group.entry.js +1 -1
- package/dist/esm/calcite-tile-select.entry.js +2 -2
- package/dist/esm/calcite-tile.entry.js +2 -2
- package/dist/esm/calcite-time-picker.entry.js +3 -3
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +3 -3
- package/dist/esm/calcite-tip.entry.js +4 -4
- package/dist/esm/card-manager_3.entry.js +15 -12
- package/dist/{collection/components/buffer-tools/test/buffer-tools.e2e.js → esm/common-e4a8e353.js} +15 -9
- package/dist/esm/{conditionalSlot-1fee63c6.js → conditionalSlot-7a5c509c.js} +1 -1
- package/dist/esm/crowdsource-manager.entry.js +14 -9
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/{cs-6b705d4a.js → cs-38f3de9d.js} +5 -5
- package/dist/esm/{da-98fb2f82.js → da-6ef39f6c.js} +5 -5
- package/dist/esm/{de-8c50f5a9.js → de-6aef04c8.js} +5 -5
- package/dist/esm/{de-at-1691a616.js → de-at-6617bb68.js} +5 -5
- package/dist/esm/{de-ch-79a84498.js → de-ch-552d1170.js} +5 -5
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/{downloadUtils-287994b1.js → downloadUtils-13d9188b.js} +3 -3
- package/dist/esm/edit-card_2.entry.js +7 -6
- package/dist/esm/{el-190e7ae2.js → el-36c2f66f.js} +5 -5
- package/dist/esm/{en-au-0ef540f4.js → en-au-d58f85c1.js} +5 -5
- package/dist/esm/{en-ca-7620d498.js → en-ca-1693b17f.js} +5 -5
- package/dist/esm/{en-gb-9979e5e6.js → en-gb-827d54cc.js} +5 -5
- package/dist/esm/{es-684f674f.js → es-adb3fd4e.js} +5 -5
- package/dist/esm/{es-mx-6557f849.js → es-mx-82199d09.js} +5 -5
- package/dist/esm/{et-39dc88ee.js → et-af7f407f.js} +5 -5
- package/dist/esm/{fi-ae888a7e.js → fi-37c08e8e.js} +5 -5
- package/dist/esm/{form-65431957.js → form-a6c0a47e.js} +1 -1
- package/dist/esm/{fr-0f3e5633.js → fr-1dbd68cf.js} +5 -5
- package/dist/esm/{fr-ch-1d3f3d8b.js → fr-ch-0da3f9d5.js} +5 -5
- package/dist/esm/{he-ded822de.js → he-970bc7e6.js} +5 -5
- package/dist/esm/{hi-2ac80022.js → hi-e332f8ea.js} +5 -5
- package/dist/esm/{hr-394e5f6e.js → hr-e7103f84.js} +5 -5
- package/dist/esm/{hu-20e6d5bf.js → hu-876d56a7.js} +5 -5
- package/dist/esm/{id-b3e29596.js → id-c53da15f.js} +5 -5
- package/dist/esm/{index-c7de2486.js → index-0740c914.js} +48 -18
- package/dist/esm/{index-f4bd5aa3.js → index-71d123d4.js} +1 -1
- package/dist/esm/{index.es-a3f8409f.js → index.es-edd974bc.js} +4 -4
- package/dist/esm/{it-ch-310cd66d.js → it-ch-c7aeaf03.js} +5 -5
- package/dist/esm/{it-fd4ce07f.js → it-f98d068c.js} +5 -5
- package/dist/esm/{ja-491a796f.js → ja-596aa74d.js} +5 -5
- package/dist/esm/{ko-4b0e597a.js → ko-bdf2643b.js} +5 -5
- package/dist/esm/layout-manager.entry.js +2 -2
- package/dist/esm/list-item.entry.js +1 -1
- package/dist/esm/{loadModules-2880c7e3.js → loadModules-687a30c5.js} +1 -1
- package/dist/esm/{loadable-d0274dee.js → loadable-54096620.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-9624832c.js → locale-6be4e8f0.js} +1 -1
- package/dist/esm/{lt-e3b6faa8.js → lt-029144ad.js} +5 -5
- package/dist/esm/{lv-843c127b.js → lv-00292bd8.js} +5 -5
- package/dist/esm/map-select-tools_3.entry.js +6 -6
- package/dist/esm/{mk-7d312f03.js → mk-ca84aaa7.js} +5 -5
- package/dist/esm/{nb-2e44a8ff.js → nb-3a17d242.js} +5 -5
- package/dist/esm/{nl-672e572a.js → nl-42fe3f2b.js} +5 -5
- package/dist/esm/{openCloseComponent-c3d01cbc.js → openCloseComponent-fd76e488.js} +1 -1
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/{pl-2d04d234.js → pl-8ccccfb6.js} +5 -5
- package/dist/esm/{pt-03401582.js → pt-470ef28a.js} +5 -5
- package/dist/esm/{pt-br-d672a5e9.js → pt-br-15c5e95d.js} +5 -5
- package/dist/esm/public-notification.entry.js +6 -6
- package/dist/esm/{publicNotificationStore-dcf39a55.js → publicNotificationStore-f25d1e95.js} +1 -1
- package/dist/esm/{ro-af820149.js → ro-6ccfabcf.js} +5 -5
- package/dist/esm/{ru-1a0cd9d9.js → ru-4ca6ea5c.js} +5 -5
- package/dist/esm/{shared-list-render-e8aa5fa4.js → shared-list-render-0d4accf0.js} +1 -1
- package/dist/esm/{sk-1e1c79eb.js → sk-d2cc438e.js} +5 -5
- package/dist/esm/{sl-a99cc70f.js → sl-fa960833.js} +5 -5
- package/dist/esm/solution-configuration.entry.js +5 -4
- package/dist/esm/solution-contents_3.entry.js +22 -21257
- package/dist/esm/solution-item-icon.entry.js +323 -0
- package/dist/esm/{solution-store-b29d50f7.js → solution-resource-be35d35b.js} +1 -1697
- package/dist/esm/solution-store-3ee6c7a3.js +1704 -0
- package/dist/esm/solutions-components.js +4 -4
- package/dist/esm/spatial-ref.entry.js +21289 -0
- package/dist/esm/{sr-17c90387.js → sr-e13a01d0.js} +5 -5
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/{sv-3a1f0f81.js → sv-ce009db9.js} +5 -5
- package/dist/esm/{t9n-142cc7d6.js → t9n-1eaba69b.js} +1 -1
- package/dist/esm/{th-5b5e589e.js → th-bd60a4c0.js} +5 -5
- package/dist/esm/{tr-2abb582d.js → tr-b117b905.js} +5 -5
- package/dist/esm/{uk-c4017d1c.js → uk-d75d58c8.js} +5 -5
- package/dist/esm/{utils-25bc3baa.js → utils-bc49354a.js} +1 -1
- package/dist/esm/{vi-7fcdb1c9.js → vi-d7057f94.js} +5 -5
- package/dist/esm/{zh-cn-dd3f8e1a.js → zh-cn-21968b0c.js} +5 -5
- package/dist/esm/{zh-hk-c3cc3efa.js → zh-hk-848e7600.js} +5 -5
- package/dist/esm/{zh-tw-9795e61e.js → zh-tw-9930054d.js} +5 -5
- package/dist/solutions-components/demos/crowdsource-manager.html +4 -0
- package/dist/solutions-components/demos/solution-spatial-ref.html +9 -16
- package/dist/solutions-components/demos/spatial-ref.html +53 -0
- package/dist/solutions-components/{p-5ce6c4f9.js → p-0014f93f.js} +1 -1
- package/dist/solutions-components/{p-172c2ff8.js → p-01a8ab25.js} +1 -1
- package/dist/solutions-components/{p-01b8dcb9.entry.js → p-01f06f9a.entry.js} +1 -1
- package/dist/solutions-components/{p-794f5ecf.entry.js → p-02637c3c.entry.js} +1 -1
- package/dist/solutions-components/{p-b08b69f3.entry.js → p-0272b972.entry.js} +3 -3
- package/dist/solutions-components/{p-34471053.entry.js → p-037f2f52.entry.js} +1 -1
- package/dist/solutions-components/{p-31c9aa38.entry.js → p-04660d48.entry.js} +1 -1
- package/dist/solutions-components/{p-d67cd53a.entry.js → p-04735c27.entry.js} +1 -1
- package/dist/solutions-components/{p-0dab4c93.js → p-05948b48.js} +1 -1
- package/dist/solutions-components/{p-04115935.entry.js → p-06bc850e.entry.js} +1 -1
- package/dist/solutions-components/{p-3f749459.entry.js → p-08b96a9c.entry.js} +1 -1
- package/dist/solutions-components/{p-77b3a53c.entry.js → p-09dda965.entry.js} +2 -2
- package/dist/solutions-components/{p-64d29ba2.entry.js → p-0aac33f5.entry.js} +2 -2
- package/dist/solutions-components/p-0d773964.entry.js +6 -0
- package/dist/solutions-components/{p-2e8ac8d0.entry.js → p-10131b72.entry.js} +1 -1
- package/dist/solutions-components/{p-745c7800.js → p-10f990d1.js} +1 -1
- package/dist/solutions-components/{p-267b290f.js → p-112c7f0b.js} +1 -1
- package/dist/solutions-components/p-12e15eaa.js +11 -0
- package/dist/solutions-components/{p-4d942b0f.entry.js → p-13b21d19.entry.js} +2 -2
- package/dist/solutions-components/{p-25489aec.entry.js → p-1468af6d.entry.js} +1 -1
- package/dist/solutions-components/{p-768de060.entry.js → p-15b2c977.entry.js} +1 -1
- package/dist/solutions-components/{p-280fcaab.entry.js → p-1ac699f8.entry.js} +1 -1
- package/dist/{collection/components/map-card/test/map-card.e2e.js → solutions-components/p-1b228f97.js} +2 -10
- package/dist/solutions-components/{p-9c79de73.entry.js → p-1b5fdc60.entry.js} +1 -1
- package/dist/solutions-components/{p-7810711d.js → p-1ed04a5a.js} +1 -1
- package/dist/solutions-components/{p-035a137a.entry.js → p-1fcee160.entry.js} +1 -1
- package/dist/solutions-components/p-2040681e.js +6 -0
- package/dist/solutions-components/{p-6b5f3b85.entry.js → p-22025739.entry.js} +1 -1
- package/dist/solutions-components/p-22edbea5.entry.js +6 -0
- package/dist/solutions-components/{p-129e03dd.entry.js → p-236b2000.entry.js} +1 -1
- package/dist/solutions-components/{p-fedd0f22.js → p-2406fda3.js} +1 -1
- package/dist/solutions-components/{p-7e378eb0.js → p-272018eb.js} +1 -1
- package/dist/solutions-components/{p-f524cc5b.entry.js → p-27492081.entry.js} +1 -1
- package/dist/solutions-components/{p-6fd92ce9.entry.js → p-296909a6.entry.js} +1 -1
- package/dist/solutions-components/{p-45f50640.js → p-29e42601.js} +1 -1
- package/dist/solutions-components/{p-b6babf4d.js → p-2a23b33c.js} +1 -1
- package/dist/solutions-components/{p-1139acc7.js → p-2b749168.js} +1 -1
- package/dist/solutions-components/{p-430a06d9.js → p-2ed7930b.js} +1 -1
- package/dist/solutions-components/{p-bb2a526a.entry.js → p-2ffbb0aa.entry.js} +1 -1
- package/dist/solutions-components/{p-baac72ec.entry.js → p-32d8a04d.entry.js} +1 -1
- package/dist/solutions-components/{p-b8859882.entry.js → p-33247dbf.entry.js} +1 -1
- package/dist/solutions-components/{p-3399ccfd.js → p-345a4781.js} +1 -1
- package/dist/solutions-components/{p-1ab414e0.js → p-375fd36b.js} +2 -2
- package/dist/solutions-components/{p-1cb9e670.js → p-38dcc542.js} +1 -1
- package/dist/solutions-components/{p-4b31c994.entry.js → p-41ee9121.entry.js} +1 -1
- package/dist/solutions-components/{p-7f76fe11.js → p-44f8ec67.js} +1 -1
- package/dist/solutions-components/{p-cc462e38.js → p-482534a7.js} +1 -1
- package/dist/solutions-components/{p-cbd1313c.entry.js → p-499bc634.entry.js} +2 -2
- package/dist/solutions-components/{p-80fea327.js → p-4a382f62.js} +1 -1
- package/dist/solutions-components/{p-4a3cdcab.js → p-4caa1f9d.js} +1 -1
- package/dist/solutions-components/{p-3166f85f.entry.js → p-4dd80a57.entry.js} +1 -1
- package/dist/solutions-components/{p-34a6324f.js → p-4f35e0b8.js} +1 -1
- package/dist/solutions-components/{p-b0f131a3.entry.js → p-521e30a8.entry.js} +1 -1
- package/dist/solutions-components/{p-0a883f51.entry.js → p-52db1792.entry.js} +1 -1
- package/dist/solutions-components/{p-f913ed49.entry.js → p-52f0f3ad.entry.js} +1 -1
- package/dist/solutions-components/{p-3cc30e11.entry.js → p-53fe14b3.entry.js} +1 -1
- package/dist/solutions-components/p-573d2241.entry.js +18 -0
- package/dist/solutions-components/{p-19c5e43e.entry.js → p-575f731c.entry.js} +1 -1
- package/dist/solutions-components/{p-60395ffe.entry.js → p-579cc100.entry.js} +1 -1
- package/dist/solutions-components/{p-b1b646e2.js → p-57f2b4f9.js} +1 -1
- package/dist/solutions-components/{p-698c6a56.js → p-58c2de0d.js} +2 -2
- package/dist/solutions-components/{p-6e8a194d.js → p-58da33ce.js} +1 -1
- package/dist/solutions-components/{p-bf528ffd.js → p-595b6177.js} +1 -1
- package/dist/solutions-components/{p-ba5bb069.js → p-5c83c577.js} +1 -1
- package/dist/solutions-components/{p-d32b683a.js → p-5dc13b6d.js} +2 -2
- package/dist/solutions-components/{p-15a9fe95.entry.js → p-5e8dee25.entry.js} +1 -1
- package/dist/solutions-components/{p-344f18cb.js → p-61f3b001.js} +1 -1
- package/dist/solutions-components/{p-469c8f8a.js → p-63a6c23c.js} +1 -1
- package/dist/solutions-components/{p-eb58da32.entry.js → p-649e12c3.entry.js} +1 -1
- package/dist/solutions-components/{p-4a1177cb.js → p-6610bad4.js} +1 -1
- package/dist/solutions-components/{p-c6ec3442.js → p-66380f26.js} +1 -1
- package/dist/solutions-components/{p-5ef595d1.entry.js → p-672d79f2.entry.js} +1 -1
- package/dist/solutions-components/{p-936f3d55.js → p-68b33cb6.js} +1 -1
- package/dist/solutions-components/{p-78d2e50c.entry.js → p-6954fc16.entry.js} +1 -1
- package/dist/solutions-components/{p-ab1136be.entry.js → p-6d50909d.entry.js} +1 -1
- package/dist/solutions-components/{p-7501734c.js → p-6e5bbdbd.js} +1 -1
- package/dist/solutions-components/{p-bca7e7eb.entry.js → p-6e89bbec.entry.js} +1 -1
- package/dist/solutions-components/{p-9d8f7215.js → p-6eecc279.js} +1 -1
- package/dist/solutions-components/{p-4797a3cf.entry.js → p-6f012379.entry.js} +1 -1
- package/dist/solutions-components/{p-8bed242f.entry.js → p-70c370a9.entry.js} +1 -1
- package/dist/solutions-components/{p-eaf5987f.js → p-71d0f30c.js} +1 -1
- package/dist/solutions-components/{p-cef70b7a.entry.js → p-740ef07f.entry.js} +1 -1
- package/dist/solutions-components/{p-dfd2bfd2.entry.js → p-7758f01f.entry.js} +1 -1
- package/dist/solutions-components/{p-14476bd9.js → p-7814f6db.js} +1 -1
- package/dist/solutions-components/{p-92ad7b80.entry.js → p-790dac6b.entry.js} +1 -1
- package/dist/solutions-components/{p-4e1cd165.entry.js → p-79396110.entry.js} +1 -1
- package/dist/solutions-components/p-79c55b19.entry.js +6 -0
- package/dist/solutions-components/{p-c52751f2.js → p-7c23c4cd.js} +1 -1
- package/dist/solutions-components/{p-c53e947f.entry.js → p-7d347571.entry.js} +1 -1
- package/dist/solutions-components/p-7d7b7536.entry.js +21 -0
- package/dist/solutions-components/{p-2a4dee2f.entry.js → p-7e2220d7.entry.js} +1 -1
- package/dist/solutions-components/{p-07163369.entry.js → p-7e6b953a.entry.js} +1 -1
- package/dist/solutions-components/{p-d65c4d90.entry.js → p-7f8be8cd.entry.js} +1 -1
- package/dist/solutions-components/{p-d2f24ad1.js → p-81a962c3.js} +1 -1
- package/dist/solutions-components/{p-2bfb8046.entry.js → p-85287a5e.entry.js} +2 -2
- package/dist/solutions-components/{p-76aba0ae.entry.js → p-892075e5.entry.js} +2 -2
- package/dist/solutions-components/{p-1603e9ff.js → p-89fc9c87.js} +2 -2
- package/dist/solutions-components/{p-3abd1256.entry.js → p-8cf4fd05.entry.js} +1 -1
- package/dist/solutions-components/{p-45489c38.js → p-903aa065.js} +1 -1
- package/dist/solutions-components/p-91c78d98.js +7 -0
- package/dist/solutions-components/{p-96fe0805.entry.js → p-947d032f.entry.js} +1 -1
- package/dist/solutions-components/{p-0c48d072.js → p-965495c7.js} +1 -1
- package/dist/solutions-components/{p-e755a394.entry.js → p-9654f62f.entry.js} +1 -1
- package/dist/solutions-components/{p-423e9751.entry.js → p-97082d8d.entry.js} +1 -1
- package/dist/solutions-components/{p-22833bd3.js → p-99d8a839.js} +1 -1
- package/dist/solutions-components/{p-af7c14db.js → p-9b3e8d42.js} +1 -1
- package/dist/solutions-components/{p-57e866b8.js → p-9c5e66fe.js} +1 -1
- package/dist/solutions-components/{p-f57ac880.entry.js → p-9de59894.entry.js} +1 -1
- package/dist/solutions-components/{p-73fb22e6.js → p-9f7d7413.js} +1 -1
- package/dist/solutions-components/p-a3ef570f.entry.js +6 -0
- package/dist/solutions-components/{p-2c551d05.entry.js → p-a4328542.entry.js} +1 -1
- package/dist/solutions-components/{p-1930b17b.js → p-a452c2a8.js} +1 -1
- package/dist/solutions-components/{p-b955d734.entry.js → p-a62ec89b.entry.js} +1 -1
- package/dist/solutions-components/{p-30d623da.js → p-a6cf2623.js} +2 -2
- package/dist/solutions-components/{p-8cb140c1.js → p-a7d5752b.js} +1 -1
- package/dist/solutions-components/p-a8a80924.entry.js +6 -0
- package/dist/solutions-components/{p-ef7f84f3.js → p-ab857e6d.js} +1 -1
- package/dist/solutions-components/p-ac7332b3.entry.js +6 -0
- package/dist/solutions-components/{p-9b274fb7.entry.js → p-ae443c91.entry.js} +1 -1
- package/dist/solutions-components/{p-90da2ee4.entry.js → p-af25c24c.entry.js} +3 -3
- package/dist/solutions-components/{p-02306194.entry.js → p-af68933d.entry.js} +1 -1
- package/dist/solutions-components/{p-f21953d6.js → p-b73319e1.js} +1 -1
- package/dist/solutions-components/{p-6767ad18.entry.js → p-bb6f49fb.entry.js} +1 -1
- package/dist/solutions-components/{p-732d1f36.entry.js → p-bf48be66.entry.js} +1 -1
- package/dist/solutions-components/{p-6fd5cad1.js → p-c1a86a7f.js} +1 -1
- package/dist/solutions-components/{p-1f555ffc.js → p-c347875f.js} +1 -1
- package/dist/solutions-components/{p-f670a739.js → p-c5fd52fa.js} +1 -1
- package/dist/solutions-components/{p-2379bf72.entry.js → p-c69de0fa.entry.js} +1 -1
- package/dist/solutions-components/{p-7c5eaf19.js → p-c6c4ed96.js} +1 -1
- package/dist/solutions-components/{p-3c5c1487.entry.js → p-ceffb944.entry.js} +2 -2
- package/dist/solutions-components/{p-e01bf2ec.entry.js → p-cfdb15b7.entry.js} +1 -1
- package/dist/solutions-components/p-d0544f24.js +192 -0
- package/dist/solutions-components/{p-01eb495b.entry.js → p-d2fab6cd.entry.js} +1 -1
- package/dist/solutions-components/{p-7749e304.entry.js → p-d31fe523.entry.js} +1 -1
- package/dist/solutions-components/{p-6ac61b3a.entry.js → p-d9229a22.entry.js} +1 -1
- package/dist/solutions-components/{p-e28bec90.js → p-dac63a50.js} +1 -1
- package/dist/solutions-components/{p-252a1df3.entry.js → p-dc38fe60.entry.js} +1 -1
- package/dist/solutions-components/{p-753da967.entry.js → p-dd7e8e5d.entry.js} +1 -1
- package/dist/solutions-components/{p-28238078.js → p-dec91018.js} +1 -1
- package/dist/solutions-components/{p-734cb206.entry.js → p-e03226cf.entry.js} +1 -1
- package/dist/solutions-components/{p-493efa67.entry.js → p-e4bd7ed1.entry.js} +1 -1
- package/dist/solutions-components/{p-12faff7c.js → p-e5e60190.js} +1 -1
- package/dist/solutions-components/{p-e4a3a8a2.entry.js → p-e770c412.entry.js} +1 -1
- package/dist/solutions-components/{p-38eb91d3.js → p-e7c11602.js} +1 -1
- package/dist/solutions-components/{p-b27c416e.entry.js → p-e851ead7.entry.js} +1 -1
- package/dist/solutions-components/{p-9f193b28.entry.js → p-e85ee6f1.entry.js} +1 -1
- package/dist/solutions-components/{p-d89050c9.js → p-e9148c7b.js} +2 -2
- package/dist/solutions-components/{p-2c99a243.js → p-e9ae9ec7.js} +1 -1
- package/dist/solutions-components/{p-8abdcfa4.js → p-e9f128b3.js} +1 -1
- package/dist/solutions-components/{p-1d84e73c.js → p-eb5e6881.js} +1 -1
- package/dist/solutions-components/{p-bfc9d4b0.entry.js → p-ecd5e842.entry.js} +1 -1
- package/dist/solutions-components/{p-66dd455f.entry.js → p-f2c3068e.entry.js} +1 -1
- package/dist/solutions-components/{p-86885106.js → p-f53a8e59.js} +1 -1
- package/dist/solutions-components/{p-cb6bba8a.entry.js → p-f5523c9d.entry.js} +2 -2
- package/dist/solutions-components/{p-b6e89988.entry.js → p-fa124fdf.entry.js} +1 -1
- package/dist/solutions-components/{p-29c26a5d.entry.js → p-fa3732fa.entry.js} +1 -1
- package/dist/solutions-components/{p-69cb8427.js → p-fad93fd0.js} +1 -1
- package/dist/solutions-components/{p-d22be647.entry.js → p-fb1a6e2e.entry.js} +1 -1
- package/dist/solutions-components/{p-71fb484a.entry.js → p-fc0ca498.entry.js} +2 -2
- package/dist/solutions-components/p-ff0d7712.js +44 -0
- package/dist/solutions-components/{p-e39f0574.js → p-ff40cfb2.js} +1 -1
- package/dist/solutions-components/{p-ff4351b7.entry.js → p-ff863f16.entry.js} +1 -1
- package/dist/solutions-components/{p-016f47e2.entry.js → p-ffb567ab.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/{templates.e2e.ts → test/templates.e2e.ts} +2 -2
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +9 -1
- package/dist/types/components/floor-filter/floor-filter.d.ts +65 -0
- package/dist/types/components/layer-table/layer-table.d.ts +4 -0
- package/dist/types/components/map-card/map-card.d.ts +4 -0
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +9 -5
- package/dist/types/components/map-tools/map-tools.d.ts +24 -0
- package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +11 -93
- package/dist/types/components/spatial-ref/spatial-ref.d.ts +142 -0
- package/dist/types/components.d.ts +131 -16
- package/dist/types/preact.d.ts +8 -1
- package/dist/types/stencil-public-runtime.d.ts +3 -3
- package/package.json +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +0 -136
- package/dist/collection/components/basemap-gallery/test/basemap-gallery.e2e.js +0 -29
- package/dist/collection/components/basemap-gallery/test/basemap-gallery.spec.js +0 -37
- package/dist/collection/components/buffer-tools/test/buffer-tools.spec.js +0 -160
- package/dist/collection/components/card-manager/test/card-manager.spec.js +0 -37
- package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.e2e.js +0 -29
- package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.spec.js +0 -37
- package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.e2e.js +0 -29
- package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.spec.js +0 -37
- package/dist/collection/components/deduct-calculator/test/deduct-calculator.e2e.js +0 -29
- package/dist/collection/components/deduct-calculator/test/deduct-calculator.spec.js +0 -37
- package/dist/collection/components/edit-card/test/edit-card.e2e.js +0 -14
- package/dist/collection/components/edit-card/test/edit-card.spec.js +0 -22
- package/dist/collection/components/info-card/test/info-card.e2e.js +0 -29
- package/dist/collection/components/info-card/test/info-card.spec.js +0 -37
- package/dist/collection/components/json-editor/test/json-editor.e2e.js +0 -36
- package/dist/collection/components/json-editor/test/json-editor.spec.js +0 -65
- package/dist/collection/components/layer-table/test/layer-table.e2e.js +0 -29
- package/dist/collection/components/layer-table/test/layer-table.spec.js +0 -37
- package/dist/collection/components/layout-manager/test/layout-manager.e2e.js +0 -29
- package/dist/collection/components/layout-manager/test/layout-manager.spec.js +0 -37
- package/dist/collection/components/list-item/test/list-item.e2e.js +0 -29
- package/dist/collection/components/list-item/test/list-item.spec.js +0 -37
- package/dist/collection/components/map-card/test/map-card.spec.js +0 -37
- package/dist/collection/components/map-draw-tools/test/map-draw-tools.e2e.js +0 -29
- package/dist/collection/components/map-draw-tools/test/map-draw-tools.spec.js +0 -37
- package/dist/collection/components/map-fullscreen/test/map-fullscreen.e2e.js +0 -29
- package/dist/collection/components/map-fullscreen/test/map-fullscreen.spec.js +0 -37
- package/dist/collection/components/map-layer-picker/test/map-layer-picker.e2e.js +0 -29
- package/dist/collection/components/map-layer-picker/test/map-layer-picker.spec.js +0 -114
- package/dist/collection/components/map-legend/test/map-legend.e2e.js +0 -14
- package/dist/collection/components/map-legend/test/map-legend.spec.js +0 -22
- package/dist/collection/components/map-picker/test/map-picker.e2e.js +0 -29
- package/dist/collection/components/map-picker/test/map-picker.spec.js +0 -37
- package/dist/collection/components/map-search/test/map-search.e2e.js +0 -29
- package/dist/collection/components/map-search/test/map-search.spec.js +0 -37
- package/dist/collection/components/map-select-tools/test/map-select-tools.e2e.js +0 -29
- package/dist/collection/components/map-select-tools/test/map-select-tools.spec.js +0 -366
- package/dist/collection/components/map-tools/test/map-tools.e2e.js +0 -29
- package/dist/collection/components/map-tools/test/map-tools.spec.js +0 -37
- package/dist/collection/components/pci-calculator/test/pci-calculator.e2e.js +0 -29
- package/dist/collection/components/pci-calculator/test/pci-calculator.spec.js +0 -37
- package/dist/collection/components/pdf-download/test/pdf-download.e2e.js +0 -76
- package/dist/collection/components/pdf-download/test/pdf-download.spec.js +0 -107
- package/dist/collection/components/public-notification/test/public-notification.spec.js +0 -161
- package/dist/collection/components/refine-selection/test/refine-selection.e2e.js +0 -14
- package/dist/collection/components/refine-selection/test/refine-selection.spec.js +0 -22
- package/dist/collection/components/solution-configuration/test/solution-configuration.e2e.js +0 -36
- package/dist/collection/components/solution-configuration/test/solution-configuration.spec.js +0 -119
- package/dist/collection/components/solution-contents/test/solution-contents.e2e.js +0 -94
- package/dist/collection/components/solution-contents/test/solution-contents.spec.js +0 -143
- package/dist/collection/components/solution-item/test/solution-item.e2e.js +0 -36
- package/dist/collection/components/solution-item/test/solution-item.spec.js +0 -77
- package/dist/collection/components/solution-item-details/test/solution-item-details.e2e.js +0 -36
- package/dist/collection/components/solution-item-details/test/solution-item-details.spec.js +0 -142
- package/dist/collection/components/solution-item-icon/test/solution-item-icon.e2e.js +0 -29
- package/dist/collection/components/solution-item-icon/test/solution-item-icon.spec.js +0 -39
- package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.e2e.js +0 -36
- package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.spec.js +0 -54
- package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.e2e.js +0 -36
- package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.spec.js +0 -65
- package/dist/collection/components/solution-resource-item/test/solution-resource-item.e2e.js +0 -36
- package/dist/collection/components/solution-resource-item/test/solution-resource-item.spec.js +0 -55
- package/dist/collection/components/solution-template-data/test/solution-template-data.e2e.js +0 -36
- package/dist/collection/components/solution-template-data/test/solution-template-data.spec.js +0 -60
- package/dist/collection/components/solution-variables/test/solution-variables.e2e.js +0 -36
- package/dist/collection/components/solution-variables/test/solution-variables.spec.js +0 -131
- package/dist/esm/calcite-checkbox.entry.js +0 -132
- package/dist/solutions-components/p-17d176b5.js +0 -230
- package/dist/solutions-components/p-1d9a5198.entry.js +0 -37
- package/dist/solutions-components/p-33613993.js +0 -7
- package/dist/solutions-components/p-3707d9bd.entry.js +0 -6
- package/dist/solutions-components/p-41bbccbc.entry.js +0 -6
- package/dist/solutions-components/p-4f2fce86.entry.js +0 -6
- package/dist/solutions-components/p-5079b190.js +0 -11
- package/dist/solutions-components/p-5ffaaaf4.entry.js +0 -6
- package/dist/solutions-components/p-736e76fb.entry.js +0 -17
- package/dist/solutions-components/p-dda517b9.entry.js +0 -6
- package/dist/solutions-components/p-fec5368b.js +0 -6
- /package/dist/collection/components/{solution-spatial-ref → spatial-ref}/spatialreferences.js +0 -0
- /package/dist/types/components/{solution-spatial-ref → spatial-ref}/spatialreferences.d.ts +0 -0
@@ -0,0 +1,20 @@
|
|
1
|
+
/** @license
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
.spatial-ref-container {
|
17
|
+
max-height: 200px;
|
18
|
+
margin-bottom: 1rem;
|
19
|
+
overflow-y: auto;
|
20
|
+
}
|
@@ -0,0 +1,445 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
/** @license
|
7
|
+
* Copyright 2022 Esri
|
8
|
+
*
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10
|
+
* you may not use this file except in compliance with the License.
|
11
|
+
* You may obtain a copy of the License at
|
12
|
+
*
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
14
|
+
*
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
18
|
+
* See the License for the specific language governing permissions and
|
19
|
+
* limitations under the License.
|
20
|
+
*/
|
21
|
+
import "@esri/calcite-components";
|
22
|
+
import { h, Host } from "@stencil/core";
|
23
|
+
import { getLocaleComponentStrings } from "../../utils/locale";
|
24
|
+
import { nodeListToArray } from "../../utils/common";
|
25
|
+
import { wkids } from "./spatialreferences";
|
26
|
+
export class SpatialRef {
|
27
|
+
valueChanged(newValue) {
|
28
|
+
this.spatialReferenceChange.emit({
|
29
|
+
oldValue: this.value,
|
30
|
+
newValue: newValue
|
31
|
+
});
|
32
|
+
this._spatialRef = this._createSpatialRefDisplay(newValue);
|
33
|
+
const searchBox = document.getElementById("calcite-sr-search");
|
34
|
+
if (searchBox) {
|
35
|
+
searchBox.value = this._srSearchText = "";
|
36
|
+
}
|
37
|
+
this._clearSelection();
|
38
|
+
}
|
39
|
+
//--------------------------------------------------------------------------
|
40
|
+
//
|
41
|
+
// Lifecycle
|
42
|
+
//
|
43
|
+
//--------------------------------------------------------------------------
|
44
|
+
constructor() {
|
45
|
+
this.defaultWkid = 102100;
|
46
|
+
this.disabled = false;
|
47
|
+
this.value = this.defaultWkid.toString();
|
48
|
+
this._spatialRef = undefined;
|
49
|
+
this._srSearchText = undefined;
|
50
|
+
this._translations = undefined;
|
51
|
+
this._spatialRef = this._createSpatialRefDisplay(this.value);
|
52
|
+
}
|
53
|
+
/**
|
54
|
+
* StencilJS: Called once just after the component is first connected to the DOM.
|
55
|
+
*/
|
56
|
+
componentWillLoad() {
|
57
|
+
return this._getTranslations();
|
58
|
+
}
|
59
|
+
/**
|
60
|
+
* Renders the component.
|
61
|
+
*/
|
62
|
+
render() {
|
63
|
+
return (h(Host, null, h("div", null, h("calcite-input", { disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), h("calcite-tree", { id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
|
64
|
+
}
|
65
|
+
//--------------------------------------------------------------------------
|
66
|
+
//
|
67
|
+
// Public Methods (async)
|
68
|
+
//
|
69
|
+
//--------------------------------------------------------------------------
|
70
|
+
/**
|
71
|
+
* Returns the spatial reference description of the supplied value.
|
72
|
+
* (Exposes protected method `_createSpatialRefDisplay` for testing.)
|
73
|
+
*
|
74
|
+
* @param value WKID or WKT or null for default
|
75
|
+
* @returns If component is using a WKID, description using WKID; otherwise, the WKT; defaults to 102100
|
76
|
+
*/
|
77
|
+
async createSpatialRefDisplay(value) {
|
78
|
+
return this._createSpatialRefDisplay(value);
|
79
|
+
}
|
80
|
+
/**
|
81
|
+
* Returns the current spatial reference description.
|
82
|
+
* (Exposes protected variable `spatialRef` for testing.)
|
83
|
+
*/
|
84
|
+
async getSpatialRef() {
|
85
|
+
return this._spatialRef;
|
86
|
+
}
|
87
|
+
/**
|
88
|
+
* Converts a WKID into a spatial reference description.
|
89
|
+
* (Exposes protected method `_wkidToDisplay` for testing.)
|
90
|
+
*
|
91
|
+
* @param wkid WKID to look up
|
92
|
+
* @returns Description, or "WKID <wkid>" if a description doesn't exist for the WKID
|
93
|
+
*/
|
94
|
+
async wkidToDisplay(wkid) {
|
95
|
+
return this._wkidToDisplay(wkid);
|
96
|
+
}
|
97
|
+
//--------------------------------------------------------------------------
|
98
|
+
//
|
99
|
+
// Private Methods
|
100
|
+
//
|
101
|
+
//--------------------------------------------------------------------------
|
102
|
+
/**
|
103
|
+
* Returns the spatial reference description of the supplied value.
|
104
|
+
*
|
105
|
+
* @param value WKID or WKT or null for default
|
106
|
+
* @returns If component is using a WKID, description using WKID; otherwise, the WKT; defaults to 102100
|
107
|
+
*/
|
108
|
+
_createSpatialRefDisplay(value) {
|
109
|
+
let spatialRef;
|
110
|
+
if (!value) {
|
111
|
+
spatialRef = {
|
112
|
+
display: this._wkidToDisplay(this.defaultWkid),
|
113
|
+
usingWkid: true,
|
114
|
+
wkid: this.defaultWkid,
|
115
|
+
wkt: ""
|
116
|
+
};
|
117
|
+
}
|
118
|
+
else {
|
119
|
+
const wkid = Number.parseInt(value);
|
120
|
+
spatialRef = isNaN(wkid) ? {
|
121
|
+
display: value,
|
122
|
+
usingWkid: false,
|
123
|
+
wkid: 0,
|
124
|
+
wkt: value
|
125
|
+
} : {
|
126
|
+
display: this._wkidToDisplay(wkid),
|
127
|
+
usingWkid: true,
|
128
|
+
wkid: wkid,
|
129
|
+
wkt: ""
|
130
|
+
};
|
131
|
+
}
|
132
|
+
return spatialRef;
|
133
|
+
}
|
134
|
+
/**
|
135
|
+
* Stores the wkid as the components value.
|
136
|
+
*/
|
137
|
+
_setSpatialRef(wkid) {
|
138
|
+
if (this.value !== wkid) {
|
139
|
+
this.value = wkid;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
/**
|
143
|
+
* Converts a WKID into a spatial reference description.
|
144
|
+
*
|
145
|
+
* @param wkid WKID to look up
|
146
|
+
* @returns Description, or "WKID <wkid>" if a description doesn't exist for the WKID
|
147
|
+
*/
|
148
|
+
_wkidToDisplay(wkid) {
|
149
|
+
const description = wkids[wkid];
|
150
|
+
return description ? description.label + " (" + wkid.toString() + ")" : "WKID " + wkid.toString();
|
151
|
+
}
|
152
|
+
/**
|
153
|
+
* Sets the search text State and cause render; if Enter key, selects the first child.
|
154
|
+
*
|
155
|
+
* @param event The keyboard event
|
156
|
+
*/
|
157
|
+
_searchInputKeyDown(event) {
|
158
|
+
if (event.key === "Enter") {
|
159
|
+
this._selectFirstChild();
|
160
|
+
}
|
161
|
+
else {
|
162
|
+
const searchBox = document.getElementById("calcite-sr-search");
|
163
|
+
if (searchBox) {
|
164
|
+
this._srSearchText = searchBox.value;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
}
|
168
|
+
/**
|
169
|
+
* Tracks the movement through the list of projections, and selects the one for which Enter is used twice.
|
170
|
+
*
|
171
|
+
* @param event The keyboard event
|
172
|
+
*/
|
173
|
+
_projListInputKeyDown(event) {
|
174
|
+
const highlightedSref = event.target.id;
|
175
|
+
if (event.key === "Enter" && this._lastHighlightedSref === highlightedSref) {
|
176
|
+
// "Enter" twice on the same projection selects it
|
177
|
+
this._clearSelection();
|
178
|
+
this._setSpatialRef(this._lastHighlightedSref.toString());
|
179
|
+
}
|
180
|
+
else {
|
181
|
+
// Save the projection in case it's selected a second time
|
182
|
+
this._lastHighlightedSref = highlightedSref;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
/**
|
186
|
+
* Clear any selected items in the elements tree.
|
187
|
+
*
|
188
|
+
*/
|
189
|
+
_clearSelection() {
|
190
|
+
const selectedItems = nodeListToArray(this.el.querySelectorAll("calcite-tree-item[selected]"));
|
191
|
+
selectedItems.forEach((treeItem) => {
|
192
|
+
treeItem.selected = false;
|
193
|
+
});
|
194
|
+
}
|
195
|
+
/**
|
196
|
+
* Select the first child from the tree.
|
197
|
+
*
|
198
|
+
* @param autoFocus Boolean to indicate if focus should also be shifted to the first child.
|
199
|
+
*
|
200
|
+
*/
|
201
|
+
_selectFirstChild() {
|
202
|
+
const wkidContainer = document.getElementById("solution-wkid-container");
|
203
|
+
if (wkidContainer && wkidContainer.firstChild) {
|
204
|
+
const firstChild = wkidContainer.firstChild;
|
205
|
+
firstChild.selected = true;
|
206
|
+
this._setSpatialRef(firstChild.id);
|
207
|
+
}
|
208
|
+
}
|
209
|
+
/**
|
210
|
+
* Get the tree items for the current spatial reference search
|
211
|
+
*
|
212
|
+
*/
|
213
|
+
_getTreeContent() {
|
214
|
+
const id = "solution-wkid-container";
|
215
|
+
const containerClass = "spatial-ref-container";
|
216
|
+
if (this._srSearchText && this._srSearchText.length > 1) {
|
217
|
+
const regEx = new RegExp(`${this._srSearchText}`, 'gi');
|
218
|
+
const matches = Object.keys(wkids).filter(wkid => {
|
219
|
+
return regEx.test(wkid.toString()) || regEx.test(wkids[wkid].label);
|
220
|
+
});
|
221
|
+
return matches.length > 0 ? (h("div", { class: containerClass, id: id, onKeyDown: (evt) => this._projListInputKeyDown(evt) }, matches.map((wkid) => this._getTreeItem(wkid, false)))) : (null);
|
222
|
+
}
|
223
|
+
else {
|
224
|
+
return (h("div", { class: containerClass, id: id }, this._getTreeItem(this.value.toString(), true)));
|
225
|
+
}
|
226
|
+
}
|
227
|
+
/**
|
228
|
+
* Get the individual spatial reference tree item
|
229
|
+
*
|
230
|
+
* @param wkid The wkid for the spatial reference that will be displayed.
|
231
|
+
* @param selected Should the item be selected by default.
|
232
|
+
*
|
233
|
+
*/
|
234
|
+
_getTreeItem(wkid, selected) {
|
235
|
+
var _a;
|
236
|
+
const label = (_a = wkids[wkid]) === null || _a === void 0 ? void 0 : _a.label;
|
237
|
+
return label ?
|
238
|
+
(h("calcite-tree-item", { "aria-selected": selected, id: wkid, onClick: () => this._setSpatialRef(wkid), selected: selected }, h("div", null, `${label} (${wkid})`))) : (h("calcite-tree-item", { "aria-selected": selected, id: wkid, onClick: () => this._setSpatialRef(wkid), selected: selected }, h("div", null, `${wkid}`)));
|
239
|
+
}
|
240
|
+
/**
|
241
|
+
* Fetches the component's translations
|
242
|
+
*
|
243
|
+
* @protected
|
244
|
+
*/
|
245
|
+
async _getTranslations() {
|
246
|
+
const translations = await getLocaleComponentStrings(this.el);
|
247
|
+
this._translations = translations[0];
|
248
|
+
}
|
249
|
+
static get is() { return "spatial-ref"; }
|
250
|
+
static get originalStyleUrls() {
|
251
|
+
return {
|
252
|
+
"$": ["spatial-ref.scss"]
|
253
|
+
};
|
254
|
+
}
|
255
|
+
static get styleUrls() {
|
256
|
+
return {
|
257
|
+
"$": ["spatial-ref.css"]
|
258
|
+
};
|
259
|
+
}
|
260
|
+
static get properties() {
|
261
|
+
return {
|
262
|
+
"defaultWkid": {
|
263
|
+
"type": "number",
|
264
|
+
"mutable": true,
|
265
|
+
"complexType": {
|
266
|
+
"original": "number",
|
267
|
+
"resolved": "number",
|
268
|
+
"references": {}
|
269
|
+
},
|
270
|
+
"required": false,
|
271
|
+
"optional": false,
|
272
|
+
"docs": {
|
273
|
+
"tags": [],
|
274
|
+
"text": "The wkid that will be used as the default when no user selection has been made."
|
275
|
+
},
|
276
|
+
"attribute": "default-wkid",
|
277
|
+
"reflect": true,
|
278
|
+
"defaultValue": "102100"
|
279
|
+
},
|
280
|
+
"disabled": {
|
281
|
+
"type": "boolean",
|
282
|
+
"mutable": true,
|
283
|
+
"complexType": {
|
284
|
+
"original": "boolean",
|
285
|
+
"resolved": "boolean",
|
286
|
+
"references": {}
|
287
|
+
},
|
288
|
+
"required": false,
|
289
|
+
"optional": false,
|
290
|
+
"docs": {
|
291
|
+
"tags": [],
|
292
|
+
"text": "When true, all are disabled to prevent interaction."
|
293
|
+
},
|
294
|
+
"attribute": "disabled",
|
295
|
+
"reflect": true,
|
296
|
+
"defaultValue": "false"
|
297
|
+
},
|
298
|
+
"value": {
|
299
|
+
"type": "string",
|
300
|
+
"mutable": true,
|
301
|
+
"complexType": {
|
302
|
+
"original": "string",
|
303
|
+
"resolved": "string",
|
304
|
+
"references": {}
|
305
|
+
},
|
306
|
+
"required": false,
|
307
|
+
"optional": false,
|
308
|
+
"docs": {
|
309
|
+
"tags": [],
|
310
|
+
"text": "Contains the public value for this component, which is a wkid or a wkt."
|
311
|
+
},
|
312
|
+
"attribute": "value",
|
313
|
+
"reflect": true,
|
314
|
+
"defaultValue": "this.defaultWkid.toString()"
|
315
|
+
}
|
316
|
+
};
|
317
|
+
}
|
318
|
+
static get states() {
|
319
|
+
return {
|
320
|
+
"_spatialRef": {},
|
321
|
+
"_srSearchText": {},
|
322
|
+
"_translations": {}
|
323
|
+
};
|
324
|
+
}
|
325
|
+
static get events() {
|
326
|
+
return [{
|
327
|
+
"method": "spatialReferenceChange",
|
328
|
+
"name": "spatialReferenceChange",
|
329
|
+
"bubbles": true,
|
330
|
+
"cancelable": true,
|
331
|
+
"composed": true,
|
332
|
+
"docs": {
|
333
|
+
"tags": [],
|
334
|
+
"text": ""
|
335
|
+
},
|
336
|
+
"complexType": {
|
337
|
+
"original": "IValueChange",
|
338
|
+
"resolved": "IValueChange",
|
339
|
+
"references": {
|
340
|
+
"IValueChange": {
|
341
|
+
"location": "import",
|
342
|
+
"path": "../../utils/interfaces",
|
343
|
+
"id": "src/utils/interfaces.ts::IValueChange"
|
344
|
+
}
|
345
|
+
}
|
346
|
+
}
|
347
|
+
}];
|
348
|
+
}
|
349
|
+
static get methods() {
|
350
|
+
return {
|
351
|
+
"createSpatialRefDisplay": {
|
352
|
+
"complexType": {
|
353
|
+
"signature": "(value: string) => Promise<ISpatialRefRepresentation>",
|
354
|
+
"parameters": [{
|
355
|
+
"tags": [{
|
356
|
+
"name": "param",
|
357
|
+
"text": "value WKID or WKT or null for default"
|
358
|
+
}],
|
359
|
+
"text": "WKID or WKT or null for default"
|
360
|
+
}],
|
361
|
+
"references": {
|
362
|
+
"Promise": {
|
363
|
+
"location": "global",
|
364
|
+
"id": "global::Promise"
|
365
|
+
},
|
366
|
+
"ISpatialRefRepresentation": {
|
367
|
+
"location": "import",
|
368
|
+
"path": "../../utils/interfaces",
|
369
|
+
"id": "src/utils/interfaces.ts::ISpatialRefRepresentation"
|
370
|
+
}
|
371
|
+
},
|
372
|
+
"return": "Promise<ISpatialRefRepresentation>"
|
373
|
+
},
|
374
|
+
"docs": {
|
375
|
+
"text": "Returns the spatial reference description of the supplied value.\r\n(Exposes protected method `_createSpatialRefDisplay` for testing.)",
|
376
|
+
"tags": [{
|
377
|
+
"name": "param",
|
378
|
+
"text": "value WKID or WKT or null for default"
|
379
|
+
}, {
|
380
|
+
"name": "returns",
|
381
|
+
"text": "If component is using a WKID, description using WKID; otherwise, the WKT; defaults to 102100"
|
382
|
+
}]
|
383
|
+
}
|
384
|
+
},
|
385
|
+
"getSpatialRef": {
|
386
|
+
"complexType": {
|
387
|
+
"signature": "() => Promise<ISpatialRefRepresentation>",
|
388
|
+
"parameters": [],
|
389
|
+
"references": {
|
390
|
+
"Promise": {
|
391
|
+
"location": "global",
|
392
|
+
"id": "global::Promise"
|
393
|
+
},
|
394
|
+
"ISpatialRefRepresentation": {
|
395
|
+
"location": "import",
|
396
|
+
"path": "../../utils/interfaces",
|
397
|
+
"id": "src/utils/interfaces.ts::ISpatialRefRepresentation"
|
398
|
+
}
|
399
|
+
},
|
400
|
+
"return": "Promise<ISpatialRefRepresentation>"
|
401
|
+
},
|
402
|
+
"docs": {
|
403
|
+
"text": "Returns the current spatial reference description.\r\n(Exposes protected variable `spatialRef` for testing.)",
|
404
|
+
"tags": []
|
405
|
+
}
|
406
|
+
},
|
407
|
+
"wkidToDisplay": {
|
408
|
+
"complexType": {
|
409
|
+
"signature": "(wkid: number) => Promise<string>",
|
410
|
+
"parameters": [{
|
411
|
+
"tags": [{
|
412
|
+
"name": "param",
|
413
|
+
"text": "wkid WKID to look up"
|
414
|
+
}],
|
415
|
+
"text": "WKID to look up"
|
416
|
+
}],
|
417
|
+
"references": {
|
418
|
+
"Promise": {
|
419
|
+
"location": "global",
|
420
|
+
"id": "global::Promise"
|
421
|
+
}
|
422
|
+
},
|
423
|
+
"return": "Promise<string>"
|
424
|
+
},
|
425
|
+
"docs": {
|
426
|
+
"text": "Converts a WKID into a spatial reference description.\r\n(Exposes protected method `_wkidToDisplay` for testing.)",
|
427
|
+
"tags": [{
|
428
|
+
"name": "param",
|
429
|
+
"text": "wkid WKID to look up"
|
430
|
+
}, {
|
431
|
+
"name": "returns",
|
432
|
+
"text": "Description, or \"WKID <wkid>\" if a description doesn't exist for the WKID"
|
433
|
+
}]
|
434
|
+
}
|
435
|
+
}
|
436
|
+
};
|
437
|
+
}
|
438
|
+
static get elementRef() { return "el"; }
|
439
|
+
static get watchers() {
|
440
|
+
return [{
|
441
|
+
"propName": "value",
|
442
|
+
"methodName": "valueChanged"
|
443
|
+
}];
|
444
|
+
}
|
445
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
/** @license
|
7
|
+
* Copyright 2022 Esri
|
8
|
+
*
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10
|
+
* you may not use this file except in compliance with the License.
|
11
|
+
* You may obtain a copy of the License at
|
12
|
+
*
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
14
|
+
*
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
18
|
+
* See the License for the specific language governing permissions and
|
19
|
+
* limitations under the License.
|
20
|
+
*/
|
21
|
+
import { newE2EPage } from "@stencil/core/testing";
|
22
|
+
describe('spatial-ref', () => {
|
23
|
+
let page;
|
24
|
+
beforeEach(async () => {
|
25
|
+
page = await newE2EPage();
|
26
|
+
});
|
27
|
+
it('renders', async () => {
|
28
|
+
await page.setContent('<spatial-ref/>');
|
29
|
+
const spatial_ref = await page.find('spatial-ref');
|
30
|
+
expect(spatial_ref).toHaveClass('hydrated');
|
31
|
+
expect(await spatial_ref.getProperty('defaultWkid')).toBe(102100);
|
32
|
+
expect(await spatial_ref.getProperty('value')).toBe('102100');
|
33
|
+
});
|
34
|
+
it('select first value after typing in search field', async () => {
|
35
|
+
await page.setContent('<spatial-ref/>');
|
36
|
+
const spatial_ref = await page.find('spatial-ref');
|
37
|
+
expect(await spatial_ref.getProperty('value')).toBe('102100');
|
38
|
+
const input = await page.find('calcite-input >>> input');
|
39
|
+
await input.focus();
|
40
|
+
await page.keyboard.type('wyoming');
|
41
|
+
await page.waitForChanges();
|
42
|
+
await page.keyboard.press('Enter');
|
43
|
+
await page.waitForChanges();
|
44
|
+
expect(await spatial_ref.getProperty('value')).toBe('2862');
|
45
|
+
});
|
46
|
+
xit('select tabbed-to value after typing in search field', async () => {
|
47
|
+
await page.setContent('<spatial-ref/>');
|
48
|
+
const spatial_ref = await page.find('spatial-ref');
|
49
|
+
expect(await spatial_ref.getProperty('value')).toBe('102100');
|
50
|
+
const input = await page.find('calcite-input >>> input');
|
51
|
+
await input.focus();
|
52
|
+
await page.keyboard.type('wyoming');
|
53
|
+
await page.waitForChanges();
|
54
|
+
// Enter the list of suggested projections
|
55
|
+
await page.keyboard.press('Tab');
|
56
|
+
await page.waitForChanges();
|
57
|
+
// And tab down to one of them
|
58
|
+
await page.keyboard.press('Tab');
|
59
|
+
await page.waitForChanges();
|
60
|
+
await page.keyboard.press('Tab');
|
61
|
+
await page.waitForChanges();
|
62
|
+
await page.keyboard.press('Tab');
|
63
|
+
await page.waitForChanges();
|
64
|
+
// Select it, and use second selection to make it the current projection
|
65
|
+
await page.keyboard.press('Enter');
|
66
|
+
await page.waitForChanges();
|
67
|
+
await page.keyboard.press('Enter');
|
68
|
+
await page.waitForChanges();
|
69
|
+
expect(await spatial_ref.getProperty('value')).toBe('2865');
|
70
|
+
});
|
71
|
+
});
|
@@ -0,0 +1,158 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
/** @license
|
7
|
+
* Copyright 2022 Esri
|
8
|
+
*
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10
|
+
* you may not use this file except in compliance with the License.
|
11
|
+
* You may obtain a copy of the License at
|
12
|
+
*
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
14
|
+
*
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
18
|
+
* See the License for the specific language governing permissions and
|
19
|
+
* limitations under the License.
|
20
|
+
*/
|
21
|
+
import * as locale from "../../../utils/locale";
|
22
|
+
import { h } from "@stencil/core";
|
23
|
+
import { newSpecPage } from "@stencil/core/testing";
|
24
|
+
import { SpatialRef } from "../spatial-ref";
|
25
|
+
describe('spatial-ref', () => {
|
26
|
+
beforeEach(() => {
|
27
|
+
jest.spyOn(locale, 'getLocaleComponentStrings').mockImplementation(() => Promise.resolve([{ "spatialReferencePlaceholder": "Search for spatial reference using name or WKID" }, "en"]));
|
28
|
+
});
|
29
|
+
afterEach(() => {
|
30
|
+
jest.clearAllMocks();
|
31
|
+
});
|
32
|
+
it('renders', async () => {
|
33
|
+
const page = await newSpecPage({
|
34
|
+
components: [SpatialRef],
|
35
|
+
supportsShadowDom: false,
|
36
|
+
template: () => (h("spatial-ref", null))
|
37
|
+
});
|
38
|
+
expect(page.root).toEqualHtml(`
|
39
|
+
<spatial-ref default-wkid="102100" value="102100">
|
40
|
+
<div>
|
41
|
+
<calcite-input id="calcite-sr-search" placeholder="Search for spatial reference using name or WKID"></calcite-input>
|
42
|
+
<calcite-tree id="calcite-sr-tree" slot="children">
|
43
|
+
<div class="spatial-ref-container" id="solution-wkid-container">
|
44
|
+
<calcite-tree-item aria-selected="" id="102100" selected="">
|
45
|
+
<div>
|
46
|
+
WGS 1984 Web Mercator Auxiliary Sphere (102100)
|
47
|
+
</div>
|
48
|
+
</calcite-tree-item>
|
49
|
+
</div>
|
50
|
+
</calcite-tree>
|
51
|
+
</div>
|
52
|
+
</spatial-ref>
|
53
|
+
`);
|
54
|
+
});
|
55
|
+
it('creates description for known WKID', async () => {
|
56
|
+
await newSpecPage({
|
57
|
+
components: [SpatialRef],
|
58
|
+
template: () => (h("spatial-ref", null))
|
59
|
+
});
|
60
|
+
const component = document.querySelector('spatial-ref');
|
61
|
+
component.wkidToDisplay(4326)
|
62
|
+
.then(result => expect(result).toEqual('GCS WGS 1984 (4326)'));
|
63
|
+
});
|
64
|
+
it('creates description for unknown WKID', async () => {
|
65
|
+
await newSpecPage({
|
66
|
+
components: [SpatialRef],
|
67
|
+
template: () => (h("spatial-ref", null))
|
68
|
+
});
|
69
|
+
const component = document.querySelector('spatial-ref');
|
70
|
+
component.wkidToDisplay(0)
|
71
|
+
.then(result => expect(result).toEqual('WKID 0'));
|
72
|
+
});
|
73
|
+
it('creates description for default component value', async () => {
|
74
|
+
await newSpecPage({
|
75
|
+
components: [SpatialRef],
|
76
|
+
template: () => (h("spatial-ref", null))
|
77
|
+
});
|
78
|
+
const component = document.querySelector('spatial-ref');
|
79
|
+
component.createSpatialRefDisplay(null)
|
80
|
+
.then(result => {
|
81
|
+
expect(result.display).toEqual('WGS 1984 Web Mercator Auxiliary Sphere (102100)');
|
82
|
+
expect(result.usingWkid).toBeTruthy();
|
83
|
+
expect(result.wkid).toEqual(102100);
|
84
|
+
expect(result.wkt).toEqual('');
|
85
|
+
});
|
86
|
+
});
|
87
|
+
it('creates description for WKID component value', async () => {
|
88
|
+
await newSpecPage({
|
89
|
+
components: [SpatialRef],
|
90
|
+
template: () => (h("spatial-ref", null))
|
91
|
+
});
|
92
|
+
const component = document.querySelector('spatial-ref');
|
93
|
+
component.createSpatialRefDisplay("4151")
|
94
|
+
.then(result => {
|
95
|
+
expect(result.display).toEqual('GCS Swiss TRF 1995 (4151)');
|
96
|
+
expect(result.usingWkid).toBeTruthy();
|
97
|
+
expect(result.wkid).toEqual(4151);
|
98
|
+
expect(result.wkt).toEqual('');
|
99
|
+
});
|
100
|
+
});
|
101
|
+
it('creates description for WKT component value', async () => {
|
102
|
+
await newSpecPage({
|
103
|
+
components: [SpatialRef],
|
104
|
+
template: () => (h("spatial-ref", null))
|
105
|
+
});
|
106
|
+
const component = document.querySelector('spatial-ref');
|
107
|
+
component.createSpatialRefDisplay('PROJCS["Germany_Zone_5",GEOGCS["GCS_Deutsches_Hauptdreiecksnetz",DATUM["D_Deutsches_Hauptdreiecksnetz",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",5500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",15.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]')
|
108
|
+
.then(result => {
|
109
|
+
expect(result.display).toEqual('PROJCS["Germany_Zone_5",GEOGCS["GCS_Deutsches_Hauptdreiecksnetz",DATUM["D_Deutsches_Hauptdreiecksnetz",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",5500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",15.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]');
|
110
|
+
expect(result.usingWkid).toBeFalsy();
|
111
|
+
expect(result.wkid).toEqual(0);
|
112
|
+
expect(result.wkt).toEqual('PROJCS["Germany_Zone_5",GEOGCS["GCS_Deutsches_Hauptdreiecksnetz",DATUM["D_Deutsches_Hauptdreiecksnetz",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",5500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",15.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]');
|
113
|
+
});
|
114
|
+
});
|
115
|
+
it('sets default component value', async () => {
|
116
|
+
await newSpecPage({
|
117
|
+
components: [SpatialRef],
|
118
|
+
template: () => (h("spatial-ref", null))
|
119
|
+
});
|
120
|
+
const component = document.querySelector('spatial-ref');
|
121
|
+
component.getSpatialRef()
|
122
|
+
.then(result => {
|
123
|
+
expect(result.display).toEqual('WGS 1984 Web Mercator Auxiliary Sphere (102100)');
|
124
|
+
expect(result.usingWkid).toBeTruthy();
|
125
|
+
expect(result.wkid).toEqual(102100);
|
126
|
+
expect(result.wkt).toEqual('');
|
127
|
+
});
|
128
|
+
});
|
129
|
+
it('sets WKID component value', async () => {
|
130
|
+
await newSpecPage({
|
131
|
+
components: [SpatialRef],
|
132
|
+
template: () => (h("spatial-ref", { value: "4151" }))
|
133
|
+
});
|
134
|
+
const component = document.querySelector('spatial-ref');
|
135
|
+
component.getSpatialRef()
|
136
|
+
.then(result => {
|
137
|
+
expect(result.display).toEqual('GCS Swiss TRF 1995 (4151)');
|
138
|
+
expect(result.usingWkid).toBeTruthy();
|
139
|
+
expect(result.wkid).toEqual(4151);
|
140
|
+
expect(result.wkt).toEqual('');
|
141
|
+
});
|
142
|
+
});
|
143
|
+
it('sets WKT component value', async () => {
|
144
|
+
const v = `PROJCS["Germany_Zone_5",GEOGCS["GCS_Deutsches_Hauptdreiecksnetz",DATUM["D_Deutsches_Hauptdreiecksnetz",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",5500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",15.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]`;
|
145
|
+
await newSpecPage({
|
146
|
+
components: [SpatialRef],
|
147
|
+
template: () => (h("spatial-ref", { value: v }))
|
148
|
+
});
|
149
|
+
const component = document.querySelector('spatial-ref');
|
150
|
+
component.getSpatialRef()
|
151
|
+
.then(result => {
|
152
|
+
expect(result.display).toEqual(v);
|
153
|
+
expect(result.usingWkid).toBeFalsy();
|
154
|
+
expect(result.wkid).toEqual(0);
|
155
|
+
expect(result.wkt).toEqual(v);
|
156
|
+
});
|
157
|
+
});
|
158
|
+
});
|