@esri/solutions-components 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/public-notification/resources.json +0 -2
- package/dist/assets/t9n/public-notification/resources_en.json +0 -2
- package/dist/cjs/calcite-input-message_5.cjs.entry.js +1342 -18
- package/dist/cjs/{calcite-input-message.calcite-notice.map-select-tools.pdf-download.refine-selection-da276a1c.js → downloadUtils-27dbd8b9.js} +205 -1383
- package/dist/cjs/{index.es-176629d8.js → index.es-40d341ed.js} +3 -13
- package/dist/cjs/layer-table.cjs.entry.js +5 -15
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +2 -2
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +4 -16
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +42 -38
- package/dist/collection/components/pdf-download/pdf-download.js +9 -76
- package/dist/collection/components/public-notification/public-notification.js +3 -3
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/utils/csvUtils.js +4 -0
- package/dist/collection/utils/csvUtils.ts +7 -0
- package/dist/collection/utils/downloadUtils.js +181 -0
- package/dist/collection/utils/downloadUtils.ts +235 -0
- package/dist/collection/utils/interfaces.ts +3 -2
- package/dist/collection/utils/pdfUtils.js +7 -0
- package/dist/collection/utils/pdfUtils.ts +13 -2
- package/dist/components/downloadUtils.js +2279 -0
- package/dist/components/index.es.js +1 -1
- package/dist/components/layer-table.js +5 -16
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-search.js +1 -1
- package/dist/components/map-select-tools2.js +44 -40
- package/dist/components/pdf-download2.js +10 -2124
- package/dist/components/public-notification.js +3 -3
- package/dist/components/queryUtils.js +1 -1
- package/dist/components/refine-selection-tools2.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/esm/buffer-tools_6.entry.js +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +1 -1
- package/dist/esm/calcite-input-message_5.entry.js +1341 -13
- package/dist/esm/{calcite-input-message.calcite-notice.map-select-tools.pdf-download.refine-selection-c6f63458.js → downloadUtils-76e38a94.js} +206 -1381
- package/dist/esm/{index.es-54a6f3a3.js → index.es-489f4f08.js} +2 -12
- package/dist/esm/layer-table.entry.js +6 -16
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{mapViewUtils-63e118f8.js → mapViewUtils-02696ab6.js} +1 -1
- package/dist/esm/public-notification.entry.js +3 -3
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/{p-cc2e20c8.js → p-1bfd07e3.js} +1 -1
- package/dist/solutions-components/{p-117174e8.entry.js → p-335fce8c.entry.js} +1 -1
- package/dist/solutions-components/p-4ef94c6b.entry.js +6 -0
- package/dist/solutions-components/p-5d27b47d.entry.js +17 -0
- package/dist/solutions-components/p-92cb569a.entry.js +6 -0
- package/dist/solutions-components/{p-8a0c0935.entry.js → p-a3b60bc9.entry.js} +1 -1
- package/dist/solutions-components/{p-1e459361.js → p-bff8aa4e.js} +3 -3
- package/dist/solutions-components/p-caa7e7a7.js +437 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/csvUtils.ts +7 -0
- package/dist/solutions-components/utils/downloadUtils.ts +235 -0
- package/dist/solutions-components/utils/interfaces.ts +3 -2
- package/dist/solutions-components/utils/pdfUtils.ts +13 -2
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +11 -5
- package/dist/types/components/pdf-download/pdf-download.d.ts +0 -18
- package/dist/types/utils/downloadUtils.d.ts +40 -0
- package/dist/types/utils/interfaces.d.ts +2 -3
- package/dist/types/utils/pdfUtils.d.ts +3 -1
- package/package.json +1 -1
- package/dist/cjs/csvUtils-3a56c6d8.js +0 -54
- package/dist/components/csvUtils.js +0 -52
- package/dist/esm/csvUtils-23b5418f.js +0 -52
- package/dist/solutions-components/p-3069e3b7.js +0 -21
- package/dist/solutions-components/p-6d28f991.entry.js +0 -6
- package/dist/solutions-components/p-80f5e33c.js +0 -416
- package/dist/solutions-components/p-8927862a.entry.js +0 -6
- package/dist/solutions-components/p-e69c58e5.entry.js +0 -6
@@ -22,5 +22,5 @@ const patchBrowser = () => {
|
|
22
22
|
|
23
23
|
patchBrowser().then(options => {
|
24
24
|
globalScripts();
|
25
|
-
return bootstrapLazy(JSON.parse("[[\"public-notification\",[[0,\"public-notification\",{\"addresseeLayerIds\":[16],\"bufferColor\":[8,\"buffer-color\"],\"bufferOutlineColor\":[8,\"buffer-outline-color\"],\"customLabelEnabled\":[4,\"custom-label-enabled\"],\"defaultBufferDistance\":[2,\"default-buffer-distance\"],\"defaultBufferUnit\":[1,\"default-buffer-unit\"],\"featureEffect\":[16],\"featureHighlightEnabled\":[4,\"feature-highlight-enabled\"],\"mapView\":[16],\"noResultText\":[1,\"no-result-text\"],\"searchConfiguration\":[16],\"selectionLayerIds\":[16],\"showRefineSelection\":[4,\"show-refine-selection\"],\"showSearchSettings\":[4,\"show-search-settings\"],\"addresseeLayer\":[32],\"_downloadActive\":[32],\"_numSelected\":[32],\"_pageType\":[32],\"_saveEnabled\":[32],\"_selectionSets\":[32],\"_sketchType\":[32],\"_selectionWorkflowType\":[32],\"_showLayerSelectionChangeModal\":[32],\"_translations\":[32]},[[8,\"distanceChanged\",\"distanceChanged\"],[8,\"selectionSetsChanged\",\"selectionSetsChanged\"],[8,\"sketchTypeChange\",\"sketchTypeChange\"],[8,\"unitChanged\",\"unitChanged\"]]]]],[\"solution-configuration\",[[0,\"solution-configuration\",{\"authentication\":[1040],\"serializedAuthentication\":[1025,\"serialized-authentication\"],\"solutionItemId\":[1537,\"solution-item-id\"],\"showLoading\":[1540,\"show-loading\"],\"_currentEditItemId\":[32],\"_organizationVariables\":[32],\"_solutionContentsComponent\":[32],\"_solutionIsLoaded\":[32],\"_solutionVariables\":[32],\"_templateHierarchy\":[32],\"_translations\":[32],\"_treeOpen\":[32],\"getSpatialReferenceInfo\":[64],\"saveSolution\":[64],\"unloadSolution\":[64]},[[8,\"solutionItemSelected\",\"_solutionItemSelected\"]]]]],[\"layer-table\",[[1,\"layer-table\",{\"mapView\":[16],\"_translations\":[32],\"_selectedIndexes\":[32]}]]],[\"map-card\",[[0,\"map-card\",{\"mapInfos\":[16],\"_mapListExpanded\":[32],\"_mapView\":[32],\"_translations\":[32],\"_webMapId\":[32]}]]],[\"calcite-color-picker\",[[1,\"calcite-color-picker\",{\"allowEmpty\":[516,\"allow-empty\"],\"appearance\":[513],\"color\":[1040],\"disabled\":[516],\"format\":[513],\"hideHex\":[516,\"hide-hex\"],\"hideChannels\":[516,\"hide-channels\"],\"hideSaved\":[516,\"hide-saved\"],\"intlB\":[1,\"intl-b\"],\"intlBlue\":[1,\"intl-blue\"],\"intlDeleteColor\":[1,\"intl-delete-color\"],\"intlG\":[1,\"intl-g\"],\"intlGreen\":[1,\"intl-green\"],\"intlH\":[1,\"intl-h\"],\"intlHsv\":[1,\"intl-hsv\"],\"intlHex\":[1,\"intl-hex\"],\"intlHue\":[1,\"intl-hue\"],\"intlNoColor\":[1,\"intl-no-color\"],\"intlR\":[1,\"intl-r\"],\"intlRed\":[1,\"intl-red\"],\"intlRgb\":[1,\"intl-rgb\"],\"intlS\":[1,\"intl-s\"],\"intlSaturation\":[1,\"intl-saturation\"],\"intlSaveColor\":[1,\"intl-save-color\"],\"intlSaved\":[1,\"intl-saved\"],\"intlV\":[1,\"intl-v\"],\"intlValue\":[1,\"intl-value\"],\"scale\":[513],\"storageId\":[513,\"storage-id\"],\"numberingSystem\":[513,\"numbering-system\"],\"value\":[1025],\"colorFieldAndSliderInteractive\":[32],\"channelMode\":[32],\"channels\":[32],\"dimensions\":[32],\"savedColors\":[32],\"colorFieldScopeTop\":[32],\"colorFieldScopeLeft\":[32],\"scopeOrientation\":[32],\"hueScopeLeft\":[32],\"hueScopeTop\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"handleChannelKeyUpOrDown\"],[2,\"keyup\",\"handleChannelKeyUpOrDown\"]]]]],[\"add-record-modal\",[[1,\"add-record-modal\",{\"open\":[1028],\"_translations\":[32]}]]],[\"calcite-flow-item\",[[1,\"calcite-flow-item\",{\"closable\":[1540],\"closed\":[1540],\"beforeBack\":[16],\"description\":[1],\"disabled\":[516],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"heightScale\":[513,\"height-scale\"],\"intlBack\":[1,\"intl-back\"],\"intlClose\":[1,\"intl-close\"],\"intlOptions\":[1,\"intl-options\"],\"loading\":[516],\"menuOpen\":[516,\"menu-open\"],\"showBackButton\":[516,\"show-back-button\"],\"widthScale\":[513,\"width-scale\"],\"backButtonEl\":[32],\"setFocus\":[64],\"scrollContentTo\":[64]}]]],[\"calcite-input-date-picker\",[[1,\"calcite-input-date-picker\",{\"disabled\":[516],\"readOnly\":[516,\"read-only\"],\"value\":[1025],\"flipPlacements\":[16],\"headingLevel\":[514,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1025],\"max\":[1025],\"active\":[1540],\"open\":[1540],\"name\":[513],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"placement\":[513],\"range\":[516],\"required\":[516],\"start\":[1537],\"end\":[1537],\"overlayPositioning\":[513,\"overlay-positioning\"],\"proximitySelectionDisabled\":[4,\"proximity-selection-disabled\"],\"layout\":[513],\"effectiveLocale\":[32],\"focusedInput\":[32],\"globalAttributes\":[32],\"localeData\":[32],\"setFocus\":[64],\"reposition\":[64]},[[0,\"calciteDatePickerChange\",\"handleDateOrRangeChange\"],[0,\"calciteDatePickerRangeChange\",\"handleDateOrRangeChange\"],[0,\"calciteDaySelect\",\"calciteDaySelectHandler\"]]]]],[\"calcite-input-time-picker\",[[1,\"calcite-input-time-picker\",{\"active\":[1540],\"open\":[1540],\"disabled\":[516],\"readOnly\":[516,\"read-only\"],\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025],\"name\":[1],\"numberingSystem\":[1,\"numbering-system\"],\"required\":[516],\"scale\":[513],\"overlayPositioning\":[1,\"overlay-positioning\"],\"placement\":[513],\"step\":[2],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"reposition\":[64]},[[0,\"click\",\"clickHandler\"],[0,\"calciteInternalTimePickerBlur\",\"timePickerBlurHandler\"],[0,\"calciteInternalTimePickerFocus\",\"timePickerFocusHandler\"]]]]],[\"calcite-action-pad\",[[1,\"calcite-action-pad\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"layout\":[513],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"position\":[513],\"scale\":[513],\"setFocus\":[64]}]]],[\"card-manager\",[[1,\"card-manager\",{\"_translations\":[32]}]]],[\"calcite-card\",[[1,\"calcite-card\",{\"loading\":[516],\"selected\":[1540],\"selectable\":[516],\"intlLoading\":[1,\"intl-loading\"],\"intlSelect\":[1,\"intl-select\"],\"intlDeselect\":[1,\"intl-deselect\"],\"thumbnailPosition\":[513,\"thumbnail-position\"]}]]],[\"calcite-fab\",[[1,\"calcite-fab\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"icon\":[513],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-filter\",[[1,\"calcite-filter\",{\"items\":[1040],\"disabled\":[516],\"filteredItems\":[1040],\"intlClear\":[1,\"intl-clear\"],\"intlLabel\":[1,\"intl-label\"],\"placeholder\":[1],\"scale\":[513],\"value\":[1025],\"setFocus\":[64]}]]],[\"calcite-inline-editable\",[[1,\"calcite-inline-editable\",{\"disabled\":[516],\"editingEnabled\":[1540,\"editing-enabled\"],\"loading\":[1540],\"controls\":[516],\"intlEnableEditing\":[513,\"intl-enable-editing\"],\"intlCancelEditing\":[513,\"intl-cancel-editing\"],\"intlConfirmChanges\":[513,\"intl-confirm-changes\"],\"scale\":[1537],\"afterConfirm\":[16],\"setFocus\":[64]},[[0,\"calciteInternalInputBlur\",\"blurHandler\"]]]]],[\"calcite-tile-select\",[[1,\"calcite-tile-select\",{\"checked\":[1540],\"description\":[513],\"disabled\":[516],\"heading\":[513],\"hidden\":[516],\"icon\":[513],\"name\":[520],\"inputEnabled\":[516,\"input-enabled\"],\"inputAlignment\":[513,\"input-alignment\"],\"type\":[513],\"value\":[8],\"width\":[513],\"focused\":[32],\"setFocus\":[64]},[[0,\"calciteCheckboxChange\",\"checkboxChangeHandler\"],[0,\"calciteInternalCheckboxFocus\",\"checkboxFocusBlurHandler\"],[0,\"calciteInternalCheckboxBlur\",\"checkboxFocusBlurHandler\"],[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"],[0,\"calciteInternalRadioButtonCheckedChange\",\"radioButtonCheckedChangeHandler\"],[0,\"calciteInternalRadioButtonFocus\",\"radioButtonFocusBlurHandler\"],[0,\"calciteInternalRadioButtonBlur\",\"radioButtonFocusBlurHandler\"],[0,\"click\",\"click\"],[1,\"pointerenter\",\"mouseenter\"],[1,\"pointerleave\",\"mouseleave\"]]]]],[\"calcite-tip\",[[1,\"calcite-tip\",{\"dismissed\":[1540],\"nonDismissible\":[516,\"non-dismissible\"],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"selected\":[516],\"intlClose\":[1,\"intl-close\"]}]]],[\"calcite-tip-manager\",[[1,\"calcite-tip-manager\",{\"closed\":[1540],\"headingLevel\":[514,\"heading-level\"],\"intlClose\":[1,\"intl-close\"],\"intlDefaultTitle\":[1,\"intl-default-title\"],\"intlNext\":[1,\"intl-next\"],\"intlPaginationLabel\":[1,\"intl-pagination-label\"],\"intlPrevious\":[1,\"intl-previous\"],\"selectedIndex\":[32],\"tips\":[32],\"total\":[32],\"direction\":[32],\"groupTitle\":[32],\"nextTip\":[64],\"previousTip\":[64]}]]],[\"calcite-alert\",[[1,\"calcite-alert\",{\"active\":[1540],\"open\":[1540],\"autoDismiss\":[516,\"auto-dismiss\"],\"autoDismissDuration\":[513,\"auto-dismiss-duration\"],\"color\":[513],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"label\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"placement\":[513],\"scale\":[513],\"effectiveLocale\":[32],\"queue\":[32],\"queueLength\":[32],\"queued\":[32],\"requestedIcon\":[32],\"setFocus\":[64]},[[8,\"calciteInternalAlertSync\",\"alertSync\"],[8,\"calciteInternalAlertRegister\",\"alertRegister\"]]]]],[\"calcite-block-section\",[[1,\"calcite-block-section\",{\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"open\":[1540],\"status\":[513],\"text\":[1],\"toggleDisplay\":[513,\"toggle-display\"]}]]],[\"calcite-input-number\",[[1,\"calcite-input-number\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"localeFormat\":[4,\"locale-format\"],\"max\":[514],\"min\":[514],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"numberButtonType\":[513,\"number-button-type\"],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"step\":[520],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"selectText\":[64]}]]],[\"calcite-input-text\",[[1,\"calcite-input-text\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"value\":[1025],\"setFocus\":[64],\"selectText\":[64]}]]],[\"calcite-rating\",[[1,\"calcite-rating\",{\"scale\":[513],\"value\":[1538],\"readOnly\":[516,\"read-only\"],\"disabled\":[516],\"showChip\":[516,\"show-chip\"],\"count\":[514],\"average\":[514],\"name\":[513],\"intlRating\":[1,\"intl-rating\"],\"intlStars\":[1,\"intl-stars\"],\"required\":[516],\"hoverValue\":[32],\"focusValue\":[32],\"hasFocus\":[32],\"setFocus\":[64]},[[0,\"blur\",\"blurHandler\"]]]]],[\"calcite-accordion-item\",[[1,\"calcite-accordion-item\",{\"active\":[1540],\"expanded\":[1540],\"itemTitle\":[1,\"item-title\"],\"itemSubtitle\":[1,\"item-subtitle\"],\"heading\":[1],\"description\":[1],\"icon\":[1537],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"]},[[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteInternalAccordionChange\",\"updateActiveItemOnChange\"]]]]],[\"calcite-avatar\",[[1,\"calcite-avatar\",{\"scale\":[513],\"thumbnail\":[513],\"fullName\":[513,\"full-name\"],\"username\":[513],\"userId\":[513,\"user-id\"],\"thumbnailFailedToLoad\":[32]}]]],[\"calcite-pagination\",[[1,\"calcite-pagination\",{\"groupSeparator\":[516,\"group-separator\"],\"num\":[514],\"numberingSystem\":[1,\"numbering-system\"],\"start\":[1538],\"total\":[514],\"textLabelNext\":[1,\"text-label-next\"],\"textLabelPrevious\":[1,\"text-label-previous\"],\"scale\":[513],\"effectiveLocale\":[32],\"nextPage\":[64],\"previousPage\":[64]}]]],[\"calcite-stepper-item\",[[1,\"calcite-stepper-item\",{\"active\":[1540],\"selected\":[1540],\"complete\":[516],\"error\":[516],\"disabled\":[516],\"itemTitle\":[1,\"item-title\"],\"heading\":[1],\"itemSubtitle\":[1,\"item-subtitle\"],\"description\":[1],\"layout\":[1537],\"icon\":[1028],\"numbered\":[1028],\"scale\":[1537],\"effectiveLocale\":[32],\"setFocus\":[64]},[[16,\"calciteInternalStepperItemChange\",\"updateActiveItemOnChange\"]]]]],[\"calcite-accordion\",[[1,\"calcite-accordion\",{\"appearance\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconType\":[513,\"icon-type\"],\"scale\":[513],\"selectionMode\":[513,\"selection-mode\"]},[[0,\"calciteInternalAccordionItemKeyEvent\",\"calciteInternalAccordionItemKeyEvent\"],[0,\"calciteInternalAccordionItemRegister\",\"registerCalciteAccordionItem\"],[0,\"calciteInternalAccordionItemSelect\",\"updateActiveItemOnChange\"]]]]],[\"calcite-combobox-item-group\",[[1,\"calcite-combobox-item-group\",{\"ancestors\":[1040],\"label\":[1]}]]],[\"calcite-flow\",[[1,\"calcite-flow\",{\"flowDirection\":[32],\"itemCount\":[32],\"items\":[32],\"back\":[64]},[[0,\"calciteFlowItemBackClick\",\"handleItemBackClick\"],[0,\"calcitePanelBackClick\",\"handleItemBackClick\"]]]]],[\"calcite-list-item-group\",[[1,\"calcite-list-item-group\",{\"heading\":[513],\"headingLevel\":[514,\"heading-level\"]}]]],[\"calcite-option-group\",[[1,\"calcite-option-group\",{\"disabled\":[516],\"label\":[1]}]]],[\"calcite-pick-list-group\",[[1,\"calcite-pick-list-group\",{\"groupTitle\":[513,\"group-title\"],\"headingLevel\":[514,\"heading-level\"]}]]],[\"calcite-popover-manager\",[[1,\"calcite-popover-manager\",{\"selector\":[513],\"autoClose\":[516,\"auto-close\"]}]]],[\"calcite-radio-button\",[[1,\"calcite-radio-button\",{\"checked\":[1540],\"disabled\":[516],\"focused\":[1540],\"guid\":[1537],\"hidden\":[516],\"hovered\":[1540],\"label\":[1],\"name\":[513],\"required\":[516],\"scale\":[513],\"value\":[1032],\"setFocus\":[64],\"emitCheckedChange\":[64]},[[1,\"pointerenter\",\"mouseenter\"],[1,\"pointerleave\",\"mouseleave\"]]]]],[\"calcite-radio-button-group\",[[1,\"calcite-radio-button-group\",{\"disabled\":[516],\"hidden\":[516],\"layout\":[513],\"name\":[513],\"required\":[516],\"scale\":[513]},[[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"]]]]],[\"calcite-shell-center-row\",[[1,\"calcite-shell-center-row\",{\"detached\":[516],\"heightScale\":[513,\"height-scale\"],\"position\":[513]}]]],[\"calcite-sortable-list\",[[1,\"calcite-sortable-list\",{\"dragSelector\":[513,\"drag-selector\"],\"group\":[513],\"handleSelector\":[513,\"handle-selector\"],\"layout\":[513],\"disabled\":[516],\"loading\":[516],\"handleActivated\":[32]},[[0,\"calciteHandleNudge\",\"calciteHandleNudgeHandler\"]]]]],[\"calcite-stepper\",[[1,\"calcite-stepper\",{\"icon\":[516],\"layout\":[513],\"numbered\":[516],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"nextStep\":[64],\"prevStep\":[64],\"goToStep\":[64],\"startStep\":[64],\"endStep\":[64]},[[0,\"calciteInternalStepperItemKeyEvent\",\"calciteInternalStepperItemKeyEvent\"],[0,\"calciteInternalStepperItemRegister\",\"registerItem\"],[0,\"calciteInternalStepperItemSelect\",\"updateItem\"],[0,\"calciteInternalUserRequestedStepperItemSelect\",\"handleUserRequestedStepperItemSelect\"]]]]],[\"calcite-tile-select-group\",[[1,\"calcite-tile-select-group\",{\"disabled\":[516],\"layout\":[513]}]]],[\"calcite-tip-group\",[[1,\"calcite-tip-group\",{\"groupTitle\":[1,\"group-title\"]}]]],[\"calcite-tooltip-manager\",[[1,\"calcite-tooltip-manager\",{\"selector\":[513]}]]],[\"comment-card\",[[1,\"comment-card\"]]],[\"crowdsource-manager\",[[1,\"crowdsource-manager\"]]],[\"crowdsource-reporter\",[[1,\"crowdsource-reporter\"]]],[\"list-item\",[[1,\"list-item\"]]],[\"deduct-calculator\",[[1,\"deduct-calculator\"]]],[\"pci-calculator\",[[1,\"pci-calculator\",{\"showAddDeduct\":[32]}]]],[\"map-search\",[[0,\"map-search\",{\"mapView\":[16],\"searchConfiguration\":[16],\"_searchTerm\":[32],\"_translations\":[32],\"clear\":[64]}]]],[\"store-manager\",[[0,\"store-manager\",{\"value\":[1537],\"templates\":[1040],\"authentication\":[1040]}]]],[\"calcite-color-picker-hex-input\",[[1,\"calcite-color-picker-hex-input\",{\"allowEmpty\":[4,\"allow-empty\"],\"intlHex\":[1,\"intl-hex\"],\"intlNoColor\":[1,\"intl-no-color\"],\"scale\":[513],\"value\":[1537],\"numberingSystem\":[1,\"numbering-system\"],\"internalColor\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"onInputKeyDown\"]]]]],[\"calcite-date-picker\",[[1,\"calcite-date-picker\",{\"activeRange\":[513,\"active-range\"],\"value\":[1025],\"headingLevel\":[514,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1537],\"max\":[1537],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"range\":[516],\"start\":[1537],\"end\":[1537],\"proximitySelectionDisabled\":[516,\"proximity-selection-disabled\"],\"activeDate\":[32],\"activeStartDate\":[32],\"activeEndDate\":[32],\"globalAttributes\":[32],\"effectiveLocale\":[32],\"localeData\":[32],\"hoverRange\":[32]}]]],[\"calcite-tile\",[[1,\"calcite-tile\",{\"active\":[516],\"description\":[513],\"disabled\":[516],\"embed\":[516],\"focused\":[516],\"heading\":[513],\"hidden\":[516],\"href\":[513],\"icon\":[513]}]]],[\"calcite-time-picker\",[[1,\"calcite-time-picker\",{\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025],\"scale\":[513],\"step\":[514],\"numberingSystem\":[1,\"numbering-system\"],\"value\":[1025],\"effectiveLocale\":[32],\"hour\":[32],\"hourCycle\":[32],\"localizedHour\":[32],\"localizedHourSuffix\":[32],\"localizedMeridiem\":[32],\"localizedMinute\":[32],\"localizedMinuteSuffix\":[32],\"localizedSecond\":[32],\"localizedSecondSuffix\":[32],\"meridiem\":[32],\"minute\":[32],\"second\":[32],\"showSecond\":[32],\"setFocus\":[64]},[[0,\"blur\",\"hostBlurHandler\"],[0,\"focus\",\"hostFocusHandler\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-loader\",[[1,\"calcite-loader\",{\"active\":[516],\"inline\":[516],\"label\":[1],\"scale\":[513],\"type\":[513],\"value\":[2],\"text\":[1],\"noPadding\":[516,\"no-padding\"]}]]],[\"calcite-block_2\",[[1,\"calcite-block\",{\"collapsible\":[516],\"disabled\":[516],\"dragHandle\":[516,\"drag-handle\"],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"intlLoading\":[1,\"intl-loading\"],\"intlOptions\":[1,\"intl-options\"],\"loading\":[516],\"open\":[1540],\"status\":[513],\"summary\":[1],\"description\":[1],\"disablePadding\":[516,\"disable-padding\"]}],[1,\"calcite-pick-list\",{\"disabled\":[516],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"headingLevel\":[514,\"heading-level\"],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[516,\"selection-follows-focus\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteInternalListItemPropsChange\",\"calciteInternalListItemPropsChangeHandler\"],[0,\"calciteInternalListItemValueChange\",\"calciteInternalListItemValueChangeHandler\"],[0,\"focusout\",\"calciteListFocusOutHandler\"]]]]],[\"info-card_2\",[[1,\"media-card\",{\"values\":[16],\"_index\":[32],\"_translations\":[32]}],[1,\"info-card\",{\"cardTitle\":[1,\"card-title\"],\"values\":[16]}]]],[\"calcite-handle\",[[1,\"calcite-handle\",{\"activated\":[1540],\"textTitle\":[513,\"text-title\"],\"setFocus\":[64]}]]],[\"calcite-link\",[[1,\"calcite-link\",{\"disabled\":[516],\"download\":[520],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"rel\":[1],\"target\":[1],\"setFocus\":[64]},[[0,\"click\",\"clickHandler\"]]]]],[\"calcite-color-picker-swatch\",[[1,\"calcite-color-picker-swatch\",{\"active\":[516],\"color\":[1],\"scale\":[513]}]]],[\"calcite-dropdown\",[[1,\"calcite-dropdown\",{\"active\":[1540],\"open\":[1540],\"disableCloseOnSelect\":[516,\"disable-close-on-select\"],\"disabled\":[516],\"flipPlacements\":[16],\"maxItems\":[514,\"max-items\"],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"selectedItems\":[1040],\"type\":[513],\"width\":[513],\"reposition\":[64]},[[9,\"pointerdown\",\"closeCalciteDropdownOnClick\"],[0,\"calciteInternalDropdownCloseRequest\",\"closeCalciteDropdownOnEvent\"],[8,\"calciteDropdownOpen\",\"closeCalciteDropdownOnOpenEvent\"],[1,\"pointerenter\",\"mouseEnterHandler\"],[1,\"pointerleave\",\"mouseLeaveHandler\"],[0,\"calciteInternalDropdownItemKeyEvent\",\"calciteInternalDropdownItemKeyEvent\"],[0,\"calciteInternalDropdownItemSelect\",\"handleItemSelect\"]]]]],[\"calcite-scrim\",[[1,\"calcite-scrim\",{\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516]}]]],[\"calcite-checkbox\",[[1,\"calcite-checkbox\",{\"checked\":[1540],\"disabled\":[516],\"guid\":[1537],\"hovered\":[1540],\"indeterminate\":[1540],\"label\":[1],\"name\":[520],\"required\":[516],\"scale\":[513],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-label\",[[1,\"calcite-label\",{\"alignment\":[513],\"status\":[513],\"for\":[513],\"scale\":[513],\"layout\":[513],\"disabled\":[516],\"disableSpacing\":[516,\"disable-spacing\"]}]]],[\"calcite-icon\",[[1,\"calcite-icon\",{\"icon\":[513],\"flipRtl\":[516,\"flip-rtl\"],\"scale\":[513],\"textLabel\":[1,\"text-label\"],\"pathData\":[32],\"visible\":[32]}]]],[\"calcite-action\",[[1,\"calcite-action\",{\"active\":[516],\"alignment\":[513],\"appearance\":[513],\"compact\":[516],\"disabled\":[516],\"icon\":[1],\"indicator\":[516],\"intlLoading\":[1,\"intl-loading\"],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-action-menu_2\",[[1,\"calcite-action-menu\",{\"expanded\":[516],\"flipPlacements\":[16],\"label\":[1],\"open\":[1540],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"menuButtonEl\":[32],\"activeMenuItemIndex\":[32],\"setFocus\":[64]},[[9,\"pointerdown\",\"closeCalciteActionMenuOnClick\"]]],[1,\"calcite-popover\",{\"autoClose\":[516,\"auto-close\"],\"closeButton\":[516,\"close-button\"],\"dismissible\":[1540],\"closable\":[1540],\"disableFlip\":[516,\"disable-flip\"],\"disablePointer\":[516,\"disable-pointer\"],\"flipPlacements\":[16],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[1540],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"triggerDisabled\":[516,\"trigger-disabled\"],\"intlClose\":[1,\"intl-close\"],\"effectiveReferenceElement\":[32],\"reposition\":[64],\"setFocus\":[64],\"toggle\":[64]}]]],[\"solution-contents_3\",[[0,\"solution-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"solutionVariables\":[1537,\"solution-variables\"],\"organizationVariables\":[1537,\"organization-variables\"],\"itemType\":[32],\"_translations\":[32]}],[0,\"solution-spatial-ref\",{\"defaultWkid\":[1538,\"default-wkid\"],\"locked\":[1540],\"value\":[1537],\"services\":[1040],\"loaded\":[32],\"spatialRef\":[32],\"_srSearchText\":[32],\"_translations\":[32],\"createSpatialRefDisplay\":[64],\"getSpatialRef\":[64],\"wkidToDisplay\":[64]}],[0,\"solution-contents\",{\"selectedItemId\":[1537,\"selected-item-id\"],\"templateHierarchy\":[1040]}]]],[\"calcite-modal\",[[1,\"calcite-modal\",{\"active\":[1540],\"open\":[1540],\"beforeClose\":[16],\"disableCloseButton\":[516,\"disable-close-button\"],\"disableOutsideClose\":[516,\"disable-outside-close\"],\"intlClose\":[1,\"intl-close\"],\"docked\":[516],\"disableEscape\":[516,\"disable-escape\"],\"scale\":[513],\"width\":[520],\"fullscreen\":[516],\"color\":[513],\"backgroundColor\":[513,\"background-color\"],\"noPadding\":[516,\"no-padding\"],\"hasFooter\":[32],\"isOpen\":[32],\"focusElement\":[64],\"setFocus\":[64],\"scrollContent\":[64]},[[8,\"keydown\",\"handleEscape\"]]]]],[\"calcite-dropdown-group_4\",[[1,\"edit-record-modal\",{\"open\":[1028],\"_translations\":[32]}],[1,\"calcite-split-button\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"active\":[1540],\"dropdownIconType\":[513,\"dropdown-icon-type\"],\"dropdownLabel\":[513,\"dropdown-label\"],\"loading\":[516],\"overlayPositioning\":[513,\"overlay-positioning\"],\"primaryIconEnd\":[513,\"primary-icon-end\"],\"primaryIconFlipRtl\":[513,\"primary-icon-flip-rtl\"],\"primaryIconStart\":[513,\"primary-icon-start\"],\"primaryLabel\":[513,\"primary-label\"],\"primaryText\":[513,\"primary-text\"],\"scale\":[513],\"width\":[513]}],[1,\"calcite-dropdown-item\",{\"active\":[1540],\"selected\":[1540],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"href\":[513],\"label\":[1],\"rel\":[513],\"target\":[513],\"setFocus\":[64]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteInternalDropdownItemChange\",\"updateActiveItemOnChange\"]]],[1,\"calcite-dropdown-group\",{\"groupTitle\":[513,\"group-title\"],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513]},[[0,\"calciteInternalDropdownItemSelect\",\"updateActiveItemOnChange\"]]]]],[\"calcite-list_2\",[[1,\"calcite-list\",{\"disabled\":[516],\"headingLevel\":[514,\"heading-level\"],\"setFocus\":[64]}],[1,\"calcite-list-item\",{\"nonInteractive\":[516,\"non-interactive\"],\"description\":[1],\"disabled\":[516],\"label\":[1],\"setFocus\":[64]}]]],[\"calcite-graph\",[[1,\"calcite-graph\",{\"data\":[16],\"colorStops\":[16],\"highlightMin\":[2,\"highlight-min\"],\"highlightMax\":[2,\"highlight-max\"],\"min\":[514],\"max\":[514]}]]],[\"calcite-input-message_5\",[[4,\"map-select-tools\",{\"bufferColor\":[8,\"buffer-color\"],\"bufferOutlineColor\":[8,\"buffer-outline-color\"],\"enabledLayerIds\":[16],\"defaultBufferDistance\":[2,\"default-buffer-distance\"],\"defaultBufferUnit\":[1,\"default-buffer-unit\"],\"geometries\":[16],\"isUpdate\":[4,\"is-update\"],\"mapView\":[16],\"searchConfiguration\":[16],\"selectionSet\":[16],\"selectLayerView\":[16],\"showBufferTools\":[4,\"show-buffer-tools\"],\"_layerSelectChecked\":[32],\"_searchTerm\":[32],\"_translations\":[32],\"_workflowType\":[32],\"clearSelection\":[64],\"getSelection\":[64]},[[8,\"labelChange\",\"labelChange\"],[8,\"searchConfigurationChange\",\"searchConfigurationChangeChanged\"],[8,\"sketchGraphicsChange\",\"sketchGraphicsChange\"],[8,\"refineSelectionGraphicsChange\",\"refineSelectionGraphicsChange\"]]],[0,\"refine-selection\",{\"addresseeLayer\":[16],\"enabledLayerIds\":[16],\"mapView\":[16],\"selectionSets\":[1040],\"GraphicsLayer\":[8,\"graphics-layer\"],\"SketchViewModel\":[8,\"sketch-view-model\"],\"_translations\":[32]},[[8,\"refineSelectionIdsChange\",\"refineSelectionIdsChange\"]]],[1,\"pdf-download\",{\"disabled\":[4],\"layerView\":[16],\"_translations\":[32],\"downloadCSV\":[64],\"downloadPDF\":[64]}],[1,\"calcite-input-message\",{\"active\":[516],\"icon\":[520],\"scale\":[1537],\"status\":[1537],\"type\":[513]}],[1,\"calcite-notice\",{\"active\":[1540],\"open\":[1540],\"color\":[513],\"dismissible\":[516],\"closable\":[516],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"scale\":[513],\"width\":[513],\"setFocus\":[64]}]]],[\"calcite-action-bar_2\",[[1,\"calcite-action-bar\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"layout\":[513],\"overflowActionsDisabled\":[516,\"overflow-actions-disabled\"],\"position\":[513],\"scale\":[513],\"overflowActions\":[64],\"setFocus\":[64]}],[1,\"calcite-tooltip\",{\"closeOnClick\":[516,\"close-on-click\"],\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[516],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"effectiveReferenceElement\":[32],\"reposition\":[64]}]]],[\"calcite-pick-list-item\",[[1,\"calcite-pick-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[516,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"intlRemove\":[513,\"intl-remove\"],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]}]]],[\"calcite-switch\",[[1,\"calcite-switch\",{\"disabled\":[516],\"label\":[1],\"name\":[513],\"scale\":[513],\"switched\":[1540],\"checked\":[1540],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-action-group\",[[1,\"calcite-action-group\",{\"expanded\":[516],\"layout\":[513],\"columns\":[514],\"intlMore\":[1,\"intl-more\"],\"menuOpen\":[1540,\"menu-open\"],\"scale\":[513]}]]],[\"calcite-date-picker-day_3\",[[1,\"calcite-date-picker-month\",{\"selectedDate\":[16],\"activeDate\":[16],\"startDate\":[16],\"endDate\":[16],\"min\":[16],\"max\":[16],\"scale\":[513],\"localeData\":[16],\"hoverRange\":[16]},[[1,\"pointerout\",\"mouseoutHandler\"]]],[1,\"calcite-date-picker-month-header\",{\"selectedDate\":[16],\"activeDate\":[16],\"headingLevel\":[2,\"heading-level\"],\"min\":[16],\"max\":[16],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"scale\":[513],\"localeData\":[16],\"globalAttributes\":[32],\"nextMonthDate\":[32],\"prevMonthDate\":[32]}],[1,\"calcite-date-picker-day\",{\"day\":[2],\"disabled\":[516],\"currentMonth\":[516,\"current-month\"],\"selected\":[516],\"highlighted\":[516],\"range\":[516],\"startOfRange\":[516,\"start-of-range\"],\"endOfRange\":[516,\"end-of-range\"],\"rangeHover\":[516,\"range-hover\"],\"active\":[516],\"scale\":[513],\"value\":[16]},[[1,\"pointerover\",\"mouseoverHandler\"]]]]],[\"calcite-panel_2\",[[1,\"calcite-shell\",{\"contentBehind\":[516,\"content-behind\"]}],[1,\"calcite-panel\",{\"dismissed\":[1540],\"closed\":[1540],\"beforeBack\":[16],\"disabled\":[516],\"dismissible\":[1540],\"closable\":[1540],\"headingLevel\":[514,\"heading-level\"],\"showBackButton\":[516,\"show-back-button\"],\"intlBack\":[1,\"intl-back\"],\"heightScale\":[513,\"height-scale\"],\"widthScale\":[513,\"width-scale\"],\"loading\":[516],\"intlClose\":[1,\"intl-close\"],\"intlOptions\":[1,\"intl-options\"],\"heading\":[1],\"summary\":[1],\"description\":[1],\"menuOpen\":[516,\"menu-open\"],\"hasStartActions\":[32],\"hasEndActions\":[32],\"hasMenuItems\":[32],\"hasHeaderContent\":[32],\"hasFooterContent\":[32],\"hasFooterActions\":[32],\"hasFab\":[32],\"setFocus\":[64],\"scrollContentTo\":[64]}]]],[\"calcite-chip\",[[1,\"calcite-chip\",{\"appearance\":[513],\"color\":[513],\"dismissible\":[1540],\"closable\":[1540],\"dismissLabel\":[1,\"dismiss-label\"],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"scale\":[513],\"value\":[8],\"closed\":[1540],\"setFocus\":[64]}]]],[\"calcite-option_2\",[[1,\"calcite-select\",{\"disabled\":[516],\"label\":[1],\"name\":[513],\"required\":[516],\"scale\":[513],\"value\":[1025],\"selectedOption\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteInternalOptionChange\",\"handleOptionOrGroupChange\"],[0,\"calciteInternalOptionGroupChange\",\"handleOptionOrGroupChange\"]]],[1,\"calcite-option\",{\"disabled\":[516],\"label\":[1025],\"selected\":[516],\"value\":[1032]}]]],[\"calcite-combobox_3\",[[0,\"map-layer-picker\",{\"enabledLayerIds\":[16],\"mapView\":[16],\"selectedLayerIds\":[1040],\"selectionMode\":[1537,\"selection-mode\"],\"layerIds\":[32]}],[1,\"calcite-combobox\",{\"active\":[1540],\"open\":[1540],\"disabled\":[516],\"label\":[1],\"placeholder\":[1],\"placeholderIcon\":[513,\"placeholder-icon\"],\"maxItems\":[514,\"max-items\"],\"name\":[513],\"allowCustomValues\":[516,\"allow-custom-values\"],\"overlayPositioning\":[513,\"overlay-positioning\"],\"required\":[516],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513],\"value\":[1025],\"intlRemoveTag\":[1,\"intl-remove-tag\"],\"flipPlacements\":[16],\"items\":[32],\"groupItems\":[32],\"selectedItems\":[32],\"visibleItems\":[32],\"needsIcon\":[32],\"activeItemIndex\":[32],\"activeChipIndex\":[32],\"activeDescendant\":[32],\"text\":[32],\"reposition\":[64],\"setFocus\":[64]},[[5,\"pointerdown\",\"documentClickHandler\"],[0,\"calciteComboboxItemChange\",\"calciteComboboxItemChangeHandler\"]]],[1,\"calcite-combobox-item\",{\"disabled\":[516],\"selected\":[1540],\"active\":[516],\"ancestors\":[1040],\"guid\":[513],\"icon\":[513],\"textLabel\":[513,\"text-label\"],\"value\":[8],\"constant\":[516],\"filterDisabled\":[516,\"filter-disabled\"],\"toggleSelected\":[64]}]]],[\"calcite-input_2\",[[1,\"calcite-input\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"localeFormat\":[4,\"locale-format\"],\"max\":[514],\"min\":[514],\"maxlength\":[514],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"numberButtonType\":[513,\"number-button-type\"],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"step\":[520],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"type\":[513],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"selectText\":[64]}],[1,\"calcite-progress\",{\"type\":[513],\"value\":[2],\"label\":[1],\"text\":[1],\"reversed\":[516]}]]],[\"buffer-tools_6\",[[1,\"buffer-tools\",{\"appearance\":[1025],\"distance\":[1026],\"geometries\":[1040],\"max\":[1026],\"min\":[1026],\"sliderTicks\":[1026,\"slider-ticks\"],\"unionResults\":[1028,\"union-results\"],\"unit\":[1025],\"_translations\":[32]}],[0,\"map-draw-tools\",{\"active\":[4],\"border\":[4],\"mapView\":[1040],\"pointSymbol\":[1040],\"polylineSymbol\":[1040],\"polygonSymbol\":[1040],\"graphics\":[1040],\"_translations\":[32],\"clear\":[64]}],[1,\"refine-selection-tools\",{\"active\":[4],\"border\":[4],\"enabledLayerIds\":[16],\"graphics\":[1040],\"ids\":[16],\"layerView\":[16],\"layerViews\":[16],\"mapView\":[16],\"mode\":[1],\"refineMode\":[1,\"refine-mode\"],\"refineSelectionSet\":[1040],\"useLayerPicker\":[4,\"use-layer-picker\"],\"_selectEnabled\":[32],\"_selectionMode\":[32],\"_translations\":[32],\"reset\":[64],\"clearHighlight\":[64]}],[1,\"calcite-radio-group-item\",{\"checked\":[1540],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"iconPosition\":[513,\"icon-position\"],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"value\":[1032]}],[1,\"calcite-slider\",{\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hasHistogram\":[1540,\"has-histogram\"],\"histogram\":[16],\"histogramStops\":[16],\"labelHandles\":[516,\"label-handles\"],\"labelTicks\":[516,\"label-ticks\"],\"max\":[514],\"maxLabel\":[1,\"max-label\"],\"maxValue\":[1026,\"max-value\"],\"min\":[514],\"minLabel\":[1,\"min-label\"],\"minValue\":[1026,\"min-value\"],\"mirrored\":[516],\"name\":[513],\"numberingSystem\":[1,\"numbering-system\"],\"pageStep\":[514,\"page-step\"],\"precise\":[516],\"required\":[516],\"snap\":[516],\"step\":[514],\"ticks\":[514],\"value\":[1538],\"scale\":[513],\"effectiveLocale\":[32],\"minMaxValueRange\":[32],\"minValueDragRange\":[32],\"maxValueDragRange\":[32],\"tickValues\":[32],\"setFocus\":[64]},[[0,\"keydown\",\"keyDownHandler\"],[1,\"pointerdown\",\"pointerDownHandler\"]]],[1,\"calcite-radio-group\",{\"appearance\":[513],\"disabled\":[516],\"required\":[516],\"layout\":[513],\"name\":[513],\"scale\":[513],\"value\":[1025],\"selectedItem\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteInternalRadioGroupItemChange\",\"handleSelected\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"calcite-button\",[[1,\"calcite-button\",{\"alignment\":[513],\"appearance\":[513],\"label\":[1],\"color\":[513],\"disabled\":[516],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516],\"name\":[513],\"rel\":[513],\"form\":[1],\"round\":[516],\"scale\":[513],\"splitChild\":[520,\"split-child\"],\"target\":[513],\"type\":[1537],\"width\":[513],\"hasContent\":[32],\"hasLoader\":[32],\"setFocus\":[64]}]]],[\"calcite-tree_3\",[[0,\"solution-item-icon\",{\"isPortal\":[4,\"is-portal\"],\"type\":[1],\"typeKeywords\":[16]}],[1,\"calcite-tree-item\",{\"disabled\":[516],\"selected\":[1540],\"expanded\":[1540],\"parentExpanded\":[4,\"parent-expanded\"],\"depth\":[1538],\"hasChildren\":[1540,\"has-children\"],\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"scale\":[1537],\"indeterminate\":[516],\"selectionMode\":[1537,\"selection-mode\"]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-tree\",{\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"child\":[1540],\"scale\":[1537],\"selectionMode\":[1537,\"selection-mode\"]},[[0,\"focus\",\"onFocus\"],[0,\"focusin\",\"onFocusIn\"],[0,\"focusout\",\"onFocusOut\"],[0,\"calciteInternalTreeItemSelect\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-shell-panel_14\",[[0,\"solution-template-data\",{\"instanceid\":[1537],\"itemId\":[1537,\"item-id\"],\"organizationVariables\":[1537,\"organization-variables\"],\"solutionVariables\":[1537,\"solution-variables\"],\"varsOpen\":[1540,\"vars-open\"],\"_translations\":[32],\"value\":[32]}],[1,\"solution-resource-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"resourceFilePaths\":[32],\"resources\":[32],\"_translations\":[32]}],[0,\"solution-item-details\",{\"itemId\":[1537,\"item-id\"],\"itemDetails\":[32],\"itemEdit\":[32],\"_translations\":[32],\"thumbnail\":[32],\"thumbnailContainer\":[32]},[[0,\"calciteInputInput\",\"inputReceivedHandler\"]]],[1,\"solution-item-sharing\",{\"groupId\":[1537,\"group-id\"],\"_translations\":[32],\"sharing\":[32],\"getShareInfo\":[64]}],[1,\"solution-variables\",{\"value\":[1537],\"_solutionVariables\":[32],\"_translations\":[32]}],[1,\"calcite-value-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[4,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"handleActivated\":[1028,\"handle-activated\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]},[[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"]]],[1,\"solution-organization-variables\",{\"value\":[1537],\"_organizationVariables\":[32],\"_translations\":[32]}],[0,\"json-editor\",{\"hasChanges\":[1540,\"has-changes\"],\"hasErrors\":[1540,\"has-errors\"],\"instanceid\":[1544],\"value\":[1544],\"getEditorContents\":[64],\"prepareForDeletion\":[64],\"replaceCurrentSelection\":[64],\"reset\":[64]}],[1,\"calcite-tab-title\",{\"active\":[1540],\"selected\":[1540],\"disabled\":[516],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"layout\":[1537],\"position\":[1537],\"scale\":[1537],\"bordered\":[1540],\"tab\":[513],\"controls\":[32],\"hasText\":[32],\"getTabIndex\":[64],\"getTabIdentifier\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteInternalTabChange\",\"internalTabChangeHandler\"],[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-shell-panel\",{\"collapsed\":[516],\"detached\":[516],\"detachedHeightScale\":[513,\"detached-height-scale\"],\"widthScale\":[513,\"width-scale\"],\"position\":[513],\"intlResize\":[1,\"intl-resize\"],\"resizable\":[516],\"contentWidth\":[32]}],[1,\"calcite-tab\",{\"tab\":[513],\"active\":[1540],\"selected\":[1540],\"scale\":[1537],\"labeledBy\":[32],\"getTabIndex\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteInternalTabChange\",\"internalTabChangeHandler\"]]],[1,\"calcite-tab-nav\",{\"storageId\":[513,\"storage-id\"],\"syncId\":[513,\"sync-id\"],\"scale\":[1537],\"layout\":[1537],\"position\":[1537],\"bordered\":[1540],\"indicatorOffset\":[1026,\"indicator-offset\"],\"indicatorWidth\":[1026,\"indicator-width\"],\"selectedTab\":[32],\"selectedTabEl\":[32]},[[0,\"calciteInternalTabsFocusPrevious\",\"focusPreviousTabHandler\"],[0,\"calciteInternalTabsFocusNext\",\"focusNextTabHandler\"],[0,\"calciteInternalTabsActivate\",\"internalActivateTabHandler\"],[0,\"calciteTabsActivate\",\"activateTabHandler\"],[0,\"calciteInternalTabTitleRegister\",\"updateTabTitles\"],[16,\"calciteInternalTabChange\",\"globalInternalTabChangeHandler\"],[0,\"calciteInternalTabIconChanged\",\"iconStartChangeHandler\"]]],[1,\"calcite-tabs\",{\"layout\":[513],\"position\":[513],\"scale\":[513],\"bordered\":[1540],\"titles\":[32],\"tabs\":[32]},[[0,\"calciteInternalTabTitleRegister\",\"calciteInternalTabTitleRegister\"],[16,\"calciteTabTitleUnregister\",\"calciteTabTitleUnregister\"],[0,\"calciteInternalTabRegister\",\"calciteInternalTabRegister\"],[16,\"calciteTabUnregister\",\"calciteTabUnregister\"]]],[1,\"calcite-value-list\",{\"disabled\":[516],\"dragEnabled\":[516,\"drag-enabled\"],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"group\":[513],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[516,\"selection-follows-focus\"],\"intlDragHandleIdle\":[1,\"intl-drag-handle-idle\"],\"intlDragHandleActive\":[1,\"intl-drag-handle-active\"],\"intlDragHandleChange\":[1,\"intl-drag-handle-change\"],\"intlDragHandleCommit\":[1,\"intl-drag-handle-commit\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"focusout\",\"calciteListFocusOutHandler\"],[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteInternalListItemPropsChange\",\"calciteInternalListItemPropsChangeHandler\"],[0,\"calciteInternalListItemValueChange\",\"calciteInternalListItemValueChangeHandler\"]]]]]]"), options);
|
25
|
+
return bootstrapLazy(JSON.parse("[[\"calcite-icon\",[[1,\"calcite-icon\",{\"icon\":[513],\"flipRtl\":[516,\"flip-rtl\"],\"scale\":[513],\"textLabel\":[1,\"text-label\"],\"pathData\":[32],\"visible\":[32]}]]],[\"public-notification\",[[0,\"public-notification\",{\"addresseeLayerIds\":[16],\"bufferColor\":[8,\"buffer-color\"],\"bufferOutlineColor\":[8,\"buffer-outline-color\"],\"customLabelEnabled\":[4,\"custom-label-enabled\"],\"defaultBufferDistance\":[2,\"default-buffer-distance\"],\"defaultBufferUnit\":[1,\"default-buffer-unit\"],\"featureEffect\":[16],\"featureHighlightEnabled\":[4,\"feature-highlight-enabled\"],\"mapView\":[16],\"noResultText\":[1,\"no-result-text\"],\"searchConfiguration\":[1040],\"selectionLayerIds\":[16],\"showRefineSelection\":[4,\"show-refine-selection\"],\"showSearchSettings\":[4,\"show-search-settings\"],\"addresseeLayer\":[32],\"_downloadActive\":[32],\"_numSelected\":[32],\"_pageType\":[32],\"_saveEnabled\":[32],\"_selectionSets\":[32],\"_sketchType\":[32],\"_selectionWorkflowType\":[32],\"_showLayerSelectionChangeModal\":[32],\"_translations\":[32]},[[8,\"distanceChanged\",\"distanceChanged\"],[8,\"selectionSetsChanged\",\"selectionSetsChanged\"],[8,\"sketchTypeChange\",\"sketchTypeChange\"],[8,\"unitChanged\",\"unitChanged\"]]]]],[\"solution-configuration\",[[0,\"solution-configuration\",{\"authentication\":[1040],\"serializedAuthentication\":[1025,\"serialized-authentication\"],\"solutionItemId\":[1537,\"solution-item-id\"],\"showLoading\":[1540,\"show-loading\"],\"_currentEditItemId\":[32],\"_organizationVariables\":[32],\"_solutionContentsComponent\":[32],\"_solutionIsLoaded\":[32],\"_solutionVariables\":[32],\"_templateHierarchy\":[32],\"_translations\":[32],\"_treeOpen\":[32],\"getSpatialReferenceInfo\":[64],\"saveSolution\":[64],\"unloadSolution\":[64]},[[8,\"solutionItemSelected\",\"_solutionItemSelected\"]]]]],[\"layer-table\",[[1,\"layer-table\",{\"mapView\":[16],\"_translations\":[32],\"_selectedIndexes\":[32]}]]],[\"map-card\",[[0,\"map-card\",{\"mapInfos\":[16],\"_mapListExpanded\":[32],\"_mapView\":[32],\"_translations\":[32],\"_webMapId\":[32]}]]],[\"calcite-color-picker\",[[1,\"calcite-color-picker\",{\"allowEmpty\":[516,\"allow-empty\"],\"appearance\":[513],\"color\":[1040],\"disabled\":[516],\"format\":[513],\"hideHex\":[516,\"hide-hex\"],\"hideChannels\":[516,\"hide-channels\"],\"hideSaved\":[516,\"hide-saved\"],\"intlB\":[1,\"intl-b\"],\"intlBlue\":[1,\"intl-blue\"],\"intlDeleteColor\":[1,\"intl-delete-color\"],\"intlG\":[1,\"intl-g\"],\"intlGreen\":[1,\"intl-green\"],\"intlH\":[1,\"intl-h\"],\"intlHsv\":[1,\"intl-hsv\"],\"intlHex\":[1,\"intl-hex\"],\"intlHue\":[1,\"intl-hue\"],\"intlNoColor\":[1,\"intl-no-color\"],\"intlR\":[1,\"intl-r\"],\"intlRed\":[1,\"intl-red\"],\"intlRgb\":[1,\"intl-rgb\"],\"intlS\":[1,\"intl-s\"],\"intlSaturation\":[1,\"intl-saturation\"],\"intlSaveColor\":[1,\"intl-save-color\"],\"intlSaved\":[1,\"intl-saved\"],\"intlV\":[1,\"intl-v\"],\"intlValue\":[1,\"intl-value\"],\"scale\":[513],\"storageId\":[513,\"storage-id\"],\"numberingSystem\":[513,\"numbering-system\"],\"value\":[1025],\"colorFieldAndSliderInteractive\":[32],\"channelMode\":[32],\"channels\":[32],\"dimensions\":[32],\"savedColors\":[32],\"colorFieldScopeTop\":[32],\"colorFieldScopeLeft\":[32],\"scopeOrientation\":[32],\"hueScopeLeft\":[32],\"hueScopeTop\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"handleChannelKeyUpOrDown\"],[2,\"keyup\",\"handleChannelKeyUpOrDown\"]]]]],[\"pci-calculator\",[[1,\"pci-calculator\",{\"showAddDeduct\":[32]}]]],[\"add-record-modal\",[[1,\"add-record-modal\",{\"open\":[1028],\"_translations\":[32]}]]],[\"calcite-flow-item\",[[1,\"calcite-flow-item\",{\"closable\":[1540],\"closed\":[1540],\"beforeBack\":[16],\"description\":[1],\"disabled\":[516],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"heightScale\":[513,\"height-scale\"],\"intlBack\":[1,\"intl-back\"],\"intlClose\":[1,\"intl-close\"],\"intlOptions\":[1,\"intl-options\"],\"loading\":[516],\"menuOpen\":[516,\"menu-open\"],\"showBackButton\":[516,\"show-back-button\"],\"widthScale\":[513,\"width-scale\"],\"backButtonEl\":[32],\"setFocus\":[64],\"scrollContentTo\":[64]}]]],[\"calcite-input-date-picker\",[[1,\"calcite-input-date-picker\",{\"disabled\":[516],\"readOnly\":[516,\"read-only\"],\"value\":[1025],\"flipPlacements\":[16],\"headingLevel\":[514,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1025],\"max\":[1025],\"active\":[1540],\"open\":[1540],\"name\":[513],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"placement\":[513],\"range\":[516],\"required\":[516],\"start\":[1537],\"end\":[1537],\"overlayPositioning\":[513,\"overlay-positioning\"],\"proximitySelectionDisabled\":[4,\"proximity-selection-disabled\"],\"layout\":[513],\"effectiveLocale\":[32],\"focusedInput\":[32],\"globalAttributes\":[32],\"localeData\":[32],\"setFocus\":[64],\"reposition\":[64]},[[0,\"calciteDatePickerChange\",\"handleDateOrRangeChange\"],[0,\"calciteDatePickerRangeChange\",\"handleDateOrRangeChange\"],[0,\"calciteDaySelect\",\"calciteDaySelectHandler\"]]]]],[\"calcite-input-time-picker\",[[1,\"calcite-input-time-picker\",{\"active\":[1540],\"open\":[1540],\"disabled\":[516],\"readOnly\":[516,\"read-only\"],\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025],\"name\":[1],\"numberingSystem\":[1,\"numbering-system\"],\"required\":[516],\"scale\":[513],\"overlayPositioning\":[1,\"overlay-positioning\"],\"placement\":[513],\"step\":[2],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"reposition\":[64]},[[0,\"click\",\"clickHandler\"],[0,\"calciteInternalTimePickerBlur\",\"timePickerBlurHandler\"],[0,\"calciteInternalTimePickerFocus\",\"timePickerFocusHandler\"]]]]],[\"calcite-action-pad\",[[1,\"calcite-action-pad\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"layout\":[513],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"position\":[513],\"scale\":[513],\"setFocus\":[64]}]]],[\"card-manager\",[[1,\"card-manager\",{\"_translations\":[32]}]]],[\"calcite-card\",[[1,\"calcite-card\",{\"loading\":[516],\"selected\":[1540],\"selectable\":[516],\"intlLoading\":[1,\"intl-loading\"],\"intlSelect\":[1,\"intl-select\"],\"intlDeselect\":[1,\"intl-deselect\"],\"thumbnailPosition\":[513,\"thumbnail-position\"]}]]],[\"calcite-fab\",[[1,\"calcite-fab\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"icon\":[513],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-filter\",[[1,\"calcite-filter\",{\"items\":[1040],\"disabled\":[516],\"filteredItems\":[1040],\"intlClear\":[1,\"intl-clear\"],\"intlLabel\":[1,\"intl-label\"],\"placeholder\":[1],\"scale\":[513],\"value\":[1025],\"setFocus\":[64]}]]],[\"calcite-inline-editable\",[[1,\"calcite-inline-editable\",{\"disabled\":[516],\"editingEnabled\":[1540,\"editing-enabled\"],\"loading\":[1540],\"controls\":[516],\"intlEnableEditing\":[513,\"intl-enable-editing\"],\"intlCancelEditing\":[513,\"intl-cancel-editing\"],\"intlConfirmChanges\":[513,\"intl-confirm-changes\"],\"scale\":[1537],\"afterConfirm\":[16],\"setFocus\":[64]},[[0,\"calciteInternalInputBlur\",\"blurHandler\"]]]]],[\"calcite-tile-select\",[[1,\"calcite-tile-select\",{\"checked\":[1540],\"description\":[513],\"disabled\":[516],\"heading\":[513],\"hidden\":[516],\"icon\":[513],\"name\":[520],\"inputEnabled\":[516,\"input-enabled\"],\"inputAlignment\":[513,\"input-alignment\"],\"type\":[513],\"value\":[8],\"width\":[513],\"focused\":[32],\"setFocus\":[64]},[[0,\"calciteCheckboxChange\",\"checkboxChangeHandler\"],[0,\"calciteInternalCheckboxFocus\",\"checkboxFocusBlurHandler\"],[0,\"calciteInternalCheckboxBlur\",\"checkboxFocusBlurHandler\"],[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"],[0,\"calciteInternalRadioButtonCheckedChange\",\"radioButtonCheckedChangeHandler\"],[0,\"calciteInternalRadioButtonFocus\",\"radioButtonFocusBlurHandler\"],[0,\"calciteInternalRadioButtonBlur\",\"radioButtonFocusBlurHandler\"],[0,\"click\",\"click\"],[1,\"pointerenter\",\"mouseenter\"],[1,\"pointerleave\",\"mouseleave\"]]]]],[\"calcite-tip\",[[1,\"calcite-tip\",{\"dismissed\":[1540],\"nonDismissible\":[516,\"non-dismissible\"],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"selected\":[516],\"intlClose\":[1,\"intl-close\"]}]]],[\"calcite-tip-manager\",[[1,\"calcite-tip-manager\",{\"closed\":[1540],\"headingLevel\":[514,\"heading-level\"],\"intlClose\":[1,\"intl-close\"],\"intlDefaultTitle\":[1,\"intl-default-title\"],\"intlNext\":[1,\"intl-next\"],\"intlPaginationLabel\":[1,\"intl-pagination-label\"],\"intlPrevious\":[1,\"intl-previous\"],\"selectedIndex\":[32],\"tips\":[32],\"total\":[32],\"direction\":[32],\"groupTitle\":[32],\"nextTip\":[64],\"previousTip\":[64]}]]],[\"calcite-alert\",[[1,\"calcite-alert\",{\"active\":[1540],\"open\":[1540],\"autoDismiss\":[516,\"auto-dismiss\"],\"autoDismissDuration\":[513,\"auto-dismiss-duration\"],\"color\":[513],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"label\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"placement\":[513],\"scale\":[513],\"effectiveLocale\":[32],\"queue\":[32],\"queueLength\":[32],\"queued\":[32],\"requestedIcon\":[32],\"setFocus\":[64]},[[8,\"calciteInternalAlertSync\",\"alertSync\"],[8,\"calciteInternalAlertRegister\",\"alertRegister\"]]]]],[\"calcite-block-section\",[[1,\"calcite-block-section\",{\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"open\":[1540],\"status\":[513],\"text\":[1],\"toggleDisplay\":[513,\"toggle-display\"]}]]],[\"calcite-input-number\",[[1,\"calcite-input-number\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"localeFormat\":[4,\"locale-format\"],\"max\":[514],\"min\":[514],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"numberButtonType\":[513,\"number-button-type\"],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"step\":[520],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"selectText\":[64]}]]],[\"calcite-input-text\",[[1,\"calcite-input-text\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"value\":[1025],\"setFocus\":[64],\"selectText\":[64]}]]],[\"calcite-rating\",[[1,\"calcite-rating\",{\"scale\":[513],\"value\":[1538],\"readOnly\":[516,\"read-only\"],\"disabled\":[516],\"showChip\":[516,\"show-chip\"],\"count\":[514],\"average\":[514],\"name\":[513],\"intlRating\":[1,\"intl-rating\"],\"intlStars\":[1,\"intl-stars\"],\"required\":[516],\"hoverValue\":[32],\"focusValue\":[32],\"hasFocus\":[32],\"setFocus\":[64]},[[0,\"blur\",\"blurHandler\"]]]]],[\"calcite-accordion-item\",[[1,\"calcite-accordion-item\",{\"active\":[1540],\"expanded\":[1540],\"itemTitle\":[1,\"item-title\"],\"itemSubtitle\":[1,\"item-subtitle\"],\"heading\":[1],\"description\":[1],\"icon\":[1537],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"]},[[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteInternalAccordionChange\",\"updateActiveItemOnChange\"]]]]],[\"calcite-avatar\",[[1,\"calcite-avatar\",{\"scale\":[513],\"thumbnail\":[513],\"fullName\":[513,\"full-name\"],\"username\":[513],\"userId\":[513,\"user-id\"],\"thumbnailFailedToLoad\":[32]}]]],[\"calcite-pagination\",[[1,\"calcite-pagination\",{\"groupSeparator\":[516,\"group-separator\"],\"num\":[514],\"numberingSystem\":[1,\"numbering-system\"],\"start\":[1538],\"total\":[514],\"textLabelNext\":[1,\"text-label-next\"],\"textLabelPrevious\":[1,\"text-label-previous\"],\"scale\":[513],\"effectiveLocale\":[32],\"nextPage\":[64],\"previousPage\":[64]}]]],[\"calcite-stepper-item\",[[1,\"calcite-stepper-item\",{\"active\":[1540],\"selected\":[1540],\"complete\":[516],\"error\":[516],\"disabled\":[516],\"itemTitle\":[1,\"item-title\"],\"heading\":[1],\"itemSubtitle\":[1,\"item-subtitle\"],\"description\":[1],\"layout\":[1537],\"icon\":[1028],\"numbered\":[1028],\"scale\":[1537],\"effectiveLocale\":[32],\"setFocus\":[64]},[[16,\"calciteInternalStepperItemChange\",\"updateActiveItemOnChange\"]]]]],[\"calcite-accordion\",[[1,\"calcite-accordion\",{\"appearance\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconType\":[513,\"icon-type\"],\"scale\":[513],\"selectionMode\":[513,\"selection-mode\"]},[[0,\"calciteInternalAccordionItemKeyEvent\",\"calciteInternalAccordionItemKeyEvent\"],[0,\"calciteInternalAccordionItemRegister\",\"registerCalciteAccordionItem\"],[0,\"calciteInternalAccordionItemSelect\",\"updateActiveItemOnChange\"]]]]],[\"calcite-combobox-item-group\",[[1,\"calcite-combobox-item-group\",{\"ancestors\":[1040],\"label\":[1]}]]],[\"calcite-flow\",[[1,\"calcite-flow\",{\"flowDirection\":[32],\"itemCount\":[32],\"items\":[32],\"back\":[64]},[[0,\"calciteFlowItemBackClick\",\"handleItemBackClick\"],[0,\"calcitePanelBackClick\",\"handleItemBackClick\"]]]]],[\"calcite-list-item-group\",[[1,\"calcite-list-item-group\",{\"heading\":[513],\"headingLevel\":[514,\"heading-level\"]}]]],[\"calcite-option-group\",[[1,\"calcite-option-group\",{\"disabled\":[516],\"label\":[1]}]]],[\"calcite-pick-list-group\",[[1,\"calcite-pick-list-group\",{\"groupTitle\":[513,\"group-title\"],\"headingLevel\":[514,\"heading-level\"]}]]],[\"calcite-popover-manager\",[[1,\"calcite-popover-manager\",{\"selector\":[513],\"autoClose\":[516,\"auto-close\"]}]]],[\"calcite-radio-button\",[[1,\"calcite-radio-button\",{\"checked\":[1540],\"disabled\":[516],\"focused\":[1540],\"guid\":[1537],\"hidden\":[516],\"hovered\":[1540],\"label\":[1],\"name\":[513],\"required\":[516],\"scale\":[513],\"value\":[1032],\"setFocus\":[64],\"emitCheckedChange\":[64]},[[1,\"pointerenter\",\"mouseenter\"],[1,\"pointerleave\",\"mouseleave\"]]]]],[\"calcite-radio-button-group\",[[1,\"calcite-radio-button-group\",{\"disabled\":[516],\"hidden\":[516],\"layout\":[513],\"name\":[513],\"required\":[516],\"scale\":[513]},[[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"]]]]],[\"calcite-shell-center-row\",[[1,\"calcite-shell-center-row\",{\"detached\":[516],\"heightScale\":[513,\"height-scale\"],\"position\":[513]}]]],[\"calcite-sortable-list\",[[1,\"calcite-sortable-list\",{\"dragSelector\":[513,\"drag-selector\"],\"group\":[513],\"handleSelector\":[513,\"handle-selector\"],\"layout\":[513],\"disabled\":[516],\"loading\":[516],\"handleActivated\":[32]},[[0,\"calciteHandleNudge\",\"calciteHandleNudgeHandler\"]]]]],[\"calcite-stepper\",[[1,\"calcite-stepper\",{\"icon\":[516],\"layout\":[513],\"numbered\":[516],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"nextStep\":[64],\"prevStep\":[64],\"goToStep\":[64],\"startStep\":[64],\"endStep\":[64]},[[0,\"calciteInternalStepperItemKeyEvent\",\"calciteInternalStepperItemKeyEvent\"],[0,\"calciteInternalStepperItemRegister\",\"registerItem\"],[0,\"calciteInternalStepperItemSelect\",\"updateItem\"],[0,\"calciteInternalUserRequestedStepperItemSelect\",\"handleUserRequestedStepperItemSelect\"]]]]],[\"calcite-tile-select-group\",[[1,\"calcite-tile-select-group\",{\"disabled\":[516],\"layout\":[513]}]]],[\"calcite-tip-group\",[[1,\"calcite-tip-group\",{\"groupTitle\":[1,\"group-title\"]}]]],[\"calcite-tooltip-manager\",[[1,\"calcite-tooltip-manager\",{\"selector\":[513]}]]],[\"comment-card\",[[1,\"comment-card\"]]],[\"crowdsource-manager\",[[1,\"crowdsource-manager\"]]],[\"crowdsource-reporter\",[[1,\"crowdsource-reporter\"]]],[\"list-item\",[[1,\"list-item\"]]],[\"map-search\",[[0,\"map-search\",{\"mapView\":[16],\"searchConfiguration\":[1040],\"_searchTerm\":[32],\"_translations\":[32],\"clear\":[64]}]]],[\"store-manager\",[[0,\"store-manager\",{\"value\":[1537],\"templates\":[1040],\"authentication\":[1040]}]]],[\"deduct-calculator\",[[1,\"deduct-calculator\"]]],[\"calcite-color-picker-hex-input\",[[1,\"calcite-color-picker-hex-input\",{\"allowEmpty\":[4,\"allow-empty\"],\"intlHex\":[1,\"intl-hex\"],\"intlNoColor\":[1,\"intl-no-color\"],\"scale\":[513],\"value\":[1537],\"numberingSystem\":[1,\"numbering-system\"],\"internalColor\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"onInputKeyDown\"]]]]],[\"calcite-date-picker\",[[1,\"calcite-date-picker\",{\"activeRange\":[513,\"active-range\"],\"value\":[1025],\"headingLevel\":[514,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1537],\"max\":[1537],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"scale\":[513],\"range\":[516],\"start\":[1537],\"end\":[1537],\"proximitySelectionDisabled\":[516,\"proximity-selection-disabled\"],\"activeDate\":[32],\"activeStartDate\":[32],\"activeEndDate\":[32],\"globalAttributes\":[32],\"effectiveLocale\":[32],\"localeData\":[32],\"hoverRange\":[32]}]]],[\"calcite-tile\",[[1,\"calcite-tile\",{\"active\":[516],\"description\":[513],\"disabled\":[516],\"embed\":[516],\"focused\":[516],\"heading\":[513],\"hidden\":[516],\"href\":[513],\"icon\":[513]}]]],[\"calcite-time-picker\",[[1,\"calcite-time-picker\",{\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025],\"scale\":[513],\"step\":[514],\"numberingSystem\":[1,\"numbering-system\"],\"value\":[1025],\"effectiveLocale\":[32],\"hour\":[32],\"hourCycle\":[32],\"localizedHour\":[32],\"localizedHourSuffix\":[32],\"localizedMeridiem\":[32],\"localizedMinute\":[32],\"localizedMinuteSuffix\":[32],\"localizedSecond\":[32],\"localizedSecondSuffix\":[32],\"meridiem\":[32],\"minute\":[32],\"second\":[32],\"showSecond\":[32],\"setFocus\":[64]},[[0,\"blur\",\"hostBlurHandler\"],[0,\"focus\",\"hostFocusHandler\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-handle\",[[1,\"calcite-handle\",{\"activated\":[1540],\"textTitle\":[513,\"text-title\"],\"setFocus\":[64]}]]],[\"calcite-block_2\",[[1,\"calcite-block\",{\"collapsible\":[516],\"disabled\":[516],\"dragHandle\":[516,\"drag-handle\"],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"intlLoading\":[1,\"intl-loading\"],\"intlOptions\":[1,\"intl-options\"],\"loading\":[516],\"open\":[1540],\"status\":[513],\"summary\":[1],\"description\":[1],\"disablePadding\":[516,\"disable-padding\"]}],[1,\"calcite-pick-list\",{\"disabled\":[516],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"headingLevel\":[514,\"heading-level\"],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[516,\"selection-follows-focus\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteInternalListItemPropsChange\",\"calciteInternalListItemPropsChangeHandler\"],[0,\"calciteInternalListItemValueChange\",\"calciteInternalListItemValueChangeHandler\"],[0,\"focusout\",\"calciteListFocusOutHandler\"]]]]],[\"info-card_2\",[[1,\"media-card\",{\"values\":[16],\"_index\":[32],\"_translations\":[32]}],[1,\"info-card\",{\"cardTitle\":[1,\"card-title\"],\"values\":[16]}]]],[\"calcite-link\",[[1,\"calcite-link\",{\"disabled\":[516],\"download\":[520],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"rel\":[1],\"target\":[1],\"setFocus\":[64]},[[0,\"click\",\"clickHandler\"]]]]],[\"calcite-color-picker-swatch\",[[1,\"calcite-color-picker-swatch\",{\"active\":[516],\"color\":[1],\"scale\":[513]}]]],[\"calcite-dropdown\",[[1,\"calcite-dropdown\",{\"active\":[1540],\"open\":[1540],\"disableCloseOnSelect\":[516,\"disable-close-on-select\"],\"disabled\":[516],\"flipPlacements\":[16],\"maxItems\":[514,\"max-items\"],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"selectedItems\":[1040],\"type\":[513],\"width\":[513],\"reposition\":[64]},[[9,\"pointerdown\",\"closeCalciteDropdownOnClick\"],[0,\"calciteInternalDropdownCloseRequest\",\"closeCalciteDropdownOnEvent\"],[8,\"calciteDropdownOpen\",\"closeCalciteDropdownOnOpenEvent\"],[1,\"pointerenter\",\"mouseEnterHandler\"],[1,\"pointerleave\",\"mouseLeaveHandler\"],[0,\"calciteInternalDropdownItemKeyEvent\",\"calciteInternalDropdownItemKeyEvent\"],[0,\"calciteInternalDropdownItemSelect\",\"handleItemSelect\"]]]]],[\"calcite-loader\",[[1,\"calcite-loader\",{\"active\":[516],\"inline\":[516],\"label\":[1],\"scale\":[513],\"type\":[513],\"value\":[2],\"text\":[1],\"noPadding\":[516,\"no-padding\"]}]]],[\"calcite-scrim\",[[1,\"calcite-scrim\",{\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516]}]]],[\"calcite-button\",[[1,\"calcite-button\",{\"alignment\":[513],\"appearance\":[513],\"label\":[1],\"color\":[513],\"disabled\":[516],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516],\"name\":[513],\"rel\":[513],\"form\":[1],\"round\":[516],\"scale\":[513],\"splitChild\":[520,\"split-child\"],\"target\":[513],\"type\":[1537],\"width\":[513],\"hasContent\":[32],\"hasLoader\":[32],\"setFocus\":[64]}]]],[\"solution-contents_3\",[[0,\"solution-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"solutionVariables\":[1537,\"solution-variables\"],\"organizationVariables\":[1537,\"organization-variables\"],\"itemType\":[32],\"_translations\":[32]}],[0,\"solution-spatial-ref\",{\"defaultWkid\":[1538,\"default-wkid\"],\"locked\":[1540],\"value\":[1537],\"services\":[1040],\"loaded\":[32],\"spatialRef\":[32],\"_srSearchText\":[32],\"_translations\":[32],\"createSpatialRefDisplay\":[64],\"getSpatialRef\":[64],\"wkidToDisplay\":[64]}],[0,\"solution-contents\",{\"selectedItemId\":[1537,\"selected-item-id\"],\"templateHierarchy\":[1040]}]]],[\"calcite-modal\",[[1,\"calcite-modal\",{\"active\":[1540],\"open\":[1540],\"beforeClose\":[16],\"disableCloseButton\":[516,\"disable-close-button\"],\"disableOutsideClose\":[516,\"disable-outside-close\"],\"intlClose\":[1,\"intl-close\"],\"docked\":[516],\"disableEscape\":[516,\"disable-escape\"],\"scale\":[513],\"width\":[520],\"fullscreen\":[516],\"color\":[513],\"backgroundColor\":[513,\"background-color\"],\"noPadding\":[516,\"no-padding\"],\"hasFooter\":[32],\"isOpen\":[32],\"focusElement\":[64],\"setFocus\":[64],\"scrollContent\":[64]},[[8,\"keydown\",\"handleEscape\"]]]]],[\"calcite-dropdown-group_4\",[[1,\"edit-record-modal\",{\"open\":[1028],\"_translations\":[32]}],[1,\"calcite-split-button\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"active\":[1540],\"dropdownIconType\":[513,\"dropdown-icon-type\"],\"dropdownLabel\":[513,\"dropdown-label\"],\"loading\":[516],\"overlayPositioning\":[513,\"overlay-positioning\"],\"primaryIconEnd\":[513,\"primary-icon-end\"],\"primaryIconFlipRtl\":[513,\"primary-icon-flip-rtl\"],\"primaryIconStart\":[513,\"primary-icon-start\"],\"primaryLabel\":[513,\"primary-label\"],\"primaryText\":[513,\"primary-text\"],\"scale\":[513],\"width\":[513]}],[1,\"calcite-dropdown-item\",{\"active\":[1540],\"selected\":[1540],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"href\":[513],\"label\":[1],\"rel\":[513],\"target\":[513],\"setFocus\":[64]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteInternalDropdownItemChange\",\"updateActiveItemOnChange\"]]],[1,\"calcite-dropdown-group\",{\"groupTitle\":[513,\"group-title\"],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513]},[[0,\"calciteInternalDropdownItemSelect\",\"updateActiveItemOnChange\"]]]]],[\"calcite-list_2\",[[1,\"calcite-list\",{\"disabled\":[516],\"headingLevel\":[514,\"heading-level\"],\"setFocus\":[64]}],[1,\"calcite-list-item\",{\"nonInteractive\":[516,\"non-interactive\"],\"description\":[1],\"disabled\":[516],\"label\":[1],\"setFocus\":[64]}]]],[\"calcite-graph\",[[1,\"calcite-graph\",{\"data\":[16],\"colorStops\":[16],\"highlightMin\":[2,\"highlight-min\"],\"highlightMax\":[2,\"highlight-max\"],\"min\":[514],\"max\":[514]}]]],[\"calcite-action-bar_2\",[[1,\"calcite-action-bar\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"layout\":[513],\"overflowActionsDisabled\":[516,\"overflow-actions-disabled\"],\"position\":[513],\"scale\":[513],\"overflowActions\":[64],\"setFocus\":[64]}],[1,\"calcite-tooltip\",{\"closeOnClick\":[516,\"close-on-click\"],\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[516],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"effectiveReferenceElement\":[32],\"reposition\":[64]}]]],[\"calcite-pick-list-item\",[[1,\"calcite-pick-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[516,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"intlRemove\":[513,\"intl-remove\"],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]}]]],[\"calcite-switch\",[[1,\"calcite-switch\",{\"disabled\":[516],\"label\":[1],\"name\":[513],\"scale\":[513],\"switched\":[1540],\"checked\":[1540],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-action-menu_2\",[[1,\"calcite-action-menu\",{\"expanded\":[516],\"flipPlacements\":[16],\"label\":[1],\"open\":[1540],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"menuButtonEl\":[32],\"activeMenuItemIndex\":[32],\"setFocus\":[64]},[[9,\"pointerdown\",\"closeCalciteActionMenuOnClick\"]]],[1,\"calcite-popover\",{\"autoClose\":[516,\"auto-close\"],\"closeButton\":[516,\"close-button\"],\"dismissible\":[1540],\"closable\":[1540],\"disableFlip\":[516,\"disable-flip\"],\"disablePointer\":[516,\"disable-pointer\"],\"flipPlacements\":[16],\"heading\":[1],\"headingLevel\":[514,\"heading-level\"],\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[1540],\"overlayPositioning\":[513,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"triggerDisabled\":[516,\"trigger-disabled\"],\"intlClose\":[1,\"intl-close\"],\"effectiveReferenceElement\":[32],\"reposition\":[64],\"setFocus\":[64],\"toggle\":[64]}]]],[\"calcite-action-group\",[[1,\"calcite-action-group\",{\"expanded\":[516],\"layout\":[513],\"columns\":[514],\"intlMore\":[1,\"intl-more\"],\"menuOpen\":[1540,\"menu-open\"],\"scale\":[513]}]]],[\"calcite-date-picker-day_3\",[[1,\"calcite-date-picker-month\",{\"selectedDate\":[16],\"activeDate\":[16],\"startDate\":[16],\"endDate\":[16],\"min\":[16],\"max\":[16],\"scale\":[513],\"localeData\":[16],\"hoverRange\":[16]},[[1,\"pointerout\",\"mouseoutHandler\"]]],[1,\"calcite-date-picker-month-header\",{\"selectedDate\":[16],\"activeDate\":[16],\"headingLevel\":[2,\"heading-level\"],\"min\":[16],\"max\":[16],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"scale\":[513],\"localeData\":[16],\"globalAttributes\":[32],\"nextMonthDate\":[32],\"prevMonthDate\":[32]}],[1,\"calcite-date-picker-day\",{\"day\":[2],\"disabled\":[516],\"currentMonth\":[516,\"current-month\"],\"selected\":[516],\"highlighted\":[516],\"range\":[516],\"startOfRange\":[516,\"start-of-range\"],\"endOfRange\":[516,\"end-of-range\"],\"rangeHover\":[516,\"range-hover\"],\"active\":[516],\"scale\":[513],\"value\":[16]},[[1,\"pointerover\",\"mouseoverHandler\"]]]]],[\"calcite-panel_2\",[[1,\"calcite-shell\",{\"contentBehind\":[516,\"content-behind\"]}],[1,\"calcite-panel\",{\"dismissed\":[1540],\"closed\":[1540],\"beforeBack\":[16],\"disabled\":[516],\"dismissible\":[1540],\"closable\":[1540],\"headingLevel\":[514,\"heading-level\"],\"showBackButton\":[516,\"show-back-button\"],\"intlBack\":[1,\"intl-back\"],\"heightScale\":[513,\"height-scale\"],\"widthScale\":[513,\"width-scale\"],\"loading\":[516],\"intlClose\":[1,\"intl-close\"],\"intlOptions\":[1,\"intl-options\"],\"heading\":[1],\"summary\":[1],\"description\":[1],\"menuOpen\":[516,\"menu-open\"],\"hasStartActions\":[32],\"hasEndActions\":[32],\"hasMenuItems\":[32],\"hasHeaderContent\":[32],\"hasFooterContent\":[32],\"hasFooterActions\":[32],\"hasFab\":[32],\"setFocus\":[64],\"scrollContentTo\":[64]}]]],[\"calcite-chip\",[[1,\"calcite-chip\",{\"appearance\":[513],\"color\":[513],\"dismissible\":[1540],\"closable\":[1540],\"dismissLabel\":[1,\"dismiss-label\"],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"scale\":[513],\"value\":[8],\"closed\":[1540],\"setFocus\":[64]}]]],[\"calcite-checkbox\",[[1,\"calcite-checkbox\",{\"checked\":[1540],\"disabled\":[516],\"guid\":[1537],\"hovered\":[1540],\"indeterminate\":[1540],\"label\":[1],\"name\":[520],\"required\":[516],\"scale\":[513],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-option_2\",[[1,\"calcite-select\",{\"disabled\":[516],\"label\":[1],\"name\":[513],\"required\":[516],\"scale\":[513],\"value\":[1025],\"selectedOption\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteInternalOptionChange\",\"handleOptionOrGroupChange\"],[0,\"calciteInternalOptionGroupChange\",\"handleOptionOrGroupChange\"]]],[1,\"calcite-option\",{\"disabled\":[516],\"label\":[1025],\"selected\":[516],\"value\":[1032]}]]],[\"calcite-combobox_3\",[[0,\"map-layer-picker\",{\"enabledLayerIds\":[16],\"mapView\":[16],\"selectedLayerIds\":[1040],\"selectionMode\":[1537,\"selection-mode\"],\"layerIds\":[32]}],[1,\"calcite-combobox\",{\"active\":[1540],\"open\":[1540],\"disabled\":[516],\"label\":[1],\"placeholder\":[1],\"placeholderIcon\":[513,\"placeholder-icon\"],\"maxItems\":[514,\"max-items\"],\"name\":[513],\"allowCustomValues\":[516,\"allow-custom-values\"],\"overlayPositioning\":[513,\"overlay-positioning\"],\"required\":[516],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513],\"value\":[1025],\"intlRemoveTag\":[1,\"intl-remove-tag\"],\"flipPlacements\":[16],\"items\":[32],\"groupItems\":[32],\"selectedItems\":[32],\"visibleItems\":[32],\"needsIcon\":[32],\"activeItemIndex\":[32],\"activeChipIndex\":[32],\"activeDescendant\":[32],\"text\":[32],\"reposition\":[64],\"setFocus\":[64]},[[5,\"pointerdown\",\"documentClickHandler\"],[0,\"calciteComboboxItemChange\",\"calciteComboboxItemChangeHandler\"]]],[1,\"calcite-combobox-item\",{\"disabled\":[516],\"selected\":[1540],\"active\":[516],\"ancestors\":[1040],\"guid\":[513],\"icon\":[513],\"textLabel\":[513,\"text-label\"],\"value\":[8],\"constant\":[516],\"filterDisabled\":[516,\"filter-disabled\"],\"toggleSelected\":[64]}]]],[\"calcite-action\",[[1,\"calcite-action\",{\"active\":[516],\"alignment\":[513],\"appearance\":[513],\"compact\":[516],\"disabled\":[516],\"icon\":[1],\"indicator\":[516],\"intlLoading\":[1,\"intl-loading\"],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-input_2\",[[1,\"calcite-input\",{\"alignment\":[513],\"autofocus\":[516],\"clearable\":[516],\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hidden\":[516],\"icon\":[520],\"intlClear\":[1,\"intl-clear\"],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"locale\":[1],\"numberingSystem\":[513,\"numbering-system\"],\"localeFormat\":[4,\"locale-format\"],\"max\":[514],\"min\":[514],\"maxlength\":[514],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"numberButtonType\":[513,\"number-button-type\"],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[516,\"read-only\"],\"required\":[516],\"scale\":[1537],\"status\":[1537],\"step\":[520],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"type\":[513],\"value\":[1025],\"effectiveLocale\":[32],\"localizedValue\":[32],\"setFocus\":[64],\"selectText\":[64]}],[1,\"calcite-progress\",{\"type\":[513],\"value\":[2],\"label\":[1],\"text\":[1],\"reversed\":[516]}]]],[\"buffer-tools_6\",[[1,\"buffer-tools\",{\"appearance\":[1025],\"distance\":[1026],\"geometries\":[1040],\"max\":[1026],\"min\":[1026],\"sliderTicks\":[1026,\"slider-ticks\"],\"unionResults\":[1028,\"union-results\"],\"unit\":[1025],\"_translations\":[32]}],[0,\"map-draw-tools\",{\"active\":[4],\"border\":[4],\"mapView\":[1040],\"pointSymbol\":[1040],\"polylineSymbol\":[1040],\"polygonSymbol\":[1040],\"graphics\":[1040],\"_translations\":[32],\"clear\":[64]}],[1,\"refine-selection-tools\",{\"active\":[4],\"border\":[4],\"enabledLayerIds\":[16],\"graphics\":[1040],\"ids\":[16],\"layerView\":[16],\"layerViews\":[16],\"mapView\":[16],\"mode\":[1],\"refineMode\":[1,\"refine-mode\"],\"refineSelectionSet\":[1040],\"useLayerPicker\":[4,\"use-layer-picker\"],\"_selectEnabled\":[32],\"_selectionMode\":[32],\"_translations\":[32],\"reset\":[64],\"clearHighlight\":[64]}],[1,\"calcite-radio-group-item\",{\"checked\":[1540],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"iconPosition\":[513,\"icon-position\"],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"value\":[1032]}],[1,\"calcite-slider\",{\"disabled\":[516],\"groupSeparator\":[516,\"group-separator\"],\"hasHistogram\":[1540,\"has-histogram\"],\"histogram\":[16],\"histogramStops\":[16],\"labelHandles\":[516,\"label-handles\"],\"labelTicks\":[516,\"label-ticks\"],\"max\":[514],\"maxLabel\":[1,\"max-label\"],\"maxValue\":[1026,\"max-value\"],\"min\":[514],\"minLabel\":[1,\"min-label\"],\"minValue\":[1026,\"min-value\"],\"mirrored\":[516],\"name\":[513],\"numberingSystem\":[1,\"numbering-system\"],\"pageStep\":[514,\"page-step\"],\"precise\":[516],\"required\":[516],\"snap\":[516],\"step\":[514],\"ticks\":[514],\"value\":[1538],\"scale\":[513],\"effectiveLocale\":[32],\"minMaxValueRange\":[32],\"minValueDragRange\":[32],\"maxValueDragRange\":[32],\"tickValues\":[32],\"setFocus\":[64]},[[0,\"keydown\",\"keyDownHandler\"],[1,\"pointerdown\",\"pointerDownHandler\"]]],[1,\"calcite-radio-group\",{\"appearance\":[513],\"disabled\":[516],\"required\":[516],\"layout\":[513],\"name\":[513],\"scale\":[513],\"value\":[1025],\"selectedItem\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteInternalRadioGroupItemChange\",\"handleSelected\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"calcite-label\",[[1,\"calcite-label\",{\"alignment\":[513],\"status\":[513],\"for\":[513],\"scale\":[513],\"layout\":[513],\"disabled\":[516],\"disableSpacing\":[516,\"disable-spacing\"]}]]],[\"calcite-input-message_5\",[[4,\"map-select-tools\",{\"bufferColor\":[8,\"buffer-color\"],\"bufferOutlineColor\":[8,\"buffer-outline-color\"],\"enabledLayerIds\":[16],\"defaultBufferDistance\":[2,\"default-buffer-distance\"],\"defaultBufferUnit\":[1,\"default-buffer-unit\"],\"geometries\":[16],\"isUpdate\":[4,\"is-update\"],\"mapView\":[16],\"searchConfiguration\":[1040],\"selectionSet\":[16],\"selectLayerView\":[16],\"showBufferTools\":[4,\"show-buffer-tools\"],\"_layerSelectChecked\":[32],\"_searchTerm\":[32],\"_translations\":[32],\"_workflowType\":[32],\"clearSelection\":[64],\"getSelection\":[64]},[[8,\"labelChange\",\"labelChange\"],[8,\"searchConfigurationChange\",\"searchConfigurationChangeChanged\"],[8,\"sketchGraphicsChange\",\"sketchGraphicsChange\"],[8,\"refineSelectionGraphicsChange\",\"refineSelectionGraphicsChange\"]]],[0,\"refine-selection\",{\"addresseeLayer\":[16],\"enabledLayerIds\":[16],\"mapView\":[16],\"selectionSets\":[1040],\"GraphicsLayer\":[8,\"graphics-layer\"],\"SketchViewModel\":[8,\"sketch-view-model\"],\"_translations\":[32]},[[8,\"refineSelectionIdsChange\",\"refineSelectionIdsChange\"]]],[1,\"pdf-download\",{\"disabled\":[4],\"layerView\":[16],\"_translations\":[32],\"downloadCSV\":[64],\"downloadPDF\":[64]}],[1,\"calcite-input-message\",{\"active\":[516],\"icon\":[520],\"scale\":[1537],\"status\":[1537],\"type\":[513]}],[1,\"calcite-notice\",{\"active\":[1540],\"open\":[1540],\"color\":[513],\"dismissible\":[516],\"closable\":[516],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"scale\":[513],\"width\":[513],\"setFocus\":[64]}]]],[\"calcite-tree_3\",[[0,\"solution-item-icon\",{\"isPortal\":[4,\"is-portal\"],\"type\":[1],\"typeKeywords\":[16]}],[1,\"calcite-tree-item\",{\"disabled\":[516],\"selected\":[1540],\"expanded\":[1540],\"parentExpanded\":[4,\"parent-expanded\"],\"depth\":[1538],\"hasChildren\":[1540,\"has-children\"],\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"scale\":[1537],\"indeterminate\":[516],\"selectionMode\":[1537,\"selection-mode\"]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-tree\",{\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"child\":[1540],\"scale\":[1537],\"selectionMode\":[1537,\"selection-mode\"]},[[0,\"focus\",\"onFocus\"],[0,\"focusin\",\"onFocusIn\"],[0,\"focusout\",\"onFocusOut\"],[0,\"calciteInternalTreeItemSelect\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-shell-panel_14\",[[0,\"solution-template-data\",{\"instanceid\":[1537],\"itemId\":[1537,\"item-id\"],\"organizationVariables\":[1537,\"organization-variables\"],\"solutionVariables\":[1537,\"solution-variables\"],\"varsOpen\":[1540,\"vars-open\"],\"_translations\":[32],\"value\":[32]}],[1,\"solution-resource-item\",{\"authentication\":[1040],\"itemId\":[1537,\"item-id\"],\"resourceFilePaths\":[32],\"resources\":[32],\"_translations\":[32]}],[0,\"solution-item-details\",{\"itemId\":[1537,\"item-id\"],\"itemDetails\":[32],\"itemEdit\":[32],\"_translations\":[32],\"thumbnail\":[32],\"thumbnailContainer\":[32]},[[0,\"calciteInputInput\",\"inputReceivedHandler\"]]],[1,\"solution-item-sharing\",{\"groupId\":[1537,\"group-id\"],\"_translations\":[32],\"sharing\":[32],\"getShareInfo\":[64]}],[1,\"solution-variables\",{\"value\":[1537],\"_solutionVariables\":[32],\"_translations\":[32]}],[1,\"calcite-value-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[4,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"handleActivated\":[1028,\"handle-activated\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]},[[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"]]],[1,\"solution-organization-variables\",{\"value\":[1537],\"_organizationVariables\":[32],\"_translations\":[32]}],[0,\"json-editor\",{\"hasChanges\":[1540,\"has-changes\"],\"hasErrors\":[1540,\"has-errors\"],\"instanceid\":[1544],\"value\":[1544],\"getEditorContents\":[64],\"prepareForDeletion\":[64],\"replaceCurrentSelection\":[64],\"reset\":[64]}],[1,\"calcite-tab-title\",{\"active\":[1540],\"selected\":[1540],\"disabled\":[516],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"layout\":[1537],\"position\":[1537],\"scale\":[1537],\"bordered\":[1540],\"tab\":[513],\"controls\":[32],\"hasText\":[32],\"getTabIndex\":[64],\"getTabIdentifier\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteInternalTabChange\",\"internalTabChangeHandler\"],[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-shell-panel\",{\"collapsed\":[516],\"detached\":[516],\"detachedHeightScale\":[513,\"detached-height-scale\"],\"widthScale\":[513,\"width-scale\"],\"position\":[513],\"intlResize\":[1,\"intl-resize\"],\"resizable\":[516],\"contentWidth\":[32]}],[1,\"calcite-tab\",{\"tab\":[513],\"active\":[1540],\"selected\":[1540],\"scale\":[1537],\"labeledBy\":[32],\"getTabIndex\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteInternalTabChange\",\"internalTabChangeHandler\"]]],[1,\"calcite-tab-nav\",{\"storageId\":[513,\"storage-id\"],\"syncId\":[513,\"sync-id\"],\"scale\":[1537],\"layout\":[1537],\"position\":[1537],\"bordered\":[1540],\"indicatorOffset\":[1026,\"indicator-offset\"],\"indicatorWidth\":[1026,\"indicator-width\"],\"selectedTab\":[32],\"selectedTabEl\":[32]},[[0,\"calciteInternalTabsFocusPrevious\",\"focusPreviousTabHandler\"],[0,\"calciteInternalTabsFocusNext\",\"focusNextTabHandler\"],[0,\"calciteInternalTabsActivate\",\"internalActivateTabHandler\"],[0,\"calciteTabsActivate\",\"activateTabHandler\"],[0,\"calciteInternalTabTitleRegister\",\"updateTabTitles\"],[16,\"calciteInternalTabChange\",\"globalInternalTabChangeHandler\"],[0,\"calciteInternalTabIconChanged\",\"iconStartChangeHandler\"]]],[1,\"calcite-tabs\",{\"layout\":[513],\"position\":[513],\"scale\":[513],\"bordered\":[1540],\"titles\":[32],\"tabs\":[32]},[[0,\"calciteInternalTabTitleRegister\",\"calciteInternalTabTitleRegister\"],[16,\"calciteTabTitleUnregister\",\"calciteTabTitleUnregister\"],[0,\"calciteInternalTabRegister\",\"calciteInternalTabRegister\"],[16,\"calciteTabUnregister\",\"calciteTabUnregister\"]]],[1,\"calcite-value-list\",{\"disabled\":[516],\"dragEnabled\":[516,\"drag-enabled\"],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"group\":[513],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[516,\"selection-follows-focus\"],\"intlDragHandleIdle\":[1,\"intl-drag-handle-idle\"],\"intlDragHandleActive\":[1,\"intl-drag-handle-active\"],\"intlDragHandleChange\":[1,\"intl-drag-handle-change\"],\"intlDragHandleCommit\":[1,\"intl-drag-handle-commit\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"focusout\",\"calciteListFocusOutHandler\"],[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteInternalListItemPropsChange\",\"calciteInternalListItemPropsChangeHandler\"],[0,\"calciteInternalListItemValueChange\",\"calciteInternalListItemValueChangeHandler\"]]]]]]"), options);
|
26
26
|
});
|
@@ -33,4 +33,4 @@ import{E as t}from"./p-dbc9a5a8.js";
|
|
33
33
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
34
34
|
* See the License for the specific language governing permissions and
|
35
35
|
* limitations under the License.
|
36
|
-
*/(t,n)));return(await Promise.all(e)).forEach((t=>{a=[...a,...t||[]]})),a}async function e(t,n){const a=n.createQuery();return a.outFields=["*"],a.objectIds=t,n.queryFeatures(a)}async function r(t,n,a,e){const s=n.capabilities.query.maxRecordCount,o={start:t,num:s,outFields:["*"],returnGeometry:!0,geometry:a},c=await n.queryFeatures(o);return e[n.id]=e[n.id].concat(c.features),c.exceededTransferLimit?r(t+=s,n,a,e):Promise.resolve(e)}function s(t,n){return[...c(t,"polygon",n),...c(t,"polyline",n),...c(t,"point",n)]}function o(n,e){let r=Promise.resolve([]);return n.workflowType!==t.REFINE&&(r=a(n.buffer?[n.buffer]:s(n.geometries,e),n.layerView.layer)),r}function c(t,n,a){const e=t.filter((t=>t.type===n));return e.length<=1?e:[a.union(e)]}async function i(t){let n={};return await t.when((()=>{n=t.map.allLayers.toArray().reduce(((t,n)=>("feature"===n.type&&(t[n.id]=n.title),t)),{})})),n}async function u(t){let n=[];return await t.when((()=>{n=t.map.allLayers.toArray().reduce(((t,n)=>("feature"===n.type&&t.push(n.id),t)),[])})),n}async function f(t,n){const a=await async function(t,n){let a=[];return await t.when((()=>{a=t.map.allLayers.toArray().filter((t=>t.id===n))})),a.length>0?a[0]:void 0}(t,n);return a?await t.whenLayerView(a):void 0}async function y(t,n,a,e=!1){return e&&await w(t,n,a,!1),n.highlight(t)}async function w(t,n,a,e=!0,r){const s=await async function(t,n){const a=n.createQuery();return a.objectIds=t,n.queryExtent(a)}(t,n.layer);await a.goTo(s.extent),e&&await async function(t,n,a){const e={objectIds:t};n.featureEffect=Object.assign(Object.assign({},a),{filter:e}),setTimeout((()=>{n.featureEffect=void 0}),1300)}(t,n,r)}export{f as a,
|
36
|
+
*/(t,n)));return(await Promise.all(e)).forEach((t=>{a=[...a,...t||[]]})),a}async function e(t,n){const a=n.createQuery();return a.outFields=["*"],a.objectIds=t,n.queryFeatures(a)}async function r(t,n,a,e){const s=n.capabilities.query.maxRecordCount,o={start:t,num:s,outFields:["*"],returnGeometry:!0,geometry:a},c=await n.queryFeatures(o);return e[n.id]=e[n.id].concat(c.features),c.exceededTransferLimit?r(t+=s,n,a,e):Promise.resolve(e)}function s(t,n){return[...c(t,"polygon",n),...c(t,"polyline",n),...c(t,"point",n)]}function o(n,e){let r=Promise.resolve([]);return n.workflowType!==t.REFINE&&(r=a(n.buffer?[n.buffer]:s(n.geometries,e),n.layerView.layer)),r}function c(t,n,a){const e=t.filter((t=>t.type===n));return e.length<=1?e:[a.union(e)]}async function i(t){let n={};return await t.when((()=>{n=t.map.allLayers.toArray().reduce(((t,n)=>("feature"===n.type&&(t[n.id]=n.title),t)),{})})),n}async function u(t){let n=[];return await t.when((()=>{n=t.map.allLayers.toArray().reduce(((t,n)=>("feature"===n.type&&t.push(n.id),t)),[])})),n}async function f(t,n){const a=await async function(t,n){let a=[];return await t.when((()=>{a=t.map.allLayers.toArray().filter((t=>t.id===n))})),a.length>0?a[0]:void 0}(t,n);return a?await t.whenLayerView(a):void 0}async function y(t,n,a,e=!1){return e&&await w(t,n,a,!1),n.highlight(t)}async function w(t,n,a,e=!0,r){const s=await async function(t,n){const a=n.createQuery();return a.objectIds=t,n.queryExtent(a)}(t,n.layer);await a.goTo(s.extent),e&&await async function(t,n,a){const e={objectIds:t};n.featureEffect=Object.assign(Object.assign({},a),{filter:e}),setTimeout((()=>{n.featureEffect=void 0}),1300)}(t,n,r)}export{f as a,e as b,o as c,a as d,s as e,r as f,w as g,y as h,u as i,i as j,n as q}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as i,c as t,h as e,H as s,g as a}from"./p-c2f00d41.js";import{f as n}from"./p-d48a24e6.js";import{d as o,f as c,c as l,u as r,r as h,a as d,F as m}from"./p-a9cefd9c.js";import{g as p}from"./p-a80b3880.js";import{T as u,C as b,b as g,c as f,h as v,d as x,e as y,g as w,a as k}from"./p-a5b1ab03.js";import{c as C,d as z,g as I}from"./p-bd67334c.js";import{s as $,c as H,a as _,d as D,H as j}from"./p-a33d73bb.js";import{c as L}from"./p-9a9955db.js";import{u as A}from"./p-7daea1df.js";import{i as E,t as S,g as P,a as F}from"./p-83166522.js";import{c as T,d as B}from"./p-2e9ed892.js";import{d as M}from"./p-4e32bf8c.js";import{c as O,d as R}from"./p-1c247f54.js";import{i as W,j as U}from"./p-cc2e20c8.js";import{s as V}from"./p-4557d5a8.js";import"./p-729708a3.js";import"./p-dbc9a5a8.js";import"./p-00444009.js";const X="combobox-item-",Y="combobox-chip-",G="combobox-label-",K="combobox-listbox-",N="combobox-input-",q=class{constructor(e){i(this,e),this.calciteLookupChange=t(this,"calciteLookupChange",6),this.calciteComboboxChange=t(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=t(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipDismiss=t(this,"calciteComboboxChipDismiss",6),this.calciteComboboxBeforeClose=t(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=t(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=t(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=t(this,"calciteComboboxOpen",6),this.active=!1,this.open=!1,this.disabled=!1,this.maxItems=0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multi",this.scale="m",this.value=null,this.intlRemoveTag=u.removeTag,this.placement=o,this.internalValueChangeFlag=!1,this.items=[],this.groupItems=[],this.selectedItems=[],this.visibleItems=[],this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.text="",this.textInput=null,this.mutationObserver=L("mutation",(()=>this.updateItems())),this.resizeObserver=L("resize",(()=>this.setMaxScrollerHeight())),this.guid=p(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?c(t,i):null},this.getValue=()=>{const i=this.selectedItems.map((i=>{var t;return null===(t=null==i?void 0:i.value)||void 0===t?void 0:t.toString()}));return(null==i?void 0:i.length)?i.length>1?i:i[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keydownHandler=i=>{const{key:t}=i;switch(t){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):this.open&&(this.open=!1,i.preventDefault());break;case"ArrowLeft":this.previousChip(),i.preventDefault();break;case"ArrowRight":this.nextChip(),i.preventDefault();break;case"ArrowUp":i.preventDefault(),this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":i.preventDefault(),this.open||(this.open=!0),this.shiftActiveItemIndex(1),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(i.preventDefault(),this.open=!0,this.shiftActiveItemIndex(1));break;case"Home":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(this.visibleItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.open=!1,i.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.visibleItems[this.activeItemIndex]),i.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),i.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):i.defaultPrevented||$(this)&&i.preventDefault();break;case"Delete":case"Backspace":this.activeChipIndex>-1?(i.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(i.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:i,open:t,referenceEl:e}=this;if(!i||!t)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();i.style.maxHeight=s>0?`${s}px`:"",i.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipDismissHandler=(i,t)=>{this.open=!1;const e=this.items.find((i=>i===t));e&&this.toggleSelection(e,!1),this.calciteComboboxChipDismiss.emit(i.detail)},this.clickHandler=i=>{i.composedPath().some((i=>"CALCITE-CHIP"===i.tagName))||(this.open=!this.open,this.updateActiveItemIndex(0),this.setFocus())},this.setInactiveIfNotContained=i=>{const t=i.composedPath();!this.open||t.includes(this.el)||t.includes(this.referenceEl)||(this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),"single"===this.selectionMode&&(this.textInput&&(this.textInput.value=""),this.text="",this.filterItems(""),this.updateActiveItemIndex(-1)),this.open=!1)},this.setFloatingEl=i=>{this.floatingEl=i,l(this,this.referenceEl,this.floatingEl)},this.setContainerEl=i=>{this.resizeObserver.observe(i),this.listContainerEl=i,this.transitionEl=i,T(this)},this.setReferenceEl=i=>{this.referenceEl=i,l(this,this.referenceEl,this.floatingEl)},this.inputHandler=i=>{const t=i.target.value;this.text=t,this.filterItems(t),t&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const i=(i,t)=>i&&t.some((({label:t,value:e})=>i.tagName===y?e===i.label:e===i.textLabel||e===i.value||t===i.textLabel||t===i.value));return M((t=>{const e=n(this.data,t);this.getCombinedItems().forEach((t=>{const s=!i(t,e);t.hidden=s;const[a,n]=t.ancestors;(i(a,e)||i(n,e))&&(t.hidden=!1),s||t.ancestors.forEach((i=>i.hidden=!1))})),this.visibleItems=this.getVisibleItems(),this.calciteComboboxFilterChange.emit({visibleItems:[...this.visibleItems],text:t})}),100)})(),this.internalCalciteLookupChangeEvent=()=>{this.calciteLookupChange.emit(this.selectedItems)},this.emitCalciteLookupChange=M(this.internalCalciteLookupChangeEvent,0),this.internalComboboxChangeEvent=()=>{const{selectedItems:i}=this;this.calciteComboboxChange.emit({selectedItems:i})},this.emitComboboxChange=M(this.internalComboboxChangeEvent,0),this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.visibleItems=this.getVisibleItems(),this.needsIcon=this.getNeedsIcon(),this.allowCustomValues||this.setMaxScrollerHeight()},this.scrollToActiveItem=()=>{const i=this.visibleItems[this.activeItemIndex],t=this.calculateSingleItemHeight(i),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<i.offsetTop+t?this.listContainerEl.scrollTop=i.offsetTop-e+t:i.offsetTop<s&&(this.listContainerEl.scrollTop=i.offsetTop)},this.comboboxFocusHandler=()=>{var i;null===(i=this.textInput)||void 0===i||i.focus()},this.comboboxBlurHandler=i=>{this.setInactiveIfNotContained(i)}}activeHandler(i){if(this.disabled)return this.active=!1,void(this.open=!1);this.open=i}openHandler(i){if(i||r(this.floatingEl),this.disabled)return this.active=!1,void(this.open=!1);this.active=i,this.setMaxScrollerHeight()}handleDisabledChange(i){i||(this.active=!1,this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}valueHandler(i){if(!this.internalValueChangeFlag){const t=this.getItems();Array.isArray(i)?t.forEach((t=>t.selected=i.includes(t.value))):t.forEach(i?t=>t.selected=i===t.value:i=>i.selected=!1),this.updateItems()}}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}documentClickHandler(i){E(i)&&this.setInactiveIfNotContained(i)}calciteComboboxItemChangeHandler(i){if(this.ignoreSelectedEventsFlag)return;const t=i.target,e=this.visibleItems.indexOf(t);this.updateActiveItemIndex(e),this.toggleSelection(t,t.selected)}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:n}=this;return h(this,{floatingEl:t,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:n,type:"menu"},i)}async setFocus(){var i;null===(i=this.textInput)||void 0===i||i.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var i;this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0}),C(this),H(this),T(this),this.setFilteredPlacements(),this.reposition(!0),this.active&&this.activeHandler(this.active),this.open&&this.openHandler(this.open)}componentWillLoad(){this.updateItems()}componentDidLoad(){_(this,this.getValue()),this.reposition(!0)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),A(this)}disconnectedCallback(){var i,t;null===(i=this.mutationObserver)||void 0===i||i.disconnect(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),z(this),D(this),d(this,this.referenceEl,this.floatingEl),B(this)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}textHandler(){this.updateActiveItemIndex(-1)}comboboxInViewport(){const i=this.el.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.right<=(window.innerWidth||document.documentElement.clientWidth)&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}getMaxScrollerHeight(){const i=this.getCombinedItems().filter((i=>!i.hidden)),{maxItems:t}=this;let e=0,s=0;return i.length>t&&i.forEach((i=>{if(e<t&&t>0){const t=this.calculateSingleItemHeight(i);t>0&&(s+=t,e++)}})),s}calculateSingleItemHeight(i){let t=i.offsetHeight;return Array.from(i.querySelectorAll(b)).map((i=>null==i?void 0:i.offsetHeight)).forEach((i=>{t-=i})),t}getCombinedItems(){return[...this.groupItems,...this.items]}toggleSelection(i,t=!i.selected){i&&(this.isMulti()?(i.selected=t,this.updateAncestors(i),this.selectedItems=this.getSelectedItems(),this.emitCalciteLookupChange(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===i&&t)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=i.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(i){if("ancestors"!==this.selectionMode)return;const t=g(i),e=f(i);i.selected?t.forEach((i=>{i.selected=!0})):(e.forEach((i=>i.selected=!1)),[...t].forEach((i=>{v(i)||(i.selected=!1)})))}getVisibleItems(){return this.items.filter((i=>!i.hidden))}getSelectedItems(){if(!this.isMulti()){const i=this.items.find((({selected:i})=>i));return i?[i]:[]}return this.items.filter((i=>i.selected&&("ancestors"!==this.selectionMode||!v(i)))).sort(((i,t)=>{const e=this.selectedItems.indexOf(i),s=this.selectedItems.indexOf(t);return e>-1&&s>-1?e-s:s-e}))}getData(){return this.items.map((i=>({constant:i.constant,filterDisabled:i.filterDisabled,value:i.value,label:i.textLabel})))}getNeedsIcon(){return"single"===this.selectionMode&&this.items.some((i=>i.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(x)).filter((i=>!i.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(y))}addCustomChip(i,t){const e=this.items.find((t=>t.textLabel===i));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement(x);e.value=i,e.textLabel=i,e.selected=!0,this.el.appendChild(e),this.resetText(),t&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitCalciteLookupChange(),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const i=this.activeChipIndex;this.activeChipIndex=-1===i?this.selectedItems.length-1:Math.max(i-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const i=this.activeChipIndex+1;i>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=i,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var i;const t=null===(i=this.selectedItems[this.activeChipIndex])||void 0===i?void 0:i.guid,e=t?this.referenceEl.querySelector(`#${Y}${t}`):null;null==e||e.setFocus()}shiftActiveItemIndex(i){const{length:t}=this.visibleItems;this.updateActiveItemIndex((this.activeItemIndex+t+i)%t),this.scrollToActiveItem()}updateActiveItemIndex(i){var t;this.activeItemIndex=i;let e=null;this.visibleItems.forEach(((t,s)=>{s===i?(t.active=!0,e=`${X}${t.guid}`):t.active=!1})),this.activeDescendant=e,this.activeItemIndex>-1&&(this.activeChipIndex=-1,null===(t=this.textInput)||void 0===t||t.focus())}isMulti(){return"single"!==this.selectionMode}renderChips(){const{activeChipIndex:i,scale:t,selectionMode:s,intlRemoveTag:a}=this;return this.selectedItems.map(((n,o)=>{const c={chip:!0,"chip--active":i===o},l=[...[...g(n)].reverse(),n].map((i=>i.textLabel)),r="ancestors"!==s?n.textLabel:l.join(" / ");return e("calcite-chip",{class:c,dismissLabel:a,dismissible:!0,icon:n.icon,id:n.guid?`${Y}${n.guid}`:null,key:n.textLabel,onCalciteChipDismiss:i=>this.calciteChipDismissHandler(i,n),scale:t,title:r,value:n.value},r)}))}renderInput(){const{guid:i,active:t,disabled:s,placeholder:a,selectionMode:n,selectedItems:o,open:c}=this,l="single"===n,r=o[0],h=!(c||t)&&l&&!!r;return e("span",{class:{"input-wrap":!0,"input-wrap--single":l}},h&&e("span",{class:{label:!0,"label--icon":!!(null==r?void 0:r.icon)},key:"label"},r.textLabel),e("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${K}${i}`,"aria-label":I(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":h,"input--icon":!!this.placeholderIcon},disabled:s,id:`${N}${i}`,key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:a,ref:i=>this.textInput=i,type:"text"}))}renderListBoxOptions(){return this.visibleItems.map((i=>e("li",{"aria-selected":S(i.selected),id:i.guid?`${X}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{active:i,setFloatingEl:t,setContainerEl:s,open:a}=this;return e("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":a||i},ref:t},e("div",{class:{"list-container":!0,[m.animation]:!0,[m.animationActive]:a||i},ref:s},e("ul",{class:{list:!0,"list--hide":!(a||i)}},e("slot",null))))}renderIconStart(){const{selectedItems:i,placeholderIcon:t,selectionMode:s}=this,a=i[0],n=null==a?void 0:a.icon,o="single"===s;return(!this.open&&a?!!n&&o:!!this.placeholderIcon&&(!a||o))&&e("span",{class:"icon-start"},e("calcite-icon",{class:"selected-icon",icon:!this.open&&a?n:t,scale:"s"}))}renderIconEnd(){const{active:i,open:t}=this;return e("span",{class:"icon-end"},e("calcite-icon",{icon:i||t?"chevron-up":"chevron-down",scale:"s"}))}render(){const{active:i,guid:t,label:a,open:n}=this,o="single"===this.selectionMode;return e(s,null,e("div",{"aria-autocomplete":"list","aria-controls":`${K}${t}`,"aria-expanded":S(n||i),"aria-haspopup":"listbox","aria-labelledby":`${G}${t}`,"aria-live":"polite","aria-owns":`${K}${t}`,class:{wrapper:!0,"wrapper--single":o||!this.selectedItems.length,"wrapper--active":n||i},onClick:this.clickHandler,onKeyDown:this.keydownHandler,ref:this.setReferenceEl,role:"combobox"},e("div",{class:"grid-input"},this.renderIconStart(),!o&&this.renderChips(),e("label",{class:"screen-readers-only",htmlFor:`${N}${t}`,id:`${G}${t}`},a),this.renderInput()),this.renderIconEnd()),e("ul",{"aria-labelledby":`${G}${t}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${K}${t}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),e(j,{component:this}))}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"]}}};q.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{display:block;position:absolute;z-index:900;visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}.floating-ui-container--active{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
6
|
+
import{r as i,c as t,h as e,H as s,g as a}from"./p-c2f00d41.js";import{f as n}from"./p-d48a24e6.js";import{d as o,f as c,c as l,u as r,r as h,a as d,F as m}from"./p-a9cefd9c.js";import{g as p}from"./p-a80b3880.js";import{T as u,C as b,b as f,c as g,h as v,d as x,e as y,g as w,a as k}from"./p-a5b1ab03.js";import{c as C,d as z,g as I}from"./p-bd67334c.js";import{s as $,c as H,a as _,d as D,H as j}from"./p-a33d73bb.js";import{c as L}from"./p-9a9955db.js";import{u as A}from"./p-7daea1df.js";import{i as E,t as S,g as P,a as F}from"./p-83166522.js";import{c as T,d as B}from"./p-2e9ed892.js";import{d as M}from"./p-4e32bf8c.js";import{c as O,d as R}from"./p-1c247f54.js";import{i as W,j as U}from"./p-1bfd07e3.js";import{s as V}from"./p-4557d5a8.js";import"./p-729708a3.js";import"./p-dbc9a5a8.js";import"./p-00444009.js";const X="combobox-item-",Y="combobox-chip-",G="combobox-label-",K="combobox-listbox-",N="combobox-input-",q=class{constructor(e){i(this,e),this.calciteLookupChange=t(this,"calciteLookupChange",6),this.calciteComboboxChange=t(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=t(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipDismiss=t(this,"calciteComboboxChipDismiss",6),this.calciteComboboxBeforeClose=t(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=t(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=t(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=t(this,"calciteComboboxOpen",6),this.active=!1,this.open=!1,this.disabled=!1,this.maxItems=0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multi",this.scale="m",this.value=null,this.intlRemoveTag=u.removeTag,this.placement=o,this.internalValueChangeFlag=!1,this.items=[],this.groupItems=[],this.selectedItems=[],this.visibleItems=[],this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.text="",this.textInput=null,this.mutationObserver=L("mutation",(()=>this.updateItems())),this.resizeObserver=L("resize",(()=>this.setMaxScrollerHeight())),this.guid=p(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?c(t,i):null},this.getValue=()=>{const i=this.selectedItems.map((i=>{var t;return null===(t=null==i?void 0:i.value)||void 0===t?void 0:t.toString()}));return(null==i?void 0:i.length)?i.length>1?i:i[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keydownHandler=i=>{const{key:t}=i;switch(t){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):this.open&&(this.open=!1,i.preventDefault());break;case"ArrowLeft":this.previousChip(),i.preventDefault();break;case"ArrowRight":this.nextChip(),i.preventDefault();break;case"ArrowUp":i.preventDefault(),this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":i.preventDefault(),this.open||(this.open=!0),this.shiftActiveItemIndex(1),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(i.preventDefault(),this.open=!0,this.shiftActiveItemIndex(1));break;case"Home":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(this.visibleItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.open=!1,i.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.visibleItems[this.activeItemIndex]),i.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),i.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):i.defaultPrevented||$(this)&&i.preventDefault();break;case"Delete":case"Backspace":this.activeChipIndex>-1?(i.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(i.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:i,open:t,referenceEl:e}=this;if(!i||!t)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();i.style.maxHeight=s>0?`${s}px`:"",i.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipDismissHandler=(i,t)=>{this.open=!1;const e=this.items.find((i=>i===t));e&&this.toggleSelection(e,!1),this.calciteComboboxChipDismiss.emit(i.detail)},this.clickHandler=i=>{i.composedPath().some((i=>"CALCITE-CHIP"===i.tagName))||(this.open=!this.open,this.updateActiveItemIndex(0),this.setFocus())},this.setInactiveIfNotContained=i=>{const t=i.composedPath();!this.open||t.includes(this.el)||t.includes(this.referenceEl)||(this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),"single"===this.selectionMode&&(this.textInput&&(this.textInput.value=""),this.text="",this.filterItems(""),this.updateActiveItemIndex(-1)),this.open=!1)},this.setFloatingEl=i=>{this.floatingEl=i,l(this,this.referenceEl,this.floatingEl)},this.setContainerEl=i=>{this.resizeObserver.observe(i),this.listContainerEl=i,this.transitionEl=i,T(this)},this.setReferenceEl=i=>{this.referenceEl=i,l(this,this.referenceEl,this.floatingEl)},this.inputHandler=i=>{const t=i.target.value;this.text=t,this.filterItems(t),t&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const i=(i,t)=>i&&t.some((({label:t,value:e})=>i.tagName===y?e===i.label:e===i.textLabel||e===i.value||t===i.textLabel||t===i.value));return M((t=>{const e=n(this.data,t);this.getCombinedItems().forEach((t=>{const s=!i(t,e);t.hidden=s;const[a,n]=t.ancestors;(i(a,e)||i(n,e))&&(t.hidden=!1),s||t.ancestors.forEach((i=>i.hidden=!1))})),this.visibleItems=this.getVisibleItems(),this.calciteComboboxFilterChange.emit({visibleItems:[...this.visibleItems],text:t})}),100)})(),this.internalCalciteLookupChangeEvent=()=>{this.calciteLookupChange.emit(this.selectedItems)},this.emitCalciteLookupChange=M(this.internalCalciteLookupChangeEvent,0),this.internalComboboxChangeEvent=()=>{const{selectedItems:i}=this;this.calciteComboboxChange.emit({selectedItems:i})},this.emitComboboxChange=M(this.internalComboboxChangeEvent,0),this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.visibleItems=this.getVisibleItems(),this.needsIcon=this.getNeedsIcon(),this.allowCustomValues||this.setMaxScrollerHeight()},this.scrollToActiveItem=()=>{const i=this.visibleItems[this.activeItemIndex],t=this.calculateSingleItemHeight(i),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<i.offsetTop+t?this.listContainerEl.scrollTop=i.offsetTop-e+t:i.offsetTop<s&&(this.listContainerEl.scrollTop=i.offsetTop)},this.comboboxFocusHandler=()=>{var i;null===(i=this.textInput)||void 0===i||i.focus()},this.comboboxBlurHandler=i=>{this.setInactiveIfNotContained(i)}}activeHandler(i){if(this.disabled)return this.active=!1,void(this.open=!1);this.open=i}openHandler(i){if(i||r(this.floatingEl),this.disabled)return this.active=!1,void(this.open=!1);this.active=i,this.setMaxScrollerHeight()}handleDisabledChange(i){i||(this.active=!1,this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}valueHandler(i){if(!this.internalValueChangeFlag){const t=this.getItems();Array.isArray(i)?t.forEach((t=>t.selected=i.includes(t.value))):t.forEach(i?t=>t.selected=i===t.value:i=>i.selected=!1),this.updateItems()}}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}documentClickHandler(i){E(i)&&this.setInactiveIfNotContained(i)}calciteComboboxItemChangeHandler(i){if(this.ignoreSelectedEventsFlag)return;const t=i.target,e=this.visibleItems.indexOf(t);this.updateActiveItemIndex(e),this.toggleSelection(t,t.selected)}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:n}=this;return h(this,{floatingEl:t,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:n,type:"menu"},i)}async setFocus(){var i;null===(i=this.textInput)||void 0===i||i.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var i;this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0}),C(this),H(this),T(this),this.setFilteredPlacements(),this.reposition(!0),this.active&&this.activeHandler(this.active),this.open&&this.openHandler(this.open)}componentWillLoad(){this.updateItems()}componentDidLoad(){_(this,this.getValue()),this.reposition(!0)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),A(this)}disconnectedCallback(){var i,t;null===(i=this.mutationObserver)||void 0===i||i.disconnect(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),z(this),D(this),d(this,this.referenceEl,this.floatingEl),B(this)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}textHandler(){this.updateActiveItemIndex(-1)}comboboxInViewport(){const i=this.el.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.right<=(window.innerWidth||document.documentElement.clientWidth)&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}getMaxScrollerHeight(){const i=this.getCombinedItems().filter((i=>!i.hidden)),{maxItems:t}=this;let e=0,s=0;return i.length>t&&i.forEach((i=>{if(e<t&&t>0){const t=this.calculateSingleItemHeight(i);t>0&&(s+=t,e++)}})),s}calculateSingleItemHeight(i){let t=i.offsetHeight;return Array.from(i.querySelectorAll(b)).map((i=>null==i?void 0:i.offsetHeight)).forEach((i=>{t-=i})),t}getCombinedItems(){return[...this.groupItems,...this.items]}toggleSelection(i,t=!i.selected){i&&(this.isMulti()?(i.selected=t,this.updateAncestors(i),this.selectedItems=this.getSelectedItems(),this.emitCalciteLookupChange(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===i&&t)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=i.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(i){if("ancestors"!==this.selectionMode)return;const t=f(i),e=g(i);i.selected?t.forEach((i=>{i.selected=!0})):(e.forEach((i=>i.selected=!1)),[...t].forEach((i=>{v(i)||(i.selected=!1)})))}getVisibleItems(){return this.items.filter((i=>!i.hidden))}getSelectedItems(){if(!this.isMulti()){const i=this.items.find((({selected:i})=>i));return i?[i]:[]}return this.items.filter((i=>i.selected&&("ancestors"!==this.selectionMode||!v(i)))).sort(((i,t)=>{const e=this.selectedItems.indexOf(i),s=this.selectedItems.indexOf(t);return e>-1&&s>-1?e-s:s-e}))}getData(){return this.items.map((i=>({constant:i.constant,filterDisabled:i.filterDisabled,value:i.value,label:i.textLabel})))}getNeedsIcon(){return"single"===this.selectionMode&&this.items.some((i=>i.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(x)).filter((i=>!i.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(y))}addCustomChip(i,t){const e=this.items.find((t=>t.textLabel===i));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement(x);e.value=i,e.textLabel=i,e.selected=!0,this.el.appendChild(e),this.resetText(),t&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitCalciteLookupChange(),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const i=this.activeChipIndex;this.activeChipIndex=-1===i?this.selectedItems.length-1:Math.max(i-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const i=this.activeChipIndex+1;i>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=i,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var i;const t=null===(i=this.selectedItems[this.activeChipIndex])||void 0===i?void 0:i.guid,e=t?this.referenceEl.querySelector(`#${Y}${t}`):null;null==e||e.setFocus()}shiftActiveItemIndex(i){const{length:t}=this.visibleItems;this.updateActiveItemIndex((this.activeItemIndex+t+i)%t),this.scrollToActiveItem()}updateActiveItemIndex(i){var t;this.activeItemIndex=i;let e=null;this.visibleItems.forEach(((t,s)=>{s===i?(t.active=!0,e=`${X}${t.guid}`):t.active=!1})),this.activeDescendant=e,this.activeItemIndex>-1&&(this.activeChipIndex=-1,null===(t=this.textInput)||void 0===t||t.focus())}isMulti(){return"single"!==this.selectionMode}renderChips(){const{activeChipIndex:i,scale:t,selectionMode:s,intlRemoveTag:a}=this;return this.selectedItems.map(((n,o)=>{const c={chip:!0,"chip--active":i===o},l=[...[...f(n)].reverse(),n].map((i=>i.textLabel)),r="ancestors"!==s?n.textLabel:l.join(" / ");return e("calcite-chip",{class:c,dismissLabel:a,dismissible:!0,icon:n.icon,id:n.guid?`${Y}${n.guid}`:null,key:n.textLabel,onCalciteChipDismiss:i=>this.calciteChipDismissHandler(i,n),scale:t,title:r,value:n.value},r)}))}renderInput(){const{guid:i,active:t,disabled:s,placeholder:a,selectionMode:n,selectedItems:o,open:c}=this,l="single"===n,r=o[0],h=!(c||t)&&l&&!!r;return e("span",{class:{"input-wrap":!0,"input-wrap--single":l}},h&&e("span",{class:{label:!0,"label--icon":!!(null==r?void 0:r.icon)},key:"label"},r.textLabel),e("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${K}${i}`,"aria-label":I(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":h,"input--icon":!!this.placeholderIcon},disabled:s,id:`${N}${i}`,key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:a,ref:i=>this.textInput=i,type:"text"}))}renderListBoxOptions(){return this.visibleItems.map((i=>e("li",{"aria-selected":S(i.selected),id:i.guid?`${X}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{active:i,setFloatingEl:t,setContainerEl:s,open:a}=this;return e("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":a||i},ref:t},e("div",{class:{"list-container":!0,[m.animation]:!0,[m.animationActive]:a||i},ref:s},e("ul",{class:{list:!0,"list--hide":!(a||i)}},e("slot",null))))}renderIconStart(){const{selectedItems:i,placeholderIcon:t,selectionMode:s}=this,a=i[0],n=null==a?void 0:a.icon,o="single"===s;return(!this.open&&a?!!n&&o:!!this.placeholderIcon&&(!a||o))&&e("span",{class:"icon-start"},e("calcite-icon",{class:"selected-icon",icon:!this.open&&a?n:t,scale:"s"}))}renderIconEnd(){const{active:i,open:t}=this;return e("span",{class:"icon-end"},e("calcite-icon",{icon:i||t?"chevron-up":"chevron-down",scale:"s"}))}render(){const{active:i,guid:t,label:a,open:n}=this,o="single"===this.selectionMode;return e(s,null,e("div",{"aria-autocomplete":"list","aria-controls":`${K}${t}`,"aria-expanded":S(n||i),"aria-haspopup":"listbox","aria-labelledby":`${G}${t}`,"aria-live":"polite","aria-owns":`${K}${t}`,class:{wrapper:!0,"wrapper--single":o||!this.selectedItems.length,"wrapper--active":n||i},onClick:this.clickHandler,onKeyDown:this.keydownHandler,ref:this.setReferenceEl,role:"combobox"},e("div",{class:"grid-input"},this.renderIconStart(),!o&&this.renderChips(),e("label",{class:"screen-readers-only",htmlFor:`${N}${t}`,id:`${G}${t}`},a),this.renderInput()),this.renderIconEnd()),e("ul",{"aria-labelledby":`${G}${t}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${K}${t}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),e(j,{component:this}))}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"]}}};q.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{display:block;position:absolute;z-index:900;visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}.floating-ui-container--active{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
@@ -0,0 +1,6 @@
|
|
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 i,c as t,h as s,H as e,g as a}from"./p-c2f00d41.js";import{b as l,c as n,E as o,d}from"./p-dbc9a5a8.js";import{l as h}from"./p-eea93a37.js";import{a as c,c as r,g as p,h as g}from"./p-1bfd07e3.js";import{s as b}from"./p-4557d5a8.js";import{g as u}from"./p-9260d75a.js";import{g as m,a as f}from"./p-fc884dd6.js";import"./p-00444009.js";import"./p-e1a4994d.js";const v=class{constructor(s){i(this,s),this.labelChange=t(this,"labelChange",7),this.searchConfigurationChange=t(this,"searchConfigurationChange",7),this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.addresseeLayer=void 0,this._downloadActive=!0,this._numSelected=0,this._pageType=l.LIST,this._saveEnabled=!1,this._selectionSets=[],this._sketchType=n.INTERACTIVE,this._selectionWorkflowType=o.SEARCH,this._showLayerSelectionChangeModal=!1,this._translations=void 0}async mapViewWatchHandler(i){(null==i?void 0:i.popup)&&(this._popupsEnabled=null==i?void 0:i.popup.autoOpenEnabled)}async watchSearchConfigurationHandler(i,t){console.log("PN watchSearchConfigurationHandler"),console.log("PN newValue"),console.log(i),console.log("PN oldValue"),console.log(t),JSON.stringify(i)!==JSON.stringify(t)&&(console.log("Emit event from parent"),this.searchConfigurationChange.emit(i))}async selectionSetsWatchHandler(i,t){i&&i!==t&&i.length>0&&0===i.filter((i=>i.workflowType!==o.REFINE)).length&&(this._selectionSets=[])}async pageTypeWatchHandler(i,t){if(this._checkPopups(),this._clearHighlight(),t!==l.SELECT&&t!==l.REFINE||await this._clearSelection(),i!==l.SELECT)return this._highlightFeatures()}distanceChanged(i){this._updateLabel(i,"distance"),this._distance=i.detail.newValue}selectionSetsChanged(i){this._selectionSets=[...i.detail]}sketchTypeChange(i){this._sketchType=i.detail}unitChanged(i){this._updateLabel(i,"unit"),this._unit=i.detail.newValue}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){const i=this._selectionSets.length>0;return s(e,null,s("calcite-shell",null,s("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:"header"},this._getActionGroup("list-check",!1,l.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",!i,l.REFINE,this._translations.refineSelection):void 0,this._getActionGroup("file-pdf",!i,l.PDF,this._translations.downloadPDF),this._getActionGroup("file-csv",!i,l.CSV,this._translations.downloadCSV)),this._getPage(this._pageType)))}async _initModules(){const[i]=await h(["esri/geometry/geometryEngine"]);this._geometryEngine=i}_getActionGroup(i,t,e,a){return s("calcite-action-group",{class:this.showRefineSelection?"action-center w-1-4":"action-center w-1-3",layout:"horizontal"},s("calcite-action",{active:this._pageType===e,alignment:"center",class:"width-full height-full",compact:!1,disabled:t,icon:i,id:i,onClick:()=>{this._setPageType(e)},text:""}),s("calcite-tooltip",{label:"",placement:"bottom","reference-element":i},s("span",null,a)))}_setPageType(i){this._pageType=i}_getPage(i){let t;switch(i){case l.LIST:t=this._getListPage();break;case l.SELECT:t=this._getSelectPage();break;case l.REFINE:t=this._getRefinePage();break;case l.PDF:t=this._getPDFPage();break;case l.CSV:t=this._getCSVPage()}return t}_getListPage(){const i=this._selectionSets.filter((i=>i.workflowType!==o.REFINE)).length>0,t=m(this._selectionSets);return i?s("calcite-panel",null,s("div",{class:"padding-top-sides-1"},s("calcite-label",{class:"font-bold"},this._translations.myLists)),this._getNotice(this._translations.listHasSetsTip,"padding-sides-1 padding-bottom-1"),this._getMapLayerPicker(),s("div",{class:"display-block padding-sides-1 height-1-1-2"},s("div",{class:"display-block float-left"},s("calcite-label",{alignment:"start",class:"font-bold"},this._translations.notifications)),s("div",{class:"display-block float-right"},s("calcite-input-message",{active:!0,class:"info-blue margin-top-0",scale:"m"},this._translations.uniqueCout.replace("{{n}}",t.toString())))),i?this._getSelectionSetList():s("div",{class:"info-message"},s("calcite-input-message",{active:!0,class:"info-blue",scale:"m"},this._translations.noNotifications)),s("div",{class:"display-flex padding-1"},s("calcite-button",{onClick:()=>{this._setPageType(l.SELECT)},width:"full"},this._translations.add)),this._showModal(this._showLayerSelectionChangeModal)):s("calcite-panel",null,s("div",{class:"padding-top-sides-1"},s("calcite-label",{class:"font-bold"},this._translations.myLists)),s("div",{class:"padding-sides-1"},s("calcite-label",null,this._translations.notifications)),s("div",{class:"info-message padding-bottom-1"},s("calcite-input-message",{active:!0,class:"info-blue",scale:"m"},this._translations.noNotifications)),this._getNotice(this._translations.selectLayerAndAdd,"padding-sides-1 padding-bottom-1"),this._getMapLayerPicker(),s("div",{class:"display-flex padding-1"},s("calcite-button",{onClick:()=>{this._setPageType(l.SELECT)},width:"full"},this._translations.add)))}_getMapLayerPicker(){var i;return s("div",{class:"display-flex padding-sides-1"},s("calcite-label",{class:"font-bold width-full"},this._translations.addresseeLayer,s("map-layer-picker",{enabledLayerIds:this.addresseeLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>this._layerSelectionChange(i),selectedLayerIds:this.addresseeLayer?[null===(i=this.addresseeLayer)||void 0===i?void 0:i.layer.id]:[],selectionMode:"single"})))}_getSelectionSetList(){return s("calcite-list",{class:"list-border margin-sides-1"},this._selectionSets.reduce(((i,t,e)=>(t.workflowType!==o.REFINE&&i.push(s("calcite-list-item",{description:this._translations.selectedFeatures.replace("{{n}}",t.selectedIds.length.toString()),label:t.label,onClick:()=>this._gotoSelection(t,this.mapView)},this._getAction(!0,"pencil","",(i=>this._openSelection(t,i)),!1,"actions-end"),this._getAction(!0,"x","",(i=>this._deleteSelection(e,i)),!1,"actions-end"))),i)),[]))}_showModal(i){return s("calcite-modal",{"aria-labelledby":"modal-title","background-color":"grey",color:"red",open:i,scale:"s",width:"s"},s("div",{id:"modal-title",slot:"header"},this._translations.shouldProceed),s("div",{slot:"content"},this._translations.proceedInfo),s("calcite-button",{appearance:"outline",onClick:()=>this._cancelLayerChange(),slot:"secondary",width:"full"},this._translations.cancel),s("calcite-button",{onClick:()=>this._handleLayerChange(),slot:"primary",width:"full"},this._translations.proceed))}_cancelLayerChange(){this._layerSelectionChangeEvt.preventDefault(),this._layerSelectionChangeEvt.stopPropagation(),this._layerSelectionChangeEvt=void 0,this._showLayerSelectionChangeModal=!1}async _handleLayerChange(){var i,t;this._showLayerSelectionChangeModal=!1;const s=(null===(t=null===(i=this._layerSelectionChangeEvt)||void 0===i?void 0:i.detail)||void 0===t?void 0:t.length)>0?this._layerSelectionChangeEvt.detail[0]:"";await this._updateAddresseeLayer(s)}_getSelectPage(){var i,t;const e=this._selectionWorkflowType===o.SELECT?this._translations.selectLayerTip:this._selectionWorkflowType===o.SKETCH?this._sketchType===n.INTERACTIVE?this._translations.selectSketchTip:this._translations.selectLayerTip:this._translations.selectSearchTip,a=this.customLabelEnabled?"":"display-none";return s("calcite-panel",null,this._getLabel(this._translations.stepTwoFull.replace("{{layer}}",null===(i=this.addresseeLayer)||void 0===i?void 0:i.layer.title)),this._getNotice(e),s("div",{class:"padding-top-sides-1"},s("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enabledLayerIds:this.selectionLayerIds,isUpdate:!!this._activeSelection,mapView:this.mapView,onSelectionSetChange:i=>this._updateForSelection(i),onWorkflowTypeChange:i=>this._updateForWorkflowType(i),ref:i=>{this._selectTools=i},searchConfiguration:this.searchConfiguration,selectLayerView:this.addresseeLayer,selectionSet:this._activeSelection,showBufferTools:this.showSearchSettings})),s("div",{class:"padding-sides-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{active:!0,class:"info-blue",scale:"m"},this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedAddresses.replace("{{n}}",this._numSelected.toString()).replace("{{layer}}",(null===(t=this.addresseeLayer)||void 0===t?void 0:t.layer.title)||""))),s("div",{class:"padding-sides-1 "+a},s("calcite-label",{class:"font-bold"},"List name",s("calcite-input",{onInput:()=>{this.labelChange.emit(this._labelName.value)},placeholder:"Insert label here...",ref:i=>{this._labelName=i},value:this._customLabel||""}))),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getRefinePage(){return s("calcite-panel",null,this._getLabel(this._translations.refineSelection),this._getNotice(this._translations.refineTip,"padding-sides-1"),s("refine-selection",{addresseeLayer:this.addresseeLayer,enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,selectionSets:this._selectionSets}))}_getPDFPage(){return this._getDownloadPage(d.PDF)}_getCSVPage(){return this._getDownloadPage(d.CSV)}_getDownloadPage(i){const t=i===d.PDF;return s("calcite-panel",null,s("div",null,s("div",{class:"padding-top-sides-1"},s("calcite-label",{class:"font-bold"},t?this._translations.downloadPDF:this._translations.downloadCSV),s("calcite-label",null,this._translations.notifications)),this._getSelectionLists(),s("div",{class:"margin-side-1 padding-top-1 border-bottom"}),s("div",{class:"padding-top-sides-1"},s("calcite-label",{layout:"inline"},s("calcite-checkbox",{disabled:!this._downloadActive,ref:i=>{this._removeDuplicates=i}}),this._translations.removeDuplicate)),s("div",{class:t?"":"display-none"},this._getLabel(this._translations.selectPDFLabelOption,!1),s("div",{class:"padding-sides-1"},s("pdf-download",{disabled:!this._downloadActive,layerView:this.addresseeLayer,ref:i=>{this._downloadTools=i}}))),s("div",{class:"padding-1 display-flex"},s("calcite-button",{disabled:!this._downloadActive,onClick:t?()=>this._downloadPDF():()=>this._downloadCSV(),width:"full"},t?this._translations.downloadPDF:this._translations.downloadCSV))))}_getPageNavButtons(i,t,e,a,l,n){return s("div",null,s("div",{class:"display-flex padding-top-sides-1"},s("calcite-button",{disabled:t,onClick:e,width:"full"},i)),s("div",{class:"display-flex padding-top-1-2 padding-sides-1"},s("calcite-button",{appearance:"outline",disabled:l,onClick:n,width:"full"},a)))}_getNotice(i,t="padding-1"){return s("calcite-notice",{class:t,color:"green",icon:"lightbulb",open:!0},s("div",{slot:"message"},i))}_getLabel(i,t=!1){return s("div",{class:"padding-top-sides-1"},s("calcite-label",{class:"font-bold","disable-spacing":t},i))}_getSelectionLists(){return this._selectionSets.reduce(((i,t)=>(t.workflowType!==o.REFINE&&(!this._downloadActive&&t.download&&(this._downloadActive=!0),i.push(s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-checkbox",{checked:t.download,class:"align-center",onClick:()=>{this._toggleDownload(t.id)}}),s("calcite-list",{class:"list-border margin-start-1-2 w-100",id:"download-list"},s("calcite-list-item",{description:this._translations.selectedFeatures.replace("{{n}}",t.selectedIds.length.toString()),disabled:!t.download,label:t.label,onClick:()=>{this._toggleDownload(t.id)}}))))),i)),[])||s("div",null)}async _toggleDownload(i){let t=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===i?!s.download:s.download,t=!!s.download||t,s))),this._downloadActive=t,await this._highlightFeatures()}_downloadPDF(){const i=f(this._getDownloadSelectionSets());this._downloadTools.downloadPDF(i,this._removeDuplicates.checked)}_downloadCSV(){const i=f(this._getDownloadSelectionSets());this._downloadTools.downloadCSV(i,this._removeDuplicates.checked)}_getDownloadSelectionSets(){return this._selectionSets.filter((i=>i.download||i.workflowType===o.REFINE))}_updateLabel(i,t){this._customLabel&&(this._customLabel=this._customLabel.replace("unit"===t?`${this._distance} ${i.detail.oldValue}`:`${i.detail.oldValue} ${this._unit}`,"unit"===t?`${this._distance} ${i.detail.newValue}`:`${i.detail.newValue} ${this._unit}`),this._labelName.value=this._customLabel,this.labelChange.emit(this._labelName.value))}_updateForWorkflowType(i){this._selectionWorkflowType=i.detail}_getAction(i,t,e,a,l=!1,n=""){return s("calcite-action",{disabled:!i,icon:t,indicator:l,onClick:a,slot:n,text:e})}_updateForSelection(i){this._numSelected=i.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),"boolean"==typeof this._popupsEnabled&&this.mapView.popup&&(this.mapView.popup.autoOpenEnabled=this._popupsEnabled),this._setPageType(l.LIST)}async _layerSelectionChange(i){var t,s,e;const a=(null===(t=null==i?void 0:i.detail)||void 0===t?void 0:t.length)>0?i.detail[0]:"";a!==(null===(s=this.addresseeLayer)||void 0===s?void 0:s.layer.id)&&(this._showLayerSelectionChangeModal=void 0!==(null===(e=this.addresseeLayer)||void 0===e?void 0:e.layer.id)&&this._selectionSets.length>0,this._showLayerSelectionChangeModal?this._layerSelectionChangeEvt=i:await this._updateAddresseeLayer(a))}async _updateAddresseeLayer(i){this.addresseeLayer=await c(this.mapView,i),await this._updateSelectionSets(this.addresseeLayer)}async _updateSelectionSets(i){const t=this._selectionSets.filter((i=>i.workflowType!==o.REFINE)),s=[];return t.forEach((t=>{t.layerView=i,t.selectedIds=[],s.push(r(t,this._geometryEngine))})),Promise.all(s).then((async i=>{i.forEach(((i,s)=>{t[s].selectedIds=i})),await this._highlightFeatures(),this._selectionSets=[...t]}))}async _saveSelection(){var i,t;const s=await(null===(i=this._selectTools)||void 0===i?void 0:i.getSelection()),e=null===(t=this._selectTools)||void 0===t?void 0:t.isUpdate;return this._selectionSets=e?this._selectionSets.map((i=>i.id===s.id?s:i)):[...this._selectionSets,s],this._home()}async _clearSelection(){var i;await(null===(i=this._selectTools)||void 0===i?void 0:i.clearSelection()),this._numSelected=0,this._activeSelection=void 0,this._customLabel=void 0,this._distance=void 0,this._unit=void 0}_deleteSelection(i,t){return t.stopPropagation(),this._selectionSets=this._selectionSets.filter(((t,s)=>{if(s!==i)return t})),this._highlightFeatures()}_gotoSelection(i,t){p(i.selectedIds,i.layerView,t,this.featureHighlightEnabled,this.featureEffect)}_openSelection(i,t){t.stopPropagation(),this._activeSelection=i,this._distance=this._activeSelection.distance,this._unit=this._activeSelection.unit,this._customLabel=this._activeSelection.label,this._pageType=l.SELECT}async _highlightFeatures(){this._clearHighlight();const i=f(this._selectionSets);i.length>0&&(b.highlightHandle=await g(i,this.addresseeLayer,this.mapView))}_checkPopups(){var i;"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=null===(i=this.mapView)||void 0===i?void 0:i.popup.autoOpenEnabled)}_clearHighlight(){var i;b&&b.highlightHandle&&(null===(i=b.highlightHandle)||void 0===i||i.remove())}async _getTranslations(){const i=await u(this.el);this._translations=i[0]}get el(){return a(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],_selectionSets:["selectionSetsWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};v.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-3{width:33.3%}.w-1-4{width:25%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{-webkit-padding-before:1rem;padding-block-start:1rem;-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-sides-1{-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-end-1-2{-webkit-padding-end:.5rem;padding-inline-end:.5rem}.padding-top-1-2{-webkit-padding-before:.5rem;padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.main-label{float:left}html[dir="rtl"] .main-label{float:right}.back-label:hover{cursor:pointer;color:var(--calcite-ui-brand-hover)}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.margin-side-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.border-top{border-top:1px solid var(--calcite-ui-border-2)}.w-100{width:100%}.w-50{width:50%}.padding-1-2{padding:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.margin-start-1-2{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{-webkit-margin-before:0 !important;margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}.num-selected{align-items:center;display:flex}';export{v as public_notification}
|
@@ -0,0 +1,17 @@
|
|
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 i,h as t,H as e,g as a,c as s}from"./p-c2f00d41.js";import{s as n,g as o,a as l}from"./p-83166522.js";import{S as c}from"./p-6fe17794.js";import{c as r,d as h}from"./p-1c247f54.js";import{l as d}from"./p-eea93a37.js";import{g as m,h as p,d as g,e as u}from"./p-1bfd07e3.js";import{E as v,f as b,g as f,c as y}from"./p-dbc9a5a8.js";import{s as w}from"./p-4557d5a8.js";import{g as k}from"./p-9260d75a.js";import{d as x,a as S}from"./p-caa7e7a7.js";import{a as _,g as D}from"./p-fc884dd6.js";import"./p-729708a3.js";import"./p-a80b3880.js";import"./p-9a9955db.js";import"./p-00444009.js";import"./p-e1a4994d.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
+
* v1.0.0-beta.97
|
11
|
+
*/var z;!function(i){i.valid="check-circle",i.invalid="exclamation-mark-triangle",i.idle="information"}(z||(z={}));const P=class{constructor(t){i(this,t),this.active=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=n(z,this.icon,this.status)}connectedCallback(){this.status=o(this.el,"status",this.status),this.scale=o(this.el,"scale",this.scale),this.requestedIcon=n(z,this.icon,this.status)}render(){return t(e,{"calcite-hydrated-hidden":!this.active},this.renderIcon(this.requestedIcon),t("slot",null))}renderIcon(i){if(i)return t("calcite-icon",{class:"calcite-input-message-icon",icon:i,scale:"s"})}get el(){return a(this)}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}};P.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([active][scale=m]),:host([active][scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{visibility:hidden;box-sizing:border-box;display:flex;block-size:0px;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([active]){visibility:visible;block-size:auto;opacity:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([active][scale=m]),:host([active][scale=l]){-webkit-margin-before:var(--calcite-input-message-spacing-value);margin-block-start:var(--calcite-input-message-spacing-value)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status][active]){color:var(--calcite-ui-text-1)}:host([status][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][scale=m]){-webkit-margin-before:0.25rem;margin-block-start:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][scale=l]){-webkit-margin-before:0.25rem;margin-block-start:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
15
|
+
* v1.0.0-beta.97
|
16
|
+
*/
|
17
|
+
const L="actions-end",C=class{constructor(t){i(this,t),this.calciteNoticeClose=s(this,"calciteNoticeClose",6),this.calciteNoticeOpen=s(this,"calciteNoticeOpen",6),this.active=!1,this.open=!1,this.color="blue",this.dismissible=!1,this.closable=!1,this.intlClose="Close",this.scale="m",this.width="auto",this.close=()=>{this.open=!1,this.calciteNoticeClose.emit()}}activeHandler(i){this.open=i}openHandler(i){this.active=i}handleDismissible(i){this.closable=i}handleClosable(i){this.dismissible=i}updateRequestedIcon(){this.requestedIcon=n(c,this.icon,this.color)}connectedCallback(){r(this);const i=this.active||this.open;i&&(this.activeHandler(i),this.openHandler(i)),this.dismissible&&this.handleDismissible(this.dismissible),this.closable&&this.handleClosable(this.closable)}disconnectedCallback(){h(this)}componentWillLoad(){this.requestedIcon=n(c,this.icon,this.color)}render(){const{el:i}=this,e=t("button",{"aria-label":this.intlClose,class:"notice-close",onClick:this.close,ref:i=>this.closeButton=i},t("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),a=l(i,L);return t("div",{class:"container"},this.requestedIcon?t("div",{class:"notice-icon"},t("calcite-icon",{icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"})):null,t("div",{class:"notice-content"},t("slot",{name:"title"}),t("slot",{name:"message"}),t("slot",{name:"link"})),a?t("div",{class:"actions-end"},t("slot",{name:L})):null,this.closable?e:null)}async setFocus(){const i=this.el.querySelector("calcite-link");(this.closeButton||i)&&(i?i.setFocus():this.closeButton&&this.closeButton.focus())}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],open:["openHandler"],dismissible:["handleDismissible"],closable:["handleClosable"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"]}}};C.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";const I=class{constructor(t){i(this,t),this.selectionSetChange=s(this,"selectionSetChange",7),this.sketchTypeChange=s(this,"sketchTypeChange",7),this.workflowTypeChange=s(this,"workflowTypeChange",7),this._selectedIds=[],this._selectionLabel="",this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.enabledLayerIds=[],this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=void 0,this.isUpdate=!1,this.mapView=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectLayerView=void 0,this.showBufferTools=!0,this._layerSelectChecked=void 0,this._searchTerm=void 0,this._translations=void 0,this._workflowType=void 0}async watchGeometriesHandler(i,t){if(i!==t){if(i.length>0)return this._highlightWithOIDsOrGeoms();if(0===i.length)return this._clearResults(!0,!0)}}async watchSearchConfigurationHandler(i,t){console.log("watchSearchConfigurationHandler"),console.log("newValue"),console.log(i),console.log("oldValue"),console.log(t),JSON.stringify(i)!==JSON.stringify(t)&&this._initSearchWidget()}async workflowTypeHandler(i,t){i!==t&&(this.mapView.popup.autoOpenEnabled=["SELECT","SKETCH","REFINE","SEARCH"].indexOf(i)<0,this.workflowTypeChange.emit(i))}async clearSelection(){return this._clearResults()}async getSelection(){/\S+/gm.test(this._selectionLabel)||(this._selectionLabel=this._getSelectionBaseLabel());const i=this._selectionLabel===this._getSelectionBaseLabel();return{id:this.isUpdate?this.selectionSet.id:Date.now(),workflowType:this._workflowType,searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools.distance,download:!0,unit:this._bufferTools.unit,label:this._selectionLabel&&!i?this._selectionLabel:`${this._selectionLabel} ${this._bufferTools.distance} ${this._bufferTools.unit}`,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,refineSelectLayers:this._refineTools.layerViews,skipGeomOIDs:this._skipGeomOIDs}}labelChange(i){this._selectionLabel=i.detail}searchConfigurationChangeChanged(i){console.log("searchConfigurationChange listener"),this.searchConfiguration=i.detail}sketchGraphicsChange(i){this._updateSelection(v.SKETCH,i.detail,this._selectionLabel||this._translations.sketch,!1)}refineSelectionGraphicsChange(i){const t=i.detail.graphics,e=Array.isArray(t)?t.map((i=>i.attributes[i.layer.objectIdField])):[];return this._updateSelection(v.SELECT,t,this._selectionLabel||this._translations.select,i.detail.useOIDs,e),this._highlightFeatures(e)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){return this._init()}render(){var i,a;const s=this._workflowType===v.SEARCH,n=s?" div-visible-search":" div-not-visible",o=this._workflowType===v.SKETCH||this._workflowType===v.SELECT,l=this.showBufferTools?"search-distance":"div-not-visible",c=this._layerSelectChecked&&!s?" div-visible":" div-not-visible",r=this._layerSelectChecked||s?" div-not-visible":" div-visible",h=s?"div-not-visible":"div-visible";return t(e,null,t("div",{class:"padding-bottom-1"},t("calcite-radio-group",{class:"w-100",onCalciteRadioGroupChange:i=>this._workflowChange(i)},t("calcite-radio-group-item",{checked:s,class:"w-50 end-border",value:v.SEARCH},this._translations.search),t("calcite-radio-group-item",{checked:o,class:"w-50",value:v.SKETCH},this._translations.sketch))),t("div",{class:n},t("div",{class:"search-widget",ref:i=>{this._searchElement=i}})),t("div",{class:h},t("calcite-label",{layout:"inline"},t("calcite-checkbox",{checked:this._layerSelectChecked,onCalciteCheckboxChange:()=>this._layerSelectChanged(),ref:i=>this._selectFromLayerElement=i}),"Use layer features")),t("div",{class:r},t("map-draw-tools",{active:!0,border:!0,mapView:this.mapView,ref:i=>{this._drawTools=i}})),t("div",{class:c},t("refine-selection-tools",{active:!0,border:!0,enabledLayerIds:this.enabledLayerIds,layerView:this.selectLayerView,layerViews:this._refineSelectLayers,mapView:this.mapView,mode:b.ADD,ref:i=>{this._refineTools=i},refineMode:f.SUBSET})),t("calcite-label",{class:l},this._translations.searchDistance,t("buffer-tools",{distance:(null===(i=this.selectionSet)||void 0===i?void 0:i.distance)||this.defaultBufferDistance,geometries:this.geometries,onBufferComplete:i=>this._bufferComplete(i),ref:i=>this._bufferTools=i,unit:(null===(a=this.selectionSet)||void 0===a?void 0:a.unit)||this.defaultBufferUnit})),t("slot",null))}async _initModules(){const[i,t,e,a,s]=await d(["esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this.GraphicsLayer=i,this.Graphic=t,this.Search=e,this._geometryEngine=a,this.FeatureLayer=s}async _init(){this._initGraphicsLayer(),this._initSelectionSet(),this._initSearchWidget()}_initSelectionSet(){var i,t,e,a,s,n,o,l,c,r;this.selectionSet?(this._searchTerm=null===(t=null===(i=this.selectionSet)||void 0===i?void 0:i.searchResult)||void 0===t?void 0:t.name,this._workflowType=null===(e=this.selectionSet)||void 0===e?void 0:e.workflowType,this._searchResult=null===(a=this.selectionSet)||void 0===a?void 0:a.searchResult,this._refineSelectLayers=null===(s=this.selectionSet)||void 0===s?void 0:s.refineSelectLayers,this._selectedIds=null===(n=this.selectionSet)||void 0===n?void 0:n.selectedIds,this._skipGeomOIDs=null===(o=this.selectionSet)||void 0===o?void 0:o.skipGeomOIDs,this._layerSelectChecked=(null===(l=this.selectionSet)||void 0===l?void 0:l.workflowType)===v.SELECT,this.geometries=[...(null===(c=this.selectionSet)||void 0===c?void 0:c.geometries)||[]],this._selectionLabel=(null===(r=this.selectionSet)||void 0===r?void 0:r.label)||this._getSelectionBaseLabel(),m(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1)):(this._workflowType=v.SEARCH,this.mapView.popup.autoOpenEnabled=!1)}_getSelectionBaseLabel(){var i,t;return this._workflowType===v.SKETCH?this._translations.sketch:this._workflowType===v.SELECT?this._translations.select:this._workflowType===v.SEARCH&&this._searchResult?null===(i=this._searchResult)||void 0===i?void 0:i.name:null===(t=this.selectionSet)||void 0===t?void 0:t.label}_initSearchWidget(){if(console.log("_initSearchWidget"),console.log("this.mapView"),console.log(this.mapView),console.log("this._searchElement"),console.log(this._searchElement),this.mapView&&this._searchElement){console.log("this._getSearchConfig");const i=this._getSearchConfig(this.searchConfiguration,this.mapView);console.log("searchConfiguration"),console.log(i);const t=Object.assign({view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm},i);this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.on("search-clear",(()=>{this._clearResults(!1)})),this._searchWidget.on("select-result",(i=>{var t,e;if(this._clearResults(!1),i.result){this._searchResult=i.result;const a=(null===(t=i.source)||void 0===t?void 0:t.layer.id)===this.selectLayerView.layer.id,s=a?[i.result.feature.getObjectId()]:void 0;this._updateSelection(v.SEARCH,[i.result.feature],null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.name,a,s)}})),console.log("END search widget init")}}_getSearchConfig(i,t){var e;const a=null==i?void 0:i.sources;return a&&a.forEach((i=>{var e,a,s;if(i.hasOwnProperty("layer")){const n=i,o=(null===(e=n.layer)||void 0===e?void 0:e.id)?t.map.findLayerById(n.layer.id):null;o?(console.log("layerFromMap"),n.layer=o):(null===(a=null==n?void 0:n.layer)||void 0===a?void 0:a.url)&&(console.log("create new"),n.layer=new this.FeatureLayer(null===(s=null==n?void 0:n.layer)||void 0===s?void 0:s.url))}})),null===(e=null==i?void 0:i.sources)||void 0===e||e.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;t.url=t.url,delete t.url}})),i}_initGraphicsLayer(){const i=this._translations.bufferLayer,t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i}),w.managedLayers.push(i);const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}_layerSelectChanged(){this._layerSelectChecked=this._selectFromLayerElement.checked,this.sketchTypeChange.emit(this._layerSelectChecked?y.LAYER:y.INTERACTIVE)}_workflowChange(i){this._workflowType=i.detail}async _highlightWithOIDsOrGeoms(){var i;return(null===(i=this._skipGeomOIDs)||void 0===i?void 0:i.length)>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){var t;null===(t=w.highlightHandle)||void 0===t||t.remove(),i.length>0&&(w.highlightHandle=await p(i,this.selectLayerView,this.mapView)),this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectedIds=await g(i,this.selectLayerView.layer),this._drawTools.graphics=this.geometries.map((i=>{var t,e,a;const s={geometry:i,symbol:"point"===i.type?null===(t=this._drawTools)||void 0===t?void 0:t.pointSymbol:"polyline"===i.type?null===(e=this._drawTools)||void 0===e?void 0:e.polylineSymbol:"polygon"===i.type?null===(a=this._drawTools)||void 0===a?void 0:a.polygonSymbol:void 0};return new this.Graphic(s)})),this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){if(this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail,!this._bufferGeometry)return this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),this._highlightWithOIDsOrGeoms();{const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),this._selectFeatures([this._bufferGeometry]),this.mapView.goTo(i.geometry.extent)}}_geomQuery(i){const t=u(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!0){var e,a;this._selectedIds=[],t&&(this._selectionLabel=""),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._searchWidget.clear(),null===(e=w.highlightHandle)||void 0===e||e.remove(),(null===(a=this._drawTools)||void 0===a?void 0:a.clear)&&this._drawTools.clear(),this.selectionSetChange.emit(this._selectedIds.length)}_updateSelection(i,t,e,a,s){this._selectedIds=a&&s?s:this._selectedIds,this._skipGeomOIDs=a?s:void 0,this.geometries=Array.isArray(t)?t.map((i=>i.geometry)):this.geometries,this._workflowType=i,this._selectionLabel=e}async _getTranslations(){const i=await k(this.el);this._translations=i[0]}get el(){return a(this)}static get watchers(){return{geometries:["watchGeometriesHandler"],searchConfiguration:["watchSearchConfigurationHandler"],_workflowType:["workflowTypeHandler"]}}};I.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-ui-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{-webkit-border-end:1px solid var(--calcite-ui-border-2);border-inline-end:1px solid var(--calcite-ui-border-2)}.search-distance{display:flex;padding-top:1rem}';const M=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),A=class{constructor(t){i(this,t),this.disabled=!1,this.layerView=void 0,this._translations=void 0}async downloadCSV(i,t,e=!0){return x(this.layerView.layer,i,!0,t,e)}async downloadPDF(i,t){return S(this.layerView.layer,i,t,this._labelInfoElement.selectedOption.value)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return t(e,null,t("calcite-select",{disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}},this._renderItems()))}async _initModules(){const[i]=await d(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t=`${i.descriptionPDF.labelWidthDisplay} x ${i.descriptionPDF.labelHeightDisplay}`;return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await k(this.el);this._translations=i[0]}_renderItems(){return(M.default||M).sort(((i,t)=>{const e=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),a=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return e<a?-1:e>a?1:0})).map((i=>t("calcite-option",{value:i},this._getLabelSizeText(i))))}get el(){return a(this)}};A.style=":host{display:block}";const H=class{constructor(t){i(this,t),this.selectionSetsChanged=s(this,"selectionSetsChanged",7),this._addEnabled=!0,this.addresseeLayer=void 0,this.enabledLayerIds=[],this.mapView=void 0,this.selectionSets=[],this.GraphicsLayer=void 0,this.SketchViewModel=void 0,this._translations=void 0}addresseeLayerWatchHandler(){const i=this.selectionSets.filter((i=>i.workflowType!==v.REFINE));this.selectionSets=this._initRefineSelectionSet(i)}refineSelectionIdsChange(i){var t,e;const a=(null===(t=i.detail)||void 0===t?void 0:t.addIds)||[],s=(null===(e=i.detail)||void 0===e?void 0:e.removeIds)||[];this._updateSelectionSets(s),this._updateRefineSelectionSet(a,s)}async componentWillLoad(){await this._getTranslations(),this._getRefineSelectionSet(this.selectionSets)||(this.selectionSets=this._initRefineSelectionSet(this.selectionSets))}render(){return t(e,null,t("div",{class:"padding-1"},t("div",null,t("calcite-radio-group",{class:"w-100",onCalciteRadioGroupChange:i=>this._modeChanged(i)},t("calcite-radio-group-item",{checked:this._addEnabled,class:"w-50",onClick:()=>this._setSelectionMode(b.ADD),value:b.ADD},this._translations.add),t("calcite-radio-group-item",{checked:!this._addEnabled,class:"w-50",onClick:()=>this._setSelectionMode(b.REMOVE),value:b.REMOVE},this._translations.remove)),t("refine-selection-tools",{border:!0,enabledLayerIds:this.enabledLayerIds,ids:_(this.selectionSets),layerViews:[this.addresseeLayer],mapView:this.mapView,mode:this._addEnabled?b.ADD:b.REMOVE,ref:i=>{this._refineTools=i},refineMode:f.ALL,refineSelectionSet:this._getRefineSelectionSet(this.selectionSets),useLayerPicker:!1})),t("br",null),t("calcite-list",{class:"list-border"},this._getRefineSelectionSetList())))}_modeChanged(i){this._addEnabled=i.detail===b.ADD}_setSelectionMode(i){this._refineTools.mode=i}_getRefineSelectionSetList(){const i=D(this.selectionSets),e=this._getRefineSelectionSet(this.selectionSets),a=(null==e?void 0:e.refineIds.removeIds.length)||0;return[t("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",((null==e?void 0:e.refineIds.addIds.length)||0).toString()),"non-interactive":!0}),t("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),t("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getRefineSelectionSet(i){let t;return i.some((i=>{if(i.workflowType===v.REFINE)return t=i,!0})),t}_updateSelectionSets(i){i.length>0&&(this.selectionSets=this.selectionSets.reduce(((t,e)=>(e.selectedIds=e.selectedIds.filter((t=>i.indexOf(t)<0)),(e.selectedIds.length>0||e.workflowType===v.REFINE)&&t.push(e),t)),[]),this.selectionSetsChanged.emit(this.selectionSets))}_updateRefineSelectionSet(i,t){const e=this._getRefineSelectionSet(this.selectionSets);this._updateRefineIds(e,i,t),this.selectionSetsChanged.emit(this.selectionSets)}_updateRefineIds(i,t,e){i.refineIds.addIds=i.refineIds.addIds.filter((i=>e.indexOf(i)<0)),i.refineIds.removeIds=i.refineIds.removeIds.filter((i=>t.indexOf(i)<0));const a=[...new Set(i.refineIds.addIds.concat(t))],s=[...new Set(i.refineIds.removeIds.concat(e))];return i.refineIds={addIds:a.filter((i=>s.indexOf(i)<0)),removeIds:s.filter((i=>a.indexOf(i)<0))},i.selectedIds=i.refineIds.addIds.length>0?[...new Set(i.selectedIds.concat(i.refineIds.addIds))]:i.selectedIds.filter((t=>i.refineIds.removeIds.indexOf(t)<0)),this.selectionSets.map((t=>t.workflowType===v.REFINE?i:t))}_initRefineSelectionSet(i){return[...i,{buffer:void 0,distance:0,download:!0,geometries:[],id:Date.now(),label:"Refine",layerView:this.addresseeLayer,refineSelectLayers:[],searchResult:void 0,selectedIds:[],unit:"feet",workflowType:v.REFINE,refineIds:{addIds:[],removeIds:[]},redoStack:[],undoStack:[]}]}async _getTranslations(){const i=await k(this.el);this._translations=i[0]}_testAccess(i,t){switch(i){case"_modeChanged":return this._modeChanged(t);case"_setSelectionMode":return this._setSelectionMode(t)}return null}get el(){return a(this)}static get watchers(){return{addresseeLayer:["addresseeLayerWatchHandler"]}}};H.style=":host{display:block}";export{P as calcite_input_message,C as calcite_notice,I as map_select_tools,A as pdf_download,H as refine_selection}
|