@esri/solutions-components 0.8.64 → 0.8.65
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/{ExpandToggle-1ff416a1.js → ExpandToggle-08ea7a69.js} +1 -1
- package/dist/cjs/{FloatingArrow-ba8caba2.js → FloatingArrow-e430eec3.js} +1 -1
- package/dist/cjs/{Heading-f1f9e2dd.js → Heading-15954ee0.js} +1 -1
- package/dist/cjs/{Validation-425b2de4.js → Validation-0ed2f4a3.js} +1 -1
- package/dist/cjs/{ar-a2f57db2.js → ar-10894ca2.js} +12 -12
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/{bg-cb903045.js → bg-0e9f4e64.js} +12 -12
- package/dist/cjs/{browser-d12b6cd5.js → browser-6137dfdf.js} +1 -1
- package/dist/cjs/{bs-3690f22d.js → bs-c3be214f.js} +12 -12
- package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
- package/dist/cjs/{ca-fec18921.js → ca-b9c955ff.js} +12 -12
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-bar.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-action-menu_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-avatar_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-block-section.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_5.cjs.entry.js +14 -14
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +1 -1
- package/dist/cjs/calcite-carousel.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-chip_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
- package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow_6.cjs.entry.js +9 -9
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/{calcite-input-time-picker-686f45e7.js → calcite-input-time-picker-99b4a577.js} +58 -58
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +4 -4
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu-item.cjs.entry.js +5 -5
- package/dist/cjs/calcite-menu.cjs.entry.js +5 -5
- package/dist/cjs/calcite-meter.cjs.entry.js +5 -5
- package/dist/cjs/calcite-modal.cjs.entry.js +7 -7
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pick-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sheet.cjs.entry.js +4 -4
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-stepper.cjs.entry.js +4 -4
- package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-table-row.cjs.entry.js +3 -3
- package/dist/cjs/calcite-table.cjs.entry.js +6 -6
- package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
- package/dist/cjs/calcite-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tree_2.cjs.entry.js +5 -5
- package/dist/cjs/card-manager_3.cjs.entry.js +4 -4
- package/dist/cjs/{conditionalSlot-349d1b3a.js → conditionalSlot-99fb1621.js} +2 -2
- package/dist/cjs/consent-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +5 -4
- package/dist/cjs/{cs-b061b441.js → cs-3aaff343.js} +12 -12
- package/dist/cjs/{da-e3c379ae.js → da-258fbd9d.js} +12 -12
- package/dist/cjs/{date-874bf94e.js → date-00fc3e5c.js} +1 -1
- package/dist/cjs/{de-65d2876f.js → de-2aebcdd2.js} +12 -12
- package/dist/cjs/{de-at-16b7b50e.js → de-at-49139550.js} +12 -12
- package/dist/cjs/{de-ch-11dcd113.js → de-ch-cfb5727e.js} +12 -12
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{downloadUtils-08f9ebbd.js → downloadUtils-0d728477.js} +4 -4
- package/dist/cjs/{el-321d43b5.js → el-b393b949.js} +12 -12
- package/dist/cjs/{en-au-c48e6b73.js → en-au-0bce695e.js} +12 -12
- package/dist/cjs/{en-ca-9cc0e8f7.js → en-ca-da691553.js} +12 -12
- package/dist/cjs/{en-gb-8ced841b.js → en-gb-1fcd6d59.js} +12 -12
- package/dist/cjs/{es-aca5e6b4.js → es-2509530d.js} +12 -12
- package/dist/cjs/{es-mx-b69f0ebb.js → es-mx-634125ce.js} +12 -12
- package/dist/cjs/{et-7e29340d.js → et-73fb1be6.js} +12 -12
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +5 -5
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/{fi-f215f4d1.js → fi-882d0bd9.js} +12 -12
- package/dist/cjs/{floating-ui-beb70d3c.js → floating-ui-d90077fa.js} +1 -1
- package/dist/cjs/{form-71a108a7.js → form-eea3b222.js} +1 -1
- package/dist/cjs/{fr-ch-76f752e9.js → fr-ch-8dfbc6b7.js} +12 -12
- package/dist/cjs/{fr-0daba4be.js → fr-f71b2679.js} +12 -12
- package/dist/cjs/{he-32860a76.js → he-b04d3082.js} +12 -12
- package/dist/cjs/{helpers-0104985c.js → helpers-3cad996e.js} +1 -1
- package/dist/cjs/{hi-c5639f76.js → hi-eeb6d951.js} +12 -12
- package/dist/cjs/{hr-eb700fd5.js → hr-4cbb9ab9.js} +12 -12
- package/dist/cjs/{hu-e30e3d3a.js → hu-2f0ecbc7.js} +12 -12
- package/dist/cjs/{id-a3e96e5b.js → id-4ed2d454.js} +12 -12
- package/dist/cjs/{index-ff18be0d.js → index-696e53e6.js} +162 -145
- package/dist/cjs/{index-97020c9d.js → index-a0cca96e.js} +1 -1
- package/dist/cjs/{index.es-ca867656.js → index.es-5402d486.js} +4 -4
- 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-create.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 +3 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +3 -3
- 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 +3 -3
- 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-popovers.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/{interactive-7e5c7df4.js → interactive-34bc91a0.js} +2 -2
- package/dist/cjs/{it-ch-c78435e7.js → it-ch-82d7d9c4.js} +12 -12
- package/dist/cjs/{it-acd3cf54.js → it-fc446914.js} +12 -12
- package/dist/cjs/{ja-ede2132a.js → ja-d4a86ac4.js} +12 -12
- package/dist/cjs/{ko-fcd96551.js → ko-78c281da.js} +12 -12
- package/dist/cjs/layout-manager.cjs.entry.js +2 -2
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/{loadable-5d538ba2.js → loadable-53f1d561.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-31289fc5.js → locale-0998a9f9.js} +1 -1
- package/dist/cjs/{locale-d2a1066a.js → locale-73a540a5.js} +1 -1
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/{lt-a30330ef.js → lt-81d0a34a.js} +12 -12
- package/dist/cjs/{lv-ac3b6560.js → lv-07db6759.js} +12 -12
- package/dist/cjs/map-select-tools_3.cjs.entry.js +6 -6
- package/dist/cjs/{mk-a3053dea.js → mk-cbbc8b51.js} +12 -12
- package/dist/cjs/{nb-7ab0bac1.js → nb-7ed8a253.js} +12 -12
- package/dist/cjs/{nl-7fa437ef.js → nl-e4e2b298.js} +12 -12
- package/dist/cjs/{observers-2a59d471.js → observers-a2648fc8.js} +1 -1
- package/dist/cjs/{openCloseComponent-e752f2a5.js → openCloseComponent-b85eabb5.js} +1 -1
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{pl-ea95b104.js → pl-770f8f68.js} +12 -12
- package/dist/cjs/{popupUtils-50b3c196.js → popupUtils-79328fc3.js} +2 -2
- package/dist/cjs/{pt-472083c2.js → pt-35056b6f.js} +12 -12
- package/dist/cjs/{pt-br-5f18543e.js → pt-br-a9159df1.js} +12 -12
- package/dist/cjs/public-notification.cjs.entry.js +6 -6
- package/dist/cjs/{publicNotificationStore-691f6f30.js → publicNotificationStore-42c4caaa.js} +1 -1
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/{restHelpersGet-be451f4a.js → restHelpersGet-d99cf121.js} +15 -0
- package/dist/cjs/{ro-e8b3d65c.js → ro-6a07a288.js} +12 -12
- package/dist/cjs/{ru-becefd01.js → ru-2d8f6f5f.js} +12 -12
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/{shared-list-render-6491aae1.js → shared-list-render-e0486f17.js} +2 -2
- package/dist/cjs/{sk-2f5fd4e0.js → sk-2bdec5ac.js} +12 -12
- package/dist/cjs/{sl-3ae17da6.js → sl-4aebcd29.js} +12 -12
- package/dist/cjs/solution-configuration.cjs.entry.js +6 -6
- package/dist/cjs/solution-contents_3.cjs.entry.js +5 -5
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/{solution-store-4e35404b.js → solution-store-3edab9b1.js} +2 -2
- package/dist/cjs/solutions-components.cjs.js +2 -2
- package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
- package/dist/cjs/{sr-7d6b8d1b.js → sr-9b46b071.js} +12 -12
- package/dist/cjs/store-manager.cjs.entry.js +5 -5
- package/dist/cjs/{sv-9c51da5c.js → sv-6d8df3c4.js} +12 -12
- package/dist/cjs/{t9n-ef615628.js → t9n-d347df79.js} +2 -2
- package/dist/cjs/{templates-f7a3bf48.js → templates-ff543f5f.js} +1 -1
- package/dist/cjs/{th-fec0a074.js → th-bc1b390c.js} +12 -12
- package/dist/cjs/{time-089ab043.js → time-882a0f77.js} +1 -1
- package/dist/cjs/{tr-8d7c18a1.js → tr-cae9cd45.js} +12 -12
- package/dist/cjs/{uk-46a61312.js → uk-b66bf799.js} +12 -12
- package/dist/cjs/{utils-d237cb85.js → utils-44b3a80e.js} +1 -1
- package/dist/cjs/{utils-0ab15745.js → utils-8d9c798c.js} +1 -1
- package/dist/cjs/{vi-4114aa90.js → vi-c4217d0b.js} +12 -12
- package/dist/cjs/{zh-cn-30aca6fe.js → zh-cn-8641645c.js} +12 -12
- package/dist/cjs/{zh-hk-5971eb67.js → zh-hk-7d2fa590.js} +12 -12
- package/dist/cjs/{zh-tw-5fb5e7a9.js → zh-tw-2660bf33.js} +12 -12
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +3 -2
- package/dist/collection/components/feature-details/feature-details.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/store-manager/store-manager.js +1 -1
- package/dist/components/crowdsource-reporter.js +3 -2
- package/dist/components/feature-details2.js +1 -1
- package/dist/components/restHelpersGet.js +15 -0
- package/dist/esm/{ExpandToggle-12c73c9f.js → ExpandToggle-0efa470f.js} +1 -1
- package/dist/esm/{FloatingArrow-5585c8f7.js → FloatingArrow-c549da32.js} +1 -1
- package/dist/esm/{Heading-63031c74.js → Heading-2104570d.js} +1 -1
- package/dist/esm/{Validation-6712b322.js → Validation-cc8dc911.js} +1 -1
- package/dist/esm/{ar-19d4f5c7.js → ar-c705a441.js} +12 -12
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/{bg-63235b1a.js → bg-48ed25da.js} +12 -12
- package/dist/esm/{browser-e76c94f7.js → browser-7fe78178.js} +1 -1
- package/dist/esm/{bs-a1b74ac8.js → bs-67c8cc20.js} +12 -12
- package/dist/esm/buffer-tools_3.entry.js +4 -4
- package/dist/esm/{ca-b29c38ed.js → ca-26cc0a78.js} +12 -12
- package/dist/esm/calcite-accordion-item.entry.js +3 -3
- package/dist/esm/calcite-accordion.entry.js +2 -2
- package/dist/esm/calcite-action-bar.entry.js +7 -7
- package/dist/esm/calcite-action-group.entry.js +6 -6
- package/dist/esm/calcite-action-menu_3.entry.js +9 -9
- package/dist/esm/calcite-action-pad_2.entry.js +7 -7
- package/dist/esm/calcite-action_2.entry.js +7 -7
- package/dist/esm/calcite-alert_4.entry.js +10 -10
- package/dist/esm/calcite-avatar_2.entry.js +2 -2
- package/dist/esm/calcite-block-section.entry.js +5 -5
- package/dist/esm/calcite-block_5.entry.js +14 -14
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card-group.entry.js +4 -4
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-carousel-item.entry.js +1 -1
- package/dist/esm/calcite-carousel.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +5 -5
- package/dist/esm/calcite-chip-group.entry.js +4 -4
- package/dist/esm/calcite-chip_2.entry.js +9 -9
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
- package/dist/esm/calcite-color-picker.entry.js +7 -7
- package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker-day_3.entry.js +8 -8
- package/dist/esm/calcite-dropdown-group_2.entry.js +5 -5
- package/dist/esm/calcite-dropdown_2.entry.js +7 -7
- package/dist/esm/calcite-fab.entry.js +4 -4
- package/dist/esm/calcite-filter_5.entry.js +7 -7
- package/dist/esm/calcite-flow_6.entry.js +9 -9
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-number.entry.js +9 -9
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/{calcite-input-time-picker-7d1c6e48.js → calcite-input-time-picker-338cf509.js} +58 -58
- package/dist/esm/calcite-input-time-picker.entry.js +12 -12
- package/dist/esm/calcite-input-time-zone.entry.js +8 -8
- package/dist/esm/calcite-input_2.entry.js +9 -9
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +4 -4
- package/dist/esm/calcite-list-item-group.entry.js +3 -3
- package/dist/esm/calcite-menu-item.entry.js +5 -5
- package/dist/esm/calcite-menu.entry.js +5 -5
- package/dist/esm/calcite-meter.entry.js +5 -5
- package/dist/esm/calcite-modal.entry.js +7 -7
- package/dist/esm/calcite-navigation-logo.entry.js +3 -3
- package/dist/esm/calcite-navigation.entry.js +2 -2
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +7 -7
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel_2.entry.js +9 -9
- package/dist/esm/calcite-pick-list-group.entry.js +4 -4
- package/dist/esm/calcite-pick-list-item.entry.js +8 -8
- package/dist/esm/calcite-pick-list.entry.js +6 -6
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +5 -5
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-segmented-control_2.entry.js +7 -7
- package/dist/esm/calcite-sheet.entry.js +4 -4
- package/dist/esm/calcite-shell-center-row.entry.js +3 -3
- package/dist/esm/calcite-shell-panel_14.entry.js +13 -13
- package/dist/esm/calcite-sortable-list.entry.js +4 -4
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +7 -7
- package/dist/esm/calcite-stepper.entry.js +4 -4
- package/dist/esm/calcite-switch.entry.js +5 -5
- package/dist/esm/calcite-table-cell_2.entry.js +7 -7
- package/dist/esm/calcite-table-row.entry.js +3 -3
- package/dist/esm/calcite-table.entry.js +6 -6
- package/dist/esm/calcite-text-area.entry.js +9 -9
- package/dist/esm/calcite-tile-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select-group.entry.js +3 -3
- package/dist/esm/calcite-tile-select.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +4 -4
- package/dist/esm/calcite-time-picker.entry.js +6 -6
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +5 -5
- package/dist/esm/calcite-tip.entry.js +6 -6
- package/dist/esm/calcite-tooltip.entry.js +4 -4
- package/dist/esm/calcite-tree_2.entry.js +5 -5
- package/dist/esm/card-manager_3.entry.js +4 -4
- package/dist/esm/{conditionalSlot-56bdb202.js → conditionalSlot-850652b1.js} +2 -2
- package/dist/esm/consent-manager.entry.js +2 -2
- package/dist/esm/crowdsource-manager.entry.js +2 -2
- package/dist/esm/crowdsource-reporter.entry.js +5 -4
- package/dist/esm/{cs-da7231d6.js → cs-3904d9c5.js} +12 -12
- package/dist/esm/{da-7e105037.js → da-6631bc66.js} +12 -12
- package/dist/esm/{date-93ae46b9.js → date-118148f9.js} +1 -1
- package/dist/esm/{de-b5646b5d.js → de-68e0ccb3.js} +12 -12
- package/dist/esm/{de-at-1d9434bb.js → de-at-d05edf69.js} +12 -12
- package/dist/esm/{de-ch-7beada93.js → de-ch-d7d9f8b9.js} +12 -12
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/{downloadUtils-f6e2a736.js → downloadUtils-de5ccf30.js} +4 -4
- package/dist/esm/{el-0f4bf89b.js → el-fed50b65.js} +12 -12
- package/dist/esm/{en-au-5c144cef.js → en-au-5a92bd2f.js} +12 -12
- package/dist/esm/{en-ca-1160089a.js → en-ca-4cb5380c.js} +12 -12
- package/dist/esm/{en-gb-ae98fc58.js → en-gb-95bbea85.js} +12 -12
- package/dist/esm/{es-88e1743a.js → es-88df3c8f.js} +12 -12
- package/dist/esm/{es-mx-020dfaaa.js → es-mx-55caef32.js} +12 -12
- package/dist/esm/{et-84f63ef8.js → et-57bffe46.js} +12 -12
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +5 -5
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/{fi-1016ee6e.js → fi-d8584bb7.js} +12 -12
- package/dist/esm/{floating-ui-f086572c.js → floating-ui-3e149d85.js} +1 -1
- package/dist/esm/{form-8fd73cbd.js → form-8b2f6210.js} +1 -1
- package/dist/esm/{fr-0e7ffd73.js → fr-8e4f3326.js} +12 -12
- package/dist/esm/{fr-ch-e18bae2c.js → fr-ch-6f2764a9.js} +12 -12
- package/dist/esm/{he-0cebe004.js → he-1e8dacc2.js} +12 -12
- package/dist/esm/{helpers-3407a4b6.js → helpers-ca6fa5a6.js} +1 -1
- package/dist/esm/{hi-cded031d.js → hi-c786d0be.js} +12 -12
- package/dist/esm/{hr-5643b2ab.js → hr-6c59640e.js} +12 -12
- package/dist/esm/{hu-6d605858.js → hu-bc712f59.js} +12 -12
- package/dist/esm/{id-7d804c46.js → id-e11a4447.js} +12 -12
- package/dist/esm/{index-d97f4f15.js → index-1dc14abf.js} +1 -1
- package/dist/esm/{index-83b693bc.js → index-e3f04fa1.js} +162 -145
- package/dist/esm/{index.es-89f753c1.js → index.es-c1c29b61.js} +4 -4
- 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-create.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 +3 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +3 -3
- 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 +3 -3
- 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-popovers.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/{interactive-3b9600a6.js → interactive-2e2d102f.js} +2 -2
- package/dist/esm/{it-849be361.js → it-4e97c5c6.js} +12 -12
- package/dist/esm/{it-ch-453fa26d.js → it-ch-e80d2f46.js} +12 -12
- package/dist/esm/{ja-edff1441.js → ja-e3822be4.js} +12 -12
- package/dist/esm/{ko-dc103450.js → ko-d6df4c1f.js} +12 -12
- package/dist/esm/layout-manager.entry.js +2 -2
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/{loadable-b765a6f6.js → loadable-01033497.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{locale-4adfc8cf.js → locale-0f1cdb1f.js} +1 -1
- package/dist/esm/{locale-a4cbae12.js → locale-60861d67.js} +1 -1
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/{lt-270cc811.js → lt-9d03bfa7.js} +12 -12
- package/dist/esm/{lv-c877043c.js → lv-fff7ca43.js} +12 -12
- package/dist/esm/map-select-tools_3.entry.js +6 -6
- package/dist/esm/{mk-a816a702.js → mk-3d27ae0d.js} +12 -12
- package/dist/esm/{nb-e9c09b70.js → nb-3e1284dc.js} +12 -12
- package/dist/esm/{nl-56e70f3b.js → nl-45346a3c.js} +12 -12
- package/dist/esm/{observers-fcb1c07b.js → observers-fdb7a374.js} +1 -1
- package/dist/esm/{openCloseComponent-bbe76c58.js → openCloseComponent-1fbfcd2f.js} +1 -1
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/{pl-687b559a.js → pl-851e041f.js} +12 -12
- package/dist/esm/{popupUtils-ecec5e6d.js → popupUtils-2c4baa5d.js} +2 -2
- package/dist/esm/{pt-8b05fed2.js → pt-8899042f.js} +12 -12
- package/dist/esm/{pt-br-85bdf812.js → pt-br-a43d0201.js} +12 -12
- package/dist/esm/public-notification.entry.js +6 -6
- package/dist/esm/{publicNotificationStore-08faccff.js → publicNotificationStore-c17ad008.js} +1 -1
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/{restHelpersGet-5c822bcd.js → restHelpersGet-eb33e6e1.js} +15 -0
- package/dist/esm/{ro-0975d6bb.js → ro-58f14d8f.js} +12 -12
- package/dist/esm/{ru-24b83704.js → ru-4688c237.js} +12 -12
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/{shared-list-render-07a20fc5.js → shared-list-render-b7b0f245.js} +2 -2
- package/dist/esm/{sk-8179af4d.js → sk-cc16b6af.js} +12 -12
- package/dist/esm/{sl-e6922692.js → sl-809eaa2e.js} +12 -12
- package/dist/esm/solution-configuration.entry.js +6 -6
- package/dist/esm/solution-contents_3.entry.js +5 -5
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/{solution-store-840c5489.js → solution-store-010d2027.js} +2 -2
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/spatial-ref.entry.js +2 -2
- package/dist/esm/{sr-1d30e69e.js → sr-48ddceba.js} +12 -12
- package/dist/esm/store-manager.entry.js +5 -5
- package/dist/esm/{sv-ea3c4b80.js → sv-2f138f0f.js} +12 -12
- package/dist/esm/{t9n-dd2a98fc.js → t9n-5800da82.js} +2 -2
- package/dist/esm/{templates-824ea028.js → templates-3bc0b4de.js} +1 -1
- package/dist/esm/{th-0f1b35bc.js → th-b3474642.js} +12 -12
- package/dist/esm/{time-bc97792f.js → time-7837ffad.js} +1 -1
- package/dist/esm/{tr-eb4e860e.js → tr-52b937e8.js} +12 -12
- package/dist/esm/{uk-f3ebd952.js → uk-e0460e9b.js} +12 -12
- package/dist/esm/{utils-efd425d4.js → utils-8519a5f7.js} +1 -1
- package/dist/esm/{utils-bf012a3f.js → utils-e4ed10d3.js} +1 -1
- package/dist/esm/{vi-872e449d.js → vi-1b5fccc2.js} +12 -12
- package/dist/esm/{zh-cn-8c5a3222.js → zh-cn-559b2148.js} +12 -12
- package/dist/esm/{zh-hk-247683c2.js → zh-hk-beb2d45d.js} +12 -12
- package/dist/esm/{zh-tw-76a429e9.js → zh-tw-a9743012.js} +12 -12
- package/dist/loader/index.d.ts +3 -0
- package/dist/solutions-components/{p-15e08453.js → p-0029318e.js} +1 -1
- package/dist/solutions-components/{p-7638ce3d.js → p-05c1fa62.js} +1 -1
- package/dist/solutions-components/{p-11094d76.entry.js → p-065a0712.entry.js} +1 -1
- package/dist/solutions-components/{p-8008449b.entry.js → p-065b269e.entry.js} +2 -2
- package/dist/solutions-components/{p-0e8ad7d1.entry.js → p-07aae6af.entry.js} +1 -1
- package/dist/solutions-components/{p-9c6c056a.js → p-07ffc0dc.js} +2 -2
- package/dist/solutions-components/{p-2d99bd61.js → p-08ea3025.js} +1 -1
- package/dist/solutions-components/{p-cc07069d.entry.js → p-0973f502.entry.js} +2 -2
- package/dist/solutions-components/{p-4691b6ad.entry.js → p-098ae31a.entry.js} +1 -1
- package/dist/solutions-components/p-0a136490.entry.js +6 -0
- package/dist/solutions-components/{p-c27bb7cf.entry.js → p-0abfcd37.entry.js} +1 -1
- package/dist/solutions-components/{p-a204dcff.entry.js → p-0b592d22.entry.js} +1 -1
- package/dist/solutions-components/{p-97421bb9.js → p-0c9b771a.js} +1 -1
- package/dist/solutions-components/{p-3b1f45b4.entry.js → p-0d9d1e08.entry.js} +1 -1
- package/dist/solutions-components/{p-8dcc5305.entry.js → p-0f02c25c.entry.js} +1 -1
- package/dist/solutions-components/{p-f163a137.js → p-103bb44d.js} +1 -1
- package/dist/solutions-components/p-14ca9076.entry.js +6 -0
- package/dist/solutions-components/{p-1412173c.entry.js → p-15a81116.entry.js} +1 -1
- package/dist/solutions-components/{p-62e5aea4.entry.js → p-16aa396b.entry.js} +1 -1
- package/dist/solutions-components/{p-6bf91f6e.js → p-16f0f2b8.js} +1 -1
- package/dist/solutions-components/{p-8a4f9e8d.entry.js → p-1901d180.entry.js} +1 -1
- package/dist/solutions-components/{p-b1a4c444.entry.js → p-1996cf43.entry.js} +1 -1
- package/dist/solutions-components/{p-7822e93b.js → p-1aa72bda.js} +1 -1
- package/dist/solutions-components/{p-b442aa02.entry.js → p-1abdcee8.entry.js} +3 -3
- package/dist/solutions-components/{p-aa967a48.entry.js → p-1c429493.entry.js} +1 -1
- package/dist/solutions-components/{p-716a0878.js → p-1c7fa861.js} +1 -1
- package/dist/solutions-components/{p-ab8039f5.js → p-1cf65b78.js} +1 -1
- package/dist/solutions-components/{p-8241b179.entry.js → p-1f4d9fc9.entry.js} +1 -1
- package/dist/solutions-components/{p-ef54f211.js → p-1f58427a.js} +1 -1
- package/dist/solutions-components/{p-d9e2418c.entry.js → p-2222c738.entry.js} +1 -1
- package/dist/solutions-components/p-259e6f21.entry.js +6 -0
- package/dist/solutions-components/{p-df0a1d4b.js → p-260d655c.js} +1 -1
- package/dist/solutions-components/{p-acef743f.entry.js → p-2670fe22.entry.js} +1 -1
- package/dist/solutions-components/{p-ada34f83.js → p-2733d390.js} +1 -1
- package/dist/solutions-components/{p-7fea6d8a.js → p-277e0b1d.js} +1 -1
- package/dist/solutions-components/{p-ee7f7c24.js → p-27ef34f6.js} +1 -1
- package/dist/solutions-components/{p-b592fbc6.entry.js → p-2e4d5103.entry.js} +1 -1
- package/dist/solutions-components/{p-4c8fdf0b.entry.js → p-2fc602fd.entry.js} +1 -1
- package/dist/solutions-components/{p-30f0687e.entry.js → p-301feae7.entry.js} +1 -1
- package/dist/solutions-components/{p-2305749d.entry.js → p-30b43168.entry.js} +1 -1
- package/dist/solutions-components/{p-9e77f5c7.js → p-32ddd33b.js} +1 -1
- package/dist/solutions-components/{p-5ed825c4.js → p-3309fa6c.js} +1 -1
- package/dist/solutions-components/{p-cb6165e9.entry.js → p-335308e3.entry.js} +2 -2
- package/dist/solutions-components/{p-2e401f51.js → p-338f1f04.js} +1 -1
- package/dist/solutions-components/{p-813d004f.js → p-33ec544d.js} +1 -1
- package/dist/solutions-components/{p-e528c321.js → p-342187a4.js} +1 -1
- package/dist/solutions-components/{p-75ecff1b.entry.js → p-34d813e1.entry.js} +1 -1
- package/dist/solutions-components/{p-34722455.entry.js → p-367fb486.entry.js} +1 -1
- package/dist/solutions-components/{p-f539a342.entry.js → p-3f81c301.entry.js} +1 -1
- package/dist/solutions-components/{p-4bfec58a.entry.js → p-3fae55fd.entry.js} +1 -1
- package/dist/solutions-components/{p-d9e190a4.entry.js → p-40d2e45b.entry.js} +1 -1
- package/dist/solutions-components/{p-44043ef6.entry.js → p-41c7d2fa.entry.js} +1 -1
- package/dist/solutions-components/{p-b2ba3c28.entry.js → p-429ed200.entry.js} +1 -1
- package/dist/solutions-components/{p-bf0bb8c2.entry.js → p-437e64c0.entry.js} +1 -1
- package/dist/solutions-components/p-4541ad8e.js +11 -0
- package/dist/solutions-components/{p-398ff315.js → p-4845071a.js} +1 -1
- package/dist/solutions-components/{p-bc8b4f68.entry.js → p-48651582.entry.js} +2 -2
- package/dist/solutions-components/{p-5443995c.entry.js → p-4a398b55.entry.js} +1 -1
- package/dist/solutions-components/{p-21965dcd.entry.js → p-4b6c957d.entry.js} +1 -1
- package/dist/solutions-components/{p-1fd9cd5f.entry.js → p-4f01d375.entry.js} +1 -1
- package/dist/solutions-components/{p-6d51c6bf.js → p-501c2126.js} +1 -1
- package/dist/solutions-components/{p-55730588.js → p-508686ba.js} +1 -1
- package/dist/solutions-components/{p-5f1fdaf9.js → p-51ed7835.js} +1 -1
- package/dist/solutions-components/{p-5eb6219c.js → p-54ec7548.js} +1 -1
- package/dist/solutions-components/{p-4b85c3dc.js → p-550cf063.js} +1 -1
- package/dist/solutions-components/{p-ed71dfdc.entry.js → p-57d81d7d.entry.js} +1 -1
- package/dist/solutions-components/{p-3ac77bd5.entry.js → p-5b72f4eb.entry.js} +1 -1
- package/dist/solutions-components/{p-17feaae0.entry.js → p-5bfbb6cf.entry.js} +1 -1
- package/dist/solutions-components/{p-1ceaab98.entry.js → p-5e6de74b.entry.js} +2 -2
- package/dist/solutions-components/{p-52bdaec9.entry.js → p-5f6807ca.entry.js} +1 -1
- package/dist/solutions-components/{p-de4cf79a.entry.js → p-5fb0f8a0.entry.js} +1 -1
- package/dist/solutions-components/{p-37e2754a.js → p-602b034e.js} +1 -1
- package/dist/solutions-components/{p-a0300d31.js → p-628537e6.js} +1 -1
- package/dist/solutions-components/{p-f82d09d2.js → p-658ffb44.js} +1 -1
- package/dist/solutions-components/{p-7a646a97.js → p-682354e6.js} +1 -1
- package/dist/solutions-components/{p-27c68097.js → p-6a425011.js} +1 -1
- package/dist/solutions-components/{p-3ec70ff5.entry.js → p-6aec5175.entry.js} +1 -1
- package/dist/solutions-components/{p-2a990146.entry.js → p-6e814f44.entry.js} +1 -1
- package/dist/solutions-components/{p-a89e61f4.js → p-6fde2784.js} +1 -1
- package/dist/solutions-components/{p-6df9b158.entry.js → p-7011f9fd.entry.js} +1 -1
- package/dist/solutions-components/{p-3137377f.entry.js → p-72192d9e.entry.js} +1 -1
- package/dist/solutions-components/{p-de279d51.entry.js → p-7253126e.entry.js} +1 -1
- package/dist/solutions-components/{p-a146dcbe.entry.js → p-729b22fb.entry.js} +1 -1
- package/dist/solutions-components/{p-79c7ff2b.entry.js → p-72af5235.entry.js} +1 -1
- package/dist/solutions-components/{p-fc9a49db.js → p-7683f32f.js} +1 -1
- package/dist/solutions-components/{p-48ab80c3.entry.js → p-76dd1422.entry.js} +1 -1
- package/dist/solutions-components/{p-ec0c2611.entry.js → p-76ffa42b.entry.js} +1 -1
- package/dist/solutions-components/{p-b64cc55e.js → p-7c057019.js} +2 -2
- package/dist/solutions-components/{p-28fd26ed.js → p-7c4acfd9.js} +1 -1
- package/dist/solutions-components/{p-f629ed65.entry.js → p-7ceba956.entry.js} +1 -1
- package/dist/solutions-components/{p-2e64dc3b.entry.js → p-7d6c1a52.entry.js} +1 -1
- package/dist/solutions-components/{p-2e2e975a.entry.js → p-7ed8ce64.entry.js} +1 -1
- package/dist/solutions-components/{p-d72b4031.entry.js → p-81e5a65e.entry.js} +1 -1
- package/dist/solutions-components/{p-ddd9d50f.entry.js → p-82855118.entry.js} +1 -1
- package/dist/solutions-components/{p-2b4e50ed.js → p-832a3fc3.js} +1 -1
- package/dist/solutions-components/{p-f480b275.js → p-83a13261.js} +1 -1
- package/dist/solutions-components/{p-c32d79e2.entry.js → p-83d0b202.entry.js} +3 -3
- package/dist/solutions-components/{p-4b80b699.entry.js → p-86694085.entry.js} +1 -1
- package/dist/solutions-components/{p-3a50fe57.entry.js → p-8891e4a1.entry.js} +1 -1
- package/dist/solutions-components/{p-b8d4452e.entry.js → p-8c34de9a.entry.js} +2 -2
- package/dist/solutions-components/{p-b5c88983.js → p-8db761a9.js} +1 -1
- package/dist/solutions-components/{p-1b4149b8.entry.js → p-8dcf7aa5.entry.js} +2 -2
- package/dist/solutions-components/p-8e5cfdef.entry.js +6 -0
- package/dist/solutions-components/{p-9377260c.js → p-91866b70.js} +1 -1
- package/dist/solutions-components/{p-c63a8225.entry.js → p-91e22963.entry.js} +1 -1
- package/dist/solutions-components/{p-83fdb1d4.entry.js → p-920af5d4.entry.js} +1 -1
- package/dist/solutions-components/{p-1983d6e8.js → p-92980001.js} +1 -1
- package/dist/solutions-components/{p-9088fa3a.js → p-93e4bac5.js} +1 -1
- package/dist/solutions-components/{p-2a8b04de.entry.js → p-97014acc.entry.js} +1 -1
- package/dist/solutions-components/{p-6067b27a.entry.js → p-977cece9.entry.js} +1 -1
- package/dist/solutions-components/{p-e6e4071e.entry.js → p-97bebac7.entry.js} +3 -3
- package/dist/solutions-components/{p-465fbfc2.js → p-98e135f6.js} +1 -1
- package/dist/solutions-components/{p-bba41eec.entry.js → p-9902916a.entry.js} +1 -1
- package/dist/solutions-components/{p-45db29e2.js → p-9946999d.js} +1 -1
- package/dist/solutions-components/{p-cc9fdd5f.entry.js → p-9a46618c.entry.js} +1 -1
- package/dist/solutions-components/{p-69db1e2c.js → p-9b96afaf.js} +1 -1
- package/dist/solutions-components/{p-293d376c.js → p-9c55d3a2.js} +1 -1
- package/dist/solutions-components/{p-e7ed87eb.entry.js → p-9dbf1881.entry.js} +1 -1
- package/dist/solutions-components/{p-841863b8.js → p-9f2a0621.js} +1 -1
- package/dist/solutions-components/{p-6809e050.entry.js → p-9fac2e9d.entry.js} +2 -2
- package/dist/solutions-components/{p-9808250d.entry.js → p-a14f24f2.entry.js} +1 -1
- package/dist/solutions-components/{p-e6c9e6af.js → p-a1f034be.js} +1 -1
- package/dist/solutions-components/p-a24530e2.entry.js +6 -0
- package/dist/solutions-components/{p-7058b4fa.entry.js → p-a26763d2.entry.js} +1 -1
- package/dist/solutions-components/{p-5db64297.entry.js → p-a3ca129b.entry.js} +1 -1
- package/dist/solutions-components/{p-42c2d9d8.entry.js → p-a3f8159e.entry.js} +1 -1
- package/dist/solutions-components/{p-4b27da06.entry.js → p-a4193e0c.entry.js} +1 -1
- package/dist/solutions-components/{p-7efcfb47.js → p-a60f5c84.js} +1 -1
- package/dist/solutions-components/{p-c4ddb206.js → p-a7ba825a.js} +2 -2
- package/dist/solutions-components/{p-09de2308.entry.js → p-a800dcb5.entry.js} +1 -1
- package/dist/solutions-components/{p-b0985f9d.entry.js → p-a80c076e.entry.js} +1 -1
- package/dist/solutions-components/{p-c1936856.js → p-a8b37ac8.js} +4 -4
- package/dist/solutions-components/{p-90e3ce7f.js → p-a8f981c6.js} +1 -1
- package/dist/solutions-components/{p-27e4dc8a.entry.js → p-ab148739.entry.js} +1 -1
- package/dist/solutions-components/{p-7773d8ea.js → p-ac124ef3.js} +1 -1
- package/dist/solutions-components/{p-b77b6c26.js → p-ac8990dd.js} +1 -1
- package/dist/solutions-components/{p-2599399f.entry.js → p-ad3b05c5.entry.js} +1 -1
- package/dist/solutions-components/{p-3102119d.entry.js → p-ae801fd5.entry.js} +1 -1
- package/dist/solutions-components/{p-64ee17c6.entry.js → p-af4bccdf.entry.js} +1 -1
- package/dist/solutions-components/{p-71ed8170.entry.js → p-b0fbdbe8.entry.js} +2 -2
- package/dist/solutions-components/{p-9271710d.js → p-b35a040e.js} +1 -1
- package/dist/solutions-components/{p-50aa0e5a.js → p-b4de6baf.js} +1 -1
- package/dist/solutions-components/{p-0a053ed7.js → p-b6aed9ca.js} +1 -1
- package/dist/solutions-components/{p-5ed5626f.entry.js → p-b6dffb89.entry.js} +1 -1
- package/dist/solutions-components/{p-3b931fc5.entry.js → p-b789b4dc.entry.js} +1 -1
- package/dist/solutions-components/{p-2671a80b.entry.js → p-ba846354.entry.js} +2 -2
- package/dist/solutions-components/{p-80e42752.entry.js → p-bb036a86.entry.js} +1 -1
- package/dist/solutions-components/{p-1cc7fcd0.entry.js → p-bec3dd2e.entry.js} +1 -1
- package/dist/solutions-components/{p-57a03a95.js → p-c1651f9c.js} +3 -3
- package/dist/solutions-components/{p-29c60f3d.entry.js → p-c324cac8.entry.js} +1 -1
- package/dist/solutions-components/p-c3896efd.entry.js +6 -0
- package/dist/solutions-components/{p-e900ec51.entry.js → p-c52d4a45.entry.js} +1 -1
- package/dist/solutions-components/{p-4250f852.entry.js → p-c6e13140.entry.js} +1 -1
- package/dist/solutions-components/{p-d11d941c.js → p-cc4f574b.js} +1 -1
- package/dist/solutions-components/{p-c0bf1d9f.js → p-cc69b971.js} +3 -3
- package/dist/solutions-components/{p-dff78ae3.entry.js → p-cf3e20c5.entry.js} +1 -1
- package/dist/solutions-components/{p-24634430.entry.js → p-d0d1c59e.entry.js} +2 -2
- package/dist/solutions-components/{p-01ba6099.js → p-d36d12b2.js} +1 -1
- package/dist/solutions-components/{p-12f9f81d.js → p-d36fae45.js} +1 -1
- package/dist/solutions-components/{p-74dbad36.js → p-d67f3c47.js} +1 -1
- package/dist/solutions-components/{p-d31a139f.entry.js → p-d7a6aa4e.entry.js} +1 -1
- package/dist/solutions-components/{p-ee62f91c.entry.js → p-d85d49cf.entry.js} +1 -1
- package/dist/solutions-components/{p-9dd1049f.entry.js → p-d8c3d175.entry.js} +1 -1
- package/dist/solutions-components/{p-03178c37.js → p-d8e74adf.js} +1 -1
- package/dist/solutions-components/{p-967411c5.entry.js → p-d8f02b2b.entry.js} +1 -1
- package/dist/solutions-components/{p-d6f3fc2c.entry.js → p-dbf6c7d5.entry.js} +1 -1
- package/dist/solutions-components/{p-8c6d9b5a.js → p-dcc35070.js} +1 -1
- package/dist/solutions-components/p-de1548dd.entry.js +6 -0
- package/dist/solutions-components/{p-4fbd1a02.js → p-dea4bc23.js} +1 -1
- package/dist/solutions-components/{p-bac8a4cd.js → p-dfe42b3e.js} +1 -1
- package/dist/solutions-components/{p-c554abce.entry.js → p-e042889e.entry.js} +2 -2
- package/dist/solutions-components/{p-83640661.entry.js → p-e13a02f1.entry.js} +1 -1
- package/dist/solutions-components/{p-0ab0b1ad.entry.js → p-e1a972b3.entry.js} +1 -1
- package/dist/solutions-components/{p-727b8bf8.entry.js → p-e3db2eda.entry.js} +2 -2
- package/dist/solutions-components/{p-ef930f76.entry.js → p-e468b193.entry.js} +1 -1
- package/dist/solutions-components/{p-ba569f8b.js → p-e6587ec3.js} +2 -2
- package/dist/solutions-components/{p-318eac43.entry.js → p-e7268b06.entry.js} +1 -1
- package/dist/solutions-components/{p-76f51550.entry.js → p-e8308ed8.entry.js} +1 -1
- package/dist/solutions-components/{p-c8935707.entry.js → p-e86aeefa.entry.js} +1 -1
- package/dist/solutions-components/{p-fdd93685.js → p-ea665c43.js} +2 -2
- package/dist/solutions-components/{p-13b513ed.entry.js → p-eb08c260.entry.js} +1 -1
- package/dist/solutions-components/{p-7f4bc6d2.entry.js → p-ed1c4c06.entry.js} +1 -1
- package/dist/solutions-components/{p-d61bbc4c.entry.js → p-edd08170.entry.js} +1 -1
- package/dist/solutions-components/{p-6e65d93b.entry.js → p-edead891.entry.js} +1 -1
- package/dist/solutions-components/{p-593036f3.js → p-ef375216.js} +2 -2
- package/dist/solutions-components/{p-7388563d.js → p-f0324500.js} +1 -1
- package/dist/solutions-components/{p-d36fb1b5.entry.js → p-f0981633.entry.js} +1 -1
- package/dist/solutions-components/{p-b25e8339.js → p-f0c7d4ee.js} +1 -1
- package/dist/solutions-components/{p-9a7e00b8.js → p-f0eb1595.js} +1 -1
- package/dist/solutions-components/{p-df2fc967.entry.js → p-f36bd937.entry.js} +1 -1
- package/dist/solutions-components/{p-cc388a08.js → p-f3f7638d.js} +2 -2
- package/dist/solutions-components/{p-c96bde1d.js → p-f480323e.js} +1 -1
- package/dist/solutions-components/p-f4c4a2b7.js +7 -0
- package/dist/solutions-components/{p-f8c45269.entry.js → p-f54e4700.entry.js} +1 -1
- package/dist/solutions-components/{p-b9e32214.entry.js → p-f9423c07.entry.js} +1 -1
- package/dist/solutions-components/{p-8babc507.entry.js → p-f9b71d4f.entry.js} +1 -1
- package/dist/solutions-components/{p-8ed6ce4d.js → p-fa214d6f.js} +1 -1
- package/dist/solutions-components/{p-09f79715.js → p-fa6dfea8.js} +1 -1
- package/dist/solutions-components/{p-61dcdc62.js → p-fc0d199c.js} +1 -1
- package/dist/solutions-components/{p-ee309d0b.js → p-fc3a9a40.js} +1 -1
- package/dist/solutions-components/{p-d3a2d182.entry.js → p-fc719dff.entry.js} +1 -1
- package/dist/solutions-components/{p-0534b446.entry.js → p-fe794766.entry.js} +1 -1
- package/dist/solutions-components/p-feaaf637.entry.js +6 -0
- package/dist/solutions-components/{p-b4230022.entry.js → p-ff34397d.entry.js} +2 -2
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -2
- package/package.json +6 -6
- package/dist/collection/components/arcgis-login/test/arcgis-login.e2e.js +0 -29
- package/dist/collection/components/arcgis-login/test/arcgis-login.spec.js +0 -37
- package/dist/collection/components/consent-manager/test/consent-manager.e2e.js +0 -29
- package/dist/collection/components/consent-manager/test/consent-manager.spec.js +0 -37
- package/dist/collection/components/create-related-feature/test/create-related-feature.e2e.js +0 -14
- package/dist/collection/components/create-related-feature/test/create-related-feature.spec.js +0 -22
- package/dist/collection/components/delete-button/test/delete-button.e2e.js +0 -29
- package/dist/collection/components/delete-button/test/delete-button.spec.js +0 -37
- package/dist/collection/components/feature-comments/test/feature-comments.e2e.js +0 -29
- package/dist/collection/components/feature-comments/test/feature-comments.spec.js +0 -37
- package/dist/collection/components/feature-details/test/feature-details.e2e.js +0 -14
- package/dist/collection/components/feature-details/test/feature-details.spec.js +0 -22
- package/dist/collection/components/feature-form-flow-item/test/feature-form-flow-item.e2e.js +0 -29
- package/dist/collection/components/feature-form-flow-item/test/feature-form-flow-item.spec.js +0 -37
- package/dist/collection/components/features-flow-item/test/features-flow-item.e2e.js +0 -29
- package/dist/collection/components/features-flow-item/test/features-flow-item.spec.js +0 -37
- package/dist/collection/components/list-flow-item/test/list-flow-item.e2e.js +0 -29
- package/dist/collection/components/list-flow-item/test/list-flow-item.spec.js +0 -37
- package/dist/collection/components/location-flow-item/test/location-flow-item.e2e.js +0 -29
- package/dist/collection/components/location-flow-item/test/location-flow-item.spec.js +0 -37
- package/dist/collection/components/refine-results-flow-item/test/refine-results-flow-item.e2e.js +0 -29
- package/dist/collection/components/refine-results-flow-item/test/refine-results-flow-item.spec.js +0 -37
- package/dist/collection/components/share-item/test/share-item.e2e.js +0 -29
- package/dist/collection/components/share-item/test/share-item.spec.js +0 -37
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.e2e.js +0 -45
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.spec.js +0 -80
- package/dist/collection/components/spatial-ref/test/spatial-ref.e2e.js +0 -71
- package/dist/collection/components/spatial-ref/test/spatial-ref.spec.js +0 -158
- package/dist/collection/utils/test/csvUtils.spec.js +0 -51
- package/dist/collection/utils/test/downloadUtils.spec.js +0 -1003
- package/dist/collection/utils/test/pciUtils.spec.js +0 -302
- package/dist/collection/utils/test/solution-store.spec.js +0 -444
- package/dist/collection/utils/test/templates.e2e.js +0 -30
- package/dist/solutions-components/p-046acd6b.entry.js +0 -6
- package/dist/solutions-components/p-20a567b0.entry.js +0 -6
- package/dist/solutions-components/p-2a2e4578.entry.js +0 -6
- package/dist/solutions-components/p-3acc8a71.entry.js +0 -6
- package/dist/solutions-components/p-44bfa87d.js +0 -11
- package/dist/solutions-components/p-69cfc738.entry.js +0 -6
- package/dist/solutions-components/p-853d952d.entry.js +0 -6
- package/dist/solutions-components/p-cf0eeb0a.entry.js +0 -6
- package/dist/solutions-components/p-fa1ceaf9.js +0 -7
- package/dist/solutions-components/p-fb7b9bd3.entry.js +0 -6
@@ -1,444 +0,0 @@
|
|
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 common from "@esri/solution-common";
|
22
|
-
import * as testUtils from "./testUtils";
|
23
|
-
import solution_734164 from "./solution_734164.json";
|
24
|
-
import solution_ca924c from "./solution_ca924c.json";
|
25
|
-
import state from "../solution-store";
|
26
|
-
import { EUpdateType } from "../interfaces";
|
27
|
-
let MOCK_USER_SESSION;
|
28
|
-
jest.setTimeout(30000);
|
29
|
-
beforeEach(() => {
|
30
|
-
MOCK_USER_SESSION = testUtils.createRuntimeMockUserSession();
|
31
|
-
state._testAccess("_emptyTheStore");
|
32
|
-
});
|
33
|
-
afterEach(() => {
|
34
|
-
jest.restoreAllMocks();
|
35
|
-
});
|
36
|
-
let itemEdit;
|
37
|
-
describe("solution-store", () => {
|
38
|
-
it("creates store", () => {
|
39
|
-
expect(state.getStoreInfo("solutionItemId")).toEqual("");
|
40
|
-
});
|
41
|
-
it("loads a solution", async () => {
|
42
|
-
jest.spyOn(common, "getItemDataAsJson").mockImplementation(() => solution_ca924c);
|
43
|
-
await state.loadSolution("ca924c6db7d247b9a31fa30532fb5913", MOCK_USER_SESSION);
|
44
|
-
expect(state.getStoreInfo("solutionItemId")).toEqual("ca924c6db7d247b9a31fa30532fb5913");
|
45
|
-
});
|
46
|
-
it("loads a solution, and then another one", async () => {
|
47
|
-
jest.spyOn(common, "getItemDataAsJson").mockImplementation(() => solution_ca924c);
|
48
|
-
await state.loadSolution("ca924c6db7d247b9a31fa30532fb5913", MOCK_USER_SESSION);
|
49
|
-
expect(state.getStoreInfo("solutionItemId")).toEqual("ca924c6db7d247b9a31fa30532fb5913");
|
50
|
-
// Replace the solution with a different one
|
51
|
-
jest.spyOn(common, "getItemDataAsJson").mockImplementation(() => solution_734164);
|
52
|
-
await state.loadSolution("7341644e455e4a068eba58f1939caac4", MOCK_USER_SESSION);
|
53
|
-
expect(state.getStoreInfo("solutionItemId")).toEqual("7341644e455e4a068eba58f1939caac4");
|
54
|
-
expect(state.getStoreInfo("solutionData").templates.length).toEqual(12);
|
55
|
-
});
|
56
|
-
describe("replaceItemThumbnail", () => {
|
57
|
-
beforeEach(() => {
|
58
|
-
itemEdit = testUtils.getSampleItemEdit();
|
59
|
-
});
|
60
|
-
it("queues a thumbnail for replacement", () => {
|
61
|
-
// Set a new thumbnail
|
62
|
-
itemEdit.thumbnail = testUtils.getSampleImageAsFile("thumb1");
|
63
|
-
// Register it in the store
|
64
|
-
state.replaceItemThumbnail(itemEdit);
|
65
|
-
// Check that the previous thumbnail is marked for removal and the new one is queued for adding
|
66
|
-
expect(itemEdit.resourceFilePaths.length).toEqual(3);
|
67
|
-
expect(itemEdit.resourceFilePaths[0].filename).toEqual("qc.project.json");
|
68
|
-
expect(itemEdit.resourceFilePaths[0].updateType).toEqual(3);
|
69
|
-
expect(itemEdit.resourceFilePaths[1].filename).toEqual("esri_133.png");
|
70
|
-
expect(itemEdit.resourceFilePaths[1].updateType).toEqual(2);
|
71
|
-
expect(itemEdit.resourceFilePaths[2].filename).toEqual("thumb1");
|
72
|
-
expect(itemEdit.resourceFilePaths[2].updateType).toEqual(0);
|
73
|
-
});
|
74
|
-
it("twice queues thumbnails for replacement", () => {
|
75
|
-
// Set a new thumbnail
|
76
|
-
itemEdit.thumbnail = testUtils.getSampleImageAsFile("thumb1");
|
77
|
-
// Register it in the store
|
78
|
-
state.replaceItemThumbnail(itemEdit);
|
79
|
-
// Set a new thumbnail
|
80
|
-
itemEdit.thumbnail = testUtils.getSampleImageAsFile("thumb2");
|
81
|
-
// Register it in the store
|
82
|
-
state.replaceItemThumbnail(itemEdit);
|
83
|
-
// Check that the previous thumbnail is marked for removal and the new one is queued for adding
|
84
|
-
expect(itemEdit.resourceFilePaths.length).toEqual(3);
|
85
|
-
expect(itemEdit.resourceFilePaths[0].filename).toEqual("qc.project.json");
|
86
|
-
expect(itemEdit.resourceFilePaths[0].updateType).toEqual(3);
|
87
|
-
expect(itemEdit.resourceFilePaths[1].filename).toEqual("esri_133.png");
|
88
|
-
expect(itemEdit.resourceFilePaths[1].updateType).toEqual(2);
|
89
|
-
expect(itemEdit.resourceFilePaths[2].filename).toEqual("thumb2");
|
90
|
-
expect(itemEdit.resourceFilePaths[2].updateType).toEqual(0);
|
91
|
-
});
|
92
|
-
it("thrice queues thumbnails for replacement", () => {
|
93
|
-
// Set a new thumbnail
|
94
|
-
itemEdit.thumbnail = testUtils.getSampleImageAsFile("thumb1");
|
95
|
-
// Register it in the store
|
96
|
-
state.replaceItemThumbnail(itemEdit);
|
97
|
-
// Set a new thumbnail
|
98
|
-
itemEdit.thumbnail = testUtils.getSampleImageAsFile("thumb2");
|
99
|
-
// Register it in the store
|
100
|
-
state.replaceItemThumbnail(itemEdit);
|
101
|
-
// Set a new thumbnail
|
102
|
-
itemEdit.thumbnail = testUtils.getSampleImageAsFile("thumb3");
|
103
|
-
// Register it in the store
|
104
|
-
state.replaceItemThumbnail(itemEdit);
|
105
|
-
// Check that the previous thumbnail is marked for removal and the new one is queued for adding
|
106
|
-
expect(itemEdit.resourceFilePaths.length).toEqual(3);
|
107
|
-
expect(itemEdit.resourceFilePaths[0].filename).toEqual("qc.project.json");
|
108
|
-
expect(itemEdit.resourceFilePaths[0].updateType).toEqual(3);
|
109
|
-
expect(itemEdit.resourceFilePaths[1].filename).toEqual("esri_133.png");
|
110
|
-
expect(itemEdit.resourceFilePaths[1].updateType).toEqual(2);
|
111
|
-
expect(itemEdit.resourceFilePaths[2].filename).toEqual("thumb3");
|
112
|
-
expect(itemEdit.resourceFilePaths[2].updateType).toEqual(0);
|
113
|
-
});
|
114
|
-
});
|
115
|
-
it("fails to find an item when fetching its value", async () => {
|
116
|
-
const item = state.getItemInfo("79036430a6274e17ae915d0278b8569c");
|
117
|
-
expect(item).toBeUndefined();
|
118
|
-
});
|
119
|
-
it("changes an item's value", async () => {
|
120
|
-
jest.spyOn(common, "getItemDataAsJson").mockImplementation(() => JSON.parse(JSON.stringify(solution_ca924c)));
|
121
|
-
await state.loadSolution("ca924c6db7d247b9a31fa30532fb5913", MOCK_USER_SESSION);
|
122
|
-
expect(state.getStoreInfo("solutionData").templates.length).toEqual(25);
|
123
|
-
const item = state.getItemInfo("9c1311d827f44fdc9680651420a63484");
|
124
|
-
expect(item.item.description).toEqual("An ArcGIS Survey123 form used by operations managers and yard supervisors to report materials used by each vehicle during winter weather operations.");
|
125
|
-
// Change the item's description
|
126
|
-
item.item.description = "Nullam ac urna mattis, maximus urna sit amet.";
|
127
|
-
state.setItemInfo(item);
|
128
|
-
const updatedItem = state.getItemInfo("9c1311d827f44fdc9680651420a63484");
|
129
|
-
expect(updatedItem.item.description).toEqual("Nullam ac urna mattis, maximus urna sit amet.");
|
130
|
-
});
|
131
|
-
it("changes a store value", async () => {
|
132
|
-
jest.spyOn(common, "getItemDataAsJson").mockImplementation(() => JSON.parse(JSON.stringify(solution_ca924c)));
|
133
|
-
await state.loadSolution("ca924c6db7d247b9a31fa30532fb5913", MOCK_USER_SESSION);
|
134
|
-
const origDefaultWkid = state.getStoreInfo("defaultWkid");
|
135
|
-
expect(origDefaultWkid).toBeUndefined();
|
136
|
-
state.setStoreInfo("defaultWkid", "2865");
|
137
|
-
const modifiedDefaultWkid = state.getStoreInfo("defaultWkid");
|
138
|
-
expect(modifiedDefaultWkid).toEqual("2865");
|
139
|
-
});
|
140
|
-
describe("saveSolution", () => {
|
141
|
-
it("saves a solution with a custom spatial reference", async () => {
|
142
|
-
jest.spyOn(common, "getItemDataAsJson").mockImplementation(() => {
|
143
|
-
return Object.assign(Object.assign({}, JSON.parse(JSON.stringify(solution_ca924c))), { "params": {
|
144
|
-
"wkid": {
|
145
|
-
"label": "Spatial Reference",
|
146
|
-
"default": 102100,
|
147
|
-
"valueType": "spatialReference",
|
148
|
-
"attributes": {
|
149
|
-
"required": "true"
|
150
|
-
}
|
151
|
-
}
|
152
|
-
} });
|
153
|
-
});
|
154
|
-
const updateSpy = jest.spyOn(common, "updateItem").mockImplementation((itemInfo, _authentication, _folderId) => {
|
155
|
-
expect(itemInfo.id).toEqual("ca924c6db7d247b9a31fa30532fb5913");
|
156
|
-
return Promise.resolve(null);
|
157
|
-
});
|
158
|
-
await state.loadSolution("ca924c6db7d247b9a31fa30532fb5913", MOCK_USER_SESSION);
|
159
|
-
await state.saveSolution();
|
160
|
-
expect(updateSpy).toHaveBeenCalled();
|
161
|
-
});
|
162
|
-
it("saves a solution without a custom spatial reference", async () => {
|
163
|
-
jest.spyOn(common, "getItemDataAsJson").mockImplementation(() => JSON.parse(JSON.stringify(solution_ca924c)));
|
164
|
-
const updateSpy = jest.spyOn(common, "updateItem").mockImplementation((itemInfo, _authentication, _folderId) => {
|
165
|
-
expect(itemInfo.id).toEqual("ca924c6db7d247b9a31fa30532fb5913");
|
166
|
-
return Promise.resolve(null);
|
167
|
-
});
|
168
|
-
await state.loadSolution("ca924c6db7d247b9a31fa30532fb5913", MOCK_USER_SESSION);
|
169
|
-
await state.saveSolution();
|
170
|
-
expect(updateSpy).toHaveBeenCalled();
|
171
|
-
});
|
172
|
-
});
|
173
|
-
it("directly empties the store", async () => {
|
174
|
-
jest.spyOn(common, "getItemDataAsJson").mockImplementation(() => JSON.parse(JSON.stringify(solution_ca924c)));
|
175
|
-
await state.loadSolution("ca924c6db7d247b9a31fa30532fb5913", MOCK_USER_SESSION);
|
176
|
-
expect(state.getStoreInfo("solutionItemId")).toEqual("ca924c6db7d247b9a31fa30532fb5913");
|
177
|
-
state._testAccess("_emptyTheStore");
|
178
|
-
expect(state.getStoreInfo("solutionItemId")).toEqual("");
|
179
|
-
});
|
180
|
-
it("gets feature services", async () => {
|
181
|
-
jest.spyOn(common, "getItemDataAsJson").mockImplementation(() => JSON.parse(JSON.stringify(solution_ca924c)));
|
182
|
-
await state.loadSolution("ca924c6db7d247b9a31fa30532fb5913", MOCK_USER_SESSION);
|
183
|
-
const result = state._testAccess("_getFeatureServices", state.getStoreInfo("solutionData").templates);
|
184
|
-
expect(result.length).toEqual(5);
|
185
|
-
expect(result[0].name).toEqual("Driver_Activity"); // name fetched from `name` prop because `title` empty
|
186
|
-
expect(result[0].enabled).toBeFalsy();
|
187
|
-
expect(result[1].name).toEqual("OperationsManagement"); // name fetched from higher-priority `title` prop
|
188
|
-
});
|
189
|
-
it("gets items shared with a group", async () => {
|
190
|
-
jest.spyOn(common, "getItemDataAsJson").mockImplementation(() => JSON.parse(JSON.stringify(solution_ca924c)));
|
191
|
-
await state.loadSolution("ca924c6db7d247b9a31fa30532fb5913", MOCK_USER_SESSION);
|
192
|
-
const result = state._testAccess("_getItemsSharedWithThisGroup", state.getStoreInfo("solutionData").templates[0], state.getStoreInfo("solutionData").templates);
|
193
|
-
expect(result.length).toEqual(23);
|
194
|
-
expect(result[0]).toEqual({
|
195
|
-
"id": "9c1311d827f44fdc9680651420a63484",
|
196
|
-
"title": "Material_Use_Reporting.zip",
|
197
|
-
"isShared": false,
|
198
|
-
"shareItem": false,
|
199
|
-
"type": "Form",
|
200
|
-
"typeKeywords": [
|
201
|
-
"Form",
|
202
|
-
"Survey123",
|
203
|
-
"Survey123 Connect",
|
204
|
-
"xForm"
|
205
|
-
]
|
206
|
-
});
|
207
|
-
});
|
208
|
-
it("gets resource file paths", async () => {
|
209
|
-
jest.spyOn(common, "getItemDataAsJson").mockImplementation(() => JSON.parse(JSON.stringify(solution_ca924c)));
|
210
|
-
await state.loadSolution("ca924c6db7d247b9a31fa30532fb5913", MOCK_USER_SESSION);
|
211
|
-
const result = state._testAccess("_getResourceFilePaths", "ca924c6db7d247b9a31fa30532fb5913", state.getStoreInfo("solutionData").templates[0], MOCK_USER_SESSION.portal);
|
212
|
-
expect(result.length).toEqual(2);
|
213
|
-
expect(result[0]).toEqual({
|
214
|
-
"url": "https://myorg.maps.arcgis.com/sharing/rest/content/items/ca924c6db7d247b9a31fa30532fb5913/resources/79036430a6274e17ae915d0278b8569c_info_metadata/metadata.xml",
|
215
|
-
"type": 2,
|
216
|
-
"folder": "",
|
217
|
-
"filename": "metadata.xml",
|
218
|
-
"updateType": 3
|
219
|
-
});
|
220
|
-
});
|
221
|
-
it("gets resource storage name", async () => {
|
222
|
-
const resourcePaths = [
|
223
|
-
{ type: common.EFileType.Data, filename: "def.txt" }, // file extension supported by AGO
|
224
|
-
{ type: common.EFileType.Data, filename: "def.doc" }, // file extension not supported by AGO
|
225
|
-
{ type: common.EFileType.Info, filename: "def" },
|
226
|
-
{ type: common.EFileType.Metadata, filename: "def" },
|
227
|
-
{ type: common.EFileType.Resource, filename: "def" },
|
228
|
-
{ type: common.EFileType.Thumbnail, filename: "def" }
|
229
|
-
];
|
230
|
-
const storageNames = resourcePaths.map((path) => state._testAccess("_getResourceStorageName", "abc", path));
|
231
|
-
expect(storageNames).toEqual([
|
232
|
-
"abc_info_data/def.txt",
|
233
|
-
"abc_info_dataz/def.doc.zip",
|
234
|
-
"abc_info/def",
|
235
|
-
"abc_info_metadata/def",
|
236
|
-
"abc/def",
|
237
|
-
"abc_info_thumbnail/def"
|
238
|
-
]);
|
239
|
-
});
|
240
|
-
describe("_getSpatialReferenceInfo", () => {
|
241
|
-
it("gets spatial reference info using a string wkid", async () => {
|
242
|
-
jest.spyOn(common, "getItemDataAsJson").mockImplementation(() => JSON.parse(JSON.stringify(solution_ca924c)));
|
243
|
-
await state.loadSolution("ca924c6db7d247b9a31fa30532fb5913", MOCK_USER_SESSION);
|
244
|
-
const featureServices = state._testAccess("_getFeatureServices", state.getStoreInfo("solutionData").templates);
|
245
|
-
const result = await state._testAccess("_getSpatialReferenceInfo", featureServices, "2865");
|
246
|
-
expect(result).toEqual({
|
247
|
-
"enabled": true,
|
248
|
-
"services": {
|
249
|
-
"Driver_Activity": false,
|
250
|
-
"OperationsManagement": false,
|
251
|
-
"SnowRoutes": false,
|
252
|
-
"ServiceAreas": true,
|
253
|
-
"Requests": true
|
254
|
-
},
|
255
|
-
"spatialReference": "2865"
|
256
|
-
});
|
257
|
-
});
|
258
|
-
it("gets spatial reference info using a numeric wkid", async () => {
|
259
|
-
jest.spyOn(common, "getItemDataAsJson").mockImplementation(() => JSON.parse(JSON.stringify(solution_ca924c)));
|
260
|
-
await state.loadSolution("ca924c6db7d247b9a31fa30532fb5913", MOCK_USER_SESSION);
|
261
|
-
const featureServices = state._testAccess("_getFeatureServices", state.getStoreInfo("solutionData").templates);
|
262
|
-
const result = await state._testAccess("_getSpatialReferenceInfo", featureServices, 2865);
|
263
|
-
expect(result).toEqual({
|
264
|
-
"enabled": true,
|
265
|
-
"services": {
|
266
|
-
"Driver_Activity": false,
|
267
|
-
"OperationsManagement": false,
|
268
|
-
"SnowRoutes": false,
|
269
|
-
"ServiceAreas": true,
|
270
|
-
"Requests": true
|
271
|
-
},
|
272
|
-
"spatialReference": 2865
|
273
|
-
});
|
274
|
-
});
|
275
|
-
it("gets spatial reference info using no wkid", async () => {
|
276
|
-
jest.spyOn(common, "getItemDataAsJson").mockImplementation(() => JSON.parse(JSON.stringify(solution_ca924c)));
|
277
|
-
await state.loadSolution("ca924c6db7d247b9a31fa30532fb5913", MOCK_USER_SESSION);
|
278
|
-
const featureServices = state._testAccess("_getFeatureServices", state.getStoreInfo("solutionData").templates);
|
279
|
-
const result = await state._testAccess("_getSpatialReferenceInfo", featureServices);
|
280
|
-
expect(result).toEqual({
|
281
|
-
"enabled": false,
|
282
|
-
"services": {
|
283
|
-
"Driver_Activity": false,
|
284
|
-
"OperationsManagement": false,
|
285
|
-
"SnowRoutes": false,
|
286
|
-
"ServiceAreas": true,
|
287
|
-
"Requests": true
|
288
|
-
},
|
289
|
-
"spatialReference": undefined
|
290
|
-
});
|
291
|
-
});
|
292
|
-
});
|
293
|
-
it("prepares a solution for editing", async () => {
|
294
|
-
// Get the templates; parse+stringify seems only working way to avoid modifying data file
|
295
|
-
const solutionData = JSON.parse(JSON.stringify(solution_ca924c));
|
296
|
-
// Provide thumbnail images for the templates
|
297
|
-
const sampleImageFile = testUtils.getSampleImageAsFile();
|
298
|
-
jest.spyOn(common, "getThumbnailFromStorageItem").mockResolvedValue(sampleImageFile);
|
299
|
-
await state._testAccess("_prepareSolutionItemsForEditing", "ca924c6db7d247b9a31fa30532fb5913", solutionData.templates, MOCK_USER_SESSION);
|
300
|
-
// Check that the augmentation has been added to each template
|
301
|
-
expect(solutionData.templates.filter(t => t.hasOwnProperty("resourceFilePaths")).length).toEqual(solutionData.templates.length);
|
302
|
-
expect(solutionData.templates.filter(t => t.hasOwnProperty("thumbnail")).length).toEqual(solutionData.templates.length);
|
303
|
-
expect(solutionData.templates.filter(t => t.hasOwnProperty("groupDetails")).length).toEqual(solutionData.templates.length);
|
304
|
-
});
|
305
|
-
describe("_prepareSolutionItemsForStorage", () => {
|
306
|
-
const originalConsoleLog = console.log;
|
307
|
-
beforeEach(() => {
|
308
|
-
console.log = jest.fn();
|
309
|
-
});
|
310
|
-
afterEach(() => {
|
311
|
-
console.log = originalConsoleLog;
|
312
|
-
});
|
313
|
-
it("prepares a solution for storage", async () => {
|
314
|
-
// Get the templates; parse+stringify seems only working way to avoid modifying data file
|
315
|
-
const solutionData = JSON.parse(JSON.stringify(solution_ca924c));
|
316
|
-
// Provide thumbnail images for the templates and prepare the templates for editing
|
317
|
-
const sampleImageFile = testUtils.getSampleImageAsFile();
|
318
|
-
jest.spyOn(common, "getThumbnailFromStorageItem").mockResolvedValue(sampleImageFile);
|
319
|
-
await state._testAccess("_prepareSolutionItemsForEditing", "ca924c6db7d247b9a31fa30532fb5913", solutionData.templates, MOCK_USER_SESSION);
|
320
|
-
// Provide some resource mods
|
321
|
-
const template = solutionData.templates[0];
|
322
|
-
template.resourceFilePaths.push({
|
323
|
-
blob: sampleImageFile,
|
324
|
-
filename: sampleImageFile.name,
|
325
|
-
type: common.EFileType.Resource,
|
326
|
-
updateType: EUpdateType.Add
|
327
|
-
});
|
328
|
-
template.resourceFilePaths.push({
|
329
|
-
blob: sampleImageFile,
|
330
|
-
filename: template.resourceFilePaths[1].filename,
|
331
|
-
type: common.EFileType.Thumbnail,
|
332
|
-
updateType: EUpdateType.Update
|
333
|
-
});
|
334
|
-
template.resourceFilePaths.push({
|
335
|
-
filename: template.resourceFilePaths[0].filename,
|
336
|
-
type: common.EFileType.Metadata,
|
337
|
-
updateType: EUpdateType.Remove
|
338
|
-
});
|
339
|
-
// Run the prep
|
340
|
-
jest.spyOn(common, "copyFilesToStorageItem").mockResolvedValue([template.itemId + "_info_dataz/" + sampleImageFile.name]);
|
341
|
-
jest.spyOn(common, "removeItemResourceFile").mockResolvedValue({ success: true });
|
342
|
-
jest.spyOn(common, "updateItemResourceFile").mockResolvedValue({ success: true, itemId: "abc", owner: "def", folder: "ghi" });
|
343
|
-
expect(template.resourceFilePaths.length).toEqual(5);
|
344
|
-
await state._testAccess("_prepareSolutionItemsForStorage", "ca924c6db7d247b9a31fa30532fb5913", solutionData.templates, MOCK_USER_SESSION);
|
345
|
-
expect(template.resources).toEqual([
|
346
|
-
"79036430a6274e17ae915d0278b8569c_info_thumbnail/thumbnail.JPEG",
|
347
|
-
"79036430a6274e17ae915d0278b8569c/" + sampleImageFile.name
|
348
|
-
]);
|
349
|
-
// Check that the augmentation has been removed from each template
|
350
|
-
expect(solutionData.templates.some(t => t.hasOwnProperty("resourceFilePaths"))).toBeFalsy();
|
351
|
-
expect(solutionData.templates.some(t => t.hasOwnProperty("thumbnail"))).toBeFalsy();
|
352
|
-
expect(solutionData.templates.some(t => t.hasOwnProperty("groupDetails"))).toBeFalsy();
|
353
|
-
});
|
354
|
-
it("catches errors updating or removing resources while preparing a solution for storage", async () => {
|
355
|
-
jest.spyOn(console, "log").mockImplementation(() => { });
|
356
|
-
// Get the templates; parse+stringify seems only working way to avoid modifying data file
|
357
|
-
const solutionData = JSON.parse(JSON.stringify(solution_ca924c));
|
358
|
-
// Provide thumbnail images for the templates and prepare the templates for editing
|
359
|
-
const sampleImageFile = testUtils.getSampleImageAsFile();
|
360
|
-
jest.spyOn(common, "getThumbnailFromStorageItem").mockResolvedValue(sampleImageFile);
|
361
|
-
await state._testAccess("_prepareSolutionItemsForEditing", "ca924c6db7d247b9a31fa30532fb5913", solutionData.templates, MOCK_USER_SESSION);
|
362
|
-
// Provide some resource mods
|
363
|
-
const template = solutionData.templates[0];
|
364
|
-
template.resourceFilePaths.push({
|
365
|
-
blob: sampleImageFile,
|
366
|
-
filename: template.resourceFilePaths[1].filename,
|
367
|
-
type: common.EFileType.Thumbnail,
|
368
|
-
updateType: EUpdateType.Update
|
369
|
-
});
|
370
|
-
template.resourceFilePaths.push({
|
371
|
-
filename: template.resourceFilePaths[0].filename,
|
372
|
-
type: common.EFileType.Metadata,
|
373
|
-
updateType: EUpdateType.Remove
|
374
|
-
});
|
375
|
-
// Run the prep
|
376
|
-
jest.spyOn(console, "log").mockImplementation(() => { }); // hide error messages from _prepareSolutionItemsForStorage
|
377
|
-
jest.spyOn(common, "removeItemResourceFile").mockImplementation(() => { throw new Error("Item does not exist or is inaccessible."); });
|
378
|
-
jest.spyOn(common, "updateItemResourceFile").mockImplementation(() => { throw new Error("Item does not exist or is inaccessible."); });
|
379
|
-
expect(template.resourceFilePaths.length).toEqual(4);
|
380
|
-
await state._testAccess("_prepareSolutionItemsForStorage", "ca924c6db7d247b9a31fa30532fb5913", solutionData.templates, MOCK_USER_SESSION);
|
381
|
-
expect(template.resources).toEqual([
|
382
|
-
"79036430a6274e17ae915d0278b8569c_info_metadata/metadata.xml",
|
383
|
-
"79036430a6274e17ae915d0278b8569c_info_thumbnail/thumbnail.JPEG"
|
384
|
-
]);
|
385
|
-
// Check that the augmentation has been removed from each template
|
386
|
-
expect(solutionData.templates.some(t => t.hasOwnProperty("resourceFilePaths"))).toBeFalsy();
|
387
|
-
expect(solutionData.templates.some(t => t.hasOwnProperty("thumbnail"))).toBeFalsy();
|
388
|
-
expect(solutionData.templates.some(t => t.hasOwnProperty("groupDetails"))).toBeFalsy();
|
389
|
-
});
|
390
|
-
});
|
391
|
-
describe("_setSpatialReferenceInfo", () => {
|
392
|
-
it("handles an enabled custom spatial reference", () => {
|
393
|
-
jest.spyOn(common, "setCreateProp").mockImplementation(() => { });
|
394
|
-
const spatialReferenceInfo = {
|
395
|
-
enabled: true,
|
396
|
-
services: {
|
397
|
-
"Driver_Activity": false, // has "wkid": 102100
|
398
|
-
"OperationsManagement": true, // has "wkid": 102100
|
399
|
-
"Requests": false, // has "wkid": "{{params.wkid||102100}}"
|
400
|
-
"ServiceAreas": true, // has "wkid": "{{params.wkid||102100}}"
|
401
|
-
"SnowRoutes": false // has "wkid": 4326
|
402
|
-
},
|
403
|
-
spatialReference: 2865
|
404
|
-
};
|
405
|
-
const solutionTemplates = JSON.parse(JSON.stringify(solution_ca924c)).templates;
|
406
|
-
const updatedWkid = state._testAccess("_setSpatialReferenceInfo", spatialReferenceInfo, solutionTemplates);
|
407
|
-
expect(updatedWkid).toEqual(2865);
|
408
|
-
});
|
409
|
-
it("handles a disabled custom spatial reference", () => {
|
410
|
-
jest.spyOn(common, "setCreateProp").mockImplementation(() => { });
|
411
|
-
const spatialReferenceInfo = {
|
412
|
-
enabled: false,
|
413
|
-
services: {
|
414
|
-
"Driver_Activity": false, // has "wkid": 102100
|
415
|
-
"OperationsManagement": true, // has "wkid": 102100
|
416
|
-
"Requests": false, // has "wkid": "{{params.wkid||102100}}"
|
417
|
-
"ServiceAreas": true, // has "wkid": "{{params.wkid||102100}}"
|
418
|
-
"SnowRoutes": false // has "wkid": 4326
|
419
|
-
},
|
420
|
-
spatialReference: 2865
|
421
|
-
};
|
422
|
-
const solutionTemplates = JSON.parse(JSON.stringify(solution_ca924c)).templates;
|
423
|
-
const updatedWkid = state._testAccess("_setSpatialReferenceInfo", spatialReferenceInfo, solutionTemplates);
|
424
|
-
expect(updatedWkid).toBeUndefined();
|
425
|
-
});
|
426
|
-
});
|
427
|
-
describe("_splitFilename", () => {
|
428
|
-
it("handles filename without prefix", () => {
|
429
|
-
const { prefix, suffix } = state._testAccess("_splitFilename", "sample.txt");
|
430
|
-
expect(prefix).toBeUndefined();
|
431
|
-
expect(suffix).toEqual("sample.txt");
|
432
|
-
});
|
433
|
-
it("handles filename with single prefix", () => {
|
434
|
-
const { prefix, suffix } = state._testAccess("_splitFilename", "folder/sample.txt");
|
435
|
-
expect(prefix).toEqual("folder");
|
436
|
-
expect(suffix).toEqual("sample.txt");
|
437
|
-
});
|
438
|
-
it("handles filename with multiple prefixes", () => {
|
439
|
-
const { prefix, suffix } = state._testAccess("_splitFilename", "folder/subfolder/sample.txt");
|
440
|
-
expect(prefix).toEqual("folder/subfolder");
|
441
|
-
expect(suffix).toEqual("sample.txt");
|
442
|
-
});
|
443
|
-
});
|
444
|
-
});
|
@@ -1,30 +0,0 @@
|
|
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 { getInventoryItems } from "../templates";
|
22
|
-
import * as electionOutreach from "../../demos/data/election-outreach.json";
|
23
|
-
describe("getInventoryItems", () => {
|
24
|
-
it("can get inventory items", () => {
|
25
|
-
const templates = electionOutreach.templates;
|
26
|
-
expect(templates.length).toEqual(12);
|
27
|
-
const actual = getInventoryItems(templates);
|
28
|
-
expect(actual.length).toEqual(6);
|
29
|
-
});
|
30
|
-
});
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as a,h as e,H as s,g as t}from"./p-fa1ceaf9.js";const r=class{constructor(e){a(this,e)}render(){return e(s,{key:"70ab7bb863463c41fa2291412f8da6d602e9a94d"},e("slot",{key:"7266d385e0fc9341baf651a5dcab13b7ba361163"}))}get el(){return t(this)}};r.style=":host{display:block}";export{r as feature_comments}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as s,h as i,g as e}from"./p-fa1ceaf9.js";import{C as a,a as o,D as n,b as l,H as r,O as c,c as h,S as d,d as p,R as u}from"./p-1dbc5234.js";import{i as f,a as b}from"./p-67b26725.js";import{c as m,d as v,u as g,I as w}from"./p-9c6c056a.js";import{i as x}from"./p-f50a294b.js";import{c as C,s as y,a as k}from"./p-8ed6ce4d.js";import{c as A,d as S}from"./p-813d004f.js";import{r as D,c as $,a as j}from"./p-ebf59857.js";import{u as z,s as F,c as O,d as L}from"./p-44bfa87d.js";import{C as M,n as I,h as N,o as P,a as K,b as U,p as E,c as H,d as R,t as T,e as X,f as V}from"./p-9f56c02c.js";import{t as q}from"./p-29edb87c.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-b64cc55e.js";import"./p-e6c9e6af.js";import"./p-c8d3207e.js";const B=class{constructor(e){t(this,e),this.calciteColorPickerChange=s(this,"calciteColorPickerChange",6),this.calciteColorPickerInput=s(this,"calciteColorPickerInput",6),this.internalColorUpdateContext=null,this.mode=M.HEX,this.shiftKeyChannelAdjustment=0,this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)},this.handleColorFieldScopeKeyDown=t=>{const{key:s}=t,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[s]&&(t.preventDefault(),this.scopeOrientation="ArrowDown"===s||"ArrowUp"===s?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[s].x||0,this.colorFieldScopeTop+i[s].y||0,!1))},this.handleHueScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(e[i]){t.preventDefault();const a=e[i]*s,o=this.baseColorFieldColor.hue(),n=this.baseColorFieldColor.hue(o+a);this.internalColorSet(n,!1)}},this.handleHexInputChange=t=>{t.stopPropagation();const{isClearable:s,color:i}=this,e=t.target.value;!s||e?e!==(i&&I(N(i,U(this.mode))))&&this.internalColorSet(a(e)):this.internalColorSet(null)},this.handleSavedColorSelect=t=>{this.internalColorSet(a(t.currentTarget.color))},this.handleChannelInput=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=3===i?c.max:"rgb"===this.channelMode?u[Object.keys(u)[i]]:r[Object.keys(r)[i]];let a;if(this.isClearable&&!s.value)a="";else{const t=Number(s.value);a=$(t+this.shiftKeyChannelAdjustment,0,e).toString()}s.value=a,""!==a&&0!==this.shiftKeyChannelAdjustment&&this.handleChannelChange(t)},this.handleChannelChange=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];if(this.isClearable&&!s.value)return this.channels=[null,null,null,null],void this.internalColorSet(null);const a=3===i,o=Number(s.value);e[i]=a?P(o):o,this.updateColorFromChannels(e)},this.handleSavedColorKeyDown=t=>{x(t.key)&&(t.preventDefault(),this.handleSavedColorSelect(t))},this.handleColorFieldPointerDown=t=>{if(!f(t))return;const{offsetX:s,offsetY:i}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.colorFieldRenderingContext,bounds:this.colorFieldRenderingContext.canvas.getBoundingClientRect()},this.captureColorFieldColor(s,i),this.colorFieldScopeNode.focus()},this.handleHueSliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.hueSliderRenderingContext,bounds:this.hueSliderRenderingContext.canvas.getBoundingClientRect()},this.captureHueSliderColor(s),this.hueScopeNode.focus()},this.handleOpacitySliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.opacitySliderRenderingContext,bounds:this.opacitySliderRenderingContext.canvas.getBoundingClientRect()},this.captureOpacitySliderValue(s),this.opacityScopeNode.focus()},this.globalPointerUpHandler=t=>{if(!f(t))return;const s=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),s&&this.calciteColorPickerChange.emit()},this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:s,el:i}=this;if(!i.isConnected||!s)return;const{context:e,bounds:a}=s;let o,n;const{clientX:l,clientY:r}=t;e.canvas.matches(":hover")?(o=l-a.x,n=r-a.y):(o=l<a.x+a.width&&l>a.x?l-a.x:l<a.x?0:a.width,n=r<a.y+a.height&&r>a.y?r-a.y:r<a.y?0:a.height),e===this.colorFieldRenderingContext?this.captureColorFieldColor(o,n,!1):e===this.hueSliderRenderingContext?this.captureHueSliderColor(o):e===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(o)},this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t},this.storeHueScope=t=>{this.hueScopeNode=t},this.renderChannelsTabTitle=t=>{const{channelMode:s,messages:e}=this;return i("calcite-tab-title",{class:o.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:t===s},"rgb"===t?e.rgb:e.hsv)},this.renderChannelsTab=t=>{const{isClearable:s,channelMode:e,channels:a,messages:n,alphaChannel:l}=this,r=t===e,c="rgb"===t?[n.red,n.green,n.blue]:[n.hue,n.saturation,n.value],h=b(this.el),d=l?a:a.slice(0,3);return i("calcite-tab",{class:o.control,key:t,selected:r},i("div",{class:o.channels,dir:"ltr"},d.map(((t,i)=>{const e=3===i;return e&&(t=s&&!t?t:K(t)),this.renderChannel(t,i,c[i],h,e?"%":"")}))))},this.renderChannel=(t,s,e,a,n)=>i("calcite-input-number",{class:o.channel,"data-channel-index":s,dir:a,key:s,label:e,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onKeyDown:this.handleKeyDown,scale:"l"===this.scale?"m":"s",style:{marginLeft:s>0&&("s"!==this.scale||!this.alphaChannel||3!==s)?"-1px":""},suffixText:n,value:null==t?void 0:t.toString()}),this.deleteColor=()=>{const t=N(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(t)>-1))return;const s=this.savedColors.filter((s=>s!==t));this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.saveColor=()=>{const t=N(this.color,this.alphaChannel);if(this.savedColors.indexOf(t)>-1)return;const s=[...this.savedColors,t];this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.drawColorControls=q(((t="all")=>{"all"!==t&&"color-field"!==t||!this.colorFieldRenderingContext||this.drawColorField(),"all"!==t&&"hue-slider"!==t||!this.hueSliderRenderingContext||this.drawHueSlider(),this.alphaChannel&&("all"===t||"opacity-slider"===t)&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()}),16),this.captureColorFieldColor=(t,s,i=!0)=>{const{dimensions:{colorField:{height:e,width:a}}}=this,o=Math.round(r.s/a*t),n=Math.round(r.v/e*(e-s));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(o).value(n),i)},this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls()},this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider()},this.initOpacitySlider=t=>{t&&(this.opacitySliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())},this.storeOpacityScope=t=>{this.opacityScopeNode=t},this.handleOpacityScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(e[i]){t.preventDefault();const a=e[i]*s,o=this.baseColorFieldColor.alpha(),n=this.baseColorFieldColor.alpha(o+a);this.internalColorSet(n,!1)}},this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.clearable=!1,this.color=n,this.disabled=!1,this.format="auto",this.hideChannels=!1,this.hexDisabled=!1,this.hideHex=!1,this.hideSaved=!1,this.savedDisabled=!1,this.scale="m",this.storageId=void 0,this.messageOverrides=void 0,this.numberingSystem=void 0,this.value=I(N(n,this.alphaChannel)),this.defaultMessages=void 0,this.channelMode="rgb",this.channels=this.toChannels(n),this.dimensions=l.m,this.effectiveLocale="",this.messages=void 0,this.savedColors=[],this.colorFieldScopeTop=void 0,this.colorFieldScopeLeft=void 0,this.hueScopeLeft=void 0,this.opacityScopeLeft=void 0,this.scopeOrientation=void 0}handleAllowEmptyOrClearableChange(){this.isClearable=this.clearable||this.allowEmpty}handleAlphaChannelChange(t){const{format:s}=this;t&&"auto"!==s&&!U(s)&&(console.warn(`ignoring alphaChannel as the current format (${s}) does not support alpha`),this.alphaChannel=!1)}handleColorChange(t,s){this.drawColorControls(),this.updateChannelsFromColor(t),this.previousColor=s}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(t="m"){this.updateDimensions(t),this.updateCanvasSize("all"),this.drawColorControls()}onMessagesChange(){}handleValueChange(t,s){const{isClearable:i,format:e}=this;let o=!1;if(!i||t){const i=E(t);if(!i||"auto"!==e&&i!==e)return this.showIncompatibleColorWarning(t,e),void(this.value=s);o=this.mode!==i,this.setMode(i,null===this.internalColorUpdateContext)}const n=this.activeCanvasInfo;if("initial"===this.internalColorUpdateContext)return;if("user-interaction"===this.internalColorUpdateContext)return this.calciteColorPickerInput.emit(),void(n||this.calciteColorPickerChange.emit());const l=i&&!t?null:a(null!=t&&"object"==typeof t&&U(this.mode)?H(t):t),r=!R(l,this.color);(o||r)&&this.internalColorSet(l,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}get baseColorFieldColor(){return this.color||this.previousColor||n}effectiveLocaleChange(){z(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:s}=t;if("ArrowUp"!==s&&"ArrowDown"!==s||!t.composedPath().some((t=>{var s;return null===(s=t.classList)||void 0===s?void 0:s.contains(o.channel)})))return;const{shiftKey:i}=t;if(t.preventDefault(),!this.color)return this.internalColorSet(this.previousColor),void t.stopPropagation();this.shiftKeyChannelAdjustment="ArrowUp"===s&&i?9:"ArrowDown"===s&&i?-9:0}async setFocus(){await C(this),this.el.focus()}async componentWillLoad(){y(this),this.handleAllowEmptyOrClearableChange();const{isClearable:t,color:s,format:i,value:e}=this,o=t&&!e,n=E(e),l=o||"auto"===i&&n||i===n,r=o?null:l?a(e):s;l||this.showIncompatibleColorWarning(e,i),this.setMode(i,!1),this.internalColorSet(r,!1,"initial"),this.updateDimensions(this.scale);const c=`${p}${this.storageId}`;this.storageId&&localStorage.getItem(c)&&(this.savedColors=JSON.parse(localStorage.getItem(c))),await F(this)}connectedCallback(){m(this),A(this),O(this)}componentDidLoad(){k(this)}disconnectedCallback(){window.removeEventListener("pointermove",this.globalPointerMoveHandler),window.removeEventListener("pointerup",this.globalPointerUpHandler),v(this),S(this),L(this)}componentDidRender(){g(this)}render(){const{channelsDisabled:t,color:s,colorFieldScopeLeft:e,colorFieldScopeTop:a,dimensions:{slider:{width:l},thumb:{radius:h}},hexDisabled:d,hideChannels:p,hideHex:u,hideSaved:f,hueScopeLeft:b,messages:m,alphaChannel:v,opacityScopeLeft:g,savedColors:x,savedDisabled:C,scale:y,scopeOrientation:k}=this,A=s?N(s,v):null,S=h,D=null!=b?b:l*n.hue()/r.h,$=h,j=null!=g?g:l*K(n.alpha())/c.max,z=null===s,F="vertical"===k,O=d||u,L=t||p,M=C||f,[I,P]=this.getAdjustedScopePosition(e,a),[U,E]=this.getAdjustedScopePosition(D,S),[H,R]=this.getAdjustedScopePosition(j,$);return i(w,{key:"5f347cb136350e7661b7b479ee86a16bb85414c3",disabled:this.disabled},i("div",{key:"0294cbc1d16db228c22a2ae1bd061d9a683c1378",class:o.container},i("div",{key:"f7531da7e77293d52f5f8220443258e40f07f2d3",class:o.controlAndScope},i("canvas",{key:"6738d5bc8ec0f77c01eaac72b6b89edeea39abd3",class:o.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),i("div",{key:"932e10e761c6e8732e3412b049c895df18c4358f","aria-label":F?m.value:m.saturation,"aria-valuemax":F?r.v:r.s,"aria-valuemin":"0","aria-valuenow":(F?null==s?void 0:s.saturationv():null==s?void 0:s.value())||"0",class:{[o.scope]:!0,[o.colorFieldScope]:!0},onKeyDown:this.handleColorFieldScopeKeyDown,role:"slider",style:{top:`${P||0}px`,left:`${I||0}px`},tabindex:"0",ref:this.storeColorFieldScope})),i("div",{key:"1d1e670478df18f1a8ad35d9ca217b378e103468",class:o.previewAndSliders},i("calcite-color-picker-swatch",{key:"e65dd58f2aebb184db914c3a2c4e9782eb4b1e7c",class:o.preview,color:A,scale:"l"}),i("div",{key:"98fb46881b6c40899b8fdfa4afeb521356d1e250",class:o.sliders},i("div",{key:"7367b44dcc87a8cfbd5cd913ebee690eeabfcb92",class:o.controlAndScope},i("canvas",{key:"4fe31f39350ac02fe527452da248b07b573dadac",class:{[o.slider]:!0,[o.hueSlider]:!0},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),i("div",{key:"47048d9a779471169b1c4ec14d70a1a258914b1a","aria-label":m.hue,"aria-valuemax":r.h,"aria-valuemin":"0","aria-valuenow":(null==s?void 0:s.round().hue())||n.round().hue(),class:{[o.scope]:!0,[o.hueScope]:!0},onKeyDown:this.handleHueScopeKeyDown,role:"slider",style:{top:`${E}px`,left:`${U}px`},tabindex:"0",ref:this.storeHueScope})),v?i("div",{class:o.controlAndScope},i("canvas",{class:{[o.slider]:!0,[o.opacitySlider]:!0},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),i("div",{"aria-label":m.opacity,"aria-valuemax":c.max,"aria-valuemin":c.min,"aria-valuenow":(s||n).round().alpha(),class:{[o.scope]:!0,[o.opacityScope]:!0},onKeyDown:this.handleOpacityScopeKeyDown,role:"slider",style:{top:`${R}px`,left:`${H}px`},tabindex:"0",ref:this.storeOpacityScope})):null)),O&&L?null:i("div",{class:{[o.controlSection]:!0,[o.section]:!0}},i("div",{class:o.hexAndChannelsGroup},O?null:i("div",{class:o.hexOptions},i("calcite-color-picker-hex-input",{allowEmpty:this.isClearable,alphaChannel:v,class:o.control,messages:m,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:y,value:A})),L?null:i("calcite-tabs",{class:{[o.colorModeContainer]:!0,[o.splitSection]:!0},scale:"l"===y?"m":"s"},i("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),M?null:i("div",{class:{[o.savedColorsSection]:!0,[o.section]:!0}},i("div",{class:o.header},i("label",null,m.saved),i("div",{class:o.savedColorsButtons},i("calcite-button",{appearance:"transparent",class:o.deleteColor,disabled:z,iconStart:"minus",kind:"neutral",label:m.deleteColor,onClick:this.deleteColor,scale:y,type:"button"}),i("calcite-button",{appearance:"transparent",class:o.saveColor,disabled:z,iconStart:"plus",kind:"neutral",label:m.saveColor,onClick:this.saveColor,scale:y,type:"button"}))),x.length>0?i("div",{class:o.savedColors},[...x.map((t=>i("calcite-color-picker-swatch",{class:o.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:y,tabIndex:0})))]):null)))}handleKeyDown(t){"Enter"===t.key&&t.preventDefault()}showIncompatibleColorWarning(t,s){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${s})`)}setMode(t,s=!0){this.mode=this.ensureCompatibleMode("auto"===t?this.mode:t,s)}ensureCompatibleMode(t,s){const{alphaChannel:i}=this,e=U(t);if(i&&!e){const i=V(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}if(!i&&e){const i=T(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}return t}captureHueSliderColor(t){const{dimensions:{slider:{width:s}}}=this;this.internalColorSet(this.baseColorFieldColor.hue(h/s*t),!1)}captureOpacitySliderValue(t){const{dimensions:{slider:{width:s}}}=this,i=P(c.max/s*t);this.internalColorSet(this.baseColorFieldColor.alpha(i),!1)}internalColorSet(t,s=!0,i="user-interaction"){s&&R(t,this.color)||(this.internalColorUpdateContext=i,this.color=t,this.value=this.toValue(t),this.internalColorUpdateContext=null)}toValue(t,s=this.mode){if(!t)return null;if(s.includes("hex")){const i=s===M.HEXA;return I(N(t.round(),i),i)}if(s.includes("-css")){const i=t[s.replace("-css","").replace("a","")]().round().string();return(s.endsWith("a")||s.endsWith("a-css"))&&1===t.alpha()?`${i.slice(0,3)}a(${i.slice(4,-1)}, ${t.alpha()})`:i}const i=t[T(s)]().round().object();return s.endsWith("a")?X(i):i}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:s}}}=this;return 2*s-t}updateDimensions(t="m"){this.dimensions=l[t]}drawColorField(){const t=this.colorFieldRenderingContext,{dimensions:{colorField:{height:s,width:i}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),t.fillRect(0,0,i,s);const e=t.createLinearGradient(0,0,i,0);e.addColorStop(0,"rgba(255,255,255,1)"),e.addColorStop(1,"rgba(255,255,255,0)"),t.fillStyle=e,t.fillRect(0,0,i,s);const a=t.createLinearGradient(0,0,0,s);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),t.fillStyle=a,t.fillRect(0,0,i,s),this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:s,width:i}){if(!t)return;const e=window.devicePixelRatio||1;t.width=i*e,t.height=s*e,t.style.height=`${s}px`,t.style.width=`${i}px`,t.getContext("2d").scale(e,e)}updateCanvasSize(t="all"){var s,i,e;const{dimensions:a}=this;"all"!==t&&"color-field"!==t||this.setCanvasContextSize(null===(s=this.colorFieldRenderingContext)||void 0===s?void 0:s.canvas,a.colorField);const o={width:a.slider.width,height:a.slider.height+2*(a.thumb.radius-a.slider.height/2)};"all"!==t&&"hue-slider"!==t||this.setCanvasContextSize(null===(i=this.hueSliderRenderingContext)||void 0===i?void 0:i.canvas,o),"all"!==t&&"opacity-slider"!==t||this.setCanvasContextSize(null===(e=this.opacitySliderRenderingContext)||void 0===e?void 0:e.canvas,o)}drawActiveColorFieldColor(){const{color:t}=this;if(!t)return;const s=t.hsv(),{dimensions:{colorField:{height:i,width:e},thumb:{radius:a}}}=this,o=s.saturationv()/(r.s/e),n=i-s.value()/(r.v/i);requestAnimationFrame((()=>{this.colorFieldScopeLeft=o,this.colorFieldScopeTop=n})),this.drawThumb(this.colorFieldRenderingContext,a,o,n,s,!1)}drawThumb(t,s,i,e,a,o){const n=2*Math.PI;if(t.beginPath(),t.arc(i,e,s,0,n),t.fillStyle="#fff",t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),o&&a.alpha()<1){const a=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.beginPath(),t.arc(i,e,s-3,0,n),t.fillStyle=a,t.fill()}t.globalCompositeOperation="source-atop",t.beginPath(),t.arc(i,e,s-3,0,n);const l=o?a.alpha():1;t.fillStyle=a.rgb().alpha(l).string(),t.fill(),t.globalCompositeOperation="source-over"}drawActiveHueSliderColor(){const{color:t}=this;if(!t)return;const s=t.hsv().saturationv(100).value(100),{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,a=s.hue()/(h/i),o=e,n=this.getSliderBoundX(a,i,e);requestAnimationFrame((()=>{this.hueScopeLeft=n})),this.drawThumb(this.hueSliderRenderingContext,e,n,o,s,!1)}drawHueSlider(){const t=this.hueSliderRenderingContext,{dimensions:{slider:{height:s,width:i},thumb:{radius:e}}}=this,o=e-s/2,n=t.createLinearGradient(0,0,i,0),l=["red","yellow","lime","cyan","blue","magenta","#ff0004"],r=1/(l.length-1);let c=0;l.forEach((t=>{n.addColorStop(c,a(t).string()),c+=r})),t.clearRect(0,0,i,s+2*this.getSliderCapSpacing()),this.drawSliderPath(t,s,i,0,o),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext,{baseColorFieldColor:s,dimensions:{slider:{height:i,width:e},thumb:{radius:a}}}=this,o=a-i/2;t.clearRect(0,0,e,i+2*this.getSliderCapSpacing());const n=t.createLinearGradient(0,o,e,0),l=s.rgb().alpha(0),r=s.rgb().alpha(.5),c=s.rgb().alpha(1);n.addColorStop(0,l.string()),n.addColorStop(.5,r.string()),n.addColorStop(1,c.string()),this.drawSliderPath(t,i,e,0,o);const h=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=h,t.fill(),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(t,s,i,e,a){const o=s/2+1;t.beginPath(),t.moveTo(e+o,a),t.lineTo(e+i-o,a),t.quadraticCurveTo(e+i,a,e+i,a+o),t.lineTo(e+i,a+s-o),t.quadraticCurveTo(e+i,a+s,e+i-o,a+s),t.lineTo(e+o,a+s),t.quadraticCurveTo(e,a+s,e,a+s-o),t.lineTo(e,a+o),t.quadraticCurveTo(e,a,e+o,a),t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;const t=document.createElement("canvas");t.width=10,t.height=10;const s=t.getContext("2d");return s.fillStyle="#ccc",s.fillRect(0,0,10,10),s.fillStyle="#fff",s.fillRect(0,0,5,5),s.fillRect(5,5,5,5),this.checkerPattern=t,t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t)return;const s=t,{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,a=K(s.alpha())/(c.max/i),o=e,n=this.getSliderBoundX(a,i,e);requestAnimationFrame((()=>{this.opacityScopeLeft=n})),this.drawThumb(this.opacitySliderRenderingContext,e,n,o,s,!0)}getSliderBoundX(t,s,i){const e=j(t,s,i);return 0===e?t:-1===e?D(t,0,s,i,2*i):D(t,0,s,s-2*i,s-i)}updateColorFromChannels(t){this.internalColorSet(a(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:s}=this,i=t[s]().array().map(((t,s)=>3===s?t:Math.floor(t)));return 3===i.length&&i.push(1),i}getAdjustedScopePosition(t,s){return[t-d/2,s-d/2]}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{allowEmpty:["handleAllowEmptyOrClearableChange"],clearable:["handleAllowEmptyOrClearableChange"],alphaChannel:["handleAlphaChannelChange","handleFormatOrAlphaChannelChange"],color:["handleColorChange"],format:["handleFormatOrAlphaChannelChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};B.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:inline-block;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );outline-offset:11px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';export{B as calcite_color_picker}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,c as a,h as t,H as c,g as l}from"./p-fa1ceaf9.js";import{E as i,a as s,b as r}from"./p-747d4b59.js";const b=class{constructor(t){e(this,t),this.deductValueComplete=a(this,"deductValueComplete",7),this._types=Object.keys(i).filter((e=>!isNaN(Number(i[e]))))}render(){return t(c,{key:"7c12073b99b009ce413082df1ea7f7ba57a24d89"},t("div",{key:"35ad62ab6a2fe9efb8e32c262d562c213ce067aa",class:"label-display"},t("calcite-label",{key:"5f4b84e4639538ebc8c6172def2a9c4b2703621f",class:"label-display"},"Density %",this._getDensityInput()),t("calcite-label",{key:"b3c9bf873945871c456e97a7c6ce71ce820f37c5",class:"label-display"},"Type",this._getTypeInput()),t("calcite-label",{key:"57d3b49c4b2a1f103fb197e29913e244731c507f",class:"label-display"},"Severity",this._getSeverityInput())),t("div",{key:"1194dccf269b5c42248f4e4eed188bcc89aa4cb5"},this._getCalculateInput()))}_getDensityInput(){return t("calcite-input",{max:100,min:0,ref:e=>{this._densityElement=e},type:"number"})}_getTypeInput(){return t("calcite-select",{label:"",ref:e=>{this._typeElement=e}},this._types.map(((e,a)=>t("calcite-option",{value:i[e].toString()},`${e} (${a+1})`))))}_getSeverityInput(){return t("calcite-select",{label:"",ref:e=>{this._severityElement=e}},t("calcite-option",{value:s.H},"High"),t("calcite-option",{value:s.M},"Medium"),t("calcite-option",{value:s.L},"Low"))}_getCalculateInput(){return t("calcite-button",{onClick:()=>this._calculateDeduct(parseFloat(this._typeElement.value),this._severityElement.value,parseFloat(this._densityElement.value))},"Calculate Deduct Value")}_calculateDeduct(e,a,t){if(e&&a&&!isNaN(t)){const c=r(e.toString(),a.toString(),t.toString(),!0);this.deductValueComplete.emit(c),alert(c)}else alert("Type, severity, and a density number are required")}get el(){return l(this)}};b.style=":host{display:block;--calcite-label-margin-bottom:0}.label-display{display:block;padding-bottom:1rem}";export{b as deduct_calculator}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,h as i,F as a,g as t}from"./p-fa1ceaf9.js";import{c,d as o}from"./p-27c68097.js";import{g as r}from"./p-67b26725.js";import{H as n,c as l}from"./p-cc388a08.js";import{S as s,C as d}from"./p-23059533.js";import"./p-e6c9e6af.js";import"./p-b85be429.js";import"./p-db50226e.js";const p=class{constructor(i){e(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){c(this)}disconnectedCallback(){o(this)}render(){var e;const{el:t,groupTitle:c,headingLevel:o}=this,p=null!==r(t,s.parentItem),m={[d.container]:!0,[d.indented]:p},b=c,f=null===(e=t.closest("calcite-pick-list"))||void 0===e?void 0:e.headingLevel,g=f?l(f+1):null;return i(a,{key:"6380a5a015cc5b2d7e41abdd74cf27eefec2c966"},b?i(n,{class:d.heading,level:o||g},b):null,i("slot",{key:"db5d5d42699ec83085a91875a76e7aa82b29a0ed",name:s.parentItem}),i("section",{key:"e9dc462160bed69c1362f3b0268e2bcc0c316ff9",class:m},i("slot",{key:"6230b773bae6f2f834c363db00185bd9fd0e5fca"})))}get el(){return t(this)}};p.style=":host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-color-text-3)}.container--indented{margin-inline-start:1.5rem}:host([hidden]){display:none}[hidden]{display:none}";export{p as calcite_pick_list_group}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{a as n}from"./p-fa1ceaf9.js";import{g as t}from"./p-813d004f.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.8.2
|
11
|
-
*/const s={};function o(){throw new Error("could not fetch component message bundle")}function c(n){n.messages={...n.defaultMessages,...n.messageOverrides}}async function a(n){n.defaultMessages=await e(n,n.effectiveLocale),c(n)}async function e(c,a){const{el:e}=c,f=e.tagName.toLowerCase().replace("calcite-","");return async function(t,c){const a=`${c}_${t}`;return s[a]||(s[a]=fetch(n(`./assets/${c}/t9n/messages_${t}.json`)).then((n=>(n.ok||o(),n.json()))).catch((()=>o()))),s[a]}(t(a,"t9n"),f)}async function f(n,t){n.defaultMessages=await e(n,t),c(n)}function i(n){n.onMessagesChange=r}function u(n){n.onMessagesChange=void 0}function r(){c(this)}export{i as c,u as d,a as s,f as u}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as c,h as a,H as s,g as e}from"./p-fa1ceaf9.js";const t=class{constructor(a){c(this,a)}render(){return a(s,{key:"6691ddbcebb6a78570c1a7d1317aadcccf51c6e3"},a("slot",{key:"bca9498b533fa13dfc5d85b690a0cc0d80fef1b8"}))}get el(){return e(this)}};t.style=":host{display:block}";export{t as list_flow_item}
|
@@ -1,6 +0,0 @@
|
|
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
|
-
export{I as calcite_input_time_picker}from"./p-6d51c6bf.js";import"./p-fa1ceaf9.js";import"./p-716a0878.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-9c6c056a.js";import"./p-b64cc55e.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-8ed6ce4d.js";import"./p-813d004f.js";import"./p-e6c9e6af.js";import"./p-97f0e1b6.js";import"./p-a89e61f4.js";import"./p-ebf59857.js";import"./p-44bfa87d.js";import"./p-ba569f8b.js";import"./p-5f1fdaf9.js";
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as a,h as e,H as s,g as r}from"./p-fa1ceaf9.js";const t=class{constructor(e){a(this,e)}render(){return e(s,{key:"104457a5adda26509038d324510d96303fc116ec"},e("slot",{key:"b20c4a07d8a74354ce7c1dc6aa56dda863b041c9"}))}get el(){return r(this)}};t.style=":host{display:block}";export{t as refine_results_flow_item}
|