@esri/solutions-components 0.10.46 → 0.10.48
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/{ExpandToggle-2cdd9a8e.js → ExpandToggle-c5e409ce.js} +5 -5
- package/dist/cjs/{FloatingArrow-91a71a80.js → FloatingArrow-c2b50d47.js} +1 -1
- package/dist/cjs/{Heading-a3e36113.js → Heading-3e2d46fd.js} +1 -1
- package/dist/cjs/{Validation-55fc2417.js → Validation-c065b988.js} +1 -1
- package/dist/cjs/{app-globals-3ff4b752.js → app-globals-09eb9eb5.js} +5 -5
- package/dist/cjs/{ar-76c21e64.js → ar-0afb390b.js} +20 -20
- package/dist/cjs/{array-286e5a3b.js → array-a8a57676.js} +1 -1
- package/dist/cjs/{bg-14c9b066.js → bg-b1be4ef3.js} +20 -20
- package/dist/cjs/{browser-333a21c5.js → browser-0bedacf5.js} +1 -1
- package/dist/cjs/{bs-af03a828.js → bs-a314390f.js} +20 -20
- package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
- package/dist/cjs/{ca-ae8e24ac.js → ca-b8e89e47.js} +20 -20
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-alert_6.cjs.entry.js +17 -17
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block-section.cjs.entry.js +10 -10
- package/dist/cjs/calcite-block_5.cjs.entry.js +48 -28
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-card.cjs.entry.js +11 -11
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-chip_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +24 -24
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dialog.cjs.entry.js +22 -17
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_5.cjs.entry.js +18 -18
- package/dist/cjs/calcite-flow_4.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-icon_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/{calcite-input-time-picker-74396a94.js → calcite-input-time-picker-42ed419f.js} +64 -64
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +16 -16
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
- package/dist/cjs/calcite-option_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-sheet.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +23 -9
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +29 -29
- package/dist/cjs/calcite-shell.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -11
- package/dist/cjs/calcite-stepper.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +7 -7
- package/dist/cjs/calcite-table.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/{component-5d190962.js → component-65f2fe4b.js} +1 -1
- package/dist/cjs/{conditionalSlot-37ff4832.js → conditionalSlot-003e6975.js} +2 -2
- package/dist/cjs/{config-e76d9931.js → config-2282fdac.js} +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +60 -3
- package/dist/cjs/{cs-5c693156.js → cs-f14626e8.js} +20 -20
- package/dist/cjs/{da-1a406d67.js → da-2fce32d4.js} +20 -20
- package/dist/cjs/{date-bb8f971c.js → date-e763caec.js} +2 -2
- package/dist/cjs/{de-11376da8.js → de-2c1fce6f.js} +20 -20
- package/dist/cjs/{de-at-a7437de2.js → de-at-94de293d.js} +20 -20
- package/dist/cjs/{de-ch-862dfe8d.js → de-ch-d42f4faf.js} +20 -20
- package/dist/cjs/{dom-795d4a33.js → dom-e11b7daf.js} +3 -3
- package/dist/cjs/{el-69fd471f.js → el-8092eeb9.js} +20 -20
- package/dist/cjs/{en-au-4af4c244.js → en-au-9bc4467f.js} +20 -20
- package/dist/cjs/{en-ca-dd0f74b8.js → en-ca-d9140239.js} +20 -20
- package/dist/cjs/{en-gb-d9916a0a.js → en-gb-f5e2af8e.js} +20 -20
- package/dist/cjs/{es-b96f4aa7.js → es-4b6327d7.js} +20 -20
- package/dist/cjs/{es-mx-7ce9a959.js → es-mx-f729412a.js} +20 -20
- package/dist/cjs/{et-ed1f6381.js → et-ec115eb3.js} +20 -20
- package/dist/cjs/{fi-16433386.js → fi-95701850.js} +20 -20
- package/dist/cjs/{filter-e600c2fe.js → filter-899cda85.js} +1 -1
- package/dist/cjs/{floating-ui-0f85d59c.js → floating-ui-a8693586.js} +4 -4
- package/dist/cjs/{focusTrapComponent-b19fd5d5.js → focusTrapComponent-48fdd3f6.js} +3 -3
- package/dist/cjs/{form-6dd8050a.js → form-a36bd0e5.js} +2 -2
- package/dist/cjs/{fr-ch-368648e3.js → fr-ch-a231f229.js} +20 -20
- package/dist/cjs/{fr-32b252ad.js → fr-e22a2684.js} +20 -20
- package/dist/cjs/{guid-e84a8375.js → guid-d99f21fe.js} +1 -1
- package/dist/cjs/{he-d139901b.js → he-d0070eb9.js} +20 -20
- package/dist/cjs/{hi-ba5e377e.js → hi-04615e27.js} +20 -20
- package/dist/cjs/{hr-87b5a9d8.js → hr-27fefb6d.js} +20 -20
- package/dist/cjs/{hu-3b80d082.js → hu-63da9819.js} +20 -20
- package/dist/cjs/{id-09dfbe6e.js → id-d4fe65cd.js} +20 -20
- package/dist/cjs/{index-89a62dc9.js → index-0b0f3737.js} +3 -3
- package/dist/cjs/{index-c134f2f6.js → index-b4e2f888.js} +3 -3
- package/dist/cjs/{index-0fb00064.js → index-fedf53b1.js} +2 -2
- package/dist/cjs/{input-8c28213d.js → input-ce93953f.js} +1 -1
- package/dist/cjs/instant-apps-export.cjs.entry.js +18 -5
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +5 -6
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +13 -6
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +7 -12
- package/dist/cjs/{interactive-a128ac30.js → interactive-7ccdd728.js} +1 -1
- package/dist/cjs/{it-da71aa25.js → it-418a53bf.js} +20 -20
- package/dist/cjs/{it-ch-00a4c4b4.js → it-ch-7f4632ab.js} +20 -20
- package/dist/cjs/{ja-c3519ced.js → ja-6c5d5c7d.js} +20 -20
- package/dist/cjs/{key-47c9469a.js → key-cdfc85aa.js} +1 -1
- package/dist/cjs/{ko-ea8cd08b.js → ko-e4154b91.js} +20 -20
- package/dist/cjs/{label-726fc287.js → label-e18f62c9.js} +3 -3
- package/dist/cjs/{loadable-1c888c87.js → loadable-f3fe73a2.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-da840314.js → locale-7eb2f603.js} +5 -5
- package/dist/cjs/{logger-f177776b.js → logger-912d7f26.js} +2 -2
- package/dist/cjs/{lt-4e8161c8.js → lt-d6dae6fd.js} +20 -20
- package/dist/cjs/{lv-b976ad37.js → lv-bcf9724a.js} +20 -20
- package/dist/cjs/{math-089392ef.js → math-34746601.js} +1 -1
- package/dist/cjs/{mk-e2ea18b4.js → mk-171505d2.js} +20 -20
- package/dist/cjs/{nb-d81f921b.js → nb-0dcee19c.js} +20 -20
- package/dist/cjs/{nl-7249cded.js → nl-dace5864.js} +20 -20
- package/dist/cjs/{observers-18d87cb5.js → observers-affd684f.js} +2 -2
- package/dist/cjs/{openCloseComponent-3c540d25.js → openCloseComponent-044883e4.js} +2 -2
- package/dist/cjs/{pl-d93521bd.js → pl-7755a609.js} +20 -20
- package/dist/cjs/{pt-bf297919.js → pt-3121cc39.js} +20 -20
- package/dist/cjs/{pt-br-2c9c4ba2.js → pt-br-67b16e3a.js} +20 -20
- package/dist/cjs/{region-26804632.js → region-7f262d75.js} +1 -1
- package/dist/cjs/{resources-cf1791da.js → resources-1454138b.js} +1 -1
- package/dist/cjs/{resources-9c07e2ea.js → resources-18358747.js} +1 -1
- package/dist/cjs/{resources-b3dc59f7.js → resources-2392e12e.js} +1 -1
- package/dist/cjs/{resources-eeda5acf.js → resources-23a86b54.js} +1 -1
- package/dist/cjs/{resources-f895ff54.js → resources-2ae05f17.js} +1 -1
- package/dist/cjs/{resources-535f936c.js → resources-392a021f.js} +1 -1
- package/dist/cjs/{resources-388efec5.js → resources-51c2cde3.js} +1 -1
- package/dist/cjs/{resources-18f799c7.js → resources-6c04ccee.js} +1 -1
- package/dist/cjs/{resources-f9ab74c4.js → resources-72fc2b95.js} +1 -1
- package/dist/cjs/{resources-7aaf489b.js → resources-9b6cf400.js} +1 -1
- package/dist/cjs/{responsive-a61585b1.js → responsive-9d6c09ff.js} +1 -1
- package/dist/cjs/{ro-b770ba3d.js → ro-7f726306.js} +20 -20
- package/dist/cjs/{ru-f70d0afe.js → ru-fc11963d.js} +20 -20
- package/dist/cjs/{shared-list-render-546c7296.js → shared-list-render-3d6ec3ca.js} +7 -7
- package/dist/cjs/{sk-67e2fd96.js → sk-e85b9c15.js} +20 -20
- package/dist/cjs/{sl-cf79e6c6.js → sl-9eb375c2.js} +20 -20
- package/dist/cjs/solutions-components.cjs.js +5 -5
- package/dist/cjs/{sortableComponent-5dfc7ff8.js → sortableComponent-6983a0f0.js} +1 -1
- package/dist/cjs/{sr-02a5153e.js → sr-1d2513be.js} +20 -20
- package/dist/cjs/{sv-1c32f9ba.js → sv-f7693c9f.js} +20 -20
- package/dist/cjs/{t9n-ed5c03a7.js → t9n-64df74f3.js} +3 -3
- package/dist/cjs/{th-ddd7073f.js → th-0d2328bb.js} +20 -20
- package/dist/cjs/{time-a92ca33f.js → time-513586eb.js} +3 -3
- package/dist/cjs/{time-zones-a7e83971.js → time-zones-bb3f09ac.js} +1 -1
- package/dist/cjs/{tr-31fcd3f7.js → tr-2c074411.js} +20 -20
- package/dist/cjs/{uk-a0f9e2bc.js → uk-5e16db67.js} +20 -20
- package/dist/cjs/{utils-51a793a5.js → utils-5f5839d7.js} +2 -2
- package/dist/cjs/{utils-7e5609ab.js → utils-d0049d76.js} +5 -4
- package/dist/cjs/{vi-d484e1b9.js → vi-2a4d8334.js} +20 -20
- package/dist/cjs/{zh-cn-3d843268.js → zh-cn-126bcbc0.js} +20 -20
- package/dist/cjs/{zh-hk-4aacd6d2.js → zh-hk-aeeba861.js} +20 -20
- package/dist/cjs/{zh-tw-cbd770ad.js → zh-tw-0cfb6e20.js} +20 -20
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +93 -2
- package/dist/collection/demos/crowdsource-reporter.html +267 -266
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/accordion-item.js +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/action-bar.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action-pad.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/alert.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/block.js +1 -1
- package/dist/components/browser.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-dialog.js +8 -3
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +2 -2
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +16 -3
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/carousel-item.js +1 -1
- package/dist/components/carousel.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item-group.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +5 -5
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +1 -1
- package/dist/components/crowdsource-reporter.js +65 -5
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/flow-item.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/input-date-picker.js +2 -2
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +1 -1
- package/dist/components/instant-apps-export.js +18 -5
- package/dist/components/instant-apps-filter-list2.js +23 -2
- package/dist/components/instant-apps-language-switcher.js +5 -6
- package/dist/components/instant-apps-scoreboard.js +14 -6
- package/dist/components/instant-apps-time-filter.js +7 -12
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale2.js +2 -2
- package/dist/components/logger.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/navigation-user.js +1 -1
- package/dist/components/notice.js +2 -2
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/panel.js +2 -2
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/radio-button.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/responsive.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +3 -3
- package/dist/components/tree-item.js +1 -1
- package/dist/components/tree.js +1 -1
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +3 -2
- package/dist/components/utils3.js +1 -1
- package/dist/components/value-list-item.js +1 -1
- package/dist/components/value-list.js +2 -2
- package/dist/esm/{ExpandToggle-4d440eb0.js → ExpandToggle-d2cde0b5.js} +5 -5
- package/dist/esm/{FloatingArrow-4f645ccd.js → FloatingArrow-1ba04e83.js} +1 -1
- package/dist/esm/{Heading-80b3be96.js → Heading-82d9e017.js} +1 -1
- package/dist/esm/{Validation-cf136c56.js → Validation-594a63f5.js} +1 -1
- package/dist/esm/{app-globals-4aab2132.js → app-globals-177bd1cd.js} +5 -5
- package/dist/esm/{ar-d4e9c6ca.js → ar-a85b5d05.js} +20 -20
- package/dist/esm/{array-0e780f6f.js → array-e540e707.js} +1 -1
- package/dist/esm/{bg-e7db3070.js → bg-def28c6d.js} +20 -20
- package/dist/esm/{browser-b67d8df6.js → browser-e3f463e1.js} +1 -1
- package/dist/esm/{bs-154d0540.js → bs-86bb2bcb.js} +20 -20
- package/dist/esm/buffer-tools_3.entry.js +4 -4
- package/dist/esm/{ca-403d9586.js → ca-823e6ba8.js} +20 -20
- package/dist/esm/calcite-accordion_2.entry.js +10 -10
- package/dist/esm/calcite-action-bar.entry.js +14 -14
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu_2.entry.js +16 -16
- package/dist/esm/calcite-action-pad_2.entry.js +14 -14
- package/dist/esm/calcite-action_2.entry.js +20 -20
- package/dist/esm/calcite-alert_6.entry.js +17 -17
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block-section.entry.js +10 -10
- package/dist/esm/calcite-block_5.entry.js +48 -28
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card-group.entry.js +6 -6
- package/dist/esm/calcite-card.entry.js +11 -11
- package/dist/esm/calcite-carousel_2.entry.js +14 -14
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +6 -6
- package/dist/esm/calcite-chip_2.entry.js +16 -16
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
- package/dist/esm/calcite-color-picker.entry.js +12 -12
- package/dist/esm/calcite-combobox-item-group.entry.js +6 -6
- package/dist/esm/calcite-combobox_3.entry.js +24 -24
- package/dist/esm/calcite-date-picker-day_3.entry.js +13 -13
- package/dist/esm/calcite-dialog.entry.js +22 -17
- package/dist/esm/calcite-dropdown_2.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_5.entry.js +18 -18
- package/dist/esm/calcite-flow_4.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-icon_2.entry.js +10 -10
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-number.entry.js +16 -16
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/{calcite-input-time-picker-cc675f33.js → calcite-input-time-picker-c45e1964.js} +64 -64
- package/dist/esm/calcite-input-time-picker.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +21 -21
- package/dist/esm/calcite-input_2.entry.js +16 -16
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list-item-group.entry.js +3 -3
- package/dist/esm/calcite-menu-item.entry.js +10 -10
- package/dist/esm/calcite-menu.entry.js +9 -9
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +16 -16
- package/dist/esm/calcite-navigation-logo.entry.js +4 -4
- package/dist/esm/calcite-navigation-user.entry.js +3 -3
- package/dist/esm/calcite-navigation.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +15 -15
- package/dist/esm/calcite-option_2.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pick-list-group.entry.js +10 -10
- package/dist/esm/calcite-pick-list-item.entry.js +15 -15
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-radio-button-group.entry.js +8 -8
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +12 -12
- package/dist/esm/calcite-sheet.entry.js +10 -10
- package/dist/esm/calcite-shell-center-row.entry.js +23 -9
- package/dist/esm/calcite-shell-panel_14.entry.js +29 -29
- package/dist/esm/calcite-shell.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +11 -11
- package/dist/esm/calcite-stepper.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +7 -7
- package/dist/esm/calcite-table.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-group.entry.js +7 -7
- package/dist/esm/calcite-tile-select-group.entry.js +3 -3
- package/dist/esm/calcite-tile-select.entry.js +7 -7
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-time-picker.entry.js +13 -13
- package/dist/esm/calcite-tip-group.entry.js +2 -2
- package/dist/esm/calcite-tip-manager.entry.js +12 -12
- package/dist/esm/calcite-tip.entry.js +13 -13
- package/dist/esm/calcite-tooltip.entry.js +10 -10
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/{component-83541c88.js → component-09697fb8.js} +1 -1
- package/dist/esm/{conditionalSlot-8a0b08ef.js → conditionalSlot-720a3c33.js} +2 -2
- package/dist/esm/{config-16813c92.js → config-3af0e436.js} +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +60 -3
- package/dist/esm/{cs-4687cf9f.js → cs-87414fd8.js} +20 -20
- package/dist/esm/{da-27cb521d.js → da-f7060594.js} +20 -20
- package/dist/esm/{date-4fc03f44.js → date-8f6c3f50.js} +2 -2
- package/dist/esm/{de-1fcb8b55.js → de-18aa2195.js} +20 -20
- package/dist/esm/{de-at-621e3161.js → de-at-00f0ce55.js} +20 -20
- package/dist/esm/{de-ch-dbe106ba.js → de-ch-2bf886c0.js} +20 -20
- package/dist/esm/{dom-75c641a7.js → dom-6f6759df.js} +3 -3
- package/dist/esm/{el-60cb7e8e.js → el-0c5df4ce.js} +20 -20
- package/dist/esm/{en-au-6b31eadf.js → en-au-947d067e.js} +20 -20
- package/dist/esm/{en-ca-c62e2c29.js → en-ca-d80eb647.js} +20 -20
- package/dist/esm/{en-gb-7b86a861.js → en-gb-78272f13.js} +20 -20
- package/dist/esm/{es-b048cf9a.js → es-6b8b399b.js} +20 -20
- package/dist/esm/{es-mx-a469d043.js → es-mx-4f12df51.js} +20 -20
- package/dist/esm/{et-09e59731.js → et-11aeba76.js} +20 -20
- package/dist/esm/{fi-98448a04.js → fi-c44d11d6.js} +20 -20
- package/dist/esm/{filter-c0066fe2.js → filter-848e0efa.js} +1 -1
- package/dist/esm/{floating-ui-93b345b1.js → floating-ui-d21020a0.js} +4 -4
- package/dist/esm/{focusTrapComponent-35b3348c.js → focusTrapComponent-1ddc67c5.js} +3 -3
- package/dist/esm/{form-d45062d8.js → form-e9b1ad9a.js} +2 -2
- package/dist/esm/{fr-3a6bc75f.js → fr-cac28d20.js} +20 -20
- package/dist/esm/{fr-ch-dd9aa577.js → fr-ch-a324bd02.js} +20 -20
- package/dist/esm/{guid-b0fb1de3.js → guid-45e997d8.js} +1 -1
- package/dist/esm/{he-510944f3.js → he-eab95e66.js} +20 -20
- package/dist/esm/{hi-b7f35ddc.js → hi-cefe2a7e.js} +20 -20
- package/dist/esm/{hr-91d6e89b.js → hr-f863024d.js} +20 -20
- package/dist/esm/{hu-ab576bec.js → hu-2921d1d5.js} +20 -20
- package/dist/esm/{id-5ebe99df.js → id-4e25c1e7.js} +20 -20
- package/dist/esm/{index-3aaf8d41.js → index-92bcd383.js} +2 -2
- package/dist/esm/{index-46fa2a72.js → index-c8258692.js} +3 -3
- package/dist/esm/{index-19dc829d.js → index-e86ce97a.js} +3 -3
- package/dist/esm/{input-e01adc49.js → input-461c96ef.js} +1 -1
- package/dist/esm/instant-apps-export.entry.js +18 -5
- package/dist/esm/instant-apps-language-switcher.entry.js +5 -6
- package/dist/esm/instant-apps-scoreboard.entry.js +13 -6
- package/dist/esm/instant-apps-time-filter.entry.js +7 -12
- package/dist/esm/{interactive-98ed6b6f.js → interactive-949b348f.js} +1 -1
- package/dist/esm/{it-62f24385.js → it-1f2ce2fc.js} +20 -20
- package/dist/esm/{it-ch-11bc01ef.js → it-ch-fa4f6a28.js} +20 -20
- package/dist/esm/{ja-4073b97b.js → ja-dd6ac9b5.js} +20 -20
- package/dist/esm/{key-e6b442de.js → key-2e7789c2.js} +1 -1
- package/dist/esm/{ko-c1f9c746.js → ko-3c269b4f.js} +20 -20
- package/dist/esm/{label-272c5973.js → label-1ef4763d.js} +3 -3
- package/dist/esm/{loadable-7cb2fc6f.js → loadable-421e634e.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-24516fec.js → locale-a75d14ff.js} +5 -5
- package/dist/esm/{logger-f75712ce.js → logger-5c7a2fec.js} +2 -2
- package/dist/esm/{lt-f293ef90.js → lt-8f5fd3eb.js} +20 -20
- package/dist/esm/{lv-cc60dc4f.js → lv-d1afc7ed.js} +20 -20
- package/dist/esm/{math-d7c8823c.js → math-abbf3537.js} +1 -1
- package/dist/esm/{mk-90d4457e.js → mk-794650fc.js} +20 -20
- package/dist/esm/{nb-3d8eb4cc.js → nb-800989aa.js} +20 -20
- package/dist/esm/{nl-a2e0732f.js → nl-634b9b85.js} +20 -20
- package/dist/esm/{observers-c83631e8.js → observers-2d4fa9e3.js} +2 -2
- package/dist/esm/{openCloseComponent-f642bffd.js → openCloseComponent-4621d4ae.js} +2 -2
- package/dist/esm/{pl-1e1abb9b.js → pl-45fb968c.js} +20 -20
- package/dist/esm/{pt-1bc85b37.js → pt-bd7887a6.js} +20 -20
- package/dist/esm/{pt-br-bd78f1f2.js → pt-br-d9181dce.js} +20 -20
- package/dist/esm/{region-a37e45f7.js → region-9343aba8.js} +1 -1
- package/dist/esm/{resources-c1a8d628.js → resources-2780a851.js} +1 -1
- package/dist/esm/{resources-14a1713f.js → resources-32f19aa5.js} +1 -1
- package/dist/esm/{resources-de1ba6bb.js → resources-3adf06cd.js} +1 -1
- package/dist/esm/{resources-be1618c8.js → resources-833bf39f.js} +1 -1
- package/dist/esm/{resources-aa7bb7b6.js → resources-912401b4.js} +1 -1
- package/dist/esm/{resources-8e2ed936.js → resources-ab131744.js} +1 -1
- package/dist/esm/{resources-35208c6c.js → resources-bc66182e.js} +1 -1
- package/dist/esm/{resources-bc1429eb.js → resources-d81723e9.js} +1 -1
- package/dist/esm/{resources-5956d3f9.js → resources-f6e948a0.js} +1 -1
- package/dist/esm/{resources-29590c8b.js → resources-fa50aa39.js} +1 -1
- package/dist/esm/{responsive-b2be423e.js → responsive-6cfebeae.js} +1 -1
- package/dist/esm/{ro-c1cb4571.js → ro-31fe0dcc.js} +20 -20
- package/dist/esm/{ru-deb7b95b.js → ru-e73bc075.js} +20 -20
- package/dist/esm/{shared-list-render-0d3e719c.js → shared-list-render-83bb7274.js} +7 -7
- package/dist/esm/{sk-e86a1a74.js → sk-e7e24146.js} +20 -20
- package/dist/esm/{sl-4f70ce5c.js → sl-ad96d047.js} +20 -20
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/{sortableComponent-7f184466.js → sortableComponent-55f7a145.js} +1 -1
- package/dist/esm/{sr-bcde0bb0.js → sr-785166a3.js} +20 -20
- package/dist/esm/{sv-e585fbb5.js → sv-9f422817.js} +20 -20
- package/dist/esm/{t9n-9a5d28cf.js → t9n-23649a4a.js} +3 -3
- package/dist/esm/{th-f1746070.js → th-7e8b3dad.js} +20 -20
- package/dist/esm/{time-fbe17659.js → time-5ca488ba.js} +3 -3
- package/dist/esm/{time-zones-044d518b.js → time-zones-b8cfef3f.js} +1 -1
- package/dist/esm/{tr-065767bb.js → tr-1b1dd6db.js} +20 -20
- package/dist/esm/{uk-96e72322.js → uk-13d0afbf.js} +20 -20
- package/dist/esm/{utils-b5a6dbcd.js → utils-a564ca55.js} +5 -4
- package/dist/esm/{utils-dadbd166.js → utils-c1c0bd2c.js} +2 -2
- package/dist/esm/{vi-667fe4b6.js → vi-82ec876c.js} +20 -20
- package/dist/esm/{zh-cn-fbbbe429.js → zh-cn-c4181895.js} +20 -20
- package/dist/esm/{zh-hk-d11430a1.js → zh-hk-752cc263.js} +20 -20
- package/dist/esm/{zh-tw-4a1b522b.js → zh-tw-e653ba6c.js} +20 -20
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +10 -19
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +7 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +5 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/solutions-components/demos/crowdsource-reporter.html +267 -266
- package/dist/solutions-components/{p-6aab07ba.entry.js → p-087c3740.entry.js} +1 -1
- package/dist/solutions-components/{p-4f82eb55.js → p-08c18450.js} +1 -1
- package/dist/solutions-components/{p-ed844e16.entry.js → p-09d34b2b.entry.js} +3 -3
- package/dist/solutions-components/{p-d4f16e41.js → p-0af967af.js} +1 -1
- package/dist/solutions-components/{p-e01d27aa.entry.js → p-0f8241d2.entry.js} +1 -1
- package/dist/solutions-components/{p-d0f16cd3.entry.js → p-10a158fd.entry.js} +2 -2
- package/dist/solutions-components/{p-020143eb.entry.js → p-115af8e4.entry.js} +3 -3
- package/dist/solutions-components/{p-f898b163.js → p-12833b70.js} +1 -1
- package/dist/solutions-components/{p-91e05c99.js → p-13fd4eeb.js} +1 -1
- package/dist/solutions-components/{p-895e7b9c.js → p-177b4cbc.js} +5 -5
- package/dist/solutions-components/p-184b270d.entry.js +11 -0
- package/dist/solutions-components/{p-faf3343c.entry.js → p-191f30e1.entry.js} +2 -2
- package/dist/solutions-components/{p-5e406ad0.entry.js → p-19e89591.entry.js} +3 -3
- package/dist/solutions-components/{p-d3338131.entry.js → p-1afc5947.entry.js} +2 -2
- package/dist/solutions-components/{p-c97472e4.js → p-1b3684d7.js} +1 -1
- package/dist/solutions-components/{p-c9f94a25.js → p-1b59cd94.js} +1 -1
- package/dist/solutions-components/p-1e8af7ed.js +6 -0
- package/dist/solutions-components/{p-a584543f.js → p-1f65aed7.js} +1 -1
- package/dist/solutions-components/{p-2506309d.entry.js → p-1fafdc23.entry.js} +2 -2
- package/dist/solutions-components/{p-33d732d7.entry.js → p-20ed3f7f.entry.js} +2 -2
- package/dist/solutions-components/{p-fc243a76.entry.js → p-25f30972.entry.js} +2 -2
- package/dist/solutions-components/{p-621ad249.js → p-26ba0cc7.js} +2 -2
- package/dist/solutions-components/{p-47f85755.entry.js → p-2714ede8.entry.js} +4 -4
- package/dist/solutions-components/p-294cd25c.js +6 -0
- package/dist/solutions-components/p-2b9f9f7d.js +16 -0
- package/dist/solutions-components/{p-58338ff8.entry.js → p-2d9072d8.entry.js} +3 -3
- package/dist/solutions-components/{p-f966fadb.entry.js → p-2e0aea4e.entry.js} +3 -3
- package/dist/solutions-components/{p-f62b8031.js → p-2e42f34c.js} +1 -1
- package/dist/solutions-components/{p-6e93a997.entry.js → p-2f1ef41d.entry.js} +1 -1
- package/dist/solutions-components/p-368902f1.entry.js +6 -0
- package/dist/solutions-components/{p-60412359.js → p-39e21b70.js} +1 -1
- package/dist/solutions-components/{p-347f341e.js → p-3aee989b.js} +3 -3
- package/dist/solutions-components/{p-2154a0f9.entry.js → p-3af39767.entry.js} +1 -1
- package/dist/solutions-components/{p-91f0f556.entry.js → p-3ba388b6.entry.js} +3 -3
- package/dist/solutions-components/{p-16f52a67.js → p-3e87c19c.js} +1 -1
- package/dist/solutions-components/{p-efdd44e3.js → p-3f9ec755.js} +1 -1
- package/dist/solutions-components/{p-be9a6a87.entry.js → p-4416d650.entry.js} +3 -3
- package/dist/solutions-components/p-443be7fe.js +6 -0
- package/dist/solutions-components/{p-7b8d7eef.entry.js → p-49df6eb3.entry.js} +2 -2
- package/dist/solutions-components/{p-9e862c85.js → p-4a665563.js} +1 -1
- package/dist/solutions-components/{p-24ab8211.entry.js → p-4b15f4a4.entry.js} +2 -2
- package/dist/solutions-components/{p-097bf845.entry.js → p-4b47caf1.entry.js} +3 -3
- package/dist/solutions-components/{p-fae4708b.js → p-4bfecfe9.js} +1 -1
- package/dist/solutions-components/{p-3df0c310.entry.js → p-4d6e359e.entry.js} +2 -2
- package/dist/solutions-components/{p-da2fd30a.js → p-4e3a18b1.js} +1 -1
- package/dist/solutions-components/{p-39678a7e.js → p-4ff35ed4.js} +1 -1
- package/dist/solutions-components/{p-91371f97.js → p-51ab623a.js} +1 -1
- package/dist/solutions-components/{p-7ffa7eae.entry.js → p-545a48dc.entry.js} +3 -3
- package/dist/solutions-components/p-55bbfdbc.entry.js +6 -0
- package/dist/solutions-components/{p-876c3f5f.js → p-55d38454.js} +1 -1
- package/dist/solutions-components/{p-706cddd1.entry.js → p-5804e6e1.entry.js} +7 -7
- package/dist/solutions-components/{p-bb1de7a0.entry.js → p-58cff07f.entry.js} +3 -3
- package/dist/solutions-components/p-592ab45c.js +6 -0
- package/dist/solutions-components/p-5b5b78c0.js +6 -0
- package/dist/solutions-components/{p-72ab74b8.entry.js → p-614a66c4.entry.js} +3 -3
- package/dist/solutions-components/{p-c6dac8d2.js → p-6166d8b4.js} +5 -5
- package/dist/solutions-components/{p-9ff02b5e.js → p-61cc2efe.js} +1 -1
- package/dist/solutions-components/{p-96a983ab.entry.js → p-62c10928.entry.js} +1 -1
- package/dist/solutions-components/{p-3776809a.js → p-63a91fdb.js} +1 -1
- package/dist/solutions-components/p-63d334b2.entry.js +6 -0
- package/dist/solutions-components/{p-144b7a4d.js → p-677db47a.js} +1 -1
- package/dist/solutions-components/p-68375137.js +6 -0
- package/dist/solutions-components/{p-36b864ba.entry.js → p-6acd19c5.entry.js} +2 -2
- package/dist/solutions-components/{p-b3e498bd.js → p-6cad2a22.js} +1 -1
- package/dist/solutions-components/p-7059fc40.js +6 -0
- package/dist/solutions-components/{p-3cfc1e2e.js → p-70e78995.js} +1 -1
- package/dist/solutions-components/p-70eba636.entry.js +6 -0
- package/dist/solutions-components/{p-89334c32.js → p-71f31d39.js} +1 -1
- package/dist/solutions-components/{p-8d59545b.js → p-725a961a.js} +1 -1
- package/dist/solutions-components/{p-49fbb67d.js → p-74720d2b.js} +1 -1
- package/dist/solutions-components/{p-5230c9ff.entry.js → p-764ff506.entry.js} +2 -2
- package/dist/solutions-components/{p-d6902512.js → p-770a5a64.js} +1 -1
- package/dist/solutions-components/{p-15410144.js → p-77469834.js} +1 -1
- package/dist/solutions-components/{p-49ed272d.entry.js → p-77865541.entry.js} +2 -2
- package/dist/solutions-components/{p-0bfef9c6.entry.js → p-78df7603.entry.js} +3 -3
- package/dist/solutions-components/{p-efe845d9.js → p-78e09c03.js} +1 -1
- package/dist/solutions-components/{p-a9742ffc.entry.js → p-7a7951bd.entry.js} +3 -3
- package/dist/solutions-components/p-7cc8e95a.js +11 -0
- package/dist/solutions-components/{p-f746ec20.js → p-7d5d1b0a.js} +2 -2
- package/dist/solutions-components/{p-a02e2069.js → p-7eee9aa8.js} +1 -1
- package/dist/solutions-components/p-7f68e6a4.js +11 -0
- package/dist/solutions-components/{p-143f9e99.entry.js → p-7fb51464.entry.js} +3 -3
- package/dist/solutions-components/{p-8d0d5a69.js → p-80ff858b.js} +1 -1
- package/dist/solutions-components/p-8304ce4b.js +17 -0
- package/dist/solutions-components/{p-c0c6f4b2.js → p-85c068fd.js} +1 -1
- package/dist/solutions-components/{p-ff336351.js → p-85c3237c.js} +2 -2
- package/dist/solutions-components/{p-fb4f7ace.js → p-860099d5.js} +1 -1
- package/dist/solutions-components/{p-dac93fa8.js → p-86a5caf8.js} +1 -1
- package/dist/solutions-components/{p-b5ddeee9.js → p-86db882f.js} +1 -1
- package/dist/solutions-components/{p-e070ef82.entry.js → p-872986ce.entry.js} +3 -3
- package/dist/solutions-components/{p-f76d3cfe.js → p-8a2ccb1e.js} +1 -1
- package/dist/solutions-components/{p-471c6630.js → p-8cb9ecf6.js} +1 -1
- package/dist/solutions-components/{p-5949dd38.js → p-8d811472.js} +1 -1
- package/dist/solutions-components/{p-bb630f8c.entry.js → p-8dc9d5b6.entry.js} +1 -1
- package/dist/solutions-components/{p-40bfb158.entry.js → p-8ff43000.entry.js} +2 -2
- package/dist/solutions-components/{p-96027923.entry.js → p-91a83986.entry.js} +8 -8
- package/dist/solutions-components/{p-cd8e711f.entry.js → p-928f0b5e.entry.js} +1 -1
- package/dist/solutions-components/{p-c7f8b7f0.js → p-93d03bf0.js} +2 -2
- package/dist/solutions-components/p-94e51621.entry.js +6 -0
- package/dist/solutions-components/{p-b13aca6a.js → p-977c099e.js} +1 -1
- package/dist/solutions-components/{p-7b862835.js → p-997afdca.js} +1 -1
- package/dist/solutions-components/{p-89f86585.js → p-9c1a6360.js} +1 -1
- package/dist/solutions-components/{p-6adaac20.js → p-9c5d5171.js} +2 -2
- package/dist/solutions-components/{p-d25fc2c2.js → p-9ce8e34f.js} +2 -2
- package/dist/solutions-components/p-9d86dd68.js +6 -0
- package/dist/solutions-components/{p-7475b8b4.entry.js → p-9e8d7c1d.entry.js} +5 -5
- package/dist/solutions-components/p-9e996faa.js +6 -0
- package/dist/solutions-components/{p-fe58f3f0.entry.js → p-a1473254.entry.js} +2 -2
- package/dist/solutions-components/{p-1effd2f3.entry.js → p-a1ed15b8.entry.js} +3 -3
- package/dist/solutions-components/{p-1c9db4df.entry.js → p-a329f05c.entry.js} +1 -1
- package/dist/solutions-components/{p-af0e57e2.js → p-a3df6501.js} +1 -1
- package/dist/solutions-components/{p-08e9cb30.entry.js → p-a52fa87b.entry.js} +3 -3
- package/dist/solutions-components/{p-353312fc.entry.js → p-a5f6a4b9.entry.js} +6 -6
- package/dist/solutions-components/{p-181ac808.entry.js → p-a6790373.entry.js} +3 -3
- package/dist/solutions-components/{p-96385535.entry.js → p-a693aa25.entry.js} +5 -5
- package/dist/solutions-components/{p-f0c96a6a.js → p-a71250ea.js} +1 -1
- package/dist/solutions-components/{p-bf187297.js → p-a7d249d9.js} +1 -1
- package/dist/solutions-components/p-a7d4b1a4.js +6 -0
- package/dist/solutions-components/{p-f61fdfc6.entry.js → p-ac9c4111.entry.js} +2 -2
- package/dist/solutions-components/{p-3ec0ab00.entry.js → p-acc4d847.entry.js} +2 -2
- package/dist/solutions-components/{p-4a291f79.js → p-ae019e19.js} +1 -1
- package/dist/solutions-components/{p-e93184af.entry.js → p-ae5ea416.entry.js} +1 -1
- package/dist/solutions-components/{p-fa80bc7e.js → p-b138a65e.js} +2 -2
- package/dist/solutions-components/{p-b0b1c672.entry.js → p-b5a5da41.entry.js} +4 -4
- package/dist/solutions-components/{p-daff208e.js → p-b90978d2.js} +1 -1
- package/dist/solutions-components/p-bab47a85.entry.js +29 -0
- package/dist/solutions-components/{p-cf4273a0.js → p-bd35725f.js} +1 -1
- package/dist/solutions-components/{p-61aebbb5.js → p-bd7be7a7.js} +1 -1
- package/dist/solutions-components/{p-3517faab.entry.js → p-be6cd650.entry.js} +2 -2
- package/dist/solutions-components/{p-54a3d9b8.js → p-c0ceb17a.js} +1 -1
- package/dist/solutions-components/p-c2ceb29c.js +6 -0
- package/dist/solutions-components/p-c604728b.js +6 -0
- package/dist/solutions-components/{p-a922f993.entry.js → p-c63451e1.entry.js} +2 -2
- package/dist/solutions-components/{p-2cf41651.entry.js → p-c7f86f73.entry.js} +1 -1
- package/dist/solutions-components/{p-7d974838.js → p-c8ad7a15.js} +1 -1
- package/dist/solutions-components/{p-b10d9165.entry.js → p-c8e22575.entry.js} +6 -6
- package/dist/solutions-components/{p-685091db.js → p-c9422007.js} +1 -1
- package/dist/solutions-components/{p-d751e255.entry.js → p-c9715704.entry.js} +3 -3
- package/dist/solutions-components/p-cb8d90d1.js +11 -0
- package/dist/solutions-components/{p-5f63be31.entry.js → p-cc6f6e41.entry.js} +5 -5
- package/dist/solutions-components/{p-81681ba0.entry.js → p-cdc63710.entry.js} +2 -2
- package/dist/solutions-components/{p-3cadb18d.js → p-cdd08de8.js} +1 -1
- package/dist/solutions-components/{p-8a1a0f9b.entry.js → p-ce7b0b1a.entry.js} +3 -3
- package/dist/solutions-components/p-cf2947f6.entry.js +11 -0
- package/dist/solutions-components/p-d02fb95c.entry.js +17 -0
- package/dist/solutions-components/{p-8cdeed09.entry.js → p-d031cf50.entry.js} +3 -3
- package/dist/solutions-components/{p-3c775d00.js → p-d0ebd10d.js} +1 -1
- package/dist/solutions-components/{p-2ebd8a9b.entry.js → p-d154b5a1.entry.js} +2 -2
- package/dist/solutions-components/{p-2daeb1fe.js → p-d1a979b8.js} +1 -1
- package/dist/solutions-components/{p-b034e287.entry.js → p-d1b2484b.entry.js} +3 -3
- package/dist/solutions-components/{p-549cdc87.entry.js → p-d2c2a105.entry.js} +3 -3
- package/dist/solutions-components/{p-2a6ecaa9.entry.js → p-d390df76.entry.js} +2 -2
- package/dist/solutions-components/{p-296bd1c0.js → p-d3e1cc81.js} +1 -1
- package/dist/solutions-components/p-d4f7a87c.js +6 -0
- package/dist/solutions-components/{p-8d48a13f.js → p-d851b11e.js} +1 -1
- package/dist/solutions-components/{p-d75cf651.entry.js → p-d9d25da8.entry.js} +2 -2
- package/dist/solutions-components/{p-4253e9f1.js → p-d9e9fe80.js} +2 -2
- package/dist/solutions-components/p-d9f3778e.js +6 -0
- package/dist/solutions-components/{p-ec56afaa.js → p-daae2ae7.js} +1 -1
- package/dist/solutions-components/p-ddb37cba.entry.js +11 -0
- package/dist/solutions-components/{p-27bcce86.entry.js → p-df062602.entry.js} +3 -3
- package/dist/solutions-components/{p-e799935e.js → p-e2fd2e29.js} +1 -1
- package/dist/solutions-components/{p-5d8592e0.js → p-e3111b70.js} +1 -1
- package/dist/solutions-components/{p-745efeab.js → p-e37e117f.js} +1 -1
- package/dist/solutions-components/{p-b90ed430.entry.js → p-e4be63b6.entry.js} +2 -2
- package/dist/solutions-components/p-e4e7add2.js +11 -0
- package/dist/solutions-components/{p-44d04914.entry.js → p-e93a531c.entry.js} +2 -2
- package/dist/solutions-components/p-e9a0d2f3.entry.js +6 -0
- package/dist/solutions-components/{p-233f219c.js → p-ec51378a.js} +1 -1
- package/dist/solutions-components/{p-54e5a55d.js → p-ee3c41d6.js} +1 -1
- package/dist/solutions-components/{p-1862084a.entry.js → p-ee487e75.entry.js} +3 -3
- package/dist/solutions-components/{p-7d542581.js → p-eed08718.js} +1 -1
- package/dist/solutions-components/{p-72522a67.js → p-ef773a13.js} +1 -1
- package/dist/solutions-components/p-f09744aa.entry.js +6 -0
- package/dist/solutions-components/{p-e7acd771.entry.js → p-f3119757.entry.js} +2 -2
- package/dist/solutions-components/{p-67e7f047.entry.js → p-f5789e08.entry.js} +8 -8
- package/dist/solutions-components/{p-1fc9919b.entry.js → p-f6cc1cf8.entry.js} +5 -5
- package/dist/solutions-components/{p-7fdb374f.js → p-f845da58.js} +1 -1
- package/dist/solutions-components/{p-8f556cfc.entry.js → p-fbf63d14.entry.js} +1 -1
- package/dist/solutions-components/{p-13d2e3cb.js → p-fc7c88c8.js} +1 -1
- package/dist/solutions-components/{p-27a4a537.js → p-fd019d15.js} +2 -2
- package/dist/solutions-components/{p-ea822f6e.js → p-fd40d066.js} +1 -1
- package/dist/solutions-components/{p-4bb08a47.entry.js → p-febf9f75.entry.js} +2 -2
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +21 -0
- package/dist/types/components.d.ts +4 -0
- package/package.json +12 -12
- package/dist/solutions-components/p-017f63c5.js +0 -6
- package/dist/solutions-components/p-0374291c.js +0 -6
- package/dist/solutions-components/p-086f8bbb.js +0 -6
- package/dist/solutions-components/p-1726f46c.js +0 -6
- package/dist/solutions-components/p-2291bf3f.entry.js +0 -6
- package/dist/solutions-components/p-2bb1b8a8.entry.js +0 -6
- package/dist/solutions-components/p-319f79c2.js +0 -6
- package/dist/solutions-components/p-347fa724.js +0 -6
- package/dist/solutions-components/p-45ab1117.entry.js +0 -11
- package/dist/solutions-components/p-5d2cd0a4.js +0 -11
- package/dist/solutions-components/p-5e25a0b8.js +0 -11
- package/dist/solutions-components/p-5e694bcc.entry.js +0 -29
- package/dist/solutions-components/p-5f6d9950.js +0 -6
- package/dist/solutions-components/p-6e5ea1cb.entry.js +0 -6
- package/dist/solutions-components/p-713949f2.js +0 -6
- package/dist/solutions-components/p-7cc351f6.js +0 -6
- package/dist/solutions-components/p-866cc732.js +0 -6
- package/dist/solutions-components/p-8ac08cc3.entry.js +0 -17
- package/dist/solutions-components/p-8e0a95ff.js +0 -16
- package/dist/solutions-components/p-904a670f.js +0 -6
- package/dist/solutions-components/p-93b87dd4.entry.js +0 -11
- package/dist/solutions-components/p-986dd5b2.js +0 -17
- package/dist/solutions-components/p-9f98f213.js +0 -6
- package/dist/solutions-components/p-ad9d1221.js +0 -11
- package/dist/solutions-components/p-b658f264.js +0 -6
- package/dist/solutions-components/p-c64d61d9.entry.js +0 -6
- package/dist/solutions-components/p-cb27611e.entry.js +0 -6
- package/dist/solutions-components/p-d4e07230.entry.js +0 -11
- package/dist/solutions-components/p-efaa77a0.js +0 -11
- package/dist/solutions-components/p-f4880179.entry.js +0 -6
- package/dist/solutions-components/p-fca48d30.entry.js +0 -6
- package/dist/solutions-components/p-fdbb52ca.js +0 -6
- /package/dist/cjs/{index-c44fa2e4.js → index-04255c05.js} +0 -0
- /package/dist/cjs/{index-p4VH55K1-8a6a97cb.js → index-p4VH55K1-3ec8b213.js} +0 -0
- /package/dist/esm/{index-8fda18f5.js → index-87ec7c0a.js} +0 -0
- /package/dist/esm/{index-p4VH55K1-881b80d8.js → index-p4VH55K1-c28a3519.js} +0 -0
- /package/dist/solutions-components/{p-794d1b98.js → p-1a3181c3.js} +0 -0
- /package/dist/solutions-components/{p-065e678f.js → p-6ae916a3.js} +0 -0
- /package/dist/solutions-components/{p-33ff2b9e.js → p-fc17754b.js} +0 -0
@@ -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 e,c as i,h as t,H as c,g as a}from"./p-4e6eb06e.js";import{s as n,t as o,o as s}from"./p-26ba0cc7.js";import{a as l,s as r,c as h}from"./p-7f68e6a4.js";import{u as d,c as p,d as m,s as b}from"./p-cb8d90d1.js";import{u as v,I as u}from"./p-770a5a64.js";import{c as g,d as x}from"./p-177b4cbc.js";import{i as f}from"./p-ec51378a.js";import{g as k}from"./p-ae019e19.js";import{i as y}from"./p-08c18450.js";import{c as z,d as w}from"./p-7cc8e95a.js";import{g as C}from"./p-eed08718.js";import{g as j,i as I,a as S}from"./p-8304ce4b.js";import"./p-51ab623a.js";import"./p-85c3237c.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.13.2
|
11
|
+
*/const L="text--slotted",H="container",D="image--slotted",R="closable",P="multiple",E="single",T="selectable",W="select-icon",_="select-icon--active",q="non-interactive",A="is-circle",F="selected",K=class{constructor(t){e(this,t),this.calciteChipClose=i(this,"calciteChipClose",6),this.calciteChipSelect=i(this,"calciteChipSelect",6),this.calciteInternalChipKeyEvent=i(this,"calciteInternalChipKeyEvent",6),this.calciteInternalChipSelect=i(this,"calciteInternalChipSelect",6),this.calciteInternalSyncSelectedChips=i(this,"calciteInternalSyncSelectedChips",6),this.handleDefaultSlotChange=()=>{this.updateHasText()},this.close=()=>{this.calciteChipClose.emit(),this.selected=!1,this.closed=!0},this.closeButtonKeyDownHandler=e=>{f(e.key)&&(e.preventDefault(),this.close())},this.handleSlotImageChange=e=>{this.hasImage=n(e)},this.handleEmittingEvent=()=>{this.interactive&&this.calciteChipSelect.emit()},this.disabled=!1,this.appearance="solid",this.kind="neutral",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.label=void 0,this.value=void 0,this.closed=!1,this.selectionMode="none",this.selected=!1,this.messageOverrides=void 0,this.messages=void 0,this.interactive=!1,this.parentChipGroup=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasText=!1,this.hasImage=!1}watchSelected(e){"none"!==this.selectionMode&&this.handleSelectionPropertyChange(e)}onMessagesChange(){}effectiveLocaleChange(){d(this,this.effectiveLocale)}connectedCallback(){g(this),p(this)}componentDidLoad(){l(this),"none"!==this.selectionMode&&this.interactive&&this.selected&&this.handleSelectionPropertyChange(this.selected)}componentDidRender(){v(this)}disconnectedCallback(){x(this),m(this)}async componentWillLoad(){r(this),y()&&(await b(this),this.updateHasText())}keyDownHandler(e){if(e.target===this.el)switch(e.key){case" ":case"Enter":this.handleEmittingEvent(),e.preventDefault();break;case"ArrowRight":case"ArrowLeft":case"Home":case"End":this.calciteInternalChipKeyEvent.emit(e),e.preventDefault()}}clickHandler(){!this.interactive&&this.closable&&this.closeButtonEl.focus()}async setFocus(){await h(this),!this.disabled&&this.interactive?this.containerEl?.focus():!this.disabled&&this.closable&&this.closeButtonEl?.focus()}updateHasText(){this.hasText=this.el.textContent.trim().length>0}handleSelectionPropertyChange(e){"single"===this.selectionMode&&this.calciteInternalSyncSelectedChips.emit(),!this.parentChipGroup.selectedItems.includes(this.el)&&e&&"multiple"!==this.selectionMode&&this.calciteInternalChipSelect.emit(),"single"!==this.selectionMode&&this.calciteInternalSyncSelectedChips.emit()}renderChipImage(){return t("div",{class:"image-container"},t("slot",{name:"image",onSlotchange:this.handleSlotImageChange}))}renderSelectionIcon(){const e="multiple"===this.selectionMode?this.selected?"check-square-f":"square":this.selected?"circle-f":void 0;return t("div",{class:{[W]:!0,[_]:"multiple"===this.selectionMode||this.selected}},e?t("calcite-icon",{icon:e,scale:k(this.scale)}):null)}renderCloseButton(){return t("button",{"aria-label":this.messages.dismissLabel,class:"close",onClick:this.close,onKeyDown:this.closeButtonKeyDownHandler,ref:e=>this.closeButtonEl=e,tabIndex:this.disabled?-1:0},t("calcite-icon",{icon:"x",scale:k(this.scale)}))}renderIcon(){return t("calcite-icon",{class:"chip-icon",flipRtl:this.iconFlipRtl,icon:this.icon,scale:k(this.scale)})}render(){const{disabled:e}=this,i=e||!e&&!this.interactive,a="multiple"===this.selectionMode&&this.interactive?"checkbox":"none"!==this.selectionMode&&this.interactive?"radio":this.interactive?"button":void 0;return t(c,{key:"7feca8bad37627baabfc4abd25cf135e1e9f196b"},t(u,{key:"af2360b4b768ae8c643d52f4bdb9f5d282504114",disabled:e},t("div",{key:"8d905c4ab20d271a211282b95ebcb2d305d76cb7","aria-checked":"none"!==this.selectionMode&&this.interactive?o(this.selected):void 0,"aria-label":this.label,class:{[H]:!0,[L]:this.hasText,[D]:this.hasImage,[T]:"none"!==this.selectionMode,[P]:"multiple"===this.selectionMode,[E]:"single"===this.selectionMode||"single-persist"===this.selectionMode,[F]:this.selected,[R]:this.closable,[q]:!this.interactive,[A]:!(this.closable||this.hasText||this.icon&&this.hasImage||"none"!==this.selectionMode&&(!this.selectionMode||"multiple"===this.selectionMode||this.selected))},onClick:this.handleEmittingEvent,ref:e=>this.containerEl=e,role:a,tabIndex:i?-1:0},"none"!==this.selectionMode&&this.renderSelectionIcon(),this.renderChipImage(),this.icon&&this.renderIcon(),t("span",{key:"dab6eae3f8330b85ffac4c7fe1b2fcbb53327196",class:"title"},t("slot",{key:"72ba5bd0c7a97c30f766da119f419261aab24acb",onSlotchange:this.handleDefaultSlotChange})),this.closable&&this.renderCloseButton())))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{selected:["watchSelected"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};K.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-flex;cursor:default;border-radius:var(--calcite-chip-corner-radius, 9999px)}:host([closed]){display:none}:host([appearance=outline]) .container,:host([appearance=outline-fill]) .container{--calcite-internal-chip-close-icon-color:var(--calcite-color-text-3);color:var(--calcite-chip-text-color, var(--calcite-color-text-1))}:host([appearance=outline]):host([kind=brand]) .container,:host([appearance=outline-fill]):host([kind=brand]) .container{border-color:var(--calcite-chip-border-color, var(--calcite-color-brand))}:host([appearance=outline]):host([kind=inverse]) .container,:host([appearance=outline-fill]):host([kind=inverse]) .container{border-color:var(--calcite-chip-border-color, var(--calcite-color-border-inverse))}:host([appearance=outline]):host([kind=neutral]) .container,:host([appearance=outline-fill]):host([kind=neutral]) .container{border-color:var(--calcite-chip-border-color, var(--calcite-color-border-1))}:host([appearance=outline]) .container{background-color:transparent}:host([appearance=outline-fill]) .container{background-color:var(--calcite-chip-background-color, var(--calcite-color-foreground-1))}:host([appearance=solid]) .container{border-color:transparent}:host([appearance=solid]):host([kind=brand]) .container,:host([appearance=solid]):host([kind=inverse]) .container{color:var(--calcite-chip-text-color, var(--calcite-color-text-inverse))}:host([appearance=solid]):host([kind=brand]) .close,:host([appearance=solid]):host([kind=inverse]) .close{outline-color:var(--calcite-color-text-inverse)}:host([appearance=solid]):host([kind=brand]) .container{background-color:var(--calcite-chip-background-color, var(--calcite-color-brand))}:host([appearance=solid]):host([kind=inverse]) .container{background-color:var(--calcite-chip-background-color, var(--calcite-color-inverse))}:host([appearance=solid]):host([kind=neutral]) .container{background-color:var(--calcite-chip-background-color, var(--calcite-color-foreground-2))}:host([kind=neutral]) .container{--calcite-internal-chip-close-icon-color:var(--calcite-color-text-3);color:var(--calcite-chip-text-color, var(--calcite-color-text-1))}:host([selected]) .select-icon{opacity:1}:host([scale=s]) .container{--calcite-internal-chip-block-size:1.5rem ;--calcite-internal-chip-container-space-x-end:0.25rem ;--calcite-internal-chip-container-space-x-start:0.25rem ;--calcite-internal-chip-font-size:var(--calcite-font-size--2);--calcite-internal-chip-icon-size:1rem ;--calcite-internal-chip-icon-space:0.25rem ;--calcite-internal-chip-image-size:1.25rem ;--calcite-internal-chip-title-space:0.25rem ;--calcite-internal-close-size:1rem }:host([scale=s]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-start:var(--calcite-spacing-px);--calcite-internal-chip-container-space-x-end:var(--calcite-spacing-px)}:host([scale=s]) .container.image--slotted:has(.chip-icon),:host([scale=s]) .container.image--slotted.text--slotted,:host([scale=s]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end:0.25rem }:host([scale=s]) .container.image--slotted:not(.text--slotted,:has(.chip-icon)),:host([scale=s]) .container.image--slotted:not(.selectable){--calcite-internal-chip-container-space-x-start:var(--calcite-spacing-px)}:host([scale=s]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start:var(--calcite-spacing-px)}:host([scale=s]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end:0.375rem ;--calcite-internal-chip-select-space-x-start:0}:host([scale=s]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end:0.5rem ;--calcite-internal-chip-select-space-x-start:0.125rem }:host([scale=s]) .container.multiple:not(.is-circle){--calcite-internal-chip-container-space-x-start:0.25rem ;--calcite-internal-chip-select-space-x-end:0.25rem ;--calcite-internal-chip-select-space-x-start:0.25rem }:host([scale=s]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end:0.5rem ;--calcite-internal-chip-select-space-x-start:0.375rem ;--calcite-internal-chip-container-space-x-start:var(--calcite-spacing-px)}:host([scale=s]) .container.multiple:not(.is-circle).image--slotted:not(.text--slotted){--calcite-internal-chip-select-space-x-start:0.375rem }:host([scale=m]) .container{--calcite-internal-chip-block-size:2rem ;--calcite-internal-chip-container-space-x-end:0.375rem ;--calcite-internal-chip-container-space-x-start:0.375rem ;--calcite-internal-chip-font-size:var(--calcite-font-size--1);--calcite-internal-chip-icon-size:1.5rem ;--calcite-internal-chip-icon-space:0.375rem ;--calcite-internal-chip-image-size:1.5rem ;--calcite-internal-chip-title-space:0.375rem ;--calcite-internal-close-size:1.5rem }:host([scale=m]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-end:var(--calcite-spacing-px);--calcite-internal-chip-container-space-x-start:var(--calcite-spacing-px)}:host([scale=m]) .container.image--slotted:not(.is-circle){--calcite-internal-chip-container-space-x-start:0.25rem }:host([scale=m]) .container.image--slotted:has(.chip-icon),:host([scale=m]) .container.image--slotted.text--slotted,:host([scale=m]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end:0.375rem }:host([scale=m]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start:0.25rem }:host([scale=m]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end:var(--calcite-spacing-px);--calcite-internal-chip-select-space-x-start:0}:host([scale=m]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end:0.25rem ;--calcite-internal-chip-select-space-x-start:0.375rem }:host([scale=m]) .container.multiple:not(.is-circle){--calcite-internal-chip-select-space-x-end:0.125rem ;--calcite-internal-chip-select-space-x-start:0.125rem }:host([scale=m]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end:0.5rem ;--calcite-internal-chip-select-space-x-start:0.25rem }:host([scale=m]) .container.closable:not(.is-circle){--calcite-internal-chip-container-space-x-end:0.25rem }:host([scale=l]) .container{--calcite-internal-chip-block-size:2.75rem ;--calcite-internal-chip-container-space-x-end:0.5rem ;--calcite-internal-chip-container-space-x-start:0.5rem ;--calcite-internal-chip-font-size:var(--calcite-font-size-0);--calcite-internal-chip-icon-size:2rem ;--calcite-internal-chip-icon-space:0.5rem ;--calcite-internal-chip-image-size:2rem ;--calcite-internal-chip-title-space:0.5rem ;--calcite-internal-close-size:2rem }:host([scale=l]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-end:0.25rem ;--calcite-internal-chip-container-space-x-start:0.25rem }:host([scale=l]) .container.image--slotted:not(.is-circle){--calcite-internal-chip-container-space-x-start:0.375rem }:host([scale=l]) .container.image--slotted:has(.chip-icon),:host([scale=l]) .container.image--slotted.text--slotted,:host([scale=l]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end:0.5rem }:host([scale=l]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start:0.375rem }:host([scale=l]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end:0.25rem ;--calcite-internal-chip-select-space-x-start:0}:host([scale=l]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end:0.375rem ;--calcite-internal-chip-select-space-x-start:0.5rem }:host([scale=l]) .container.multiple:not(.is-circle){--calcite-internal-chip-container-space-x-start:0.5rem ;--calcite-internal-chip-select-space-x-end:0.25rem ;--calcite-internal-chip-select-space-x-start:0.25rem }:host([scale=l]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end:0.75rem }:host([scale=l]) .container.closable:not(.is-circle){--calcite-internal-chip-container-space-x-end:0.375rem }.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;font-weight:var(--calcite-font-weight-medium);outline-color:transparent;border-radius:var(--calcite-chip-corner-radius, 9999px);border-width:var(--calcite-border-width-sm);border-style:solid;font-size:var(--calcite-internal-chip-font-size, var(--calcite-font-size));padding-inline-start:var(--calcite-internal-chip-container-space-x-start);padding-inline-end:var(--calcite-internal-chip-container-space-x-end);block-size:var(--calcite-internal-chip-block-size, auto);inline-size:var(--calcite-internal-chip-inline-size, auto);min-inline-size:var(--calcite-internal-chip-block-size, auto)}.container:hover .select-icon--active{opacity:1}.container.selectable{cursor:pointer}.container:not(.non-interactive):focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.container.text--slotted .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container:not(.text--slotted) .title,.container:not(.image--slotted) .image-container{display:none}.container.is-circle .chip-icon,.container.is-circle .image-container{padding:0}.title{padding-inline:var(--calcite-internal-chip-title-space)}.image-container{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;pointer-events:none;block-size:var(--calcite-internal-chip-image-size, 1.5rem);inline-size:var(--calcite-internal-chip-image-size, 1.5rem);padding-inline-start:0;padding-inline-end:var(--calcite-internal-chip-image-space-x-end, 0)}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-chip-icon-color, var(--calcite-chip-text-color, var(--calcite-icon-color, currentColor)));padding-inline:var(--calcite-internal-chip-icon-space, 0.375rem)}.select-icon{align-self:center;justify-content:center;align-items:center;display:flex;inset-block-start:-1px;position:absolute;visibility:hidden;inline-size:auto;opacity:0;transition:opacity 0.15s ease-in-out, inline-size 0.15s ease-in-out;color:var(--calcite-chip-select-icon-color, currentColor)}.select-icon.select-icon--active{position:relative;visibility:visible;opacity:0.5;color:var(--calcite-chip-select-icon-color-pressed, var(--calcite-chip-select-icon-color, currentColor))}.multiple .select-icon{display:flex;align-items:center;justify-content:center}.multiple .select-icon,.single .select-icon--active{padding-inline-start:var(--calcite-internal-chip-select-space-x-start);padding-inline-end:var(--calcite-internal-chip-select-space-x-end);block-size:var(--calcite-internal-chip-icon-size, 1.5rem);inline-size:var(--calcite-internal-chip-icon-size, 1.5rem)}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}.close{margin:0px;cursor:pointer;align-items:center;border-radius:50%;border-style:none;outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-close-background-color, var(--calcite-color-transparent));-webkit-appearance:none;display:flex;align-content:center;justify-content:center;color:var(--calcite-chip-close-icon-color, var(--calcite-close-icon-color, var(--calcite-internal-chip-close-icon-color, var(--calcite-color-text-1))));block-size:var(--calcite-internal-close-size, 1.5rem);inline-size:var(--calcite-internal-close-size, 1.5rem);padding:0}.close:hover,.close:focus{background-color:var(--calcite-close-background-color-hover, var(--calcite-color-transparent-hover))}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:active{background-color:var(--calcite-close-background-color-press, var(--calcite-color-transparent-press))}.close calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
15
|
+
* v2.13.2
|
16
|
+
*/
|
17
|
+
const M="label--active",$="container",B="icon--custom",O="icon--dot",U="icon",G="icon--active",J="label",N=e=>`scale--${e}`,Q="label--selected",V="label--single",X=class{constructor(t){e(this,t),this.calciteComboboxItemChange=i(this,"calciteComboboxItemChange",6),this.calciteInternalComboboxItemChange=i(this,"calciteInternalComboboxItemChange",6),this.itemClickHandler=()=>{this.toggleSelected()},this.active=!1,this.ancestors=void 0,this.description=void 0,this.disabled=!1,this.filterDisabled=void 0,this.filterTextMatchPattern=void 0,this.guid=C(),this.icon=void 0,this.iconFlipRtl=!1,this.metadata=void 0,this.scale="m",this.selected=!1,this.selectionMode="multiple",this.shortHeading=void 0,this.heading=void 0,this.textLabel=void 0,this.value=void 0,this.label=void 0}handleComboboxItemPropsChange(){this.calciteInternalComboboxItemChange.emit()}selectedWatchHandler(){this.calciteComboboxItemChange.emit()}connectedCallback(){this.ancestors=j(this.el),z(this)}disconnectedCallback(){w(this)}componentDidRender(){v(this)}toggleSelected(){this.disabled||"single-persist"===this.selectionMode&&this.selected||(this.selected=!this.selected)}renderIcon(e){return this.icon?t("calcite-icon",{class:{[B]:!!this.icon,[G]:this.icon&&this.selected},flipRtl:this.iconFlipRtl,icon:this.icon||e,key:"icon",scale:k(this.scale)}):null}renderSelectIndicator(e,i){return e?t("span",{class:{[U]:!0,[O]:!0}}):t("calcite-icon",{class:{[U]:!0,[G]:this.selected},flipRtl:this.iconFlipRtl,icon:i,key:"indicator",scale:k(this.scale)})}renderChildren(){return s(this.el)?t("ul",{key:"default-slot-container"},t("slot",null)):null}render(){const{disabled:e,heading:i,label:a,textLabel:n,value:o}=this,s=I(this.selectionMode),l=i||n,r=e||s?void 0:"check",h=a||o,d=s&&!e,p={[J]:!0,[Q]:this.selected,[M]:this.active,[V]:s},m=S(this.el)+1;return t(c,{key:"484c17421421afe7739dc37cc3edb46c2fd0e083","aria-hidden":"true","aria-label":h},t(u,{key:"71135810fa4af5e17b668d13af219c7575085a9e",disabled:e},t("div",{key:"2db3e68f23449032b1ac5957a9376a68815e03c5",class:{[$]:!0,[N(this.scale)]:!0},style:{"--calcite-combobox-item-spacing-indent-multiplier":`${m}`}},t("li",{key:"153f7e8af6cb925630fb08fc5cfcf4a8df48ad2a",class:p,id:this.guid,onClick:this.itemClickHandler},this.renderSelectIndicator(d,r),this.renderIcon(r),t("div",{key:"4d9bbd0bc113dc2196e3141a84f6137e7d48b95e",class:"center-content"},t("div",{key:"d531d42c8af37b9fbdbda7457e88f4688427911b",class:"title"},this.renderTextContent(l)),this.description?t("div",{class:"description"},this.renderTextContent(this.description)):null),this.shortHeading?t("div",{class:"short-text"},this.renderTextContent(this.shortHeading)):null,t("slot",{key:"f4c71258fff023a30662c7105e1a7492edafa14a",name:"content-end"})),this.renderChildren())))}renderTextContent(e){const i=this.filterTextMatchPattern;if(!i||!e)return e;const c=e.split(i);return c.length>1&&(c[1]=t("mark",{class:"filter-match"},c[1])),c}get el(){return a(this)}static get watchers(){return{disabled:["handleComboboxItemPropsChange"],textLabel:["handleComboboxItemPropsChange"],selected:["selectedWatchHandler"]}}};X.style='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem;--calcite-internal-combobox-item-description-font-size:var(--calcite-font-size-xs)}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.375rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem;--calcite-internal-combobox-item-description-font-size:var(--calcite-font-size-sm)}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem;--calcite-internal-combobox-item-description-font-size:var(--calcite-font-size)}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;word-wrap:break-word;word-break:break-word;justify-content:space-around;gap:var(--calcite-combobox-item-spacing-unit-l);padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l);padding-inline-start:var(--calcite-combobox-item-indent-value)}:host([disabled]) .label{cursor:default}.label--selected{color:var(--calcite-color-text-1)}.label--selected .title{font-weight:var(--calcite-font-weight-medium)}.label--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-color-border-1)}.icon--custom{margin-block-start:-1px;color:var(--calcite-color-text-3)}.icon--active{color:var(--calcite-color-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot::before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}:host(:hover[disabled]) .icon{opacity:1}.filter-match{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-current)}.center-content{display:flex;flex-direction:column;flex-grow:1;padding-block:0}.description{font-size:var(--calcite-internal-combobox-item-description-font-size)}:host([selected]) .description,:host(:hover) .description{color:var(--calcite-color-text-2)}.short-text{color:var(--calcite-color-text-3);white-space:nowrap}.title{color:var(--calcite-color-text-1)}.title,.description,.short-text{line-height:var(--calcite-font-line-height-relative-snug)}';export{K as calcite_chip,X as calcite_combobox_item}
|
@@ -3,9 +3,9 @@
|
|
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 t,c as e,h as o,H as i,g as c}from"./p-4e6eb06e.js";import{f as s,t as a}from"./p-
|
6
|
+
import{r as t,c as e,h as o,H as i,g as c}from"./p-4e6eb06e.js";import{f as s,t as a}from"./p-26ba0cc7.js";import{i as n}from"./p-ec51378a.js";import{c as r,d as l}from"./p-177b4cbc.js";import{u as d,c as h,s as g,d as p}from"./p-cb8d90d1.js";import{c as v,s as b,a as f}from"./p-7f68e6a4.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-85c3237c.js";import"./p-08c18450.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.13.
|
11
|
-
*/const u="content",m="toggle",x="invalid",w="section-header",k="status-icon",y="toggle",_="toggle--switch",j="toggle-container",C="valid",z={menuOpen:"chevron-up",menuClosed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},L=class{constructor(o){t(this,o),this.calciteBlockSectionToggle=e(this,"calciteBlockSectionToggle",6),this.handleHeaderKeyDown=t=>{n(t.key)&&(this.toggleSection(),t.preventDefault(),t.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()},this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.open=!1,this.status=void 0,this.text=void 0,this.toggleDisplay="button",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}async setFocus(){await v(this),s(this.el)}effectiveLocaleChange(){d(this,this.effectiveLocale)}connectedCallback(){r(this),h(this)}async componentWillLoad(){await g(this),
|
10
|
+
* v2.13.2
|
11
|
+
*/const u="content",m="toggle",x="invalid",w="section-header",k="status-icon",y="toggle",_="toggle--switch",j="toggle-container",C="valid",z={menuOpen:"chevron-up",menuClosed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},L=class{constructor(o){t(this,o),this.calciteBlockSectionToggle=e(this,"calciteBlockSectionToggle",6),this.handleHeaderKeyDown=t=>{n(t.key)&&(this.toggleSection(),t.preventDefault(),t.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()},this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.open=!1,this.status=void 0,this.text=void 0,this.toggleDisplay="button",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}async setFocus(){await v(this),s(this.el)}effectiveLocaleChange(){d(this,this.effectiveLocale)}connectedCallback(){r(this),h(this)}async componentWillLoad(){await g(this),b(this)}componentDidLoad(){f(this)}disconnectedCallback(){l(this),p(this)}renderStatusIcon(){const{status:t}=this,e=z[t]??!1;return e?o("calcite-icon",{class:{[k]:!0,[C]:"valid"==t,[x]:"invalid"==t},icon:e,scale:"s"}):null}renderIcon(t){const{iconFlipRtl:e}=this;if(void 0===t)return null;const i=t===this.iconStart;return o("calcite-icon",{class:i?"icon--start":"icon--end",flipRtl:i?"both"===e||"start"===e:"both"===e||"end"===e,icon:i?this.iconStart:this.iconEnd,key:i?this.iconStart:this.iconEnd,scale:"s"})}render(){const{messages:t,open:e,text:c,toggleDisplay:s}=this,n=e?z.menuOpen:z.menuClosed,r=e?t.collapse:t.expand,l="switch"===s?o("div",{class:{[j]:!0}},o("div",{"aria-controls":u,"aria-expanded":a(e),class:{[y]:!0,[_]:!0},id:m,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,role:"button",tabIndex:0,title:r},this.renderIcon(this.iconStart),o("div",{class:"toggle--switch__content"},o("span",{class:"toggle--switch__text"},c)),this.renderIcon(this.iconEnd),this.renderStatusIcon(),o("calcite-switch",{checked:e,class:"switch",inert:!0,label:r,scale:"s"}))):o("div",{class:{[j]:!0}},o("button",{"aria-controls":u,"aria-expanded":a(e),class:{[w]:!0,[y]:!0},id:m,onClick:this.toggleSection},this.renderIcon(this.iconStart),o("span",{class:"section-header__text"},c),this.renderIcon(this.iconEnd),this.renderStatusIcon(),o("calcite-icon",{class:"chevron-icon",icon:n,scale:"s"})));return o(i,{key:"8e61bf71e65fc045a1e088fb60e1bbe70ae02d75"},l,o("section",{key:"5cdacc4b9f504c512bcd10ebab26e8c32936ef04","aria-labelledby":m,class:"content",hidden:!e,id:u},o("slot",{key:"fd84a50474173a49b32f7e94346481dade6d431f"})))}static get assetsDirs(){return["assets"]}get el(){return c(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};L.style=":host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host([open]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-color-border-3)}:host([open]) .toggle{color:var(--calcite-color-text-1)}:host([open]) .toggle:hover{color:var(--calcite-color-text-1)}:host([open]) .chevron-icon{color:var(--calcite-color-text-3)}:host([open]) .chevron-icon:hover{color:var(--calcite-color-text-1)}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-font-family);gap:var(--calcite-spacing-md);color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-normal)}.toggle:hover{color:var(--calcite-color-text-1)}.toggle--switch,.section-header{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.toggle--switch:hover,.section-header:hover{color:var(--calcite-color-text-1)}.section-header__text{margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle-container{position:relative;display:flex;align-items:center;background-color:transparent;word-break:break-word}.toggle-container .toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.toggle-container .icon--end,.toggle-container .icon--start,.toggle-container .chevron-icon{display:flex;align-items:center;color:var(--calcite-color-text-3)}.toggle-container .icon--end:hover,.toggle-container .icon--start:hover,.toggle-container .chevron-icon:hover{color:var(--calcite-color-text-1)}.status-icon{display:flex;align-items:center}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}:host([hidden]){display:none}[hidden]{display:none}";export{L as calcite_block_section}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{d as e}from"./p-
|
6
|
+
import{d as e}from"./p-80ff858b.js";import"./p-4e6eb06e.js";import"./p-9c5d5171.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-770a5a64.js";import"./p-ec51378a.js";import"./p-9ce8e34f.js";import"./p-ae019e19.js";import"./p-7f68e6a4.js";import"./p-08c18450.js";import"./p-177b4cbc.js";import"./p-85c3237c.js";import"./p-d9e9fe80.js";import"./p-7eee9aa8.js";import"./p-fd019d15.js";import"./p-bd7be7a7.js";import"./p-cb8d90d1.js";import"./p-e37e117f.js";import"./p-a71250ea.js";var m={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};e.locale(m,null,!0);export{m as default}
|
@@ -3,9 +3,9 @@
|
|
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 t,c as i,h as e,g as a}from"./p-4e6eb06e.js";import{u as n,I as o}from"./p-
|
6
|
+
import{r as t,c as i,h as e,g as a}from"./p-4e6eb06e.js";import{u as n,I as o}from"./p-770a5a64.js";import{c as r,s as l,a as s}from"./p-7f68e6a4.js";import"./p-08c18450.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.13.
|
10
|
+
* v2.13.2
|
11
11
|
*/const c=class{constructor(e){t(this,e),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6),this.calciteSplitButtonPrimaryClickHandler=()=>this.calciteSplitButtonPrimaryClick.emit(),this.calciteSplitButtonSecondaryClickHandler=()=>this.calciteSplitButtonSecondaryClick.emit(),this.appearance="solid",this.kind="brand",this.disabled=!1,this.active=!1,this.dropdownIconType="chevron",this.dropdownLabel=void 0,this.flipPlacements=void 0,this.loading=!1,this.overlayPositioning="absolute",this.placement="bottom-end",this.primaryIconEnd=void 0,this.primaryIconFlipRtl=void 0,this.primaryIconStart=void 0,this.primaryLabel=void 0,this.primaryText=void 0,this.scale="m",this.width="auto"}handleDisabledChange(t){t||(this.active=!1)}activeHandler(){this.disabled&&(this.active=!1)}async setFocus(){await r(this),this.el.focus()}componentWillLoad(){l(this)}componentDidLoad(){s(this)}componentDidRender(){n(this)}render(){return e(o,{key:"dacdf1583d8cb4551cb4882b8508c558d782b4d4",disabled:this.disabled},e("div",{key:"a61c78ee84cd89d78a7d2c9479917838ed410c16",class:"container"},e("calcite-button",{key:"f70e6b5aa7457c7d51093be9a0033c28134b7a1f",appearance:this.appearance,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,kind:this.kind,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:"auto"===this.width?"auto":"full"},this.primaryText),e("div",{key:"6a666aff420b7aee2d413ac298a8cf7c743b63fe",class:"divider-container"},e("div",{key:"34e4ea2b452fb53d5503d0cc03b8d8644e08f8a3",class:"divider"})),e("calcite-dropdown",{key:"44dfd708df7c0e961259ffca36e181306043e64f",disabled:this.disabled,flipPlacements:this.flipPlacements,onClick:this.calciteSplitButtonSecondaryClickHandler,open:this.active,overlayPositioning:this.overlayPositioning,placement:this.placement,scale:this.scale,"width-scale":this.scale},e("calcite-button",{key:"4f746ce80d07518b03ae4602bd2417f369aacba3",appearance:this.appearance,disabled:this.disabled,"icon-start":this.dropdownIcon,kind:this.kind,label:this.dropdownLabel,scale:this.scale,slot:"trigger",splitChild:"secondary",type:"button"}),e("slot",{key:"80aa3fefc8d08c1a6e222a88f2e873cbcc209f1a"}))))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};c.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([kind=brand]){--calcite-internal-split-button-background:var(--calcite-color-brand);--calcite-internal-split-button-divider:var(--calcite-color-foreground-1)}:host([kind=danger]){--calcite-internal-split-button-background:var(--calcite-color-status-danger);--calcite-internal-split-button-divider:var(--calcite-color-foreground-1)}:host([kind=neutral]){--calcite-internal-split-button-background:var(--calcite-color-foreground-3);--calcite-internal-split-button-divider:var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-internal-split-button-background:var(--calcite-color-inverse);--calcite-internal-split-button-divider:var(--calcite-color-foreground-1)}:host([appearance=transparent]){--calcite-internal-split-button-background:transparent}:host([appearance=transparent]):host([kind=brand]){--calcite-internal-split-button-divider:var(--calcite-color-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-internal-split-button-divider:var(--calcite-color-status-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-internal-split-button-divider:var(--calcite-color-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-internal-split-button-divider:var(--calcite-color-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline]):host([kind=danger]),:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline]):host([kind=inverse]){--calcite-internal-split-button-background:transparent}:host([appearance=outline-fill]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-background:var(--calcite-color-background)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-internal-split-button-divider:var(--calcite-color-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-internal-split-button-divider:var(--calcite-color-status-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-internal-split-button-divider:var(--calcite-color-border-1)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-divider:var(--calcite-color-inverse)}.container{display:flex;align-items:stretch}.container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}.divider-container{display:flex;inline-size:1px;align-items:stretch;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-internal-split-button-background)}.divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]) .divider-container,:host([appearance=outline]) .divider-container{border-block:1px solid var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]):hover .divider-container,:host([appearance=outline]):hover .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]:hover) .divider-container,:host([appearance=outline]:hover) .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-internal-split-button-divider:var(--calcite-color-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-internal-split-button-divider:var(--calcite-color-status-danger-press)}:host([appearance=outline-fill]:focus-within) .divider-container,:host([appearance=outline]:focus-within) .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]):host([appearance=outline-fill]) .divider-container{background-color:var(--calcite-color-background)}:host([disabled]):host([appearance=outline]) .divider-container{background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";export{c as calcite_split_button}
|
@@ -6,6 +6,6 @@
|
|
6
6
|
/*!
|
7
7
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
8
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
9
|
-
* v2.13.
|
9
|
+
* v2.13.2
|
10
10
|
*/
|
11
11
|
const n={container:"container",containerNone:"container--none-selection",icon:"dropdown-item-icon",iconEnd:"dropdown-item-icon--end",iconStart:"dropdown-item-icon--start",itemContent:"dropdown-item-content",link:"dropdown-link"};export{n as C}
|
@@ -3,15 +3,15 @@
|
|
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 e,h as t,g as r}from"./p-4e6eb06e.js";import{x as i}from"./p-
|
6
|
+
import{r as e,h as t,g as r}from"./p-4e6eb06e.js";import{x as i}from"./p-26ba0cc7.js";import{w as a,s}from"./p-13fd4eeb.js";import"./p-eed08718.js";import"./p-51ab623a.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.13.
|
10
|
+
* v2.13.2
|
11
11
|
*/const o=class{constructor(t){e(this,t),this.scale="m",this.thumbnail=void 0,this.fullName=void 0,this.username=void 0,this.userId=void 0,this.label=void 0,this.thumbnailFailedToLoad=!1}render(){return this.determineContent()}determineContent(){if(this.thumbnail&&!this.thumbnailFailedToLoad)return t("img",{alt:this.label||"",class:"thumbnail",onError:()=>this.thumbnailFailedToLoad=!0,src:this.thumbnail});const e=this.generateInitials(),r=this.generateFillColor();return t("span",{"aria-label":this.label||this.fullName,class:"background",role:"figure",style:{backgroundColor:r}},e?t("span",{"aria-hidden":"true",class:"initials"},e):t("calcite-icon",{class:"icon",icon:"user",scale:this.scale}))}generateFillColor(){const{userId:e,username:t,fullName:r,el:o}=this,n=i(o),c=e&&`#${e.substr(e.length-6)}`,l=t||r||"",h=c&&s(c)?c:
|
12
12
|
/*!
|
13
13
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
14
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
15
|
-
* v2.13.
|
15
|
+
* v2.13.2
|
16
16
|
*/
|
17
17
|
function(e){e=function(e){const t=Math.floor(e.length/2),r=e.split("").reverse().join("");return r.substring(t)+r.slice(0,t)}(e);let t=0;for(let r=0;r<e.length;r++)t=e.charCodeAt(r)+((t<<5)-t);let r="#";for(let e=0;e<3;e++)r+=("00"+(t>>8*e&255).toString(16)).substr(-2);return r}(l);return(e||l)&&s(h)?`var(--calcite-avatar-background-color, hsl(${function(e){return function(e){let{r:t,g:r,b:i}=e;t/=255,r/=255,i/=255;const a=Math.max(t,r,i),s=Math.min(t,r,i),o=a-s;if(a===s)return 0;let n=(a+s)/2;switch(a){case t:n=(r-i)/o+(r<i?6:0);break;case r:n=(i-t)/o+2;break;case i:n=(t-r)/o+4}return Math.round(60*n)}(a(e))}(h)}, 60%, ${"dark"===n?20:90}%))`:"var(--calcite-avatar-background-color, var(--calcite-color-foreground-2))"}generateInitials(){const{fullName:e,username:t}=this;return e?e.trim().split(" ").map((e=>e.substring(0,1))).join(""):!!t&&t.substring(0,2)}get el(){return r(this)}};o.style=":host{display:inline-block;overflow:hidden;border-radius:var(--calcite-avatar-corner-radius, 50%);color:var(--calcite-avatar-color, var(--calcite-color-text-2))}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:flex}.background{display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;border-radius:var(--calcite-avatar-corner-radius, 50%)}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase}.thumbnail{block-size:100%;inline-size:100%;border-radius:var(--calcite-avatar-corner-radius, 50%)}:host([hidden]){display:none}[hidden]{display:none}";export{o as calcite_avatar}
|
@@ -3,9 +3,9 @@
|
|
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 t,c as i,h as
|
6
|
+
import{r as t,c as i,h as e,H as o,g as s}from"./p-4e6eb06e.js";import{c as a,d as n}from"./p-7cc8e95a.js";import{e as c,s as h,f as l}from"./p-26ba0cc7.js";import{a as r,s as d,c as p}from"./p-7f68e6a4.js";import{c as u,d as g}from"./p-177b4cbc.js";import{c as b}from"./p-85c3237c.js";import{u as f,c as m,s as x,d as v}from"./p-cb8d90d1.js";import{t as y,q as w,g as j,o as z,E as H,a as C}from"./p-3aee989b.js";import{D}from"./p-51ab623a.js";import{d as L}from"./p-c8d3207e.js";import"./p-eed08718.js";import"./p-08c18450.js";import"./p-ec51378a.js";import"./p-ee3c41d6.js";import"./p-70e78995.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.13.
|
11
|
-
*/const A=class{constructor(
|
10
|
+
* v2.13.2
|
11
|
+
*/const A=class{constructor(e){t(this,e),this.calciteActionBarToggle=i(this,"calciteActionBarToggle",6),this.mutationObserver=b("mutation",(()=>{const{el:t,expanded:i}=this;y({el:t,expanded:i}),this.overflowActions()})),this.resizeObserver=b("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const i=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{i.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:i,height:e}=t.contentRect;this.resize({width:i,height:e})},this.resize=L((({width:t,height:i})=>{const{el:e,expanded:o,expandDisabled:s,layout:a,overflowActionsDisabled:n}=this;if(n||"vertical"===a&&!i||"horizontal"===a&&!t)return;const c=w(e),h=s?c.length:c.length+1,l=Array.from(e.querySelectorAll("calcite-action-group"));this.setGroupLayout(l);const r=this.hasActionsEnd||this.hasBottomActions||!s?l.length+1:l.length,{actionHeight:d,actionWidth:p}=j(c),u=C({layout:a,actionCount:h,actionHeight:d,actionWidth:p,height:i,width:t,groupCount:r});z({actionGroups:l,expanded:o,overflowCount:u})}),D.resize),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.handleDefaultSlotChange=t=>{const i=c(t).filter((t=>t.matches("calcite-action-group")));this.setGroupLayout(i)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=h(t)},this.handleBottomActionsSlotChange=t=>{this.hasBottomActions=h(t)},this.handleTooltipSlotChange=t=>{const i=c(t).filter((t=>t?.matches("calcite-tooltip")));this.expandTooltip=i[0]},this.actionsEndGroupLabel=void 0,this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.overlayPositioning="absolute",this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.hasActionsEnd=!1,this.hasBottomActions=!1,this.expandTooltip=void 0,this.defaultMessages=void 0}expandHandler(){this.overflowActions()}expandedHandler(){const{el:t,expanded:i}=this;y({el:t,expanded:i}),this.overflowActions()}layoutHandler(){this.updateGroups()}overflowDisabledHandler(t){t?this.resizeObserver?.disconnect():(this.resizeObserver?.observe(this.el),this.overflowActions())}onMessagesChange(){}effectiveLocaleChange(){f(this,this.effectiveLocale)}componentDidLoad(){const{el:t,expanded:i}=this;r(this),y({el:t,expanded:i}),this.overflowActions()}connectedCallback(){const{el:t,expanded:i}=this;u(this),m(this),y({el:t,expanded:i}),this.mutationObserver?.observe(t,{childList:!0,subtree:!0}),this.overflowActionsDisabled||this.resizeObserver?.observe(t),this.overflowActions(),a(this)}async componentWillLoad(){d(this),await x(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),n(this),g(this),v(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await p(this),l(this.el)}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(t){t.forEach((t=>t.layout=this.layout))}renderBottomActionGroup(){const{expanded:t,expandDisabled:i,el:o,position:s,toggleExpand:a,scale:n,layout:c,messages:h,actionsEndGroupLabel:l,overlayPositioning:r}=this,d=i?null:e(H,{collapseLabel:h.collapseLabel,collapseText:h.collapse,el:o,expandLabel:h.expandLabel,expandText:h.expand,expanded:t,position:s,scale:n,toggle:a,tooltip:this.expandTooltip});return e("calcite-action-group",{class:"action-group--end",hidden:this.expandDisabled&&!(this.hasActionsEnd||this.hasBottomActions),label:l,layout:c,overlayPositioning:r,scale:n},e("slot",{name:"actions-end",onSlotchange:this.handleActionsEndSlotChange}),e("slot",{name:"bottom-actions",onSlotchange:this.handleBottomActionsSlotChange}),e("slot",{name:"expand-tooltip",onSlotchange:this.handleTooltipSlotChange}),d)}render(){return e(o,{key:"ff6e365531a0ed2032864bb0777910c3932e9c6b",onCalciteActionMenuOpen:this.actionMenuOpenHandler},e("slot",{key:"f12b2f455752a62ee32b65224bed385940135a49",onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],layout:["layoutHandler"],overflowActionsDisabled:["overflowDisabledHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};A.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{pointer-events:auto;display:inline-flex;align-self:stretch;gap:var(--calcite-action-bar-items-space, 0)}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]){overflow-y:auto}:host([layout=vertical]):host([expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]){overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:var(--calcite-border-width-sm)}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}";export{A as calcite_action_bar}
|
@@ -3,9 +3,9 @@
|
|
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 a,g as o}from"./p-4e6eb06e.js";import{c as n,d as s}from"./p-
|
6
|
+
import{r as i,c as t,h as e,H as a,g as o}from"./p-4e6eb06e.js";import{c as n,d as s}from"./p-7cc8e95a.js";import{o as r,s as l,f as c,u as d}from"./p-26ba0cc7.js";import{d as h,a as m,c as p,u as b}from"./p-d9e9fe80.js";import{s as f,a as u,c as g}from"./p-7f68e6a4.js";import{c as v}from"./p-85c3237c.js";import{o as x}from"./p-93d03bf0.js";import{c as k,d as z}from"./p-177b4cbc.js";import{s as y,c as w,d as C,u as j}from"./p-cb8d90d1.js";import{g as $,c as M}from"./p-ae019e19.js";import{l as O}from"./p-b138a65e.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-7eee9aa8.js";import"./p-08c18450.js";import"./p-ec51378a.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.13.
|
10
|
+
* v2.13.2
|
11
11
|
*/const D="modal",F="header",B="container",L="container--open",S="container--embedded",T="content",E="content--no-footer",H="modal--opening-idle",q="modal--opening-active",A="modal--closing-idle",V="modal--closing-active",W="content",_="back",G="secondary",I="primary";let J=0,K="";O.deprecated("component",{name:"modal",removalVersion:4,suggested:"dialog"});const N=class{constructor(e){i(this,e),this.calciteModalBeforeClose=t(this,"calciteModalBeforeClose",6),this.calciteModalClose=t(this,"calciteModalClose",6),this.calciteModalBeforeOpen=t(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=t(this,"calciteModalOpen",6),this.ignoreOpenChange=!1,this.mutationObserver=v("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=v("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleCloseClick=()=>{this.open=!1},this.handleOutsideClose=()=>{this.outsideCloseDisabled||(this.open=!1)},this.closeModal=async()=>{if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}J--,this.opened=!1,this.removeOverflowHiddenClass()},this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[_,I,G])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=i=>{this.hasContentTop=l(i)},this.contentBottomSlotChangeHandler=i=>{this.hasContentBottom=l(i)},this.open=!1,this.opened=!1,this.beforeClose=void 0,this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.embedded=!1,this.escapeDisabled=!1,this.scale="m",this.widthScale="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(i){this.open&&(i?h(this):m(this))}onMessagesChange(){}async componentWillLoad(){await y(this),f(this),this.open&&this.openModal()}componentDidLoad(){u(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),n(this),k(this),w(this),p(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.cssVarObserver?.disconnect(),s(this),h(this),z(this),C(this),this.embedded=!1}render(){return e(a,{key:"f92cd77f4a5ad4a245ca50fe2b2bfcf9966d4ca8","aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("div",{key:"a9d348a67842162f1bc17ec8422c07963aed412d",class:{[B]:!0,[L]:this.opened,[S]:this.embedded}},e("calcite-scrim",{key:"7dc3bc9220fc375522a6d390b633f9573bfa6c67",class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{key:"40782ba2b6d3f086c884ace3529110e873009504",class:{[D]:!0},ref:this.setTransitionEl},e("div",{key:"ea3a72ab0a0e5abae6e766d0b7b2cfce54667e86",class:F},this.renderCloseButton(),e("header",{key:"abe5c28d11fc6241cd6ac40adef4d94529eb9d5c",class:"title"},e("slot",{key:"3d1d6ed6c0249472a00fba4128a861e6a6eae4dd",name:F}))),this.renderContentTop(),e("div",{key:"0e65dfbd175e490586518d1a4c34b9eb1dde1f01",class:{[T]:!0,[E]:!this.hasFooter},ref:i=>this.modalContent=i},e("slot",{key:"d5f3b08e61e8e47f64fd13bc6eb7f7ed6a07b7c8",name:W})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?e("div",{class:"footer",key:"footer"},e("span",{class:"back"},e("slot",{name:_})),e("span",{class:"secondary"},e("slot",{name:G})),e("span",{class:"primary"},e("slot",{name:I}))):null}renderContentTop(){return e("div",{class:"content-top",hidden:!this.hasContentTop},e("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return e("div",{class:"content-bottom",hidden:!this.hasContentBottom},e("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:e("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.handleCloseClick,ref:i=>this.closeButtonEl=i,title:this.messages.close},e("calcite-icon",{icon:"x",scale:$(this.scale)}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return e("style",null,`.${B} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${D} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${B} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${D} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){j(this,this.effectiveLocale)}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.open=!1,i.preventDefault())}async setFocus(){await g(this),c(this.el)}async updateFocusTrapElements(){b(this)}async scrollContent(i=0,t=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:i,left:t,behavior:"smooth"}):(this.modalContent.scrollTop=i,this.modalContent.scrollLeft=t))}onBeforeOpen(){this.transitionEl.classList.add(q),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(H,q),this.calciteModalOpen.emit(),m(this)}onBeforeClose(){this.transitionEl.classList.add(V),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(A,V),this.calciteModalClose.emit(),h(this)}toggleModal(i){this.ignoreOpenChange||(i?this.openModal():this.closeModal())}handleOpenedChange(i){this.transitionEl.classList.add(i?H:A),x(this)}async openModal(){await M(this.el),this.el.addEventListener("calciteModalOpen",this.openEnd),this.opened=!0;const i=r(this.el,"header"),t=r(this.el,W);this.titleId=d(i),this.contentId=d(t),this.embedded||(0===J&&(K=document.documentElement.style.overflow),J++,document.documentElement.style.setProperty("overflow","hidden"))}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",K)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"],opened:["handleOpenedChange"]}}};N.style=":host{--calcite-modal-scrim-background:rgba(0, 0, 0, 0.85);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([opened]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-color-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width-scale=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width-scale=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=s][docked]) .container{align-items:flex-end}}:host([width-scale=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width-scale=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=m][docked]) .container{align-items:flex-end}}:host([width-scale=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width-scale=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([opened][fullscreen]) .header,:host([opened][fullscreen]) .footer,:host([opened][fullscreen]) .content-top,:host([opened][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-color-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-color-status-danger)}:host([kind=info]) .modal{border-color:var(--calcite-color-status-info)}:host([kind=success]) .modal{border-color:var(--calcite-color-status-success)}:host([kind=warning]) .modal{border-color:var(--calcite-color-status-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container--embedded{position:absolute;pointer-events:auto}.container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{N as calcite_modal}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{d as u}from"./p-
|
6
|
+
import{d as u}from"./p-80ff858b.js";import"./p-4e6eb06e.js";import"./p-9c5d5171.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-770a5a64.js";import"./p-ec51378a.js";import"./p-9ce8e34f.js";import"./p-ae019e19.js";import"./p-7f68e6a4.js";import"./p-08c18450.js";import"./p-177b4cbc.js";import"./p-85c3237c.js";import"./p-d9e9fe80.js";import"./p-7eee9aa8.js";import"./p-fd019d15.js";import"./p-bd7be7a7.js";import"./p-cb8d90d1.js";import"./p-e37e117f.js";import"./p-a71250ea.js";function t(u,t,i,a){var e={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"päivä",dd:"%d päivää",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän".split("_")},m={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"päivän",dd:"%d päivän",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän".split("_")},s=a&&!t?m:e;return s[i].replace("%d",u<10?s.numbers[u]:u)}var i={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),ordinal:function(u){return u+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s päästä",past:"%s sitten",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};u.locale(i,null,!0);export{i as default}
|
@@ -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{timeZones as a}from"./p-997afdca.js";import"./p-6ae916a3.js";async function r(){return a.sort().map((a=>({label:a})))}export{r as groupByName}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{d as _}from"./p-
|
6
|
+
import{d as _}from"./p-80ff858b.js";import"./p-4e6eb06e.js";import"./p-9c5d5171.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-770a5a64.js";import"./p-ec51378a.js";import"./p-9ce8e34f.js";import"./p-ae019e19.js";import"./p-7f68e6a4.js";import"./p-08c18450.js";import"./p-177b4cbc.js";import"./p-85c3237c.js";import"./p-d9e9fe80.js";import"./p-7eee9aa8.js";import"./p-fd019d15.js";import"./p-bd7be7a7.js";import"./p-cb8d90d1.js";import"./p-e37e117f.js";import"./p-a71250ea.js";var m={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(_){return _+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(_){return _<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};_.locale(m,null,!0);export{m as default}
|
@@ -3,9 +3,9 @@
|
|
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 t,h as i,g as s,c as e,F as a}from"./p-4e6eb06e.js";import{c as h}from"./p-
|
6
|
+
import{r as t,h as i,g as s,c as e,F as a}from"./p-4e6eb06e.js";import{c as h}from"./p-85c3237c.js";import{c,s as n,a as o}from"./p-7f68e6a4.js";import{l as r,g as l,f as d}from"./p-f4aadb3b.js";import{b as f,d as p,a as m,c as b}from"./p-d572627c.js";import"./p-08c18450.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.13.
|
10
|
+
* v2.13.2
|
11
11
|
*/const y="frame",u="frame--advancing",g="frame--retreating",w=class{constructor(i){t(this,i),this.itemMutationObserver=h("mutation",(()=>this.updateFlowProps())),this.getFlowDirection=(t,i)=>t&&i>1||t>1?i<t?"retreating":"advancing":null,this.updateFlowProps=()=>{const{customItemSelectors:t,el:i,items:s}=this,e=Array.from(i.querySelectorAll("calcite-flow-item"+(t?`,${t}`:""))).filter((t=>t.closest("calcite-flow")===i)),a=s.length,h=e.length,c=e[h-1],n=e[h-2];if(h&&c&&e.forEach((t=>{t.showBackButton=t===c&&h>1,t.hidden=t!==c})),n&&(n.menuOpen=!1),this.items=e,a!==h){const t=this.getFlowDirection(a,h);this.itemCount=h,this.flowDirection=t}},this.customItemSelectors=void 0,this.flowDirection=null,this.itemCount=0,this.items=[]}async back(){const{items:t}=this,i=t[t.length-1];if(!i)return;const s=i.beforeBack?i.beforeBack:()=>Promise.resolve();try{await s.call(i)}catch(t){return}return i.remove(),i}async setFocus(){await c(this);const{items:t}=this,i=t[t.length-1];return i?.setFocus()}connectedCallback(){this.itemMutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateFlowProps()}async componentWillLoad(){n(this)}componentDidLoad(){o(this)}disconnectedCallback(){this.itemMutationObserver?.disconnect()}async handleItemBackClick(t){if(!t.defaultPrevented)return await this.back(),this.setFocus()}render(){const{flowDirection:t}=this;return i("div",{key:"01fbee965d48cb54fa5bd1b53a3435538df84332",class:{[y]:!0,[u]:"advancing"===t,[g]:"retreating"===t}},i("slot",{key:"495880eceeb04387dd1352aa00337f037ab0636c"}))}get el(){return s(this)}};w.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0px}:host ::slotted(calcite-flow-item),:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{animation:calcite-frame-retreat var(--calcite-animation-timing)}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}";const k=class{constructor(i){t(this,i),this.success=e(this,"success",7),this.fail=e(this,"fail",7),this.isActionPending=e(this,"isActionPending",7),this.formReady=e(this,"formReady",7),this.locale=void 0,this.mapView=void 0,this.table=void 0,this.selectedFeature=void 0,this.customizeSubmit=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await r(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return i(a,{key:"48fffd1e9dd429d339d9a72e35f5c31561fc076f"},this.showGuidingMsg&&i("calcite-notice",{key:"9a6f700c135bb7593e4338981a30531e3d9fba8a",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},i("div",{key:"7044e923a9fab833a7a6fe0bb97fa688d7e6eecc",slot:"message"},this._translations.provideDetailsMsg)),i("calcite-loader",{key:"15599ae77e451d220689c13098a31c5788714306",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}disconnectedCallback(){this._editor&&this._editor.destroy()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],c={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(c),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const c=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=c.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};k.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const v=class{constructor(i){t(this,i),this.loadingStatus=e(this,"loadingStatus",7),this.commentSelect=e(this,"commentSelect",7),this.addComment=e(this,"addComment",7),this.likeOrDislikeClicked=e(this,"likeOrDislikeClicked",7),this.featureSelectionChange=e(this,"featureSelectionChange",7),this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.locale=void 0,this.showUserImageInCommentsList=!1,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return i("calcite-panel",{key:"be7bebe9da698d963a2602fcacb95ac7206ac1e9","full-height":!0},i("info-card",{key:"1e069f52d59d42f3e2b88463ea7c536c65a0a6b5",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&i("div",{key:"d53f5a1726e4c6299ffd04e266d84005181645f6",class:"buttons-container"},this._commentsAvailable&&i("calcite-button",{key:"4c2616cc9e0107258f5313b66ae96fa31fe582c5",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&i("calcite-button",{key:"7c87aa085df04a8b58625097c2ce70e5853b82f9",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&i("calcite-button",{key:"59eb48b91fc2a394cafdcbeeebf5baafae9a8c9b",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&i("feature-list",{key:"f34ee203202944666c40e14bdfdc59265414fbe1",class:"height-full",locale:this.locale,mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await r(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){if(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await f(this.mapView);let s=null,e=null;if(t.relationships.some((a=>{const h=i.filter((i=>t.url===i.url&&i.layerId===a.relatedTableId));if(h&&h.length>0)return s=h[0],e=a.id,!0})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),c=[];h[i]&&h[i].features.forEach((t=>{c.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=c,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const c={updateFeatures:[h]};await e.applyEdits(c).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};v.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const L=class{constructor(i){t(this,i),this.layerSelect=e(this,"layerSelect",7),this.layersListLoaded=e(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.locale=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations()}async componentDidLoad(){await this.setLayers()}render(){return i(a,{key:"a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e"},this._isLoading&&i("calcite-loader",{key:"544a134bccc29048ca80b996844cc944bcd97a24",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&i("calcite-notice",{key:"7557f91c8c3349c120c043ea59458b4c834dce2e",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},i("div",{key:"ea8b20f8c7da5053641cfad56e3395ae3c6286f5",slot:"title"},this._translations.error),i("div",{key:"38aaed7b456aba0b1dd70183be03e9133834dfb4",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&i("calcite-list",{key:"817de422b8387cafb7f9a17515cf9b3c13998522","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async setLayers(){this.mapView&&(this._isLoading=!0,await this.initLayerHash(),this._isLoading=!1)}async initLayerHash(){const t=[];this._layerItemsHash=await p(this.mapView,!0);const i=await m(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await b(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await d(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const s=this._layerItemsHash[t].formattedFeatureCount;return i("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},i("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==s&&""!==s&&i("div",{class:this.showNextIcon?"":"feature-count",slot:"content-end"},"("+s+")"),this.showNextIcon&&i("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};L.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";export{w as calcite_flow,k as create_related_feature,v as feature_details,L as layer_list}
|
@@ -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{h as n,j as t,k as e,l as r,m as o,d as i,n as u}from"./p-
|
6
|
+
import{h as n,j as t,k as e,l as r,m as o,d as i,n as u}from"./p-26ba0cc7.js";import{f as a}from"./p-7eee9aa8.js";
|
7
7
|
/*!
|
8
8
|
* focus-trap 7.6.0
|
9
9
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
@@ -11,6 +11,6 @@ import{h as n,j as t,k as e,l as r,m as o,d as i,n as u}from"./p-621ad249.js";im
|
|
11
11
|
/*!
|
12
12
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
13
13
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
14
|
-
* v2.13.
|
14
|
+
* v2.13.2
|
15
15
|
*/
|
16
16
|
function y(c,s){const{el:y}=c,k=s?.focusTrapEl||y;if(!k)return;const F={clickOutsideDeactivates:!0,escapeDeactivates:!1,fallbackFocus:k,setReturnFocus:n=>(i(n),!1),...s?.focusTrapOptions,document:y.ownerDocument,tabbableOptions:u,trapStack:a};var O,j,D,T,E,g,N,P,A,x,B,R,C,S,I,G,K,M,U,Y,L,q,z,H,J;c.focusTrap=(O=k,T=(null==(j=F)?void 0:j.document)||document,E=(null==j?void 0:j.trapStack)||m,g=f({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:l,isKeyBackward:d},j),N={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},P=function(n,t,e){return n&&void 0!==n[t]?n[t]:g[e||t]},A=function(n,t){var e="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return N.containerGroups.findIndex((function(t){var r=t.container,o=t.tabbableNodes;return r.contains(n)||(null==e?void 0:e.includes(r))||o.find((function(t){return t===n}))}))},x=function(n){var t=g[n];if("function"==typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var i=t;if("string"==typeof t&&!(i=T.querySelector(t)))throw new Error("`".concat(n,"` as selector refers to no known node"));return i},B=function(){var t=x("initialFocus");if(!1===t)return!1;if(void 0===t||!n(t,g.tabbableOptions))if(A(T.activeElement)>=0)t=T.activeElement;else{var e=N.tabbableGroups[0];t=e&&e.firstTabbableNode||x("fallbackFocus")}if(!t)throw new Error("Your focus-trap needs to have at least one focusable element");return t},R=function(){if(N.containerGroups=N.containers.map((function(n){var i=t(n,g.tabbableOptions),u=e(n,g.tabbableOptions),a=i.length>0?i[0]:void 0,c=i.length>0?i[i.length-1]:void 0,s=u.find((function(n){return r(n)})),f=u.slice().reverse().find((function(n){return r(n)})),v=!!i.find((function(n){return o(n)>0}));return{container:n,tabbableNodes:i,focusableNodes:u,posTabIndexesFound:v,firstTabbableNode:a,lastTabbableNode:c,firstDomTabbableNode:s,lastDomTabbableNode:f,nextTabbableNode:function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=i.indexOf(n);return e<0?t?u.slice(u.indexOf(n)+1).find((function(n){return r(n)})):u.slice(0,u.indexOf(n)).reverse().find((function(n){return r(n)})):i[e+(t?1:-1)]}}})),N.tabbableGroups=N.containerGroups.filter((function(n){return n.tabbableNodes.length>0})),N.tabbableGroups.length<=0&&!x("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(N.containerGroups.find((function(n){return n.posTabIndexesFound}))&&N.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},C=function(n){var t=n.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?C(t.shadowRoot):t},S=function(n){!1!==n&&n!==C(document)&&(n&&n.focus?(n.focus({preventScroll:!!g.preventScroll}),N.mostRecentlyFocusedNode=n,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(n)&&n.select()):S(B()))},I=function(n){var t=x("setReturnFocus",n);return t||!1!==t&&n},G=function(t){var e=t.target,i=t.event,u=t.isBackward,a=void 0!==u&&u;e=e||h(i),R();var c=null;if(N.tabbableGroups.length>0){var s=A(e,i),f=s>=0?N.containerGroups[s]:void 0;if(s<0)c=a?N.tabbableGroups[N.tabbableGroups.length-1].lastTabbableNode:N.tabbableGroups[0].firstTabbableNode;else if(a){var l=p(N.tabbableGroups,(function(n){return e===n.firstTabbableNode}));if(l<0&&(f.container===e||n(e,g.tabbableOptions)&&!r(e,g.tabbableOptions)&&!f.nextTabbableNode(e,!1))&&(l=s),l>=0){var d=N.tabbableGroups[0===l?N.tabbableGroups.length-1:l-1];c=o(e)>=0?d.lastTabbableNode:d.lastDomTabbableNode}else v(i)||(c=f.nextTabbableNode(e,!1))}else{var b=p(N.tabbableGroups,(function(n){return e===n.lastTabbableNode}));if(b<0&&(f.container===e||n(e,g.tabbableOptions)&&!r(e,g.tabbableOptions)&&!f.nextTabbableNode(e))&&(b=s),b>=0){var w=N.tabbableGroups[b===N.tabbableGroups.length-1?0:b+1];c=o(e)>=0?w.firstTabbableNode:w.firstDomTabbableNode}else v(i)||(c=f.nextTabbableNode(e))}}else c=x("fallbackFocus");return c},K=function(n){var t=h(n);A(t,n)>=0||(w(g.clickOutsideDeactivates,n)?D.deactivate({returnFocus:g.returnFocusOnDeactivate}):w(g.allowOutsideClick,n)||n.preventDefault())},M=function(n){var t=h(n),e=A(t,n)>=0;if(e||t instanceof Document)e&&(N.mostRecentlyFocusedNode=t);else{var r;n.stopImmediatePropagation();var i=!0;if(N.mostRecentlyFocusedNode)if(o(N.mostRecentlyFocusedNode)>0){var u=A(N.mostRecentlyFocusedNode),a=N.containerGroups[u].tabbableNodes;if(a.length>0){var c=a.findIndex((function(n){return n===N.mostRecentlyFocusedNode}));c>=0&&(g.isKeyForward(N.recentNavEvent)?c+1<a.length&&(r=a[c+1],i=!1):c-1>=0&&(r=a[c-1],i=!1))}}else N.containerGroups.some((function(n){return n.tabbableNodes.some((function(n){return o(n)>0}))}))||(i=!1);else i=!1;i&&(r=G({target:N.mostRecentlyFocusedNode,isBackward:g.isKeyBackward(N.recentNavEvent)})),S(r||N.mostRecentlyFocusedNode||B())}N.recentNavEvent=void 0},U=function(n){(g.isKeyForward(n)||g.isKeyBackward(n))&&function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];N.recentNavEvent=n;var e=G({event:n,isBackward:t});e&&(v(n)&&n.preventDefault(),S(e))}(n,g.isKeyBackward(n))},Y=function(n){var t;"Escape"!==(null==(t=n)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===w(g.escapeDeactivates,n)||(n.preventDefault(),D.deactivate())},L=function(n){var t=h(n);A(t,n)>=0||w(g.clickOutsideDeactivates,n)||w(g.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},q=function(){if(N.active)return function(n,t){if(n.length>0){var e=n[n.length-1];e!==t&&e.pause()}var r=n.indexOf(t);-1===r||n.splice(r,1),n.push(t)}(E,D),N.delayInitialFocusTimer=g.delayInitialFocus?b((function(){S(B())})):S(B()),T.addEventListener("focusin",M,!0),T.addEventListener("mousedown",K,{capture:!0,passive:!1}),T.addEventListener("touchstart",K,{capture:!0,passive:!1}),T.addEventListener("click",L,{capture:!0,passive:!1}),T.addEventListener("keydown",U,{capture:!0,passive:!1}),T.addEventListener("keydown",Y),D},z=function(){if(N.active)return T.removeEventListener("focusin",M,!0),T.removeEventListener("mousedown",K,!0),T.removeEventListener("touchstart",K,!0),T.removeEventListener("click",L,!0),T.removeEventListener("keydown",U,!0),T.removeEventListener("keydown",Y),D},H="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(n){n.some((function(n){return Array.from(n.removedNodes).some((function(n){return n===N.mostRecentlyFocusedNode}))}))&&S(B())})):void 0,J=function(){H&&(H.disconnect(),N.active&&!N.paused&&N.containers.map((function(n){H.observe(n,{subtree:!0,childList:!0})})))},(D={get active(){return N.active},get paused(){return N.paused},activate:function(n){if(N.active)return this;var t=P(n,"onActivate"),e=P(n,"onPostActivate"),r=P(n,"checkCanFocusTrap");r||R(),N.active=!0,N.paused=!1,N.nodeFocusedBeforeActivation=T.activeElement,null==t||t();var o=function(){r&&R(),q(),J(),null==e||e()};return r?(r(N.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(n){if(!N.active)return this;var t=f({onDeactivate:g.onDeactivate,onPostDeactivate:g.onPostDeactivate,checkCanReturnFocus:g.checkCanReturnFocus},n);clearTimeout(N.delayInitialFocusTimer),N.delayInitialFocusTimer=void 0,z(),N.active=!1,N.paused=!1,J(),function(n,t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),n.length>0&&n[n.length-1].unpause()}(E,D);var e=P(t,"onDeactivate"),r=P(t,"onPostDeactivate"),o=P(t,"checkCanReturnFocus"),i=P(t,"returnFocus","returnFocusOnDeactivate");null==e||e();var u=function(){b((function(){i&&S(I(N.nodeFocusedBeforeActivation)),null==r||r()}))};return i&&o?(o(I(N.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(n){if(N.paused||!N.active)return this;var t=P(n,"onPause"),e=P(n,"onPostPause");return N.paused=!0,null==t||t(),z(),J(),null==e||e(),this},unpause:function(n){if(!N.paused||!N.active)return this;var t=P(n,"onUnpause"),e=P(n,"onPostUnpause");return N.paused=!1,null==t||t(),R(),q(),J(),null==e||e(),this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return N.containers=t.map((function(n){return"string"==typeof n?T.querySelector(n):n})),N.active&&R(),J(),this}}).updateContainerElements(O),D)}function k(n,t){n.focusTrapDisabled||n.focusTrap?.activate(t)}function F(n,t){n.focusTrap?.deactivate(t)}function O(n){n.focusTrap?.updateContainerElements(n.el)}export{k as a,y as c,F as d,O as u}
|
@@ -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{d as e}from"./p-80ff858b.js";import"./p-4e6eb06e.js";import"./p-9c5d5171.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-770a5a64.js";import"./p-ec51378a.js";import"./p-9ce8e34f.js";import"./p-ae019e19.js";import"./p-7f68e6a4.js";import"./p-08c18450.js";import"./p-177b4cbc.js";import"./p-85c3237c.js";import"./p-d9e9fe80.js";import"./p-7eee9aa8.js";import"./p-fd019d15.js";import"./p-bd7be7a7.js";import"./p-cb8d90d1.js";import"./p-e37e117f.js";import"./p-a71250ea.js";var r={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var r=e%10;return"["+e+(1===r||2===r?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};e.locale(r,null,!0);export{r as default}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{d as
|
6
|
+
import{d as e}from"./p-80ff858b.js";import"./p-4e6eb06e.js";import"./p-9c5d5171.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-770a5a64.js";import"./p-ec51378a.js";import"./p-9ce8e34f.js";import"./p-ae019e19.js";import"./p-7f68e6a4.js";import"./p-08c18450.js";import"./p-177b4cbc.js";import"./p-85c3237c.js";import"./p-d9e9fe80.js";import"./p-7eee9aa8.js";import"./p-fd019d15.js";import"./p-bd7be7a7.js";import"./p-cb8d90d1.js";import"./p-e37e117f.js";import"./p-a71250ea.js";var a={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var a=["th","st","nd","rd"],r=e%100;return"["+e+(a[(r-20)%10]||a[r]||a[0])+"]"}};e.locale(a,null,!0);export{a as default}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,c as t,h as o,g as i}from"./p-4e6eb06e.js";import{c as n,d as s}from"./p-7cc8e95a.js";import{z as c,o as a}from"./p-26ba0cc7.js";import{s as l,a as r,c as d}from"./p-7f68e6a4.js";import{c as h,d as p}from"./p-177b4cbc.js";import{c as g,d as m,s as f,u as b}from"./p-cb8d90d1.js";import{K as k}from"./p-55d38454.js";import{o as v}from"./p-93d03bf0.js";import{g as u}from"./p-ae019e19.js";import"./p-85c3237c.js";import"./p-08c18450.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-ec51378a.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.13.2
|
11
|
+
*/const x="actions-end",w=class{constructor(o){e(this,o),this.calciteNoticeBeforeClose=t(this,"calciteNoticeBeforeClose",6),this.calciteNoticeBeforeOpen=t(this,"calciteNoticeBeforeOpen",6),this.calciteNoticeClose=t(this,"calciteNoticeClose",6),this.calciteNoticeOpen=t(this,"calciteNoticeOpen",6),this.setTransitionEl=e=>{this.transitionEl=e},this.close=()=>{this.open=!1},this.openTransitionProp="opacity",this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){v(this)}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=c(k,this.icon,this.kind)}connectedCallback(){n(this),h(this),g(this)}disconnectedCallback(){s(this),p(this),m(this)}async componentWillLoad(){l(this),this.requestedIcon=c(k,this.icon,this.kind),await f(this),this.open&&v(this)}componentDidLoad(){r(this)}render(){const{el:e}=this,t=o("button",{key:"52f9306ebe945398929f68fe66615359836ba2d8","aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:e=>this.closeButton=e},o("calcite-icon",{key:"f3601ac9547c73219661eebc7e7470db5dee7b52",icon:"x",scale:u(this.scale)})),i=a(e,x);return o("div",{key:"3f8117ff7cdd08c92ce804ef4ac8af83003156a4",class:"container",ref:this.setTransitionEl},this.requestedIcon?o("div",{class:"notice-icon"},o("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:u(this.scale)})):null,o("div",{key:"1b614ee86618bd5ce6e8834b466baf7d2564b5a1",class:"notice-content"},o("slot",{key:"19467ed9718a78c7530c2a08c727028d565dee7b",name:"title"}),o("slot",{key:"191e71caf2f2147c62fd6b73602e41d95dc27558",name:"message"}),o("slot",{key:"d4fbf2b8aaa980cd24c5be89c6c8a36d091658f3",name:"link"})),i?o("div",{class:"actions-end"},o("slot",{name:x})):null,this.closable?t:null)}async setFocus(){await d(this);const e=this.el.querySelector("calcite-link");if(this.closeButton||e)return e?e.setFocus():void(this.closeButton&&this.closeButton.focus())}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}effectiveLocaleChange(){b(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return i(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};w.style=":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:flex;inline-size:100%;background-color:var(--calcite-color-foreground-1);opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity, max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-inline-start:var(--calcite-border-width-md) solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;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);overflow:visible}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-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-color-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform 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){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:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform 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-color-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform 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-color-foreground-2);color:var(--calcite-color-text-1)}.notice-close:active{background-color:var(--calcite-color-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-color:var(--calcite-color-status-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-color:var(--calcite-color-status-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-color-status-warning)}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_notice}
|
@@ -3,9 +3,9 @@
|
|
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 t,c as i,f as e,h as o,H as s,g as a}from"./p-4e6eb06e.js";import{g as
|
6
|
+
import{r as t,c as i,f as e,h as o,H as s,g as a}from"./p-4e6eb06e.js";import{g as c}from"./p-c8ad7a15.js";import{g as r,d as n,t as d}from"./p-26ba0cc7.js";import{c as h,d as l,H as p}from"./p-9c5d5171.js";import{g as b}from"./p-eed08718.js";import{u,I as f}from"./p-770a5a64.js";import{c as m,d as v,g as k}from"./p-9ce8e34f.js";import{c as x,s as g,a as w}from"./p-7f68e6a4.js";import"./p-51ab623a.js";import"./p-ae019e19.js";import"./p-08c18450.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.13.
|
11
|
-
*/const y=class{constructor(e){t(this,e),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isFocusable=()=>{const t=this.queryButtons(),i=t.find((t=>!t.disabled)),e=t.find((t=>t.checked));return i===this.el&&!e},this.check=()=>{this.disabled||(this.focused=!0,this.setFocus(),this.checked||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const{key:i}=t,{el:e}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let o=i;"rtl"===
|
10
|
+
* v2.13.2
|
11
|
+
*/const y=class{constructor(e){t(this,e),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isFocusable=()=>{const t=this.queryButtons(),i=t.find((t=>!t.disabled)),e=t.find((t=>t.checked));return i===this.el&&!e},this.check=()=>{this.disabled||(this.focused=!0,this.setFocus(),this.checked||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const{key:i}=t,{el:e}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let o=i;"rtl"===r(e)&&("ArrowRight"===i&&(o="ArrowLeft"),"ArrowLeft"===i&&(o="ArrowRight"));const s=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name));let a=0;const n=s.length;switch(s.some(((t,i)=>{if(t.checked)return a=i,!0})),o){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(s,c(Math.max(a-1,-1),n));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(s,c(a+1,n));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())},this.checked=!1,this.disabled=!1,this.focused=!1,this.form=void 0,this.guid=void 0,this.hovered=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}handleHiddenChange(){this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}disabledChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await x(this),this.disabled||n(this.containerEl)}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.el.hidden)return;const i=t.currentTarget,e=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);e&&(e.focused=!0,this.setFocus(),e.checked||(this.uncheckOtherRadioButtonsInGroup(),e.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if(t?.length>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid&&!t.disabled)).forEach((t=>{e(t)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${b()}`,this.name&&this.checkLastRadioButton(),m(this),h(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentWillLoad(){g(this)}componentDidLoad(){w(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){v(this),l(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentDidRender(){u(this)}render(){const t=this.getTabIndex();return o(s,{key:"45fcb686faaafd7fa14c61ae37c7e56394a2f75d",onClick:this.clickHandler,onKeyDown:this.handleKeyDown},o(f,{key:"3172c8e34562872615f7ff91f3cef82042b14c32",disabled:this.disabled},o("div",{key:"c33c5c4c5bdd1a8fdd821491bf9bf179e19eeef5","aria-checked":d(this.checked),"aria-label":k(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},o("div",{key:"88bc96d9b946384bf96aefa2dcdf5f6ca39ae7a2",class:"radio"})),o(p,{key:"0851a97b89e6f09ae9634c6417a9950ea3ba1ef6",component:this})))}get el(){return a(this)}static get watchers(){return{hidden:["handleHiddenChange"],checked:["checkedChanged"],disabled:["disabledChanged"],name:["nameChanged"]}}};y.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;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}:host([hidden]){display:none}[hidden]{display:none}';export{y as calcite_radio_button}
|