@esri/solutions-components 0.8.67 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/arcgis-login.cjs.entry.js +3 -2
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/buffer-tools_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +7 -6
- package/dist/cjs/calcite-accordion.cjs.entry.js +4 -3
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -13
- package/dist/cjs/calcite-action-group.cjs.entry.js +11 -10
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert_4.cjs.entry.js +4 -4
- package/dist/cjs/calcite-block-section.cjs.entry.js +10 -9
- package/dist/cjs/calcite-block_5.cjs.entry.js +7 -7
- package/dist/cjs/calcite-button.cjs.entry.js +15 -14
- package/dist/cjs/calcite-card-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-card.cjs.entry.js +12 -11
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +3 -2
- package/dist/cjs/calcite-carousel.cjs.entry.js +12 -11
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-color-picker.cjs.entry.js +23 -23
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -5
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -7
- package/dist/cjs/calcite-flow_6.cjs.entry.js +2 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -12
- package/dist/cjs/calcite-input-number.cjs.entry.js +15 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +15 -14
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +14 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -5
- package/dist/cjs/calcite-link.cjs.entry.js +8 -7
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +5 -4
- package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -9
- package/dist/cjs/calcite-menu.cjs.entry.js +10 -9
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -9
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -18
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +5 -4
- package/dist/cjs/calcite-navigation.cjs.entry.js +6 -5
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -11
- package/dist/cjs/calcite-option-group.cjs.entry.js +3 -2
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -202
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +25 -24
- package/dist/cjs/calcite-pick-list.cjs.entry.js +12 -11
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +6 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -15
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -8
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +2 -2
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +6 -5
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +12 -11
- package/dist/cjs/calcite-stepper.cjs.entry.js +9 -8
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -10
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -7
- package/dist/cjs/calcite-table.cjs.entry.js +11 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +18 -16
- package/dist/cjs/calcite-tile-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +5 -4
- package/dist/cjs/calcite-tile-select.cjs.entry.js +6 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +11 -10
- package/dist/cjs/calcite-tip-group.cjs.entry.js +3 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +10 -16
- package/dist/cjs/calcite-tip.cjs.entry.js +11 -10
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -8
- package/dist/cjs/card-manager_3.cjs.entry.js +3 -3
- package/dist/cjs/consent-manager.cjs.entry.js +7 -350
- package/dist/cjs/crowdsource-manager.cjs.entry.js +9 -9
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +9 -10
- package/dist/cjs/deduct-calculator.cjs.entry.js +3 -2
- package/dist/cjs/{downloadUtils-737851e4.js → downloadUtils-69c90822.js} +2 -2
- package/dist/cjs/feature-comments.cjs.entry.js +3 -2
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/feature-list.cjs.entry.js +12 -12
- package/dist/cjs/features-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/{helpers-758e7ae8.js → helpers-3cad996e.js} +1 -1
- package/dist/cjs/index.cjs.js +0 -15
- package/dist/cjs/{index.es-c00eb740.js → index.es-3bcb5f03.js} +3 -3
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +6 -5
- package/dist/cjs/instant-apps-create.cjs.entry.js +9 -8
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +9 -8
- package/dist/cjs/instant-apps-export.cjs.entry.js +9 -8
- package/dist/cjs/instant-apps-header.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +28 -33
- 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 +8 -8
- 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 +10 -10
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +3 -2
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +11 -10
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +11 -10
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-popover.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +3 -2
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-splash.cjs.entry.js +8 -7
- package/dist/cjs/{languageSwitcher-f0bb94fa.js → languageSwitcher-dc2dd354.js} +1 -1
- package/dist/cjs/{languageUtil-f22ce913.js → languageUtil-a3e1eafd.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +6 -6
- package/dist/cjs/list-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/{loadModules-0a42affb.js → loadModules-8567855e.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-d3582284.js → locale-1d07e942.js} +2 -2
- package/dist/cjs/{locale-6c657db5.js → locale-33a0038a.js} +1 -1
- package/dist/cjs/location-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
- package/dist/cjs/pci-calculator.cjs.entry.js +3 -2
- package/dist/cjs/{popupUtils-92b936a2.js → popupUtils-51b6c78d.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +13 -13
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/share-item.cjs.entry.js +3 -2
- package/dist/cjs/solution-configuration.cjs.entry.js +1108 -23
- package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
- package/dist/cjs/solution-item-icon.cjs.entry.js +3 -2
- package/dist/cjs/solutions-components.cjs.js +5 -32
- package/dist/cjs/spatial-ref.cjs.entry.js +8 -8
- package/dist/cjs/store-manager.cjs.entry.js +7 -6
- package/dist/cjs/{utils-057900e0.js → utils-8d9c798c.js} +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -1
- package/dist/components/ExpandToggle.js +8 -8
- package/dist/components/_commonjsHelpers.js +0 -23
- package/dist/components/action-bar.js +5 -4
- package/dist/components/action-group.js +4 -3
- package/dist/components/action-menu.js +3 -2
- package/dist/components/action-pad.js +3 -2
- package/dist/components/action.js +3 -2
- package/dist/components/alert.js +4 -3
- package/dist/components/arcgis-login.js +3 -2
- package/dist/components/avatar.js +3 -2
- package/dist/components/basemap-gallery2.js +3 -2
- package/dist/components/block.js +3 -2
- package/dist/components/buffer-tools2.js +3 -2
- package/dist/components/button.js +3 -2
- package/dist/components/calcite-accordion-item.js +3 -2
- package/dist/components/calcite-accordion.js +3 -2
- package/dist/components/calcite-block-section.js +3 -2
- package/dist/components/calcite-card-group.js +3 -2
- package/dist/components/calcite-card.js +3 -2
- package/dist/components/calcite-carousel-item.js +3 -2
- package/dist/components/calcite-carousel.js +3 -2
- package/dist/components/calcite-chip-group.js +3 -2
- package/dist/components/calcite-color-picker.js +20 -19
- package/dist/components/calcite-combobox-item-group.js +3 -2
- package/dist/components/calcite-fab.js +3 -2
- package/dist/components/calcite-inline-editable.js +3 -2
- package/dist/components/calcite-input-time-picker.js +4 -7
- package/dist/components/calcite-input-time-zone.js +4 -3
- package/dist/components/calcite-list-item-group.js +3 -2
- package/dist/components/calcite-menu-item.js +3 -2
- package/dist/components/calcite-meter.js +3 -2
- package/dist/components/calcite-navigation-logo.js +3 -2
- package/dist/components/calcite-navigation.js +3 -2
- package/dist/components/calcite-option-group.js +3 -2
- package/dist/components/calcite-pick-list-group.js +5 -4
- package/dist/components/calcite-pick-list.js +3 -2
- package/dist/components/calcite-radio-button-group.js +3 -2
- package/dist/components/calcite-rating.js +3 -4
- package/dist/components/calcite-sheet.js +3 -2
- package/dist/components/calcite-shell-center-row.js +3 -2
- package/dist/components/calcite-sortable-list.js +3 -2
- package/dist/components/calcite-split-button.js +3 -2
- package/dist/components/calcite-stepper-item.js +3 -2
- package/dist/components/calcite-stepper.js +3 -2
- package/dist/components/calcite-table-row.js +3 -2
- package/dist/components/calcite-table.js +3 -2
- package/dist/components/calcite-text-area.js +4 -3
- package/dist/components/calcite-tile-group.js +3 -2
- package/dist/components/calcite-tile-select-group.js +3 -2
- package/dist/components/calcite-tile-select.js +3 -2
- package/dist/components/calcite-tile.js +3 -2
- package/dist/components/calcite-tip-group.js +3 -2
- package/dist/components/calcite-tip-manager.js +3 -9
- package/dist/components/calcite-tip.js +4 -3
- package/dist/components/card-manager2.js +3 -2
- package/dist/components/checkbox.js +3 -2
- package/dist/components/chip.js +3 -2
- package/dist/components/color-picker-hex-input.js +12 -11
- package/dist/components/color-picker-swatch.js +6 -5
- package/dist/components/combobox-item.js +3 -2
- package/dist/components/combobox.js +5 -4
- package/dist/components/consent-manager.js +4 -346
- package/dist/components/core.js +0 -309
- package/dist/components/create-feature2.js +3 -2
- package/dist/components/create-related-feature2.js +3 -2
- package/dist/components/crowdsource-manager.js +6 -3
- package/dist/components/crowdsource-reporter.js +3 -2
- package/dist/components/date-picker-day.js +3 -2
- package/dist/components/date-picker-month-header.js +3 -2
- package/dist/components/date-picker-month.js +3 -2
- package/dist/components/date-picker.js +3 -2
- package/dist/components/deduct-calculator2.js +3 -2
- package/dist/components/delete-button2.js +3 -2
- package/dist/components/dom.js +0 -27
- package/dist/components/downloadUtils.js +96 -1176
- package/dist/components/dropdown-group.js +3 -2
- package/dist/components/dropdown-item.js +3 -2
- package/dist/components/dropdown.js +3 -2
- package/dist/components/edit-card2.js +3 -2
- package/dist/components/esri-loader.js +6 -11
- package/dist/components/feature-comments.js +3 -2
- package/dist/components/feature-details2.js +3 -2
- package/dist/components/feature-form-flow-item.js +3 -2
- package/dist/components/feature-list2.js +3 -2
- package/dist/components/features-flow-item.js +3 -2
- package/dist/components/filter.js +730 -1
- package/dist/components/filter2.js +4 -3
- package/dist/components/floating-ui.js +13 -89
- package/dist/components/floor-filter2.js +3 -2
- package/dist/components/flow-item.js +4 -3
- package/dist/components/flow.js +3 -2
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +3 -2
- package/dist/components/handle.js +3 -2
- package/dist/components/helpers.js +2 -6
- package/dist/components/html2canvas.js +4 -9
- package/dist/components/icon.js +3 -2
- package/dist/components/index.es.js +79 -441
- package/dist/components/index.js +0 -16
- package/dist/components/index2.js +9 -17
- package/dist/components/index3.js +1863 -41457
- package/dist/components/index4.js +162 -2068
- package/dist/components/index5.js +184 -179
- package/dist/components/index6.js +55 -188
- package/dist/components/info-card2.js +3 -2
- package/dist/components/input-date-picker.js +4 -3
- package/dist/components/input-message.js +3 -2
- package/dist/components/input-number.js +3 -2
- package/dist/components/input-text.js +3 -2
- package/dist/components/input.js +3 -2
- package/dist/components/instant-apps-ckeditor-wrapper2.js +3 -2
- package/dist/components/instant-apps-control-panel.js +3 -2
- package/dist/components/instant-apps-create.js +3 -2
- package/dist/components/instant-apps-export-views.js +3 -2
- package/dist/components/instant-apps-export.js +3 -2
- package/dist/components/instant-apps-filter-list2.js +6 -6
- package/dist/components/instant-apps-header2.js +4 -3
- package/dist/components/instant-apps-interactive-legend-classic2.js +13 -17
- package/dist/components/instant-apps-interactive-legend-count2.js +4 -3
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +3 -2
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +3 -2
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +3 -2
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +3 -2
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +4 -3
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +3 -2
- package/dist/components/instant-apps-interactive-legend-relationship2.js +3 -2
- package/dist/components/instant-apps-interactive-legend.js +3 -2
- package/dist/components/instant-apps-keyboard-shortcuts.js +3 -2
- package/dist/components/instant-apps-landing-page.js +3 -2
- package/dist/components/instant-apps-language-switcher.js +4 -3
- package/dist/components/instant-apps-language-translator-item2.js +3 -2
- package/dist/components/instant-apps-language-translator-search2.js +3 -2
- package/dist/components/instant-apps-language-translator2.js +3 -2
- package/dist/components/instant-apps-measurement-tool2.js +3 -2
- package/dist/components/instant-apps-measurement.js +3 -2
- package/dist/components/instant-apps-popover.js +3 -2
- package/dist/components/instant-apps-popovers.js +3 -2
- package/dist/components/instant-apps-scoreboard.js +3 -2
- package/dist/components/instant-apps-sign-in2.js +3 -2
- package/dist/components/instant-apps-social-share2.js +3 -2
- package/dist/components/instant-apps-splash.js +4 -3
- package/dist/components/json-editor2.js +3 -2
- package/dist/components/key.js +0 -28
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +3 -2
- package/dist/components/languageUtil.js +1 -22
- package/dist/components/layer-list2.js +3 -2
- package/dist/components/layer-table2.js +3 -2
- package/dist/components/layout-manager.js +3 -2
- package/dist/components/link.js +3 -2
- package/dist/components/list-flow-item.js +3 -2
- package/dist/components/list-item.js +3 -2
- package/dist/components/list.js +5 -4
- package/dist/components/loader.js +3 -2
- package/dist/components/locale.js +0 -12
- package/dist/components/locale2.js +1 -2
- package/dist/components/location-flow-item.js +3 -2
- package/dist/components/map-card2.js +3 -2
- package/dist/components/map-draw-tools2.js +3 -2
- package/dist/components/map-fullscreen2.js +3 -2
- package/dist/components/map-layer-picker2.js +3 -2
- package/dist/components/map-legend2.js +3 -2
- package/dist/components/map-picker2.js +3 -2
- package/dist/components/map-search2.js +3 -2
- package/dist/components/map-select-tools2.js +3 -2
- package/dist/components/map-tools2.js +3 -4
- package/dist/components/menu.js +3 -2
- package/dist/components/modal.js +3 -8
- package/dist/components/mode.js +0 -8
- package/dist/components/navigation-user.js +3 -2
- package/dist/components/notice.js +3 -2
- package/dist/components/openCloseComponent.js +0 -48
- package/dist/components/option.js +3 -2
- package/dist/components/pagination.js +3 -195
- package/dist/components/panel.js +4 -4
- package/dist/components/pci-calculator.js +4 -3
- package/dist/components/pdf-download2.js +3 -2
- package/dist/components/pick-list-item.js +3 -2
- package/dist/components/popover.js +3 -2
- package/dist/components/progress.js +3 -2
- package/dist/components/public-notification.js +3 -2
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/purify.js +3 -6
- package/dist/components/queryUtils.js +0 -59
- package/dist/components/radio-button.js +3 -2
- package/dist/components/refine-results-flow-item.js +3 -2
- package/dist/components/refine-selection2.js +3 -2
- package/dist/components/resources.js +0 -17
- package/dist/components/resources5.js +0 -3
- package/dist/components/scrim.js +3 -2
- package/dist/components/segmented-control-item.js +3 -2
- package/dist/components/segmented-control.js +3 -2
- package/dist/components/select.js +3 -2
- package/dist/components/share-item.js +3 -2
- package/dist/components/shared-list-render.js +1 -6
- package/dist/components/shell-panel.js +3 -2
- package/dist/components/shell.js +3 -2
- package/dist/components/slider.js +3 -2
- package/dist/components/solution-configuration.js +1090 -3
- package/dist/components/solution-contents2.js +3 -2
- package/dist/components/solution-item-details2.js +3 -2
- package/dist/components/solution-item-icon2.js +3 -2
- package/dist/components/solution-item-sharing2.js +3 -2
- package/dist/components/solution-item2.js +3 -2
- package/dist/components/solution-organization-variables2.js +3 -2
- package/dist/components/solution-resource-item2.js +5 -3
- package/dist/components/solution-spatial-ref2.js +4 -3
- package/dist/components/solution-store.js +767 -2
- package/dist/components/solution-template-data2.js +3 -2
- package/dist/components/solution-variables2.js +3 -2
- package/dist/components/sortableComponent.js +0 -701
- package/dist/components/spatial-ref2.js +6 -264
- package/dist/components/stack.js +3 -2
- package/dist/components/store-manager.js +1 -1
- package/dist/components/store.js +1 -2
- package/dist/components/switch.js +3 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +3 -2
- package/dist/components/tab-title.js +3 -2
- package/dist/components/tab.js +3 -2
- package/dist/components/table-cell.js +3 -2
- package/dist/components/table-header.js +3 -2
- package/dist/components/tabs.js +3 -2
- package/dist/components/templates.js +3 -44
- package/dist/components/time-picker.js +4 -3
- package/dist/components/tooltip.js +3 -2
- package/dist/components/tree-item.js +3 -2
- package/dist/components/tree.js +3 -2
- package/dist/components/utils.js +1 -6
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils4.js +1 -13
- package/dist/components/value-list-item.js +4 -3
- package/dist/components/value-list.js +3 -5
- package/dist/esm/arcgis-login.entry.js +3 -2
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/buffer-tools_3.entry.js +2 -2
- package/dist/esm/calcite-accordion-item.entry.js +7 -6
- package/dist/esm/calcite-accordion.entry.js +4 -3
- package/dist/esm/calcite-action-bar.entry.js +13 -12
- package/dist/esm/calcite-action-group.entry.js +14 -13
- package/dist/esm/calcite-action-pad_2.entry.js +2 -2
- package/dist/esm/calcite-alert_4.entry.js +4 -4
- package/dist/esm/calcite-block-section.entry.js +10 -9
- package/dist/esm/calcite-block_5.entry.js +7 -7
- package/dist/esm/calcite-button.entry.js +15 -14
- package/dist/esm/calcite-card-group.entry.js +8 -7
- package/dist/esm/calcite-card.entry.js +12 -11
- package/dist/esm/calcite-carousel-item.entry.js +3 -2
- package/dist/esm/calcite-carousel.entry.js +12 -11
- package/dist/esm/calcite-checkbox.entry.js +11 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -7
- package/dist/esm/calcite-color-picker.entry.js +29 -29
- package/dist/esm/calcite-combobox-item-group.entry.js +6 -5
- package/dist/esm/calcite-dropdown-group_2.entry.js +2 -2
- package/dist/esm/calcite-fab.entry.js +8 -7
- package/dist/esm/calcite-flow_6.entry.js +2 -2
- package/dist/esm/calcite-icon.entry.js +7 -6
- package/dist/esm/calcite-inline-editable.entry.js +13 -12
- package/dist/esm/calcite-input-number.entry.js +15 -14
- package/dist/esm/calcite-input-text.entry.js +15 -14
- package/dist/esm/calcite-input-time-picker.entry.js +17 -17
- package/dist/esm/calcite-input-time-zone.entry.js +14 -13
- package/dist/esm/calcite-label.entry.js +6 -5
- package/dist/esm/calcite-link.entry.js +8 -7
- package/dist/esm/calcite-list-item-group.entry.js +5 -4
- package/dist/esm/calcite-menu-item.entry.js +10 -9
- package/dist/esm/calcite-menu.entry.js +10 -9
- package/dist/esm/calcite-meter.entry.js +10 -9
- package/dist/esm/calcite-modal.entry.js +13 -18
- package/dist/esm/calcite-navigation-logo.entry.js +5 -4
- package/dist/esm/calcite-navigation.entry.js +6 -5
- package/dist/esm/calcite-notice.entry.js +12 -11
- package/dist/esm/calcite-option-group.entry.js +3 -2
- package/dist/esm/calcite-pagination.entry.js +10 -202
- package/dist/esm/calcite-pick-list-group.entry.js +8 -7
- package/dist/esm/calcite-pick-list-item.entry.js +15 -14
- package/dist/esm/calcite-pick-list.entry.js +12 -11
- package/dist/esm/calcite-radio-button-group.entry.js +6 -5
- package/dist/esm/calcite-radio-button.entry.js +10 -9
- package/dist/esm/calcite-rating.entry.js +14 -15
- package/dist/esm/calcite-sheet.entry.js +9 -8
- package/dist/esm/calcite-shell-center-row.entry.js +7 -6
- package/dist/esm/calcite-shell-panel_14.entry.js +2 -2
- package/dist/esm/calcite-sortable-list.entry.js +9 -8
- package/dist/esm/calcite-split-button.entry.js +6 -5
- package/dist/esm/calcite-stepper-item.entry.js +12 -11
- package/dist/esm/calcite-stepper.entry.js +9 -8
- package/dist/esm/calcite-switch.entry.js +11 -10
- package/dist/esm/calcite-table-row.entry.js +8 -7
- package/dist/esm/calcite-table.entry.js +11 -10
- package/dist/esm/calcite-text-area.entry.js +17 -15
- package/dist/esm/calcite-tile-group.entry.js +8 -7
- package/dist/esm/calcite-tile-select-group.entry.js +5 -4
- package/dist/esm/calcite-tile-select.entry.js +6 -5
- package/dist/esm/calcite-tile.entry.js +8 -7
- package/dist/esm/calcite-time-picker.entry.js +11 -10
- package/dist/esm/calcite-tip-group.entry.js +3 -2
- package/dist/esm/calcite-tip-manager.entry.js +10 -16
- package/dist/esm/calcite-tip.entry.js +11 -10
- package/dist/esm/calcite-tooltip.entry.js +9 -8
- package/dist/esm/card-manager_3.entry.js +3 -3
- package/dist/esm/consent-manager.entry.js +7 -350
- package/dist/esm/crowdsource-manager.entry.js +9 -9
- package/dist/esm/crowdsource-reporter.entry.js +7 -8
- package/dist/esm/deduct-calculator.entry.js +3 -2
- package/dist/esm/{downloadUtils-78367e33.js → downloadUtils-65947034.js} +2 -2
- package/dist/esm/feature-comments.entry.js +3 -2
- package/dist/esm/feature-form-flow-item.entry.js +3 -2
- package/dist/esm/feature-list.entry.js +11 -11
- package/dist/esm/features-flow-item.entry.js +3 -2
- package/dist/esm/{helpers-d661d198.js → helpers-ca6fa5a6.js} +1 -1
- package/dist/esm/{index.es-2b549b56.js → index.es-8311d3b3.js} +3 -3
- package/dist/esm/index.js +0 -15
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
- package/dist/esm/instant-apps-control-panel.entry.js +6 -5
- package/dist/esm/instant-apps-create.entry.js +9 -8
- package/dist/esm/instant-apps-export-views.entry.js +9 -8
- package/dist/esm/instant-apps-export.entry.js +9 -8
- package/dist/esm/instant-apps-header.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +16 -21
- 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 +8 -8
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +10 -10
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +8 -7
- package/dist/esm/instant-apps-landing-page.entry.js +3 -2
- package/dist/esm/instant-apps-language-switcher.entry.js +11 -10
- package/dist/esm/instant-apps-language-translator.entry.js +11 -10
- package/dist/esm/instant-apps-measurement.entry.js +8 -7
- package/dist/esm/instant-apps-popover.entry.js +8 -7
- package/dist/esm/instant-apps-popovers.entry.js +3 -2
- package/dist/esm/instant-apps-scoreboard.entry.js +8 -7
- package/dist/esm/instant-apps-sign-in.entry.js +8 -7
- package/dist/esm/instant-apps-splash.entry.js +8 -7
- package/dist/{solutions-components/languageSwitcher-35db9d61.js → esm/languageSwitcher-9db90f1e.js} +1 -1
- package/dist/esm/{languageUtil-a3e6adf6.js → languageUtil-2b6e191a.js} +1 -1
- package/dist/esm/layout-manager.entry.js +6 -6
- package/dist/esm/list-flow-item.entry.js +3 -2
- package/dist/{solutions-components/loadModules-4d6cf31f.js → esm/loadModules-03ba7abe.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-4dc2b896.js → locale-7becb9cd.js} +1 -1
- package/dist/esm/{locale-b4e7d56f.js → locale-d66155ee.js} +2 -2
- package/dist/esm/location-flow-item.entry.js +3 -2
- package/dist/esm/map-select-tools_3.entry.js +3 -3
- package/dist/esm/pci-calculator.entry.js +3 -2
- package/dist/esm/{popupUtils-600a3c69.js → popupUtils-7b7851ca.js} +2 -2
- package/dist/esm/public-notification.entry.js +12 -12
- package/dist/esm/refine-results-flow-item.entry.js +3 -2
- package/dist/esm/share-item.entry.js +3 -2
- package/dist/esm/solution-configuration.entry.js +1096 -11
- package/dist/esm/solution-contents_3.entry.js +2 -2
- package/dist/esm/solution-item-icon.entry.js +3 -2
- package/dist/esm/solutions-components.js +6 -33
- package/dist/esm/spatial-ref.entry.js +8 -8
- package/dist/esm/store-manager.entry.js +7 -6
- package/dist/esm/{utils-5ac53499.js → utils-8519a5f7.js} +1 -1
- package/dist/solutions-components/index.esm.js +0 -15
- package/dist/solutions-components/p-01ac1582.entry.js +6 -0
- package/dist/solutions-components/{p-c20f6a4b.entry.js → p-0fce578a.entry.js} +1 -1
- package/dist/solutions-components/{p-4cb18849.entry.js → p-16aa396b.entry.js} +1 -1
- package/dist/solutions-components/{p-58aca46f.entry.js → p-1977a2f2.entry.js} +1 -1
- package/dist/solutions-components/{p-da89f8f3.entry.js → p-1a137b52.entry.js} +1 -1
- package/dist/solutions-components/{p-427b4593.js → p-1c64264d.js} +1 -1
- package/dist/solutions-components/{p-702a8e9c.entry.js → p-250c058f.entry.js} +1 -1
- package/dist/solutions-components/{p-4dc6dcc4.entry.js → p-258356f9.entry.js} +1 -1
- package/dist/solutions-components/{p-36eaeb25.entry.js → p-266b0f36.entry.js} +1 -1
- package/dist/solutions-components/{p-274f2c44.entry.js → p-268484ad.entry.js} +1 -1
- package/dist/solutions-components/{p-4b6b0bcf.entry.js → p-28361110.entry.js} +1 -1
- package/dist/solutions-components/{p-c742acd9.js → p-2fc63144.js} +1 -1
- package/dist/solutions-components/{p-4b740dbc.entry.js → p-38283c63.entry.js} +1 -1
- package/dist/solutions-components/{p-66a59698.entry.js → p-461a5633.entry.js} +1 -1
- package/dist/solutions-components/{p-ab24cecd.entry.js → p-46264ced.entry.js} +1 -1
- package/dist/solutions-components/{p-65581d83.js → p-4cd4cb85.js} +1 -1
- package/dist/solutions-components/{p-37481a7e.js → p-4facfedc.js} +1 -1
- package/dist/solutions-components/{p-88ebb067.js → p-596d1177.js} +1 -1
- package/dist/solutions-components/{p-d7aa16de.entry.js → p-5f636f70.entry.js} +1 -1
- package/dist/solutions-components/{p-6011f232.entry.js → p-6c7aa9b7.entry.js} +1 -1
- package/dist/solutions-components/{p-6c822b5a.entry.js → p-71131fea.entry.js} +1 -1
- package/dist/solutions-components/{p-09ea5380.entry.js → p-7348871e.entry.js} +1 -1
- package/dist/solutions-components/{p-4fb8dbdb.entry.js → p-736dee44.entry.js} +1 -1
- package/dist/solutions-components/{p-f1e44c41.js → p-75d5dfad.js} +2 -2
- package/dist/solutions-components/{p-cebae8b0.entry.js → p-77d55329.entry.js} +1 -1
- package/dist/solutions-components/{p-0b2a84bd.entry.js → p-89333ced.entry.js} +1 -1
- package/dist/solutions-components/{p-72268284.entry.js → p-8c1f9b20.entry.js} +1 -1
- package/dist/solutions-components/{p-9946b88e.entry.js → p-8db0af91.entry.js} +1 -1
- package/dist/solutions-components/{p-0424696b.entry.js → p-8ebe19ed.entry.js} +1 -1
- package/dist/solutions-components/{p-f2832661.entry.js → p-90d3eeb2.entry.js} +1 -1
- package/dist/solutions-components/{p-1b67b3e2.entry.js → p-9238c1ed.entry.js} +1 -1
- package/dist/solutions-components/{p-19f6ceaf.entry.js → p-93d98ebb.entry.js} +1 -1
- package/dist/solutions-components/{p-c9c97215.entry.js → p-957d275c.entry.js} +1 -1
- package/dist/solutions-components/{p-36ca2014.entry.js → p-9e1c97b0.entry.js} +1 -1
- package/dist/solutions-components/{p-30df83ea.js → p-9f2a0621.js} +1 -1
- package/dist/solutions-components/{p-cd56bd9d.entry.js → p-a26763d2.entry.js} +1 -1
- package/dist/solutions-components/{p-4ffe4d32.entry.js → p-a80c076e.entry.js} +1 -1
- package/dist/solutions-components/{p-67e06dfc.js → p-a84590db.js} +1 -1
- package/dist/solutions-components/{p-3e84a420.entry.js → p-ab2adcaf.entry.js} +1 -1
- package/dist/solutions-components/{p-af2c8aa9.js → p-ac122d9e.js} +1 -1
- package/dist/solutions-components/{p-73c535f7.entry.js → p-b2846de4.entry.js} +2 -2
- package/dist/solutions-components/{p-6be3c158.entry.js → p-b323bb0e.entry.js} +1 -1
- package/dist/solutions-components/{p-24f7ec82.entry.js → p-b65d5c58.entry.js} +1 -1
- package/dist/solutions-components/{p-296174a0.entry.js → p-c3d61142.entry.js} +1 -1
- package/dist/solutions-components/{p-60b4309f.entry.js → p-ce1b52e7.entry.js} +1 -1
- package/dist/solutions-components/{p-f90f7437.js → p-d36fae45.js} +1 -1
- package/dist/solutions-components/{p-69fb3157.entry.js → p-e1dbe7cf.entry.js} +1 -1
- package/dist/solutions-components/{p-2b430d5f.entry.js → p-edead891.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.css +1 -84
- package/dist/solutions-components/solutions-components.esm.js +1 -48
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +11 -11
- package/dist/cjs/ExpandToggle-4bf8ab4c.js +0 -118
- package/dist/cjs/FloatingArrow-0900fae3.js +0 -50
- package/dist/cjs/Heading-6f44a694.js +0 -25
- package/dist/cjs/InitiativeUiSchemaEdit-108652db.js +0 -28
- package/dist/cjs/ProjectUiSchemaCreate-c1cbccc7.js +0 -126
- package/dist/cjs/ProjectUiSchemaEdit-d5f11c17.js +0 -178
- package/dist/cjs/Validation-080a7842.js +0 -20
- package/dist/cjs/_commonjsHelpers-2dd87068.js +0 -43
- package/dist/cjs/app-globals-24367c32.js +0 -69
- package/dist/cjs/ar-a6ccf8f4.js +0 -105
- package/dist/cjs/basemap-gallery.cjs.entry.js +0 -121
- package/dist/cjs/bg-e6b1b515.js +0 -83
- package/dist/cjs/browser-1bf2a3d9.js +0 -28
- package/dist/cjs/bs-4151b94c.js +0 -52
- package/dist/cjs/buffer-tools.cjs.entry.js +0 -257
- package/dist/cjs/ca-1744d62a.js +0 -72
- package/dist/cjs/calcite-action-menu.cjs.entry.js +0 -292
- package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -169
- package/dist/cjs/calcite-action.cjs.entry.js +0 -191
- package/dist/cjs/calcite-alert.cjs.entry.js +0 -322
- package/dist/cjs/calcite-avatar.cjs.entry.js +0 -150
- package/dist/cjs/calcite-block.cjs.entry.js +0 -214
- package/dist/cjs/calcite-chip.cjs.entry.js +0 -282
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +0 -274
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +0 -99
- package/dist/cjs/calcite-combobox-item.cjs.entry.js +0 -145
- package/dist/cjs/calcite-combobox.cjs.entry.js +0 -1141
- package/dist/cjs/calcite-date-picker-day.cjs.entry.js +0 -112
- package/dist/cjs/calcite-date-picker-month-header.cjs.entry.js +0 -207
- package/dist/cjs/calcite-date-picker-month.cjs.entry.js +0 -359
- package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -459
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -85
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -188
- package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -426
- package/dist/cjs/calcite-filter.cjs.entry.js +0 -182
- package/dist/cjs/calcite-flow-item.cjs.entry.js +0 -198
- package/dist/cjs/calcite-flow.cjs.entry.js +0 -153
- package/dist/cjs/calcite-graph.cjs.entry.js +0 -226
- package/dist/cjs/calcite-handle.cjs.entry.js +0 -206
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -757
- package/dist/cjs/calcite-input-message.cjs.entry.js +0 -69
- package/dist/cjs/calcite-input-time-picker-f8adb5d5.js +0 -1867
- package/dist/cjs/calcite-input.cjs.entry.js +0 -709
- package/dist/cjs/calcite-list-item.cjs.entry.js +0 -456
- package/dist/cjs/calcite-list.cjs.entry.js +0 -560
- package/dist/cjs/calcite-loader.cjs.entry.js +0 -80
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +0 -72
- package/dist/cjs/calcite-option.cjs.entry.js +0 -88
- package/dist/cjs/calcite-panel.cjs.entry.js +0 -270
- package/dist/cjs/calcite-popover.cjs.entry.js +0 -419
- package/dist/cjs/calcite-progress.cjs.entry.js +0 -41
- package/dist/cjs/calcite-scrim.cjs.entry.js +0 -125
- package/dist/cjs/calcite-segmented-control-item.cjs.entry.js +0 -70
- package/dist/cjs/calcite-segmented-control.cjs.entry.js +0 -258
- package/dist/cjs/calcite-select.cjs.entry.js +0 -248
- package/dist/cjs/calcite-shell-panel.cjs.entry.js +0 -414
- package/dist/cjs/calcite-shell.cjs.entry.js +0 -174
- package/dist/cjs/calcite-slider.cjs.entry.js +0 -874
- package/dist/cjs/calcite-stack.cjs.entry.js +0 -74
- package/dist/cjs/calcite-tab-nav.cjs.entry.js +0 -470
- package/dist/cjs/calcite-tab-title.cjs.entry.js +0 -291
- package/dist/cjs/calcite-tab.cjs.entry.js +0 -112
- package/dist/cjs/calcite-table-cell.cjs.entry.js +0 -166
- package/dist/cjs/calcite-table-header.cjs.entry.js +0 -183
- package/dist/cjs/calcite-tabs.cjs.entry.js +0 -178
- package/dist/cjs/calcite-tree-item.cjs.entry.js +0 -298
- package/dist/cjs/calcite-tree.cjs.entry.js +0 -315
- package/dist/cjs/calcite-value-list-item.cjs.entry.js +0 -157
- package/dist/cjs/calcite-value-list.cjs.entry.js +0 -325
- package/dist/cjs/card-manager.cjs.entry.js +0 -107
- package/dist/cjs/common-f5cf368e.js +0 -297
- package/dist/cjs/conditionalSlot-013ea8f1.js +0 -54
- package/dist/cjs/core-23721ec5.js +0 -329
- package/dist/cjs/create-feature.cjs.entry.js +0 -411
- package/dist/cjs/create-related-feature.cjs.entry.js +0 -288
- package/dist/cjs/cs-865bf9fc.js +0 -148
- package/dist/cjs/da-ec3cbd7d.js +0 -67
- package/dist/cjs/date-86802e0d.js +0 -261
- package/dist/cjs/de-at-33e63cf4.js +0 -91
- package/dist/cjs/de-ch-41c31254.js +0 -91
- package/dist/cjs/de-d2010af8.js +0 -92
- package/dist/cjs/delete-button.cjs.entry.js +0 -150
- package/dist/cjs/dom-3f868a04.js +0 -1174
- package/dist/cjs/downloadUtils-3f3ba92b.js +0 -4247
- package/dist/cjs/edit-card.cjs.entry.js +0 -228
- package/dist/cjs/el-694f3f53.js +0 -67
- package/dist/cjs/en-au-ee52aa15.js +0 -67
- package/dist/cjs/en-ca-f397253b.js +0 -66
- package/dist/cjs/en-gb-e38f2064.js +0 -70
- package/dist/cjs/es-1f31784e.js +0 -67
- package/dist/cjs/es-mx-e039dd38.js +0 -66
- package/dist/cjs/esri-loader-9b0ce1a4.js +0 -310
- package/dist/cjs/et-ab75e5bf.js +0 -93
- package/dist/cjs/feature-details.cjs.entry.js +0 -385
- package/dist/cjs/fi-ac75e6d2.js +0 -116
- package/dist/cjs/filter-bafcd70b.js +0 -48
- package/dist/cjs/floating-ui-87c9e9ed.js +0 -2377
- package/dist/cjs/floor-filter.cjs.entry.js +0 -153
- package/dist/cjs/focusTrapComponent-5195d563.js +0 -1028
- package/dist/cjs/form-067ee7bc.js +0 -381
- package/dist/cjs/fr-a10ffff6.js +0 -69
- package/dist/cjs/fr-ch-596ab83d.js +0 -67
- package/dist/cjs/he-bce2e0f6.js +0 -106
- package/dist/cjs/helpers-d91ad1d6.js +0 -864
- package/dist/cjs/hi-22d77acf.js +0 -66
- package/dist/cjs/hr-9a468bd9.js +0 -81
- package/dist/cjs/html2canvas-06585c20.js +0 -7852
- package/dist/cjs/hu-9722b179.js +0 -89
- package/dist/cjs/id-426a7d98.js +0 -67
- package/dist/cjs/index-25afe4b8.js +0 -1972
- package/dist/cjs/index-62dddc18.js +0 -3038
- package/dist/cjs/index-bf47f22d.js +0 -41718
- package/dist/cjs/index-e6154163.js +0 -201
- package/dist/cjs/index.es-bf2a62d8.js +0 -11678
- package/dist/cjs/info-card.cjs.entry.js +0 -367
- package/dist/cjs/instant-apps-ckeditor-wrapper.cjs.entry.js +0 -125
- package/dist/cjs/instant-apps-filter-list.cjs.entry.js +0 -1067
- package/dist/cjs/instant-apps-interactive-legend-count.cjs.entry.js +0 -104
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element.cjs.entry.js +0 -56
- package/dist/cjs/instant-apps-interactive-legend-layer-element-caption.cjs.entry.js +0 -55
- package/dist/cjs/instant-apps-interactive-legend-layer-element.cjs.entry.js +0 -57
- package/dist/cjs/instant-apps-interactive-legend-legend-element-caption.cjs.entry.js +0 -104
- package/dist/cjs/instant-apps-interactive-legend-legend-element.cjs.entry.js +0 -65
- package/dist/cjs/instant-apps-interactive-legend-relationship.cjs.entry.js +0 -552
- package/dist/cjs/instant-apps-language-translator-item.cjs.entry.js +0 -384
- package/dist/cjs/instant-apps-language-translator-search.cjs.entry.js +0 -105
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +0 -139
- package/dist/cjs/instant-apps-social-share.cjs.entry.js +0 -520
- package/dist/cjs/interactive-f8825052.js +0 -154
- package/dist/cjs/it-b310ed48.js +0 -67
- package/dist/cjs/it-ch-804be2a9.js +0 -67
- package/dist/cjs/ja-fd61ab26.js +0 -73
- package/dist/cjs/json-editor.cjs.entry.js +0 -406
- package/dist/cjs/key-620e0822.js +0 -47
- package/dist/cjs/ko-a799f42d.js +0 -73
- package/dist/cjs/label-f71c85c6.js +0 -186
- package/dist/cjs/languageSwitcher-8209c73c.js +0 -60
- package/dist/cjs/languageUtil-a615ee13.js +0 -90
- package/dist/cjs/layer-list.cjs.entry.js +0 -197
- package/dist/cjs/layer-table.cjs.entry.js +0 -1562
- package/dist/cjs/loadModules-36d49819.js +0 -23
- package/dist/cjs/loadModules-e03cf23a.js +0 -30
- package/dist/cjs/loadable-68a22656.js +0 -97
- package/dist/cjs/locale-708985a1.js +0 -91
- package/dist/cjs/locale-898d043a.js +0 -152
- package/dist/cjs/locale-cfa79214.js +0 -585
- package/dist/cjs/lodash-7587da9f.js +0 -18030
- package/dist/cjs/lt-0508a01d.js +0 -98
- package/dist/cjs/lv-d8f83e7a.js +0 -67
- package/dist/cjs/map-card.cjs.entry.js +0 -231
- package/dist/cjs/map-draw-tools.cjs.entry.js +0 -358
- package/dist/cjs/map-fullscreen.cjs.entry.js +0 -116
- package/dist/cjs/map-layer-picker.cjs.entry.js +0 -346
- package/dist/cjs/map-legend.cjs.entry.js +0 -109
- package/dist/cjs/map-picker.cjs.entry.js +0 -174
- package/dist/cjs/map-search.cjs.entry.js +0 -184
- package/dist/cjs/map-select-tools.cjs.entry.js +0 -798
- package/dist/cjs/map-tools.cjs.entry.js +0 -375
- package/dist/cjs/mapViewUtils-83bc7d78.js +0 -295
- package/dist/cjs/mk-475a7a99.js +0 -67
- package/dist/cjs/mode-a52277fc.js +0 -27
- package/dist/cjs/nb-92a9acc8.js +0 -68
- package/dist/cjs/nl-ea0f033c.js +0 -68
- package/dist/cjs/observers-682136dc.js +0 -58
- package/dist/cjs/openCloseComponent-2fdcb310.js +0 -140
- package/dist/cjs/parser-08a36734.js +0 -1648
- package/dist/cjs/pdf-download.cjs.entry.js +0 -359
- package/dist/cjs/pl-05a4b5a1.js +0 -115
- package/dist/cjs/popupUtils-e6a2131f.js +0 -111
- package/dist/cjs/pt-8fe24b18.js +0 -68
- package/dist/cjs/pt-br-eba3aab9.js +0 -66
- package/dist/cjs/publicNotificationStore-ce215887.js +0 -47
- package/dist/cjs/purify-d00d4598.js +0 -1719
- package/dist/cjs/queryUtils-ad516c97.js +0 -283
- package/dist/cjs/refine-selection.cjs.entry.js +0 -412
- package/dist/cjs/resources-09a78a36.js +0 -30
- package/dist/cjs/resources-13ca5745.js +0 -116
- package/dist/cjs/resources-3855f743.js +0 -53
- package/dist/cjs/resources-921affcb.js +0 -49
- package/dist/cjs/resources-c241718f.js +0 -29
- package/dist/cjs/ro-c92cb77e.js +0 -67
- package/dist/cjs/ru-273dc1dc.js +0 -127
- package/dist/cjs/shadow-css-64ff22a6.js +0 -363
- package/dist/cjs/shared-list-render-a3a4e5db.js +0 -370
- package/dist/cjs/sk-f0fb5cd7.js +0 -149
- package/dist/cjs/sl-3bc46f93.js +0 -169
- package/dist/cjs/solution-contents.cjs.entry.js +0 -84
- package/dist/cjs/solution-item-details.cjs.entry.js +0 -199
- package/dist/cjs/solution-item-sharing.cjs.entry.js +0 -139
- package/dist/cjs/solution-item.cjs.entry.js +0 -106
- package/dist/cjs/solution-organization-variables.cjs.entry.js +0 -95
- package/dist/cjs/solution-resource-item.cjs.entry.js +0 -284
- package/dist/cjs/solution-spatial-ref.cjs.entry.js +0 -168
- package/dist/cjs/solution-store-cef42401.js +0 -587
- package/dist/cjs/solution-template-data.cjs.entry.js +0 -119
- package/dist/cjs/solution-variables.cjs.entry.js +0 -107
- package/dist/cjs/sortableComponent-b1be22c5.js +0 -3444
- package/dist/cjs/sr-ae040dc3.js +0 -102
- package/dist/cjs/store-3ba88099.js +0 -91
- package/dist/cjs/sv-769838ef.js +0 -72
- package/dist/cjs/t9n-0f4446d0.js +0 -103
- package/dist/cjs/templates-19d0e370.js +0 -442
- package/dist/cjs/th-9b569ee1.js +0 -66
- package/dist/cjs/time-5eec06fe.js +0 -289
- package/dist/cjs/tr-9cc6c813.js +0 -67
- package/dist/cjs/uk-c549303a.js +0 -105
- package/dist/cjs/utils-05355ba0.js +0 -64
- package/dist/cjs/utils-3128e748.js +0 -226
- package/dist/cjs/utils-4ad2f4f2.js +0 -68
- package/dist/cjs/utils-589c9301.js +0 -142
- package/dist/cjs/utils-70b0604a.js +0 -52
- package/dist/cjs/vi-e4806300.js +0 -71
- package/dist/cjs/zh-cn-e13c7902.js +0 -95
- package/dist/cjs/zh-hk-2d4440e3.js +0 -72
- package/dist/cjs/zh-tw-d9c5da28.js +0 -93
- package/dist/components/InitiativeUiSchemaEdit.js +0 -26
- package/dist/components/ProjectUiSchemaCreate.js +0 -122
- package/dist/components/ProjectUiSchemaEdit.js +0 -176
- package/dist/components/index7.js +0 -71
- package/dist/components/lodash.js +0 -18025
- package/dist/components/parser.js +0 -1646
- package/dist/esm/ExpandToggle-cb895a2c.js +0 -110
- package/dist/esm/FloatingArrow-636ce2ee.js +0 -48
- package/dist/esm/Heading-baf4a991.js +0 -22
- package/dist/esm/InitiativeUiSchemaEdit-8ddacfe8.js +0 -26
- package/dist/esm/ProjectUiSchemaCreate-9fb110ea.js +0 -124
- package/dist/esm/ProjectUiSchemaEdit-fbfdf6e4.js +0 -176
- package/dist/esm/Validation-b3331c79.js +0 -18
- package/dist/esm/_commonjsHelpers-9cd17aec.js +0 -39
- package/dist/esm/app-globals-97f5814f.js +0 -67
- package/dist/esm/ar-6236d364.js +0 -103
- package/dist/esm/basemap-gallery.entry.js +0 -117
- package/dist/esm/bg-498492ff.js +0 -81
- package/dist/esm/browser-920df963.js +0 -26
- package/dist/esm/bs-60412b06.js +0 -50
- package/dist/esm/buffer-tools.entry.js +0 -253
- package/dist/esm/ca-7844b785.js +0 -70
- package/dist/esm/calcite-action-menu.entry.js +0 -288
- package/dist/esm/calcite-action-pad.entry.js +0 -165
- package/dist/esm/calcite-action.entry.js +0 -187
- package/dist/esm/calcite-alert.entry.js +0 -318
- package/dist/esm/calcite-avatar.entry.js +0 -146
- package/dist/esm/calcite-block.entry.js +0 -210
- package/dist/esm/calcite-chip.entry.js +0 -278
- package/dist/esm/calcite-color-picker-hex-input.entry.js +0 -270
- package/dist/esm/calcite-color-picker-swatch.entry.js +0 -95
- package/dist/esm/calcite-combobox-item.entry.js +0 -141
- package/dist/esm/calcite-combobox.entry.js +0 -1137
- package/dist/esm/calcite-date-picker-day.entry.js +0 -108
- package/dist/esm/calcite-date-picker-month-header.entry.js +0 -203
- package/dist/esm/calcite-date-picker-month.entry.js +0 -355
- package/dist/esm/calcite-date-picker.entry.js +0 -455
- package/dist/esm/calcite-dropdown-group.entry.js +0 -81
- package/dist/esm/calcite-dropdown-item.entry.js +0 -184
- package/dist/esm/calcite-dropdown.entry.js +0 -422
- package/dist/esm/calcite-filter.entry.js +0 -178
- package/dist/esm/calcite-flow-item.entry.js +0 -194
- package/dist/esm/calcite-flow.entry.js +0 -149
- package/dist/esm/calcite-graph.entry.js +0 -222
- package/dist/esm/calcite-handle.entry.js +0 -202
- package/dist/esm/calcite-input-date-picker.entry.js +0 -753
- package/dist/esm/calcite-input-message.entry.js +0 -65
- package/dist/esm/calcite-input-time-picker-c336a83c.js +0 -1864
- package/dist/esm/calcite-input.entry.js +0 -705
- package/dist/esm/calcite-list-item.entry.js +0 -452
- package/dist/esm/calcite-list.entry.js +0 -556
- package/dist/esm/calcite-loader.entry.js +0 -76
- package/dist/esm/calcite-navigation-user.entry.js +0 -68
- package/dist/esm/calcite-option.entry.js +0 -84
- package/dist/esm/calcite-panel.entry.js +0 -266
- package/dist/esm/calcite-popover.entry.js +0 -415
- package/dist/esm/calcite-progress.entry.js +0 -37
- package/dist/esm/calcite-scrim.entry.js +0 -121
- package/dist/esm/calcite-segmented-control-item.entry.js +0 -66
- package/dist/esm/calcite-segmented-control.entry.js +0 -254
- package/dist/esm/calcite-select.entry.js +0 -244
- package/dist/esm/calcite-shell-panel.entry.js +0 -410
- package/dist/esm/calcite-shell.entry.js +0 -170
- package/dist/esm/calcite-slider.entry.js +0 -870
- package/dist/esm/calcite-stack.entry.js +0 -70
- package/dist/esm/calcite-tab-nav.entry.js +0 -466
- package/dist/esm/calcite-tab-title.entry.js +0 -287
- package/dist/esm/calcite-tab.entry.js +0 -108
- package/dist/esm/calcite-table-cell.entry.js +0 -162
- package/dist/esm/calcite-table-header.entry.js +0 -179
- package/dist/esm/calcite-tabs.entry.js +0 -174
- package/dist/esm/calcite-tree-item.entry.js +0 -294
- package/dist/esm/calcite-tree.entry.js +0 -311
- package/dist/esm/calcite-value-list-item.entry.js +0 -153
- package/dist/esm/calcite-value-list.entry.js +0 -321
- package/dist/esm/card-manager.entry.js +0 -103
- package/dist/esm/common-17d5568a.js +0 -295
- package/dist/esm/conditionalSlot-937057aa.js +0 -51
- package/dist/esm/core-a0d3cc0e.js +0 -324
- package/dist/esm/create-feature.entry.js +0 -407
- package/dist/esm/create-related-feature.entry.js +0 -284
- package/dist/esm/cs-be3aa1ae.js +0 -146
- package/dist/esm/da-5a58f3f2.js +0 -65
- package/dist/esm/date-a63e8e28.js +0 -245
- package/dist/esm/de-at-780d22a4.js +0 -89
- package/dist/esm/de-ch-5cf4813a.js +0 -89
- package/dist/esm/de-d041f0a0.js +0 -90
- package/dist/esm/delete-button.entry.js +0 -146
- package/dist/esm/dom-1f06a111.js +0 -1141
- package/dist/esm/downloadUtils-238038d2.js +0 -4240
- package/dist/esm/edit-card.entry.js +0 -224
- package/dist/esm/el-7c6af41a.js +0 -65
- package/dist/esm/en-au-dd7a3ee4.js +0 -65
- package/dist/esm/en-ca-4b21b3cd.js +0 -64
- package/dist/esm/en-gb-6ab000e3.js +0 -68
- package/dist/esm/es-1fd84773.js +0 -65
- package/dist/esm/es-mx-b82367c3.js +0 -64
- package/dist/esm/esri-loader-5bf2f164.js +0 -308
- package/dist/esm/et-08a0e4a8.js +0 -91
- package/dist/esm/feature-details.entry.js +0 -381
- package/dist/esm/fi-fe995ecb.js +0 -114
- package/dist/esm/filter-e3e2b01f.js +0 -46
- package/dist/esm/floating-ui-112e26aa.js +0 -2369
- package/dist/esm/floor-filter.entry.js +0 -149
- package/dist/esm/focusTrapComponent-fb975f9c.js +0 -1023
- package/dist/esm/form-cd789357.js +0 -372
- package/dist/esm/fr-aed06af0.js +0 -67
- package/dist/esm/fr-ch-a9d10a0f.js +0 -65
- package/dist/esm/he-a0a1731e.js +0 -104
- package/dist/esm/helpers-457bbf66.js +0 -840
- package/dist/esm/hi-ae48041a.js +0 -64
- package/dist/esm/hr-2ae1f998.js +0 -79
- package/dist/esm/html2canvas-88d6eded.js +0 -7850
- package/dist/esm/hu-2615f261.js +0 -87
- package/dist/esm/id-598e1355.js +0 -65
- package/dist/esm/index-0eecd45f.js +0 -2998
- package/dist/esm/index-8b8db9ba.js +0 -1970
- package/dist/esm/index-a879e1d6.js +0 -41699
- package/dist/esm/index-b1418e2a.js +0 -199
- package/dist/esm/index.es-e2310dbf.js +0 -11591
- package/dist/esm/info-card.entry.js +0 -363
- package/dist/esm/instant-apps-ckeditor-wrapper.entry.js +0 -121
- package/dist/esm/instant-apps-filter-list.entry.js +0 -1063
- package/dist/esm/instant-apps-interactive-legend-count.entry.js +0 -100
- package/dist/esm/instant-apps-interactive-legend-group-legend-element.entry.js +0 -52
- package/dist/esm/instant-apps-interactive-legend-layer-element-caption.entry.js +0 -51
- package/dist/esm/instant-apps-interactive-legend-layer-element.entry.js +0 -53
- package/dist/esm/instant-apps-interactive-legend-legend-element-caption.entry.js +0 -100
- package/dist/esm/instant-apps-interactive-legend-legend-element.entry.js +0 -61
- package/dist/esm/instant-apps-interactive-legend-relationship.entry.js +0 -548
- package/dist/esm/instant-apps-language-translator-item.entry.js +0 -380
- package/dist/esm/instant-apps-language-translator-search.entry.js +0 -101
- package/dist/esm/instant-apps-measurement-tool.entry.js +0 -135
- package/dist/esm/instant-apps-social-share.entry.js +0 -516
- package/dist/esm/interactive-179483f5.js +0 -149
- package/dist/esm/it-56a44209.js +0 -65
- package/dist/esm/it-ch-8fd9abf4.js +0 -65
- package/dist/esm/ja-66007f4d.js +0 -71
- package/dist/esm/json-editor.entry.js +0 -402
- package/dist/esm/key-15222297.js +0 -44
- package/dist/esm/ko-2e3b9aa8.js +0 -71
- package/dist/esm/label-c34ec0cf.js +0 -179
- package/dist/esm/languageSwitcher-35db9d61.js +0 -57
- package/dist/esm/languageSwitcher-b665499d.js +0 -57
- package/dist/esm/languageUtil-83ed2742.js +0 -87
- package/dist/esm/layer-list.entry.js +0 -193
- package/dist/esm/layer-table.entry.js +0 -1558
- package/dist/esm/loadModules-18662c29.js +0 -28
- package/dist/esm/loadModules-4d6cf31f.js +0 -21
- package/dist/esm/loadModules-9c062d08.js +0 -21
- package/dist/esm/loadable-5f2ac40f.js +0 -92
- package/dist/esm/locale-1b4d548e.js +0 -572
- package/dist/esm/locale-448ea937.js +0 -148
- package/dist/esm/locale-f1dd2532.js +0 -86
- package/dist/esm/lodash-98e4b7d0.js +0 -18025
- package/dist/esm/lt-2a6a8e94.js +0 -96
- package/dist/esm/lv-8b3c01bb.js +0 -65
- package/dist/esm/map-card.entry.js +0 -227
- package/dist/esm/map-draw-tools.entry.js +0 -354
- package/dist/esm/map-fullscreen.entry.js +0 -112
- package/dist/esm/map-layer-picker.entry.js +0 -342
- package/dist/esm/map-legend.entry.js +0 -105
- package/dist/esm/map-picker.entry.js +0 -170
- package/dist/esm/map-search.entry.js +0 -180
- package/dist/esm/map-select-tools.entry.js +0 -794
- package/dist/esm/map-tools.entry.js +0 -371
- package/dist/esm/mapViewUtils-d4946a31.js +0 -284
- package/dist/esm/mk-428c21bd.js +0 -65
- package/dist/esm/mode-e7b9fabb.js +0 -25
- package/dist/esm/nb-67929ffe.js +0 -66
- package/dist/esm/nl-954b9062.js +0 -66
- package/dist/esm/observers-81ed4977.js +0 -56
- package/dist/esm/openCloseComponent-739f40b7.js +0 -138
- package/dist/esm/parser-a682fcdf.js +0 -1646
- package/dist/esm/pdf-download.entry.js +0 -355
- package/dist/esm/pl-eba736c7.js +0 -113
- package/dist/esm/popupUtils-c60ca656.js +0 -109
- package/dist/esm/pt-br-ed6f0302.js +0 -64
- package/dist/esm/pt-e6518f49.js +0 -66
- package/dist/esm/publicNotificationStore-59732134.js +0 -45
- package/dist/esm/purify-ed095e80.js +0 -1717
- package/dist/esm/queryUtils-2ee0f383.js +0 -274
- package/dist/esm/refine-selection.entry.js +0 -408
- package/dist/esm/resources-092fef68.js +0 -106
- package/dist/esm/resources-66978311.js +0 -26
- package/dist/esm/resources-be0262db.js +0 -45
- package/dist/esm/resources-be5a6557.js +0 -26
- package/dist/esm/resources-ec5198da.js +0 -49
- package/dist/esm/ro-cb3c8995.js +0 -65
- package/dist/esm/ru-dd440634.js +0 -125
- package/dist/esm/shadow-css-15628d22.js +0 -361
- package/dist/esm/shared-list-render-a787615a.js +0 -348
- package/dist/esm/sk-a8db2217.js +0 -147
- package/dist/esm/sl-f798a76e.js +0 -167
- package/dist/esm/solution-contents.entry.js +0 -80
- package/dist/esm/solution-item-details.entry.js +0 -195
- package/dist/esm/solution-item-sharing.entry.js +0 -135
- package/dist/esm/solution-item.entry.js +0 -102
- package/dist/esm/solution-organization-variables.entry.js +0 -91
- package/dist/esm/solution-resource-item.entry.js +0 -280
- package/dist/esm/solution-spatial-ref.entry.js +0 -164
- package/dist/esm/solution-store-5a6cf181.js +0 -585
- package/dist/esm/solution-template-data.entry.js +0 -115
- package/dist/esm/solution-variables.entry.js +0 -103
- package/dist/esm/sortableComponent-ee74aef6.js +0 -3440
- package/dist/esm/sr-342a663a.js +0 -100
- package/dist/esm/store-b2b2565a.js +0 -87
- package/dist/esm/sv-84670dbd.js +0 -70
- package/dist/esm/t9n-2df2d559.js +0 -98
- package/dist/esm/templates-335c6b6f.js +0 -436
- package/dist/esm/th-a9c8533d.js +0 -64
- package/dist/esm/time-d753f161.js +0 -274
- package/dist/esm/tr-c2cc2873.js +0 -65
- package/dist/esm/uk-906a1eb0.js +0 -103
- package/dist/esm/utils-2c8108af.js +0 -133
- package/dist/esm/utils-580e77c3.js +0 -208
- package/dist/esm/utils-9aa96070.js +0 -61
- package/dist/esm/utils-ab48a0d6.js +0 -47
- package/dist/esm/utils-f96adae4.js +0 -57
- package/dist/esm/vi-7b43fafd.js +0 -69
- package/dist/esm/zh-cn-c19f2858.js +0 -93
- package/dist/esm/zh-hk-f212412d.js +0 -70
- package/dist/esm/zh-tw-be3a4302.js +0 -91
- package/dist/solutions-components/ExpandToggle-cb895a2c.js +0 -110
- package/dist/solutions-components/FloatingArrow-636ce2ee.js +0 -48
- package/dist/solutions-components/Heading-baf4a991.js +0 -22
- package/dist/solutions-components/InitiativeUiSchemaEdit-8ddacfe8.js +0 -26
- package/dist/solutions-components/ProjectUiSchemaCreate-9fb110ea.js +0 -124
- package/dist/solutions-components/ProjectUiSchemaEdit-fbfdf6e4.js +0 -176
- package/dist/solutions-components/Validation-b3331c79.js +0 -18
- package/dist/solutions-components/_commonjsHelpers-9cd17aec.js +0 -39
- package/dist/solutions-components/app-globals-97f5814f.js +0 -67
- package/dist/solutions-components/ar-6236d364.js +0 -103
- package/dist/solutions-components/arcgis-login.entry.js +0 -56
- package/dist/solutions-components/array-2604a55d.js +0 -15
- package/dist/solutions-components/basemap-gallery.entry.js +0 -117
- package/dist/solutions-components/bg-498492ff.js +0 -81
- package/dist/solutions-components/breakpoints-3afa0fd9.js +0 -15
- package/dist/solutions-components/browser-920df963.js +0 -26
- package/dist/solutions-components/bs-60412b06.js +0 -50
- package/dist/solutions-components/buffer-tools.entry.js +0 -253
- package/dist/solutions-components/ca-7844b785.js +0 -70
- package/dist/solutions-components/calcite-accordion-item.entry.js +0 -176
- package/dist/solutions-components/calcite-accordion.entry.js +0 -81
- package/dist/solutions-components/calcite-action-bar.entry.js +0 -252
- package/dist/solutions-components/calcite-action-group.entry.js +0 -112
- package/dist/solutions-components/calcite-action-menu.entry.js +0 -288
- package/dist/solutions-components/calcite-action-pad.entry.js +0 -165
- package/dist/solutions-components/calcite-action.entry.js +0 -187
- package/dist/solutions-components/calcite-alert.entry.js +0 -318
- package/dist/solutions-components/calcite-avatar.entry.js +0 -146
- package/dist/solutions-components/calcite-block-section.entry.js +0 -162
- package/dist/solutions-components/calcite-block.entry.js +0 -210
- package/dist/solutions-components/calcite-button.entry.js +0 -230
- package/dist/solutions-components/calcite-card-group.entry.js +0 -164
- package/dist/solutions-components/calcite-card.entry.js +0 -227
- package/dist/solutions-components/calcite-carousel-item.entry.js +0 -41
- package/dist/solutions-components/calcite-carousel.entry.js +0 -462
- package/dist/solutions-components/calcite-checkbox.entry.js +0 -147
- package/dist/solutions-components/calcite-chip-group.entry.js +0 -197
- package/dist/solutions-components/calcite-chip.entry.js +0 -278
- package/dist/solutions-components/calcite-color-picker-hex-input.entry.js +0 -270
- package/dist/solutions-components/calcite-color-picker-swatch.entry.js +0 -95
- package/dist/solutions-components/calcite-color-picker.entry.js +0 -923
- package/dist/solutions-components/calcite-combobox-item-group.entry.js +0 -56
- package/dist/solutions-components/calcite-combobox-item.entry.js +0 -141
- package/dist/solutions-components/calcite-combobox.entry.js +0 -1137
- package/dist/solutions-components/calcite-date-picker-day.entry.js +0 -108
- package/dist/solutions-components/calcite-date-picker-month-header.entry.js +0 -203
- package/dist/solutions-components/calcite-date-picker-month.entry.js +0 -355
- package/dist/solutions-components/calcite-date-picker.entry.js +0 -455
- package/dist/solutions-components/calcite-dropdown-group.entry.js +0 -81
- package/dist/solutions-components/calcite-dropdown-item.entry.js +0 -184
- package/dist/solutions-components/calcite-dropdown.entry.js +0 -422
- package/dist/solutions-components/calcite-fab.entry.js +0 -90
- package/dist/solutions-components/calcite-filter.entry.js +0 -178
- package/dist/solutions-components/calcite-flow-item.entry.js +0 -194
- package/dist/solutions-components/calcite-flow.entry.js +0 -149
- package/dist/solutions-components/calcite-graph.entry.js +0 -222
- package/dist/solutions-components/calcite-handle.entry.js +0 -202
- package/dist/solutions-components/calcite-icon.entry.js +0 -179
- package/dist/solutions-components/calcite-inline-editable.entry.js +0 -253
- package/dist/solutions-components/calcite-input-date-picker.entry.js +0 -753
- package/dist/solutions-components/calcite-input-message.entry.js +0 -65
- package/dist/solutions-components/calcite-input-number.entry.js +0 -632
- package/dist/solutions-components/calcite-input-text.entry.js +0 -369
- package/dist/solutions-components/calcite-input-time-picker-c336a83c.js +0 -1864
- package/dist/solutions-components/calcite-input-time-picker.entry.js +0 -25
- package/dist/solutions-components/calcite-input-time-zone.entry.js +0 -373
- package/dist/solutions-components/calcite-input.entry.js +0 -705
- package/dist/solutions-components/calcite-label.entry.js +0 -67
- package/dist/solutions-components/calcite-link.entry.js +0 -108
- package/dist/solutions-components/calcite-list-item-group.entry.js +0 -66
- package/dist/solutions-components/calcite-list-item.entry.js +0 -452
- package/dist/solutions-components/calcite-list.entry.js +0 -556
- package/dist/solutions-components/calcite-loader.entry.js +0 -76
- package/dist/solutions-components/calcite-menu-item.entry.js +0 -284
- package/dist/solutions-components/calcite-menu.entry.js +0 -180
- package/dist/solutions-components/calcite-meter.entry.js +0 -332
- package/dist/solutions-components/calcite-modal.entry.js +0 -394
- package/dist/solutions-components/calcite-navigation-logo.entry.js +0 -92
- package/dist/solutions-components/calcite-navigation-user.entry.js +0 -68
- package/dist/solutions-components/calcite-navigation.entry.js +0 -166
- package/dist/solutions-components/calcite-notice.entry.js +0 -163
- package/dist/solutions-components/calcite-option-group.entry.js +0 -35
- package/dist/solutions-components/calcite-option.entry.js +0 -84
- package/dist/solutions-components/calcite-pagination.entry.js +0 -580
- package/dist/solutions-components/calcite-panel.entry.js +0 -266
- package/dist/solutions-components/calcite-pick-list-group.entry.js +0 -57
- package/dist/solutions-components/calcite-pick-list-item.entry.js +0 -193
- package/dist/solutions-components/calcite-pick-list.entry.js +0 -142
- package/dist/solutions-components/calcite-popover.entry.js +0 -415
- package/dist/solutions-components/calcite-progress.entry.js +0 -37
- package/dist/solutions-components/calcite-radio-button-group.entry.js +0 -141
- package/dist/solutions-components/calcite-radio-button.entry.js +0 -318
- package/dist/solutions-components/calcite-rating.entry.js +0 -261
- package/dist/solutions-components/calcite-scrim.entry.js +0 -121
- package/dist/solutions-components/calcite-segmented-control-item.entry.js +0 -66
- package/dist/solutions-components/calcite-segmented-control.entry.js +0 -254
- package/dist/solutions-components/calcite-select.entry.js +0 -244
- package/dist/solutions-components/calcite-sheet.entry.js +0 -223
- package/dist/solutions-components/calcite-shell-center-row.entry.js +0 -66
- package/dist/solutions-components/calcite-shell-panel.entry.js +0 -410
- package/dist/solutions-components/calcite-shell.entry.js +0 -170
- package/dist/solutions-components/calcite-slider.entry.js +0 -870
- package/dist/solutions-components/calcite-sortable-list.entry.js +0 -166
- package/dist/solutions-components/calcite-split-button.entry.js +0 -112
- package/dist/solutions-components/calcite-stack.entry.js +0 -70
- package/dist/solutions-components/calcite-stepper-item.entry.js +0 -237
- package/dist/solutions-components/calcite-stepper.entry.js +0 -336
- package/dist/solutions-components/calcite-switch.entry.js +0 -113
- package/dist/solutions-components/calcite-tab-nav.entry.js +0 -466
- package/dist/solutions-components/calcite-tab-title.entry.js +0 -287
- package/dist/solutions-components/calcite-tab.entry.js +0 -108
- package/dist/solutions-components/calcite-table-cell.entry.js +0 -162
- package/dist/solutions-components/calcite-table-header.entry.js +0 -179
- package/dist/solutions-components/calcite-table-row.entry.js +0 -259
- package/dist/solutions-components/calcite-table.entry.js +0 -323
- package/dist/solutions-components/calcite-tabs.entry.js +0 -174
- package/dist/solutions-components/calcite-text-area.entry.js +0 -302
- package/dist/solutions-components/calcite-tile-group.entry.js +0 -170
- package/dist/solutions-components/calcite-tile-select-group.entry.js +0 -39
- package/dist/solutions-components/calcite-tile-select.entry.js +0 -225
- package/dist/solutions-components/calcite-tile.entry.js +0 -197
- package/dist/solutions-components/calcite-time-picker.entry.js +0 -839
- package/dist/solutions-components/calcite-tip-group.entry.js +0 -21
- package/dist/solutions-components/calcite-tip-manager.entry.js +0 -227
- package/dist/solutions-components/calcite-tip.entry.js +0 -126
- package/dist/solutions-components/calcite-tooltip.entry.js +0 -431
- package/dist/solutions-components/calcite-tree-item.entry.js +0 -294
- package/dist/solutions-components/calcite-tree.entry.js +0 -311
- package/dist/solutions-components/calcite-value-list-item.entry.js +0 -153
- package/dist/solutions-components/calcite-value-list.entry.js +0 -321
- package/dist/solutions-components/card-manager.entry.js +0 -103
- package/dist/solutions-components/common-17d5568a.js +0 -295
- package/dist/solutions-components/component-960ddabf.js +0 -30
- package/dist/solutions-components/conditionalSlot-937057aa.js +0 -51
- package/dist/solutions-components/consent-manager.entry.js +0 -1099
- package/dist/solutions-components/core-a0d3cc0e.js +0 -324
- package/dist/solutions-components/create-feature.entry.js +0 -407
- package/dist/solutions-components/create-related-feature.entry.js +0 -284
- package/dist/solutions-components/crowdsource-manager.entry.js +0 -539
- package/dist/solutions-components/crowdsource-reporter.entry.js +0 -913
- package/dist/solutions-components/cs-be3aa1ae.js +0 -146
- package/dist/solutions-components/da-5a58f3f2.js +0 -65
- package/dist/solutions-components/date-a63e8e28.js +0 -245
- package/dist/solutions-components/de-at-780d22a4.js +0 -89
- package/dist/solutions-components/de-ch-5cf4813a.js +0 -89
- package/dist/solutions-components/de-d041f0a0.js +0 -90
- package/dist/solutions-components/deduct-calculator.entry.js +0 -101
- package/dist/solutions-components/delete-button.entry.js +0 -146
- package/dist/solutions-components/dom-1f06a111.js +0 -1141
- package/dist/solutions-components/downloadUtils-238038d2.js +0 -4240
- package/dist/solutions-components/edit-card.entry.js +0 -224
- package/dist/solutions-components/el-7c6af41a.js +0 -65
- package/dist/solutions-components/en-au-dd7a3ee4.js +0 -65
- package/dist/solutions-components/en-ca-4b21b3cd.js +0 -64
- package/dist/solutions-components/en-gb-6ab000e3.js +0 -68
- package/dist/solutions-components/es-1fd84773.js +0 -65
- package/dist/solutions-components/es-mx-b82367c3.js +0 -64
- package/dist/solutions-components/esri-loader-5bf2f164.js +0 -308
- package/dist/solutions-components/et-08a0e4a8.js +0 -91
- package/dist/solutions-components/feature-comments.entry.js +0 -56
- package/dist/solutions-components/feature-details.entry.js +0 -381
- package/dist/solutions-components/feature-form-flow-item.entry.js +0 -56
- package/dist/solutions-components/feature-list.entry.js +0 -301
- package/dist/solutions-components/features-flow-item.entry.js +0 -56
- package/dist/solutions-components/fi-fe995ecb.js +0 -114
- package/dist/solutions-components/filter-e3e2b01f.js +0 -46
- package/dist/solutions-components/floating-ui-112e26aa.js +0 -2369
- package/dist/solutions-components/floor-filter.entry.js +0 -149
- package/dist/solutions-components/focusTrapComponent-fb975f9c.js +0 -1023
- package/dist/solutions-components/form-cd789357.js +0 -372
- package/dist/solutions-components/fr-aed06af0.js +0 -67
- package/dist/solutions-components/fr-ch-a9d10a0f.js +0 -65
- package/dist/solutions-components/guid-f05d01d5.js +0 -24
- package/dist/solutions-components/he-a0a1731e.js +0 -104
- package/dist/solutions-components/helpers-457bbf66.js +0 -840
- package/dist/solutions-components/hi-ae48041a.js +0 -64
- package/dist/solutions-components/hr-2ae1f998.js +0 -79
- package/dist/solutions-components/html2canvas-88d6eded.js +0 -7850
- package/dist/solutions-components/hu-2615f261.js +0 -87
- package/dist/solutions-components/id-598e1355.js +0 -65
- package/dist/solutions-components/index-0eecd45f.js +0 -2998
- package/dist/solutions-components/index-5110a27a.js +0 -71
- package/dist/solutions-components/index-8b8db9ba.js +0 -1970
- package/dist/solutions-components/index-a1e91462.js +0 -2105
- package/dist/solutions-components/index-a879e1d6.js +0 -41699
- package/dist/solutions-components/index-b1418e2a.js +0 -199
- package/dist/solutions-components/index-d8ff08ed.js +0 -204
- package/dist/solutions-components/index.es-e2310dbf.js +0 -11591
- package/dist/solutions-components/info-card.entry.js +0 -363
- package/dist/solutions-components/input-96cf61a2.js +0 -58
- package/dist/solutions-components/instant-apps-ckeditor-wrapper.entry.js +0 -121
- package/dist/solutions-components/instant-apps-control-panel.entry.js +0 -92
- package/dist/solutions-components/instant-apps-create.entry.js +0 -264
- package/dist/solutions-components/instant-apps-export-views.entry.js +0 -722
- package/dist/solutions-components/instant-apps-export.entry.js +0 -903
- package/dist/solutions-components/instant-apps-filter-list.entry.js +0 -1063
- package/dist/solutions-components/instant-apps-header.entry.js +0 -125
- package/dist/solutions-components/instant-apps-interactive-legend-classic.entry.js +0 -1616
- package/dist/solutions-components/instant-apps-interactive-legend-count.entry.js +0 -100
- package/dist/solutions-components/instant-apps-interactive-legend-group-legend-element-caption.entry.js +0 -53
- package/dist/solutions-components/instant-apps-interactive-legend-group-legend-element.entry.js +0 -52
- package/dist/solutions-components/instant-apps-interactive-legend-layer-element-caption.entry.js +0 -51
- package/dist/solutions-components/instant-apps-interactive-legend-layer-element.entry.js +0 -53
- package/dist/solutions-components/instant-apps-interactive-legend-legend-element-caption.entry.js +0 -100
- package/dist/solutions-components/instant-apps-interactive-legend-legend-element.entry.js +0 -61
- package/dist/solutions-components/instant-apps-interactive-legend-relationship.entry.js +0 -548
- package/dist/solutions-components/instant-apps-interactive-legend.entry.js +0 -112
- package/dist/solutions-components/instant-apps-keyboard-shortcuts.entry.js +0 -139
- package/dist/solutions-components/instant-apps-landing-page.entry.js +0 -150
- package/dist/solutions-components/instant-apps-language-switcher.entry.js +0 -173
- package/dist/solutions-components/instant-apps-language-translator-item.entry.js +0 -380
- package/dist/solutions-components/instant-apps-language-translator-search.entry.js +0 -101
- package/dist/solutions-components/instant-apps-language-translator.entry.js +0 -286
- package/dist/solutions-components/instant-apps-measurement-tool.entry.js +0 -135
- package/dist/solutions-components/instant-apps-measurement.entry.js +0 -66
- package/dist/solutions-components/instant-apps-popover.entry.js +0 -74
- package/dist/solutions-components/instant-apps-popovers.entry.js +0 -88
- package/dist/solutions-components/instant-apps-scoreboard.entry.js +0 -463
- package/dist/solutions-components/instant-apps-sign-in.entry.js +0 -164
- package/dist/solutions-components/instant-apps-social-share.entry.js +0 -516
- package/dist/solutions-components/instant-apps-splash.entry.js +0 -144
- package/dist/solutions-components/interactive-179483f5.js +0 -149
- package/dist/solutions-components/interfaces-586e863c.js +0 -80
- package/dist/solutions-components/it-56a44209.js +0 -65
- package/dist/solutions-components/it-ch-8fd9abf4.js +0 -65
- package/dist/solutions-components/ja-66007f4d.js +0 -71
- package/dist/solutions-components/json-editor.entry.js +0 -402
- package/dist/solutions-components/key-15222297.js +0 -44
- package/dist/solutions-components/ko-2e3b9aa8.js +0 -71
- package/dist/solutions-components/label-c34ec0cf.js +0 -179
- package/dist/solutions-components/languageUtil-83ed2742.js +0 -87
- package/dist/solutions-components/layer-list.entry.js +0 -193
- package/dist/solutions-components/layer-table.entry.js +0 -1558
- package/dist/solutions-components/layout-manager.entry.js +0 -91
- package/dist/solutions-components/list-flow-item.entry.js +0 -56
- package/dist/solutions-components/loadModules-18662c29.js +0 -28
- package/dist/solutions-components/loadable-5f2ac40f.js +0 -92
- package/dist/solutions-components/locale-1b4d548e.js +0 -572
- package/dist/solutions-components/locale-448ea937.js +0 -148
- package/dist/solutions-components/locale-f1dd2532.js +0 -86
- package/dist/solutions-components/location-flow-item.entry.js +0 -56
- package/dist/solutions-components/lodash-98e4b7d0.js +0 -18025
- package/dist/solutions-components/lt-2a6a8e94.js +0 -96
- package/dist/solutions-components/lv-8b3c01bb.js +0 -65
- package/dist/solutions-components/map-card.entry.js +0 -227
- package/dist/solutions-components/map-draw-tools.entry.js +0 -354
- package/dist/solutions-components/map-fullscreen.entry.js +0 -112
- package/dist/solutions-components/map-layer-picker.entry.js +0 -342
- package/dist/solutions-components/map-legend.entry.js +0 -105
- package/dist/solutions-components/map-picker.entry.js +0 -170
- package/dist/solutions-components/map-search.entry.js +0 -180
- package/dist/solutions-components/map-select-tools.entry.js +0 -794
- package/dist/solutions-components/map-tools.entry.js +0 -371
- package/dist/solutions-components/mapViewUtils-d4946a31.js +0 -284
- package/dist/solutions-components/math-81650811.js +0 -54
- package/dist/solutions-components/mk-428c21bd.js +0 -65
- package/dist/solutions-components/mode-e7b9fabb.js +0 -25
- package/dist/solutions-components/nb-67929ffe.js +0 -66
- package/dist/solutions-components/nl-954b9062.js +0 -66
- package/dist/solutions-components/observers-81ed4977.js +0 -56
- package/dist/solutions-components/openCloseComponent-739f40b7.js +0 -138
- package/dist/solutions-components/p-1a12761f.entry.js +0 -6
- package/dist/solutions-components/parser-a682fcdf.js +0 -1646
- package/dist/solutions-components/pci-calculator.entry.js +0 -113
- package/dist/solutions-components/pciUtils-986ddad9.js +0 -844
- package/dist/solutions-components/pdf-download.entry.js +0 -355
- package/dist/solutions-components/pl-eba736c7.js +0 -113
- package/dist/solutions-components/popupUtils-c60ca656.js +0 -109
- package/dist/solutions-components/pt-br-ed6f0302.js +0 -64
- package/dist/solutions-components/pt-e6518f49.js +0 -66
- package/dist/solutions-components/public-notification.entry.js +0 -1005
- package/dist/solutions-components/publicNotificationStore-59732134.js +0 -45
- package/dist/solutions-components/purify-ed095e80.js +0 -1717
- package/dist/solutions-components/queryUtils-2ee0f383.js +0 -274
- package/dist/solutions-components/refine-results-flow-item.entry.js +0 -56
- package/dist/solutions-components/refine-selection.entry.js +0 -408
- package/dist/solutions-components/resources-092fef68.js +0 -106
- package/dist/solutions-components/resources-16800cce.js +0 -24
- package/dist/solutions-components/resources-3587e9a5.js +0 -20
- package/dist/solutions-components/resources-66978311.js +0 -26
- package/dist/solutions-components/resources-7c4efc5e.js +0 -22
- package/dist/solutions-components/resources-7c61fbec.js +0 -62
- package/dist/solutions-components/resources-7d202c09.js +0 -24
- package/dist/solutions-components/resources-ae36eaff.js +0 -19
- package/dist/solutions-components/resources-be0262db.js +0 -45
- package/dist/solutions-components/resources-be5a6557.js +0 -26
- package/dist/solutions-components/resources-dd68a4aa.js +0 -35
- package/dist/solutions-components/resources-ec5198da.js +0 -49
- package/dist/solutions-components/ro-cb3c8995.js +0 -65
- package/dist/solutions-components/ru-dd440634.js +0 -125
- package/dist/solutions-components/shadow-css-15628d22.js +0 -361
- package/dist/solutions-components/share-item.entry.js +0 -56
- package/dist/solutions-components/shared-list-render-a787615a.js +0 -348
- package/dist/solutions-components/sk-a8db2217.js +0 -147
- package/dist/solutions-components/sl-f798a76e.js +0 -167
- package/dist/solutions-components/solution-configuration.entry.js +0 -565
- package/dist/solutions-components/solution-contents.entry.js +0 -80
- package/dist/solutions-components/solution-item-details.entry.js +0 -195
- package/dist/solutions-components/solution-item-icon.entry.js +0 -323
- package/dist/solutions-components/solution-item-sharing.entry.js +0 -135
- package/dist/solutions-components/solution-item.entry.js +0 -102
- package/dist/solutions-components/solution-organization-variables.entry.js +0 -91
- package/dist/solutions-components/solution-resource-item.entry.js +0 -280
- package/dist/solutions-components/solution-spatial-ref.entry.js +0 -164
- package/dist/solutions-components/solution-store-5a6cf181.js +0 -585
- package/dist/solutions-components/solution-template-data.entry.js +0 -115
- package/dist/solutions-components/solution-variables.entry.js +0 -103
- package/dist/solutions-components/sortableComponent-ee74aef6.js +0 -3440
- package/dist/solutions-components/spatial-ref.entry.js +0 -21296
- package/dist/solutions-components/sr-342a663a.js +0 -100
- package/dist/solutions-components/store-b2b2565a.js +0 -87
- package/dist/solutions-components/store-manager.entry.js +0 -75
- package/dist/solutions-components/styles-b3492d9f.js +0 -11
- package/dist/solutions-components/sv-84670dbd.js +0 -70
- package/dist/solutions-components/t9n-2df2d559.js +0 -98
- package/dist/solutions-components/templates-335c6b6f.js +0 -436
- package/dist/solutions-components/th-a9c8533d.js +0 -64
- package/dist/solutions-components/time-d753f161.js +0 -274
- package/dist/solutions-components/tr-c2cc2873.js +0 -65
- package/dist/solutions-components/uk-906a1eb0.js +0 -103
- package/dist/solutions-components/utils-2c8108af.js +0 -133
- package/dist/solutions-components/utils-580e77c3.js +0 -208
- package/dist/solutions-components/utils-9aa96070.js +0 -61
- package/dist/solutions-components/utils-ab48a0d6.js +0 -47
- package/dist/solutions-components/utils-f96adae4.js +0 -57
- package/dist/solutions-components/vi-7b43fafd.js +0 -69
- package/dist/solutions-components/zh-cn-c19f2858.js +0 -93
- package/dist/solutions-components/zh-hk-f212412d.js +0 -70
- package/dist/solutions-components/zh-tw-be3a4302.js +0 -91
- /package/dist/cjs/{esri-loader-a56cbcbe.js → esri-loader-08dc41bd.js} +0 -0
- /package/dist/esm/{esri-loader-781d738a.js → esri-loader-c6842c6b.js} +0 -0
- /package/dist/solutions-components/{p-6a68306c.js → p-0a24ad5f.js} +0 -0
@@ -1,1099 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { r as registerInstance, e as createEvent, h, a as Host, g as getElement } from './index-0eecd45f.js';
|
7
|
-
import { g as getLocaleComponentStrings } from './locale-448ea937.js';
|
8
|
-
import './loadModules-18662c29.js';
|
9
|
-
import './esri-loader-5bf2f164.js';
|
10
|
-
import './_commonjsHelpers-9cd17aec.js';
|
11
|
-
|
12
|
-
function shouldDisableTracking(options = {}) {
|
13
|
-
const { disabled, portal } = options;
|
14
|
-
if (disabled || (portal === null || portal === void 0 ? void 0 : portal.eueiEnabled) === false) {
|
15
|
-
return true;
|
16
|
-
}
|
17
|
-
if (!portal || hasEueiEnabledAndIsMemberOfOrg(portal) || isRegisteredUserWithoutOrgInUSA(portal) || isAnonymousUserInUSA(portal)) {
|
18
|
-
return false;
|
19
|
-
}
|
20
|
-
return true;
|
21
|
-
}
|
22
|
-
function hasEueiEnabledAndIsMemberOfOrg(portal) {
|
23
|
-
return portal.eueiEnabled && portal.user && portal.user.orgId === portal.id;
|
24
|
-
}
|
25
|
-
function isRegisteredUserWithoutOrgInUSA(portal) {
|
26
|
-
return portal.user && !portal.user.orgId && portal.ipCntryCode === 'US';
|
27
|
-
}
|
28
|
-
function isAnonymousUserInUSA(portal) {
|
29
|
-
return !portal.user && portal.ipCntryCode === 'US';
|
30
|
-
}
|
31
|
-
|
32
|
-
const storage = {
|
33
|
-
storage: {},
|
34
|
-
memory: true,
|
35
|
-
get(key) {
|
36
|
-
let stored;
|
37
|
-
try {
|
38
|
-
stored =
|
39
|
-
(window.localStorage && window.localStorage.getItem(key)) ||
|
40
|
-
this.storage[key];
|
41
|
-
}
|
42
|
-
catch (e) {
|
43
|
-
stored = this.storage[key];
|
44
|
-
}
|
45
|
-
if (stored) {
|
46
|
-
try {
|
47
|
-
return JSON.parse(stored);
|
48
|
-
}
|
49
|
-
catch (e) {
|
50
|
-
return undefined;
|
51
|
-
}
|
52
|
-
}
|
53
|
-
else {
|
54
|
-
return undefined;
|
55
|
-
}
|
56
|
-
},
|
57
|
-
set(key, value) {
|
58
|
-
// handle Safari private mode (setItem is not allowed)
|
59
|
-
const valueToString = JSON.stringify(value);
|
60
|
-
try {
|
61
|
-
window.localStorage.setItem(key, valueToString);
|
62
|
-
}
|
63
|
-
catch (e) {
|
64
|
-
if (!this.memory) {
|
65
|
-
console.error('setting local storage failed, falling back to in-memory storage');
|
66
|
-
this.memory = true;
|
67
|
-
}
|
68
|
-
this.storage[key] = value;
|
69
|
-
}
|
70
|
-
},
|
71
|
-
delete(key) {
|
72
|
-
try {
|
73
|
-
window.localStorage.removeItem(key);
|
74
|
-
}
|
75
|
-
catch (e) {
|
76
|
-
if (!this.memory) {
|
77
|
-
console.error('setting local storage failed, falling back to in-memory storage');
|
78
|
-
this.memory = true;
|
79
|
-
}
|
80
|
-
delete this.storage[key];
|
81
|
-
}
|
82
|
-
},
|
83
|
-
};
|
84
|
-
|
85
|
-
const ESRI_TELEMETRY_DATA_ATTRIBUTE = 'esri-telemetry';
|
86
|
-
function injectScriptElementAsync(attributes) {
|
87
|
-
const onloadPromise = new Promise((resolve, reject) => {
|
88
|
-
attributes.onload = resolve;
|
89
|
-
attributes.onerror = reject;
|
90
|
-
const script = injectScriptElement(attributes);
|
91
|
-
if (!script || attributes.body) {
|
92
|
-
// this is for the case where the script is already loaded or it has a body instead of a src
|
93
|
-
resolve();
|
94
|
-
}
|
95
|
-
});
|
96
|
-
return onloadPromise;
|
97
|
-
}
|
98
|
-
function scriptExists(attributes) {
|
99
|
-
const { id, dataAttribute } = attributes;
|
100
|
-
return !!document.getElementById(id) || !!document.querySelector(`[data-${ESRI_TELEMETRY_DATA_ATTRIBUTE}="${dataAttribute}"]`);
|
101
|
-
}
|
102
|
-
function injectScriptElement(attributes) {
|
103
|
-
const { body, src, id, dataAttribute, section = 'body', type = 'text/javascript', async = false, defer = false, onload, onerror } = attributes;
|
104
|
-
if (typeof window === 'undefined') {
|
105
|
-
throw new WindowUndefinedError('Window is undefined: Cannot add script element.');
|
106
|
-
}
|
107
|
-
if (scriptExists(attributes)) {
|
108
|
-
console.log(`script (${id || dataAttribute}) is already present, skipping`);
|
109
|
-
return;
|
110
|
-
}
|
111
|
-
const scriptElement = createScriptElementWithAttributes({
|
112
|
-
id,
|
113
|
-
dataAttribute,
|
114
|
-
type,
|
115
|
-
async,
|
116
|
-
defer,
|
117
|
-
body,
|
118
|
-
src,
|
119
|
-
onload,
|
120
|
-
onerror
|
121
|
-
});
|
122
|
-
return section === 'body'
|
123
|
-
? document.body.appendChild(scriptElement)
|
124
|
-
: document.head.appendChild(scriptElement);
|
125
|
-
}
|
126
|
-
class WindowUndefinedError extends Error {
|
127
|
-
}
|
128
|
-
function createScriptElementWithAttributes({ id, dataAttribute, type, async, defer, body, src, onload, onerror }) {
|
129
|
-
const scriptElement = document.createElement('script');
|
130
|
-
if (id) {
|
131
|
-
scriptElement.id = id;
|
132
|
-
}
|
133
|
-
if (dataAttribute) {
|
134
|
-
scriptElement.setAttribute(`data-${ESRI_TELEMETRY_DATA_ATTRIBUTE}`, dataAttribute);
|
135
|
-
}
|
136
|
-
src && (scriptElement.src = src);
|
137
|
-
body && (scriptElement.innerText = body);
|
138
|
-
scriptElement.type = type;
|
139
|
-
scriptElement.async = async;
|
140
|
-
scriptElement.defer = defer;
|
141
|
-
onload && (scriptElement.onload = onload);
|
142
|
-
onerror && (scriptElement.onerror = onerror);
|
143
|
-
return scriptElement;
|
144
|
-
}
|
145
|
-
|
146
|
-
function createScriptTags(scripts) {
|
147
|
-
return scripts.map(scriptObj => {
|
148
|
-
const attrs = [];
|
149
|
-
['src', 'id', 'dataAttribute', 'type'].forEach(attr => {
|
150
|
-
let attrName = attr;
|
151
|
-
if (attr === 'dataAttribute') {
|
152
|
-
attrName = 'data-esri-telemetry';
|
153
|
-
}
|
154
|
-
if (scriptObj[attr]) {
|
155
|
-
attrs.push(`${attrName}="${scriptObj[attr]}"`);
|
156
|
-
}
|
157
|
-
});
|
158
|
-
['async', 'defer'].forEach(attr => {
|
159
|
-
if (scriptObj[attr]) {
|
160
|
-
attrs.push(`${attr}`);
|
161
|
-
}
|
162
|
-
});
|
163
|
-
return `<script ${attrs.join(' ')}>${scriptObj.body ? scriptObj.body : ''}</script>`;
|
164
|
-
}).join('');
|
165
|
-
}
|
166
|
-
|
167
|
-
const INTERNAL_ORGS = [
|
168
|
-
'esri.com',
|
169
|
-
'esriuk.com',
|
170
|
-
'esri.de',
|
171
|
-
'esri.ca',
|
172
|
-
'esrifrance.fr',
|
173
|
-
'esri.nl',
|
174
|
-
'esri-portugal.pt',
|
175
|
-
'esribulgaria.com',
|
176
|
-
'esri.fi',
|
177
|
-
'esri.kr',
|
178
|
-
'esrimalaysia.com.my',
|
179
|
-
'esri.es',
|
180
|
-
'esriaustralia.com.au',
|
181
|
-
'esri-southafrica.com',
|
182
|
-
'esri.cl',
|
183
|
-
'esrichina.com.cn',
|
184
|
-
'esri.co',
|
185
|
-
'esriturkey.com.tr',
|
186
|
-
'geodata.no',
|
187
|
-
'esriitalia.it',
|
188
|
-
'esri.pl',
|
189
|
-
];
|
190
|
-
/**
|
191
|
-
* Telemetry class
|
192
|
-
*/
|
193
|
-
class Telemetry {
|
194
|
-
constructor(options) {
|
195
|
-
var _a, _b, _c;
|
196
|
-
this.trackers = [];
|
197
|
-
this.options = options;
|
198
|
-
this.debug = options.debug;
|
199
|
-
this.suppressDisabledWarnings = options.suppressDisabledWarnings;
|
200
|
-
this.disabled = shouldDisableTracking(options);
|
201
|
-
this.logger = options.logger || console;
|
202
|
-
if (this.disabled && !this.suppressDisabledWarnings) {
|
203
|
-
this.logger.info('Telemetry Disabled');
|
204
|
-
}
|
205
|
-
const user = ((_a = options.portal) === null || _a === void 0 ? void 0 : _a.user) || options.user;
|
206
|
-
if (user) {
|
207
|
-
this.setUser(user, (_c = (_b = options.portal) === null || _b === void 0 ? void 0 : _b.subscriptionInfo) === null || _c === void 0 ? void 0 : _c.type);
|
208
|
-
}
|
209
|
-
if (!this.disabled) {
|
210
|
-
this.initializeTrackers();
|
211
|
-
}
|
212
|
-
}
|
213
|
-
initializeTrackers() {
|
214
|
-
if (this.options.plugins) {
|
215
|
-
this.trackers.push(...this.options.plugins);
|
216
|
-
}
|
217
|
-
if (!this.trackers.length) {
|
218
|
-
this.logger.error(new Error('No trackers configured'));
|
219
|
-
}
|
220
|
-
}
|
221
|
-
getScriptTags() {
|
222
|
-
return this.trackers
|
223
|
-
.map((tracker) => {
|
224
|
-
return tracker.getScriptTags && tracker.getScriptTags();
|
225
|
-
})
|
226
|
-
.join('');
|
227
|
-
}
|
228
|
-
async init() {
|
229
|
-
const promises = this.trackers.map((tracker) => {
|
230
|
-
return tracker.init();
|
231
|
-
});
|
232
|
-
await Promise.all(promises);
|
233
|
-
}
|
234
|
-
setUser(user = {}, orgType = 'Public') {
|
235
|
-
user = typeof user === 'string' ? { username: user } : user;
|
236
|
-
this.user = user;
|
237
|
-
this.user.accountType = orgType;
|
238
|
-
let internalDomain;
|
239
|
-
if (user.email && user.email.split) {
|
240
|
-
const domain = user.email.split('@')[1];
|
241
|
-
internalDomain =
|
242
|
-
INTERNAL_ORGS.filter((org) => {
|
243
|
-
return domain === org;
|
244
|
-
}).length > 0;
|
245
|
-
}
|
246
|
-
if (internalDomain ||
|
247
|
-
['In House', 'Demo and Marketing'].indexOf(orgType) > -1) {
|
248
|
-
this.user.internalUser = true;
|
249
|
-
}
|
250
|
-
}
|
251
|
-
logPageView(page, event = {}, options = {}) {
|
252
|
-
if (this.disabled && !this.suppressDisabledWarnings) {
|
253
|
-
this.logger.info('Page view was not logged because telemetry is disabled.');
|
254
|
-
return false;
|
255
|
-
}
|
256
|
-
const enabledTrackers = this.trackers.filter(({ disabled, hasError }) => !disabled && !hasError);
|
257
|
-
if (!enabledTrackers.length) {
|
258
|
-
this.logger.warn('Page view was not logged because no enabled telemetry-plugins are registered.');
|
259
|
-
return false;
|
260
|
-
}
|
261
|
-
const attributes = this.preProcess(event, options);
|
262
|
-
if (this.debug) {
|
263
|
-
this.logger.info('Tracking page view', JSON.stringify(attributes));
|
264
|
-
}
|
265
|
-
const promises = enabledTrackers.map((tracker) => {
|
266
|
-
return tracker.logPageView(page, attributes);
|
267
|
-
});
|
268
|
-
Promise.all(promises).then();
|
269
|
-
return true;
|
270
|
-
}
|
271
|
-
logEvent(event, options = {}) {
|
272
|
-
if (this.disabled && !this.suppressDisabledWarnings) {
|
273
|
-
this.logger.info('Event was not logged because telemetry is disabled.');
|
274
|
-
return false;
|
275
|
-
}
|
276
|
-
const enabledTrackers = this.trackers.filter(({ disabled, hasError }) => !disabled && !hasError);
|
277
|
-
if (!enabledTrackers.length) {
|
278
|
-
this.logger.warn('Event was not logged because no enabled telemetry-plugins are registered.');
|
279
|
-
return false;
|
280
|
-
}
|
281
|
-
const eventAttributes = this.preProcess(event, options);
|
282
|
-
if (this.debug) {
|
283
|
-
this.logger.info('Tracking event', JSON.stringify(eventAttributes));
|
284
|
-
}
|
285
|
-
const promises = enabledTrackers.map((tracker) => {
|
286
|
-
return tracker.logEvent(eventAttributes);
|
287
|
-
});
|
288
|
-
Promise.all(promises).then();
|
289
|
-
return true;
|
290
|
-
}
|
291
|
-
logError(event = {}) {
|
292
|
-
event = Object.assign({ eventType: 'error' }, event);
|
293
|
-
this.logEvent(event);
|
294
|
-
}
|
295
|
-
startWorkflow(name, attributes = {}) {
|
296
|
-
const workflow = {
|
297
|
-
name,
|
298
|
-
start: Date.now(),
|
299
|
-
steps: [],
|
300
|
-
workflowId: Math.floor((1 + Math.random()) * 0x100000000000).toString(16),
|
301
|
-
};
|
302
|
-
this.saveWorkflow(workflow);
|
303
|
-
const workflowObj = Object.assign({ name, step: 'start' }, attributes);
|
304
|
-
this.logWorkflow(workflowObj);
|
305
|
-
return workflow;
|
306
|
-
}
|
307
|
-
stepWorkflow(name, step, attributes = {}) {
|
308
|
-
//TODO: check if the check for attributes being a string is useful or can be removed
|
309
|
-
const details = typeof attributes === 'string' ? attributes : attributes.details;
|
310
|
-
const workflowObj = Object.assign({ name, step, details }, attributes);
|
311
|
-
this.logWorkflow(workflowObj);
|
312
|
-
}
|
313
|
-
endWorkflow(name, attributes = {}) {
|
314
|
-
const workflowObj = Object.assign({ name, step: 'finish' }, attributes);
|
315
|
-
this.logWorkflow(workflowObj);
|
316
|
-
}
|
317
|
-
cancelWorkflow(name, attributes = {}) {
|
318
|
-
const workflowObj = Object.assign({ name, step: 'cancel' }, attributes);
|
319
|
-
this.logWorkflow(workflowObj);
|
320
|
-
}
|
321
|
-
getWorkflow(name) {
|
322
|
-
const workflow = storage.get(`TELEMETRY-WORKFLOW:${name}`);
|
323
|
-
// do not let old workflows be returned
|
324
|
-
if (workflow) {
|
325
|
-
const workflowAge = Date.now() - workflow.start;
|
326
|
-
const timeout = 30 * 60 * 1000;
|
327
|
-
if (workflowAge < timeout) {
|
328
|
-
return workflow;
|
329
|
-
}
|
330
|
-
else {
|
331
|
-
this.deleteWorkflow(workflow);
|
332
|
-
}
|
333
|
-
}
|
334
|
-
}
|
335
|
-
saveWorkflow(workflow) {
|
336
|
-
storage.set(`TELEMETRY-WORKFLOW:${workflow.name}`, workflow);
|
337
|
-
}
|
338
|
-
deleteWorkflow(workflow) {
|
339
|
-
storage.delete(`TELEMETRY-WORKFLOW:${workflow.name}`);
|
340
|
-
}
|
341
|
-
logWorkflow(options = {}) {
|
342
|
-
/*
|
343
|
-
const workflow = {
|
344
|
-
name: 'add layer to map',
|
345
|
-
step: 'start',
|
346
|
-
details: 'some details about the step'
|
347
|
-
}
|
348
|
-
*/
|
349
|
-
options = this.preProcess(options);
|
350
|
-
let workflow = this.getWorkflow(options.name);
|
351
|
-
if (!workflow) {
|
352
|
-
this.startWorkflow(options.name);
|
353
|
-
workflow = this.getWorkflow(options.name);
|
354
|
-
}
|
355
|
-
workflow.steps.push(options.step);
|
356
|
-
workflow.duration = (Date.now() - workflow.start) / 1000;
|
357
|
-
if (['cancel', 'finish'].indexOf(options.step) > -1) {
|
358
|
-
this.deleteWorkflow(workflow);
|
359
|
-
}
|
360
|
-
else {
|
361
|
-
this.saveWorkflow(workflow);
|
362
|
-
}
|
363
|
-
const track = Object.assign(options, {
|
364
|
-
eventType: 'workflow',
|
365
|
-
category: options.name,
|
366
|
-
action: options.step,
|
367
|
-
label: options.details,
|
368
|
-
duration: workflow.duration,
|
369
|
-
workflowId: workflow.workflowId,
|
370
|
-
});
|
371
|
-
this.logEvent(track);
|
372
|
-
}
|
373
|
-
preProcess(event = {}, options = {}) {
|
374
|
-
let userMetadata = {};
|
375
|
-
if (this.user) {
|
376
|
-
userMetadata = {
|
377
|
-
user: 'unknown',
|
378
|
-
org: 'unknown',
|
379
|
-
lastLogin: this.user.lastLogin,
|
380
|
-
userSince: this.user.created,
|
381
|
-
internalUser: this.user.internalUser || false,
|
382
|
-
accountType: this.user.accountType,
|
383
|
-
};
|
384
|
-
}
|
385
|
-
return Object.entries(Object.assign(Object.assign({}, event), userMetadata)).reduce(makeEventPayload(options.omitComplexData, this.logger), {});
|
386
|
-
}
|
387
|
-
disableTracker(trackerName) {
|
388
|
-
var _a;
|
389
|
-
const tracker = this.trackers.find(({ name }) => name === trackerName);
|
390
|
-
if (tracker && !tracker.hasError) {
|
391
|
-
tracker.disabled = true;
|
392
|
-
(_a = tracker.disable) === null || _a === void 0 ? void 0 : _a.call(tracker);
|
393
|
-
}
|
394
|
-
}
|
395
|
-
enableTracker(trackerName) {
|
396
|
-
var _a;
|
397
|
-
const tracker = this.trackers.find(({ name }) => name === trackerName);
|
398
|
-
if (tracker && !tracker.hasError) {
|
399
|
-
tracker.disabled = false;
|
400
|
-
(_a = tracker.enable) === null || _a === void 0 ? void 0 : _a.call(tracker);
|
401
|
-
}
|
402
|
-
}
|
403
|
-
}
|
404
|
-
function makeEventPayload(omitComplexData, logger) {
|
405
|
-
return function (acc, [key, val]) {
|
406
|
-
if (isPrimitive(val)) {
|
407
|
-
acc[key] = val;
|
408
|
-
}
|
409
|
-
else if (!omitComplexData) {
|
410
|
-
logger.warn(`You are trying to log a non-primitive value, ${key}:${JSON.stringify(val)}. This will get logged as [object Object]`);
|
411
|
-
acc[key] = val;
|
412
|
-
}
|
413
|
-
return acc;
|
414
|
-
};
|
415
|
-
}
|
416
|
-
function isPrimitive(val) {
|
417
|
-
const primitives = ['string', 'number', 'boolean', 'undefined'];
|
418
|
-
return (primitives.includes(typeof val) ||
|
419
|
-
(val && typeof val.valueOf() === 'string'));
|
420
|
-
}
|
421
|
-
|
422
|
-
/******************************************************************************
|
423
|
-
Copyright (c) Microsoft Corporation.
|
424
|
-
|
425
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
426
|
-
purpose with or without fee is hereby granted.
|
427
|
-
|
428
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
429
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
430
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
431
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
432
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
433
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
434
|
-
PERFORMANCE OF THIS SOFTWARE.
|
435
|
-
***************************************************************************** */
|
436
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
437
|
-
|
438
|
-
var extendStatics = function(d, b) {
|
439
|
-
extendStatics = Object.setPrototypeOf ||
|
440
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
441
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
442
|
-
return extendStatics(d, b);
|
443
|
-
};
|
444
|
-
|
445
|
-
function __extends(d, b) {
|
446
|
-
if (typeof b !== "function" && b !== null)
|
447
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
448
|
-
extendStatics(d, b);
|
449
|
-
function __() { this.constructor = d; }
|
450
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
451
|
-
}
|
452
|
-
|
453
|
-
var __assign = function() {
|
454
|
-
__assign = Object.assign || function __assign(t) {
|
455
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
456
|
-
s = arguments[i];
|
457
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
458
|
-
}
|
459
|
-
return t;
|
460
|
-
};
|
461
|
-
return __assign.apply(this, arguments);
|
462
|
-
};
|
463
|
-
|
464
|
-
function __rest(s, e) {
|
465
|
-
var t = {};
|
466
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
467
|
-
t[p] = s[p];
|
468
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
469
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
470
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
471
|
-
t[p[i]] = s[p[i]];
|
472
|
-
}
|
473
|
-
return t;
|
474
|
-
}
|
475
|
-
|
476
|
-
function __decorate(decorators, target, key, desc) {
|
477
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
478
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
479
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
480
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
481
|
-
}
|
482
|
-
|
483
|
-
function __param(paramIndex, decorator) {
|
484
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
485
|
-
}
|
486
|
-
|
487
|
-
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
488
|
-
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
489
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
490
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
491
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
492
|
-
var _, done = false;
|
493
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
494
|
-
var context = {};
|
495
|
-
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
496
|
-
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
497
|
-
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
498
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
499
|
-
if (kind === "accessor") {
|
500
|
-
if (result === void 0) continue;
|
501
|
-
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
502
|
-
if (_ = accept(result.get)) descriptor.get = _;
|
503
|
-
if (_ = accept(result.set)) descriptor.set = _;
|
504
|
-
if (_ = accept(result.init)) initializers.unshift(_);
|
505
|
-
}
|
506
|
-
else if (_ = accept(result)) {
|
507
|
-
if (kind === "field") initializers.unshift(_);
|
508
|
-
else descriptor[key] = _;
|
509
|
-
}
|
510
|
-
}
|
511
|
-
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
512
|
-
done = true;
|
513
|
-
};
|
514
|
-
|
515
|
-
function __runInitializers(thisArg, initializers, value) {
|
516
|
-
var useValue = arguments.length > 2;
|
517
|
-
for (var i = 0; i < initializers.length; i++) {
|
518
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
519
|
-
}
|
520
|
-
return useValue ? value : void 0;
|
521
|
-
};
|
522
|
-
|
523
|
-
function __propKey(x) {
|
524
|
-
return typeof x === "symbol" ? x : "".concat(x);
|
525
|
-
};
|
526
|
-
|
527
|
-
function __setFunctionName(f, name, prefix) {
|
528
|
-
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
529
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
530
|
-
};
|
531
|
-
|
532
|
-
function __metadata(metadataKey, metadataValue) {
|
533
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
534
|
-
}
|
535
|
-
|
536
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
537
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
538
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
539
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
540
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
541
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
542
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
543
|
-
});
|
544
|
-
}
|
545
|
-
|
546
|
-
function __generator(thisArg, body) {
|
547
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
548
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
549
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
550
|
-
function step(op) {
|
551
|
-
if (f) throw new TypeError("Generator is already executing.");
|
552
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
553
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
554
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
555
|
-
switch (op[0]) {
|
556
|
-
case 0: case 1: t = op; break;
|
557
|
-
case 4: _.label++; return { value: op[1], done: false };
|
558
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
559
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
560
|
-
default:
|
561
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
562
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
563
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
564
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
565
|
-
if (t[2]) _.ops.pop();
|
566
|
-
_.trys.pop(); continue;
|
567
|
-
}
|
568
|
-
op = body.call(thisArg, _);
|
569
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
570
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
571
|
-
}
|
572
|
-
}
|
573
|
-
|
574
|
-
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
575
|
-
if (k2 === undefined) k2 = k;
|
576
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
577
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
578
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
579
|
-
}
|
580
|
-
Object.defineProperty(o, k2, desc);
|
581
|
-
}) : (function(o, m, k, k2) {
|
582
|
-
if (k2 === undefined) k2 = k;
|
583
|
-
o[k2] = m[k];
|
584
|
-
});
|
585
|
-
|
586
|
-
function __exportStar(m, o) {
|
587
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
588
|
-
}
|
589
|
-
|
590
|
-
function __values(o) {
|
591
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
592
|
-
if (m) return m.call(o);
|
593
|
-
if (o && typeof o.length === "number") return {
|
594
|
-
next: function () {
|
595
|
-
if (o && i >= o.length) o = void 0;
|
596
|
-
return { value: o && o[i++], done: !o };
|
597
|
-
}
|
598
|
-
};
|
599
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
600
|
-
}
|
601
|
-
|
602
|
-
function __read(o, n) {
|
603
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
604
|
-
if (!m) return o;
|
605
|
-
var i = m.call(o), r, ar = [], e;
|
606
|
-
try {
|
607
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
608
|
-
}
|
609
|
-
catch (error) { e = { error: error }; }
|
610
|
-
finally {
|
611
|
-
try {
|
612
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
613
|
-
}
|
614
|
-
finally { if (e) throw e.error; }
|
615
|
-
}
|
616
|
-
return ar;
|
617
|
-
}
|
618
|
-
|
619
|
-
/** @deprecated */
|
620
|
-
function __spread() {
|
621
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
622
|
-
ar = ar.concat(__read(arguments[i]));
|
623
|
-
return ar;
|
624
|
-
}
|
625
|
-
|
626
|
-
/** @deprecated */
|
627
|
-
function __spreadArrays() {
|
628
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
629
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
630
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
631
|
-
r[k] = a[j];
|
632
|
-
return r;
|
633
|
-
}
|
634
|
-
|
635
|
-
function __spreadArray(to, from, pack) {
|
636
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
637
|
-
if (ar || !(i in from)) {
|
638
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
639
|
-
ar[i] = from[i];
|
640
|
-
}
|
641
|
-
}
|
642
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
643
|
-
}
|
644
|
-
|
645
|
-
function __await(v) {
|
646
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
647
|
-
}
|
648
|
-
|
649
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
650
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
651
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
652
|
-
return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
|
653
|
-
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
|
654
|
-
function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
|
655
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
656
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
657
|
-
function fulfill(value) { resume("next", value); }
|
658
|
-
function reject(value) { resume("throw", value); }
|
659
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
660
|
-
}
|
661
|
-
|
662
|
-
function __asyncDelegator(o) {
|
663
|
-
var i, p;
|
664
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
665
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
666
|
-
}
|
667
|
-
|
668
|
-
function __asyncValues(o) {
|
669
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
670
|
-
var m = o[Symbol.asyncIterator], i;
|
671
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
672
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
673
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
674
|
-
}
|
675
|
-
|
676
|
-
function __makeTemplateObject(cooked, raw) {
|
677
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
678
|
-
return cooked;
|
679
|
-
};
|
680
|
-
|
681
|
-
var __setModuleDefault = Object.create ? (function(o, v) {
|
682
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
683
|
-
}) : function(o, v) {
|
684
|
-
o["default"] = v;
|
685
|
-
};
|
686
|
-
|
687
|
-
function __importStar(mod) {
|
688
|
-
if (mod && mod.__esModule) return mod;
|
689
|
-
var result = {};
|
690
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
691
|
-
__setModuleDefault(result, mod);
|
692
|
-
return result;
|
693
|
-
}
|
694
|
-
|
695
|
-
function __importDefault(mod) {
|
696
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
697
|
-
}
|
698
|
-
|
699
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
700
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
701
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
702
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
703
|
-
}
|
704
|
-
|
705
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
706
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
707
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
708
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
709
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
710
|
-
}
|
711
|
-
|
712
|
-
function __classPrivateFieldIn(state, receiver) {
|
713
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
714
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
715
|
-
}
|
716
|
-
|
717
|
-
function __addDisposableResource(env, value, async) {
|
718
|
-
if (value !== null && value !== void 0) {
|
719
|
-
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
720
|
-
var dispose, inner;
|
721
|
-
if (async) {
|
722
|
-
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
723
|
-
dispose = value[Symbol.asyncDispose];
|
724
|
-
}
|
725
|
-
if (dispose === void 0) {
|
726
|
-
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
727
|
-
dispose = value[Symbol.dispose];
|
728
|
-
if (async) inner = dispose;
|
729
|
-
}
|
730
|
-
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
|
731
|
-
if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };
|
732
|
-
env.stack.push({ value: value, dispose: dispose, async: async });
|
733
|
-
}
|
734
|
-
else if (async) {
|
735
|
-
env.stack.push({ async: true });
|
736
|
-
}
|
737
|
-
return value;
|
738
|
-
|
739
|
-
}
|
740
|
-
|
741
|
-
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
742
|
-
var e = new Error(message);
|
743
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
744
|
-
};
|
745
|
-
|
746
|
-
function __disposeResources(env) {
|
747
|
-
function fail(e) {
|
748
|
-
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
749
|
-
env.hasError = true;
|
750
|
-
}
|
751
|
-
function next() {
|
752
|
-
while (env.stack.length) {
|
753
|
-
var rec = env.stack.pop();
|
754
|
-
try {
|
755
|
-
var result = rec.dispose && rec.dispose.call(rec.value);
|
756
|
-
if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
|
757
|
-
}
|
758
|
-
catch (e) {
|
759
|
-
fail(e);
|
760
|
-
}
|
761
|
-
}
|
762
|
-
if (env.hasError) throw env.error;
|
763
|
-
}
|
764
|
-
return next();
|
765
|
-
}
|
766
|
-
|
767
|
-
const tslib_es6 = {
|
768
|
-
__extends: __extends,
|
769
|
-
__assign: __assign,
|
770
|
-
__rest: __rest,
|
771
|
-
__decorate: __decorate,
|
772
|
-
__param: __param,
|
773
|
-
__metadata: __metadata,
|
774
|
-
__awaiter: __awaiter,
|
775
|
-
__generator: __generator,
|
776
|
-
__createBinding: __createBinding,
|
777
|
-
__exportStar: __exportStar,
|
778
|
-
__values: __values,
|
779
|
-
__read: __read,
|
780
|
-
__spread: __spread,
|
781
|
-
__spreadArrays: __spreadArrays,
|
782
|
-
__spreadArray: __spreadArray,
|
783
|
-
__await: __await,
|
784
|
-
__asyncGenerator: __asyncGenerator,
|
785
|
-
__asyncDelegator: __asyncDelegator,
|
786
|
-
__asyncValues: __asyncValues,
|
787
|
-
__makeTemplateObject: __makeTemplateObject,
|
788
|
-
__importStar: __importStar,
|
789
|
-
__importDefault: __importDefault,
|
790
|
-
__classPrivateFieldGet: __classPrivateFieldGet,
|
791
|
-
__classPrivateFieldSet: __classPrivateFieldSet,
|
792
|
-
__classPrivateFieldIn: __classPrivateFieldIn,
|
793
|
-
__addDisposableResource: __addDisposableResource,
|
794
|
-
__disposeResources: __disposeResources,
|
795
|
-
};
|
796
|
-
|
797
|
-
/**
|
798
|
-
* Class supporting Google Analytics 4
|
799
|
-
*/
|
800
|
-
class GoogleAnalytics {
|
801
|
-
constructor(options) {
|
802
|
-
var _a;
|
803
|
-
this.name = 'googleAnalytics';
|
804
|
-
this.dimensions = {};
|
805
|
-
this.metrics = {};
|
806
|
-
if (typeof window !== 'undefined' && !((_a = options === null || options === void 0 ? void 0 : options.measurementIds) === null || _a === void 0 ? void 0 : _a.length)) {
|
807
|
-
// browser environment
|
808
|
-
throw new Error('at least one measurementId needs to be provided in your configuration');
|
809
|
-
}
|
810
|
-
Object.assign(this, options);
|
811
|
-
}
|
812
|
-
_getScripts() {
|
813
|
-
const measurementId = this.measurementIds ? this.measurementIds[0] : '';
|
814
|
-
return [
|
815
|
-
{
|
816
|
-
dataAttribute: 'google-analytics',
|
817
|
-
async: true,
|
818
|
-
src: `https://www.googletagmanager.com/gtag/js?id=${measurementId}`
|
819
|
-
},
|
820
|
-
];
|
821
|
-
}
|
822
|
-
getScriptTags() {
|
823
|
-
return createScriptTags(this._getScripts());
|
824
|
-
}
|
825
|
-
async init() {
|
826
|
-
// for use in a broswer environment
|
827
|
-
if (typeof window === 'undefined') {
|
828
|
-
throw new WindowUndefinedError('Window is undefined: Cannot add script element.');
|
829
|
-
}
|
830
|
-
// calls _getScripts() and then iterates over the array and adds dom nodes for each and resolves once all have loaded.
|
831
|
-
// injectScriptElementAsync will check if a script with the specified id already exists and, if so, do nothing
|
832
|
-
await Promise.all(this._getScripts().map(scriptObj => {
|
833
|
-
return injectScriptElementAsync(scriptObj);
|
834
|
-
}));
|
835
|
-
// runs second script
|
836
|
-
this.injectConfig();
|
837
|
-
}
|
838
|
-
// we log page views manually, even though ga4 can do so automatically for pages now
|
839
|
-
logPageView(page, options = {}) {
|
840
|
-
const cleanedOptions = this.buildCustomParams(options);
|
841
|
-
const pageViewOptionsObject = Object.assign({ page_title: page || window.location.pathname }, cleanedOptions);
|
842
|
-
window.gtag('event', 'page_view', pageViewOptionsObject);
|
843
|
-
return true;
|
844
|
-
}
|
845
|
-
logEvent(event) {
|
846
|
-
// eventType is name of our event
|
847
|
-
let { action } = event, customParams = __rest(event, ["action"]);
|
848
|
-
const eventType = action || 'other';
|
849
|
-
// if using telemetry wrapper, custom metrics/dimensions in customParams; if not, in options
|
850
|
-
const eventParams = this.buildCustomParams(customParams);
|
851
|
-
// should have custom metric & dimension data that looks like
|
852
|
-
// metric_name: metric_value
|
853
|
-
// dimension_name: dimension_value
|
854
|
-
window.gtag('event', eventType, eventParams);
|
855
|
-
return true;
|
856
|
-
}
|
857
|
-
disable() {
|
858
|
-
if (this.measurementIds) {
|
859
|
-
this.measurementIds.forEach(id => {
|
860
|
-
window[`ga-disable-${id}`] = true;
|
861
|
-
});
|
862
|
-
}
|
863
|
-
}
|
864
|
-
enable() {
|
865
|
-
if (this.measurementIds) {
|
866
|
-
this.measurementIds.forEach(id => {
|
867
|
-
window[`ga-disable-${id}`] = undefined;
|
868
|
-
});
|
869
|
-
}
|
870
|
-
}
|
871
|
-
// injects configs for each measurement id
|
872
|
-
injectConfig() {
|
873
|
-
window.dataLayer = window.dataLayer || [];
|
874
|
-
window.gtag = function () { window.dataLayer.push(arguments); };
|
875
|
-
window.gtag('js', new Date());
|
876
|
-
const configOptions = {
|
877
|
-
'custom_map': this.createDimensionsAndMetricsCustomMap(this.dimensions, this.metrics),
|
878
|
-
'send_page_view': false,
|
879
|
-
'anonymize_ip': true // anonymize ip for each event/page view tracked
|
880
|
-
};
|
881
|
-
this.measurementIds.forEach(measurementId => {
|
882
|
-
window.gtag('config', measurementId, configOptions);
|
883
|
-
});
|
884
|
-
}
|
885
|
-
buildCustomParams(eventParams) {
|
886
|
-
let cleanedEventParams;
|
887
|
-
let { category, label } = eventParams;
|
888
|
-
// verify that all are valid custom metrics/dimensions
|
889
|
-
cleanedEventParams = this.verifyCustomDimensionAndMetrics(eventParams);
|
890
|
-
// ga3 syntax uses category/action/label, which have been changed
|
891
|
-
// to event_category, event_action, and event_label in ga4
|
892
|
-
if (category) {
|
893
|
-
cleanedEventParams = Object.assign(Object.assign({}, cleanedEventParams), { event_category: category });
|
894
|
-
}
|
895
|
-
if (label) {
|
896
|
-
cleanedEventParams = Object.assign(Object.assign({}, cleanedEventParams), { event_label: label });
|
897
|
-
}
|
898
|
-
return cleanedEventParams;
|
899
|
-
}
|
900
|
-
verifyCustomDimensionAndMetrics(eventParams) {
|
901
|
-
// all valid metric names and dimension names
|
902
|
-
// since we store metrics/dimensions as dimension<index>: dimension_name, we want values
|
903
|
-
const metricAndDimensionsMap = this.createDimensionsAndMetricsCustomMap(this.dimensions, this.metrics);
|
904
|
-
const metricAndDimensionNames = Object.values(metricAndDimensionsMap);
|
905
|
-
// get all keys (name of metric/dimension),
|
906
|
-
// filter out any keys not in valid names,
|
907
|
-
// and then recreate new object with filtered keys and values only
|
908
|
-
const cleanedEventParams = Object.keys(eventParams)
|
909
|
-
.filter(key => metricAndDimensionNames.includes(key))
|
910
|
-
.reduce((cur, key) => { return Object.assign(cur, { [key]: eventParams[key] }); }, {});
|
911
|
-
return cleanedEventParams;
|
912
|
-
}
|
913
|
-
createDimensionsAndMetricsCustomMap(dimensions = {}, metrics = {}) {
|
914
|
-
const metricsMap = this.createMetricCustomMap(metrics);
|
915
|
-
const dimensionsMap = this.createDimensionCustomMap(dimensions);
|
916
|
-
return Object.assign(Object.assign({}, metricsMap), dimensionsMap);
|
917
|
-
}
|
918
|
-
// under the assumption that our metrics come like { timeMetric: 1, otherMetric: 3} where metric_name: index
|
919
|
-
createMetricCustomMap(metrics = {}) {
|
920
|
-
return Object.keys(metrics)
|
921
|
-
.map(function (key) {
|
922
|
-
return {
|
923
|
-
// format of metric<Index>: metric_name
|
924
|
-
key: `metric${metrics[key]}`,
|
925
|
-
value: key
|
926
|
-
};
|
927
|
-
})
|
928
|
-
.filter((val) => val)
|
929
|
-
.reduce((acc, { key, value }) => {
|
930
|
-
acc[key] = value;
|
931
|
-
return acc;
|
932
|
-
}, {});
|
933
|
-
}
|
934
|
-
// under the assumption that our dimensions come like { someAttribute: 7, datasetId: 6} where dimension_name: index
|
935
|
-
createDimensionCustomMap(dimensions = {}) {
|
936
|
-
return Object.keys(dimensions)
|
937
|
-
.map(function (key) {
|
938
|
-
return {
|
939
|
-
// format of dimension<Index>: dimension_name
|
940
|
-
key: `dimension${dimensions[key]}`,
|
941
|
-
value: key
|
942
|
-
};
|
943
|
-
})
|
944
|
-
.filter((val) => val)
|
945
|
-
.reduce((acc, { key, value }) => {
|
946
|
-
acc[key] = value;
|
947
|
-
return acc;
|
948
|
-
}, {});
|
949
|
-
}
|
950
|
-
}
|
951
|
-
|
952
|
-
const consentManagerCss = ":host{display:block}.consent-panel{position:fixed;display:block;z-index:5000;bottom:0;left:0;width:100%;height:auto;text-align:center}.cookie-consent-popup-container{position:relative;display:block;bottom:0;left:0;width:100%;margin:0;padding-top:1rem;padding-bottom:1rem;transition:transform 0.5s ease-out 0s;background-color:rgba(51, 51, 51, 0.95);color:#fff}.button-container{position:static;margin-bottom:1rem;display:flex;justify-content:center;flex-wrap:wrap}.padding-end-1{padding-inline-end:1rem}.link-text{--calcite-ui-text-link:var(--calcite-color-text-inverse);--calcite-ui-brand:var(--calcite-color-text-inverse);--calcite-color-text-link:var(--calcite-color-text-inverse);--calcite-color-brand-underline:var(--calcite-color-text-inverse);--calcite-color-brand:var(--calcite-color-text-inverse)}";
|
953
|
-
|
954
|
-
const ConsentManager = class {
|
955
|
-
constructor(hostRef) {
|
956
|
-
registerInstance(this, hostRef);
|
957
|
-
this.consentGranted = createEvent(this, "consentGranted", 7);
|
958
|
-
//--------------------------------------------------------------------------
|
959
|
-
//
|
960
|
-
// Properties (protected)
|
961
|
-
//
|
962
|
-
//--------------------------------------------------------------------------
|
963
|
-
/**
|
964
|
-
* boolean: When true the user has granted consent and the telemetry instance will be avaliable
|
965
|
-
*/
|
966
|
-
this._consentGranted = false;
|
967
|
-
/**
|
968
|
-
* boolean: When true the telemetry instance has been loaded
|
969
|
-
*/
|
970
|
-
this._loaded = false;
|
971
|
-
this.firstUseVar = undefined;
|
972
|
-
this.measurementIds = undefined;
|
973
|
-
this.portal = undefined;
|
974
|
-
this._shouldRender = undefined;
|
975
|
-
this._translations = undefined;
|
976
|
-
}
|
977
|
-
//--------------------------------------------------------------------------
|
978
|
-
//
|
979
|
-
// Watch handlers
|
980
|
-
//
|
981
|
-
//--------------------------------------------------------------------------
|
982
|
-
//--------------------------------------------------------------------------
|
983
|
-
//
|
984
|
-
// Methods (public)
|
985
|
-
//
|
986
|
-
//--------------------------------------------------------------------------
|
987
|
-
/**
|
988
|
-
* Initialize and return the telemetry instance if consent has been granted
|
989
|
-
*/
|
990
|
-
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
991
|
-
async getInstance() {
|
992
|
-
if (localStorage.getItem(this.firstUseVar) === "true") {
|
993
|
-
await this._init();
|
994
|
-
return this._telemetryInstance;
|
995
|
-
}
|
996
|
-
else {
|
997
|
-
return undefined;
|
998
|
-
}
|
999
|
-
}
|
1000
|
-
//--------------------------------------------------------------------------
|
1001
|
-
//
|
1002
|
-
// Functions (lifecycle)
|
1003
|
-
//
|
1004
|
-
//--------------------------------------------------------------------------
|
1005
|
-
/**
|
1006
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
1007
|
-
*
|
1008
|
-
* @returns Promise when complete
|
1009
|
-
*/
|
1010
|
-
async componentWillLoad() {
|
1011
|
-
await this._getTranslations();
|
1012
|
-
this._shouldRender = localStorage.getItem(this.firstUseVar) === null;
|
1013
|
-
}
|
1014
|
-
/**
|
1015
|
-
* Renders the component.
|
1016
|
-
*/
|
1017
|
-
render() {
|
1018
|
-
return this._shouldRender ? (h(Host, null, h("calcite-panel", { class: "consent-panel calcite-mode-dark", id: "cookie-policy" }, h("div", { class: "cookie-consent-popup-container" }, h("div", { id: "cookie-policy-description-top", tabindex: "-1" }, h("p", null, this._translations.dearVisitor), h("p", null, this._translations.useAnalytics)), h("div", { class: "button-container" }, h("calcite-button", { appearance: "solid", class: "padding-end-1", kind: "brand", onClick: () => this._refuse() }, this._translations.refuseAnalytics), h("calcite-button", { appearance: "solid", kind: "brand", onClick: () => this._accept() }, this._translations.acceptAnalytics)), h("div", null, h("p", null, this._translations.moreInfo, "\u00A0", h("calcite-link", { class: "link-text", href: "https://www.arcgis.com/", rel: "noopener noreferrer", target: "_blank" }, this._translations.protectionPolicy), this._translations.our, "\u00A0", h("calcite-link", { class: "link-text", href: "https://www.arcgis.com/", rel: "noopener noreferrer", target: "_blank" }, this._translations.cookiePolicy, "\u00A0"), this._translations.andOur, "\u00A0", h("calcite-link", { class: "link-text", href: "https://www.arcgis.com/", rel: "noopener noreferrer", target: "_blank" }, this._translations.cookiesInventory))))))) : undefined;
|
1019
|
-
}
|
1020
|
-
/**
|
1021
|
-
* Called once after the component is loaded
|
1022
|
-
*
|
1023
|
-
* @returns Promise when complete
|
1024
|
-
*/
|
1025
|
-
async componentDidLoad() {
|
1026
|
-
this.consentGranted.emit({
|
1027
|
-
granted: localStorage.getItem(this.firstUseVar) === "true"
|
1028
|
-
});
|
1029
|
-
}
|
1030
|
-
//--------------------------------------------------------------------------
|
1031
|
-
//
|
1032
|
-
// Functions (protected)
|
1033
|
-
//
|
1034
|
-
//--------------------------------------------------------------------------
|
1035
|
-
/**
|
1036
|
-
* Fetches the component's translations
|
1037
|
-
*
|
1038
|
-
* @returns Promise when complete
|
1039
|
-
* @protected
|
1040
|
-
*/
|
1041
|
-
async _init() {
|
1042
|
-
var _a;
|
1043
|
-
if (!this._loaded && ((_a = this.measurementIds) === null || _a === void 0 ? void 0 : _a.length) > 0 && this.portal) {
|
1044
|
-
const googleAnalyticsTracker = new GoogleAnalytics({
|
1045
|
-
measurementIds: this.measurementIds
|
1046
|
-
});
|
1047
|
-
this._telemetryInstance = new Telemetry({
|
1048
|
-
plugins: [googleAnalyticsTracker],
|
1049
|
-
portal: this.portal
|
1050
|
-
});
|
1051
|
-
await this._telemetryInstance.init();
|
1052
|
-
this._loaded = true;
|
1053
|
-
}
|
1054
|
-
}
|
1055
|
-
/**
|
1056
|
-
* Store the users granting of consent
|
1057
|
-
*
|
1058
|
-
* @protected
|
1059
|
-
*/
|
1060
|
-
_accept() {
|
1061
|
-
this._consentGranted = true;
|
1062
|
-
this._handleConsent();
|
1063
|
-
}
|
1064
|
-
/**
|
1065
|
-
* Store the users refusal of consent
|
1066
|
-
*
|
1067
|
-
* @protected
|
1068
|
-
*/
|
1069
|
-
_refuse() {
|
1070
|
-
this._consentGranted = false;
|
1071
|
-
this._handleConsent();
|
1072
|
-
}
|
1073
|
-
/**
|
1074
|
-
* Store and emit the users choice for consent
|
1075
|
-
*
|
1076
|
-
* @protected
|
1077
|
-
*/
|
1078
|
-
_handleConsent() {
|
1079
|
-
this._shouldRender = false;
|
1080
|
-
localStorage.setItem(this.firstUseVar, this._consentGranted.toString());
|
1081
|
-
this.consentGranted.emit({
|
1082
|
-
granted: this._consentGranted
|
1083
|
-
});
|
1084
|
-
}
|
1085
|
-
/**
|
1086
|
-
* Fetches the component's translations
|
1087
|
-
*
|
1088
|
-
* @returns Promise when complete
|
1089
|
-
* @protected
|
1090
|
-
*/
|
1091
|
-
async _getTranslations() {
|
1092
|
-
const messages = await getLocaleComponentStrings(this.el);
|
1093
|
-
this._translations = messages[0];
|
1094
|
-
}
|
1095
|
-
get el() { return getElement(this); }
|
1096
|
-
};
|
1097
|
-
ConsentManager.style = consentManagerCss;
|
1098
|
-
|
1099
|
-
export { ConsentManager as consent_manager };
|