@esri/solutions-components 0.8.64 → 0.8.66
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,1003 +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 2023 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 downloadUtils from "../downloadUtils";
|
22
|
-
import * as esriLoader from "esri-loader";
|
23
|
-
import * as restFeatureLayer from "@esri/arcgis-rest-feature-layer";
|
24
|
-
describe("downloadUtils", () => {
|
25
|
-
describe('removeDuplicateLabels', () => {
|
26
|
-
it('should remove duplicate labels', () => {
|
27
|
-
const labels = [
|
28
|
-
['Label 1', 'Value 1'],
|
29
|
-
['Label 2', 'Value 2'],
|
30
|
-
['Label 1', 'Value 1']
|
31
|
-
];
|
32
|
-
const result = downloadUtils.removeDuplicateLabels(labels);
|
33
|
-
expect(result).toEqual([
|
34
|
-
['Label 1', 'Value 1'],
|
35
|
-
['Label 2', 'Value 2']
|
36
|
-
]);
|
37
|
-
});
|
38
|
-
});
|
39
|
-
describe("_cleanupLabel", () => {
|
40
|
-
it("handles <br> variants", () => {
|
41
|
-
const labelText = "<div style='text-align: left;'>{NAME}<br />{STREET}<br/>{CITY}, {STATE} {ZIP} <br></div>";
|
42
|
-
const expectedCleanedText = "{NAME}|{STREET}|{CITY}, {STATE} {ZIP}";
|
43
|
-
const result = downloadUtils._cleanupLabel(labelText);
|
44
|
-
expect(result).toEqual(expectedCleanedText);
|
45
|
-
});
|
46
|
-
it("handles <p>", () => {
|
47
|
-
const labelText = "<p>{NAME}</p><p>{STREET}</p><p>{CITY}, {STATE} {ZIP}</p>";
|
48
|
-
const expectedCleanedText = "{NAME}|{STREET}|{CITY}, {STATE} {ZIP}";
|
49
|
-
const result = downloadUtils._cleanupLabel(labelText);
|
50
|
-
expect(result).toEqual(expectedCleanedText);
|
51
|
-
});
|
52
|
-
it("handles popup's use of \xA0", () => {
|
53
|
-
const labelText = "<div style='text-align: left;'>{NAME}<br />{STREET}<br />{CITY},\xA0{STATE}\xA0{ZIP}\xA0<br /></div>";
|
54
|
-
const expectedCleanedText = "{NAME}|{STREET}|{CITY}, {STATE} {ZIP}";
|
55
|
-
const result = downloadUtils._cleanupLabel(labelText);
|
56
|
-
expect(result).toEqual(expectedCleanedText);
|
57
|
-
});
|
58
|
-
it("removes newlines and blank lines, and trims each line", () => {
|
59
|
-
const labelText = " \n\n {NAME} \n \n\n {STREET}\n{CITY}, {STATE} {ZIP}\n\n \n ";
|
60
|
-
const expectedCleanedText = "{NAME}|{STREET}|{CITY}, {STATE} {ZIP}";
|
61
|
-
const result = downloadUtils._cleanupLabel(labelText);
|
62
|
-
expect(result).toEqual(expectedCleanedText);
|
63
|
-
});
|
64
|
-
it("handles tabs", () => {
|
65
|
-
const labelText = " \t\t {NAME} \n \n\n {STREET}\n{CITY}, {STATE} {ZIP}";
|
66
|
-
const expectedCleanedText = "{NAME}|{STREET}|{CITY}, {STATE} {ZIP}";
|
67
|
-
const result = downloadUtils._cleanupLabel(labelText);
|
68
|
-
expect(result).toEqual(expectedCleanedText);
|
69
|
-
});
|
70
|
-
it("removes extra HTML", () => {
|
71
|
-
const labelText = "\n<div style='text-align: left;'><span style='font-weight:bold'>{NAME}</span><br />{STREET}<br />{CITY},\xA0{STATE}\xA0{ZIP}\xA0<br /></div>\n";
|
72
|
-
const expectedCleanedText = "{NAME}|{STREET}|{CITY}, {STATE} {ZIP}";
|
73
|
-
const result = downloadUtils._cleanupLabel(labelText);
|
74
|
-
expect(result).toEqual(expectedCleanedText);
|
75
|
-
});
|
76
|
-
it("handles some special characters", () => {
|
77
|
-
const labelText = "<div style='text-align: left;'><{NAME}><br />{STREET}<br/>{CITY}, {STATE} {ZIP}<br></div>";
|
78
|
-
const expectedCleanedText = "<{NAME}>|{STREET}|{CITY}, {STATE} {ZIP}";
|
79
|
-
const result = downloadUtils._cleanupLabel(labelText);
|
80
|
-
expect(result).toEqual(expectedCleanedText);
|
81
|
-
});
|
82
|
-
});
|
83
|
-
describe("_convertPopupFieldsToLabelSpec", () => {
|
84
|
-
it("handles fieldname visibility", () => {
|
85
|
-
const fieldInfos = [
|
86
|
-
{ fieldName: "A", visible: true },
|
87
|
-
{ fieldName: "B", visible: true },
|
88
|
-
{ fieldName: "C", visible: false },
|
89
|
-
{ fieldName: "D", visible: true }
|
90
|
-
];
|
91
|
-
const bypassFieldVisiblity = false;
|
92
|
-
const expectedLabelSpec = "{A}|{B}|{D}";
|
93
|
-
const result = downloadUtils._convertPopupFieldsToLabelSpec(fieldInfos, bypassFieldVisiblity);
|
94
|
-
expect(result.type).toEqual("pattern");
|
95
|
-
expect(result.format).toEqual(expectedLabelSpec);
|
96
|
-
});
|
97
|
-
it("handles fieldname ignoring visibility", () => {
|
98
|
-
const fieldInfos = [
|
99
|
-
{ fieldName: "A", visible: true },
|
100
|
-
{ fieldName: "B", visible: true },
|
101
|
-
{ fieldName: "C", visible: false },
|
102
|
-
{ fieldName: "D", visible: true }
|
103
|
-
];
|
104
|
-
const bypassFieldVisiblity = true;
|
105
|
-
const expectedLabelSpec = "{A}|{B}|{C}|{D}";
|
106
|
-
const result = downloadUtils._convertPopupFieldsToLabelSpec(fieldInfos, bypassFieldVisiblity);
|
107
|
-
expect(result.type).toEqual("pattern");
|
108
|
-
expect(result.format).toEqual(expectedLabelSpec);
|
109
|
-
});
|
110
|
-
});
|
111
|
-
describe("_convertPopupTextToLabelSpec", () => {
|
112
|
-
it("handles <br> variants", () => {
|
113
|
-
const popupInfo = "<div style='text-align: left;'>{NAME}<br />{STREET}<br/>{CITY}, {STATE} {ZIP} <br></div>";
|
114
|
-
const expectedLabelSpec = "{NAME}|{STREET}|{CITY}, {STATE} {ZIP}";
|
115
|
-
const result = downloadUtils._convertPopupTextToLabelSpec(popupInfo);
|
116
|
-
expect(result.type).toEqual("pattern");
|
117
|
-
expect(result.format).toEqual(expectedLabelSpec);
|
118
|
-
});
|
119
|
-
it("handles <p>", () => {
|
120
|
-
const popupInfo = "<p>{NAME}</p><p>{STREET}</p><p>{CITY}, {STATE} {ZIP}</p>";
|
121
|
-
const expectedLabelSpec = "{NAME}|{STREET}|{CITY}, {STATE} {ZIP}";
|
122
|
-
const result = downloadUtils._convertPopupTextToLabelSpec(popupInfo);
|
123
|
-
expect(result.type).toEqual("pattern");
|
124
|
-
expect(result.format).toEqual(expectedLabelSpec);
|
125
|
-
});
|
126
|
-
it("handles popup's use of \xA0", () => {
|
127
|
-
const popupInfo = "<div style='text-align: left;'>{NAME}<br />{STREET}<br />{CITY},\xA0{STATE}\xA0{ZIP}\xA0<br /></div>";
|
128
|
-
const expectedLabelSpec = "{NAME}|{STREET}|{CITY}, {STATE} {ZIP}";
|
129
|
-
const result = downloadUtils._convertPopupTextToLabelSpec(popupInfo);
|
130
|
-
expect(result.type).toEqual("pattern");
|
131
|
-
expect(result.format).toEqual(expectedLabelSpec);
|
132
|
-
});
|
133
|
-
it("removes newlines and blank lines, and trims each line", () => {
|
134
|
-
const popupInfo = " \n\n {NAME} \n \n\n {STREET}\n{CITY}, {STATE} {ZIP}\n\n \n ";
|
135
|
-
const expectedLabelSpec = "{NAME}|{STREET}|{CITY}, {STATE} {ZIP}";
|
136
|
-
const result = downloadUtils._convertPopupTextToLabelSpec(popupInfo);
|
137
|
-
expect(result.type).toEqual("pattern");
|
138
|
-
expect(result.format).toEqual(expectedLabelSpec);
|
139
|
-
});
|
140
|
-
it("removes extra HTML", () => {
|
141
|
-
const popupInfo = "\n<div style='text-align: left;'><span style='font-weight:bold'>{NAME}</span><br />{STREET}<br />{CITY},\xA0{STATE}\xA0{ZIP}\xA0<br /></div>\n";
|
142
|
-
const expectedLabelSpec = "{NAME}|{STREET}|{CITY}, {STATE} {ZIP}";
|
143
|
-
const result = downloadUtils._convertPopupTextToLabelSpec(popupInfo);
|
144
|
-
expect(result.type).toEqual("pattern");
|
145
|
-
expect(result.format).toEqual(expectedLabelSpec);
|
146
|
-
});
|
147
|
-
it("handles some special characters", () => {
|
148
|
-
const popupInfo = "<div style='text-align: left;'><{NAME}><br />{STREET}<br/>{CITY}, {STATE} {ZIP}<br></div>";
|
149
|
-
const expectedLabelSpec = "<{NAME}>|{STREET}|{CITY}, {STATE} {ZIP}";
|
150
|
-
const result = downloadUtils._convertPopupTextToLabelSpec(popupInfo);
|
151
|
-
expect(result.type).toEqual("pattern");
|
152
|
-
expect(result.format).toEqual(expectedLabelSpec);
|
153
|
-
});
|
154
|
-
});
|
155
|
-
describe("_convertPopupArcadeToLabelSpec", () => {
|
156
|
-
it("handles <br> variants", async () => {
|
157
|
-
const Arcade = {
|
158
|
-
createArcadeExecutor: () => {
|
159
|
-
const executor = {};
|
160
|
-
return Promise.resolve(executor);
|
161
|
-
}
|
162
|
-
};
|
163
|
-
const loadModulesSpy = jest.spyOn(esriLoader, 'loadModules').mockResolvedValue([Arcade]);
|
164
|
-
const expressionInfo = {
|
165
|
-
expression: 'var feat = $feature\nvar label = `\n\t${feat["name"]} ${feat["age"]} years <br>\n\tstarted: ${feat["start"]}\n`\n\nreturn { \n type : \'text\', \n text : label\n}'
|
166
|
-
};
|
167
|
-
const result = await downloadUtils._convertPopupArcadeToLabelSpec(expressionInfo);
|
168
|
-
expect(result.type).toEqual("executor");
|
169
|
-
loadModulesSpy.mockRestore();
|
170
|
-
});
|
171
|
-
});
|
172
|
-
describe("_createFilename", () => {
|
173
|
-
it("handles no selection set names", () => {
|
174
|
-
const selectionSetNames = [];
|
175
|
-
const expectedTitle = "download";
|
176
|
-
const title = downloadUtils._createFilename(selectionSetNames);
|
177
|
-
expect(title).toEqual(expectedTitle);
|
178
|
-
});
|
179
|
-
it("handles one selection set name", () => {
|
180
|
-
const selectionSetNames = ["fred"];
|
181
|
-
const expectedTitle = "fred";
|
182
|
-
const title = downloadUtils._createFilename(selectionSetNames);
|
183
|
-
expect(title).toEqual(expectedTitle);
|
184
|
-
});
|
185
|
-
it("handles two selection set names", () => {
|
186
|
-
const selectionSetNames = ["fred", "ginger"];
|
187
|
-
const expectedTitle = "fred, ginger";
|
188
|
-
const title = downloadUtils._createFilename(selectionSetNames);
|
189
|
-
expect(title).toEqual(expectedTitle);
|
190
|
-
});
|
191
|
-
});
|
192
|
-
describe("_extractHeaderNames", () => {
|
193
|
-
it("handles a single-line label", () => {
|
194
|
-
const labelSpec = "{PSTLCITY}, {PSTLSTATE} {PSTLZIP5}";
|
195
|
-
const headerNames = downloadUtils._extractHeaderNames(labelSpec);
|
196
|
-
const expectedHeaderNames = ["PSTLCITY__PSTLSTATE__PSTLZIP5"];
|
197
|
-
expect(headerNames).toEqual(expectedHeaderNames);
|
198
|
-
});
|
199
|
-
it("handles a multi-line label", () => {
|
200
|
-
const labelSpec = "{OWNERNM1}|{PSTLADDRESS}|{PSTLCITY}, {PSTLSTATE} {PSTLZIP5}";
|
201
|
-
const headerNames = downloadUtils._extractHeaderNames(labelSpec);
|
202
|
-
const expectedHeaderNames = ["OWNERNM1", "PSTLADDRESS", "PSTLCITY__PSTLSTATE__PSTLZIP5"];
|
203
|
-
expect(headerNames).toEqual(expectedHeaderNames);
|
204
|
-
});
|
205
|
-
it("handles a multi-line label with a line without attributes", () => {
|
206
|
-
const labelSpec = "{OWNERNM1}|Line without attributes|{PSTLCITY}, {PSTLSTATE} {PSTLZIP5}";
|
207
|
-
const headerNames = downloadUtils._extractHeaderNames(labelSpec);
|
208
|
-
const expectedHeaderNames = ["OWNERNM1", "column_2", "PSTLCITY__PSTLSTATE__PSTLZIP5"];
|
209
|
-
expect(headerNames).toEqual(expectedHeaderNames);
|
210
|
-
});
|
211
|
-
it("handles a label with an Arcade expression", () => {
|
212
|
-
const labelSpec = "{expression/expr0}|{OWNERNM1}|{PSTLADDRESS}|{PSTLCITY}, {PSTLSTATE} {PSTLZIP5}";
|
213
|
-
const headerNames = downloadUtils._extractHeaderNames(labelSpec);
|
214
|
-
const expectedHeaderNames = ["expr0", "OWNERNM1", "PSTLADDRESS", "PSTLCITY__PSTLSTATE__PSTLZIP5"];
|
215
|
-
expect(headerNames).toEqual(expectedHeaderNames);
|
216
|
-
});
|
217
|
-
it("handles a label with multiple Arcade expressions", () => {
|
218
|
-
const labelSpec = "{expression/expr3}: {expression/expr1}|{OWNERNM1}|{expression/expr0}|{PSTLCITY}, {PSTLSTATE} {PSTLZIP5}";
|
219
|
-
const headerNames = downloadUtils._extractHeaderNames(labelSpec);
|
220
|
-
const expectedHeaderNames = ["expr3__expr1", "OWNERNM1", "expr0", "PSTLCITY__PSTLSTATE__PSTLZIP5"];
|
221
|
-
expect(headerNames).toEqual(expectedHeaderNames);
|
222
|
-
});
|
223
|
-
});
|
224
|
-
describe("_getExpressionsFromLabel", () => {
|
225
|
-
it("handles a label with ASCII expression names", () => {
|
226
|
-
const labelSpec = "{expression/expr0}|{OWNERNM1}|{PSTLADDRESS}|{PSTLCITY}, {PSTLSTATE} {PSTLZIP5}";
|
227
|
-
const expectedExpressions = ["{expression/expr0}"];
|
228
|
-
const expressions = downloadUtils._getExpressionsFromLabel(labelSpec);
|
229
|
-
expect(expressions).toEqual(expectedExpressions);
|
230
|
-
});
|
231
|
-
});
|
232
|
-
describe("_getFeatureServiceRelatedRecords", () => {
|
233
|
-
it("handles a feature layer", () => {
|
234
|
-
const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/0";
|
235
|
-
const layerId = 5;
|
236
|
-
const expectedOptions = {
|
237
|
-
definitionExpression: "1=1",
|
238
|
-
httpMethod: "POST",
|
239
|
-
objectIds: undefined,
|
240
|
-
outFields: "*",
|
241
|
-
relationshipId: undefined,
|
242
|
-
params: {
|
243
|
-
resultOffset: 0
|
244
|
-
},
|
245
|
-
url
|
246
|
-
};
|
247
|
-
const queryResponse = { relatedRecordGroups: [] };
|
248
|
-
const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
|
249
|
-
void downloadUtils._getFeatureServiceRelatedRecords(url, layerId);
|
250
|
-
expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
|
251
|
-
queryRelatedSpy.mockRestore();
|
252
|
-
});
|
253
|
-
it("handles a feature service", () => {
|
254
|
-
const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer";
|
255
|
-
const layerId = 5;
|
256
|
-
const expectedOptions = {
|
257
|
-
definitionExpression: "1=1",
|
258
|
-
httpMethod: "POST",
|
259
|
-
objectIds: undefined,
|
260
|
-
outFields: "*",
|
261
|
-
relationshipId: undefined,
|
262
|
-
params: {
|
263
|
-
resultOffset: 0
|
264
|
-
},
|
265
|
-
url: "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/5"
|
266
|
-
};
|
267
|
-
const queryResponse = { relatedRecordGroups: [] };
|
268
|
-
const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
|
269
|
-
void downloadUtils._getFeatureServiceRelatedRecords(url, layerId);
|
270
|
-
expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
|
271
|
-
queryRelatedSpy.mockRestore();
|
272
|
-
});
|
273
|
-
it("handles a feature layer with relationship id and object ids supplied", () => {
|
274
|
-
const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/0";
|
275
|
-
const layerId = 5;
|
276
|
-
const relationshipId = 3;
|
277
|
-
const objectIds = [7, 8, 9];
|
278
|
-
const expectedOptions = {
|
279
|
-
definitionExpression: "1=1",
|
280
|
-
httpMethod: "POST",
|
281
|
-
objectIds,
|
282
|
-
outFields: "*",
|
283
|
-
relationshipId,
|
284
|
-
params: {
|
285
|
-
resultOffset: 0
|
286
|
-
},
|
287
|
-
url
|
288
|
-
};
|
289
|
-
const queryResponse = { relatedRecordGroups: [] };
|
290
|
-
const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
|
291
|
-
void downloadUtils._getFeatureServiceRelatedRecords(url, layerId, relationshipId, objectIds);
|
292
|
-
expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
|
293
|
-
queryRelatedSpy.mockRestore();
|
294
|
-
});
|
295
|
-
});
|
296
|
-
describe("_getFieldExpressionsFromLabel", () => {
|
297
|
-
it("handles a label with ASCII field names", () => {
|
298
|
-
const labelSpec = "{expression/expr0}\n{OWNERNM1}\n{PSTLADDRESS}\n{PSTLCITY}, {PSTLSTATE} {PSTLZIP5}";
|
299
|
-
const expectedFields = ["{OWNERNM1}", "{PSTLADDRESS}", "{PSTLCITY}", "{PSTLSTATE}", "{PSTLZIP5}"];
|
300
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
301
|
-
expect(fields).toEqual(expectedFields);
|
302
|
-
});
|
303
|
-
it("handles a label with Arabic (ar) field name", () => {
|
304
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{بحث}|{time}";
|
305
|
-
const expectedFields = ["{latitude}", "{longitude}", "{بحث}", "{time}"];
|
306
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
307
|
-
expect(fields).toEqual(expectedFields);
|
308
|
-
});
|
309
|
-
it("handles a label with Bosnian (bs) field name", () => {
|
310
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{računa}|{time}";
|
311
|
-
const expectedFields = ["{latitude}", "{longitude}", "{računa}", "{time}"];
|
312
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
313
|
-
expect(fields).toEqual(expectedFields);
|
314
|
-
});
|
315
|
-
it("handles a label with Bulgarian (bg) field name", () => {
|
316
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Търсене}|{time}";
|
317
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Търсене}", "{time}"];
|
318
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
319
|
-
expect(fields).toEqual(expectedFields);
|
320
|
-
});
|
321
|
-
it("handles a label with Catalan (ca) field name", () => {
|
322
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Descripció}|{time}";
|
323
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Descripció}", "{time}"];
|
324
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
325
|
-
expect(fields).toEqual(expectedFields);
|
326
|
-
});
|
327
|
-
it("handles a label with Simplified Chinese (zh-cn) field name", () => {
|
328
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{帐户个人资料}|{time}";
|
329
|
-
const expectedFields = ["{latitude}", "{longitude}", "{帐户个人资料}", "{time}"];
|
330
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
331
|
-
expect(fields).toEqual(expectedFields);
|
332
|
-
});
|
333
|
-
it("handles a label with Traditional Chinese (Hong Kong) (zh-hk) field name", () => {
|
334
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{帳號設定檔}|{time}";
|
335
|
-
const expectedFields = ["{latitude}", "{longitude}", "{帳號設定檔}", "{time}"];
|
336
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
337
|
-
expect(fields).toEqual(expectedFields);
|
338
|
-
});
|
339
|
-
it("handles a label with Traditional Chinese (Taiwan) (zh-tw) field name", () => {
|
340
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{搜尋}|{time}";
|
341
|
-
const expectedFields = ["{latitude}", "{longitude}", "{搜尋}", "{time}"];
|
342
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
343
|
-
expect(fields).toEqual(expectedFields);
|
344
|
-
});
|
345
|
-
it("handles a label with Croatian (hr) field name", () => {
|
346
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Pretraživanje}|{time}";
|
347
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Pretraživanje}", "{time}"];
|
348
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
349
|
-
expect(fields).toEqual(expectedFields);
|
350
|
-
});
|
351
|
-
it("handles a label with Czech (cs) field name", () => {
|
352
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Přihlásit}|{time}";
|
353
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Přihlásit}", "{time}"];
|
354
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
355
|
-
expect(fields).toEqual(expectedFields);
|
356
|
-
});
|
357
|
-
it("handles a label with Danish (da) field name", () => {
|
358
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Vælg}|{time}";
|
359
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Vælg}", "{time}"];
|
360
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
361
|
-
expect(fields).toEqual(expectedFields);
|
362
|
-
});
|
363
|
-
it("handles a label with Dutch (nl) field name", () => {
|
364
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{geïmplementeerd}|{time}";
|
365
|
-
const expectedFields = ["{latitude}", "{longitude}", "{geïmplementeerd}", "{time}"];
|
366
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
367
|
-
expect(fields).toEqual(expectedFields);
|
368
|
-
});
|
369
|
-
it("handles a label with Estonian (et) field name", () => {
|
370
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Valdkonnapõhised}|{time}";
|
371
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Valdkonnapõhised}", "{time}"];
|
372
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
373
|
-
expect(fields).toEqual(expectedFields);
|
374
|
-
});
|
375
|
-
it("handles a label with Finnish (fi) field name", () => {
|
376
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Näytä}|{time}";
|
377
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Näytä}", "{time}"];
|
378
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
379
|
-
expect(fields).toEqual(expectedFields);
|
380
|
-
});
|
381
|
-
it("handles a label with French (fr) field name", () => {
|
382
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{accès}|{time}";
|
383
|
-
const expectedFields = ["{latitude}", "{longitude}", "{accès}", "{time}"];
|
384
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
385
|
-
expect(fields).toEqual(expectedFields);
|
386
|
-
});
|
387
|
-
it("handles a label with German (de) field name", () => {
|
388
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Öffentliche}|{time}";
|
389
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Öffentliche}", "{time}"];
|
390
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
391
|
-
expect(fields).toEqual(expectedFields);
|
392
|
-
});
|
393
|
-
it("handles a label with Greek (el) field name", () => {
|
394
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Αναζήτηση}|{time}";
|
395
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Αναζήτηση}", "{time}"];
|
396
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
397
|
-
expect(fields).toEqual(expectedFields);
|
398
|
-
});
|
399
|
-
it("handles a label with Hebrew (he) field name", () => {
|
400
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{עוֹמֶק}|{time}";
|
401
|
-
const expectedFields = ["{latitude}", "{longitude}", "{עוֹמֶק}", "{time}"];
|
402
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
403
|
-
expect(fields).toEqual(expectedFields);
|
404
|
-
});
|
405
|
-
it("handles a label with Hungarian (hu) field name", () => {
|
406
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Nyelvváltás}|{time}";
|
407
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Nyelvváltás}", "{time}"];
|
408
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
409
|
-
expect(fields).toEqual(expectedFields);
|
410
|
-
});
|
411
|
-
it("handles a label with Indonesian (id) field name", () => {
|
412
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Bahasa}|{time}";
|
413
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Bahasa}", "{time}"];
|
414
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
415
|
-
expect(fields).toEqual(expectedFields);
|
416
|
-
});
|
417
|
-
it("handles a label with Italian (it) field name", () => {
|
418
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Elettricità}|{time}";
|
419
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Elettricità}", "{time}"];
|
420
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
421
|
-
expect(fields).toEqual(expectedFields);
|
422
|
-
});
|
423
|
-
it("handles a label with Japanese (ja) field name", () => {
|
424
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{深さ}|{time}";
|
425
|
-
const expectedFields = ["{latitude}", "{longitude}", "{深さ}", "{time}"];
|
426
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
427
|
-
expect(fields).toEqual(expectedFields);
|
428
|
-
});
|
429
|
-
it("handles a label with Korean (ko) field name", () => {
|
430
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{계정 프로필}|{time}";
|
431
|
-
const expectedFields = ["{latitude}", "{longitude}", "{계정 프로필}", "{time}"];
|
432
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
433
|
-
expect(fields).toEqual(expectedFields);
|
434
|
-
});
|
435
|
-
it("handles a label with Latvian (lv) field name", () => {
|
436
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Meklēt}|{time}";
|
437
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Meklēt}", "{time}"];
|
438
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
439
|
-
expect(fields).toEqual(expectedFields);
|
440
|
-
});
|
441
|
-
it("handles a label with Lithuanian (lt) field name", () => {
|
442
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{sričių}|{time}";
|
443
|
-
const expectedFields = ["{latitude}", "{longitude}", "{sričių}", "{time}"];
|
444
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
445
|
-
expect(fields).toEqual(expectedFields);
|
446
|
-
});
|
447
|
-
it("handles a label with Norwegian (nb) field name", () => {
|
448
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{språk}|{time}";
|
449
|
-
const expectedFields = ["{latitude}", "{longitude}", "{språk}", "{time}"];
|
450
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
451
|
-
expect(fields).toEqual(expectedFields);
|
452
|
-
});
|
453
|
-
it("handles a label with Polish (pl) field name", () => {
|
454
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Przełącz}|{time}";
|
455
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Przełącz}", "{time}"];
|
456
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
457
|
-
expect(fields).toEqual(expectedFields);
|
458
|
-
});
|
459
|
-
it("handles a label with Portuguese (Brazil) (pt-br) field name", () => {
|
460
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Configurações}|{time}";
|
461
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Configurações}", "{time}"];
|
462
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
463
|
-
expect(fields).toEqual(expectedFields);
|
464
|
-
});
|
465
|
-
it("handles a label with Portuguese (Portugal) (pt-pt) field name", () => {
|
466
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{sessão}|{time}";
|
467
|
-
const expectedFields = ["{latitude}", "{longitude}", "{sessão}", "{time}"];
|
468
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
469
|
-
expect(fields).toEqual(expectedFields);
|
470
|
-
});
|
471
|
-
it("handles a label with Romanian (ro) field name", () => {
|
472
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Copiați}|{time}";
|
473
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Copiați}", "{time}"];
|
474
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
475
|
-
expect(fields).toEqual(expectedFields);
|
476
|
-
});
|
477
|
-
it("handles a label with Russian (ru) field name", () => {
|
478
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Вход}|{time}";
|
479
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Вход}", "{time}"];
|
480
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
481
|
-
expect(fields).toEqual(expectedFields);
|
482
|
-
});
|
483
|
-
it("handles a label with Serbian (sr) field name", () => {
|
484
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{pregledač}|{time}";
|
485
|
-
const expectedFields = ["{latitude}", "{longitude}", "{pregledač}", "{time}"];
|
486
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
487
|
-
expect(fields).toEqual(expectedFields);
|
488
|
-
});
|
489
|
-
it("handles a label with Slovak (sk) field name", () => {
|
490
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Prihlásiť}|{time}";
|
491
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Prihlásiť}", "{time}"];
|
492
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
493
|
-
expect(fields).toEqual(expectedFields);
|
494
|
-
});
|
495
|
-
it("handles a label with Slovenian (sl) field name", () => {
|
496
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{računa}|{time}";
|
497
|
-
const expectedFields = ["{latitude}", "{longitude}", "{računa}", "{time}"];
|
498
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
499
|
-
expect(fields).toEqual(expectedFields);
|
500
|
-
});
|
501
|
-
it("handles a label with Spanish (es) field name", () => {
|
502
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{través}|{time}";
|
503
|
-
const expectedFields = ["{latitude}", "{longitude}", "{través}", "{time}"];
|
504
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
505
|
-
expect(fields).toEqual(expectedFields);
|
506
|
-
});
|
507
|
-
it("handles a label with Swedish (sv) field name", () => {
|
508
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{språk}|{time}";
|
509
|
-
const expectedFields = ["{latitude}", "{longitude}", "{språk}", "{time}"];
|
510
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
511
|
-
expect(fields).toEqual(expectedFields);
|
512
|
-
});
|
513
|
-
it("handles a label with Thai (th) field name", () => {
|
514
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{โปรไฟล์บัญ}|{time}";
|
515
|
-
const expectedFields = ["{latitude}", "{longitude}", "{โปรไฟล์บัญ}", "{time}"];
|
516
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
517
|
-
expect(fields).toEqual(expectedFields);
|
518
|
-
});
|
519
|
-
it("handles a label with Turkish (tr) field name", () => {
|
520
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Değiştir}|{time}";
|
521
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Değiştir}", "{time}"];
|
522
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
523
|
-
expect(fields).toEqual(expectedFields);
|
524
|
-
});
|
525
|
-
it("handles a label with Ukrainian (uk) field name", () => {
|
526
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Пошук}|{time}";
|
527
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Пошук}", "{time}"];
|
528
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
529
|
-
expect(fields).toEqual(expectedFields);
|
530
|
-
});
|
531
|
-
it("handles a label with Vietnamese (vi) field name", () => {
|
532
|
-
const labelSpec = "{latitude}|{expression/expr0}\n{longitude}|{Chuyển}|{time}";
|
533
|
-
const expectedFields = ["{latitude}", "{longitude}", "{Chuyển}", "{time}"];
|
534
|
-
const fields = downloadUtils._getFieldExpressionsFromLabel(labelSpec);
|
535
|
-
expect(fields).toEqual(expectedFields);
|
536
|
-
});
|
537
|
-
});
|
538
|
-
describe('_getFieldNamesFromFieldExpressions', () => {
|
539
|
-
it("extracts field names from field name expressions", () => {
|
540
|
-
const expressions = ["{NAME}", "{STREET}", "{CITY}", "{STATE}", "{ZIP}"];
|
541
|
-
const names = ["NAME", "STREET", "CITY", "STATE", "ZIP"];
|
542
|
-
expect(downloadUtils._getFieldNamesFromFieldExpressions(expressions)).toEqual(names);
|
543
|
-
});
|
544
|
-
});
|
545
|
-
/*
|
546
|
-
describe('_getLabelFormat', () => {
|
547
|
-
|
548
|
-
it('should prepare labels from visible popup fields', async () => {
|
549
|
-
const popupTemplate = {
|
550
|
-
title: '{name}',
|
551
|
-
content: [{
|
552
|
-
type: 'fields'
|
553
|
-
}],
|
554
|
-
fieldInfos: [{
|
555
|
-
fieldName: 'name',
|
556
|
-
visible: true
|
557
|
-
}, {
|
558
|
-
fieldName: 'age',
|
559
|
-
format: {
|
560
|
-
places: 0,
|
561
|
-
digitSeparator: true
|
562
|
-
},
|
563
|
-
visible: true
|
564
|
-
}, {
|
565
|
-
fieldName: 'start',
|
566
|
-
format: {
|
567
|
-
dateFormat: 'short-date'
|
568
|
-
},
|
569
|
-
visible: true
|
570
|
-
}]
|
571
|
-
};
|
572
|
-
const layer = {
|
573
|
-
popupEnabled: true,
|
574
|
-
popupTemplate
|
575
|
-
};
|
576
|
-
const formatUsingLayerPopup = true;
|
577
|
-
|
578
|
-
const attributeFormats: downloadUtils.IAttributeFormats = {};
|
579
|
-
const result: downloadUtils.ILabelFormat =
|
580
|
-
await downloadUtils._getLabelFormat(layer as any, formatUsingLayerPopup, attributeFormats);
|
581
|
-
expect(result.type).toEqual('pattern');
|
582
|
-
expect(result.format).toEqual('{name}|{age}|{start}');
|
583
|
-
});
|
584
|
-
|
585
|
-
it('should prepare labels from a partial set of visible popup fields', async () => {
|
586
|
-
const popupTemplate = {
|
587
|
-
title: '{name}',
|
588
|
-
content: [{
|
589
|
-
type: 'fields'
|
590
|
-
}],
|
591
|
-
fieldInfos: [{
|
592
|
-
fieldName: 'name',
|
593
|
-
visible: false
|
594
|
-
}, {
|
595
|
-
fieldName: 'age',
|
596
|
-
format: {
|
597
|
-
places: 0,
|
598
|
-
digitSeparator: true
|
599
|
-
},
|
600
|
-
visible: false
|
601
|
-
}, {
|
602
|
-
fieldName: 'start',
|
603
|
-
format: {
|
604
|
-
dateFormat: 'short-date'
|
605
|
-
},
|
606
|
-
visible: true
|
607
|
-
}]
|
608
|
-
};
|
609
|
-
const layer = {
|
610
|
-
popupEnabled: true,
|
611
|
-
popupTemplate
|
612
|
-
};
|
613
|
-
const formatUsingLayerPopup = true;
|
614
|
-
|
615
|
-
const attributeFormats: downloadUtils.IAttributeFormats = {};
|
616
|
-
const result: downloadUtils.ILabelFormat =
|
617
|
-
await downloadUtils._getLabelFormat(layer as any, formatUsingLayerPopup, attributeFormats);
|
618
|
-
expect(result.type).toEqual('pattern');
|
619
|
-
expect(result.format).toEqual('{start}');
|
620
|
-
});
|
621
|
-
|
622
|
-
it('should prepare labels from invisible popup fields, but title is present', async () => {
|
623
|
-
const popupTemplate = {
|
624
|
-
title: '{name}',
|
625
|
-
content: [{
|
626
|
-
type: 'fields'
|
627
|
-
}],
|
628
|
-
fieldInfos: [{
|
629
|
-
fieldName: 'name',
|
630
|
-
visible: false
|
631
|
-
}, {
|
632
|
-
fieldName: 'age',
|
633
|
-
format: {
|
634
|
-
places: 0,
|
635
|
-
digitSeparator: true
|
636
|
-
},
|
637
|
-
visible: false
|
638
|
-
}, {
|
639
|
-
fieldName: 'start',
|
640
|
-
format: {
|
641
|
-
dateFormat: 'short-date'
|
642
|
-
},
|
643
|
-
visible: false
|
644
|
-
}]
|
645
|
-
};
|
646
|
-
const layer = {
|
647
|
-
popupEnabled: true,
|
648
|
-
popupTemplate
|
649
|
-
};
|
650
|
-
const formatUsingLayerPopup = true;
|
651
|
-
|
652
|
-
const attributeFormats: downloadUtils.IAttributeFormats = {};
|
653
|
-
const result: downloadUtils.ILabelFormat =
|
654
|
-
await downloadUtils._getLabelFormat(layer as any, formatUsingLayerPopup, attributeFormats);
|
655
|
-
expect(result.type).toEqual('pattern');
|
656
|
-
expect(result.format).toEqual('{name}');
|
657
|
-
});
|
658
|
-
|
659
|
-
it('should prepare labels from invisible popup fields with no title present', async () => {
|
660
|
-
const popupTemplate = {
|
661
|
-
title: '',
|
662
|
-
content: [{
|
663
|
-
type: 'fields'
|
664
|
-
}],
|
665
|
-
fieldInfos: [{
|
666
|
-
fieldName: 'name',
|
667
|
-
visible: false
|
668
|
-
}, {
|
669
|
-
fieldName: 'age',
|
670
|
-
format: {
|
671
|
-
places: 0,
|
672
|
-
digitSeparator: true
|
673
|
-
},
|
674
|
-
visible: false
|
675
|
-
}, {
|
676
|
-
fieldName: 'start',
|
677
|
-
format: {
|
678
|
-
dateFormat: 'short-date'
|
679
|
-
},
|
680
|
-
visible: false
|
681
|
-
}]
|
682
|
-
};
|
683
|
-
const layer = {
|
684
|
-
popupEnabled: true,
|
685
|
-
popupTemplate
|
686
|
-
};
|
687
|
-
const formatUsingLayerPopup = true;
|
688
|
-
|
689
|
-
const attributeFormats: downloadUtils.IAttributeFormats = {};
|
690
|
-
const result: downloadUtils.ILabelFormat =
|
691
|
-
await downloadUtils._getLabelFormat(layer as any, formatUsingLayerPopup, attributeFormats);
|
692
|
-
expect(result.type).toEqual('pattern');
|
693
|
-
expect(result.format).toEqual('{name}|{age}|{start}');
|
694
|
-
});
|
695
|
-
|
696
|
-
it('should prepare labels from popup text', async () => {
|
697
|
-
const popupTemplate = {
|
698
|
-
title: '{name}',
|
699
|
-
content: [{
|
700
|
-
type: 'text',
|
701
|
-
text: '<p>{name} {age} years </p><p>started: {start}</p>'
|
702
|
-
}],
|
703
|
-
fieldInfos: [{
|
704
|
-
fieldName: 'name',
|
705
|
-
visible: true
|
706
|
-
}, {
|
707
|
-
fieldName: 'age',
|
708
|
-
format: {
|
709
|
-
places: 0,
|
710
|
-
digitSeparator: true
|
711
|
-
},
|
712
|
-
visible: true
|
713
|
-
}, {
|
714
|
-
fieldName: 'start',
|
715
|
-
format: {
|
716
|
-
dateFormat: 'short-date'
|
717
|
-
},
|
718
|
-
visible: true
|
719
|
-
}]
|
720
|
-
};
|
721
|
-
const layer = {
|
722
|
-
popupEnabled: true,
|
723
|
-
popupTemplate
|
724
|
-
};
|
725
|
-
const formatUsingLayerPopup = true;
|
726
|
-
|
727
|
-
const attributeFormats: downloadUtils.IAttributeFormats = {};
|
728
|
-
const result: downloadUtils.ILabelFormat =
|
729
|
-
await downloadUtils._getLabelFormat(layer as any, formatUsingLayerPopup, attributeFormats);
|
730
|
-
expect(result.type).toEqual('pattern');
|
731
|
-
expect(result.format).toEqual('{name} {age} years|started: {start}');
|
732
|
-
});
|
733
|
-
|
734
|
-
it('should prepare labels from popup Arcade', async () => {
|
735
|
-
const Arcade = {
|
736
|
-
createArcadeExecutor: (): Promise<__esri.ArcadeExecutor> => {
|
737
|
-
const executor: __esri.ArcadeExecutor = {} as __esri.ArcadeExecutor;
|
738
|
-
return Promise.resolve(executor);
|
739
|
-
}
|
740
|
-
};
|
741
|
-
const loadModulesSpy = jest.spyOn(esriLoader, 'loadModules').mockResolvedValue([Arcade]);
|
742
|
-
|
743
|
-
const popupTemplate = {
|
744
|
-
title: '{name}',
|
745
|
-
content: [{
|
746
|
-
type: 'expression',
|
747
|
-
expressionInfo: {
|
748
|
-
title: 'New expression',
|
749
|
-
expression: 'var feat = $feature\nvar label = `\n\t${feat["name"]} ${feat["age"]} years <br>\n\tstarted: ${feat["start"]}\n`\n\nreturn { \n type : \'text\', \n text : label\n}',
|
750
|
-
returnType: 'dictionary'
|
751
|
-
}
|
752
|
-
}],
|
753
|
-
fieldInfos: [{
|
754
|
-
fieldName: 'name',
|
755
|
-
visible: true
|
756
|
-
}, {
|
757
|
-
fieldName: 'age',
|
758
|
-
format: {
|
759
|
-
places: 0,
|
760
|
-
digitSeparator: true
|
761
|
-
},
|
762
|
-
visible: true
|
763
|
-
}, {
|
764
|
-
fieldName: 'start',
|
765
|
-
format: {
|
766
|
-
dateFormat: 'short-date'
|
767
|
-
},
|
768
|
-
visible: true
|
769
|
-
}]
|
770
|
-
};
|
771
|
-
const layer = {
|
772
|
-
popupEnabled: true,
|
773
|
-
popupTemplate
|
774
|
-
};
|
775
|
-
const formatUsingLayerPopup = true;
|
776
|
-
|
777
|
-
const attributeFormats: downloadUtils.IAttributeFormats = {};
|
778
|
-
const result: downloadUtils.ILabelFormat =
|
779
|
-
await downloadUtils._getLabelFormat(layer as any, formatUsingLayerPopup, attributeFormats);
|
780
|
-
expect(result.type).toEqual('executor');
|
781
|
-
|
782
|
-
loadModulesSpy.mockRestore();
|
783
|
-
});
|
784
|
-
|
785
|
-
it('should prepare labels without popup; formatUsingLayerPopup is true', async () => {
|
786
|
-
const layer = {
|
787
|
-
popupEnabled: false,
|
788
|
-
fields: [
|
789
|
-
{
|
790
|
-
name: 'name',
|
791
|
-
type: 'string'
|
792
|
-
},
|
793
|
-
{
|
794
|
-
name: 'age',
|
795
|
-
type: 'integer'
|
796
|
-
}
|
797
|
-
]
|
798
|
-
} as __esri.FeatureLayer;
|
799
|
-
const formatUsingLayerPopup = true;
|
800
|
-
|
801
|
-
const attributeFormats: downloadUtils.IAttributeFormats = {};
|
802
|
-
const result: downloadUtils.ILabelFormat =
|
803
|
-
await downloadUtils._getLabelFormat(layer as any, formatUsingLayerPopup, attributeFormats);
|
804
|
-
expect(result.type).toEqual('unsupported');
|
805
|
-
expect(result.format).toBeUndefined();
|
806
|
-
});
|
807
|
-
|
808
|
-
it('should prepare labels without popup; formatUsingLayerPopup is false', async () => {
|
809
|
-
const layer = {
|
810
|
-
popupEnabled: false,
|
811
|
-
fields: [
|
812
|
-
{
|
813
|
-
name: 'name',
|
814
|
-
type: 'string'
|
815
|
-
},
|
816
|
-
{
|
817
|
-
name: 'age',
|
818
|
-
type: 'integer'
|
819
|
-
}
|
820
|
-
]
|
821
|
-
} as __esri.FeatureLayer;
|
822
|
-
const formatUsingLayerPopup = false;
|
823
|
-
|
824
|
-
const attributeFormats: downloadUtils.IAttributeFormats = {};
|
825
|
-
const result: downloadUtils.ILabelFormat =
|
826
|
-
await downloadUtils._getLabelFormat(layer as any, formatUsingLayerPopup, attributeFormats);
|
827
|
-
expect(result.type).toEqual('unsupported');
|
828
|
-
expect(result.format).toBeUndefined();
|
829
|
-
});
|
830
|
-
|
831
|
-
});
|
832
|
-
*/
|
833
|
-
describe('_getSelectionSetNames', () => {
|
834
|
-
it('should return selection set names for matching IDs', () => {
|
835
|
-
const exportInfos = {
|
836
|
-
'layer1': {
|
837
|
-
selectionSetNames: ['Selection Set 1', 'Selection Set 2']
|
838
|
-
},
|
839
|
-
'layer2': {
|
840
|
-
selectionSetNames: ['Selection Set 3']
|
841
|
-
}
|
842
|
-
};
|
843
|
-
const result = downloadUtils._getSelectionSetNames(exportInfos, /^layer/);
|
844
|
-
expect(result).toEqual(['Selection Set 1', 'Selection Set 2', 'Selection Set 3']);
|
845
|
-
});
|
846
|
-
it('should return an empty array if no matching IDs are found', () => {
|
847
|
-
const exportInfos = {
|
848
|
-
'layer1': {
|
849
|
-
selectionSetNames: ['Selection Set 1', 'Selection Set 2']
|
850
|
-
},
|
851
|
-
'layer2': {
|
852
|
-
selectionSetNames: ['Selection Set 3']
|
853
|
-
}
|
854
|
-
};
|
855
|
-
const result = downloadUtils._getSelectionSetNames(exportInfos, /^foo/);
|
856
|
-
expect(result).toEqual([]);
|
857
|
-
});
|
858
|
-
});
|
859
|
-
describe('_prepareAttributeValue', () => {
|
860
|
-
it('should format date attributes', () => {
|
861
|
-
const attributeValue = new Date('2022-02-01T00:00:00.000Z');
|
862
|
-
const attributeType = 'date';
|
863
|
-
const attributeDomain = null;
|
864
|
-
const attributeFormat = null;
|
865
|
-
const intl = {
|
866
|
-
formatDate: jest.fn().mockReturnValue('02/01/2022'),
|
867
|
-
convertDateFormatToIntlOptions: jest.fn().mockReturnValue({})
|
868
|
-
};
|
869
|
-
const result = downloadUtils._prepareAttributeValue(attributeValue, attributeType, attributeDomain, attributeFormat, intl);
|
870
|
-
expect(result).toEqual('02/01/2022');
|
871
|
-
expect(intl.formatDate).toHaveBeenCalledWith(attributeValue);
|
872
|
-
expect(intl.convertDateFormatToIntlOptions).not.toHaveBeenCalled();
|
873
|
-
});
|
874
|
-
it('should format date-only attributes', () => {
|
875
|
-
const attributeValue = '2020-02-01';
|
876
|
-
const attributeType = 'date-only';
|
877
|
-
const attributeDomain = null;
|
878
|
-
const attributeFormat = null;
|
879
|
-
const intl = {
|
880
|
-
formatDateOnly: jest.fn().mockReturnValue('02/01/2022'),
|
881
|
-
convertDateFormatToIntlOptions: jest.fn().mockReturnValue({})
|
882
|
-
};
|
883
|
-
const result = downloadUtils._prepareAttributeValue(attributeValue, attributeType, attributeDomain, attributeFormat, intl);
|
884
|
-
expect(result).toEqual('02/01/2022');
|
885
|
-
expect(intl.formatDateOnly).toHaveBeenCalledWith(attributeValue);
|
886
|
-
expect(intl.convertDateFormatToIntlOptions).not.toHaveBeenCalled();
|
887
|
-
});
|
888
|
-
it('should format time-only attributes', () => {
|
889
|
-
const attributeValue = '14:51:44.2533333';
|
890
|
-
const attributeType = 'time-only';
|
891
|
-
const attributeDomain = null;
|
892
|
-
const attributeFormat = null;
|
893
|
-
const intl = {
|
894
|
-
formatTimeOnly: jest.fn().mockReturnValue('14:41'),
|
895
|
-
convertDateFormatToIntlOptions: jest.fn().mockReturnValue({})
|
896
|
-
};
|
897
|
-
const result = downloadUtils._prepareAttributeValue(attributeValue, attributeType, attributeDomain, attributeFormat, intl);
|
898
|
-
expect(result).toEqual('14:41');
|
899
|
-
expect(intl.formatTimeOnly).toHaveBeenCalledWith(attributeValue);
|
900
|
-
expect(intl.convertDateFormatToIntlOptions).not.toHaveBeenCalled();
|
901
|
-
});
|
902
|
-
it('should format date attributes using the specified date format', () => {
|
903
|
-
const attributeValue = new Date('2022-02-01T00:00:00.000Z');
|
904
|
-
const attributeType = 'date';
|
905
|
-
const attributeDomain = null;
|
906
|
-
const attributeFormat = {
|
907
|
-
dateFormat: 'shortdate'
|
908
|
-
};
|
909
|
-
const intl = {
|
910
|
-
formatDate: jest.fn().mockReturnValue('02/01/2022'),
|
911
|
-
convertDateFormatToIntlOptions: jest.fn().mockReturnValue({})
|
912
|
-
};
|
913
|
-
const result = downloadUtils._prepareAttributeValue(attributeValue, attributeType, attributeDomain, attributeFormat, intl);
|
914
|
-
expect(result).toEqual('02/01/2022');
|
915
|
-
expect(intl.formatDate).toHaveBeenCalledWith(attributeValue, {});
|
916
|
-
expect(intl.convertDateFormatToIntlOptions).toHaveBeenCalledWith('shortdate');
|
917
|
-
});
|
918
|
-
it('should format date-only attributes using the specified date format', () => {
|
919
|
-
const attributeValue = '2020-02-01';
|
920
|
-
const attributeType = 'date-only';
|
921
|
-
const attributeDomain = null;
|
922
|
-
const attributeFormat = {
|
923
|
-
dateFormat: 'shortdate'
|
924
|
-
};
|
925
|
-
const intl = {
|
926
|
-
formatDateOnly: jest.fn().mockReturnValue('02/01/2022'),
|
927
|
-
convertDateFormatToIntlOptions: jest.fn().mockReturnValue({})
|
928
|
-
};
|
929
|
-
const result = downloadUtils._prepareAttributeValue(attributeValue, attributeType, attributeDomain, attributeFormat, intl);
|
930
|
-
expect(result).toEqual('02/01/2022');
|
931
|
-
expect(intl.formatDateOnly).toHaveBeenCalledWith(attributeValue, {});
|
932
|
-
expect(intl.convertDateFormatToIntlOptions).toHaveBeenCalledWith('shortdate');
|
933
|
-
});
|
934
|
-
it('should format time-only attributes using the specified date format', () => {
|
935
|
-
const attributeValue = '14:51:44.2533333';
|
936
|
-
const attributeType = 'time-only';
|
937
|
-
const attributeDomain = null;
|
938
|
-
const attributeFormat = {
|
939
|
-
dateFormat: 'shortdate'
|
940
|
-
};
|
941
|
-
const intl = {
|
942
|
-
formatTimeOnly: jest.fn().mockReturnValue('14:41'),
|
943
|
-
convertDateFormatToIntlOptions: jest.fn().mockReturnValue({})
|
944
|
-
};
|
945
|
-
const result = downloadUtils._prepareAttributeValue(attributeValue, attributeType, attributeDomain, attributeFormat, intl);
|
946
|
-
expect(result).toEqual('14:41');
|
947
|
-
expect(intl.formatTimeOnly).toHaveBeenCalledWith(attributeValue, {});
|
948
|
-
expect(intl.convertDateFormatToIntlOptions).toHaveBeenCalledWith('shortdate');
|
949
|
-
});
|
950
|
-
it('should format number attributes using the specified number format', () => {
|
951
|
-
const attributeValue = 1234.5678;
|
952
|
-
const attributeType = 'double';
|
953
|
-
const attributeDomain = null;
|
954
|
-
const attributeFormat = {
|
955
|
-
places: 2,
|
956
|
-
digitSeparator: true
|
957
|
-
};
|
958
|
-
const intl = {
|
959
|
-
formatNumber: jest.fn().mockReturnValue('1,234.57'),
|
960
|
-
convertNumberFormatToIntlOptions: jest.fn().mockReturnValue({})
|
961
|
-
};
|
962
|
-
const result = downloadUtils._prepareAttributeValue(attributeValue, attributeType, attributeDomain, attributeFormat, intl);
|
963
|
-
expect(result).toEqual('1,234.57');
|
964
|
-
expect(intl.formatNumber).toHaveBeenCalledWith(attributeValue, {});
|
965
|
-
expect(intl.convertNumberFormatToIntlOptions).toHaveBeenCalledWith(attributeFormat);
|
966
|
-
});
|
967
|
-
it('should return the attribute value if no format is specified', () => {
|
968
|
-
const attributeValue = 'Value';
|
969
|
-
const attributeType = 'string';
|
970
|
-
const attributeDomain = null;
|
971
|
-
const attributeFormat = null;
|
972
|
-
const intl = {};
|
973
|
-
const result = downloadUtils._prepareAttributeValue(attributeValue, attributeType, attributeDomain, attributeFormat, intl);
|
974
|
-
expect(result).toEqual('Value');
|
975
|
-
});
|
976
|
-
it('should return the domain name for coded-value domain fields', () => {
|
977
|
-
const attributeValue = '1';
|
978
|
-
const attributeType = 'string';
|
979
|
-
const attributeDomain = {
|
980
|
-
type: 'coded-value',
|
981
|
-
name: 'Domain',
|
982
|
-
codedValues: [
|
983
|
-
{
|
984
|
-
name: 'Value 1',
|
985
|
-
code: '1'
|
986
|
-
},
|
987
|
-
{
|
988
|
-
name: 'Value 2',
|
989
|
-
code: '2'
|
990
|
-
}
|
991
|
-
],
|
992
|
-
getName: function (code) {
|
993
|
-
var _a;
|
994
|
-
return (_a = this.codedValues.find((codedValue) => codedValue.code === code)) === null || _a === void 0 ? void 0 : _a.name;
|
995
|
-
}
|
996
|
-
};
|
997
|
-
const attributeFormat = null;
|
998
|
-
const intl = {};
|
999
|
-
const result = downloadUtils._prepareAttributeValue(attributeValue, attributeType, attributeDomain, attributeFormat, intl);
|
1000
|
-
expect(result).toEqual('Value 1');
|
1001
|
-
});
|
1002
|
-
});
|
1003
|
-
});
|