@esri/solutions-components 0.6.5 → 0.6.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/{ExpandToggle-a7173c38.js → ExpandToggle-e6a0d66e.js} +17 -17
- package/dist/cjs/{FloatingArrow-11a512ec.js → FloatingArrow-0119ec6e.js} +6 -6
- package/dist/cjs/{Heading-bb9a418a.js → Heading-521f39ac.js} +2 -2
- package/dist/cjs/{app-globals-111e8aaa.js → app-globals-72576a1c.js} +6 -6
- package/dist/cjs/{ar-a7229a6f.js → ar-1718ae57.js} +14 -15
- package/dist/cjs/{array-b772c7c9.js → array-46bb7df1.js} +2 -2
- package/dist/cjs/{bg-9a40c29e.js → bg-190a176c.js} +14 -15
- package/dist/cjs/{bs-05849a9a.js → bs-919e0de8.js} +14 -15
- package/dist/cjs/buffer-tools_4.cjs.entry.js +64 -51
- package/dist/cjs/{ca-0ed0a72c.js → ca-94918e06.js} +14 -15
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +48 -44
- package/dist/cjs/calcite-accordion.cjs.entry.js +36 -30
- package/dist/cjs/calcite-action-bar.cjs.entry.js +33 -27
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +24 -23
- package/dist/cjs/calcite-action-pad.cjs.entry.js +21 -21
- package/dist/cjs/calcite-action_2.cjs.entry.js +43 -43
- package/dist/cjs/calcite-alert.cjs.entry.js +24 -25
- package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
- package/dist/cjs/calcite-block-section.cjs.entry.js +36 -18
- package/dist/cjs/calcite-block.cjs.entry.js +41 -30
- package/dist/cjs/calcite-button.cjs.entry.js +18 -19
- package/dist/cjs/calcite-card.cjs.entry.js +15 -15
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +12 -14
- package/dist/cjs/calcite-chip.cjs.entry.js +23 -25
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +23 -24
- package/dist/cjs/calcite-color-picker.cjs.entry.js +91 -61
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +9 -8
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +94 -85
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +26 -27
- package/dist/cjs/calcite-date-picker.cjs.entry.js +34 -35
- package/dist/cjs/calcite-fab.cjs.entry.js +12 -13
- package/dist/cjs/calcite-filter_5.cjs.entry.js +1234 -0
- package/dist/cjs/calcite-flow-item.cjs.entry.js +24 -26
- package/dist/cjs/calcite-flow.cjs.entry.js +28 -12
- package/dist/cjs/calcite-graph.cjs.entry.js +7 -7
- package/dist/cjs/calcite-icon.cjs.entry.js +12 -12
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +18 -19
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +45 -42
- package/dist/cjs/calcite-input-number_2.cjs.entry.js +913 -0
- package/dist/cjs/{calcite-input-time-picker-396d0903.js → calcite-input-time-picker-b99baf7b.js} +212 -118
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +14 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +204 -0
- package/dist/cjs/calcite-input_2.cjs.entry.js +56 -60
- package/dist/cjs/calcite-label.cjs.entry.js +9 -9
- package/dist/cjs/calcite-link.cjs.entry.js +7 -8
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +16 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +5 -5
- package/dist/cjs/calcite-menu-item.cjs.entry.js +24 -20
- package/dist/cjs/calcite-menu.cjs.entry.js +13 -13
- package/dist/cjs/calcite-modal.cjs.entry.js +25 -24
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +11 -7
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +6 -6
- package/dist/cjs/calcite-navigation.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +17 -17
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +17 -18
- package/dist/cjs/calcite-pagination.cjs.entry.js +18 -18
- package/dist/cjs/calcite-panel_2.cjs.entry.js +40 -67
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +16 -17
- package/dist/cjs/calcite-pick-list.cjs.entry.js +12 -13
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +6 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -14
- package/dist/cjs/calcite-rating.cjs.entry.js +20 -21
- package/dist/cjs/calcite-scrim.cjs.entry.js +22 -17
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +15 -16
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +78 -82
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +25 -34
- package/dist/cjs/calcite-split-button.cjs.entry.js +8 -9
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +15 -16
- package/dist/cjs/calcite-stepper.cjs.entry.js +7 -7
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +57 -37
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +2 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +11 -12
- package/dist/cjs/calcite-tile.cjs.entry.js +11 -12
- package/dist/cjs/calcite-time-picker.cjs.entry.js +33 -33
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +14 -14
- package/dist/cjs/calcite-tip.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tooltip.cjs.entry.js +30 -22
- package/dist/cjs/calcite-tree_3.cjs.entry.js +24 -25
- package/dist/cjs/card-manager_4.cjs.entry.js +1 -1
- package/dist/cjs/{conditionalSlot-832899ba.js → conditionalSlot-85b3a6b3.js} +3 -3
- package/dist/cjs/crowdsource-manager.cjs.entry.js +34 -10
- package/dist/cjs/{cs-7813b1ac.js → cs-fe27e732.js} +14 -15
- package/dist/cjs/{da-6376e6cb.js → da-1b7f3440.js} +14 -15
- package/dist/cjs/{date-085999cf.js → date-cec32b0e.js} +4 -4
- package/dist/cjs/{de-f313a137.js → de-0dc1effa.js} +14 -15
- package/dist/cjs/{de-at-3a0e7f95.js → de-at-acdc4d01.js} +14 -15
- package/dist/cjs/{de-ch-9ccd6f78.js → de-ch-778a0d99.js} +14 -15
- package/dist/cjs/{dom-1eb1ded2.js → dom-c1807fc1.js} +115 -23
- package/dist/cjs/{downloadUtils-14ee531e.js → downloadUtils-a8c530f7.js} +43 -6
- package/dist/cjs/{el-39f779a9.js → el-fdbc9bc1.js} +14 -15
- package/dist/cjs/{en-au-6019048b.js → en-au-0ff50cdf.js} +14 -15
- package/dist/cjs/{en-ca-bd7fc12b.js → en-ca-284e9368.js} +14 -15
- package/dist/cjs/{en-gb-412af798.js → en-gb-0fcae8ae.js} +14 -15
- package/dist/cjs/{es-b9bf89f5.js → es-cd54acba.js} +14 -15
- package/dist/cjs/{es-mx-604585a4.js → es-mx-2078d50f.js} +14 -15
- package/dist/cjs/{et-b74b971e.js → et-17f323f6.js} +14 -15
- package/dist/cjs/{fi-52055d0f.js → fi-82f27397.js} +14 -15
- package/dist/cjs/{filter-7f9873d2.js → filter-bda212b4.js} +2 -2
- package/dist/cjs/{floating-ui-480f97e1.js → floating-ui-8d10af88.js} +412 -398
- package/dist/cjs/{focusTrapComponent-fcce36fb.js → focusTrapComponent-a22fc6a8.js} +258 -100
- package/dist/cjs/{form-cbb9efad.js → form-9d8ebf06.js} +5 -5
- package/dist/cjs/{fr-edadff9d.js → fr-af7e1192.js} +14 -15
- package/dist/cjs/{fr-ch-8affd778.js → fr-ch-5e1f2c28.js} +14 -15
- package/dist/cjs/{guid-1b1fbdbc.js → guid-3abe3cc6.js} +2 -2
- package/dist/cjs/{he-8a3c1ec7.js → he-ea851800.js} +14 -15
- package/dist/cjs/{hi-a979126c.js → hi-5212a21d.js} +14 -15
- package/dist/cjs/{hr-92b43cfe.js → hr-4eecb2ed.js} +14 -15
- package/dist/cjs/{hu-e103a94e.js → hu-6b527d8e.js} +14 -15
- package/dist/cjs/{id-5df1e810.js → id-d78f12ec.js} +14 -15
- package/dist/cjs/{index.es-22af4be6.js → index.es-4542630e.js} +1 -1
- package/dist/cjs/{interactive-871d70ce.js → interactive-2fe0f43a.js} +17 -4
- package/dist/cjs/{it-a07ea9a9.js → it-15242935.js} +14 -15
- package/dist/cjs/{it-ch-d5424986.js → it-ch-9dc21944.js} +14 -15
- package/dist/cjs/{ja-214b95c4.js → ja-f702cfc2.js} +14 -15
- package/dist/cjs/{key-7fbdf405.js → key-b8b55ea3.js} +2 -2
- package/dist/cjs/{ko-d12e4124.js → ko-aa9bde2c.js} +14 -15
- package/dist/cjs/{label-e5c998a9.js → label-6e33e971.js} +3 -3
- package/dist/cjs/{loadable-da060faa.js → loadable-bac9cdd6.js} +30 -5
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-37b9924d.js → locale-c63a1b57.js} +52 -18
- package/dist/cjs/{lt-ff5324c6.js → lt-e741ff2f.js} +14 -15
- package/dist/cjs/{lv-4d4475e6.js → lv-92d6768e.js} +14 -15
- package/dist/cjs/map-picker_2.cjs.entry.js +9 -6
- package/dist/cjs/{calcite-input-text_4.cjs.entry.js → map-select-tools_3.cjs.entry.js} +7 -351
- package/dist/cjs/{math-b0a5df23.js → math-5132d9bd.js} +18 -2
- package/dist/cjs/{mk-e66ddddf.js → mk-b209ac0d.js} +14 -15
- package/dist/cjs/{nb-4cf8f209.js → nb-db13e666.js} +14 -15
- package/dist/cjs/{nl-cfb5ef00.js → nl-fcd9e0c5.js} +14 -15
- package/dist/cjs/{observers-62c5955c.js → observers-f5fa975b.js} +2 -2
- package/dist/cjs/openCloseComponent-5d70fcd8.js +84 -0
- package/dist/cjs/{pl-9fd06ece.js → pl-87c83322.js} +14 -15
- package/dist/cjs/{pt-d2230e6d.js → pt-b0b5f472.js} +14 -15
- package/dist/cjs/{pt-br-665cb99e.js → pt-br-03333e90.js} +14 -15
- package/dist/cjs/public-notification.cjs.entry.js +1 -1
- package/dist/cjs/{resources-e4f7e0c9.js → resources-2901b608.js} +4 -4
- package/dist/cjs/{resources-e4300cd3.js → resources-4da89742.js} +4 -4
- package/dist/cjs/{resources-cefb1c8c.js → resources-60c27547.js} +5 -5
- package/dist/cjs/{resources-f60f44b0.js → resources-77713c2e.js} +3 -3
- package/dist/cjs/{resources-427f7f68.js → resources-8233a151.js} +24 -19
- package/dist/cjs/{resources-8c48b06e.js → resources-91409a5d.js} +5 -5
- package/dist/cjs/{resources-8e2cc7f4.js → resources-9f2b33ee.js} +7 -7
- package/dist/cjs/{resources-710f5a3c.js → resources-c913200c.js} +2 -2
- package/dist/cjs/{resources-1e29361d.js → resources-e1258e8a.js} +4 -4
- package/dist/cjs/{ro-14b8e8da.js → ro-c3661b73.js} +14 -15
- package/dist/cjs/{ru-50ef8b5d.js → ru-8dd3fd58.js} +14 -15
- package/dist/cjs/{shared-list-render-3485bb68.js → shared-list-render-c0adb192.js} +10 -10
- package/dist/cjs/{sk-63a2ce80.js → sk-151d9acf.js} +14 -15
- package/dist/cjs/{sl-1bb6b6a6.js → sl-9b45a152.js} +14 -15
- package/dist/cjs/solutions-components.cjs.js +3 -3
- package/dist/cjs/{sortableComponent-af4abee4.js → sortableComponent-58679f07.js} +33 -8
- package/dist/cjs/{sr-4b4a41fd.js → sr-186bf15c.js} +14 -15
- package/dist/cjs/{sv-f866c182.js → sv-a93fee0c.js} +14 -15
- package/dist/cjs/{t9n-a85989ef.js → t9n-1d032c30.js} +4 -4
- package/dist/cjs/{th-77af47a7.js → th-41680352.js} +14 -15
- package/dist/cjs/{time-79a31eaf.js → time-5e450ec8.js} +9 -9
- package/dist/cjs/{tr-4cafb287.js → tr-0bd886d6.js} +14 -15
- package/dist/cjs/{uk-f90e0c89.js → uk-4fade133.js} +14 -15
- package/dist/cjs/{utils-1446979d.js → utils-acfeed9d.js} +4 -4
- package/dist/cjs/{utils-2687b8cf.js → utils-ae9bdd59.js} +6 -6
- package/dist/cjs/{utils-91ed0e33.js → utils-bae432a9.js} +4 -4
- package/dist/cjs/{utils-34b85889.js → utils-cd14113f.js} +17 -11
- package/dist/cjs/{vi-c2c75cb1.js → vi-1c9fe343.js} +14 -15
- package/dist/cjs/{zh-cn-e5bf194b.js → zh-cn-28fa1fe1.js} +14 -15
- package/dist/cjs/{zh-hk-2134304c.js → zh-hk-5abf8eb5.js} +14 -15
- package/dist/cjs/{zh-tw-7d8e30be.js → zh-tw-07500357.js} +14 -15
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +51 -9
- package/dist/collection/components/map-picker/map-picker.js +9 -6
- package/dist/collection/demos/crowdsource-manager.html +11 -0
- package/dist/collection/utils/downloadUtils.js +42 -5
- package/dist/collection/utils/downloadUtils.ts +45 -5
- package/dist/collection/utils/test/downloadUtils.spec.js +250 -0
- package/dist/collection/utils/test/downloadUtils.spec.tsx +291 -0
- package/dist/components/ExpandToggle.js +14 -14
- package/dist/components/FloatingArrow.js +6 -6
- package/dist/components/Heading.js +2 -2
- package/dist/components/action-bar.js +25 -19
- package/dist/components/action-group.js +12 -10
- package/dist/components/action-menu.js +13 -13
- package/dist/components/action.js +13 -13
- package/dist/components/alert.js +17 -18
- package/dist/components/array.js +2 -2
- package/dist/components/avatar.js +3 -3
- package/dist/components/button.js +9 -9
- package/dist/components/calcite-accordion-item.js +50 -42
- package/dist/components/calcite-accordion.js +37 -31
- package/dist/components/calcite-action-pad.js +12 -12
- package/dist/components/calcite-block-section.js +34 -15
- package/dist/components/calcite-block.js +35 -22
- package/dist/components/calcite-card.js +8 -8
- package/dist/components/calcite-chip-group.js +8 -9
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker.js +88 -57
- package/dist/components/calcite-combobox-item-group.js +7 -5
- package/dist/components/calcite-fab.js +8 -8
- package/dist/components/calcite-flow-item.js +30 -38
- package/dist/components/calcite-flow.js +29 -12
- package/dist/components/calcite-inline-editable.js +10 -10
- package/dist/components/calcite-input-date-picker.js +32 -28
- package/dist/components/calcite-input-time-picker.js +156 -62
- package/dist/components/calcite-input-time-zone.js +251 -0
- package/dist/components/calcite-list-item-group.js +15 -6
- package/dist/components/calcite-menu-item.js +19 -15
- package/dist/components/calcite-modal.js +17 -16
- package/dist/components/calcite-navigation-logo.js +11 -7
- package/dist/components/calcite-navigation-user.js +6 -6
- package/dist/components/calcite-navigation.js +10 -10
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-pagination.js +12 -12
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list.js +3 -3
- package/dist/components/calcite-radio-button-group.js +5 -6
- package/dist/components/calcite-radio-button.js +6 -6
- package/dist/components/calcite-rating.js +11 -11
- package/dist/components/calcite-shell-center-row.js +5 -5
- package/dist/components/calcite-sortable-list.js +22 -28
- package/dist/components/calcite-split-button.js +7 -7
- package/dist/components/calcite-stack.js +1 -101
- package/dist/components/calcite-stepper-item.js +10 -10
- package/dist/components/calcite-stepper.js +5 -5
- package/dist/components/calcite-text-area.js +50 -27
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +9 -9
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +7 -7
- package/dist/components/calcite-tip.js +7 -7
- package/dist/components/checkbox.js +3 -3
- package/dist/components/chip.js +15 -16
- package/dist/components/color-picker-hex-input.js +37 -35
- package/dist/components/color-picker-swatch.js +9 -9
- package/dist/components/combobox-item.js +9 -9
- package/dist/components/combobox.js +36 -26
- package/dist/components/conditionalSlot.js +2 -2
- package/dist/components/crowdsource-manager.js +101 -64
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +10 -10
- package/dist/components/date-picker-month.js +6 -6
- package/dist/components/date-picker.js +31 -30
- package/dist/components/date.js +3 -3
- package/dist/components/dom.js +112 -22
- package/dist/components/downloadUtils.js +42 -5
- package/dist/components/dropdown-group.js +7 -7
- package/dist/components/dropdown-item.js +22 -21
- package/dist/components/dropdown.js +14 -15
- package/dist/components/filter.js +2 -2
- package/dist/components/filter2.js +32 -16
- package/dist/components/floating-ui.js +411 -398
- package/dist/components/focusTrapComponent.js +258 -100
- package/dist/components/form.js +4 -4
- package/dist/components/graph.js +5 -5
- package/dist/components/guid.js +2 -2
- package/dist/components/handle.js +51 -14
- package/dist/components/icon.js +8 -8
- package/dist/components/index.js +5 -5
- package/dist/components/input-message.js +3 -3
- package/dist/components/input-number.js +38 -32
- package/dist/components/input-text.js +17 -17
- package/dist/components/input.js +44 -50
- package/dist/components/interactive.js +21 -3
- package/dist/components/key.js +2 -2
- package/dist/components/label.js +2 -2
- package/dist/components/label2.js +5 -5
- package/dist/components/link.js +3 -3
- package/dist/components/list-item2.js +69 -31
- package/dist/components/list.js +256 -62
- package/dist/components/loadable.js +33 -6
- package/dist/components/loader.js +4 -4
- package/dist/components/locale2.js +49 -15
- package/dist/components/map-card2.js +40 -28
- package/dist/components/map-picker2.js +49 -34
- package/dist/components/math.js +17 -3
- package/dist/components/menu.js +8 -8
- package/dist/components/notice.js +9 -9
- package/dist/components/observers.js +2 -2
- package/dist/components/openCloseComponent.js +47 -61
- package/dist/components/option.js +3 -3
- package/dist/components/panel.js +30 -55
- package/dist/components/pick-list-item.js +11 -11
- package/dist/components/popover.js +22 -21
- package/dist/components/progress.js +6 -2
- package/dist/components/public-notification.js +80 -68
- package/dist/components/refine-selection2.js +56 -44
- package/dist/components/resources.js +3 -3
- package/dist/components/resources2.js +2 -2
- package/dist/components/resources3.js +4 -4
- package/dist/components/resources4.js +4 -4
- package/dist/components/scrim.js +19 -12
- package/dist/components/segmented-control-item.js +7 -7
- package/dist/components/segmented-control.js +3 -3
- package/dist/components/select.js +7 -7
- package/dist/components/shared-list-render.js +6 -6
- package/dist/components/shell-panel.js +12 -12
- package/dist/components/shell.js +9 -9
- package/dist/components/slider.js +52 -38
- package/dist/components/sortableComponent.js +33 -6
- package/dist/components/stack.js +108 -0
- package/dist/components/switch.js +3 -3
- package/dist/components/t9n.js +3 -3
- package/dist/components/tab-nav.js +4 -4
- package/dist/components/tab-title.js +9 -9
- package/dist/components/tab.js +3 -3
- package/dist/components/tabs.js +4 -4
- package/dist/components/tile.js +5 -5
- package/dist/components/time-picker.js +34 -34
- package/dist/components/tooltip.js +26 -17
- package/dist/components/tree-item.js +15 -15
- package/dist/components/tree.js +5 -5
- package/dist/components/utils.js +4 -4
- package/dist/components/utils2.js +6 -6
- package/dist/components/utils3.js +17 -11
- package/dist/components/value-list-item.js +9 -9
- package/dist/components/value-list.js +32 -33
- package/dist/esm/{ExpandToggle-bd0e8410.js → ExpandToggle-3d10bd1e.js} +17 -17
- package/dist/esm/{FloatingArrow-85ce80bc.js → FloatingArrow-29db6da6.js} +6 -6
- package/dist/esm/{Heading-5805ff4c.js → Heading-cb79e5b2.js} +2 -2
- package/dist/esm/{app-globals-e45b5c25.js → app-globals-5cbac6b0.js} +6 -6
- package/dist/esm/{ar-3adf7962.js → ar-4b751ba8.js} +14 -15
- package/dist/esm/{array-145d96f7.js → array-751a2b87.js} +2 -2
- package/dist/esm/{bg-e7dcf089.js → bg-5d8bf5ea.js} +14 -15
- package/dist/esm/{bs-73d7b00e.js → bs-ff510e71.js} +14 -15
- package/dist/esm/buffer-tools_4.entry.js +64 -51
- package/dist/esm/{ca-884a52f5.js → ca-b9a5e51a.js} +14 -15
- package/dist/esm/calcite-accordion-item.entry.js +48 -44
- package/dist/esm/calcite-accordion.entry.js +36 -30
- package/dist/esm/calcite-action-bar.entry.js +33 -27
- package/dist/esm/calcite-action-group_2.entry.js +24 -23
- package/dist/esm/calcite-action-pad.entry.js +21 -21
- package/dist/esm/calcite-action_2.entry.js +43 -43
- package/dist/esm/calcite-alert.entry.js +24 -25
- package/dist/esm/calcite-avatar.entry.js +7 -7
- package/dist/esm/calcite-block-section.entry.js +36 -18
- package/dist/esm/calcite-block.entry.js +41 -30
- package/dist/esm/calcite-button.entry.js +18 -19
- package/dist/esm/calcite-card.entry.js +15 -15
- package/dist/esm/calcite-checkbox.entry.js +10 -11
- package/dist/esm/calcite-chip-group.entry.js +12 -14
- package/dist/esm/calcite-chip.entry.js +23 -25
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +23 -24
- package/dist/esm/calcite-color-picker.entry.js +91 -61
- package/dist/esm/calcite-combobox-item-group.entry.js +9 -8
- package/dist/esm/calcite-combobox_6.entry.js +95 -86
- package/dist/esm/calcite-date-picker-day_3.entry.js +26 -27
- package/dist/esm/calcite-date-picker.entry.js +34 -35
- package/dist/esm/calcite-fab.entry.js +12 -13
- package/dist/esm/calcite-filter_5.entry.js +1226 -0
- package/dist/esm/calcite-flow-item.entry.js +24 -26
- package/dist/esm/calcite-flow.entry.js +28 -12
- package/dist/esm/calcite-graph.entry.js +7 -7
- package/dist/esm/calcite-icon.entry.js +12 -12
- package/dist/esm/calcite-inline-editable.entry.js +18 -19
- package/dist/esm/calcite-input-date-picker.entry.js +45 -42
- package/dist/esm/calcite-input-number_2.entry.js +908 -0
- package/dist/esm/{calcite-input-time-picker-c8d3cd3c.js → calcite-input-time-picker-13448515.js} +212 -118
- package/dist/esm/calcite-input-time-picker.entry.js +14 -15
- package/dist/esm/calcite-input-time-zone.entry.js +200 -0
- package/dist/esm/calcite-input_2.entry.js +56 -60
- package/dist/esm/calcite-label.entry.js +9 -9
- package/dist/esm/calcite-link.entry.js +7 -8
- package/dist/esm/calcite-list-item-group.entry.js +17 -9
- package/dist/esm/calcite-loader.entry.js +5 -5
- package/dist/esm/calcite-menu-item.entry.js +24 -20
- package/dist/esm/calcite-menu.entry.js +13 -13
- package/dist/esm/calcite-modal.entry.js +25 -24
- package/dist/esm/calcite-navigation-logo.entry.js +11 -7
- package/dist/esm/calcite-navigation-user.entry.js +6 -6
- package/dist/esm/calcite-navigation.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +17 -17
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +17 -18
- package/dist/esm/calcite-pagination.entry.js +18 -18
- package/dist/esm/calcite-panel_2.entry.js +40 -67
- package/dist/esm/calcite-pick-list-group.entry.js +9 -9
- package/dist/esm/calcite-pick-list-item.entry.js +16 -17
- package/dist/esm/calcite-pick-list.entry.js +12 -13
- package/dist/esm/calcite-radio-button-group.entry.js +6 -7
- package/dist/esm/calcite-radio-button.entry.js +13 -14
- package/dist/esm/calcite-rating.entry.js +20 -21
- package/dist/esm/calcite-scrim.entry.js +22 -17
- package/dist/esm/calcite-segmented-control_2.entry.js +15 -16
- package/dist/esm/calcite-shell-center-row.entry.js +10 -10
- package/dist/esm/calcite-shell-panel_14.entry.js +78 -82
- package/dist/esm/calcite-sortable-list.entry.js +25 -34
- package/dist/esm/calcite-split-button.entry.js +8 -9
- package/dist/esm/calcite-stepper-item.entry.js +15 -16
- package/dist/esm/calcite-stepper.entry.js +7 -7
- package/dist/esm/calcite-switch.entry.js +10 -11
- package/dist/esm/calcite-text-area.entry.js +57 -37
- package/dist/esm/calcite-tile-select-group.entry.js +2 -3
- package/dist/esm/calcite-tile-select.entry.js +11 -12
- package/dist/esm/calcite-tile.entry.js +11 -12
- package/dist/esm/calcite-time-picker.entry.js +33 -33
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +14 -14
- package/dist/esm/calcite-tip.entry.js +15 -15
- package/dist/esm/calcite-tooltip.entry.js +30 -22
- package/dist/esm/calcite-tree_3.entry.js +24 -25
- package/dist/esm/card-manager_4.entry.js +2 -2
- package/dist/esm/{conditionalSlot-055c62f5.js → conditionalSlot-27a0fce0.js} +3 -3
- package/dist/esm/crowdsource-manager.entry.js +34 -10
- package/dist/esm/{cs-432f382d.js → cs-f21a0628.js} +14 -15
- package/dist/esm/{da-1bc7144b.js → da-dc48fc4c.js} +14 -15
- package/dist/esm/{date-a36f2eef.js → date-0ed48e97.js} +4 -4
- package/dist/esm/{de-ad6f7d55.js → de-59290071.js} +14 -15
- package/dist/esm/{de-at-d002f9e6.js → de-at-cd6e6ab7.js} +14 -15
- package/dist/esm/{de-ch-9042771e.js → de-ch-27c44e34.js} +14 -15
- package/dist/esm/{dom-eacf4716.js → dom-843e3afd.js} +114 -24
- package/dist/esm/{downloadUtils-4bb98860.js → downloadUtils-63661805.js} +44 -7
- package/dist/esm/{el-adaae607.js → el-f09fdec6.js} +14 -15
- package/dist/esm/{en-au-efc398e5.js → en-au-90087aa5.js} +14 -15
- package/dist/esm/{en-ca-a36d898d.js → en-ca-10751695.js} +14 -15
- package/dist/esm/{en-gb-d3bef3cc.js → en-gb-0f8547bd.js} +14 -15
- package/dist/esm/{es-0a07422b.js → es-b0997cf1.js} +14 -15
- package/dist/esm/{es-mx-70502eeb.js → es-mx-226f5028.js} +14 -15
- package/dist/esm/{et-89dbbb03.js → et-dc96c453.js} +14 -15
- package/dist/esm/{fi-27f27fd6.js → fi-0941704d.js} +14 -15
- package/dist/esm/{filter-113de81a.js → filter-1cac3edf.js} +2 -2
- package/dist/esm/{floating-ui-06df5366.js → floating-ui-d28d0fd6.js} +412 -398
- package/dist/esm/{focusTrapComponent-875581a9.js → focusTrapComponent-ff3a9f28.js} +258 -100
- package/dist/esm/{form-0a597339.js → form-11c6a015.js} +5 -5
- package/dist/esm/{fr-9af57c3a.js → fr-8da3458d.js} +14 -15
- package/dist/esm/{fr-ch-fe10f986.js → fr-ch-739ceddf.js} +14 -15
- package/dist/esm/{guid-5a6c2c24.js → guid-2bbb8cd1.js} +2 -2
- package/dist/esm/{he-82afa489.js → he-8b662dfa.js} +14 -15
- package/dist/esm/{hi-221c55c2.js → hi-10996f89.js} +14 -15
- package/dist/esm/{hr-4305b2d2.js → hr-42c2024d.js} +14 -15
- package/dist/esm/{hu-ee3ca4cb.js → hu-4768b3ff.js} +14 -15
- package/dist/esm/{id-7da52fa0.js → id-24a08170.js} +14 -15
- package/dist/esm/{index.es-52dfc62e.js → index.es-3a3aa8e3.js} +2 -2
- package/dist/esm/{interactive-06212598.js → interactive-eaf4be29.js} +16 -3
- package/dist/esm/{it-0e844108.js → it-ad09649f.js} +14 -15
- package/dist/esm/{it-ch-e23cbfb5.js → it-ch-b05fc10d.js} +14 -15
- package/dist/esm/{ja-77f59e0b.js → ja-ab839b73.js} +14 -15
- package/dist/esm/{key-c56a877c.js → key-7a525416.js} +2 -2
- package/dist/esm/{ko-8bd138a6.js → ko-c778539e.js} +14 -15
- package/dist/esm/{label-ed0c52dd.js → label-6a1caf64.js} +3 -3
- package/dist/esm/{loadable-ac9f23cd.js → loadable-6bca96ad.js} +30 -6
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-e2fc1e6c.js → locale-d8561d54.js} +52 -18
- package/dist/esm/{lt-d3a6257b.js → lt-447d9aa9.js} +14 -15
- package/dist/esm/{lv-08bfab40.js → lv-4d715e11.js} +14 -15
- package/dist/esm/map-picker_2.entry.js +9 -6
- package/dist/esm/{calcite-input-text_4.entry.js → map-select-tools_3.entry.js} +3 -346
- package/dist/esm/{mapViewUtils-ac8b3bfb.js → mapViewUtils-f0c04325.js} +1 -1
- package/dist/esm/{math-4650c3c4.js → math-5f92f517.js} +17 -3
- package/dist/esm/{mk-0a09d6ce.js → mk-b3d7401a.js} +14 -15
- package/dist/esm/{nb-b10f580c.js → nb-2b4a8366.js} +14 -15
- package/dist/esm/{nl-255dd2f1.js → nl-c0db1da2.js} +14 -15
- package/dist/esm/{observers-99910f46.js → observers-9d66685a.js} +2 -2
- package/dist/esm/openCloseComponent-2b5c6bed.js +82 -0
- package/dist/esm/{pl-6cc0b17a.js → pl-0d322bb4.js} +14 -15
- package/dist/esm/{pt-69f11375.js → pt-5997598c.js} +14 -15
- package/dist/esm/{pt-br-9ac91fe9.js → pt-br-6b77e7db.js} +14 -15
- package/dist/esm/public-notification.entry.js +2 -2
- package/dist/esm/{resources-583dcd71.js → resources-40d8e06f.js} +4 -4
- package/dist/esm/{resources-6e36167f.js → resources-58d30a0f.js} +4 -4
- package/dist/esm/{resources-aa065aa8.js → resources-5bce3953.js} +7 -7
- package/dist/esm/{resources-3d8e1c27.js → resources-94c47e64.js} +3 -3
- package/dist/esm/{resources-9c29ecdf.js → resources-a9b2d33c.js} +23 -20
- package/dist/esm/{resources-69f689fc.js → resources-c253772f.js} +4 -4
- package/dist/esm/{resources-683837a9.js → resources-c65f5654.js} +2 -2
- package/dist/esm/{resources-195638af.js → resources-d6a4d343.js} +5 -5
- package/dist/esm/{resources-c46fb209.js → resources-dca3d475.js} +5 -5
- package/dist/esm/{ro-8f66bdb3.js → ro-ac3724e0.js} +14 -15
- package/dist/esm/{ru-8001b62e.js → ru-4e75151f.js} +14 -15
- package/dist/esm/{shared-list-render-ffe21cdc.js → shared-list-render-abd19c8d.js} +10 -10
- package/dist/esm/{sk-e087d150.js → sk-bbfa22a3.js} +14 -15
- package/dist/esm/{sl-c55ec4eb.js → sl-867cecfc.js} +14 -15
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/{sortableComponent-5ba487d5.js → sortableComponent-db502e97.js} +34 -7
- package/dist/esm/{sr-704bc2e4.js → sr-198b5c00.js} +14 -15
- package/dist/esm/{sv-f8ce22a7.js → sv-02d64370.js} +14 -15
- package/dist/esm/{t9n-21ddd486.js → t9n-76168237.js} +4 -4
- package/dist/esm/{th-5849895c.js → th-1616e303.js} +14 -15
- package/dist/esm/{time-acedc3e4.js → time-6721a4c2.js} +9 -9
- package/dist/esm/{tr-87e261df.js → tr-f4619f64.js} +14 -15
- package/dist/esm/{uk-805e3720.js → uk-df7df34a.js} +14 -15
- package/dist/esm/{utils-1d118548.js → utils-18db6b1d.js} +17 -11
- package/dist/esm/{utils-34fa17aa.js → utils-2c91c963.js} +4 -4
- package/dist/esm/{utils-1fc68238.js → utils-ccfd94a7.js} +6 -6
- package/dist/esm/{utils-28417c2e.js → utils-f54411df.js} +4 -4
- package/dist/esm/{vi-a60999e6.js → vi-176ca9f7.js} +14 -15
- package/dist/esm/{zh-cn-da525bed.js → zh-cn-e13d83d1.js} +14 -15
- package/dist/esm/{zh-hk-e82621fb.js → zh-hk-d97365d8.js} +14 -15
- package/dist/esm/{zh-tw-3422c270.js → zh-tw-a2b6f0b7.js} +14 -15
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +7 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +15 -112
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +14 -116
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +8 -114
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +33 -135
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +9 -215
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +14 -111
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +12 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +4 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +7 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +13 -115
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +20 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +47 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +9 -111
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +24 -112
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +5 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +4 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +7 -211
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +16 -118
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +48 -114
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +24 -122
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -107
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -107
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +21 -126
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +21 -211
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +14 -116
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +13 -115
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +16 -122
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +7 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +26 -131
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +15 -117
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +7 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +11 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +7 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +20 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +10 -112
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +7 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +9 -111
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +9 -111
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +8 -114
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +8 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +8 -110
- package/dist/solutions-components/assets/combobox/t9n/messages_ar.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_bg.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_bs.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ca.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_cs.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_da.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_de.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_el.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_es.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_et.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_fi.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_fr.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_he.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_hr.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_hu.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_id.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_it.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ja.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ko.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_lt.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_lv.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_nl.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_no.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_pl.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_pt-BR.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_pt-PT.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ro.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ru.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sk.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sl.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sr.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sv.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_th.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_tr.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_uk.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_vi.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_zh-CN.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_zh-HK.json +1 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_zh-TW.json +1 -1
- package/dist/solutions-components/assets/handle/t9n/index.d.ts +4 -0
- package/dist/solutions-components/assets/handle/t9n/messages.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_ar.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_bg.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_bs.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_ca.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_cs.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_da.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_de.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_el.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_en.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_es.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_et.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_fi.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_fr.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_he.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_hr.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_hu.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_id.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_it.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_ja.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_ko.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_lt.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_lv.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_nl.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_no.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_pl.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_pt-BR.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_pt-PT.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_ro.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_ru.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_sk.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_sl.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_sr.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_sv.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_th.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_tr.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_uk.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_vi.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_zh-CN.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_zh-HK.json +5 -1
- package/dist/solutions-components/assets/handle/t9n/messages_zh-TW.json +5 -1
- package/dist/solutions-components/assets/icon/slash16.json +1 -0
- package/dist/solutions-components/assets/icon/slash24.json +1 -0
- package/dist/solutions-components/assets/icon/slash32.json +1 -0
- package/dist/solutions-components/assets/icon/textButton16.json +1 -0
- package/dist/solutions-components/assets/icon/textButton24.json +1 -0
- package/dist/solutions-components/assets/icon/textButton32.json +1 -0
- package/dist/solutions-components/assets/icon/textDashedUnderline16.json +1 -0
- package/dist/solutions-components/assets/icon/textDashedUnderline24.json +1 -0
- package/dist/solutions-components/assets/icon/textDashedUnderline32.json +1 -0
- package/dist/solutions-components/assets/icon/textSolidUnderline16.json +1 -0
- package/dist/solutions-components/assets/icon/textSolidUnderline24.json +1 -0
- package/dist/solutions-components/assets/icon/textSolidUnderline32.json +1 -0
- package/dist/solutions-components/assets/input-date-picker/t9n/index.d.ts +1 -0
- package/dist/solutions-components/assets/input-date-picker/t9n/messages.json +2 -1
- package/dist/solutions-components/assets/input-date-picker/t9n/messages_en.json +2 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/index.d.ts +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_ar.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_bg.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_bs.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_ca.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_cs.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_da.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_de.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_el.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_en.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_es.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_et.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_fi.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_fr.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_he.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_hr.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_hu.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_id.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_it.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_ja.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_ko.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_lt.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_lv.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_nl.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_no.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_pl.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_pt-BR.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_pt-PT.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_ro.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_ru.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_sk.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_sl.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_sr.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_sv.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_th.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_tr.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_uk.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_vi.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_zh-CN.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_zh-HK.json +433 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_zh-TW.json +433 -0
- package/dist/solutions-components/assets/menu/t9n/messages_ar.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_bg.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_bs.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_ca.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_cs.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_da.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_de.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_el.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_es.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_et.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_fi.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_fr.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_he.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_hr.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_hu.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_id.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_it.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_ja.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_ko.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_lt.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_lv.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_nl.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_no.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_pl.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_pt-BR.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_pt-PT.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_ro.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_ru.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_sk.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_sl.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_sr.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_sv.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_th.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_tr.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_uk.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_vi.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_zh-CN.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_zh-HK.json +1 -1
- package/dist/solutions-components/assets/menu/t9n/messages_zh-TW.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_ar.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_bg.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_bs.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_ca.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_cs.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_da.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_de.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_el.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_en.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_es.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_et.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_fi.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_fr.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_he.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_hr.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_hu.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_id.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_it.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_ja.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_ko.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_lt.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_lv.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_nl.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_no.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_pl.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_pt-BR.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_pt-PT.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_ro.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_ru.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_sk.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_sl.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_sr.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_sv.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_th.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_tr.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_uk.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_vi.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_zh-CN.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_zh-HK.json +1 -1
- package/dist/solutions-components/assets/rating/t9n/messages_zh-TW.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/index.d.ts +0 -1
- package/dist/solutions-components/assets/text-area/t9n/messages.json +1 -2
- package/dist/solutions-components/assets/text-area/t9n/messages_ar.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_bg.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_bs.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_ca.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_cs.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_da.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_de.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_el.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_en.json +1 -2
- package/dist/solutions-components/assets/text-area/t9n/messages_es.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_et.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_fi.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_fr.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_he.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_hr.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_hu.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_id.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_it.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_ja.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_ko.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_lt.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_lv.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_nl.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_no.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_pl.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_pt-BR.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_pt-PT.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_ro.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_ru.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_sk.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_sl.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_sr.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_sv.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_th.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_tr.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_uk.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_vi.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_zh-CN.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_zh-HK.json +1 -1
- package/dist/solutions-components/assets/text-area/t9n/messages_zh-TW.json +1 -1
- package/dist/solutions-components/assets/value-list/t9n/messages.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_ar.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_bg.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_bs.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_ca.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_cs.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_da.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_de.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_el.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_en.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_es.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_et.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_fi.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_fr.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_he.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_hr.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_hu.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_id.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_it.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_ja.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_ko.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_lt.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_lv.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_nl.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_no.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_pl.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_pt-BR.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_pt-PT.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_ro.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_ru.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_sk.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_sl.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_sr.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_sv.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_th.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_tr.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_uk.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_vi.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_zh-CN.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_zh-HK.json +4 -4
- package/dist/solutions-components/assets/value-list/t9n/messages_zh-TW.json +4 -4
- package/dist/solutions-components/demos/crowdsource-manager.html +11 -0
- package/dist/solutions-components/p-022a9b7a.js +6 -0
- package/dist/solutions-components/p-03fccde6.entry.js +11 -0
- package/dist/solutions-components/p-052ff2c7.js +6 -0
- package/dist/solutions-components/p-05db4340.js +6 -0
- package/dist/solutions-components/p-07bc4f07.entry.js +11 -0
- package/dist/solutions-components/p-0cc32f06.js +6 -0
- package/dist/solutions-components/p-0e7914e6.entry.js +11 -0
- package/dist/solutions-components/p-0ece6df1.entry.js +12 -0
- package/dist/solutions-components/p-0fbc27fd.entry.js +11 -0
- package/dist/solutions-components/{p-52ce448f.js → p-10248e04.js} +2 -2
- package/dist/solutions-components/p-108fbf59.entry.js +6 -0
- package/dist/solutions-components/p-12a4fa84.js +6 -0
- package/dist/solutions-components/p-15ef7894.js +6 -0
- package/dist/solutions-components/p-164be8ef.entry.js +6 -0
- package/dist/solutions-components/{p-12549392.js → p-18869c0f.js} +2 -2
- package/dist/solutions-components/{p-cbd918f0.js → p-18f1772b.js} +2 -2
- package/dist/solutions-components/p-1990d9c8.entry.js +6 -0
- package/dist/solutions-components/p-19fe7725.js +6 -0
- package/dist/solutions-components/p-1add4e39.entry.js +11 -0
- package/dist/solutions-components/{p-98b89dec.js → p-1ea1dcac.js} +1 -1
- package/dist/solutions-components/{p-5ec14284.js → p-1ede2e18.js} +4 -4
- package/dist/solutions-components/{p-f7380836.js → p-1f468797.js} +2 -2
- package/dist/solutions-components/p-2005280f.js +11 -0
- package/dist/solutions-components/{p-080576c7.js → p-215d3505.js} +2 -2
- package/dist/solutions-components/p-216801d5.js +6 -0
- package/dist/solutions-components/p-21f00df6.js +6 -0
- package/dist/solutions-components/{p-aebf7977.js → p-2291b598.js} +2 -2
- package/dist/solutions-components/{p-4a48245f.entry.js → p-22d580b0.entry.js} +4 -4
- package/dist/solutions-components/p-2656168f.entry.js +11 -0
- package/dist/solutions-components/p-27a1ac1f.entry.js +17 -0
- package/dist/solutions-components/{p-33601793.js → p-283e3a2d.js} +2 -2
- package/dist/solutions-components/{p-ba644673.js → p-29d41c7e.js} +2 -2
- package/dist/solutions-components/p-2ae17fa2.js +6 -0
- package/dist/solutions-components/p-2b252afd.entry.js +6 -0
- package/dist/solutions-components/p-2b96e551.entry.js +11 -0
- package/dist/solutions-components/{p-10459518.js → p-2d70d3fd.js} +3 -3
- package/dist/solutions-components/p-31316d61.entry.js +11 -0
- package/dist/solutions-components/p-31ff3452.entry.js +11 -0
- package/dist/solutions-components/p-326fa270.js +6 -0
- package/dist/solutions-components/p-32ef065d.entry.js +11 -0
- package/dist/solutions-components/p-32f9c709.js +6 -0
- package/dist/solutions-components/p-35123c90.js +6 -0
- package/dist/solutions-components/p-361f1fe1.js +11 -0
- package/dist/solutions-components/p-38ef0684.js +16 -0
- package/dist/solutions-components/{p-f43ae206.js → p-39ff5ee5.js} +3 -3
- package/dist/solutions-components/{p-d4016e09.js → p-3aba40e8.js} +5 -5
- package/dist/solutions-components/{p-28442434.js → p-3bd99fc9.js} +3 -3
- package/dist/solutions-components/p-3cbe5ef3.js +6 -0
- package/dist/solutions-components/p-3e139360.js +6 -0
- package/dist/solutions-components/p-3f0193e9.js +6 -0
- package/dist/solutions-components/{p-7468b964.js → p-3fc17d72.js} +2 -2
- package/dist/solutions-components/{p-157026db.entry.js → p-40bde8b2.entry.js} +1 -1
- package/dist/solutions-components/p-418d0b60.entry.js +6 -0
- package/dist/solutions-components/p-421d5e7c.js +6 -0
- package/dist/solutions-components/p-42c7a5fa.entry.js +11 -0
- package/dist/solutions-components/{p-6f4c1b95.js → p-4805ff13.js} +2 -2
- package/dist/solutions-components/p-4b95d05e.entry.js +6 -0
- package/dist/solutions-components/p-4bc7b875.entry.js +11 -0
- package/dist/solutions-components/p-4c43820f.entry.js +6 -0
- package/dist/solutions-components/p-4d17943f.js +6 -0
- package/dist/solutions-components/p-4daae757.js +6 -0
- package/dist/solutions-components/p-4f0c3fc1.js +6 -0
- package/dist/solutions-components/p-525f1188.js +11 -0
- package/dist/solutions-components/p-5383607a.js +22 -0
- package/dist/solutions-components/p-541697d0.js +11 -0
- package/dist/solutions-components/p-56300653.js +16 -0
- package/dist/solutions-components/{p-dac6ab25.js → p-58ce5639.js} +3 -3
- package/dist/solutions-components/{p-469e22b8.js → p-5961c4e0.js} +2 -2
- package/dist/solutions-components/p-5adf37ea.entry.js +12 -0
- package/dist/solutions-components/p-5b9b1cbb.entry.js +11 -0
- package/dist/solutions-components/p-5c097e25.entry.js +11 -0
- package/dist/solutions-components/p-5e59219b.entry.js +6 -0
- package/dist/solutions-components/p-5f5c371e.js +6 -0
- package/dist/solutions-components/p-606ca126.js +6 -0
- package/dist/solutions-components/p-634e1240.js +6 -0
- package/dist/solutions-components/p-639cca97.js +6 -0
- package/dist/solutions-components/p-6431fd69.js +11 -0
- package/dist/solutions-components/{p-19c0bbf1.js → p-647a4130.js} +5 -5
- package/dist/solutions-components/p-67ce3c0c.entry.js +11 -0
- package/dist/solutions-components/p-680d193d.entry.js +11 -0
- package/dist/solutions-components/p-6a524392.entry.js +11 -0
- package/dist/solutions-components/p-6a820c4d.js +6 -0
- package/dist/solutions-components/p-6b2f2b85.js +17 -0
- package/dist/solutions-components/{p-b9e31774.js → p-6f2edf5b.js} +2 -2
- package/dist/solutions-components/p-754e2df2.js +6 -0
- package/dist/solutions-components/{p-060da8eb.js → p-75f26870.js} +4 -4
- package/dist/solutions-components/p-7601988d.entry.js +11 -0
- package/dist/solutions-components/p-761a033a.entry.js +11 -0
- package/dist/solutions-components/p-7920b5a2.entry.js +11 -0
- package/dist/solutions-components/p-7aa949a3.entry.js +11 -0
- package/dist/solutions-components/p-7b9adfff.js +6 -0
- package/dist/solutions-components/{p-d38eb139.entry.js → p-7c33e500.entry.js} +1 -1
- package/dist/solutions-components/p-804e4751.entry.js +17 -0
- package/dist/solutions-components/p-82199b7b.entry.js +6 -0
- package/dist/solutions-components/p-825bac0e.js +6 -0
- package/dist/solutions-components/p-844ee452.entry.js +11 -0
- package/dist/solutions-components/{p-3dfeb63c.js → p-8a758303.js} +5 -5
- package/dist/solutions-components/p-90bbf223.entry.js +6 -0
- package/dist/solutions-components/p-916f90ec.entry.js +6 -0
- package/dist/solutions-components/p-91caf655.entry.js +11 -0
- package/dist/solutions-components/p-93074bd4.entry.js +11 -0
- package/dist/solutions-components/p-955a956a.entry.js +23 -0
- package/dist/solutions-components/p-9603c3ff.entry.js +11 -0
- package/dist/solutions-components/p-97c47bbd.entry.js +18 -0
- package/dist/solutions-components/{p-ad438da3.js → p-9bbc05ff.js} +2 -2
- package/dist/solutions-components/p-9cb94ea0.js +6 -0
- package/dist/solutions-components/p-9e727488.js +6 -0
- package/dist/solutions-components/p-9fb16c72.entry.js +35 -0
- package/dist/solutions-components/p-a040efff.js +6 -0
- package/dist/solutions-components/p-a08bd8c1.entry.js +6 -0
- package/dist/solutions-components/p-a0edbb27.js +6 -0
- package/dist/solutions-components/p-a258f5e7.js +6 -0
- package/dist/solutions-components/p-a2748b38.entry.js +6 -0
- package/dist/solutions-components/p-a6900100.entry.js +11 -0
- package/dist/solutions-components/p-a775ba2f.entry.js +11 -0
- package/dist/solutions-components/{p-e501876c.js → p-a777b18c.js} +3 -3
- package/dist/solutions-components/p-a843af2a.js +6 -0
- package/dist/solutions-components/p-ab8f5c6b.entry.js +11 -0
- package/dist/solutions-components/p-abda8ca2.entry.js +11 -0
- package/dist/solutions-components/p-ad4d6d02.entry.js +22 -0
- package/dist/solutions-components/p-ad72a379.entry.js +16 -0
- package/dist/solutions-components/p-aeebdb15.js +6 -0
- package/dist/solutions-components/p-b0c4138f.entry.js +11 -0
- package/dist/solutions-components/p-b1f84ae5.js +6 -0
- package/dist/solutions-components/p-b2e6c578.js +6 -0
- package/dist/solutions-components/p-b4157e6a.js +6 -0
- package/dist/solutions-components/p-b49bdc72.entry.js +6 -0
- package/dist/solutions-components/p-b5d67495.entry.js +11 -0
- package/dist/solutions-components/p-b6578a32.js +6 -0
- package/dist/solutions-components/p-b684bbc7.entry.js +6 -0
- package/dist/solutions-components/p-b86b4512.entry.js +11 -0
- package/dist/solutions-components/p-b921aa1a.entry.js +6 -0
- package/dist/solutions-components/p-b948ecd2.entry.js +11 -0
- package/dist/solutions-components/p-b9749e09.js +11 -0
- package/dist/solutions-components/p-baccfd70.entry.js +6 -0
- package/dist/solutions-components/p-bba3fa4e.entry.js +11 -0
- package/dist/solutions-components/p-bbb0d957.entry.js +6 -0
- package/dist/solutions-components/p-bd3a3afe.js +6 -0
- package/dist/solutions-components/p-c07af9c2.entry.js +11 -0
- package/dist/solutions-components/p-c1ee0d69.js +11 -0
- package/dist/solutions-components/p-c3f8b670.js +6 -0
- package/dist/solutions-components/p-c5e294e4.js +6 -0
- package/dist/solutions-components/p-c6d83122.entry.js +11 -0
- package/dist/solutions-components/p-c9858d8f.entry.js +11 -0
- package/dist/solutions-components/p-cad5587c.entry.js +35 -0
- package/dist/solutions-components/p-cf1af08f.entry.js +6 -0
- package/dist/solutions-components/p-cf43278c.entry.js +11 -0
- package/dist/solutions-components/p-d3a22725.js +6 -0
- package/dist/solutions-components/p-d4c103a8.js +11 -0
- package/dist/solutions-components/p-d554507d.js +11 -0
- package/dist/solutions-components/p-d62784a4.js +11 -0
- package/dist/solutions-components/p-d6322e4b.js +6 -0
- package/dist/solutions-components/p-dc9dad31.entry.js +6 -0
- package/dist/solutions-components/p-de58bd49.js +6 -0
- package/dist/solutions-components/p-de59d2f5.js +6 -0
- package/dist/solutions-components/p-e02fcfa9.entry.js +12 -0
- package/dist/solutions-components/p-e07b8a72.entry.js +11 -0
- package/dist/solutions-components/p-e10a62f4.entry.js +11 -0
- package/dist/solutions-components/p-e645edf2.entry.js +6 -0
- package/dist/solutions-components/p-e6bee82f.js +6 -0
- package/dist/solutions-components/p-ea282908.js +6 -0
- package/dist/solutions-components/{p-a088573c.js → p-ee066c67.js} +7 -7
- package/dist/solutions-components/p-ef48bd77.entry.js +17 -0
- package/dist/solutions-components/p-ef96894d.entry.js +23 -0
- package/dist/solutions-components/{p-e1c9be34.js → p-f055a840.js} +2 -2
- package/dist/solutions-components/p-f28d69ac.entry.js +11 -0
- package/dist/solutions-components/p-f41105c8.js +6 -0
- package/dist/solutions-components/{p-05338a01.js → p-f8dd2784.js} +1 -1
- package/dist/solutions-components/{p-3f06d9d0.js → p-fb7e0054.js} +2 -2
- package/dist/solutions-components/p-ffac6f88.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +45 -5
- package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +291 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +26 -2
- package/dist/types/components/json-editor/assets/monaco-editor/monaco.d.ts +8262 -0
- package/dist/types/components/map-picker/map-picker.d.ts +8 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/types/preact.d.ts +19 -6
- package/dist/types/utils/downloadUtils.d.ts +14 -0
- package/package.json +2 -2
- package/dist/cjs/browser-ecb3aabc.js +0 -24
- package/dist/cjs/calcite-filter_3.cjs.entry.js +0 -778
- package/dist/cjs/calcite-handle.cjs.entry.js +0 -136
- package/dist/cjs/calcite-input-number.cjs.entry.js +0 -576
- package/dist/cjs/calcite-stack.cjs.entry.js +0 -93
- package/dist/cjs/composed-offset-position.esm-d93c31e6.js +0 -79
- package/dist/cjs/openCloseComponent-b5b6c785.js +0 -100
- package/dist/components/browser.js +0 -21
- package/dist/components/composed-offset-position.esm.js +0 -75
- package/dist/esm/browser-7fc2f4c3.js +0 -21
- package/dist/esm/calcite-filter_3.entry.js +0 -772
- package/dist/esm/calcite-handle.entry.js +0 -132
- package/dist/esm/calcite-input-number.entry.js +0 -572
- package/dist/esm/calcite-stack.entry.js +0 -89
- package/dist/esm/composed-offset-position.esm-98cd9ed4.js +0 -75
- package/dist/esm/openCloseComponent-7445a42a.js +0 -96
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/solutions-components/p-03757bbf.entry.js +0 -11
- package/dist/solutions-components/p-038ca054.js +0 -6
- package/dist/solutions-components/p-06974848.entry.js +0 -11
- package/dist/solutions-components/p-077acf10.entry.js +0 -11
- package/dist/solutions-components/p-07996c11.js +0 -6
- package/dist/solutions-components/p-07e58f8c.entry.js +0 -6
- package/dist/solutions-components/p-0be851aa.entry.js +0 -6
- package/dist/solutions-components/p-0d15e27b.entry.js +0 -23
- package/dist/solutions-components/p-0d4ab966.entry.js +0 -6
- package/dist/solutions-components/p-0f835c0c.entry.js +0 -11
- package/dist/solutions-components/p-0fbab153.entry.js +0 -11
- package/dist/solutions-components/p-1039fa9f.js +0 -6
- package/dist/solutions-components/p-1346ff6b.js +0 -6
- package/dist/solutions-components/p-14affa8a.js +0 -6
- package/dist/solutions-components/p-158a7dbc.js +0 -6
- package/dist/solutions-components/p-17d98d56.entry.js +0 -6
- package/dist/solutions-components/p-182c1759.entry.js +0 -6
- package/dist/solutions-components/p-18cd91fb.js +0 -6
- package/dist/solutions-components/p-19c5c036.js +0 -6
- package/dist/solutions-components/p-1ff54d84.js +0 -6
- package/dist/solutions-components/p-201ab4ae.entry.js +0 -6
- package/dist/solutions-components/p-20476d93.entry.js +0 -11
- package/dist/solutions-components/p-22810041.entry.js +0 -11
- package/dist/solutions-components/p-24b9dfa4.entry.js +0 -12
- package/dist/solutions-components/p-2702eab8.entry.js +0 -11
- package/dist/solutions-components/p-28cde23c.js +0 -6
- package/dist/solutions-components/p-2a47b388.js +0 -6
- package/dist/solutions-components/p-2e085c49.entry.js +0 -11
- package/dist/solutions-components/p-2e77e09d.entry.js +0 -35
- package/dist/solutions-components/p-2faee03e.entry.js +0 -11
- package/dist/solutions-components/p-327c35ad.js +0 -6
- package/dist/solutions-components/p-35285079.js +0 -6
- package/dist/solutions-components/p-357e2b05.entry.js +0 -11
- package/dist/solutions-components/p-35c091ed.entry.js +0 -11
- package/dist/solutions-components/p-3a49e932.js +0 -11
- package/dist/solutions-components/p-3bc126c2.entry.js +0 -11
- package/dist/solutions-components/p-3d4009a8.entry.js +0 -6
- package/dist/solutions-components/p-3f04675a.entry.js +0 -11
- package/dist/solutions-components/p-3fbe51dc.entry.js +0 -11
- package/dist/solutions-components/p-443989cc.js +0 -6
- package/dist/solutions-components/p-47d28cd5.js +0 -6
- package/dist/solutions-components/p-49d4946d.entry.js +0 -17
- package/dist/solutions-components/p-4b22d574.entry.js +0 -6
- package/dist/solutions-components/p-4dce68c3.entry.js +0 -11
- package/dist/solutions-components/p-5082944f.entry.js +0 -18
- package/dist/solutions-components/p-52f3e082.js +0 -6
- package/dist/solutions-components/p-535e88cb.js +0 -6
- package/dist/solutions-components/p-5398d06e.js +0 -6
- package/dist/solutions-components/p-55e1c1a1.entry.js +0 -11
- package/dist/solutions-components/p-59745b52.js +0 -6
- package/dist/solutions-components/p-5a3982b9.entry.js +0 -6
- package/dist/solutions-components/p-5f20c48c.entry.js +0 -11
- package/dist/solutions-components/p-648cb61d.js +0 -11
- package/dist/solutions-components/p-671a04ba.js +0 -12
- package/dist/solutions-components/p-6b7c3a97.entry.js +0 -6
- package/dist/solutions-components/p-6daadc95.js +0 -11
- package/dist/solutions-components/p-6fe4ce8f.entry.js +0 -6
- package/dist/solutions-components/p-70f4ca5b.entry.js +0 -11
- package/dist/solutions-components/p-7204d05d.js +0 -6
- package/dist/solutions-components/p-7295c626.js +0 -6
- package/dist/solutions-components/p-765f99f6.entry.js +0 -12
- package/dist/solutions-components/p-76c51777.js +0 -6
- package/dist/solutions-components/p-77b921ff.entry.js +0 -22
- package/dist/solutions-components/p-792d7c6e.entry.js +0 -11
- package/dist/solutions-components/p-7e72e53e.js +0 -6
- package/dist/solutions-components/p-7f1e6637.js +0 -6
- package/dist/solutions-components/p-804cd369.js +0 -6
- package/dist/solutions-components/p-80c8b247.js +0 -17
- package/dist/solutions-components/p-81a9d033.entry.js +0 -11
- package/dist/solutions-components/p-81ec8e4b.entry.js +0 -11
- package/dist/solutions-components/p-84fbc62d.entry.js +0 -11
- package/dist/solutions-components/p-861fe669.js +0 -6
- package/dist/solutions-components/p-8730eb77.entry.js +0 -11
- package/dist/solutions-components/p-882085d6.js +0 -6
- package/dist/solutions-components/p-8ab22d4b.js +0 -6
- package/dist/solutions-components/p-8d5f9776.js +0 -6
- package/dist/solutions-components/p-8ec2b1f2.js +0 -6
- package/dist/solutions-components/p-90d481de.entry.js +0 -11
- package/dist/solutions-components/p-94ee1757.js +0 -6
- package/dist/solutions-components/p-95b854f6.js +0 -6
- package/dist/solutions-components/p-9785622b.js +0 -6
- package/dist/solutions-components/p-979043c7.entry.js +0 -6
- package/dist/solutions-components/p-97ddb4b4.js +0 -11
- package/dist/solutions-components/p-9826dcfe.js +0 -6
- package/dist/solutions-components/p-9a1584a8.js +0 -6
- package/dist/solutions-components/p-9b015086.entry.js +0 -6
- package/dist/solutions-components/p-9b2a906c.entry.js +0 -11
- package/dist/solutions-components/p-9c9efad1.entry.js +0 -11
- package/dist/solutions-components/p-9e7cf939.entry.js +0 -11
- package/dist/solutions-components/p-a06975d1.js +0 -6
- package/dist/solutions-components/p-a6348d9f.js +0 -6
- package/dist/solutions-components/p-a650fef8.entry.js +0 -11
- package/dist/solutions-components/p-a8449e72.entry.js +0 -11
- package/dist/solutions-components/p-ae7d08f5.entry.js +0 -16
- package/dist/solutions-components/p-b1555ee2.entry.js +0 -12
- package/dist/solutions-components/p-b1a0e55a.entry.js +0 -6
- package/dist/solutions-components/p-b4200955.entry.js +0 -11
- package/dist/solutions-components/p-b46be0ac.js +0 -6
- package/dist/solutions-components/p-b69a54a1.entry.js +0 -6
- package/dist/solutions-components/p-b76551f7.js +0 -6
- package/dist/solutions-components/p-b78b89d1.entry.js +0 -11
- package/dist/solutions-components/p-b7fe6f3c.entry.js +0 -11
- package/dist/solutions-components/p-b948e1d8.entry.js +0 -11
- package/dist/solutions-components/p-b970bb58.js +0 -6
- package/dist/solutions-components/p-bca6b95f.js +0 -6
- package/dist/solutions-components/p-bd13ff4e.entry.js +0 -11
- package/dist/solutions-components/p-bd40efcc.js +0 -11
- package/dist/solutions-components/p-be028cff.js +0 -6
- package/dist/solutions-components/p-be1016bc.js +0 -11
- package/dist/solutions-components/p-c1851e25.entry.js +0 -11
- package/dist/solutions-components/p-c359d3c3.entry.js +0 -6
- package/dist/solutions-components/p-c52187f8.js +0 -16
- package/dist/solutions-components/p-cf84a668.js +0 -11
- package/dist/solutions-components/p-cfe25eb7.entry.js +0 -17
- package/dist/solutions-components/p-d15674f2.entry.js +0 -6
- package/dist/solutions-components/p-d2cd4a74.js +0 -11
- package/dist/solutions-components/p-d3b0e549.entry.js +0 -11
- package/dist/solutions-components/p-d6a06bc7.entry.js +0 -6
- package/dist/solutions-components/p-d75ad065.js +0 -6
- package/dist/solutions-components/p-d7f4568d.js +0 -6
- package/dist/solutions-components/p-d87830cd.js +0 -11
- package/dist/solutions-components/p-dc916580.entry.js +0 -11
- package/dist/solutions-components/p-ddac8312.entry.js +0 -6
- package/dist/solutions-components/p-e3d3ae0f.js +0 -6
- package/dist/solutions-components/p-e4d0a6d0.js +0 -16
- package/dist/solutions-components/p-e89cbe80.js +0 -6
- package/dist/solutions-components/p-ed4e3c8a.js +0 -11
- package/dist/solutions-components/p-f08d5e9e.entry.js +0 -6
- package/dist/solutions-components/p-f206dbaa.entry.js +0 -35
- package/dist/solutions-components/p-f27ef181.entry.js +0 -11
- package/dist/solutions-components/p-f40c93a8.entry.js +0 -11
- package/dist/solutions-components/p-f4870a6c.entry.js +0 -17
- package/dist/solutions-components/p-f8a9625d.entry.js +0 -11
- package/dist/solutions-components/p-f9055477.js +0 -6
- package/dist/solutions-components/p-f9702e74.js +0 -6
- package/dist/solutions-components/p-fa3e21bd.js +0 -6
- package/dist/solutions-components/p-fcc24d70.entry.js +0 -11
- package/dist/solutions-components/p-fd703f00.entry.js +0 -11
- package/dist/solutions-components/p-fdce8ec8.entry.js +0 -11
- package/dist/solutions-components/p-fe27e9e6.js +0 -6
- package/dist/solutions-components/p-ff8c0797.js +0 -11
- package/dist/solutions-components/p-ffb3edee.entry.js +0 -6
@@ -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-6431fd69.js";import"./p-9310b882.js";import"./p-2d70d3fd.js";import"./p-6b2f2b85.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";import"./p-38ef0684.js";import"./p-2291b598.js";import"./p-3bd99fc9.js";import"./p-d62784a4.js";import"./p-56300653.js";import"./p-6f2edf5b.js";import"./p-5383607a.js";import"./p-a777b18c.js";import"./p-1ede2e18.js";var r={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},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"}};e.locale(r,null,!0);export default r;
|
@@ -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-6431fd69.js";import"./p-9310b882.js";import"./p-2d70d3fd.js";import"./p-6b2f2b85.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";import"./p-38ef0684.js";import"./p-2291b598.js";import"./p-3bd99fc9.js";import"./p-d62784a4.js";import"./p-56300653.js";import"./p-6f2edf5b.js";import"./p-5383607a.js";import"./p-a777b18c.js";import"./p-1ede2e18.js";var m={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},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"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};e.locale(m,null,!0);export default m;
|
@@ -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-6431fd69.js";import"./p-9310b882.js";import"./p-2d70d3fd.js";import"./p-6b2f2b85.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";import"./p-38ef0684.js";import"./p-2291b598.js";import"./p-3bd99fc9.js";import"./p-d62784a4.js";import"./p-56300653.js";import"./p-6f2edf5b.js";import"./p-5383607a.js";import"./p-a777b18c.js";import"./p-1ede2e18.js";function a(e,a,t,s){var m={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};return a?(m[t][2]?m[t][2]:m[t][1]).replace("%d",e):(s?m[t][0]:m[t][1]).replace("%d",e)}var t={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d päeva",M:a,MM:a,y:a,yy:a},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};e.locale(t,null,!0);export default t;
|
@@ -5,7 +5,7 @@
|
|
5
5
|
*/
|
6
6
|
/*!
|
7
7
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
|
-
* See https://github.com/Esri/calcite-
|
9
|
-
* v1.
|
8
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
9
|
+
* v1.6.0
|
10
10
|
*/
|
11
11
|
const t=()=>[2,1,1,1,3].map((t=>{let e="";for(let r=0;r<t;r++)e+=(65536*(1+Math.random())|0).toString(16).substring(1);return e})).join("-");export{t as g}
|
@@ -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{r as t,h as i,H as e,g as s,c as a}from"./p-9310b882.js";import{g as l}from"./p-a0a2c53d.js";import{q as n,i as o,j as h,g as c,k as r}from"./p-05338a01.js";import{l as d}from"./p-6de98c51.js";import{d as p}from"./p-060da8eb.js";import{E as g}from"./p-868df4a0.js";import"./p-e1a4994d.js";const m=class{constructor(i){t(this,i),this.layer=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._cardLoading=!1,this._graphics=void 0,this._translations=void 0}async featureSelectionChange(t){const i=t.detail;this._cardLoading=!0;const e=i.length>0?await n(i,this.layer,[],!1,this.mapView.spatialReference):[];this._graphics=e,this._cardLoading=!1}async layerSelectionChange(t){const i=t.detail[0];this.layer=await o(this.mapView,i)}async componentWillLoad(){await this._getTranslations()}render(){var t,s;const a=(null===(t=this._graphics)||void 0===t?void 0:t.length)>0?"":"display-none",l=(null===(s=this._graphics)||void 0===s?void 0:s.length)>0?"display-none":"";return i(e,null,i("div",{class:"border-rounded overflow-auto height-full"},i("calcite-shell",{class:"position-relative padding-1 "+a},i("div",null,i("info-card",{graphics:this._graphics,isLoading:this._cardLoading,mapView:this.mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))),i("div",{class:"padding-1 "+l},i("calcite-notice",{icon:"table",open:!0},i("div",{slot:"message"},this._translations.selectFeaturesToStart)))))}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}get el(){return s(this)}};m.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.border-rounded{border:1px solid var(--calcite-ui-border-2);border-radius:5px}.height-full{height:100%}card-manager{display:block}";const u=class{constructor(i){t(this,i),this.featureSelectionChange=a(this,"featureSelectionChange",7),this._allIds=[],this.onTableNodeCreate=t=>{this._tableNode=t,this._getTable(t)},this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._alertOpen=!1,this._fetchingData=!1,this._layer=void 0,this._selectedIndexes=[],this._showOnlySelected=!1,this._translations=void 0}async mapViewWatchHandler(){this._fetchingData=!0;const t=await h(this.mapView);this._layer=await o(this.mapView,t[0]),this._resetTable(),this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})),this._fetchingData=!1}async _layerWatchHandler(){this._fetchingData=!0,this._resetTable(),this._fetchingData=!1}async getSelectedGraphics(){return this._selectedIndexes.length>0?await this._getGraphics(this._selectedIndexes):[]}async selectionChanged(t){if(this.zoomAndScrollToSelected){const i=t.detail,e=i.getObjectId(),s=this._table.viewModel.getObjectIdIndex(e);this._table.scrollToIndex(s);const a=i.layer;let l;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===a.title&&"feature"===t.layer.type)return l=t,!0})),l&&await c([e],l,this.mapView,!0)}}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){if(!this._layer)return null;const t=this._fetchingData?"display-none":"",s=this._fetchingData?"":"display-none",a=this._alertShowAction?"":"display-none";return i(e,null,i("calcite-shell",null,this._getTableControlRow("header"),i("div",{class:"height-full width-full"},i("calcite-panel",{class:"height-full width-full"},i("calcite-loader",{class:s,label:this._translations.fetchingData,scale:"l"}),i("div",{class:t,ref:this.onTableNodeCreate}))),i("calcite-alert",{icon:this._alertIcon,kind:this._alertKind,label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},i("div",{slot:"title"},this._alertTitle),i("div",{slot:"message"},this._alertMessage),i("calcite-link",{class:a,onClick:this._alertActionFunction,slot:"link"},this._alertActionText))))}async _initModules(){const[t,i]=await d(["esri/widgets/FeatureTable","esri/core/reactiveUtils"]);this.FeatureTable=t,this.reactiveUtils=i}_getTableControlRow(t){const e=this._selectedIndexes.length>0;return i("div",{class:"display-flex table-border height-51",slot:t},i("calcite-action-bar",{expandDisabled:!0,expanded:!0,layout:"horizontal"},i("div",{class:"border-end"},i("map-layer-picker",{appearance:"transparent",mapView:this.mapView,onLayerSelectionChange:t=>this._layerSelectionChanged(t),placeholderIcon:"layers",scale:"l",type:"dropdown"})),i("calcite-action",{appearance:"solid",disabled:!e,icon:"magnifying-glass",id:"magnifying-glass",label:this._translations.zoom,onClick:()=>this._zoom(),text:this._translations.zoom,textEnabled:!0}),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":"magnifying-glass"},i("span",null,this._translations.zoom)),i("calcite-action",{appearance:"solid",icon:"filter",id:"filter",onClick:()=>this._filter(),text:this._translations.filters,"text-enabled":"true",textEnabled:!0}),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":"filter"},i("span",null,this._translations.filters)),i("calcite-action",{appearance:"solid",disabled:!e,id:"trash",onClick:()=>this._delete(),text:""},i("calcite-button",{appearance:"transparent",iconStart:"trash",kind:"danger"},this._translations.delete)),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":"trash"},i("span",null,this._translations.delete)),i("calcite-action",{appearance:"solid",disabled:!e,icon:"erase",id:"erase",onClick:()=>this._clearSelection(),text:this._translations.clearSelection,"text-enabled":"true",textEnabled:!0}),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":"erase"},i("span",null,this._translations.clearSelection))),i("calcite-dropdown",null,i("calcite-action",{appearance:"solid",label:"",slot:"trigger",text:""},i("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),i("calcite-dropdown-group",{"selection-mode":"none"},i("calcite-dropdown-item",{iconStart:"list-check-all",onClick:()=>this._selectAll()},this._translations.selectAll),i("calcite-dropdown-item",{iconStart:"selected-items-filter",onClick:()=>this._toggleShowSelected()},this._showOnlySelected?this._translations.showAll:this._translations.showSelected),i("calcite-dropdown-item",{iconStart:"refresh",onClick:()=>this._switchSelected()},this._translations.switchSelected),i("calcite-dropdown-item",{iconStart:"refresh",onClick:()=>this._refresh()},this._translations.refresh),i("calcite-dropdown-item",{iconStart:"export",onClick:()=>{this._exportToCSV()}},this._translations.exportCSV))))}_getTable(t){this._layer&&(this._table=new this.FeatureTable({layer:this._layer,view:this.mapView,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{header:!1,menu:!1},container:t}),this._table.highlightIds.on("change",(()=>{this._selectedIndexes=this._table.highlightIds.toArray(),this._showOnlySelected&&(this._selectedIndexes.length>0?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this._selectedIndexes)})))}_resetTable(){this._layer&&this._table&&(this._clearSelection(),this.featureSelectionChange.emit(this._selectedIndexes),this._table.layer=this._layer,this._editEnabled=this._layer.editingEnabled,this._table.view=this.mapView,this._table.editingEnabled=this._editEnabled,this._table.clearSelectionFilter(),this._showOnlySelected=!1)}async _mapClicked(t){const i={include:this._layer},e=await this.mapView.hitTest(t.screenPoint,i);e.results.length>0&&(e.results.forEach((t=>{const i=t.graphic.getObjectId(),e=this._table.highlightIds.indexOf(i);e>-1?this._table.highlightIds.removeAt(e):this._table.highlightIds.add(i)})),this._showOnlySelected&&this._table.filterBySelection())}_alertClosed(){this._alertOpen=!1}_selectAll(){const t=this._allIds;this._table.highlightIds.addMany(t),this._selectedIndexes=t}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.clearSelectionFilter()}_clearSelection(){this._selectedIndexes=[],this._table.highlightIds.removeAll()}_filter(){alert("do whatever this button is supposed to do")}_switchSelected(){const t=[...this._selectedIndexes];this._selectedIndexes=this._allIds.reduce(((i,e,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]),this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this._selectedIndexes)}async _exportToCSV(){const t={},i=this._table.highlightIds.toArray();t[this._layer.id]={selectionSetNames:[],ids:i,layer:this._layer},p(t,!1,!0)}_refresh(){this._table.refresh()}_zoom(){this._table.zoomToSelection()}_delete(){this._editEnabled?(this._alertIcon="trash",this._alertTitle=this._translations.deleteRows,this._alertActionText=this._translations.delete,this._alertShowAction=!0,this._alertMessage=this._translations.confirm,this._alertKind="danger",this._alertActionFunction=()=>{this._layer.applyEdits({deleteFeatures:this._table.highlightIds.toArray()}),this._alertOpen=!1}):(this._alertIcon="layer-broken",this._alertTitle=this._translations.deleteDisabled,this._alertShowAction=!1,this._alertMessage=this._translations.enableEditing,this._alertKind="warning"),this._alertOpen=!0}async _getGraphics(t){return t.length>0?n(t,this._table.layer,[],!1,this.mapView.spatialReference):[]}async _layerSelectionChanged(t){const i=t.detail[0];i===this._layer.id&&0!==this._allIds.length||(this._fetchingData=!0,this._table.highlightIds.removeAll(),this._layer=await o(this.mapView,i),this._allIds=await r(this._layer),this._selectedIndexes=[],this._table.layer=this._layer,this._table.render(),this._fetchingData=!1)}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"]}}};u.style=":host{display:block}.height-full{height:100%}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.border-end{border-inline-end:1px solid var(--calcite-ui-border-2)}.padding-5{padding:5px}.height-51{height:51px}";const b=class{constructor(i){t(this,i),this.layoutChanged=a(this,"layoutChanged",7),this._layoutMode=g.GRID,this._translations=void 0}async componentWillLoad(){await this._getTranslations()}render(){return i(e,null,i("div",{class:"display-flex"},i("div",{class:"display-flex action-center"},i("calcite-icon",{class:"icon icon-color",icon:"information",id:"app-information-icon",scale:"s"}),i("calcite-popover",{closable:!0,label:"",referenceElement:"app-information-icon"},i("span",{class:"tooltip-message"},this._translations.appInfo))),i("div",{class:"header-text"},this._translations.layout),this._getAction("grid-background",g.GRID,this._translations.grid),this._getAction("vertical-background",g.VERTICAL,this._translations.vertical),this._getAction("horizontal-background",g.HORIZONTAL,this._translations.horizontal)))}_getAction(t,e,s){return i("div",null,i("calcite-action",{alignment:"center",appearance:"transparent",compact:!1,id:t,indicator:e===this._layoutMode,onClick:()=>{this._setLayoutMode(e)},text:""},i("div",{class:t+" img-background"})),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},i("span",null,s)))}_setLayoutMode(t){this._layoutMode=t,this.layoutChanged.emit(this._layoutMode)}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}get el(){return s(this)}};b.style=":host{display:block}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.display-flex{display:flex}.icon-color{--calcite-ui-icon-color:var(--calcite-ui-brand)}.icon{cursor:pointer}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}.header-text{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);padding-inline:0.75rem;padding-block:0.875rem;line-height:1.25rem}.img-background{background-repeat:no-repeat;background-size:100% 100%;width:38px;height:26px}.grid-background{background-image:url('../../assets/data/images/grid.png')}.horizontal-background{background-image:url('../../assets/data/images/horizontal.png')}.vertical-background{background-image:url('../../assets/data/images/vertical.png')}";const f=class{constructor(i){t(this,i),this.mapChanged=a(this,"mapChanged",7),this._loadedId="",this.mapInfos=[],this.mapView=void 0,this._webMapInfo=void 0}async mapInfoChange(t){this._loadMap(t.detail)}async componentWillLoad(){await this._initModules()}render(){return i(e,null,i("map-picker",{mapInfos:this.mapInfos}),i("div",{class:"map-height",ref:t=>this._mapDiv=t}),i("map-tools",{class:"map-tools"}))}async _initModules(){const[t,i]=await d(["esri/WebMap","esri/views/MapView"]);this.WebMap=t,this.MapView=i}_loadMap(t){let i=null==t?void 0:t.id;if(this._webMapInfo=(""===i||!i)&&this.mapInfos.length>0?this.mapInfos[0]:t,i=this._webMapInfo.id,this._loadedId!==i){const t=new this.WebMap({portalItem:{id:i}});this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"top-left"}),this._loadedId=i,this.mapChanged.emit(this.mapView)}}get el(){return s(this)}};f.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 58px)}.esri-zoom{display:none !important}.map-tools{position:absolute;top:40px;right:0px;padding:1rem}";export{m as card_manager,u as layer_table,b as layout_manager,f as map_card}
|
6
|
+
import{r as t,h as i,H as e,g as s,c as a}from"./p-9310b882.js";import{g as l}from"./p-a0a2c53d.js";import{q as n,a as o,b as h,g as c,c as r}from"./p-f8dd2784.js";import{l as d}from"./p-6de98c51.js";import{d as p}from"./p-75f26870.js";import{E as g}from"./p-868df4a0.js";import"./p-e1a4994d.js";const m=class{constructor(i){t(this,i),this.layer=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._cardLoading=!1,this._graphics=void 0,this._translations=void 0}async featureSelectionChange(t){const i=t.detail;this._cardLoading=!0;const e=i.length>0?await n(i,this.layer,[],!1,this.mapView.spatialReference):[];this._graphics=e,this._cardLoading=!1}async layerSelectionChange(t){const i=t.detail[0];this.layer=await o(this.mapView,i)}async componentWillLoad(){await this._getTranslations()}render(){var t,s;const a=(null===(t=this._graphics)||void 0===t?void 0:t.length)>0?"":"display-none",l=(null===(s=this._graphics)||void 0===s?void 0:s.length)>0?"display-none":"";return i(e,null,i("div",{class:"border-rounded overflow-auto height-full"},i("calcite-shell",{class:"position-relative padding-1 "+a},i("div",null,i("info-card",{graphics:this._graphics,isLoading:this._cardLoading,mapView:this.mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))),i("div",{class:"padding-1 "+l},i("calcite-notice",{icon:"table",open:!0},i("div",{slot:"message"},this._translations.selectFeaturesToStart)))))}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}get el(){return s(this)}};m.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.border-rounded{border:1px solid var(--calcite-ui-border-2);border-radius:5px}.height-full{height:100%}card-manager{display:block}";const u=class{constructor(i){t(this,i),this.featureSelectionChange=a(this,"featureSelectionChange",7),this._allIds=[],this.onTableNodeCreate=t=>{this._tableNode=t,this._getTable(t)},this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._alertOpen=!1,this._fetchingData=!1,this._layer=void 0,this._selectedIndexes=[],this._showOnlySelected=!1,this._translations=void 0}async mapViewWatchHandler(){this._fetchingData=!0;const t=await h(this.mapView);this._layer=await o(this.mapView,t[0]),this._resetTable(),this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})),this._fetchingData=!1}async _layerWatchHandler(){this._fetchingData=!0,this._resetTable(),this._fetchingData=!1}async getSelectedGraphics(){return this._selectedIndexes.length>0?await this._getGraphics(this._selectedIndexes):[]}async selectionChanged(t){if(this.zoomAndScrollToSelected){const i=t.detail,e=i.getObjectId(),s=this._table.viewModel.getObjectIdIndex(e);this._table.scrollToIndex(s);const a=i.layer;let l;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===a.title&&"feature"===t.layer.type)return l=t,!0})),l&&await c([e],l,this.mapView,!0)}}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){if(!this._layer)return null;const t=this._fetchingData?"display-none":"",s=this._fetchingData?"":"display-none",a=this._alertShowAction?"":"display-none";return i(e,null,i("calcite-shell",null,this._getTableControlRow("header"),i("div",{class:"height-full width-full"},i("calcite-panel",{class:"height-full width-full"},i("calcite-loader",{class:s,label:this._translations.fetchingData,scale:"l"}),i("div",{class:t,ref:this.onTableNodeCreate}))),i("calcite-alert",{icon:this._alertIcon,kind:this._alertKind,label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},i("div",{slot:"title"},this._alertTitle),i("div",{slot:"message"},this._alertMessage),i("calcite-link",{class:a,onClick:this._alertActionFunction,slot:"link"},this._alertActionText))))}async _initModules(){const[t,i]=await d(["esri/widgets/FeatureTable","esri/core/reactiveUtils"]);this.FeatureTable=t,this.reactiveUtils=i}_getTableControlRow(t){const e=this._selectedIndexes.length>0;return i("div",{class:"display-flex table-border height-51",slot:t},i("calcite-action-bar",{expandDisabled:!0,expanded:!0,layout:"horizontal"},i("div",{class:"border-end"},i("map-layer-picker",{appearance:"transparent",mapView:this.mapView,onLayerSelectionChange:t=>this._layerSelectionChanged(t),placeholderIcon:"layers",scale:"l",type:"dropdown"})),i("calcite-action",{appearance:"solid",disabled:!e,icon:"magnifying-glass",id:"magnifying-glass",label:this._translations.zoom,onClick:()=>this._zoom(),text:this._translations.zoom,textEnabled:!0}),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":"magnifying-glass"},i("span",null,this._translations.zoom)),i("calcite-action",{appearance:"solid",icon:"filter",id:"filter",onClick:()=>this._filter(),text:this._translations.filters,"text-enabled":"true",textEnabled:!0}),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":"filter"},i("span",null,this._translations.filters)),i("calcite-action",{appearance:"solid",disabled:!e,id:"trash",onClick:()=>this._delete(),text:""},i("calcite-button",{appearance:"transparent",iconStart:"trash",kind:"danger"},this._translations.delete)),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":"trash"},i("span",null,this._translations.delete)),i("calcite-action",{appearance:"solid",disabled:!e,icon:"erase",id:"erase",onClick:()=>this._clearSelection(),text:this._translations.clearSelection,"text-enabled":"true",textEnabled:!0}),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":"erase"},i("span",null,this._translations.clearSelection))),i("calcite-dropdown",null,i("calcite-action",{appearance:"solid",label:"",slot:"trigger",text:""},i("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),i("calcite-dropdown-group",{"selection-mode":"none"},i("calcite-dropdown-item",{iconStart:"list-check-all",onClick:()=>this._selectAll()},this._translations.selectAll),i("calcite-dropdown-item",{iconStart:"selected-items-filter",onClick:()=>this._toggleShowSelected()},this._showOnlySelected?this._translations.showAll:this._translations.showSelected),i("calcite-dropdown-item",{iconStart:"refresh",onClick:()=>this._switchSelected()},this._translations.switchSelected),i("calcite-dropdown-item",{iconStart:"refresh",onClick:()=>this._refresh()},this._translations.refresh),i("calcite-dropdown-item",{iconStart:"export",onClick:()=>{this._exportToCSV()}},this._translations.exportCSV))))}_getTable(t){this._layer&&(this._table=new this.FeatureTable({layer:this._layer,view:this.mapView,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{header:!1,menu:!1},container:t}),this._table.highlightIds.on("change",(()=>{this._selectedIndexes=this._table.highlightIds.toArray(),this._showOnlySelected&&(this._selectedIndexes.length>0?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this._selectedIndexes)})))}_resetTable(){this._layer&&this._table&&(this._clearSelection(),this.featureSelectionChange.emit(this._selectedIndexes),this._table.layer=this._layer,this._editEnabled=this._layer.editingEnabled,this._table.view=this.mapView,this._table.editingEnabled=this._editEnabled,this._table.clearSelectionFilter(),this._showOnlySelected=!1)}async _mapClicked(t){const i={include:this._layer},e=await this.mapView.hitTest(t.screenPoint,i);e.results.length>0&&(e.results.forEach((t=>{const i=t.graphic.getObjectId(),e=this._table.highlightIds.indexOf(i);e>-1?this._table.highlightIds.removeAt(e):this._table.highlightIds.add(i)})),this._showOnlySelected&&this._table.filterBySelection())}_alertClosed(){this._alertOpen=!1}_selectAll(){const t=this._allIds;this._table.highlightIds.addMany(t),this._selectedIndexes=t}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.clearSelectionFilter()}_clearSelection(){this._selectedIndexes=[],this._table.highlightIds.removeAll()}_filter(){alert("do whatever this button is supposed to do")}_switchSelected(){const t=[...this._selectedIndexes];this._selectedIndexes=this._allIds.reduce(((i,e,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]),this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this._selectedIndexes)}async _exportToCSV(){const t={},i=this._table.highlightIds.toArray();t[this._layer.id]={selectionSetNames:[],ids:i,layer:this._layer},p(t,!1,!0)}_refresh(){this._table.refresh()}_zoom(){this._table.zoomToSelection()}_delete(){this._editEnabled?(this._alertIcon="trash",this._alertTitle=this._translations.deleteRows,this._alertActionText=this._translations.delete,this._alertShowAction=!0,this._alertMessage=this._translations.confirm,this._alertKind="danger",this._alertActionFunction=()=>{this._layer.applyEdits({deleteFeatures:this._table.highlightIds.toArray()}),this._alertOpen=!1}):(this._alertIcon="layer-broken",this._alertTitle=this._translations.deleteDisabled,this._alertShowAction=!1,this._alertMessage=this._translations.enableEditing,this._alertKind="warning"),this._alertOpen=!0}async _getGraphics(t){return t.length>0?n(t,this._table.layer,[],!1,this.mapView.spatialReference):[]}async _layerSelectionChanged(t){const i=t.detail[0];i===this._layer.id&&0!==this._allIds.length||(this._fetchingData=!0,this._table.highlightIds.removeAll(),this._layer=await o(this.mapView,i),this._allIds=await r(this._layer),this._selectedIndexes=[],this._table.layer=this._layer,this._table.render(),this._fetchingData=!1)}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"]}}};u.style=":host{display:block}.height-full{height:100%}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.border-end{border-inline-end:1px solid var(--calcite-ui-border-2)}.padding-5{padding:5px}.height-51{height:51px}";const b=class{constructor(i){t(this,i),this.layoutChanged=a(this,"layoutChanged",7),this._layoutMode=g.GRID,this._translations=void 0}async componentWillLoad(){await this._getTranslations()}render(){return i(e,null,i("div",{class:"display-flex"},i("div",{class:"display-flex action-center"},i("calcite-icon",{class:"icon icon-color",icon:"information",id:"app-information-icon",scale:"s"}),i("calcite-popover",{closable:!0,label:"",referenceElement:"app-information-icon"},i("span",{class:"tooltip-message"},this._translations.appInfo))),i("div",{class:"header-text"},this._translations.layout),this._getAction("grid-background",g.GRID,this._translations.grid),this._getAction("vertical-background",g.VERTICAL,this._translations.vertical),this._getAction("horizontal-background",g.HORIZONTAL,this._translations.horizontal)))}_getAction(t,e,s){return i("div",null,i("calcite-action",{alignment:"center",appearance:"transparent",compact:!1,id:t,indicator:e===this._layoutMode,onClick:()=>{this._setLayoutMode(e)},text:""},i("div",{class:t+" img-background"})),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},i("span",null,s)))}_setLayoutMode(t){this._layoutMode=t,this.layoutChanged.emit(this._layoutMode)}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}get el(){return s(this)}};b.style=":host{display:block}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.display-flex{display:flex}.icon-color{--calcite-ui-icon-color:var(--calcite-ui-brand)}.icon{cursor:pointer}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}.header-text{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);padding-inline:0.75rem;padding-block:0.875rem;line-height:1.25rem}.img-background{background-repeat:no-repeat;background-size:100% 100%;width:38px;height:26px}.grid-background{background-image:url('../../assets/data/images/grid.png')}.horizontal-background{background-image:url('../../assets/data/images/horizontal.png')}.vertical-background{background-image:url('../../assets/data/images/vertical.png')}";const f=class{constructor(i){t(this,i),this.mapChanged=a(this,"mapChanged",7),this._loadedId="",this.mapInfos=[],this.mapView=void 0,this._webMapInfo=void 0}async mapInfoChange(t){this._loadMap(t.detail)}async componentWillLoad(){await this._initModules()}render(){return i(e,null,i("map-picker",{mapInfos:this.mapInfos}),i("div",{class:"map-height",ref:t=>this._mapDiv=t}),i("map-tools",{class:"map-tools"}))}async _initModules(){const[t,i]=await d(["esri/WebMap","esri/views/MapView"]);this.WebMap=t,this.MapView=i}_loadMap(t){let i=null==t?void 0:t.id;if(this._webMapInfo=(""===i||!i)&&this.mapInfos.length>0?this.mapInfos[0]:t,i=this._webMapInfo.id,this._loadedId!==i){const t=new this.WebMap({portalItem:{id:i}});this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"top-left"}),this._loadedId=i,this.mapChanged.emit(this.mapView)}}get el(){return s(this)}};f.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 58px)}.esri-zoom{display:none !important}.map-tools{position:absolute;top:40px;right:0px;padding:1rem}";export{m as card_manager,u as layer_table,b as layout_manager,f as map_card}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,h as i,F as e,g as s,c as o}from"./p-9310b882.js";import{c as n,d as a}from"./p-525f1188.js";import{g as c,t as l,i as r,h}from"./p-6b2f2b85.js";import{c as d,s as u,a as p}from"./p-d62784a4.js";import{c as m,d as f}from"./p-56300653.js";import{u as g,c as v,d as x,s as b}from"./p-1ede2e18.js";import{S as y,C as w,I}from"./p-5961c4e0.js";import{S as k,I as M}from"./p-f055a840.js";import{g as j}from"./p-18f1772b.js";import{g as E}from"./p-3fc17d72.js";import{i as C}from"./p-2291b598.js";import"./p-6f2edf5b.js";import"./p-18869c0f.js";const z=class{constructor(i){t(this,i),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.expanded=!1,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.overlayPositioning="absolute",this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){g(this,this.effectiveLocale)}async setFocus(){await d(this),this.el.focus()}connectedCallback(){m(this),v(this),n(this)}disconnectedCallback(){f(this),x(this),a(this)}async componentWillLoad(){u(this),await b(this)}componentDidLoad(){p(this)}renderTooltip(){const{el:t}=this;return c(t,k.menuTooltip)?i("slot",{name:k.menuTooltip,slot:y.tooltip}):null}renderMenu(){const{el:t,expanded:e,menuOpen:s,scale:o,layout:n,messages:a,overlayPositioning:l}=this;return c(t,k.menuActions)?i("calcite-action-menu",{expanded:e,flipPlacements:["left","right"],label:a.more,onCalciteActionMenuOpen:this.setMenuOpen,open:s,overlayPositioning:l,placement:"horizontal"===n?"bottom-start":"leading-start",scale:o},i("calcite-action",{icon:M.menu,scale:o,slot:y.trigger,text:a.more,textEnabled:e}),i("slot",{name:k.menuActions}),this.renderTooltip()):null}render(){return i(e,null,i("slot",null),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};z.style=':host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]){flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}:host([hidden]){display:none}[hidden]{display:none}';const H=["ArrowUp","ArrowDown","End","Home"],A=class{constructor(i){t(this,i),this.calciteActionMenuOpen=o(this,"calciteActionMenuOpen",6),this.actionElements=[],this.guid=`calcite-action-menu-${E()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.connectMenuButtonEl=()=>{const{menuButtonId:t,menuId:i,open:e,label:s}=this,o=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==o&&(this.disconnectMenuButtonEl(),this.menuButtonEl=o,this.setTooltipReferenceElement(),o&&(o.active=e,o.setAttribute("aria-controls",i),o.setAttribute("aria-expanded",l(e)),o.setAttribute("aria-haspopup","true"),o.id||(o.id=t),o.label||(o.label=s),o.text||(o.text=s),o.addEventListener("pointerdown",this.menuButtonClick),o.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("pointerdown",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.slottedMenuButtonEl=i[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=t=>{r(t)&&this.toggleOpen()},this.updateTooltip=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.tooltipEl=i[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:i,menuButtonEl:e,open:s}=this;t&&(t.referenceElement=i||s?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:s}=this,o=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=o),t.active=i===s},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.handleDefaultSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.actionElements=i},this.menuButtonKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:s,open:o}=this;if(e.length){if(C(i)){if(t.preventDefault(),!o)return void this.toggleOpen();const i=e[s];i?i.click():this.toggleOpen(!1)}if("Tab"!==i)return"Escape"===i?(this.toggleOpen(!1),void t.preventDefault()):void this.handleActionNavigation(t,i,e);this.open=!1}},this.handleActionNavigation=(t,i,e)=>{if(!this.isValidKey(i,H))return;if(t.preventDefault(),!this.open)return this.toggleOpen(),"Home"!==i&&"ArrowDown"!==i||(this.activeMenuItemIndex=0),void("End"!==i&&"ArrowUp"!==i||(this.activeMenuItemIndex=e.length-1));"Home"===i&&(this.activeMenuItemIndex=0),"End"===i&&(this.activeMenuItemIndex=e.length-1);const s=this.activeMenuItemIndex;"ArrowUp"===i&&(this.activeMenuItemIndex=j(Math.max(s-1,-1),e.length)),"ArrowDown"===i&&(this.activeMenuItemIndex=j(s+1,e.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t},this.expanded=!1,this.flipPlacements=void 0,this.label=void 0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale=void 0,this.menuButtonEl=void 0,this.activeMenuItemIndex=-1}componentWillLoad(){u(this)}componentDidLoad(){p(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}closeCalciteActionMenuOnClick(t){r(t)&&(t.composedPath().includes(this.el)||(this.open=!1))}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){return await d(this),h(this.menuButtonEl)}renderMenuButton(){const{label:t,scale:e,expanded:s}=this;return i("slot",{name:y.trigger,onSlotchange:this.setMenuButtonEl},i("calcite-action",{class:w.defaultTrigger,icon:I.menu,scale:e,text:t,textEnabled:s,ref:this.setDefaultMenuButtonEl}))}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:e,open:s,menuId:o,menuButtonEl:n,label:a,placement:c,overlayPositioning:l,flipPlacements:r}=this,h=t[e];return i("calcite-popover",{flipPlacements:r,focusTrapDisabled:!0,label:a,offsetDistance:0,open:s,overlayPositioning:l,placement:c,pointerDisabled:!0,referenceElement:n},i("div",{"aria-activedescendant":(null==h?void 0:h.id)||null,"aria-labelledby":null==n?void 0:n.id,class:w.menu,id:o,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},i("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return i(e,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:y.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return s(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};A.style=":host{box-sizing:border-box;display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:0px}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{flex-direction:column;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}";export{z as calcite_action_group,A as calcite_action_menu}
|
@@ -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 s}from"./p-6431fd69.js";import"./p-9310b882.js";import"./p-2d70d3fd.js";import"./p-6b2f2b85.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";import"./p-38ef0684.js";import"./p-2291b598.js";import"./p-3bd99fc9.js";import"./p-d62784a4.js";import"./p-56300653.js";import"./p-6f2edf5b.js";import"./p-5383607a.js";import"./p-a777b18c.js";import"./p-1ede2e18.js";var m={name:"lv",weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),weekStart:1,weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),ordinal:function(s){return s},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},relativeTime:{future:"pēc %s",past:"pirms %s",s:"dažām sekundēm",m:"minūtes",mm:"%d minūtēm",h:"stundas",hh:"%d stundām",d:"dienas",dd:"%d dienām",M:"mēneša",MM:"%d mēnešiem",y:"gada",yy:"%d gadiem"}};s.locale(m,null,!0);export default m;
|
@@ -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,h as i,g as t}from"./p-9310b882.js";import{v as s}from"./p-6b2f2b85.js";import{g as r,i as n}from"./p-fb7e0054.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.6.0
|
11
|
+
*/const a=class{constructor(i){e(this,i),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 i("img",{alt:this.label||"",class:"thumbnail",onError:()=>this.thumbnailFailedToLoad=!0,src:this.thumbnail});const e=this.generateInitials(),t=this.generateFillColor();return i("span",{"aria-label":this.label||this.fullName,class:"background",role:"figure",style:{backgroundColor:t}},e?i("span",{"aria-hidden":"true",class:"initials"},e):i("calcite-icon",{class:"icon",icon:"user",scale:this.scale}))}generateFillColor(){const{userId:e,username:i,fullName:t,el:a}=this,o=s(a),l=e&&`#${e.substr(e.length-6)}`,c=i||t||"",h=l&&n(l)?l:function(e){let i=0;for(let t=0;t<e.length;t++)i=e.charCodeAt(t)+((i<<5)-i);let t="#";for(let e=0;e<3;e++)t+=("00"+(i>>8*e&255).toString(16)).substr(-2);return t}(c);return(e||c)&&n(h)?`hsl(${function(e){return function(e){let{r:i,g:t,b:s}=e;i/=255,t/=255,s/=255;const r=Math.max(i,t,s),n=Math.min(i,t,s),a=r-n;if(r===n)return 0;let o=(r+n)/2;switch(r){case i:o=(t-s)/a+(t<s?6:0);break;case t:o=(s-i)/a+2;break;case s:o=(i-t)/a+4}return Math.round(60*o)}(r(e))}(h)}, 60%, ${"dark"===o?20:90}%)`:"var(--calcite-ui-foreground-2)"}generateInitials(){const{fullName:e,username:i}=this;return e?e.trim().split(" ").map((e=>e.substring(0,1))).join(""):!!i&&i.substring(0,2)}get el(){return t(this)}};a.style=":host{display:inline-block;overflow:hidden;border-radius:50%}: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:50%}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase;color:var(--calcite-ui-text-2)}.thumbnail{block-size:100%;inline-size:100%;border-radius:50%}:host([hidden]){display:none}[hidden]{display:none}";export{a as calcite_avatar}
|
@@ -5,7 +5,7 @@
|
|
5
5
|
*/
|
6
6
|
/*!
|
7
7
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
|
-
* See https://github.com/Esri/calcite-
|
9
|
-
* v1.
|
8
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
9
|
+
* v1.6.0
|
10
10
|
*/
|
11
11
|
const s={sticky:"sticky-pos"};var c;!function(s){s.circle="circle",s.square="square",s.grip="grip"}(c||(c={}));const n={menuActions:"menu-actions"};export{s as C,c as I,n as S}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as s,h as i,g as e}from"./p-9310b882.js";import{c as o,C as a,D as n,a as l,H as r,O as h,b as c,S as d,d as p,R as u}from"./p-58ce5639.js";import{i as f,a as m}from"./p-6b2f2b85.js";import{C as v,n as g,h as b,o as w,a as x,b as y,p as C,c as k,t as S,d as A,e as D,f as $}from"./p-fb7e0054.js";import{c as j,d as z,u as F}from"./p-38ef0684.js";import{i as L}from"./p-2291b598.js";import{c as O,s as M,a as N}from"./p-d62784a4.js";import{c as P,d as I}from"./p-56300653.js";import{r as K,c as E,a as U}from"./p-b9749e09.js";import{u as H,s as R,c as T,d as X}from"./p-1ede2e18.js";import{t as V}from"./p-6665fa1f.js";import"./p-e1a4994d.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";import"./p-6f2edf5b.js";import"./p-a82f35c9.js";const q=class{constructor(e){t(this,e),this.calciteColorPickerChange=s(this,"calciteColorPickerChange",6),this.calciteColorPickerInput=s(this,"calciteColorPickerInput",6),this.internalColorUpdateContext=null,this.mode=v.HEX,this.shiftKeyChannelAdjustment=0,this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)},this.handleColorFieldScopeKeyDown=t=>{const{key:s}=t,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[s]&&(t.preventDefault(),this.scopeOrientation="ArrowDown"===s||"ArrowUp"===s?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[s].x||0,this.colorFieldScopeTop+i[s].y||0,!1))},this.handleHueScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(e[i]){t.preventDefault();const o=e[i]*s,a=this.baseColorFieldColor.hue(),n=this.baseColorFieldColor.hue(a+o);this.internalColorSet(n,!1)}},this.handleHexInputChange=t=>{t.stopPropagation();const{allowEmpty:s,color:i}=this,e=t.target.value;!s||e?e!==(i&&g(b(i,y(this.mode))))&&this.internalColorSet(o(e)):this.internalColorSet(null)},this.handleSavedColorSelect=t=>{this.internalColorSet(o(t.currentTarget.color))},this.handleChannelInput=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=3===i?h.max:"rgb"===this.channelMode?u[Object.keys(u)[i]]:r[Object.keys(r)[i]];let o;if(this.allowEmpty&&!s.value)o="";else{const t=Number(s.value);o=E(t+this.shiftKeyChannelAdjustment,0,e).toString()}s.value=o},this.handleChannelChange=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];if(this.allowEmpty&&!s.value)return this.channels=[null,null,null,null],void this.internalColorSet(null);const o=3===i,a=Number(s.value);e[i]=o?w(a):a,this.updateColorFromChannels(e)},this.handleSavedColorKeyDown=t=>{L(t.key)&&(t.preventDefault(),this.handleSavedColorSelect(t))},this.handleColorFieldPointerDown=t=>{if(!f(t))return;const{offsetX:s,offsetY:i}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.colorFieldRenderingContext,bounds:this.colorFieldRenderingContext.canvas.getBoundingClientRect()},this.captureColorFieldColor(s,i),this.colorFieldScopeNode.focus()},this.handleHueSliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.hueSliderRenderingContext,bounds:this.hueSliderRenderingContext.canvas.getBoundingClientRect()},this.captureHueSliderColor(s),this.hueScopeNode.focus()},this.handleOpacitySliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.opacitySliderRenderingContext,bounds:this.opacitySliderRenderingContext.canvas.getBoundingClientRect()},this.captureOpacitySliderValue(s),this.opacityScopeNode.focus()},this.globalPointerUpHandler=t=>{if(!f(t))return;const s=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),s&&this.calciteColorPickerChange.emit()},this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:s,el:i}=this;if(!i.isConnected||!s)return;const{context:e,bounds:o}=s;let a,n;const{clientX:l,clientY:r}=t;e.canvas.matches(":hover")?(a=l-o.x,n=r-o.y):(a=l<o.x+o.width&&l>o.x?l-o.x:l<o.x?0:o.width,n=r<o.y+o.height&&r>o.y?r-o.y:r<o.y?0:o.height),e===this.colorFieldRenderingContext?this.captureColorFieldColor(a,n,!1):e===this.hueSliderRenderingContext?this.captureHueSliderColor(a):e===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(a)},this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t},this.storeHueScope=t=>{this.hueScopeNode=t},this.renderChannelsTabTitle=t=>{const{channelMode:s,messages:e}=this;return i("calcite-tab-title",{class:a.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:t===s},"rgb"===t?e.rgb:e.hsv)},this.renderChannelsTab=t=>{const{allowEmpty:s,channelMode:e,channels:o,messages:n,alphaChannel:l}=this,r=t===e,h="rgb"===t?[n.red,n.green,n.blue]:[n.hue,n.saturation,n.value],c=m(this.el),d=l?o:o.slice(0,3);return i("calcite-tab",{class:a.control,key:t,selected:r},i("div",{class:a.channels,dir:"ltr"},d.map(((t,i)=>{const e=3===i;return e&&(t=s&&!t?t:x(t)),this.renderChannel(t,i,h[i],c,e?"%":"")}))))},this.renderChannel=(t,s,e,o,n)=>i("calcite-input-number",{class:a.channel,"data-channel-index":s,dir:o,key:s,label:e,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onKeyDown:this.handleKeyDown,scale:"l"===this.scale?"m":"s",style:{marginLeft:s>0&&("s"!==this.scale||!this.alphaChannel||3!==s)?"-1px":""},suffixText:n,value:null==t?void 0:t.toString()}),this.deleteColor=()=>{const t=b(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(t)>-1))return;const s=this.savedColors.filter((s=>s!==t));this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.saveColor=()=>{const t=b(this.color,this.alphaChannel);if(this.savedColors.indexOf(t)>-1)return;const s=[...this.savedColors,t];this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.drawColorControls=V(((t="all")=>{"all"!==t&&"color-field"!==t||!this.colorFieldRenderingContext||this.drawColorField(),"all"!==t&&"hue-slider"!==t||!this.hueSliderRenderingContext||this.drawHueSlider(),this.alphaChannel&&("all"===t||"opacity-slider"===t)&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()}),16),this.captureColorFieldColor=(t,s,i=!0)=>{const{dimensions:{colorField:{height:e,width:o}}}=this,a=Math.round(r.s/o*t),n=Math.round(r.v/e*(e-s));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(a).value(n),i)},this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls()},this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider()},this.initOpacitySlider=t=>{this.opacitySliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider()},this.storeOpacityScope=t=>{this.opacityScopeNode=t},this.handleOpacityScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(e[i]){t.preventDefault();const o=e[i]*s,a=this.baseColorFieldColor.alpha(),n=this.baseColorFieldColor.alpha(a+o);this.internalColorSet(n,!1)}},this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.color=n,this.disabled=!1,this.format="auto",this.hideChannels=!1,this.hexDisabled=!1,this.hideHex=!1,this.hideSaved=!1,this.savedDisabled=!1,this.scale="m",this.storageId=void 0,this.messageOverrides=void 0,this.numberingSystem=void 0,this.value=g(b(n,this.alphaChannel)),this.defaultMessages=void 0,this.channelMode="rgb",this.channels=this.toChannels(n),this.dimensions=l.m,this.effectiveLocale="",this.messages=void 0,this.savedColors=[],this.colorFieldScopeTop=void 0,this.colorFieldScopeLeft=void 0,this.hueScopeLeft=void 0,this.opacityScopeLeft=void 0,this.scopeOrientation=void 0}handleAlphaChannelChange(t){const{format:s}=this;t&&"auto"!==s&&!y(s)&&(console.warn(`ignoring alphaChannel as the current format (${s}) does not support alpha`),this.alphaChannel=!1)}handleColorChange(t,s){this.drawColorControls(),this.updateChannelsFromColor(t),this.previousColor=s}handleFormatChange(t){this.setMode(t),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(t="m"){this.updateDimensions(t),this.updateCanvasSize("all"),this.drawColorControls()}onMessagesChange(){}handleValueChange(t,s){const{allowEmpty:i,format:e}=this;let a=!1;if(!i||t){const i=C(t);if(!i||"auto"!==e&&i!==e)return this.showIncompatibleColorWarning(t,e),void(this.value=s);a=this.mode!==i,this.setMode(i,null===this.internalColorUpdateContext)}const n=this.activeCanvasInfo;if("initial"===this.internalColorUpdateContext)return;if("user-interaction"===this.internalColorUpdateContext)return this.calciteColorPickerInput.emit(),void(n||this.calciteColorPickerChange.emit());const l=i&&!t?null:o(null!=t&&"object"==typeof t&&y(this.mode)?$(t):t),r=!k(l,this.color);(a||r)&&this.internalColorSet(l,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}get baseColorFieldColor(){return this.color||this.previousColor||n}effectiveLocaleChange(){H(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:s}=t;if("ArrowUp"!==s&&"ArrowDown"!==s||!t.composedPath().some((t=>{var s;return null===(s=t.classList)||void 0===s?void 0:s.contains(a.channel)})))return;const{shiftKey:i}=t;if(t.preventDefault(),!this.color)return this.internalColorSet(this.previousColor),void t.stopPropagation();this.shiftKeyChannelAdjustment="ArrowUp"===s&&i?9:"ArrowDown"===s&&i?-9:0}async setFocus(){await O(this),this.el.focus()}async componentWillLoad(){M(this);const{allowEmpty:t,color:s,format:i,value:e}=this,a=t&&!e,n=C(e),l=a||"auto"===i&&n||i===n,r=a?null:l?o(e):s;l||this.showIncompatibleColorWarning(e,i),this.setMode(i,!1),this.internalColorSet(r,!1,"initial"),this.updateDimensions(this.scale);const h=`${p}${this.storageId}`;this.storageId&&localStorage.getItem(h)&&(this.savedColors=JSON.parse(localStorage.getItem(h))),await R(this)}connectedCallback(){j(this),P(this),T(this)}componentDidLoad(){N(this)}disconnectedCallback(){document.removeEventListener("pointermove",this.globalPointerMoveHandler),document.removeEventListener("pointerup",this.globalPointerUpHandler),z(this),I(this),X(this)}componentDidRender(){F(this)}render(){const{allowEmpty:t,channelsDisabled:s,color:e,colorFieldScopeLeft:o,colorFieldScopeTop:l,dimensions:{slider:{width:c},thumb:{radius:d}},hexDisabled:p,hideChannels:u,hideHex:f,hideSaved:m,hueScopeLeft:v,messages:g,alphaChannel:w,opacityScopeLeft:y,savedColors:C,savedDisabled:k,scale:S,scopeOrientation:A}=this,D=e?b(e,w):null,$=d,j=null!=v?v:c*n.hue()/r.h,z=d,F=null!=y?y:c*x(n.alpha())/h.max,L=null===e,O="vertical"===A,M=p||f,N=s||u,P=k||m,[I,K]=this.getAdjustedScopePosition(o,l),[E,U]=this.getAdjustedScopePosition(j,$),[H,R]=this.getAdjustedScopePosition(F,z);return i("div",{class:a.container},i("div",{class:a.controlAndScope},i("canvas",{class:a.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),i("div",{"aria-label":O?g.value:g.saturation,"aria-valuemax":O?r.v:r.s,"aria-valuemin":"0","aria-valuenow":(O?null==e?void 0:e.saturationv():null==e?void 0:e.value())||"0",class:{[a.scope]:!0,[a.colorFieldScope]:!0},onKeyDown:this.handleColorFieldScopeKeyDown,role:"slider",style:{top:`${K||0}px`,left:`${I||0}px`},tabindex:"0",ref:this.storeColorFieldScope})),i("div",{class:a.previewAndSliders},i("calcite-color-picker-swatch",{class:a.preview,color:D,scale:"l"}),i("div",{class:a.sliders},i("div",{class:a.controlAndScope},i("canvas",{class:{[a.slider]:!0,[a.hueSlider]:!0},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),i("div",{"aria-label":g.hue,"aria-valuemax":r.h,"aria-valuemin":"0","aria-valuenow":(null==e?void 0:e.round().hue())||n.round().hue(),class:{[a.scope]:!0,[a.hueScope]:!0},onKeyDown:this.handleHueScopeKeyDown,role:"slider",style:{top:`${U}px`,left:`${E}px`},tabindex:"0",ref:this.storeHueScope})),w?i("div",{class:a.controlAndScope},i("canvas",{class:{[a.slider]:!0,[a.opacitySlider]:!0},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),i("div",{"aria-label":g.opacity,"aria-valuemax":h.max,"aria-valuemin":h.min,"aria-valuenow":(e||n).round().alpha(),class:{[a.scope]:!0,[a.opacityScope]:!0},onKeyDown:this.handleOpacityScopeKeyDown,role:"slider",style:{top:`${R}px`,left:`${H}px`},tabindex:"0",ref:this.storeOpacityScope})):null)),M&&N?null:i("div",{class:{[a.controlSection]:!0,[a.section]:!0}},i("div",{class:a.hexAndChannelsGroup},M?null:i("div",{class:a.hexOptions},i("calcite-color-picker-hex-input",{allowEmpty:t,alphaChannel:w,class:a.control,messages:g,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:S,value:D})),N?null:i("calcite-tabs",{class:{[a.colorModeContainer]:!0,[a.splitSection]:!0},scale:"l"===S?"m":"s"},i("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),P?null:i("div",{class:{[a.savedColorsSection]:!0,[a.section]:!0}},i("div",{class:a.header},i("label",null,g.saved),i("div",{class:a.savedColorsButtons},i("calcite-button",{appearance:"transparent",class:a.deleteColor,disabled:L,iconStart:"minus",kind:"neutral",label:g.deleteColor,onClick:this.deleteColor,scale:S,type:"button"}),i("calcite-button",{appearance:"transparent",class:a.saveColor,disabled:L,iconStart:"plus",kind:"neutral",label:g.saveColor,onClick:this.saveColor,scale:S,type:"button"}))),C.length>0?i("div",{class:a.savedColors},[...C.map((t=>i("calcite-color-picker-swatch",{class:a.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:S,tabIndex:0})))]):null))}handleKeyDown(t){"Enter"===t.key&&t.preventDefault()}showIncompatibleColorWarning(t,s){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${s})`)}setMode(t,s=!0){this.mode=this.ensureCompatibleMode("auto"===t?this.mode:t,s)}ensureCompatibleMode(t,s){const{alphaChannel:i}=this,e=y(t);if(i&&!e){const i=D(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}if(!i&&e){const i=S(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}return t}captureHueSliderColor(t){const{dimensions:{slider:{width:s}}}=this;this.internalColorSet(this.baseColorFieldColor.hue(c/s*t),!1)}captureOpacitySliderValue(t){const{dimensions:{slider:{width:s}}}=this,i=w(h.max/s*t);this.internalColorSet(this.baseColorFieldColor.alpha(i),!1)}internalColorSet(t,s=!0,i="user-interaction"){s&&k(t,this.color)||(this.internalColorUpdateContext=i,this.color=t,this.value=this.toValue(t),this.internalColorUpdateContext=null)}toValue(t,s=this.mode){if(!t)return null;if(s.includes("hex")){const i=s===v.HEXA;return g(b(t.round(),i),i)}if(s.includes("-css")){const i=t[s.replace("-css","").replace("a","")]().round().string();return(s.endsWith("a")||s.endsWith("a-css"))&&1===t.alpha()?`${i.slice(0,3)}a(${i.slice(4,-1)}, ${t.alpha()})`:i}const i=t[S(s)]().round().object();return s.endsWith("a")?A(i):i}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:s}}}=this;return 2*s-t}updateDimensions(t="m"){this.dimensions=l[t]}drawColorField(){const t=this.colorFieldRenderingContext,{dimensions:{colorField:{height:s,width:i}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),t.fillRect(0,0,i,s);const e=t.createLinearGradient(0,0,i,0);e.addColorStop(0,"rgba(255,255,255,1)"),e.addColorStop(1,"rgba(255,255,255,0)"),t.fillStyle=e,t.fillRect(0,0,i,s);const o=t.createLinearGradient(0,0,0,s);o.addColorStop(0,"rgba(0,0,0,0)"),o.addColorStop(1,"rgba(0,0,0,1)"),t.fillStyle=o,t.fillRect(0,0,i,s),this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:s,width:i}){if(!t)return;const e=window.devicePixelRatio||1;t.width=i*e,t.height=s*e,t.style.height=`${s}px`,t.style.width=`${i}px`,t.getContext("2d").scale(e,e)}updateCanvasSize(t="all"){var s,i,e;const{dimensions:o}=this;"all"!==t&&"color-field"!==t||this.setCanvasContextSize(null===(s=this.colorFieldRenderingContext)||void 0===s?void 0:s.canvas,o.colorField);const a={width:o.slider.width,height:o.slider.height+2*(o.thumb.radius-o.slider.height/2)};"all"!==t&&"hue-slider"!==t||this.setCanvasContextSize(null===(i=this.hueSliderRenderingContext)||void 0===i?void 0:i.canvas,a),"all"!==t&&"opacity-slider"!==t||this.setCanvasContextSize(null===(e=this.opacitySliderRenderingContext)||void 0===e?void 0:e.canvas,a)}drawActiveColorFieldColor(){const{color:t}=this;if(!t)return;const s=t.hsv(),{dimensions:{colorField:{height:i,width:e},thumb:{radius:o}}}=this,a=s.saturationv()/(r.s/e),n=i-s.value()/(r.v/i);requestAnimationFrame((()=>{this.colorFieldScopeLeft=a,this.colorFieldScopeTop=n})),this.drawThumb(this.colorFieldRenderingContext,o,a,n,s)}drawThumb(t,s,i,e,o){const a=2*Math.PI;t.beginPath(),t.arc(i,e,s,0,a),t.fillStyle="#fff",t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),t.beginPath(),t.arc(i,e,s-3,0,a),t.fillStyle=o.rgb().alpha(1).string(),t.fill()}drawActiveHueSliderColor(){const{color:t}=this;if(!t)return;const s=t.hsv().saturationv(100).value(100),{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,o=s.hue()/(c/i),a=e,n=this.getSliderBoundX(o,i,e);requestAnimationFrame((()=>{this.hueScopeLeft=n})),this.drawThumb(this.hueSliderRenderingContext,e,n,a,s)}drawHueSlider(){const t=this.hueSliderRenderingContext,{dimensions:{slider:{height:s,width:i},thumb:{radius:e}}}=this,a=e-s/2,n=t.createLinearGradient(0,0,i,0),l=["red","yellow","lime","cyan","blue","magenta","#ff0004"],r=1/(l.length-1);let h=0;l.forEach((t=>{n.addColorStop(h,o(t).string()),h+=r})),t.clearRect(0,0,i,s+2*this.getSliderCapSpacing()),this.drawSliderPath(t,s,i,0,a),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext,{baseColorFieldColor:s,dimensions:{slider:{height:i,width:e},thumb:{radius:o}}}=this,a=o-i/2;t.clearRect(0,0,e,i+2*this.getSliderCapSpacing());const n=t.createLinearGradient(0,a,e,0),l=s.rgb().alpha(0),r=s.rgb().alpha(.5),h=s.rgb().alpha(1);n.addColorStop(0,l.string()),n.addColorStop(.5,r.string()),n.addColorStop(1,h.string()),this.drawSliderPath(t,i,e,0,a);const c=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=c,t.fill(),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(t,s,i,e,o){const a=s/2+1;t.beginPath(),t.moveTo(e+a,o),t.lineTo(e+i-a,o),t.quadraticCurveTo(e+i,o,e+i,o+a),t.lineTo(e+i,o+s-a),t.quadraticCurveTo(e+i,o+s,e+i-a,o+s),t.lineTo(e+a,o+s),t.quadraticCurveTo(e,o+s,e,o+s-a),t.lineTo(e,o+a),t.quadraticCurveTo(e,o,e+a,o),t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;const t=document.createElement("canvas");t.width=10,t.height=10;const s=t.getContext("2d");return s.fillStyle="#ccc",s.fillRect(0,0,10,10),s.fillStyle="#fff",s.fillRect(0,0,5,5),s.fillRect(5,5,5,5),this.checkerPattern=t,t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t)return;const s=t,{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,o=x(s.alpha())/(h.max/i),a=e,n=this.getSliderBoundX(o,i,e);requestAnimationFrame((()=>{this.opacityScopeLeft=n})),this.drawThumb(this.opacitySliderRenderingContext,e,n,a,s)}getSliderBoundX(t,s,i){const e=U(t,s,i);return 0===e?t:-1===e?K(t,0,s,i,2*i):K(t,0,s,s-2*i,s-i)}updateColorFromChannels(t){this.internalColorSet(o(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:s}=this,i=t[s]().array().map(((t,s)=>3===s?t:Math.floor(t)));return 3===i.length&&i.push(1),i}getAdjustedScopePosition(t,s){return[t-d/2,s-d/2]}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{alphaChannel:["handleAlphaChannelChange"],color:["handleColorChange"],format:["handleFormatChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};q.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-app-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:11px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-ui-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';export{q as calcite_color_picker}
|
@@ -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 i,c as t,h as c,H as e,g as o}from"./p-9310b882.js";import{c as n,d as a}from"./p-525f1188.js";import{g as r,a as s,t as l,c as d}from"./p-6b2f2b85.js";import{C as h}from"./p-18869c0f.js";import"./p-6f2edf5b.js";import"./p-3fc17d72.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.6.0
|
11
|
+
*/const p="actions-start",m="actions-end",v=class{constructor(c){i(this,c),this.calciteInternalAccordionItemSelect=t(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=t(this,"calciteInternalAccordionItemClose",6),this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconPosition=void 0,this.iconType=void 0,this.accordionParent=void 0,this.scale=void 0}connectedCallback(){n(this)}disconnectedCallback(){a(this)}renderActionsStart(){const{el:i}=this;return r(i,p)?c("div",{class:"actions-start"},c("slot",{name:p})):null}renderActionsEnd(){const{el:i}=this;return r(i,m)?c("div",{class:"actions-end"},c("slot",{name:m})):null}render(){const{iconFlipRtl:i}=this,t=s(this.el),o=this.iconStart?c("calcite-icon",{class:"icon--start",flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:"l"===this.scale?"m":"s"}):null,n=this.iconEnd?c("calcite-icon",{class:"icon--end",flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:"l"===this.scale?"m":"s"}):null,{description:a}=this;return c(e,null,c("div",{class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},c("div",{class:{header:!0,[h.rtl]:"rtl"===t}},this.renderActionsStart(),c("div",{"aria-expanded":l(this.expanded),class:"header-content",onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},c("div",{class:"header-container"},o,c("div",{class:"header-text"},c("span",{class:"heading"},this.heading),a?c("span",{class:"description"},a):null),n),c("calcite-icon",{class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:"l"===this.scale?"m":"s"})),this.renderActionsEnd()),c("div",{class:"content"},c("slot",null))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){const[t]=i.composedPath(),c=d(this.el,"calcite-accordion");t===c&&(this.determineActiveItem(c.selectionMode,i.detail.requestedAccordionItem),i.stopPropagation())}accordionItemSyncHandler(i){const[t]=i.composedPath(),c=this.el;if(c.parentElement===t)return;const e=d(c,"calcite-accordion");t===e&&(c.iconPosition=e.iconPosition,c.iconType=e.iconType,c.scale=e.scale,i.stopPropagation())}determineActiveItem(i,t){switch(i){case"multiple":this.el===t&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===t&&!this.expanded;break;case"single-persist":this.expanded=this.el===t}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}get el(){return o(this)}};v.style=".icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:flex;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:flex;align-items:stretch}:host .icon{position:relative;margin:0px;display:inline-flex;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.icon--start{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin)}.icon--end{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}.header-container{inline-size:100%}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}:host .content{display:none;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}:host .heading,:host .description{display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:flex;align-items:center}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_accordion_item}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,h as s,H as a,g as o}from"./p-9310b882.js";import{c as h}from"./p-6f2edf5b.js";import{s as n,a as e,c as l}from"./p-d62784a4.js";const r=class{constructor(s){t(this,s),this.calciteRadioButtonGroupChange=i(this,"calciteRadioButtonGroupChange",6),this.mutationObserver=h("mutation",(()=>this.passPropsToRadioButtons())),this.passPropsToRadioButtons=()=>{this.radioButtons=Array.from(this.el.querySelectorAll("calcite-radio-button")),this.selectedItem=Array.from(this.radioButtons).find((t=>t.checked))||null,this.radioButtons.length>0&&this.radioButtons.forEach((t=>{t.disabled=this.disabled||t.disabled,t.hidden=this.hidden,t.name=this.name,t.required=this.required,t.scale=this.scale}))},this.disabled=!1,this.hidden=!1,this.layout="horizontal",this.name=void 0,this.required=!1,this.selectedItem=null,this.scale="m",this.radioButtons=[]}onDisabledChange(){this.passPropsToRadioButtons()}onHiddenChange(){this.passPropsToRadioButtons()}onLayoutChange(){this.passPropsToRadioButtons()}onScaleChange(){this.passPropsToRadioButtons()}connectedCallback(){var t;this.passPropsToRadioButtons(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}componentWillLoad(){n(this)}componentDidLoad(){e(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}getFocusableRadioButton(){var t;return null!==(t=this.radioButtons.find((t=>!t.disabled)))&&void 0!==t?t:null}async setFocus(){var t;return await l(this),this.selectedItem&&!this.selectedItem.disabled?this.selectedItem.setFocus():this.radioButtons.length>0?null===(t=this.getFocusableRadioButton())||void 0===t?void 0:t.setFocus():void 0}radioButtonChangeHandler(t){this.selectedItem=t.target,this.calciteRadioButtonGroupChange.emit()}render(){return s(a,{role:"radiogroup"},s("slot",null))}get el(){return o(this)}static get watchers(){return{disabled:["onDisabledChange"],hidden:["onHiddenChange"],layout:["onLayoutChange"],scale:["onScaleChange"]}}};r.style=":host{display:flex;max-inline-size:100vw}:host([layout=horizontal]){flex-direction:row;flex-wrap:wrap}:host([layout=horizontal][scale=s]){gap:1rem}:host([layout=horizontal][scale=m]){gap:1.25rem}:host([layout=horizontal][scale=l]){gap:1.5rem}:host([layout=vertical]){flex-direction:column}:host([hidden]){display:none}[hidden]{display:none}";export{r as calcite_radio_button_group}
|
@@ -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 s}from"./p-6431fd69.js";import"./p-9310b882.js";import"./p-2d70d3fd.js";import"./p-6b2f2b85.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";import"./p-38ef0684.js";import"./p-2291b598.js";import"./p-3bd99fc9.js";import"./p-d62784a4.js";import"./p-56300653.js";import"./p-6f2edf5b.js";import"./p-5383607a.js";import"./p-a777b18c.js";import"./p-1ede2e18.js";var i="sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),m="sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),M=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,d=function(s,d){return M.test(d)?i[s.month()]:m[s.month()]};d.s=m,d.f=i;var Y={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_šeš".split("_"),weekdaysMin:"s_p_a_t_k_pn_š".split("_"),months:d,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"už %s",past:"prieš %s",s:"kelias sekundes",m:"minutę",mm:"%d minutes",h:"valandą",hh:"%d valandas",d:"dieną",dd:"%d dienas",M:"mėnesį",MM:"%d mėnesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};s.locale(Y,null,!0);export default Y;
|
@@ -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 _}from"./p-6431fd69.js";import"./p-9310b882.js";import"./p-2d70d3fd.js";import"./p-6b2f2b85.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";import"./p-38ef0684.js";import"./p-2291b598.js";import"./p-3bd99fc9.js";import"./p-d62784a4.js";import"./p-56300653.js";import"./p-6f2edf5b.js";import"./p-5383607a.js";import"./p-a777b18c.js";import"./p-1ede2e18.js";var p={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(_){return _},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};_.locale(p,null,!0);export default p;
|
@@ -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-6431fd69.js";import"./p-9310b882.js";import"./p-2d70d3fd.js";import"./p-6b2f2b85.js";import"./p-3fc17d72.js";import"./p-18869c0f.js";import"./p-38ef0684.js";import"./p-2291b598.js";import"./p-3bd99fc9.js";import"./p-d62784a4.js";import"./p-56300653.js";import"./p-6f2edf5b.js";import"./p-5383607a.js";import"./p-a777b18c.js";import"./p-1ede2e18.js";var r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function t(e,t,n){var i=r[n];return Array.isArray(i)&&(i=i[t?0:1]),i.replace("%d",e)}var n={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,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"},relativeTime:{future:"in %s",past:"vor %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(n,null,!0);export default n;
|
@@ -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{f as t}from"./p-9310b882.js";import{c as o}from"./p-6f2edf5b.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.6.0
|
11
|
+
*/const n=new Set;let f;const s={childList:!0};function c(t){f||(f=o("mutation",r)),f.observe(t.el,s)}function i(t){n.delete(t.el),r(f.takeRecords()),f.disconnect();for(const[t]of n.entries())f.observe(t,s)}function r(o){o.forEach((({target:o})=>{t(o)}))}export{c,i as d}
|
@@ -0,0 +1,22 @@
|
|
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{j as n,k as t,l as e,m as r,o,h as i,p as u}from"./p-6b2f2b85.js";
|
7
|
+
/*!
|
8
|
+
* focus-trap 7.5.2
|
9
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
10
|
+
*/function a(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function c(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?a(Object(e),!0).forEach((function(t){s(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):a(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function s(n,t,e){return(t=function(n){var t=function(n){if("object"!=typeof n||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var e=t.call(n,"string");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"==typeof t?t:String(t)}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}var f=function(n){return"Tab"===(null==n?void 0:n.key)||9===(null==n?void 0:n.keyCode)},l=function(n){return f(n)&&!n.shiftKey},v=function(n){return f(n)&&n.shiftKey},d=function(n){return setTimeout(n,0)},b=function(n,t){var e=-1;return n.every((function(n,r){return!t(n)||(e=r,!1)})),e},p=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},w=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},h=[];
|
11
|
+
/*!
|
12
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
13
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
14
|
+
* v1.6.0
|
15
|
+
*/
|
16
|
+
const y=globalThis.calciteConfig,m=y?.focusTrapStack||[];
|
17
|
+
/*!
|
18
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
19
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
20
|
+
* v1.6.0
|
21
|
+
*/
|
22
|
+
function F(a,s){const{el:y}=a,F=s?.focusTrapEl||y;if(!F)return;const k={clickOutsideDeactivates:!0,escapeDeactivates:!1,fallbackFocus:F,setReturnFocus:n=>(i(n),!1),...s?.focusTrapOptions,document:y.ownerDocument,tabbableOptions:u,trapStack:m};var O,j,T,D,g,E,N,P,A,x,B,R,S,C,I,G,K,M,U,Y,L,q,z;a.focusTrap=(O=F,D=(null==(j=k)?void 0:j.document)||document,g=(null==j?void 0:j.trapStack)||h,E=c({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:l,isKeyBackward:v},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]:E[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=E[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=D.querySelector(t)))throw new Error("`".concat(n,"` as selector refers to no known node"));return i},B=function(){var n=x("initialFocus");if(!1===n)return!1;if(void 0===n||!o(n,E.tabbableOptions))if(A(D.activeElement)>=0)n=D.activeElement;else{var t=N.tabbableGroups[0];n=t&&t.firstTabbableNode||x("fallbackFocus")}if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n},R=function(){if(N.containerGroups=N.containers.map((function(o){var i=n(o,E.tabbableOptions),u=t(o,E.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 e(n)})),f=u.slice().reverse().find((function(n){return e(n)})),l=!!i.find((function(n){return r(n)>0}));return{container:o,tabbableNodes:i,focusableNodes:u,posTabIndexesFound:l,firstTabbableNode:a,lastTabbableNode:c,firstDomTabbableNode:s,lastDomTabbableNode:f,nextTabbableNode:function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=i.indexOf(n);return r<0?t?u.slice(u.indexOf(n)+1).find((function(n){return e(n)})):u.slice(0,u.indexOf(n)).reverse().find((function(n){return e(n)})):i[r+(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.")},S=function n(t){!1!==t&&t!==D.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!E.preventScroll}),N.mostRecentlyFocusedNode=t,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(t)&&t.select()):n(B()))},C=function(n){var t=x("setReturnFocus",n);return t||!1!==t&&n},I=function(n){var t=n.target,i=n.event,u=n.isBackward,a=void 0!==u&&u;t=t||w(i),R();var c=null;if(N.tabbableGroups.length>0){var s=A(t,i),l=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 v=b(N.tabbableGroups,(function(n){return t===n.firstTabbableNode}));if(v<0&&(l.container===t||o(t,E.tabbableOptions)&&!e(t,E.tabbableOptions)&&!l.nextTabbableNode(t,!1))&&(v=s),v>=0){var d=N.tabbableGroups[0===v?N.tabbableGroups.length-1:v-1];c=r(t)>=0?d.lastTabbableNode:d.lastDomTabbableNode}else f(i)||(c=l.nextTabbableNode(t,!1))}else{var p=b(N.tabbableGroups,(function(n){return t===n.lastTabbableNode}));if(p<0&&(l.container===t||o(t,E.tabbableOptions)&&!e(t,E.tabbableOptions)&&!l.nextTabbableNode(t))&&(p=s),p>=0){var h=N.tabbableGroups[p===N.tabbableGroups.length-1?0:p+1];c=r(t)>=0?h.firstTabbableNode:h.firstDomTabbableNode}else f(i)||(c=l.nextTabbableNode(t))}}else c=x("fallbackFocus");return c},G=function(n){var t=w(n);A(t,n)>=0||(p(E.clickOutsideDeactivates,n)?T.deactivate({returnFocus:E.returnFocusOnDeactivate}):p(E.allowOutsideClick,n)||n.preventDefault())},K=function(n){var t=w(n),e=A(t,n)>=0;if(e||t instanceof Document)e&&(N.mostRecentlyFocusedNode=t);else{var o;n.stopImmediatePropagation();var i=!0;if(N.mostRecentlyFocusedNode)if(r(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&&(E.isKeyForward(N.recentNavEvent)?c+1<a.length&&(o=a[c+1],i=!1):c-1>=0&&(o=a[c-1],i=!1))}}else N.containerGroups.some((function(n){return n.tabbableNodes.some((function(n){return r(n)>0}))}))||(i=!1);else i=!1;i&&(o=I({target:N.mostRecentlyFocusedNode,isBackward:E.isKeyBackward(N.recentNavEvent)})),S(o||N.mostRecentlyFocusedNode||B())}N.recentNavEvent=void 0},M=function(n){if(("Escape"===(null==(t=n)?void 0:t.key)||"Esc"===(null==t?void 0:t.key)||27===(null==t?void 0:t.keyCode))&&!1!==p(E.escapeDeactivates,n))return n.preventDefault(),void T.deactivate();var t;(E.isKeyForward(n)||E.isKeyBackward(n))&&function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];N.recentNavEvent=n;var e=I({event:n,isBackward:t});e&&(f(n)&&n.preventDefault(),S(e))}(n,E.isKeyBackward(n))},U=function(n){var t=w(n);A(t,n)>=0||p(E.clickOutsideDeactivates,n)||p(E.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},Y=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)}(g,T),N.delayInitialFocusTimer=E.delayInitialFocus?d((function(){S(B())})):S(B()),D.addEventListener("focusin",K,!0),D.addEventListener("mousedown",G,{capture:!0,passive:!1}),D.addEventListener("touchstart",G,{capture:!0,passive:!1}),D.addEventListener("click",U,{capture:!0,passive:!1}),D.addEventListener("keydown",M,{capture:!0,passive:!1}),T},L=function(){if(N.active)return D.removeEventListener("focusin",K,!0),D.removeEventListener("mousedown",G,!0),D.removeEventListener("touchstart",G,!0),D.removeEventListener("click",U,!0),D.removeEventListener("keydown",M,!0),T},q="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,z=function(){q&&(q.disconnect(),N.active&&!N.paused&&N.containers.map((function(n){q.observe(n,{subtree:!0,childList:!0})})))},(T={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=D.activeElement,null==t||t();var o=function(){r&&R(),Y(),z(),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=c({onDeactivate:E.onDeactivate,onPostDeactivate:E.onPostDeactivate,checkCanReturnFocus:E.checkCanReturnFocus},n);clearTimeout(N.delayInitialFocusTimer),N.delayInitialFocusTimer=void 0,L(),N.active=!1,N.paused=!1,z(),function(n,t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),n.length>0&&n[n.length-1].unpause()}(g,T);var e=P(t,"onDeactivate"),r=P(t,"onPostDeactivate"),o=P(t,"checkCanReturnFocus"),i=P(t,"returnFocus","returnFocusOnDeactivate");null==e||e();var u=function(){d((function(){i&&S(C(N.nodeFocusedBeforeActivation)),null==r||r()}))};return i&&o?(o(C(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(),L(),z(),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(),Y(),z(),null==e||e(),this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return N.containers=t.map((function(n){return"string"==typeof n?D.querySelector(n):n})),N.active&&R(),z(),this}}).updateContainerElements(O),T)}function k(n,t){n.focusTrapDisabled||n.focusTrap?.activate(t)}function O(n,t){n.focusTrap?.deactivate(t)}function j(n){n.focusTrap?.updateContainerElements(n.el)}export{k as a,F as c,O as d,j as u}
|
@@ -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{f as t,h as e}from"./p-9310b882.js";import{a as o}from"./p-6b2f2b85.js";import{S as n}from"./p-f055a840.js";import{S as a}from"./p-5961c4e0.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.6.0
|
11
|
+
*/const i=150,c=t=>t.reduce(((t,e)=>t+e),0)/t.length,l=t=>{const e=t?.length;return{actionWidth:e?c(t.map((t=>t.clientWidth||0))):0,actionHeight:e?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:e,actionWidth:o,width:n,actionHeight:a,height:i,groupCount:c})=>Math.max(e-(({width:t,actionWidth:e,layout:o,height:n,actionHeight:a,groupCount:i})=>Math.floor((("horizontal"===o?t:n)-2*i)/("horizontal"===o?e:a)))({width:n,actionWidth:o,layout:t,height:i,actionHeight:a,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===a.trigger)),p=({actionGroups:e,expanded:o,overflowCount:a})=>{let i=a;e.reverse().forEach((e=>{let a=0;const c=s(e).reverse();c.forEach((t=>{t.slot===n.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",n.menuActions),a++,a>1&&i--),i<1))),t(e)}))};function h({el:t,expanded:e}){s(t).filter((t=>t.slot!==n.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=e))}const u=({expanded:t,expandText:n,collapseText:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const h="rtl"===o(c),u=t?a:n,d=["chevrons-left","chevrons-right"];h&&d.reverse();const f="end"===function(t,e){return t||e.closest("calcite-shell-panel")?.position||"start"}(l,c),g=e("calcite-action",{icon:t?f?d[1]:d[0]:f?d[0]:d[1],onClick:i,scale:p,text:u,textEnabled:t,title:t||r?null:u,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:n})=>(t&&(t.referenceElement=!o&&e?e:null),n&&n(e),e))({tooltip:r,referenceElement:e,expanded:t,ref:s})});return g};export{u as E,p as a,r as b,l as g,i as o,s as q,h as t}
|
@@ -0,0 +1,16 @@
|
|
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{c as t,b as n}from"./p-6b2f2b85.js";import{n as e}from"./p-2291b598.js";import{c as s}from"./p-6f2edf5b.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.6.0
|
11
|
+
*/const i=new RegExp("\\.(0+)?$"),r=new RegExp("0+$");class u{constructor(t){if(t instanceof u)return t;const[n,e]=function(t){const n=t.split(/[eE]/);if(1===n.length)return t;const e=+t;if(Number.isSafeInteger(e))return`${e}`;const s="-"===t.charAt(0),r=+n[1],u=n[0].split("."),o=(s?u[0].substring(1):u[0])||"",a=u[1]||"",h=r>0?`${o}${((t,n)=>{const e=n>t.length?`${t}${"0".repeat(n-t.length)}`:t;return`${e.slice(0,n)}.${e.slice(n)}`})(a,r)}`:`${((t,n)=>{const e=Math.abs(n)-t.length,s=e>0?`${"0".repeat(e)}${t}`:t;return`${s.slice(0,n)}.${s.slice(n)}`})(o,r)}${a}`;return`${s?"-":""}${"."===h.charAt(0)?"0":""}${h.replace(i,"").replace(c,"")}`}(t).split(".").concat("");this.value=BigInt(n+e.padEnd(u.DECIMALS,"0").slice(0,u.DECIMALS))+BigInt(u.ROUNDED&&e[u.DECIMALS]>="5"),this.isNegative="-"===t.charAt(0)}getIntegersAndDecimals(){const t=this.value.toString().replace("-","").padStart(u.DECIMALS+1,"0");return{integers:t.slice(0,-u.DECIMALS),decimals:t.slice(-u.DECIMALS).replace(r,"")}}toString(){const{integers:t,decimals:n}=this.getIntegersAndDecimals();return`${this.isNegative?"-":""}${t}${n.length?"."+n:""}`}formatToParts(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals(),s=t.numberFormatter.formatToParts(BigInt(n));return this.isNegative&&s.unshift({type:"minusSign",value:t.minusSign}),e.length&&(s.push({type:"decimal",value:t.decimal}),e.split("").forEach((t=>s.push({type:"fraction",value:t})))),s}format(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals();return`${this.isNegative?t.minusSign:""}${t.numberFormatter.format(BigInt(n))}${e.length?`${t.decimal}${e.split("").map((n=>t.numberFormatter.format(Number(n)))).join("")}`:""}`}add(t){return u.fromBigInt(this.value+new u(t).value)}subtract(t){return u.fromBigInt(this.value-new u(t).value)}multiply(t){return u._divRound(this.value*new u(t).value,u.SHIFT)}divide(t){return u._divRound(this.value*u.SHIFT,new u(t).value)}}function o(t){return!(!t||isNaN(Number(t)))}function a(t){return t&&(n=t,e.some((t=>n.includes(t))))?f(t,(t=>{let n=!1;const s=t.split("").filter(((t,s)=>t.match(/\./g)&&!n?(n=!0,!0):!(!t.match(/\-/g)||0!==s)||e.includes(t))).reduce(((t,n)=>t+n));return o(s)?new u(s).toString():""})):"";var n}u.DECIMALS=100,u.ROUNDED=!0,u.SHIFT=BigInt("1"+"0".repeat(u.DECIMALS)),u._divRound=(t,n)=>u.fromBigInt(t/n+(u.ROUNDED?t*BigInt(2)/n%BigInt(2):BigInt(0))),u.fromBigInt=t=>Object.assign(Object.create(u.prototype),{value:t,isNegative:t<BigInt(0)});const c=/^([-0])0+(?=\d)/,h=/(?!^\.)\.$/,l=/(?!^-)-/g,g=/^-\b0\b\.?0*$/,m=/0*$/,$=t=>f(t,(t=>{const n=t.replace(l,"").replace(h,"").replace(c,"$1");return o(n)?g.test(n)?n:function(t){const n=t.split(".")[1],e=new u(t).toString(),[s,i]=e.split(".");return n&&i!==n?`${s}.${n}`:e}(n):t}));function f(t,n){if(!t)return t;const e=t.toLowerCase().indexOf("e")+1;return e?t.replace(/[eE]*$/g,"").substring(0,e).concat(t.slice(e).replace(/[eE]/g,"")).split(/[eE]/).map(((t,e)=>n(1===e?t.replace(/\./g,""):t))).join("e").replace(/^e/,"1e"):n(t)}function b(t,n,e){const s=n.split(".")[1];if(s){const i=s.match(m)[0];if(i&&e.delocalize(t).length!==n.length&&-1===s.indexOf("e")){const n=e.decimal;return(t=t.includes(n)?t:`${t}${n}`).padEnd(t.length+i.length,e.localize("0"))}}return t}
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
+
* v1.6.0
|
16
|
+
*/const d="en",p=["ar","bg","bs","ca","cs","da","de","el",d,"es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","no","nl","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],w=["ar","bg","bs","ca","cs","da","de","de-AT","de-CH","el",d,"en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","no","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],v=["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"],I=t=>v.includes(t),B=(new Intl.NumberFormat).resolvedOptions().numberingSystem,E="arab"!==B&&I(B)?B:"latn",N=t=>I(t)?t:E;function j(t,n="cldr"){const e="cldr"===n?w:p;return t?e.includes(t)?t:"nb"===(t=t.toLowerCase())?"no":"t9n"===n&&"pt"===t?"pt-BR":(t.includes("-")&&(t=t.replace(/(\w+)-(\w+)/,((t,n,e)=>`${n}-${e.toUpperCase()}`)),e.includes(t)||(t=t.split("-")[0])),"zh"===t?"zh-CN":e.includes(t)?t:(console.warn(`Translations for the "${t}" locale are not available and will fall back to the default, English (en).`),d)):d}const k=new Set;function x(n){!function(n){n.effectiveLocale=function(n){return n.el.lang||t(n.el,"[lang]")?.lang||document.documentElement.lang||d}(n)}(n),0===k.size&&R?.observe(document.documentElement,{attributes:!0,attributeFilter:["lang"],subtree:!0}),k.add(n)}function y(t){k.delete(t),0===k.size&&R.disconnect()}const R=s("mutation",(e=>{e.forEach((e=>{const s=e.target;k.forEach((e=>{if(!n(s,e.el))return;const i=t(e.el,"[lang]");if(!i)return void(e.effectiveLocale=d);const r=i.lang;e.effectiveLocale=i.hasAttribute("lang")&&""===r?d:r}))}))})),S=new class{constructor(){this.delocalize=t=>this._numberFormatOptions?f(t,(t=>t.replace(new RegExp(`[${this._minusSign}]`,"g"),"-").replace(new RegExp(`[${this._group}]`,"g"),"").replace(new RegExp(`[${this._decimal}]`,"g"),".").replace(new RegExp(`[${this._digits.join("")}]`,"g"),this._getDigitIndex))):t,this.localize=t=>this._numberFormatOptions?f(t,(t=>o(t.trim())?new u(t.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`,"g"),this._group):t)):t}get group(){return this._group}get decimal(){return this._decimal}get minusSign(){return this._minusSign}get digits(){return this._digits}get numberFormatter(){return this._numberFormatter}get numberFormatOptions(){return this._numberFormatOptions}set numberFormatOptions(t){if(t.locale=j(t?.locale),t.numberingSystem=N(t?.numberingSystem),!this._numberFormatOptions&&t.locale===d&&t.numberingSystem===E&&2===Object.keys(t).length||JSON.stringify(this._numberFormatOptions)===JSON.stringify(t))return;this._numberFormatOptions=t,this._numberFormatter=new Intl.NumberFormat(this._numberFormatOptions.locale,this._numberFormatOptions),this._digits=[...new Intl.NumberFormat(this._numberFormatOptions.locale,{useGrouping:!1,numberingSystem:this._numberFormatOptions.numberingSystem}).format(9876543210)].reverse();const n=new Map(this._digits.map(((t,n)=>[t,n]))),e=new Intl.NumberFormat(this._numberFormatOptions.locale,{numberingSystem:this._numberFormatOptions.numberingSystem}).formatToParts(-12345678.9);this._actualGroup=e.find((t=>"group"===t.type)).value,this._group=0===this._actualGroup.trim().length||" "==this._actualGroup?" ":this._actualGroup,this._decimal=e.find((t=>"decimal"===t.type)).value,this._minusSign=e.find((t=>"minusSign"===t.type)).value,this._getDigitIndex=t=>n.get(t)}};let z,O;function C(t,n){t=j(t),z||(z=new Map),O!==t&&(z.clear(),O=t);const e=function(t={}){return Object.entries(t).sort((([t],[n])=>t.localeCompare(n))).map((t=>`${t[0]}-${t[1]}`)).flat().join(":")}(n),s=z.get(e);if(s)return s;const i=new Intl.DateTimeFormat(t,n);return z.set(e,i),i}export{u as B,C as a,N as b,x as c,y as d,b as e,j as g,o as i,S as n,a as p,$ as s}
|
@@ -6,6 +6,6 @@
|
|
6
6
|
import{c as t}from"./p-e1a4994d.js";var e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=t((function(t){var e=Array.prototype.concat,n=Array.prototype.slice,r=t.exports=function(t){for(var r,s=[],o=0,a=t.length;o<a;o++){var i=t[o];(r=i)&&"string"!=typeof r&&(r instanceof Array||Array.isArray(r)||r.length>=0&&(r.splice instanceof Function||Object.getOwnPropertyDescriptor(r,r.length-1)&&"String"!==r.constructor.name))?s=e.call(s,n.call(i)):s.push(i)}return s};r.wrap=function(t){return function(){return t(r(arguments))}}})),r=t((function(t){var r=Object.hasOwnProperty,s=Object.create(null);for(var o in e)r.call(e,o)&&(s[e[o]]=o);var a=t.exports={to:{},get:{}};function i(t,e,n){return Math.min(Math.max(e,t),n)}function l(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}a.get=function(t){var e,n;switch(t.substring(0,3).toLowerCase()){case"hsl":e=a.get.hsl(t),n="hsl";break;case"hwb":e=a.get.hwb(t),n="hwb";break;default:e=a.get.rgb(t),n="rgb"}return e?{model:n,value:e}:null},a.get.rgb=function(t){if(!t)return null;var n,s,o,a=[0,0,0,1];if(n=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=n[2],n=n[1],s=0;s<3;s++){var l=2*s;a[s]=parseInt(n.slice(l,l+2),16)}o&&(a[3]=parseInt(o,16)/255)}else if(n=t.match(/^#([a-f0-9]{3,4})$/i)){for(o=(n=n[1])[3],s=0;s<3;s++)a[s]=parseInt(n[s]+n[s],16);o&&(a[3]=parseInt(o+o,16)/255)}else if(n=t.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(s=0;s<3;s++)a[s]=parseInt(n[s+1],0);n[4]&&(a[3]=n[5]?.01*parseFloat(n[4]):parseFloat(n[4]))}else{if(!(n=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(n=t.match(/^(\w+)$/))?"transparent"===n[1]?[0,0,0,0]:r.call(e,n[1])?((a=e[n[1]])[3]=1,a):null:null;for(s=0;s<3;s++)a[s]=Math.round(2.55*parseFloat(n[s+1]));n[4]&&(a[3]=n[5]?.01*parseFloat(n[4]):parseFloat(n[4]))}for(s=0;s<3;s++)a[s]=i(a[s],0,255);return a[3]=i(a[3],0,1),a},a.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,i(parseFloat(e[2]),0,100),i(parseFloat(e[3]),0,100),i(isNaN(n)?1:n,0,1)]}return null},a.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,i(parseFloat(e[2]),0,100),i(parseFloat(e[3]),0,100),i(isNaN(n)?1:n,0,1)]}return null},a.to.hex=function(){var t=n(arguments);return"#"+l(t[0])+l(t[1])+l(t[2])+(t[3]<1?l(Math.round(255*t[3])):"")},a.to.rgb=function(){var t=n(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},a.to.rgb.percent=function(){var t=n(arguments),e=Math.round(t[0]/255*100),r=Math.round(t[1]/255*100),s=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+r+"%, "+s+"%)":"rgba("+e+"%, "+r+"%, "+s+"%, "+t[3]+")"},a.to.hsl=function(){var t=n(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},a.to.hwb=function(){var t=n(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},a.to.keyword=function(t){return s[t.slice(0,3)]}}));const s={};for(const t of Object.keys(e))s[e[t]]=t;const o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var a=o;for(const t of Object.keys(o)){if(!("channels"in o[t]))throw new Error("missing channels property: "+t);if(!("labels"in o[t]))throw new Error("missing channel labels property: "+t);if(o[t].labels.length!==o[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=o[t];delete o[t].channels,delete o[t].labels,Object.defineProperty(o[t],"channels",{value:e}),Object.defineProperty(o[t],"labels",{value:n})}function i(t,e){return function(n){return e(t(n))}}function l(t,e){const n=[e[t].parent,t];let r=a[e[t].parent][t],s=e[t].parent;for(;e[s].parent;)n.unshift(e[s].parent),r=i(a[e[s].parent][s],r),s=e[s].parent;return r.conversion=n,r}o.rgb.hsl=function(t){const e=t[0]/255,n=t[1]/255,r=t[2]/255,s=Math.min(e,n,r),o=Math.max(e,n,r),a=o-s;let i,l;o===s?i=0:e===o?i=(n-r)/a:n===o?i=2+(r-e)/a:r===o&&(i=4+(e-n)/a),i=Math.min(60*i,360),i<0&&(i+=360);const c=(s+o)/2;return l=o===s?0:c<=.5?a/(o+s):a/(2-o-s),[i,100*l,100*c]},o.rgb.hsv=function(t){let e,n,r,s,o;const a=t[0]/255,i=t[1]/255,l=t[2]/255,c=Math.max(a,i,l),u=c-Math.min(a,i,l),h=function(t){return(c-t)/6/u+.5};return 0===u?(s=0,o=0):(o=u/c,e=h(a),n=h(i),r=h(l),a===c?s=r-n:i===c?s=1/3+e-r:l===c&&(s=2/3+n-e),s<0?s+=1:s>1&&(s-=1)),[360*s,100*o,100*c]},o.rgb.hwb=function(t){const e=t[0],n=t[1];let r=t[2];const s=o.rgb.hsl(t)[0],a=1/255*Math.min(e,Math.min(n,r));return r=1-1/255*Math.max(e,Math.max(n,r)),[s,100*a,100*r]},o.rgb.cmyk=function(t){const e=t[0]/255,n=t[1]/255,r=t[2]/255,s=Math.min(1-e,1-n,1-r);return[100*((1-e-s)/(1-s)||0),100*((1-n-s)/(1-s)||0),100*((1-r-s)/(1-s)||0),100*s]},o.rgb.keyword=function(t){const n=s[t];if(n)return n;let r,o=1/0;for(const n of Object.keys(e)){const s=((a=t)[0]-(i=e[n])[0])**2+(a[1]-i[1])**2+(a[2]-i[2])**2;s<o&&(o=s,r=n)}var a,i;return r},o.keyword.rgb=function(t){return e[t]},o.rgb.xyz=function(t){let e=t[0]/255,n=t[1]/255,r=t[2]/255;return e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,[100*(.4124*e+.3576*n+.1805*r),100*(.2126*e+.7152*n+.0722*r),100*(.0193*e+.1192*n+.9505*r)]},o.rgb.lab=function(t){const e=o.rgb.xyz(t);let n=e[0],r=e[1],s=e[2];return n/=95.047,r/=100,s/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,[116*r-16,500*(n-r),200*(r-s)]},o.hsl.rgb=function(t){const e=t[0]/360,n=t[1]/100,r=t[2]/100;let s,o,a;if(0===n)return a=255*r,[a,a,a];s=r<.5?r*(1+n):r+n-r*n;const i=2*r-s,l=[0,0,0];for(let t=0;t<3;t++)o=e+1/3*-(t-1),o<0&&o++,o>1&&o--,a=6*o<1?i+6*(s-i)*o:2*o<1?s:3*o<2?i+(s-i)*(2/3-o)*6:i,l[t]=255*a;return l},o.hsl.hsv=function(t){const e=t[0];let n=t[1]/100,r=t[2]/100,s=n;const o=Math.max(r,.01);return r*=2,n*=r<=1?r:2-r,s*=o<=1?o:2-o,[e,100*(0===r?2*s/(o+s):2*n/(r+n)),(r+n)/2*100]},o.hsv.rgb=function(t){const e=t[0]/60,n=t[1]/100;let r=t[2]/100;const s=Math.floor(e)%6,o=e-Math.floor(e),a=255*r*(1-n),i=255*r*(1-n*o),l=255*r*(1-n*(1-o));switch(r*=255,s){case 0:return[r,l,a];case 1:return[i,r,a];case 2:return[a,r,l];case 3:return[a,i,r];case 4:return[l,a,r];case 5:return[r,a,i]}},o.hsv.hsl=function(t){const e=t[0],n=t[1]/100,r=t[2]/100,s=Math.max(r,.01);let o,a;a=(2-n)*r;const i=(2-n)*s;return o=n*s,o/=i<=1?i:2-i,o=o||0,a/=2,[e,100*o,100*a]},o.hwb.rgb=function(t){const e=t[0]/360;let n=t[1]/100,r=t[2]/100;const s=n+r;let o;s>1&&(n/=s,r/=s);const a=Math.floor(6*e),i=1-r;o=6*e-a,0!=(1&a)&&(o=1-o);const l=n+o*(i-n);let c,u,h;switch(a){default:case 6:case 0:c=i,u=l,h=n;break;case 1:c=l,u=i,h=n;break;case 2:c=n,u=i,h=l;break;case 3:c=n,u=l,h=i;break;case 4:c=l,u=n,h=i;break;case 5:c=i,u=n,h=l}return[255*c,255*u,255*h]},o.cmyk.rgb=function(t){const e=t[1]/100,n=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,t[0]/100*(1-r)+r)),255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},o.xyz.rgb=function(t){const e=t[0]/100,n=t[1]/100,r=t[2]/100;let s,o,a;return s=3.2406*e+-1.5372*n+-.4986*r,o=-.9689*e+1.8758*n+.0415*r,a=.0557*e+-.204*n+1.057*r,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),[255*s,255*o,255*a]},o.xyz.lab=function(t){let e=t[0],n=t[1],r=t[2];return e/=95.047,n/=100,r/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(e-n),200*(n-r)]},o.lab.xyz=function(t){let e,n,r;n=(t[0]+16)/116,e=t[1]/500+n,r=n-t[2]/200;const s=n**3,o=e**3,a=r**3;return n=s>.008856?s:(n-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,e*=95.047,n*=100,r*=108.883,[e,n,r]},o.lab.lch=function(t){const e=t[0],n=t[1],r=t[2];let s;return s=360*Math.atan2(r,n)/2/Math.PI,s<0&&(s+=360),[e,Math.sqrt(n*n+r*r),s]},o.lch.lab=function(t){const e=t[1],n=t[2]/360*2*Math.PI;return[t[0],e*Math.cos(n),e*Math.sin(n)]},o.rgb.ansi16=function(t,e=null){const[n,r,s]=t;let a=null===e?o.rgb.hsv(t)[2]:e;if(a=Math.round(a/50),0===a)return 30;let i=30+(Math.round(s/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===a&&(i+=60),i},o.hsv.ansi16=function(t){return o.rgb.ansi16(o.hsv.rgb(t),t[2])},o.rgb.ansi256=function(t){const e=t[0],n=t[1],r=t[2];return e===n&&n===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},o.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},o.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;return t-=16,[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},o.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},o.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let n=e[0];3===e[0].length&&(n=n.split("").map((t=>t+t)).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},o.rgb.hcg=function(t){const e=t[0]/255,n=t[1]/255,r=t[2]/255,s=Math.max(Math.max(e,n),r),o=Math.min(Math.min(e,n),r),a=s-o;let i,l;return i=a<1?o/(1-a):0,l=a<=0?0:s===e?(n-r)/a%6:s===n?2+(r-e)/a:4+(e-n)/a,l/=6,l%=1,[360*l,100*a,100*i]},o.hsl.hcg=function(t){const e=t[1]/100,n=t[2]/100,r=n<.5?2*e*n:2*e*(1-n);let s=0;return r<1&&(s=(n-.5*r)/(1-r)),[t[0],100*r,100*s]},o.hsv.hcg=function(t){const e=t[2]/100,n=t[1]/100*e;let r=0;return n<1&&(r=(e-n)/(1-n)),[t[0],100*n,100*r]},o.hcg.rgb=function(t){const e=t[1]/100,n=t[2]/100;if(0===e)return[255*n,255*n,255*n];const r=[0,0,0],s=t[0]/360%1*6,o=s%1,a=1-o;let i=0;switch(Math.floor(s)){case 0:r[0]=1,r[1]=o,r[2]=0;break;case 1:r[0]=a,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=o;break;case 3:r[0]=0,r[1]=a,r[2]=1;break;case 4:r[0]=o,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=a}return i=(1-e)*n,[255*(e*r[0]+i),255*(e*r[1]+i),255*(e*r[2]+i)]},o.hcg.hsv=function(t){const e=t[1]/100,n=e+t[2]/100*(1-e);let r=0;return n>0&&(r=e/n),[t[0],100*r,100*n]},o.hcg.hsl=function(t){const e=t[1]/100,n=t[2]/100*(1-e)+.5*e;let r=0;return n>0&&n<.5?r=e/(2*n):n>=.5&&n<1&&(r=e/(2*(1-n))),[t[0],100*r,100*n]},o.hcg.hwb=function(t){const e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},o.hwb.hcg=function(t){const e=1-t[2]/100,n=e-t[1]/100;let r=0;return n<1&&(r=(e-n)/(1-n)),[t[0],100*n,100*r]},o.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},o.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},o.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},o.gray.hsl=function(t){return[0,0,t[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(t){return[0,100,t[0]]},o.gray.cmyk=function(t){return[0,0,0,t[0]]},o.gray.lab=function(t){return[t[0],0,0]},o.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},o.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};const c={};Object.keys(a).forEach((t=>{c[t]={},Object.defineProperty(c[t],"channels",{value:a[t].channels}),Object.defineProperty(c[t],"labels",{value:a[t].labels});const e=function(t){const e=function(t){const e=function(){const t={},e=Object.keys(a);for(let n=e.length,r=0;r<n;r++)t[e[r]]={distance:-1,parent:null};return t}(),n=[t];for(e[t].distance=0;n.length;){const t=n.pop(),r=Object.keys(a[t]);for(let s=r.length,o=0;o<s;o++){const s=r[o],a=e[s];-1===a.distance&&(a.distance=e[t].distance+1,a.parent=t,n.unshift(s))}}return e}(t),n={},r=Object.keys(e);for(let t=r.length,s=0;s<t;s++){const t=r[s];null!==e[t].parent&&(n[t]=l(t,e))}return n}(t);Object.keys(e).forEach((n=>{const r=e[n];c[t][n]=function(t){const e=function(...e){const n=e[0];if(null==n)return n;n.length>1&&(e=n);const r=t(e);if("object"==typeof r)for(let t=r.length,e=0;e<t;e++)r[e]=Math.round(r[e]);return r};return"conversion"in t&&(e.conversion=t.conversion),e}(r),c[t][n].raw=function(t){const e=function(...e){const n=e[0];return null==n?n:(n.length>1&&(e=n),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(r)}))}));var u=c;const h=["keyword","gray","hex"],f={};for(const t of Object.keys(u))f[[...u[t].labels].sort().join("")]=t;const d={};function b(t,e){if(!(this instanceof b))return new b(t,e);if(e&&e in h&&(e=null),e&&!(e in u))throw new Error("Unknown model: "+e);let n,s;if(null==t)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof b)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if("string"==typeof t){const e=r.get(t);if(null===e)throw new Error("Unable to parse color from string: "+t);this.model=e.model,s=u[this.model].channels,this.color=e.value.slice(0,s),this.valpha="number"==typeof e.value[s]?e.value[s]:1}else if(t.length>0){this.model=e||"rgb",s=u[this.model].channels;const n=Array.prototype.slice.call(t,0,s);this.color=m(n,s),this.valpha="number"==typeof t[s]?t[s]:1}else if("number"==typeof t)this.model="rgb",this.color=[t>>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;const e=Object.keys(t);"alpha"in t&&(e.splice(e.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);const r=e.sort().join("");if(!(r in f))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=f[r];const{labels:s}=u[this.model],o=[];for(n=0;n<s.length;n++)o.push(t[s[n]]);this.color=m(o)}if(d[this.model])for(s=u[this.model].channels,n=0;n<s;n++){const t=d[this.model][n];t&&(this.color[n]=t(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}b.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in r.to?this:this.rgb();e=e.round("number"==typeof t?t:1);const n=1===e.valpha?e.color:[...e.color,this.valpha];return r.to[e.model](n)},percentString(t){const e=this.rgb().round("number"==typeof t?t:1),n=1===e.valpha?e.color:[...e.color,this.valpha];return r.to.rgb.percent(n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const t={},{channels:e}=u[this.model],{labels:n}=u[this.model];for(let r=0;r<e;r++)t[n[r]]=this.color[r];return 1!==this.valpha&&(t.alpha=this.valpha),t},unitArray(){const t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,1!==this.valpha&&t.push(this.valpha),t},unitObject(){const t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,1!==this.valpha&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new b([...this.color.map(g(t)),this.valpha],this.model)},alpha(t){return void 0!==t?new b([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:p("rgb",0,y(255)),green:p("rgb",1,y(255)),blue:p("rgb",2,y(255)),hue:p(["hsl","hsv","hsl","hwb","hcg"],0,(t=>(t%360+360)%360)),saturationl:p("hsl",1,y(100)),lightness:p("hsl",2,y(100)),saturationv:p("hsv",1,y(100)),value:p("hsv",2,y(100)),chroma:p("hcg",1,y(100)),gray:p("hcg",2,y(100)),white:p("hwb",1,y(100)),wblack:p("hwb",2,y(100)),cyan:p("cmyk",0,y(100)),magenta:p("cmyk",1,y(100)),yellow:p("cmyk",2,y(100)),black:p("cmyk",3,y(100)),x:p("xyz",0,y(95.047)),y:p("xyz",1,y(100)),z:p("xyz",2,y(108.833)),l:p("lab",0,y(100)),a:p("lab",1),b:p("lab",2),keyword(t){return void 0!==t?new b(t):u[this.model].keyword(this.color)},hex(t){return void 0!==t?new b(t):r.to.hex(this.rgb().round().color)},hexa(t){if(void 0!==t)return new b(t);const e=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),r.to.hex(e)+n},rgbNumber(){const t=this.rgb().color;return(255&t[0])<<16|(255&t[1])<<8|255&t[2]},luminosity(){const t=this.rgb().color,e=[];for(const[n,r]of t.entries()){const t=r/255;e[n]=t<=.04045?t/12.92:((t+.055)/1.055)**2.4}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level(t){const e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const t=this.rgb().color;return(2126*t[0]+7152*t[1]+722*t[2])/1e4<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){const e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){const e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){const e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){const e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){const e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){const e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){const t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return b.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let n=e.color[0];return n=(n+t)%360,n=n<0?360+n:n,e.color[0]=n,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);const n=t.rgb(),r=this.rgb(),s=void 0===e?.5:e,o=2*s-1,a=n.alpha()-r.alpha(),i=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,l=1-i;return b.rgb(i*n.red()+l*r.red(),i*n.green()+l*r.green(),i*n.blue()+l*r.blue(),n.alpha()*s+r.alpha()*(1-s))}};for(const t of Object.keys(u)){if(h.includes(t))continue;const{channels:e}=u[t];b.prototype[t]=function(...e){return this.model===t?new b(this):new b(e.length>0?e:[...(n=u[this.model][t].raw(this.color),Array.isArray(n)?n:[n]),this.valpha],t);var n},b[t]=function(...n){let r=n[0];return"number"==typeof r&&(r=m(n,e)),new b(r,t)}}function g(t){return function(e){return function(t,e){return Number(t.toFixed(e))}(e,t)}}function p(t,e,n){t=Array.isArray(t)?t:[t];for(const r of t)(d[r]||(d[r]=[]))[e]=n;return t=t[0],function(r){let s;return void 0!==r?(n&&(r=n(r)),s=this[t](),s.color[e]=r,s):(s=this[t]().color[e],n&&(s=n(s)),s)}}function y(t){return function(e){return Math.max(0,Math.min(t,e))}}function m(t,e){for(let n=0;n<e;n++)"number"!=typeof t[n]&&(t[n]=0);return t}var w=b;
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-
|
10
|
-
* v1.
|
11
|
-
*/const v={channel:"channel",channels:"channels",colorField:"color-field",colorFieldScope:"scope--color-field",colorMode:"color-mode",colorModeContainer:"color-mode-container",container:"container",control:"control",controlAndScope:"control-and-scope",controlSection:"control-section",deleteColor:"delete-color",header:"header",hexAndChannelsGroup:"hex-and-channels-group",hexOptions:"color-hex-options",hueScope:"scope--hue",hueSlider:"hue-slider",opacityScope:"scope--opacity",opacitySlider:"opacity-slider",preview:"preview",previewAndSliders:"preview-and-sliders",saveColor:"save-color",savedColor:"saved-color",savedColors:"saved-colors",savedColorsButtons:"saved-colors-buttons",savedColorsSection:"saved-colors-section",scope:"scope",section:"section",slider:"slider",sliders:"sliders",splitSection:"section--split"},M=w("#007AC2"),k="calcite-color-",j={r:255,g:255,b:255},O={h:360,s:100,v:100},x={min:0,max:100},
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.6.0
|
11
|
+
*/const v={channel:"channel",channels:"channels",colorField:"color-field",colorFieldScope:"scope--color-field",colorMode:"color-mode",colorModeContainer:"color-mode-container",container:"container",control:"control",controlAndScope:"control-and-scope",controlSection:"control-section",deleteColor:"delete-color",header:"header",hexAndChannelsGroup:"hex-and-channels-group",hexOptions:"color-hex-options",hueScope:"scope--hue",hueSlider:"hue-slider",opacityScope:"scope--opacity",opacitySlider:"opacity-slider",preview:"preview",previewAndSliders:"preview-and-sliders",saveColor:"save-color",savedColor:"saved-color",savedColors:"saved-colors",savedColorsButtons:"saved-colors-buttons",savedColorsSection:"saved-colors-section",scope:"scope",section:"section",slider:"slider",sliders:"sliders",splitSection:"section--split"},M=w("#007AC2"),k="calcite-color-",j={r:255,g:255,b:255},O={h:360,s:100,v:100},x=O.h-1,F={min:0,max:100},A={s:{slider:{height:12,width:104},colorField:{height:80,width:160},thumb:{radius:10}},m:{slider:{height:12,width:204},colorField:{height:150,width:272},thumb:{radius:10}},l:{slider:{height:12,width:384},colorField:{height:200,width:464},thumb:{radius:10}}},S=1;export{v as C,M as D,O as H,F as O,j as R,S,A as a,x as b,w as c,k as d}
|
@@ -5,7 +5,7 @@
|
|
5
5
|
*/
|
6
6
|
/*!
|
7
7
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
|
-
* See https://github.com/Esri/calcite-
|
9
|
-
* v1.
|
8
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
9
|
+
* v1.6.0
|
10
10
|
*/
|
11
11
|
const e={menu:"menu",defaultTrigger:"default-trigger"},t={tooltip:"tooltip",trigger:"trigger"},r={menu:"ellipsis"};export{e as C,r as I,t as S}
|