@esri/calcite-components 1.5.0-next.25 → 1.5.0-next.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/p-02874c9a.js +6 -0
- package/dist/calcite/p-03b86155.entry.js +6 -0
- package/dist/calcite/p-03fed045.js +6 -0
- package/dist/calcite/{p-f489b74b.js → p-04bc1e1a.js} +2 -2
- package/dist/calcite/{p-7e75d4c7.js → p-052f0c7f.js} +2 -2
- package/dist/calcite/{p-e8822340.js → p-094d12d6.js} +2 -2
- package/dist/calcite/p-098865e8.js +6 -0
- package/dist/calcite/{p-4a44df21.js → p-0ddc5b9a.js} +2 -2
- package/dist/calcite/p-0e17b859.entry.js +6 -0
- package/dist/calcite/p-115b4cc4.entry.js +6 -0
- package/dist/calcite/p-134ceda6.entry.js +6 -0
- package/dist/calcite/p-138a85f5.entry.js +6 -0
- package/dist/calcite/p-14e944c3.entry.js +6 -0
- package/dist/calcite/p-178b97d7.entry.js +6 -0
- package/dist/calcite/p-18134a60.entry.js +6 -0
- package/dist/calcite/{p-7525e8f5.js → p-19073a1d.js} +1 -1
- package/dist/calcite/p-1baa8f7d.entry.js +6 -0
- package/dist/calcite/p-1df2d35f.entry.js +6 -0
- package/dist/calcite/p-1e62f9cf.entry.js +6 -0
- package/dist/calcite/p-20ad16ef.entry.js +6 -0
- package/dist/calcite/p-2184dee3.js +6 -0
- package/dist/calcite/{p-03087b15.js → p-24e555eb.js} +2 -2
- package/dist/calcite/{p-3e50fd22.js → p-257fa274.js} +2 -2
- package/dist/calcite/{p-9a4db6a0.js → p-275a57e8.js} +2 -2
- package/dist/calcite/p-27b3663c.entry.js +6 -0
- package/dist/calcite/p-29de35cb.entry.js +6 -0
- package/dist/calcite/p-2cbc972f.entry.js +6 -0
- package/dist/calcite/{p-d6ee95ef.js → p-2cd89029.js} +2 -2
- package/dist/calcite/{p-2577dd28.js → p-2d4d5b02.js} +2 -2
- package/dist/calcite/p-2e8ad9e3.entry.js +6 -0
- package/dist/calcite/{p-2310a5ce.js → p-2f497f79.js} +2 -2
- package/dist/calcite/p-30904045.entry.js +6 -0
- package/dist/calcite/p-318f4f21.entry.js +6 -0
- package/dist/calcite/{p-d97d871d.js → p-31f85f74.js} +1 -1
- package/dist/calcite/{p-b76dabb1.js → p-33147524.js} +1 -1
- package/dist/calcite/p-35d2bcae.entry.js +6 -0
- package/dist/calcite/p-3b8d0ec5.entry.js +6 -0
- package/dist/calcite/p-3c2a46a3.entry.js +6 -0
- package/dist/calcite/p-3d494bcc.entry.js +6 -0
- package/dist/calcite/{p-768854c1.js → p-41e42f27.js} +2 -2
- package/dist/calcite/p-427a22aa.entry.js +6 -0
- package/dist/calcite/{p-73529ab5.js → p-43433a11.js} +2 -2
- package/dist/calcite/{p-1779db74.js → p-44a074f4.js} +1 -1
- package/dist/calcite/{p-10b1aa5a.js → p-4627f673.js} +2 -2
- package/dist/calcite/p-47d00d3c.entry.js +6 -0
- package/dist/calcite/{p-ce0599c7.js → p-49007b99.js} +2 -2
- package/dist/calcite/{p-0383548f.js → p-49365ee1.js} +2 -2
- package/dist/calcite/{p-2f1e45ac.js → p-4970caf2.js} +2 -2
- package/dist/calcite/p-4b874c80.entry.js +6 -0
- package/dist/calcite/{p-294ad55c.js → p-4bdfdc2f.js} +2 -2
- package/dist/calcite/p-4c020c93.entry.js +6 -0
- package/dist/calcite/{p-2098989d.js → p-4e5376e8.js} +2 -2
- package/dist/calcite/{p-3e22a4c4.js → p-4e9a682f.js} +2 -2
- package/dist/calcite/p-4faa91da.entry.js +6 -0
- package/dist/calcite/p-50345988.entry.js +6 -0
- package/dist/calcite/{p-72a58ac0.js → p-50d5cdd5.js} +1 -1
- package/dist/calcite/{p-2133f270.js → p-51026a1e.js} +2 -2
- package/dist/calcite/{p-ffac00f2.js → p-53ae5888.js} +1 -1
- package/dist/calcite/p-549f2372.entry.js +6 -0
- package/dist/calcite/p-59993a0e.entry.js +6 -0
- package/dist/calcite/{p-af3ad928.js → p-5b11f2b6.js} +2 -2
- package/dist/calcite/p-5d8a1b86.js +6 -0
- package/dist/calcite/{p-c8dc2f24.js → p-5dd5e699.js} +2 -2
- package/dist/calcite/p-5e211d1f.entry.js +6 -0
- package/dist/calcite/{p-b9032141.js → p-5e91d64a.js} +2 -2
- package/dist/calcite/p-5ebd7219.js +6 -0
- package/dist/calcite/{p-d243a7ad.js → p-60c32e32.js} +2 -2
- package/dist/calcite/{p-f67323bf.js → p-62ea86b9.js} +2 -2
- package/dist/calcite/p-65528c73.entry.js +6 -0
- package/dist/calcite/{p-d1b2248d.js → p-6626cf23.js} +1 -1
- package/dist/calcite/p-66ed20d3.entry.js +6 -0
- package/dist/calcite/{p-7edea74f.js → p-6b82c913.js} +2 -2
- package/dist/calcite/p-6e90c72f.entry.js +6 -0
- package/dist/calcite/{p-475c9eb9.js → p-6efa995e.js} +2 -2
- package/dist/calcite/{p-afb4c3ac.js → p-73ce7830.js} +2 -2
- package/dist/calcite/{p-ec2818f4.js → p-7650efdd.js} +1 -1
- package/dist/calcite/p-76dc9c3c.entry.js +6 -0
- package/dist/calcite/p-793f2bea.entry.js +6 -0
- package/dist/calcite/{p-7ca98ed4.js → p-7c12caa4.js} +2 -2
- package/dist/calcite/p-7c130a2e.entry.js +6 -0
- package/dist/calcite/{p-cb9c009b.js → p-7f01c92b.js} +2 -2
- package/dist/calcite/p-82371ed9.entry.js +6 -0
- package/dist/calcite/p-827c6323.entry.js +6 -0
- package/dist/calcite/{p-3e299169.js → p-83a2dc88.js} +3 -3
- package/dist/calcite/p-84ced7c2.js +6 -0
- package/dist/calcite/{p-51d40a7f.js → p-884bab16.js} +2 -2
- package/dist/calcite/{p-7f44bb4f.js → p-89f922b0.js} +2 -2
- package/dist/calcite/p-8a2612de.entry.js +6 -0
- package/dist/calcite/p-8b262300.js +6 -0
- package/dist/calcite/{p-58a88efa.js → p-8c2cfd6d.js} +2 -2
- package/dist/calcite/p-8d2b2cdf.entry.js +6 -0
- package/dist/calcite/{p-be5cbb75.js → p-8fcf52c2.js} +2 -2
- package/dist/calcite/{p-918eeee1.js → p-913f00dd.js} +2 -2
- package/dist/calcite/p-9417dff0.entry.js +6 -0
- package/dist/calcite/{p-f13d3741.js → p-9651464b.js} +2 -2
- package/dist/calcite/p-9bc1ba68.entry.js +6 -0
- package/dist/calcite/p-9cfacec2.entry.js +6 -0
- package/dist/calcite/p-9d4cf252.entry.js +6 -0
- package/dist/calcite/{p-f3e8a769.js → p-9e229b52.js} +2 -2
- package/dist/calcite/{p-0d6b082a.js → p-9ec040a5.js} +2 -2
- package/dist/calcite/{p-93b36612.js → p-9f56b1e4.js} +2 -2
- package/dist/calcite/{p-8cc59c31.js → p-a152f006.js} +1 -1
- package/dist/calcite/{p-5ac7ca76.js → p-a19c0462.js} +1 -1
- package/dist/calcite/{p-082056fc.js → p-a26cdcfd.js} +2 -2
- package/dist/calcite/p-a6985869.entry.js +6 -0
- package/dist/calcite/{p-3cd180ed.js → p-a77fe103.js} +1 -1
- package/dist/calcite/{p-010aaed9.js → p-ab7e6181.js} +1 -1
- package/dist/calcite/p-ac2806e1.entry.js +6 -0
- package/dist/calcite/{p-e9d77568.js → p-aead5591.js} +2 -2
- package/dist/calcite/{p-d33b988b.js → p-b1367a75.js} +2 -2
- package/dist/calcite/p-b270ccd3.entry.js +6 -0
- package/dist/calcite/p-b2ebf362.js +6 -0
- package/dist/calcite/{p-ea52565b.js → p-b48e3912.js} +2 -2
- package/dist/calcite/p-b6e89c55.entry.js +6 -0
- package/dist/calcite/{p-9554e7ac.js → p-b92bf863.js} +2 -2
- package/dist/calcite/p-b97a3764.entry.js +6 -0
- package/dist/calcite/{p-1fe36cb0.js → p-ba4445cf.js} +2 -2
- package/dist/calcite/p-ba6e1418.entry.js +6 -0
- package/dist/calcite/{p-cdbecc28.js → p-bde2a424.js} +2 -2
- package/dist/calcite/{p-b5cab779.js → p-c339384e.js} +1 -1
- package/dist/calcite/{p-760a86f1.js → p-c5a1e3f2.js} +2 -2
- package/dist/calcite/p-c954ee59.entry.js +6 -0
- package/dist/calcite/p-c9f0e939.entry.js +6 -0
- package/dist/calcite/p-cb9bb3cb.entry.js +6 -0
- package/dist/calcite/{p-95121985.js → p-ccd233d1.js} +2 -2
- package/dist/calcite/p-d1148052.entry.js +6 -0
- package/dist/calcite/{p-e7f492d5.js → p-d23cb4cb.js} +2 -2
- package/dist/calcite/{p-8bb8735c.js → p-d4b56ea4.js} +2 -2
- package/dist/calcite/p-d4fd2a06.entry.js +6 -0
- package/dist/calcite/{p-8f0a674a.js → p-d8a7a381.js} +1 -1
- package/dist/calcite/p-d91b4a22.entry.js +6 -0
- package/dist/calcite/p-dc79f59e.entry.js +6 -0
- package/dist/calcite/p-e35a718a.entry.js +6 -0
- package/dist/calcite/p-e3bf1a6f.entry.js +6 -0
- package/dist/calcite/{p-72bd5afb.js → p-e70a6b6d.js} +2 -2
- package/dist/calcite/p-e77f77a1.entry.js +6 -0
- package/dist/calcite/{p-7df06cd7.js → p-f10c8a0f.js} +2 -2
- package/dist/calcite/p-f14b7eb2.entry.js +6 -0
- package/dist/calcite/p-f29383e0.js +6 -0
- package/dist/calcite/{p-26bb1437.js → p-f56b7a83.js} +2 -2
- package/dist/calcite/{p-ccbf1c9b.js → p-f6072095.js} +1 -1
- package/dist/calcite/{p-895d20b8.js → p-f6d09fa0.js} +2 -2
- package/dist/calcite/{p-01c52989.js → p-f6d8e20c.js} +2 -2
- package/dist/calcite/{p-d41db92a.js → p-f886c4dd.js} +2 -2
- package/dist/calcite/p-f8be31a3.js +6 -0
- package/dist/calcite/p-fa097f93.entry.js +6 -0
- package/dist/calcite/p-faba826e.entry.js +6 -0
- package/dist/calcite/p-fb3dcaf2.js +6 -0
- package/dist/calcite/p-fd2bd0ac.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-e787a0e0.js → ExpandToggle-c9386336.js} +8 -8
- package/dist/cjs/{FloatingArrow-c99828f7.js → FloatingArrow-96bf768f.js} +2 -2
- package/dist/cjs/{Heading-6844567a.js → Heading-cd50d5a3.js} +2 -2
- package/dist/cjs/{app-globals-a5ae0d94.js → app-globals-4c48394e.js} +2 -2
- package/dist/cjs/{ar-85516d3b.js → ar-d447d1fc.js} +15 -15
- package/dist/cjs/{array-56bc973f.js → array-10e86e74.js} +1 -1
- package/dist/cjs/{bg-e63565f2.js → bg-663f23f2.js} +15 -15
- package/dist/cjs/{bs-b5b5769e.js → bs-68a18374.js} +15 -15
- package/dist/cjs/{ca-258e1af5.js → ca-2639c932.js} +15 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-bar.cjs.entry.js +17 -17
- package/dist/cjs/calcite-action-group.cjs.entry.js +17 -16
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-pad.cjs.entry.js +16 -16
- package/dist/cjs/calcite-action.cjs.entry.js +12 -12
- package/dist/cjs/calcite-alert.cjs.entry.js +15 -16
- package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card.cjs.entry.js +11 -11
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +23 -24
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -17
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +17 -18
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +5 -5
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-handle.cjs.entry.js +11 -11
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +23 -22
- package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-b7f63af4.js → calcite-input-time-picker.calcite-time-picker-a81dfb2f.js} +62 -62
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input.cjs.entry.js +14 -14
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +25 -18
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu_2.cjs.entry.js +18 -14
- package/dist/cjs/calcite-modal.cjs.entry.js +18 -17
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-notice.cjs.entry.js +13 -13
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +11 -11
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-popover.cjs.entry.js +21 -20
- package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +10 -10
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-shell_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +7 -7
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +14 -14
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-tooltip.cjs.entry.js +14 -13
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +18 -18
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-1e5216b2.js → conditionalSlot-faab0620.js} +3 -3
- package/dist/cjs/{cs-fc975e0f.js → cs-a4250b75.js} +15 -15
- package/dist/cjs/{da-b4a7e36c.js → da-ce47a7fd.js} +15 -15
- package/dist/cjs/{de-at-97a6238a.js → de-at-a233e20e.js} +15 -15
- package/dist/cjs/{de-ch-4692b03b.js → de-ch-0491ab7c.js} +15 -15
- package/dist/cjs/{de-585360c4.js → de-d76c3be4.js} +15 -15
- package/dist/cjs/{debounce-f3d31127.js → debounce-a051ba26.js} +1 -1
- package/dist/cjs/{dom-f1209f90.js → dom-a70213c2.js} +3 -3
- package/dist/cjs/{el-5fd1b2bd.js → el-7a680447.js} +15 -15
- package/dist/cjs/{en-au-b0ac74d7.js → en-au-32e75cca.js} +15 -15
- package/dist/cjs/{en-ca-879d839a.js → en-ca-55a0d05c.js} +15 -15
- package/dist/cjs/{en-gb-67695308.js → en-gb-df8a3274.js} +15 -15
- package/dist/cjs/{es-489ccbf0.js → es-c638d445.js} +15 -15
- package/dist/cjs/{es-mx-3cf2160e.js → es-mx-b44a7be5.js} +15 -15
- package/dist/cjs/{et-109100bd.js → et-86625d97.js} +15 -15
- package/dist/cjs/{fi-89f1e1dc.js → fi-4074e1d6.js} +15 -15
- package/dist/cjs/{filter-df59d5b4.js → filter-9cc30f1b.js} +2 -2
- package/dist/cjs/{floating-ui-9305ed22.js → floating-ui-912392de.js} +3 -3
- package/dist/cjs/{focusTrapComponent-94068937.js → focusTrapComponent-abe7c12c.js} +2 -2
- package/dist/cjs/{form-fc7fc73b.js → form-9edc0feb.js} +3 -3
- package/dist/cjs/{fr-a7addcd5.js → fr-bff27836.js} +15 -15
- package/dist/cjs/{fr-ch-0c67bbaf.js → fr-ch-4fbc26aa.js} +15 -15
- package/dist/cjs/{guid-a9364df5.js → guid-042b36e4.js} +1 -1
- package/dist/cjs/{he-3eea05f7.js → he-1834f00f.js} +15 -15
- package/dist/cjs/{hi-19ae5c73.js → hi-1dbce04f.js} +15 -15
- package/dist/cjs/{hr-d204bc96.js → hr-28f360f7.js} +15 -15
- package/dist/cjs/{hu-6bf33719.js → hu-17c0851a.js} +15 -15
- package/dist/cjs/{id-97f531c0.js → id-f56b5629.js} +15 -15
- package/dist/cjs/{index-5d51e914.js → index-0464ec66.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-5e989d6d.js → interactive-34fbac40.js} +1 -1
- package/dist/cjs/{it-aff30db0.js → it-5ee96f9c.js} +15 -15
- package/dist/cjs/{it-ch-d5c8e73f.js → it-ch-6439f82e.js} +15 -15
- package/dist/cjs/{ja-af03f788.js → ja-9c6f4c69.js} +15 -15
- package/dist/cjs/{key-e003c166.js → key-99b5aee6.js} +1 -1
- package/dist/cjs/{ko-45f0409b.js → ko-d2e85510.js} +15 -15
- package/dist/cjs/{label-5e318f7f.js → label-9b565bca.js} +2 -2
- package/dist/cjs/{loadable-c2ed9e7f.js → loadable-4d58d337.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-e3d130e1.js → locale-b64c0691.js} +4 -4
- package/dist/cjs/{lt-acf12c2a.js → lt-82e2880b.js} +15 -15
- package/dist/cjs/{lv-8802d734.js → lv-49a0ee50.js} +15 -15
- package/dist/cjs/{math-70310913.js → math-09a6ec1e.js} +1 -1
- package/dist/cjs/{mk-daf4ecca.js → mk-7eb11108.js} +15 -15
- package/dist/cjs/{nb-f966598b.js → nb-087d5b58.js} +15 -15
- package/dist/cjs/{nl-0ac0c2f0.js → nl-b75581ec.js} +15 -15
- package/dist/cjs/{observers-38374833.js → observers-550d0737.js} +1 -1
- package/dist/cjs/{openCloseComponent-623da674.js → openCloseComponent-297b8727.js} +2 -50
- package/dist/cjs/{pl-d3067cfb.js → pl-524d3147.js} +15 -15
- package/dist/cjs/{pt-adec233b.js → pt-166addd9.js} +15 -15
- package/dist/cjs/{pt-br-5c99bfa3.js → pt-br-3bdc1505.js} +15 -15
- package/dist/cjs/{resources-a33985fa.js → resources-176daa8c.js} +5 -5
- package/dist/cjs/{resources-8cbffc0c.js → resources-6be5c75a.js} +1 -1
- package/dist/cjs/{resources-1f058096.js → resources-8c5d3694.js} +1 -1
- package/dist/cjs/{resources-19c81d0d.js → resources-9d9d6039.js} +1 -1
- package/dist/cjs/{resources-2bee64d3.js → resources-d98c3beb.js} +1 -1
- package/dist/cjs/{resources-0be2ee1e.js → resources-de8954c3.js} +1 -1
- package/dist/cjs/{resources-0cfb0ea0.js → resources-e6f06d90.js} +1 -1
- package/dist/cjs/{ro-cf5cc6e2.js → ro-d9d603d3.js} +15 -15
- package/dist/cjs/{ru-0cfc9f4d.js → ru-9558087f.js} +15 -15
- package/dist/cjs/{sk-a450e93d.js → sk-eda680ed.js} +15 -15
- package/dist/cjs/{sl-3725f3f1.js → sl-bdd8c7ea.js} +15 -15
- package/dist/cjs/{sortableComponent-e8249bb5.js → sortableComponent-2bc4d179.js} +2 -2
- package/dist/cjs/{sr-69e78cc5.js → sr-67853dd0.js} +15 -15
- package/dist/cjs/{sv-ab6908c6.js → sv-3a7f75a7.js} +15 -15
- package/dist/cjs/{t9n-31d6d819.js → t9n-24f52de4.js} +3 -3
- package/dist/cjs/{th-ca671d34.js → th-1464b087.js} +15 -15
- package/dist/cjs/{throttle-cfd36323.js → throttle-6cba0092.js} +2 -2
- package/dist/cjs/{tr-ccb9f6da.js → tr-ef7d0987.js} +15 -15
- package/dist/cjs/{uk-f30cd6f4.js → uk-770fabea.js} +15 -15
- package/dist/cjs/{utils-12a3938e.js → utils-3d763265.js} +3 -3
- package/dist/cjs/{utils-f4c34fb8.js → utils-3fd642f9.js} +1 -1
- package/dist/cjs/{vi-8dee5017.js → vi-f1e706e6.js} +15 -15
- package/dist/cjs/{zh-cn-418d2ddd.js → zh-cn-cbec58b2.js} +15 -15
- package/dist/cjs/{zh-hk-73047c91.js → zh-hk-a4434e67.js} +15 -15
- package/dist/cjs/{zh-tw-c59bca7d.js → zh-tw-098865b7.js} +15 -15
- package/dist/collection/components/accordion/accordion.css +8 -110
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +7 -110
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +8 -110
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +8 -110
- package/dist/collection/components/action-bar/action-bar.js +2 -2
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +8 -110
- package/dist/collection/components/action-group/action-group.js +27 -3
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +14 -116
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +8 -110
- package/dist/collection/components/action-pad/action-pad.js +2 -2
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +8 -114
- package/dist/collection/components/alert/alert.js +4 -5
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +33 -135
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +8 -211
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +8 -110
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +8 -110
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +8 -110
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +8 -110
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +8 -110
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +8 -110
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +8 -110
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +8 -110
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +8 -110
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +8 -110
- package/dist/collection/components/combobox/combobox.js +4 -5
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +8 -110
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +0 -110
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +8 -110
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +7 -110
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +13 -115
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +8 -110
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +8 -110
- package/dist/collection/components/dropdown/dropdown.js +4 -5
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +8 -110
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +8 -110
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +8 -110
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +8 -110
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +8 -110
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +8 -110
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +4 -4
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +8 -110
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +8 -110
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +8 -110
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +8 -110
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +8 -110
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +8 -110
- package/dist/collection/components/input-date-picker/input-date-picker.js +6 -5
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +8 -110
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +8 -110
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +8 -110
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +8 -110
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/label/label.css +8 -110
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +8 -110
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +8 -110
- package/dist/collection/components/list/list.js +10 -3
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +4 -110
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +4 -110
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +7 -211
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +16 -118
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +44 -114
- package/dist/collection/components/menu-item/menu-item.js +7 -3
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +8 -110
- package/dist/collection/components/modal/modal.js +5 -3
- package/dist/collection/components/modal/resources.js +1 -2
- package/dist/collection/components/navigation/navigation.css +8 -110
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +21 -123
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +8 -110
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +8 -110
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -107
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -107
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +8 -110
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +4 -110
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +8 -110
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +8 -110
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +8 -110
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +8 -110
- package/dist/collection/components/popover/popover.js +6 -5
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +7 -211
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +8 -110
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +14 -116
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.css +8 -110
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +13 -115
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +8 -110
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +8 -110
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +8 -110
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +8 -110
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +8 -110
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +8 -110
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +8 -110
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +8 -110
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +8 -110
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +16 -122
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.css +8 -110
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +7 -110
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +8 -110
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.css +15 -117
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +7 -110
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +7 -110
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +7 -110
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +8 -110
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +8 -110
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +8 -110
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +8 -110
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +8 -110
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +8 -110
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +10 -112
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +7 -110
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +8 -110
- package/dist/collection/components/tooltip/tooltip.js +6 -5
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +9 -111
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +8 -114
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +8 -110
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +8 -110
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +3 -2
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +4 -4
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +6 -4
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action.js +2 -2
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +3 -3
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +3 -3
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +5 -6
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +2 -2
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +2 -2
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +5 -6
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +2 -2
- package/dist/components/calcite-dropdown-item.js +2 -2
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +2 -2
- package/dist/components/calcite-flow.js +2 -2
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +2 -2
- package/dist/components/calcite-input-date-picker.js +7 -6
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +2 -2
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +11 -4
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +8 -4
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +6 -5
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-user.js +2 -2
- package/dist/components/calcite-navigation.js +2 -2
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +2 -2
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +2 -2
- package/dist/components/calcite-segmented-control.js +2 -2
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +2 -2
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +2 -2
- package/dist/components/calcite-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +2 -2
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/checkbox.js +2 -2
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +2 -2
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +5 -6
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +2 -2
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +2 -2
- package/dist/components/input-text.js +2 -2
- package/dist/components/input.js +2 -2
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +2 -2
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +2 -2
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +2 -48
- package/dist/components/panel.js +2 -2
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +7 -6
- package/dist/components/progress.js +2 -2
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +2 -2
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +2 -2
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +2 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +2 -2
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +7 -6
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-5405d8a5.js → ExpandToggle-caead9f6.js} +8 -8
- package/dist/esm/{FloatingArrow-2b835813.js → FloatingArrow-5d101aaf.js} +2 -2
- package/dist/esm/{Heading-b46e140e.js → Heading-8d3f022c.js} +2 -2
- package/dist/esm/{app-globals-e7dc41fc.js → app-globals-fc7421dc.js} +2 -2
- package/dist/esm/{ar-777b574c.js → ar-55e581e1.js} +15 -15
- package/dist/esm/{array-4a482e40.js → array-163d34d6.js} +1 -1
- package/dist/esm/{bg-a080aac2.js → bg-8a33f110.js} +15 -15
- package/dist/esm/{bs-18bf4cfb.js → bs-289f85d8.js} +15 -15
- package/dist/esm/{ca-84ad4003.js → ca-58753859.js} +15 -15
- package/dist/esm/calcite-accordion_2.entry.js +9 -9
- package/dist/esm/calcite-action-bar.entry.js +17 -17
- package/dist/esm/calcite-action-group.entry.js +17 -16
- package/dist/esm/calcite-action-menu.entry.js +10 -10
- package/dist/esm/calcite-action-pad.entry.js +16 -16
- package/dist/esm/calcite-action.entry.js +12 -12
- package/dist/esm/calcite-alert.entry.js +15 -16
- package/dist/esm/calcite-avatar.entry.js +7 -7
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card.entry.js +11 -11
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +18 -18
- package/dist/esm/calcite-combobox_3.entry.js +23 -24
- package/dist/esm/calcite-date-picker_4.entry.js +17 -17
- package/dist/esm/calcite-dropdown_3.entry.js +17 -18
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +5 -5
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-handle.entry.js +11 -11
- package/dist/esm/calcite-icon.entry.js +7 -7
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-date-picker.entry.js +23 -22
- package/dist/esm/calcite-input-message.entry.js +6 -6
- package/dist/esm/calcite-input-number.entry.js +14 -14
- package/dist/esm/calcite-input-text.entry.js +14 -14
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-d9c5d5a7.js → calcite-input-time-picker.calcite-time-picker-096695f9.js} +62 -62
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input.entry.js +14 -14
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +25 -18
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-menu_2.entry.js +18 -14
- package/dist/esm/calcite-modal.entry.js +18 -17
- package/dist/esm/calcite-navigation_3.entry.js +9 -9
- package/dist/esm/calcite-notice.entry.js +13 -13
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +11 -11
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +19 -19
- package/dist/esm/calcite-popover.entry.js +21 -20
- package/dist/esm/calcite-progress.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +5 -5
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +10 -10
- package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
- package/dist/esm/calcite-shell_3.entry.js +14 -14
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +7 -7
- package/dist/esm/calcite-stepper_2.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-tab_4.entry.js +14 -14
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-select_2.entry.js +7 -7
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +14 -14
- package/dist/esm/calcite-tooltip.entry.js +14 -13
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +18 -18
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-12c7d8f0.js → conditionalSlot-3c7f89d4.js} +3 -3
- package/dist/esm/{cs-2d5d3274.js → cs-75147414.js} +15 -15
- package/dist/esm/{da-0848bc00.js → da-79a85da5.js} +15 -15
- package/dist/esm/{de-d159611b.js → de-718cf12b.js} +15 -15
- package/dist/esm/{de-at-56b3911c.js → de-at-891cd707.js} +15 -15
- package/dist/esm/{de-ch-64ca76c4.js → de-ch-342d65fc.js} +15 -15
- package/dist/esm/{debounce-59750f00.js → debounce-e51a441f.js} +1 -1
- package/dist/esm/{dom-d1da6122.js → dom-45852edb.js} +3 -3
- package/dist/esm/{el-51535553.js → el-0da7bdf2.js} +15 -15
- package/dist/esm/{en-au-f47f8307.js → en-au-637f96bd.js} +15 -15
- package/dist/esm/{en-ca-a493ca99.js → en-ca-3621273a.js} +15 -15
- package/dist/esm/{en-gb-e0e03877.js → en-gb-56138796.js} +15 -15
- package/dist/esm/{es-4c308e44.js → es-d7c9f3a1.js} +15 -15
- package/dist/esm/{es-mx-2668159c.js → es-mx-2a5059d6.js} +15 -15
- package/dist/esm/{et-871204c9.js → et-d3792ffb.js} +15 -15
- package/dist/esm/{fi-14c8efd9.js → fi-d92d7d89.js} +15 -15
- package/dist/esm/{filter-ffef116d.js → filter-8a84e668.js} +2 -2
- package/dist/esm/{floating-ui-b297bb6b.js → floating-ui-fb5e0df6.js} +3 -3
- package/dist/esm/{focusTrapComponent-e6edc68c.js → focusTrapComponent-d9b7bf57.js} +2 -2
- package/dist/esm/{form-bd7b1a6e.js → form-dc7864a8.js} +3 -3
- package/dist/esm/{fr-ch-2c0928b4.js → fr-ch-716b5628.js} +15 -15
- package/dist/esm/{fr-82c619cf.js → fr-dd019b54.js} +15 -15
- package/dist/esm/{guid-8e9582a2.js → guid-0d38c61a.js} +1 -1
- package/dist/esm/{he-a3be4833.js → he-034ea36a.js} +15 -15
- package/dist/esm/{hi-518fc5c5.js → hi-133b4944.js} +15 -15
- package/dist/esm/{hr-331d1cc4.js → hr-7ff3f381.js} +15 -15
- package/dist/esm/{hu-0f720309.js → hu-453419c4.js} +15 -15
- package/dist/esm/{id-6639da1a.js → id-2646f5d9.js} +15 -15
- package/dist/esm/{index-cda1ca74.js → index-05a0bdf0.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-d78614c9.js → interactive-cc5c9738.js} +1 -1
- package/dist/esm/{it-ch-3b3fbdb8.js → it-ch-31177042.js} +15 -15
- package/dist/esm/{it-916f3d29.js → it-f4965661.js} +15 -15
- package/dist/esm/{ja-dd03617d.js → ja-ad74d106.js} +15 -15
- package/dist/esm/{key-c86a17b6.js → key-ce4be47c.js} +1 -1
- package/dist/esm/{ko-24dd4b1d.js → ko-d5b187ce.js} +15 -15
- package/dist/esm/{label-1c9dbf79.js → label-6f2e465c.js} +2 -2
- package/dist/esm/{loadable-fae9f16c.js → loadable-afff44f9.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-e86ad55a.js → locale-de40301f.js} +4 -4
- package/dist/esm/{lt-24b05756.js → lt-8e01b00a.js} +15 -15
- package/dist/esm/{lv-6499bdbd.js → lv-18eba673.js} +15 -15
- package/dist/esm/{math-9ec2d771.js → math-26a0302f.js} +1 -1
- package/dist/esm/{mk-1a4170bf.js → mk-e4f89d00.js} +15 -15
- package/dist/esm/{nb-c8d23531.js → nb-99e69ee8.js} +15 -15
- package/dist/esm/{nl-b0d36ba8.js → nl-e7f2e35a.js} +15 -15
- package/dist/esm/{observers-0bb9eeec.js → observers-9d56063c.js} +1 -1
- package/dist/esm/openCloseComponent-de566f2d.js +45 -0
- package/dist/esm/{pl-ecac43c1.js → pl-6794153e.js} +15 -15
- package/dist/esm/{pt-753d88c3.js → pt-77c57619.js} +15 -15
- package/dist/esm/{pt-br-b1f87983.js → pt-br-5baae28f.js} +15 -15
- package/dist/esm/{resources-e0b00aa2.js → resources-465818a6.js} +1 -1
- package/dist/esm/{resources-21ce6736.js → resources-4e0549a1.js} +1 -1
- package/dist/esm/{resources-4aa4ff78.js → resources-614ea764.js} +1 -1
- package/dist/esm/{resources-04b78cff.js → resources-843859fe.js} +1 -1
- package/dist/esm/{resources-05a7766b.js → resources-96ca6ff7.js} +1 -1
- package/dist/esm/{resources-abfe6e08.js → resources-b1acb80e.js} +5 -5
- package/dist/esm/{resources-b1314051.js → resources-dd8ddbb9.js} +1 -1
- package/dist/esm/{ro-02b53b41.js → ro-3fa5b043.js} +15 -15
- package/dist/esm/{ru-a806736a.js → ru-20e77bff.js} +15 -15
- package/dist/esm/{sk-b288d781.js → sk-1dc1d56e.js} +15 -15
- package/dist/esm/{sl-518163fb.js → sl-9b11f199.js} +15 -15
- package/dist/esm/{sortableComponent-f9a4ed50.js → sortableComponent-07194492.js} +2 -2
- package/dist/esm/{sr-9b46ea34.js → sr-79eb0986.js} +15 -15
- package/dist/esm/{sv-558f913f.js → sv-f0a0f8d8.js} +15 -15
- package/dist/esm/{t9n-fc5d5fae.js → t9n-1c391196.js} +3 -3
- package/dist/esm/{th-bd5f4c7c.js → th-93df8a7e.js} +15 -15
- package/dist/esm/{throttle-a11162d4.js → throttle-3b6e78ac.js} +2 -2
- package/dist/esm/{tr-01ecc9a6.js → tr-e7e40330.js} +15 -15
- package/dist/esm/{uk-f6c52e83.js → uk-71640fec.js} +15 -15
- package/dist/esm/{utils-09258c76.js → utils-388ce318.js} +1 -1
- package/dist/esm/{utils-f1ccdc46.js → utils-50028328.js} +3 -3
- package/dist/esm/{vi-9c41db37.js → vi-7e685c59.js} +15 -15
- package/dist/esm/{zh-cn-8f7c16bf.js → zh-cn-b10aee48.js} +15 -15
- package/dist/esm/{zh-hk-7245ebd9.js → zh-hk-7fd735cf.js} +15 -15
- package/dist/esm/{zh-tw-c4ea507a.js → zh-tw-db3ff84b.js} +15 -15
- package/dist/extras/docs-json.json +23 -1
- package/dist/extras/vscode-data.json +12 -0
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/action-group/action-group.d.ts +9 -0
- package/dist/types/components/functional/ExpandToggle.d.ts +2 -2
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +2 -2
- package/dist/types/components/menu-item/menu-item.d.ts +1 -0
- package/dist/types/components/modal/modal.d.ts +1 -0
- package/dist/types/components/modal/resources.d.ts +0 -1
- package/dist/types/components.d.ts +9 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/locale.d.ts +2 -2
- package/hydrate/index.js +147 -179
- package/package.json +3 -3
- package/dist/calcite/p-07ccd1d7.entry.js +0 -6
- package/dist/calcite/p-0931bd24.entry.js +0 -6
- package/dist/calcite/p-0d4c1cae.entry.js +0 -6
- package/dist/calcite/p-0fa08818.entry.js +0 -6
- package/dist/calcite/p-127f1ad0.entry.js +0 -6
- package/dist/calcite/p-1c1e20fa.entry.js +0 -6
- package/dist/calcite/p-217fe239.entry.js +0 -6
- package/dist/calcite/p-23c147c9.js +0 -6
- package/dist/calcite/p-26cb3af3.entry.js +0 -6
- package/dist/calcite/p-28aaa9c4.entry.js +0 -6
- package/dist/calcite/p-2a68dcf7.entry.js +0 -6
- package/dist/calcite/p-2cb3fb75.js +0 -6
- package/dist/calcite/p-2cd2a5b9.entry.js +0 -6
- package/dist/calcite/p-2ebdacc9.js +0 -6
- package/dist/calcite/p-30b2ac2c.entry.js +0 -6
- package/dist/calcite/p-31b9a774.entry.js +0 -6
- package/dist/calcite/p-3307ec7b.entry.js +0 -6
- package/dist/calcite/p-37eb4e52.entry.js +0 -6
- package/dist/calcite/p-4201983b.entry.js +0 -6
- package/dist/calcite/p-44086a13.entry.js +0 -6
- package/dist/calcite/p-4c035904.entry.js +0 -6
- package/dist/calcite/p-4ec26d66.entry.js +0 -6
- package/dist/calcite/p-4f583533.entry.js +0 -6
- package/dist/calcite/p-5182c334.entry.js +0 -6
- package/dist/calcite/p-5587a5d7.entry.js +0 -6
- package/dist/calcite/p-5698f991.entry.js +0 -6
- package/dist/calcite/p-573a5d4b.entry.js +0 -6
- package/dist/calcite/p-58e2ce85.entry.js +0 -6
- package/dist/calcite/p-59d17248.entry.js +0 -6
- package/dist/calcite/p-5a817605.entry.js +0 -6
- package/dist/calcite/p-5d3325a7.entry.js +0 -6
- package/dist/calcite/p-5e81b276.entry.js +0 -6
- package/dist/calcite/p-60aa77d7.entry.js +0 -6
- package/dist/calcite/p-61a37689.js +0 -6
- package/dist/calcite/p-62a7be17.entry.js +0 -6
- package/dist/calcite/p-67b9c68c.entry.js +0 -6
- package/dist/calcite/p-6cb67381.entry.js +0 -6
- package/dist/calcite/p-6f65dcda.entry.js +0 -6
- package/dist/calcite/p-718c9619.entry.js +0 -6
- package/dist/calcite/p-797b722f.js +0 -6
- package/dist/calcite/p-7d805db4.entry.js +0 -6
- package/dist/calcite/p-7f674e7e.entry.js +0 -6
- package/dist/calcite/p-80c88d1e.entry.js +0 -6
- package/dist/calcite/p-81ad4d8e.entry.js +0 -6
- package/dist/calcite/p-82f679f1.entry.js +0 -6
- package/dist/calcite/p-879a364b.js +0 -6
- package/dist/calcite/p-8fa5cca3.js +0 -6
- package/dist/calcite/p-947f4cd0.entry.js +0 -6
- package/dist/calcite/p-9c03b497.js +0 -6
- package/dist/calcite/p-9e5880e2.js +0 -6
- package/dist/calcite/p-a252d201.entry.js +0 -6
- package/dist/calcite/p-a3efff33.entry.js +0 -6
- package/dist/calcite/p-a83ebc5e.entry.js +0 -6
- package/dist/calcite/p-b31a9948.entry.js +0 -6
- package/dist/calcite/p-b873d58d.entry.js +0 -6
- package/dist/calcite/p-c0f937cb.entry.js +0 -6
- package/dist/calcite/p-c306a3af.entry.js +0 -6
- package/dist/calcite/p-c3c330a6.entry.js +0 -6
- package/dist/calcite/p-ca8a843a.entry.js +0 -6
- package/dist/calcite/p-d25a54a8.entry.js +0 -6
- package/dist/calcite/p-d2e9ee70.entry.js +0 -6
- package/dist/calcite/p-d352ca74.js +0 -6
- package/dist/calcite/p-d7c47127.entry.js +0 -6
- package/dist/calcite/p-dc983cd5.js +0 -6
- package/dist/calcite/p-e6716051.entry.js +0 -6
- package/dist/calcite/p-e8a02648.entry.js +0 -6
- package/dist/calcite/p-ea294861.entry.js +0 -6
- package/dist/calcite/p-ee725990.entry.js +0 -6
- package/dist/calcite/p-eed60db7.entry.js +0 -6
- package/dist/calcite/p-f263e047.entry.js +0 -6
- package/dist/calcite/p-f5066d95.entry.js +0 -6
- package/dist/calcite/p-f6d70daa.entry.js +0 -6
- package/dist/calcite/p-f76b8215.entry.js +0 -6
- package/dist/calcite/p-fe73d538.entry.js +0 -6
- package/dist/calcite/p-feae623c.entry.js +0 -6
- package/dist/calcite/p-ffa21728.entry.js +0 -6
- package/dist/calcite/p-ffc9569e.js +0 -6
- package/dist/esm/openCloseComponent-3e1fc85e.js +0 -91
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v1.5.0-next.27
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,a as s,F as n}from"./p-7650efdd.js";import{i as r,b as a,d as o,j as l}from"./p-83a2dc88.js";import{C as h,n as c,a as u,o as d,b as p,c as f,p as g,d as b,t as m,e as w,f as y,g as v,j as k,i as x,r as C,k as M}from"./p-19073a1d.js";import{c as j,d as A,u as F}from"./p-a152f006.js";import{i as z}from"./p-53ae5888.js";import{c as S,s as O,a as $}from"./p-d4b56ea4.js";import{c as D,d as I}from"./p-f886c4dd.js";import{c as q}from"./p-a19c0462.js";import{u as E,s as N,c as L,d as K}from"./p-4bdfdc2f.js";import{t as U}from"./p-b92bf863.js";import"./p-31f85f74.js";import"./p-c339384e.js";import"./p-50d5cdd5.js";import"./p-d8a7a381.js";function P(t,e,i){return t(i={path:e,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},i.exports),i.exports}var T={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]},_=P((function(t){var e=Array.prototype.concat,i=Array.prototype.slice,s=t.exports=function(t){for(var s,n=[],r=0,a=t.length;r<a;r++){var o=t[r];(s=o)&&"string"!=typeof s&&(s instanceof Array||Array.isArray(s)||s.length>=0&&(s.splice instanceof Function||Object.getOwnPropertyDescriptor(s,s.length-1)&&"String"!==s.constructor.name))?n=e.call(n,i.call(o)):n.push(o)}return n};s.wrap=function(t){return function(){return t(s(arguments))}}})),H=P((function(t){var e=Object.hasOwnProperty,i=Object.create(null);for(var s in T)e.call(T,s)&&(i[T[s]]=s);var n=t.exports={to:{},get:{}};function r(t,e,i){return Math.min(Math.max(e,t),i)}function a(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}n.get=function(t){var e,i;switch(t.substring(0,3).toLowerCase()){case"hsl":e=n.get.hsl(t),i="hsl";break;case"hwb":e=n.get.hwb(t),i="hwb";break;default:e=n.get.rgb(t),i="rgb"}return e?{model:i,value:e}:null},n.get.rgb=function(t){if(!t)return null;var i,s,n,a=[0,0,0,1];if(i=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(n=i[2],i=i[1],s=0;s<3;s++){var o=2*s;a[s]=parseInt(i.slice(o,o+2),16)}n&&(a[3]=parseInt(n,16)/255)}else if(i=t.match(/^#([a-f0-9]{3,4})$/i)){for(n=(i=i[1])[3],s=0;s<3;s++)a[s]=parseInt(i[s]+i[s],16);n&&(a[3]=parseInt(n+n,16)/255)}else if(i=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(i[s+1],0);i[4]&&(a[3]=i[5]?.01*parseFloat(i[4]):parseFloat(i[4]))}else{if(!(i=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(i=t.match(/^(\w+)$/))?"transparent"===i[1]?[0,0,0,0]:e.call(T,i[1])?((a=T[i[1]])[3]=1,a):null:null;for(s=0;s<3;s++)a[s]=Math.round(2.55*parseFloat(i[s+1]));i[4]&&(a[3]=i[5]?.01*parseFloat(i[4]):parseFloat(i[4]))}for(s=0;s<3;s++)a[s]=r(a[s],0,255);return a[3]=r(a[3],0,1),a},n.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 i=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,r(parseFloat(e[2]),0,100),r(parseFloat(e[3]),0,100),r(isNaN(i)?1:i,0,1)]}return null},n.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 i=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,r(parseFloat(e[2]),0,100),r(parseFloat(e[3]),0,100),r(isNaN(i)?1:i,0,1)]}return null},n.to.hex=function(){var t=_(arguments);return"#"+a(t[0])+a(t[1])+a(t[2])+(t[3]<1?a(Math.round(255*t[3])):"")},n.to.rgb=function(){var t=_(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]+")"},n.to.rgb.percent=function(){var t=_(arguments),e=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),s=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+i+"%, "+s+"%)":"rgba("+e+"%, "+i+"%, "+s+"%, "+t[3]+")"},n.to.hsl=function(){var t=_(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},n.to.hwb=function(){var t=_(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},n.to.keyword=function(t){return i[t.slice(0,3)]}})),V={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]};const B={};for(const t of Object.keys(V))B[V[t]]=t;const J={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 R=J;for(const t of Object.keys(J)){if(!("channels"in J[t]))throw new Error("missing channels property: "+t);if(!("labels"in J[t]))throw new Error("missing channel labels property: "+t);if(J[t].labels.length!==J[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:i}=J[t];delete J[t].channels,delete J[t].labels,Object.defineProperty(J[t],"channels",{value:e}),Object.defineProperty(J[t],"labels",{value:i})}function W(t,e){return function(i){return e(t(i))}}function X(t,e){const i=[e[t].parent,t];let s=R[e[t].parent][t],n=e[t].parent;for(;e[n].parent;)i.unshift(e[n].parent),s=W(R[e[n].parent][n],s),n=e[n].parent;return s.conversion=i,s}J.rgb.hsl=function(t){const e=t[0]/255,i=t[1]/255,s=t[2]/255,n=Math.min(e,i,s),r=Math.max(e,i,s),a=r-n;let o,l;r===n?o=0:e===r?o=(i-s)/a:i===r?o=2+(s-e)/a:s===r&&(o=4+(e-i)/a),o=Math.min(60*o,360),o<0&&(o+=360);const h=(n+r)/2;return l=r===n?0:h<=.5?a/(r+n):a/(2-r-n),[o,100*l,100*h]},J.rgb.hsv=function(t){let e,i,s,n,r;const a=t[0]/255,o=t[1]/255,l=t[2]/255,h=Math.max(a,o,l),c=h-Math.min(a,o,l),u=function(t){return(h-t)/6/c+.5};return 0===c?(n=0,r=0):(r=c/h,e=u(a),i=u(o),s=u(l),a===h?n=s-i:o===h?n=1/3+e-s:l===h&&(n=2/3+i-e),n<0?n+=1:n>1&&(n-=1)),[360*n,100*r,100*h]},J.rgb.hwb=function(t){const e=t[0],i=t[1];let s=t[2];const n=J.rgb.hsl(t)[0],r=1/255*Math.min(e,Math.min(i,s));return s=1-1/255*Math.max(e,Math.max(i,s)),[n,100*r,100*s]},J.rgb.cmyk=function(t){const e=t[0]/255,i=t[1]/255,s=t[2]/255,n=Math.min(1-e,1-i,1-s);return[100*((1-e-n)/(1-n)||0),100*((1-i-n)/(1-n)||0),100*((1-s-n)/(1-n)||0),100*n]},J.rgb.keyword=function(t){const e=B[t];if(e)return e;let i,s=1/0;for(const e of Object.keys(V)){const a=((n=t)[0]-(r=V[e])[0])**2+(n[1]-r[1])**2+(n[2]-r[2])**2;a<s&&(s=a,i=e)}var n,r;return i},J.keyword.rgb=function(t){return V[t]},J.rgb.xyz=function(t){let e=t[0]/255,i=t[1]/255,s=t[2]/255;return e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,[100*(.4124*e+.3576*i+.1805*s),100*(.2126*e+.7152*i+.0722*s),100*(.0193*e+.1192*i+.9505*s)]},J.rgb.lab=function(t){const e=J.rgb.xyz(t);let i=e[0],s=e[1],n=e[2];return i/=95.047,s/=100,n/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,[116*s-16,500*(i-s),200*(s-n)]},J.hsl.rgb=function(t){const e=t[0]/360,i=t[1]/100,s=t[2]/100;let n,r,a;if(0===i)return a=255*s,[a,a,a];n=s<.5?s*(1+i):s+i-s*i;const o=2*s-n,l=[0,0,0];for(let t=0;t<3;t++)r=e+1/3*-(t-1),r<0&&r++,r>1&&r--,a=6*r<1?o+6*(n-o)*r:2*r<1?n:3*r<2?o+(n-o)*(2/3-r)*6:o,l[t]=255*a;return l},J.hsl.hsv=function(t){const e=t[0];let i=t[1]/100,s=t[2]/100,n=i;const r=Math.max(s,.01);return s*=2,i*=s<=1?s:2-s,n*=r<=1?r:2-r,[e,100*(0===s?2*n/(r+n):2*i/(s+i)),(s+i)/2*100]},J.hsv.rgb=function(t){const e=t[0]/60,i=t[1]/100;let s=t[2]/100;const n=Math.floor(e)%6,r=e-Math.floor(e),a=255*s*(1-i),o=255*s*(1-i*r),l=255*s*(1-i*(1-r));switch(s*=255,n){case 0:return[s,l,a];case 1:return[o,s,a];case 2:return[a,s,l];case 3:return[a,o,s];case 4:return[l,a,s];case 5:return[s,a,o]}},J.hsv.hsl=function(t){const e=t[0],i=t[1]/100,s=t[2]/100,n=Math.max(s,.01);let r,a;a=(2-i)*s;const o=(2-i)*n;return r=i*n,r/=o<=1?o:2-o,r=r||0,a/=2,[e,100*r,100*a]},J.hwb.rgb=function(t){const e=t[0]/360;let i=t[1]/100,s=t[2]/100;const n=i+s;let r;n>1&&(i/=n,s/=n);const a=Math.floor(6*e),o=1-s;r=6*e-a,0!=(1&a)&&(r=1-r);const l=i+r*(o-i);let h,c,u;switch(a){default:case 6:case 0:h=o,c=l,u=i;break;case 1:h=l,c=o,u=i;break;case 2:h=i,c=o,u=l;break;case 3:h=i,c=l,u=o;break;case 4:h=l,c=i,u=o;break;case 5:h=o,c=i,u=l}return[255*h,255*c,255*u]},J.cmyk.rgb=function(t){const e=t[1]/100,i=t[2]/100,s=t[3]/100;return[255*(1-Math.min(1,t[0]/100*(1-s)+s)),255*(1-Math.min(1,e*(1-s)+s)),255*(1-Math.min(1,i*(1-s)+s))]},J.xyz.rgb=function(t){const e=t[0]/100,i=t[1]/100,s=t[2]/100;let n,r,a;return n=3.2406*e+-1.5372*i+-.4986*s,r=-.9689*e+1.8758*i+.0415*s,a=.0557*e+-.204*i+1.057*s,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),a=Math.min(Math.max(0,a),1),[255*n,255*r,255*a]},J.xyz.lab=function(t){let e=t[0],i=t[1],s=t[2];return e/=95.047,i/=100,s/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,[116*i-16,500*(e-i),200*(i-s)]},J.lab.xyz=function(t){let e,i,s;i=(t[0]+16)/116,e=t[1]/500+i,s=i-t[2]/200;const n=i**3,r=e**3,a=s**3;return i=n>.008856?n:(i-16/116)/7.787,e=r>.008856?r:(e-16/116)/7.787,s=a>.008856?a:(s-16/116)/7.787,e*=95.047,i*=100,s*=108.883,[e,i,s]},J.lab.lch=function(t){const e=t[0],i=t[1],s=t[2];let n;return n=360*Math.atan2(s,i)/2/Math.PI,n<0&&(n+=360),[e,Math.sqrt(i*i+s*s),n]},J.lch.lab=function(t){const e=t[1],i=t[2]/360*2*Math.PI;return[t[0],e*Math.cos(i),e*Math.sin(i)]},J.rgb.ansi16=function(t,e=null){const[i,s,n]=t;let r=null===e?J.rgb.hsv(t)[2]:e;if(r=Math.round(r/50),0===r)return 30;let a=30+(Math.round(n/255)<<2|Math.round(s/255)<<1|Math.round(i/255));return 2===r&&(a+=60),a},J.hsv.ansi16=function(t){return J.rgb.ansi16(J.hsv.rgb(t),t[2])},J.rgb.ansi256=function(t){const e=t[0],i=t[1],s=t[2];return e===i&&i===s?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(s/255*5)},J.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 i=.5*(1+~~(t>50));return[(1&e)*i*255,(e>>1&1)*i*255,(e>>2&1)*i*255]},J.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]},J.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},J.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 i=e[0];3===e[0].length&&(i=i.split("").map((t=>t+t)).join(""));const s=parseInt(i,16);return[s>>16&255,s>>8&255,255&s]},J.rgb.hcg=function(t){const e=t[0]/255,i=t[1]/255,s=t[2]/255,n=Math.max(Math.max(e,i),s),r=Math.min(Math.min(e,i),s),a=n-r;let o,l;return o=a<1?r/(1-a):0,l=a<=0?0:n===e?(i-s)/a%6:n===i?2+(s-e)/a:4+(e-i)/a,l/=6,l%=1,[360*l,100*a,100*o]},J.hsl.hcg=function(t){const e=t[1]/100,i=t[2]/100,s=i<.5?2*e*i:2*e*(1-i);let n=0;return s<1&&(n=(i-.5*s)/(1-s)),[t[0],100*s,100*n]},J.hsv.hcg=function(t){const e=t[2]/100,i=t[1]/100*e;let s=0;return i<1&&(s=(e-i)/(1-i)),[t[0],100*i,100*s]},J.hcg.rgb=function(t){const e=t[1]/100,i=t[2]/100;if(0===e)return[255*i,255*i,255*i];const s=[0,0,0],n=t[0]/360%1*6,r=n%1,a=1-r;let o=0;switch(Math.floor(n)){case 0:s[0]=1,s[1]=r,s[2]=0;break;case 1:s[0]=a,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=r;break;case 3:s[0]=0,s[1]=a,s[2]=1;break;case 4:s[0]=r,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=a}return o=(1-e)*i,[255*(e*s[0]+o),255*(e*s[1]+o),255*(e*s[2]+o)]},J.hcg.hsv=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);let s=0;return i>0&&(s=e/i),[t[0],100*s,100*i]},J.hcg.hsl=function(t){const e=t[1]/100,i=t[2]/100*(1-e)+.5*e;let s=0;return i>0&&i<.5?s=e/(2*i):i>=.5&&i<1&&(s=e/(2*(1-i))),[t[0],100*s,100*i]},J.hcg.hwb=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},J.hwb.hcg=function(t){const e=1-t[2]/100,i=e-t[1]/100;let s=0;return i<1&&(s=(e-i)/(1-i)),[t[0],100*i,100*s]},J.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},J.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},J.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},J.gray.hsl=function(t){return[0,0,t[0]]},J.gray.hsv=J.gray.hsl,J.gray.hwb=function(t){return[0,100,t[0]]},J.gray.cmyk=function(t){return[0,0,0,t[0]]},J.gray.lab=function(t){return[t[0],0,0]},J.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i},J.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};const Y={};Object.keys(R).forEach((t=>{Y[t]={},Object.defineProperty(Y[t],"channels",{value:R[t].channels}),Object.defineProperty(Y[t],"labels",{value:R[t].labels});const e=function(t){const e=function(t){const e=function(){const t={},e=Object.keys(R);for(let i=e.length,s=0;s<i;s++)t[e[s]]={distance:-1,parent:null};return t}(),i=[t];for(e[t].distance=0;i.length;){const t=i.pop(),s=Object.keys(R[t]);for(let n=s.length,r=0;r<n;r++){const n=s[r],a=e[n];-1===a.distance&&(a.distance=e[t].distance+1,a.parent=t,i.unshift(n))}}return e}(t),i={},s=Object.keys(e);for(let t=s.length,n=0;n<t;n++){const t=s[n];null!==e[t].parent&&(i[t]=X(t,e))}return i}(t);Object.keys(e).forEach((i=>{const s=e[i];Y[t][i]=function(t){const e=function(...e){const i=e[0];if(null==i)return i;i.length>1&&(e=i);const s=t(e);if("object"==typeof s)for(let t=s.length,e=0;e<t;e++)s[e]=Math.round(s[e]);return s};return"conversion"in t&&(e.conversion=t.conversion),e}(s),Y[t][i].raw=function(t){const e=function(...e){const i=e[0];return null==i?i:(i.length>1&&(e=i),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(s)}))}));var G=Y;const Q=["keyword","gray","hex"],Z={};for(const t of Object.keys(G))Z[[...G[t].labels].sort().join("")]=t;const tt={};function et(t,e){if(!(this instanceof et))return new et(t,e);if(e&&e in Q&&(e=null),e&&!(e in G))throw new Error("Unknown model: "+e);let i,s;if(null==t)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof et)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if("string"==typeof t){const e=H.get(t);if(null===e)throw new Error("Unable to parse color from string: "+t);this.model=e.model,s=G[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=G[this.model].channels;const i=Array.prototype.slice.call(t,0,s);this.color=rt(i,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 s=e.sort().join("");if(!(s in Z))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=Z[s];const{labels:n}=G[this.model],r=[];for(i=0;i<n.length;i++)r.push(t[n[i]]);this.color=rt(r)}if(tt[this.model])for(s=G[this.model].channels,i=0;i<s;i++){const t=tt[this.model][i];t&&(this.color[i]=t(this.color[i]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}et.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in H.to?this:this.rgb();e=e.round("number"==typeof t?t:1);const i=1===e.valpha?e.color:[...e.color,this.valpha];return H.to[e.model](i)},percentString(t){const e=this.rgb().round("number"==typeof t?t:1),i=1===e.valpha?e.color:[...e.color,this.valpha];return H.to.rgb.percent(i)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const t={},{channels:e}=G[this.model],{labels:i}=G[this.model];for(let s=0;s<e;s++)t[i[s]]=this.color[s];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 et([...this.color.map(it(t)),this.valpha],this.model)},alpha(t){return void 0!==t?new et([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:st("rgb",0,nt(255)),green:st("rgb",1,nt(255)),blue:st("rgb",2,nt(255)),hue:st(["hsl","hsv","hsl","hwb","hcg"],0,(t=>(t%360+360)%360)),saturationl:st("hsl",1,nt(100)),lightness:st("hsl",2,nt(100)),saturationv:st("hsv",1,nt(100)),value:st("hsv",2,nt(100)),chroma:st("hcg",1,nt(100)),gray:st("hcg",2,nt(100)),white:st("hwb",1,nt(100)),wblack:st("hwb",2,nt(100)),cyan:st("cmyk",0,nt(100)),magenta:st("cmyk",1,nt(100)),yellow:st("cmyk",2,nt(100)),black:st("cmyk",3,nt(100)),x:st("xyz",0,nt(95.047)),y:st("xyz",1,nt(100)),z:st("xyz",2,nt(108.833)),l:st("lab",0,nt(100)),a:st("lab",1),b:st("lab",2),keyword(t){return void 0!==t?new et(t):G[this.model].keyword(this.color)},hex(t){return void 0!==t?new et(t):H.to.hex(this.rgb().round().color)},hexa(t){if(void 0!==t)return new et(t);const e=this.rgb().round().color;let i=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===i.length&&(i="0"+i),H.to.hex(e)+i},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[i,s]of t.entries()){const t=s/255;e[i]=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(),i=t.luminosity();return e>i?(e+.05)/(i+.05):(i+.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 et.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 i=e.color[0];return i=(i+t)%360,i=i<0?360+i:i,e.color[0]=i,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 i=t.rgb(),s=this.rgb(),n=void 0===e?.5:e,r=2*n-1,a=i.alpha()-s.alpha(),o=((r*a==-1?r:(r+a)/(1+r*a))+1)/2,l=1-o;return et.rgb(o*i.red()+l*s.red(),o*i.green()+l*s.green(),o*i.blue()+l*s.blue(),i.alpha()*n+s.alpha()*(1-n))}};for(const t of Object.keys(G)){if(Q.includes(t))continue;const{channels:e}=G[t];et.prototype[t]=function(...e){return this.model===t?new et(this):new et(e.length>0?e:[...(i=G[this.model][t].raw(this.color),Array.isArray(i)?i:[i]),this.valpha],t);var i},et[t]=function(...i){let s=i[0];return"number"==typeof s&&(s=rt(i,e)),new et(s,t)}}function it(t){return function(e){return function(t,e){return Number(t.toFixed(e))}(e,t)}}function st(t,e,i){t=Array.isArray(t)?t:[t];for(const s of t)(tt[s]||(tt[s]=[]))[e]=i;return t=t[0],function(s){let n;return void 0!==s?(i&&(s=i(s)),n=this[t](),n.color[e]=s,n):(n=this[t]().color[e],i&&(n=i(n)),n)}}function nt(t){return function(e){return Math.max(0,Math.min(t,e))}}function rt(t,e){for(let i=0;i<e;i++)"number"!=typeof t[i]&&(t[i]=0);return t}var at=et;const ot="channel",lt="control",ht="control-and-scope",ct="scope",ut="section",dt="slider",pt=at("#007AC2"),ft="calcite-color-",gt={r:255,g:255,b:255},bt={h:360,s:100,v:100},mt=100,wt={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}}},yt=class{constructor(s){t(this,s),this.calciteColorPickerChange=e(this,"calciteColorPickerChange",6),this.calciteColorPickerInput=e(this,"calciteColorPickerInput",6),this.internalColorUpdateContext=null,this.mode=h.HEX,this.shiftKeyChannelAdjustment=0,this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)},this.handleColorFieldScopeKeyDown=t=>{const{key:e}=t,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[e]&&(t.preventDefault(),this.scopeOrientation="ArrowDown"===e||"ArrowUp"===e?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[e].x||0,this.colorFieldScopeTop+i[e].y||0,!1))},this.handleHueScopeKeyDown=t=>{const e=t.shiftKey?10:1,{key:i}=t,s={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(s[i]){t.preventDefault();const n=s[i]*e,r=this.baseColorFieldColor.hue(),a=this.baseColorFieldColor.hue(r+n);this.internalColorSet(a,!1)}},this.handleHexInputChange=t=>{t.stopPropagation();const{allowEmpty:e,color:i}=this,s=t.target.value;!e||s?s!==(i&&c(u(i,f(this.mode))))&&this.internalColorSet(at(s)):this.internalColorSet(null)},this.handleSavedColorSelect=t=>{this.internalColorSet(at(t.currentTarget.color))},this.handleChannelInput=t=>{const e=t.currentTarget,i=Number(e.getAttribute("data-channel-index")),s=3===i?mt:"rgb"===this.channelMode?gt[Object.keys(gt)[i]]:bt[Object.keys(bt)[i]];let n;if(this.allowEmpty&&!e.value)n="";else{const t=Number(e.value);n=q(t+this.shiftKeyChannelAdjustment,0,s).toString()}e.value=n},this.handleChannelChange=t=>{const e=t.currentTarget,i=Number(e.getAttribute("data-channel-index")),s=[...this.channels];if(this.allowEmpty&&!e.value)return this.channels=[null,null,null,null],void this.internalColorSet(null);const n=3===i,r=Number(e.value);s[i]=n?d(r):r,this.updateColorFromChannels(s)},this.handleSavedColorKeyDown=t=>{z(t.key)&&(t.preventDefault(),this.handleSavedColorSelect(t))},this.handleColorFieldPointerDown=t=>{if(!r(t))return;const{offsetX:e,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(e,i),this.colorFieldScopeNode.focus()},this.handleHueSliderPointerDown=t=>{if(!r(t))return;const{offsetX:e}=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(e),this.hueScopeNode.focus()},this.handleOpacitySliderPointerDown=t=>{if(!r(t))return;const{offsetX:e}=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(e),this.opacityScopeNode.focus()},this.globalPointerUpHandler=t=>{if(!r(t))return;const e=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),e&&this.calciteColorPickerChange.emit()},this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:e,el:i}=this;if(!i.isConnected||!e)return;const{context:s,bounds:n}=e;let r,a;const{clientX:o,clientY:l}=t;s.canvas.matches(":hover")?(r=o-n.x,a=l-n.y):(r=o<n.x+n.width&&o>n.x?o-n.x:o<n.x?0:n.width-1,a=l<n.y+n.height&&l>n.y?l-n.y:l<n.y?0:n.height),s===this.colorFieldRenderingContext?this.captureColorFieldColor(r,a,!1):s===this.hueSliderRenderingContext?this.captureHueSliderColor(r):s===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(r)},this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t},this.storeHueScope=t=>{this.hueScopeNode=t},this.renderChannelsTabTitle=t=>{const{channelMode:e,messages:s}=this;return i("calcite-tab-title",{class:"color-mode","data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:t===e},"rgb"===t?s.rgb:s.hsv)},this.renderChannelsTab=t=>{const{allowEmpty:e,channelMode:s,channels:n,messages:r,alphaChannel:o}=this,l=t===s,h="rgb"===t?[r.red,r.green,r.blue]:[r.hue,r.saturation,r.value],c=a(this.el),u=o?n:n.slice(0,3);return i("calcite-tab",{class:lt,key:t,selected:l},i("div",{class:"channels",dir:"ltr"},u.map(((t,i)=>{const s=3===i;return s&&(t=e&&!t?t:p(t)),this.renderChannel(t,i,h[i],c,s?"%":"")}))))},this.renderChannel=(t,e,s,n,r)=>i("calcite-input-number",{class:ot,"data-channel-index":e,dir:n,key:e,label:s,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:e>0&&("s"!==this.scale||!this.alphaChannel||3!==e)?"-1px":""},suffixText:r,value:t?.toString()}),this.deleteColor=()=>{const t=u(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(t)>-1))return;const e=this.savedColors.filter((e=>e!==t));this.savedColors=e,this.storageId&&localStorage.setItem(`${ft}${this.storageId}`,JSON.stringify(e))},this.saveColor=()=>{const t=u(this.color,this.alphaChannel);if(this.savedColors.indexOf(t)>-1)return;const e=[...this.savedColors,t];this.savedColors=e,this.storageId&&localStorage.setItem(`${ft}${this.storageId}`,JSON.stringify(e))},this.drawColorControls=U(((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,e,i=!0)=>{const{dimensions:{colorField:{height:s,width:n}}}=this,r=Math.round(bt.s/n*t),a=Math.round(bt.v/s*(s-e));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(r).value(a),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 e=t.shiftKey?10:1,{key:i}=t,s={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(s[i]){t.preventDefault();const n=d(s[i]*e);this.captureHueSliderColor(this.opacityScopeLeft+n)}},this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.color=pt,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=c(u(pt,this.alphaChannel)),this.defaultMessages=void 0,this.channelMode="rgb",this.channels=this.toChannels(pt),this.dimensions=wt.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:e}=this;t&&"auto"!==e&&!f(e)&&(console.warn(`ignoring alphaChannel as the current format (${e}) does not support alpha`),this.alphaChannel=!1)}handleColorChange(t,e){this.drawColorControls(),this.updateChannelsFromColor(t),this.previousColor=e}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,e){const{allowEmpty:i,format:s}=this;let n=!1;if(!i||t){const i=g(t);if(!i||"auto"!==s&&i!==s)return this.showIncompatibleColorWarning(t,s),void(this.value=e);n=this.mode!==i,this.setMode(i,null===this.internalColorUpdateContext)}const r=this.activeCanvasInfo;if("initial"===this.internalColorUpdateContext)return;if("user-interaction"===this.internalColorUpdateContext)return this.calciteColorPickerInput.emit(),void(r||this.calciteColorPickerChange.emit());const a=i&&!t?null:at(null!=t&&"object"==typeof t&&f(this.mode)?v(t):t),o=!b(a,this.color);(n||o)&&this.internalColorSet(a,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}get baseColorFieldColor(){return this.color||this.previousColor||pt}effectiveLocaleChange(){E(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:e}=t;if("ArrowUp"!==e&&"ArrowDown"!==e||!t.composedPath().some((t=>t.classList?.contains(ot))))return;const{shiftKey:i}=t;if(t.preventDefault(),!this.color)return this.internalColorSet(this.previousColor),void t.stopPropagation();this.shiftKeyChannelAdjustment="ArrowUp"===e&&i?9:"ArrowDown"===e&&i?-9:0}async setFocus(){await S(this),this.el.focus()}async componentWillLoad(){O(this);const{allowEmpty:t,color:e,format:i,value:s}=this,n=t&&!s,r=g(s),a=n||"auto"===i&&r||i===r,o=n?null:a?at(s):e;a||this.showIncompatibleColorWarning(s,i),this.setMode(i,!1),this.internalColorSet(o,!1,"initial"),this.updateDimensions(this.scale);const l=`${ft}${this.storageId}`;this.storageId&&localStorage.getItem(l)&&(this.savedColors=JSON.parse(localStorage.getItem(l))),await N(this)}connectedCallback(){j(this),D(this),L(this)}componentDidLoad(){$(this)}disconnectedCallback(){document.removeEventListener("pointermove",this.globalPointerMoveHandler),document.removeEventListener("pointerup",this.globalPointerUpHandler),A(this),I(this),K(this)}componentDidRender(){F(this)}render(){const{allowEmpty:t,channelsDisabled:e,color:s,colorFieldScopeLeft:n,colorFieldScopeTop:r,dimensions:{colorField:{width:a},slider:{width:o},thumb:{radius:l}},hexDisabled:h,hideChannels:c,hideHex:d,hideSaved:f,hueScopeLeft:g,messages:b,alphaChannel:m,opacityScopeLeft:w,savedColors:y,savedDisabled:v,scale:k,scopeOrientation:x}=this,C=s?u(s,m):null,M=l,j=g??o*pt.hue()/bt.h,A=l,F=w??a*p(pt.alpha())/mt,z=null===s,S="vertical"===x,O=h||d,$=e||c,D=v||f;return i("div",{class:"container"},i("div",{class:ht},i("canvas",{class:"color-field",onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),i("div",{"aria-label":S?b.value:b.saturation,"aria-valuemax":S?bt.v:bt.s,"aria-valuemin":"0","aria-valuenow":(S?s?.saturationv():s?.value())||"0",class:{[ct]:!0,"scope--color-field":!0},onKeyDown:this.handleColorFieldScopeKeyDown,role:"slider",style:{top:`${r||0}px`,left:`${n||0}px`},tabindex:"0",ref:this.storeColorFieldScope})),i("div",{class:"preview-and-sliders"},i("calcite-color-picker-swatch",{class:"preview",color:C,scale:"l"}),i("div",{class:"sliders"},i("div",{class:ht},i("canvas",{class:{[dt]:!0,"hue-slider":!0},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),i("div",{"aria-label":b.hue,"aria-valuemax":bt.h,"aria-valuemin":"0","aria-valuenow":s?.round().hue()||pt.round().hue(),class:{[ct]:!0,"scope--hue":!0},onKeyDown:this.handleHueScopeKeyDown,role:"slider",style:{top:`${M}px`,left:`${j}px`},tabindex:"0",ref:this.storeHueScope})),m?i("div",{class:ht},i("canvas",{class:{[dt]:!0,"opacity-slider":!0},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),i("div",{"aria-label":b.opacity,"aria-valuemax":mt,"aria-valuemin":0,"aria-valuenow":(s||pt).round().alpha(),class:{[ct]:!0,"scope--opacity":!0},onKeyDown:this.handleOpacityScopeKeyDown,role:"slider",style:{top:`${A}px`,left:`${F}px`},tabindex:"0",ref:this.storeOpacityScope})):null)),O&&$?null:i("div",{class:{"control-section":!0,[ut]:!0}},i("div",{class:"hex-and-channels-group"},O?null:i("div",{class:"color-hex-options"},i("calcite-color-picker-hex-input",{allowEmpty:t,alphaChannel:m,class:lt,messages:b,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:k,value:C})),$?null:i("calcite-tabs",{class:{"color-mode-container":!0,"section--split":!0},scale:"l"===k?"m":"s"},i("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),D?null:i("div",{class:{"saved-colors-section":!0,[ut]:!0}},i("div",{class:"header"},i("label",null,b.saved),i("div",{class:"saved-colors-buttons"},i("calcite-button",{appearance:"transparent",class:"delete-color",disabled:z,iconStart:"minus",kind:"neutral",label:b.deleteColor,onClick:this.deleteColor,scale:k,type:"button"}),i("calcite-button",{appearance:"transparent",class:"save-color",disabled:z,iconStart:"plus",kind:"neutral",label:b.saveColor,onClick:this.saveColor,scale:k,type:"button"}))),y.length>0?i("div",{class:"saved-colors"},[...y.map((t=>i("calcite-color-picker-swatch",{class:"saved-color",color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:k,tabIndex:0})))]):null))}handleKeyDown(t){"Enter"===t.key&&t.preventDefault()}showIncompatibleColorWarning(t,e){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${e})`)}setMode(t,e=!0){this.mode=this.ensureCompatibleMode("auto"===t?this.mode:t,e)}ensureCompatibleMode(t,e){const{alphaChannel:i}=this,s=f(t);if(i&&!s){const i=y(t);return e&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}if(!i&&s){const i=m(t);return e&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}return t}captureHueSliderColor(t){const{dimensions:{slider:{width:e}}}=this;this.internalColorSet(this.baseColorFieldColor.hue(360/e*t),!1)}captureOpacitySliderValue(t){const{dimensions:{slider:{width:e}}}=this,i=d(mt/e*t);this.internalColorSet(this.baseColorFieldColor.alpha(i),!1)}internalColorSet(t,e=!0,i="user-interaction"){e&&b(t,this.color)||(this.internalColorUpdateContext=i,this.color=t,this.value=this.toValue(t),this.internalColorUpdateContext=null)}toValue(t,e=this.mode){if(!t)return null;if(e.includes("hex")){const i=e===h.HEXA;return c(u(t.round(),i),i)}if(e.includes("-css")){const i=t[e.replace("-css","").replace("a","")]().round().string();return(e.endsWith("a")||e.endsWith("a-css"))&&1===t.alpha()?`${i.slice(0,3)}a(${i.slice(4,-1)}, ${t.alpha()})`:i}const i=t[m(e)]().round().object();return e.endsWith("a")?w(i):i}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:e}}}=this;return 2*e-t}updateDimensions(t="m"){this.dimensions=wt[t]}drawColorField(){const t=this.colorFieldRenderingContext,{dimensions:{colorField:{height:e,width:i}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),t.fillRect(0,0,i,e);const s=t.createLinearGradient(0,0,i,0);s.addColorStop(0,"rgba(255,255,255,1)"),s.addColorStop(1,"rgba(255,255,255,0)"),t.fillStyle=s,t.fillRect(0,0,i,e);const n=t.createLinearGradient(0,0,0,e);n.addColorStop(0,"rgba(0,0,0,0)"),n.addColorStop(1,"rgba(0,0,0,1)"),t.fillStyle=n,t.fillRect(0,0,i,e),this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:e,width:i}){if(!t)return;const s=window.devicePixelRatio||1;t.width=i*s,t.height=e*s,t.style.height=`${e}px`,t.style.width=`${i}px`,t.getContext("2d").scale(s,s)}updateCanvasSize(t="all"){const{dimensions:e}=this;"all"!==t&&"color-field"!==t||this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas,e.colorField);const i={width:e.slider.width,height:e.slider.height+2*(e.thumb.radius-e.slider.height/2)};"all"!==t&&"hue-slider"!==t||this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas,i),"all"!==t&&"opacity-slider"!==t||this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,i)}drawActiveColorFieldColor(){const{color:t}=this;if(!t)return;const e=t.hsv(),{dimensions:{colorField:{height:i,width:s},thumb:{radius:n}}}=this,r=e.saturationv()/(bt.s/s),a=i-e.value()/(bt.v/i);requestAnimationFrame((()=>{this.colorFieldScopeLeft=r,this.colorFieldScopeTop=a})),this.drawThumb(this.colorFieldRenderingContext,n,r,a,e)}drawThumb(t,e,i,s,n){const r=2*Math.PI;e-=1,t.beginPath(),t.arc(i,s,e,0,r),t.fillStyle="#fff",t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),t.beginPath(),t.arc(i,s,e-3,0,r),t.fillStyle=n.rgb().alpha(1).string(),t.fill()}drawActiveHueSliderColor(){const{color:t}=this;if(!t)return;const e=t.hsv().saturationv(100).value(100),{dimensions:{slider:{height:i,width:s},thumb:{radius:n}}}=this,r=e.hue()/(360/s),a=n-i/2+i/2;requestAnimationFrame((()=>{this.hueScopeLeft=r})),this.drawThumb(this.hueSliderRenderingContext,n,r,a,e)}drawHueSlider(){const t=this.hueSliderRenderingContext,{dimensions:{slider:{height:e,width:i},thumb:{radius:s}}}=this,n=s-e/2,r=t.createLinearGradient(0,0,i,0),a=["red","yellow","lime","cyan","blue","magenta","red"],o=1/(a.length-1);let l=0;a.forEach((t=>{r.addColorStop(l,at(t).string()),l+=o})),t.clearRect(0,0,i,e+2*this.getSliderCapSpacing()),this.drawSliderPath(t,e,i,0,n),t.fillStyle=r,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext,{baseColorFieldColor:e,dimensions:{slider:{height:i,width:s},thumb:{radius:n}}}=this,r=n-i/2;t.clearRect(0,0,s,i+2*this.getSliderCapSpacing());const a=t.createLinearGradient(0,r,s,0),o=e.rgb().alpha(0),l=e.rgb().alpha(.5),h=e.rgb().alpha(1);a.addColorStop(0,o.string()),a.addColorStop(.5,l.string()),a.addColorStop(1,h.string()),this.drawSliderPath(t,i,s,0,r);const c=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=c,t.fill(),t.fillStyle=a,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(t,e,i,s,n){const r=e/2+1;t.beginPath(),t.moveTo(s+r,n),t.lineTo(s+i-r,n),t.quadraticCurveTo(s+i,n,s+i,n+r),t.lineTo(s+i,n+e-r),t.quadraticCurveTo(s+i,n+e,s+i-r,n+e),t.lineTo(s+r,n+e),t.quadraticCurveTo(s,n+e,s,n+e-r),t.lineTo(s,n+r),t.quadraticCurveTo(s,n,s+r,n),t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;const t=document.createElement("canvas");t.width=10,t.height=10;const e=t.getContext("2d");return e.fillStyle="#ccc",e.fillRect(0,0,10,10),e.fillStyle="#fff",e.fillRect(0,0,5,5),e.fillRect(5,5,5,5),this.checkerPattern=t,t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t)return;const e=t,{dimensions:{slider:{width:i},thumb:{radius:s}}}=this,n=p(e.alpha())/(mt/i),r=s;requestAnimationFrame((()=>{this.opacityScopeLeft=n})),this.drawThumb(this.opacitySliderRenderingContext,s,n,r,e)}updateColorFromChannels(t){this.internalColorSet(at(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:e}=this,i=t[e]().array().map(((t,e)=>3===e?t:Math.floor(t)));return 3===i.length&&i.push(1),i}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{alphaChannel:["handleAlphaChannelChange"],color:["handleColorChange"],format:["handleFormatChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};yt.style=':host([disabled]){cursor:default;-webkit-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{position:absolute;z-index:var(--calcite-app-z-index);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:16px}.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}';const vt=at(),kt=class{constructor(i){t(this,i),this.calciteColorPickerHexInputChange=e(this,"calciteColorPickerHexInputChange",6),this.onHexInputBlur=()=>{const t=this.hexInputNode,e=t.value,i=`#${e}`,{allowEmpty:s,internalColor:n}=this,r=s&&!e,a=k(i);this.onHexInputChange(),r||x(i)&&a||(t.value=s&&!n?"":this.formatHexForInternalInput(C(n.object())))},this.onOpacityInputBlur=()=>{const t=this.opacityInputNode,e=t.value,{allowEmpty:i,internalColor:s}=this;i&&!e||(t.value=i&&!s?"":this.formatOpacityForInternalInput(s))},this.onHexInputChange=()=>{let t=this.hexInputNode.value;if(t){const e=c(t,!1);x(e)&&this.alphaChannel&&this.internalColor&&(t=`${e+c(this.internalColor.hexa(),!0).slice(-2)}`)}this.internalSetValue(t,this.value)},this.onOpacityInputChange=()=>{const t=this.opacityInputNode;let e;if(t.value){const i=d(Number(t.value));e=this.internalColor?.alpha(i).hexa()}else e=t.value;this.internalSetValue(e,this.value)},this.onInputKeyDown=t=>{const{altKey:e,ctrlKey:i,metaKey:s,shiftKey:n}=t,{alphaChannel:r,hexInputNode:a,internalColor:o,value:l}=this,{key:h}=t,c=t.composedPath();if("Tab"===h||"Enter"===h)return c.includes(a)?this.onHexInputChange():this.onOpacityInputChange(),void("Enter"===h&&t.preventDefault());const d=this.value;if("ArrowDown"===h||"ArrowUp"===h)return l?(this.internalSetValue(u(this.nudgeRGBChannels(o,(n?10:1)*("ArrowUp"===h?1:-1),c.includes(a)?"rgb":"a"),r),d),void t.preventDefault()):(this.internalSetValue(this.previousNonNullValue,d),void t.preventDefault());const p=e||i||s,f=1===h.length,g=M.test(h);!f||p||g||t.preventDefault()},this.onHexInputPaste=t=>{const e=t.clipboardData.getData("text");x(e)&&(t.preventDefault(),this.hexInputNode.value=e.slice(1))},this.previousNonNullValue=this.value,this.storeHexInputRef=t=>{this.hexInputNode=t},this.storeOpacityInputRef=t=>{this.opacityInputNode=t},this.allowEmpty=!1,this.alphaChannel=!1,this.hexLabel="Hex",this.messages=void 0,this.numberingSystem=void 0,this.scale="m",this.value=c(u(vt,this.alphaChannel),this.alphaChannel,!0),this.internalColor=vt}connectedCallback(){const{allowEmpty:t,alphaChannel:e,value:i}=this;if(i){const t=c(i,e);x(t,e)&&this.internalSetValue(t,t,!1)}else t&&this.internalSetValue(null,null,!1)}componentWillLoad(){O(this)}componentDidLoad(){$(this)}handleValueChange(t,e){this.internalSetValue(t,e,!1)}render(){const{alphaChannel:t,hexLabel:e,internalColor:s,messages:n,scale:r,value:a}=this,o=this.formatHexForInternalInput(a),l=this.formatOpacityForInternalInput(s),h="l"===r?"m":"s";return i("div",{class:"container"},i("calcite-input-text",{class:"hex-input",label:n?.hex||e,maxLength:6,onCalciteInputTextChange:this.onHexInputChange,onCalciteInternalInputTextBlur:this.onHexInputBlur,onKeyDown:this.onInputKeyDown,onPaste:this.onHexInputPaste,prefixText:"#",scale:h,value:o,ref:this.storeHexInputRef}),t?i("calcite-input-number",{class:"opacity-input",key:"opacity-input",label:n?.opacity,max:mt,maxLength:3,min:0,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.onOpacityInputChange,onCalciteInternalInputNumberBlur:this.onOpacityInputBlur,onKeyDown:this.onInputKeyDown,scale:h,suffixText:"%",value:l,ref:this.storeOpacityInputRef}):null)}async setFocus(){return await S(this),o(this.hexInputNode)}internalSetValue(t,e,i=!0){if(t){const{alphaChannel:e}=this,s=c(t,e,e);if(x(s,e)){const{internalColor:t}=this,n=at(s),r=c(u(n,e),e),a=!t||r!==c(u(t,e),e);return this.internalColor=n,this.previousNonNullValue=r,this.value=r,void(a&&i&&this.calciteColorPickerHexInputChange.emit())}}else if(this.allowEmpty)return this.internalColor=null,this.value=null,void(i&&this.calciteColorPickerHexInputChange.emit());this.value=e}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${p(t.alpha())}`:""}nudgeRGBChannels(t,e,i){let s;const n=t.array(),r=n.slice(0,3);if("rgb"===i)s=[...r.map((t=>t+e)),this.alphaChannel?n[3]:void 0];else{const i=d(p(t.alpha())+e);s=[...r,i]}return at(s)}get el(){return s(this)}static get watchers(){return{value:["handleValueChange"]}}};kt.style=":host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:68px;margin-inline-start:-1px}:host([scale=s]) .container{flex-wrap:wrap;row-gap:0.125rem}:host([scale=s]) .opacity-input{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .opacity-input{inline-size:88px}:host([hidden]){display:none}[hidden]{display:none}";const xt="checker",Ct=4,Mt=8,jt=class{constructor(e){t(this,e),this.active=!1,this.color=void 0,this.scale="m"}handleColorChange(t){this.internalColor=t?at(t):null}componentWillLoad(){this.handleColorChange(this.color)}render(){return i("svg",{class:{swatch:!0,"swatch--no-color":!this.internalColor},xmlns:"http://www.w3.org/2000/svg"},this.renderSwatch())}renderSwatch(){const{active:t,el:e,internalColor:s}=this,r=t?"100%":"0",a={height:"100%",rx:r,stroke:"light"===l(e)?"rgba(0, 0, 0, 0.3)":"rgba(255, 255, 255, 0.15)","stroke-width":"2",width:"100%"};if(!s)return i(n,null,i("clipPath",{id:"shape"},i("rect",{height:"100%",rx:r,width:"100%"})),i("rect",{"clip-path":`inset(0 round ${r})`,rx:r,...a}),i("line",{"clip-path":"url(#shape)","stroke-width":"3",x1:"100%",x2:"0",y1:"0",y2:"100%"}));const o=s.alpha(),h=u(s),c=u(s,o<1);return i(n,null,i("title",null,c),i("defs",null,i("pattern",{height:Mt,id:"checker",patternUnits:"userSpaceOnUse",width:Mt,x:"0",y:"0"},i("rect",{class:xt,height:Ct,width:Ct,x:"0",y:"0"}),i("rect",{class:xt,height:Ct,width:Ct,x:Ct,y:Ct}))),i("rect",{fill:"url(#checker)",height:"100%",rx:r,width:"100%"}),i("rect",{fill:h,style:{"clip-path":o<1?"polygon(100% 0, 0 0, 0 100%)":`inset(0 round ${r})`},...a}),o<1?i("rect",{fill:c,key:"opacity-fill",style:{"clip-path":"polygon(100% 0, 100% 100%, 0 100%)"},...a}):null)}get el(){return s(this)}static get watchers(){return{color:["handleColorChange"]}}};jt.style=":host{position:relative;display:inline-flex}:host([scale=s]){block-size:1.25rem;inline-size:1.25rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch rect{transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.swatch--no-color rect{fill:var(--calcite-ui-foreground-1)}.swatch--no-color line{stroke:var(--calcite-ui-danger)}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}";export{yt as calcite_color_picker,kt as calcite_color_picker_hex_input,jt as calcite_color_picker_swatch}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v1.5.0-next.27
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,h as i,H as e,a as n,c as s,F as o}from"./p-7650efdd.js";import{s as r,k as a,d as c,b as l}from"./p-83a2dc88.js";import{s as h,a as d,c as u}from"./p-d4b56ea4.js";import{c as v,d as p}from"./p-f886c4dd.js";import{u as m,c as f,s as b,d as g}from"./p-4bdfdc2f.js";import{c as x}from"./p-50d5cdd5.js";import{C as y}from"./p-c339384e.js";import"./p-31f85f74.js";import"./p-53ae5888.js";const w=["lang","role"],k=new Map;let z;function C(t,i,e=!1){const{el:n}=t,s=e?t.globalAttributes:{};i.filter((t=>!!w.includes(t)&&!!n.hasAttribute(t))).forEach((t=>{const i=n.getAttribute(t);null!==i&&(s[t]=i)})),t.globalAttributes=s}function I(t){t.forEach((({target:t})=>{const[i,e]=k.get(t);C(i,e.attributeFilter)}))}const L=class{constructor(i){t(this,i),this.menuItems=[],this.handleMenuSlotChange=t=>{this.menuItems=r(t),this.setMenuItemLayout(this.menuItems,this.layout)},this.label=void 0,this.layout="horizontal",this.messageOverrides=void 0,this.messages=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.globalAttributes={role:"menubar"}}handleLayoutChange(t){this.setMenuItemLayout(this.menuItems,t)}onMessagesChange(){}effectiveLocaleChange(){m(this,this.effectiveLocale)}connectedCallback(){v(this),f(this),function(t,i){const{el:e}=t,n={attributeFilter:i};k.set(e,[t,n]),C(t,i,!0),z||(z=x("mutation",I)),z.observe(e,n)}(this,["role"])}async componentWillLoad(){h(this),await b(this)}componentDidLoad(){d(this)}disconnectedCallback(){p(this),g(this),function(t){k.delete(t.el),I(z.takeRecords()),z.disconnect();for(const[t,[,i]]of k.entries())z.observe(t,i)}(this)}async setFocus(){await u(this),this.el.focus()}calciteInternalNavMenuItemKeyEvent(t){const i=t.target,e=t.detail.children,n=t.detail.event.key;t.stopPropagation(),"ArrowDown"===n?"vertical"===i.layout?a(this.menuItems,i,"next",!1):t.detail.isSubmenuOpen&&e[0].setFocus():"ArrowUp"===n?"vertical"===this.layout?a(this.menuItems,i,"previous",!1):t.detail.isSubmenuOpen&&e[e.length-1].setFocus():"ArrowRight"===n?"horizontal"===this.layout?a(this.menuItems,i,"next",!1):t.detail.isSubmenuOpen&&e[0].setFocus():"ArrowLeft"===n?"horizontal"===this.layout?a(this.menuItems,i,"previous",!1):t.detail.isSubmenuOpen&&this.focusParentElement(t.target):"Escape"===n&&this.focusParentElement(t.target),t.preventDefault()}focusParentElement(t){const i=t.parentElement;i&&(c(i),i.open=!1)}setMenuItemLayout(t,i){t.forEach((t=>{t.layout=i,"menubar"===this.globalAttributes.role&&(t.isTopLevelItem=!0,t.topLevelMenuLayout=this.layout)}))}render(){return i(e,null,i("ul",{"aria-label":this.label,...this.globalAttributes},i("slot",{onSlotchange:this.handleMenuSlotChange})))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{layout:["handleLayoutChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};L.style=":host{display:flex}ul{margin:0px;display:inline-flex;block-size:100%;align-items:center;padding:0px}:host([layout=vertical]) ul{display:flex;inline-size:100%;flex-direction:column}:host([hidden]){display:none}[hidden]{display:none}";const j="dropdown-action",D="hover-href-icon",M="icon",A="icon--breadcrumb",S="icon--dropdown",$="icon--end",E="icon--start",F=class{constructor(i){t(this,i),this.calciteInternalMenuItemKeyEvent=s(this,"calciteInternalMenuItemKeyEvent",7),this.calciteMenuItemSelect=s(this,"calciteMenuItemSelect",7),this.clickHandler=t=>{(this.href&&t.target===this.dropdownActionEl||!this.href&&this.hasSubmenu)&&(this.open=!this.open),this.selectMenuItem(t)},this.handleMenuItemSlotChange=t=>{this.submenuItems=r(t),this.submenuItems.forEach((t=>{t.topLevelMenuLayout||(t.topLevelMenuLayout=this.topLevelMenuLayout)})),this.hasSubmenu=this.submenuItems.length>0},this.keyDownHandler=async t=>{if(" "===t.key||"Enter"===t.key)this.selectMenuItem(t),this.hasSubmenu&&(!this.href||this.href&&t.target===this.dropdownActionEl)&&(this.open=!this.open),t.preventDefault();else if("Escape"===t.key){if(this.open)return void(this.open=!1);this.calciteInternalMenuItemKeyEvent.emit({event:t}),t.preventDefault()}else if("ArrowDown"===t.key||"ArrowUp"===t.key){if(t.preventDefault(),(t.target===this.dropdownActionEl||!this.href)&&this.hasSubmenu&&!this.open&&"horizontal"===this.layout)return void(this.open=!0);this.calciteInternalMenuItemKeyEvent.emit({event:t,children:this.submenuItems,isSubmenuOpen:this.open&&this.hasSubmenu})}else if("ArrowLeft"===t.key)t.preventDefault(),this.calciteInternalMenuItemKeyEvent.emit({event:t,children:this.submenuItems,isSubmenuOpen:!0});else if("ArrowRight"===t.key){if(t.preventDefault(),(t.target===this.dropdownActionEl||!this.href)&&this.hasSubmenu&&!this.open&&"vertical"===this.layout)return void(this.open=!0);this.calciteInternalMenuItemKeyEvent.emit({event:t,children:this.submenuItems,isSubmenuOpen:this.open&&this.hasSubmenu})}},this.active=void 0,this.breadcrumb=void 0,this.href=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.isTopLevelItem=!1,this.label=void 0,this.layout=void 0,this.messageOverrides=void 0,this.messages=void 0,this.open=!1,this.rel=void 0,this.target=void 0,this.text=void 0,this.topLevelMenuLayout=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasSubmenu=!1,this.submenuItems=void 0}onMessagesChange(){}effectiveLocaleChange(){m(this,this.effectiveLocale)}async setFocus(){await u(this),this.anchorEl.focus()}handleClickOut(t){"vertical"!==this.topLevelMenuLayout&&this.hasSubmenu&&this.open&&!t.composedPath().includes(this.el)&&(this.open=!1)}handleFocusOut(t){"vertical"===this.topLevelMenuLayout||this.el.contains(t.relatedTarget)||(this.open=!1)}connectedCallback(){v(this),f(this)}async componentWillLoad(){h(this),await b(this)}componentDidLoad(){d(this)}disconnectedCallback(){p(this),g(this)}blurHandler(){this.isFocused=!1}focusHandler(t){const i=t.target;this.isFocused=!0,i.open&&!this.open&&(i.open=!1)}selectMenuItem(t){t.target!==this.dropdownActionEl&&this.calciteMenuItemSelect.emit()}renderIconStart(){return i("calcite-icon",{class:`${M} ${E}`,flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,key:E,scale:"s"})}renderIconEnd(){return i("calcite-icon",{class:`${M} ${$}`,flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,key:$,scale:"s"})}renderBreadcrumbIcon(t){return i("calcite-icon",{class:`${M} ${A}`,icon:"rtl"===t?"chevron-left":"chevron-right",key:A,scale:"s"})}renderDropdownIcon(t){return i("calcite-icon",{class:`${M} ${S}`,icon:"vertical"===this.topLevelMenuLayout||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":"rtl"===t?"chevron-left":"chevron-right",key:S,scale:"s"})}renderDropdownAction(t){return i("calcite-action",{class:j,icon:"vertical"===this.topLevelMenuLayout||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":"rtl"===t?"chevron-left":"chevron-right",key:j,onClick:this.clickHandler,onKeyDown:this.keyDownHandler,text:this.messages.open,ref:t=>this.dropdownActionEl=t})}renderSubmenuItems(t){return i("calcite-menu",{class:{"dropdown-menu-items":!0,open:this.open,nested:!this.isTopLevelItem,[y.rtl]:"rtl"===t,"dropdown--vertical":"vertical"===this.topLevelMenuLayout},label:this.messages.submenu,layout:"vertical",role:"menu"},i("slot",{name:"submenu-item",onSlotchange:this.handleMenuItemSlotChange}))}renderHrefIcon(t){return i("calcite-icon",{class:D,icon:"rtl"===t?"arrow-left":"arrow-right",key:D,scale:"s"})}renderItemContent(t){const e=this.href&&("vertical"===this.topLevelMenuLayout||!this.isTopLevelItem);return i(o,null,this.iconStart&&this.renderIconStart(),i("div",{class:"text-container"},i("span",null,this.text)),e&&this.renderHrefIcon(t),this.iconEnd&&this.renderIconEnd(),this.breadcrumb?this.renderBreadcrumbIcon(t):null,!this.href&&this.hasSubmenu?this.renderDropdownIcon(t):null)}render(){const t=l(this.el);return i(e,{onBlur:this.blurHandler,onFocus:this.focusHandler},i("li",{class:{container:!0,"parent--vertical":"vertical"===this.topLevelMenuLayout},role:"none"},i("div",{class:"item-content"},i("a",{"aria-current":!!this.isFocused&&"page","aria-expanded":this.open,"aria-haspopup":this.hasSubmenu,"aria-label":this.label,class:{"layout--vertical":"vertical"===this.layout,content:!0},href:this.href,onClick:this.clickHandler,onKeyDown:this.keyDownHandler,rel:this.rel,role:"menuitem",tabIndex:this.isTopLevelItem?0:-1,target:this.target,ref:t=>this.anchorEl=t},this.renderItemContent(t)),this.href&&this.hasSubmenu?this.renderDropdownAction(t):null),this.renderSubmenuItems(t)))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};F.style=':host{position:relative;box-sizing:border-box;display:flex;align-items:center;flex-shrink:0}:host .container,:host .item-content,:host .content{min-block-size:3rem}:host([layout=vertical]){inline-size:100%}:host(:not([layout=vertical])){block-size:100%}.container,.item-content{display:flex;block-size:100%;inline-size:100%;flex-direction:row;align-items:stretch}.content{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);padding-inline:1rem;font-size:var(--calcite-font-size-0);color:var(--calcite-ui-text-2);outline:2px solid transparent;outline-offset:2px;text-decoration:none;border-block-end:0.125rem solid transparent;padding-block-start:0.125rem}.content:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-2)}.content:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-2);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 )}.content:active{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.content span{display:inline-flex}.content.layout--vertical{display:flex;inline-size:100%;justify-content:flex-start;padding-block:1rem;border-block-end:0;border-inline-end:0.25rem solid transparent}:host([active]) .content{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-brand)}:host([active]) .content .icon{--calcite-ui-icon-color:var(--calcite-ui-brand)}:host([layout=vertical]) .content{padding-inline:0.75rem}.icon--start{margin-inline-end:0.75rem}.icon--end{margin-inline-start:0.75rem}:host([layout=vertical]) .icon--end{margin-inline-start:auto;padding-inline-start:0.75rem}.icon--dropdown{position:relative;margin-inline-start:auto;margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-ui-icon-color:var(--calcite-ui-text-3)}:host([layout=vertical]) .icon--end~.icon--dropdown{margin-inline-start:0.75rem}:host([layout=vertical]) .hover-href-icon{padding-inline-start:0.5rem}:host([layout=vertical]) .hover-href-icon~.icon--end{margin-inline-start:0.5rem}:host([layout=vertical]) .hover-href-icon~.icon--breadcrumb{margin-inline-start:0.75rem}.icon--breadcrumb{margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-ui-icon-color:var(--calcite-ui-text-3)}:host([layout=vertical]) .icon--breadcrumb{margin-inline-start:auto}:host([layout=vertical]) .icon--breadcrumb~.icon--dropdown{margin-inline-start:0.5rem}:host([layout=vertical]) .icon--end~.icon--breadcrumb{margin-inline-start:0.5rem}:host([breadcrumb]) .content{padding-inline-end:0.75rem}calcite-action{position:relative;block-size:auto;border-inline-start:1px solid var(--calcite-ui-foreground-1)}calcite-action:after{position:absolute;inset-inline-start:-1px;display:block;inline-size:1px;content:"";inset-block:0.75rem;background-color:var(--calcite-ui-border-3)}calcite-action:hover:after{block-size:100%;inset-block:0}.content:focus~calcite-action,.content:hover~calcite-action{color:var(--calcite-ui-text-1);border-inline-start:1px solid var(--calcite-ui-border-3)}.container:hover .dropdown-action{background-color:var(--calcite-ui-foreground-2)}.dropdown-menu-items{position:absolute;display:none;block-size:auto;min-inline-size:100%;flex-direction:column;overflow:visible;border:1px solid var(--calcite-ui-border-3);background:var(--calcite-ui-foreground-1);inset-block-start:100%;z-index:var(--calcite-app-z-index-dropdown)}.dropdown-menu-items.open{display:block}.dropdown-menu-items.nested{position:absolute;inset-block-start:-1px;transform:translateX(calc(100% - 2px))}.parent--vertical{flex-direction:column}.dropdown--vertical.dropdown-menu-items{position:relative;border-radius:0px;box-shadow:none;inset-block-start:0;transform:none}.dropdown--vertical.dropdown-menu-items:last-of-type{border-inline:0}:host([slot=submenu-item]) .parent--vertical{padding-inline-start:1.5rem}.dropdown-menu-items.nested.calcite--rtl{transform:translateX(calc(-100% + 2px))}.dropdown--vertical.dropdown-menu-items.nested.calcite--rtl{transform:none}.hover-href-icon{position:relative;inset-inline-end:0.25rem;margin-inline-start:auto;opacity:0;transition:all var(--calcite-internal-animation-timing-medium) ease-in-out}.content:focus .hover-href-icon,.content:hover .hover-href-icon{inset-inline-end:-0.25rem;opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{L as calcite_menu,F as calcite_menu_item}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v1.5.0-next.27
|
|
5
|
+
*/
|
|
6
|
+
import{d}from"./p-02874c9a.js";import"./p-7650efdd.js";import"./p-2d4d5b02.js";import"./p-83a2dc88.js";import"./p-31f85f74.js";import"./p-c339384e.js";import"./p-a152f006.js";import"./p-53ae5888.js";import"./p-913f00dd.js";import"./p-d4b56ea4.js";import"./p-f886c4dd.js";import"./p-50d5cdd5.js";import"./p-5dd5e699.js";import"./p-4bdfdc2f.js";var s={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(d){return d},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"}};d.locale(s,null,!0);export default s;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v1.5.0-next.27
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as e,H as n,a as s}from"./p-7650efdd.js";import{g as o,i as a,h as r,b as l}from"./p-83a2dc88.js";import{s as c,c as h,d as u,H as d}from"./p-2d4d5b02.js";import{c as b,d as m,u as p}from"./p-a152f006.js";import{n as v}from"./p-53ae5888.js";import{c as f,d as g,g as x}from"./p-913f00dd.js";import{a as w,s as y,c as k}from"./p-d4b56ea4.js";import{n as z,i as j,p as I,s as E,a as C,c as D,d as W,B as L}from"./p-f886c4dd.js";import{c as N}from"./p-50d5cdd5.js";import{C as F}from"./p-c339384e.js";import{u as P,c as $,d as A,s as H}from"./p-4bdfdc2f.js";import"./p-31f85f74.js";const R="number-button-item--horizontal",V="number-button-item",K=class{constructor(e){t(this,e),this.calciteInternalInputNumberFocus=i(this,"calciteInternalInputNumberFocus",6),this.calciteInternalInputNumberBlur=i(this,"calciteInternalInputNumberBlur",6),this.calciteInputNumberInput=i(this,"calciteInputNumberInput",7),this.calciteInputNumberChange=i(this,"calciteInputNumberChange",6),this.previousValueOrigin="initial",this.mutationObserver=N("mutation",(()=>this.setDisabledAction())),this.userChangedValue=!1,this.keyDownHandler=t=>{this.readOnly||this.disabled||(this.isClearable&&"Escape"===t.key&&(this.clearInputValue(t),t.preventDefault()),"Enter"!==t.key||t.defaultPrevented||c(this)&&t.preventDefault())},this.clearInputValue=t=>{this.setNumberValue({committing:!0,nativeEvent:t,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedNumberValue&&(this.calciteInputNumberChange.emit(),this.setPreviousEmittedNumberValue(this.value))},this.inputNumberBlurHandler=()=>{this.calciteInternalInputNumberBlur.emit(),this.emitChangeIfUserModified()},this.clickHandler=t=>{if(this.disabled)return;const i=o(this.el,"action");t.target!==i&&this.setFocus()},this.inputNumberFocusHandler=()=>{this.calciteInternalInputNumberFocus.emit()},this.inputNumberInputHandler=t=>{if(this.disabled||this.readOnly)return;const i=t.target.value;z.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const e=z.delocalize(i);"insertFromPaste"===t.inputType?(j(e)||t.preventDefault(),this.setNumberValue({nativeEvent:t,origin:"user",value:I(e)}),this.childNumberEl.value=this.localizedValue):this.setNumberValue({nativeEvent:t,origin:"user",value:e})},this.inputNumberKeyDownHandler=t=>{if(this.disabled||this.readOnly)return;if("ArrowUp"===t.key)return t.preventDefault(),void this.nudgeNumberValue("up",t);if("ArrowDown"===t.key)return void this.nudgeNumberValue("down",t);const i=[...v,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(t.altKey||t.ctrlKey||t.metaKey)return;const e=t.shiftKey&&"Tab"===t.key;if(i.includes(t.key)||e)"Enter"===t.key&&this.emitChangeIfUserModified();else{if(z.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},t.key===z.decimal){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&-1===this.childNumberEl.value.indexOf(z.decimal))return}if(/[eE]/.test(t.key)){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&!/[eE]/.test(this.childNumberEl.value))return}if("-"===t.key){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&this.childNumberEl.value.split("-").length<=2)return}t.preventDefault()}},this.nudgeNumberValue=(t,i)=>{if(i instanceof KeyboardEvent&&i.repeat)return;const e=this.maxString?parseFloat(this.maxString):null,n=this.minString?parseFloat(this.minString):null;this.incrementOrDecrementNumberValue(t,e,n,i),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let s=!0;this.nudgeNumberValueIntervalId=window.setInterval((()=>{s?s=!1:this.incrementOrDecrementNumberValue(t,e,n,i)}),150)},this.nudgeButtonPointerUpAndOutHandler=t=>{a(t)&&window.clearInterval(this.nudgeNumberValueIntervalId)},this.nudgeButtonPointerDownHandler=t=>{a(t)&&(t.preventDefault(),this.disabled||this.nudgeNumberValue(t.target.dataset.adjustment,t))},this.hiddenInputChangeHandler=t=>{t.target.name===this.name&&this.setNumberValue({value:t.target.value,origin:"direct"}),t.stopPropagation()},this.setChildNumberElRef=t=>{this.childNumberEl=t},this.setInputNumberValue=t=>{this.childNumberEl&&(this.childNumberEl.value=t)},this.setPreviousEmittedNumberValue=t=>{this.previousEmittedNumberValue=this.normalizeValue(t)},this.setPreviousNumberValue=t=>{this.previousValue=this.normalizeValue(t)},this.setNumberValue=({committing:t=!1,nativeEvent:i,origin:e,previousValue:n,value:s})=>{z.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const o=this.previousValue?.length>s.length||this.value?.length>s.length,a="."===s.charAt(s.length-1),r=a&&o?s:E(s),l=s&&!r?j(this.previousValue)?this.previousValue:"":r;let c=z.localize(l);"connected"===e||a||(c=C(c,l,z)),this.localizedValue=a&&o?`${c}${z.decimal}`:c,this.setPreviousNumberValue(n??this.value),this.previousValueOrigin=e,this.userChangedValue="user"===e&&this.value!==l,this.value=["-","."].includes(l)?"":l,"direct"===e&&(this.setInputNumberValue(c),this.setPreviousEmittedNumberValue(c)),i&&(this.calciteInputNumberInput.emit().defaultPrevented?(this.value=this.previousValue,this.localizedValue=z.localize(this.previousValue)):t&&this.emitChangeIfUserModified())},this.inputNumberKeyUpHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.alignment="start",this.autofocus=!1,this.clearable=!1,this.disabled=!1,this.form=void 0,this.groupSeparator=!1,this.hidden=!1,this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.loading=!1,this.numberingSystem=void 0,this.localeFormat=!1,this.max=void 0,this.min=void 0,this.maxLength=void 0,this.minLength=void 0,this.name=void 0,this.numberButtonType="vertical",this.placeholder=void 0,this.prefixText=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.step=void 0,this.autocomplete=void 0,this.inputMode="decimal",this.enterKeyHint=void 0,this.suffixText=void 0,this.editingEnabled=!1,this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.localizedValue=void 0,this.slottedActionElDisabledInternally=!1}disabledWatcher(){this.setDisabledAction()}maxWatcher(){this.maxString=this.max?.toString()||null}minWatcher(){this.minString=this.min?.toString()||null}onMessagesChange(){}valueWatcher(t,i){this.userChangedValue||(this.setNumberValue({origin:"direct",previousValue:i,value:null==t||""==t?"":j(t)?t:this.previousValue||""}),this.warnAboutInvalidNumberValue(t)),this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=r({},this.icon,"number")}get isClearable(){return this.clearable&&this.value.length>0}effectiveLocaleWatcher(t){P(this,this.effectiveLocale),z.numberFormatOptions={locale:t,numberingSystem:this.numberingSystem,useGrouping:!1}}connectedCallback(){b(this),D(this),$(this),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),f(this),h(this),this.setPreviousEmittedNumberValue(this.value),this.setPreviousNumberValue(this.value),this.warnAboutInvalidNumberValue(this.value),this.setNumberValue({origin:"connected",value:j(this.value)?this.value:""}),this.mutationObserver?.observe(this.el,{childList:!0}),this.setDisabledAction(),this.el.addEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}componentDidLoad(){w(this)}disconnectedCallback(){m(this),g(this),u(this),W(this),A(this),this.mutationObserver?.disconnect(),this.el.removeEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}async componentWillLoad(){y(this),this.maxString=this.max?.toString(),this.minString=this.min?.toString(),this.requestedIcon=r({},this.icon,"number"),await H(this)}componentShouldUpdate(t,i,e){return!("value"===e&&t&&!j(t)&&(this.setNumberValue({origin:"reset",value:i}),1))}componentDidRender(){p(this)}async setFocus(){await k(this),this.childNumberEl?.focus()}async selectText(){this.childNumberEl?.select()}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(t,i,e,n){const{value:s}=this,o="up"===t?1:-1,a="any"===this.step?1:Math.abs(this.step||1),r=new L(""!==s?s:"0").add(""+a*o),l="number"==typeof e&&!isNaN(e)&&r.subtract(`${e}`).isNegative?`${e}`:"number"!=typeof i||isNaN(i)||r.subtract(`${i}`).isNegative?r.toString():`${i}`;this.setNumberValue({committing:!0,nativeEvent:n,origin:"user",value:l})}onFormReset(){this.setNumberValue({origin:"reset",value:this.defaultValue})}syncHiddenFormInput(t){t.type="number",t.min=this.min?.toString(10)??"",t.max=this.max?.toString(10)??""}setDisabledAction(){const t=o(this.el,"action");t&&(this.disabled?(null==t.getAttribute("disabled")&&(this.slottedActionElDisabledInternally=!0),t.setAttribute("disabled","")):this.slottedActionElDisabledInternally&&(t.removeAttribute("disabled"),this.slottedActionElDisabledInternally=!1))}normalizeValue(t){return j(t)?t:""}warnAboutInvalidNumberValue(t){t&&!j(t)&&console.warn(`The specified value "${t}" cannot be parsed, or is out of range.`)}render(){const t=l(this.el),i=e("div",{class:"loader"},e("calcite-progress",{label:this.messages.loading,type:"indeterminate"})),s=e("button",{"aria-label":this.messages.clear,class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputValue,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),o=e("calcite-icon",{class:"icon",flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"}),a="horizontal"===this.numberButtonType,r=e("button",{"aria-hidden":"true",class:{[V]:!0,[R]:a},"data-adjustment":"up",disabled:this.disabled||this.readOnly,onPointerDown:this.nudgeButtonPointerDownHandler,onPointerOut:this.nudgeButtonPointerUpAndOutHandler,onPointerUp:this.nudgeButtonPointerUpAndOutHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-up",scale:"l"===this.scale?"m":"s"})),c=e("button",{"aria-hidden":"true",class:{[V]:!0,[R]:a},"data-adjustment":"down",disabled:this.disabled||this.readOnly,onPointerDown:this.nudgeButtonPointerDownHandler,onPointerOut:this.nudgeButtonPointerUpAndOutHandler,onPointerUp:this.nudgeButtonPointerUpAndOutHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-down",scale:"l"===this.scale?"m":"s"})),h=e("div",{class:"number-button-wrapper"},r,c),u=e("div",{class:"prefix"},this.prefixText),b=e("div",{class:"suffix"},this.suffixText),m=e("input",{"aria-label":x(this),autocomplete:this.autocomplete,autofocus:!!this.autofocus||null,defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.enterKeyHint,inputMode:this.inputMode,key:"localized-input",maxLength:this.maxLength,minLength:this.minLength,name:void 0,onBlur:this.inputNumberBlurHandler,onFocus:this.inputNumberFocusHandler,onInput:this.inputNumberInputHandler,onKeyDown:this.inputNumberKeyDownHandler,onKeyUp:this.inputNumberKeyUpHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,type:"text",value:this.localizedValue,ref:this.setChildNumberElRef});return e(n,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},e("div",{class:{wrapper:!0,[F.rtl]:"rtl"===t}},"horizontal"!==this.numberButtonType||this.readOnly?null:c,this.prefixText?u:null,e("div",{class:"element-wrapper"},m,this.isClearable?s:null,this.requestedIcon?o:null,this.loading?i:null),e("div",{class:"action-wrapper"},e("slot",{name:"action"})),"vertical"!==this.numberButtonType||this.readOnly?null:h,this.suffixText?b:null,"horizontal"!==this.numberButtonType||this.readOnly?null:r,e(d,{component:this})))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{disabled:["disabledWatcher"],max:["maxWatcher"],min:["minWatcher"],messageOverrides:["onMessagesChange"],value:["valueWatcher"],icon:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleWatcher"]}}};K.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host input{outline-color:transparent}:host input: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 )}:host([status=invalid]) input{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-ui-danger);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([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-app-z-index);display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button: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 )}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{order:2;border-inline-end-width:0px}.suffix{order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0px;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-block:0px;padding-inline:0.5rem;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-ui-border-1)}:host .inline-child{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:flex;cursor:pointer;border-color:transparent;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{K as calcite_input_number}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.27
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const dom = require('./dom-
|
|
10
|
-
const resources$1 = require('./resources-
|
|
11
|
-
const resources = require('./resources-
|
|
8
|
+
const index = require('./index-0464ec66.js');
|
|
9
|
+
const dom = require('./dom-a70213c2.js');
|
|
10
|
+
const resources$1 = require('./resources-d98c3beb.js');
|
|
11
|
+
const resources = require('./resources-de8954c3.js');
|
|
12
12
|
|
|
13
13
|
const overflowActionsDebounceInMs = 150;
|
|
14
14
|
const groupBufferPx = 2;
|
|
@@ -82,9 +82,9 @@ const setTooltipReference = ({ tooltip, referenceElement, expanded, ref, }) => {
|
|
|
82
82
|
}
|
|
83
83
|
return referenceElement;
|
|
84
84
|
};
|
|
85
|
-
const ExpandToggle = ({ expanded,
|
|
85
|
+
const ExpandToggle = ({ expanded, expandText, collapseText, toggle, el, position, tooltip, ref, scale, }) => {
|
|
86
86
|
const rtl = dom.getElementDir(el) === "rtl";
|
|
87
|
-
const
|
|
87
|
+
const text = expanded ? collapseText : expandText;
|
|
88
88
|
const icons = [ICONS.chevronsLeft, ICONS.chevronsRight];
|
|
89
89
|
if (rtl) {
|
|
90
90
|
icons.reverse();
|
|
@@ -92,7 +92,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
92
92
|
const end = getCalcitePosition(position, el) === "end";
|
|
93
93
|
const expandIcon = end ? icons[1] : icons[0];
|
|
94
94
|
const collapseIcon = end ? icons[0] : icons[1];
|
|
95
|
-
const actionNode = (index.h("calcite-action", { icon: expanded ? expandIcon : collapseIcon, onClick: toggle, scale: scale, text:
|
|
95
|
+
const actionNode = (index.h("calcite-action", { icon: expanded ? expandIcon : collapseIcon, onClick: toggle, scale: scale, text: text, textEnabled: expanded,
|
|
96
96
|
// eslint-disable-next-line react/jsx-sort-props
|
|
97
97
|
ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }) }));
|
|
98
98
|
return actionNode;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.27
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-0464ec66.js');
|
|
9
9
|
|
|
10
10
|
const CSS = {
|
|
11
11
|
arrow: "calcite-floating-ui-arrow",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.27
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-0464ec66.js');
|
|
9
9
|
|
|
10
10
|
function constrainHeadingLevel(level) {
|
|
11
11
|
return Math.min(Math.max(Math.ceil(level), 1), 6);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.27
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const resources = require('./resources-
|
|
8
|
+
const resources = require('./resources-8c5d3694.js');
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Emits when the mode is dynamically toggled between light and dark on <body> or in OS preferences.
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.27
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const calciteInputTimePicker_calciteTimePicker_entry = require('./calcite-input-time-picker.calcite-time-picker-
|
|
9
|
-
require('./index-
|
|
10
|
-
require('./form-
|
|
11
|
-
require('./dom-
|
|
12
|
-
require('./guid-
|
|
13
|
-
require('./resources-
|
|
14
|
-
require('./interactive-
|
|
15
|
-
require('./key-
|
|
16
|
-
require('./label-
|
|
17
|
-
require('./loadable-
|
|
18
|
-
require('./locale-
|
|
19
|
-
require('./observers-
|
|
20
|
-
require('./focusTrapComponent-
|
|
21
|
-
require('./t9n-
|
|
8
|
+
const calciteInputTimePicker_calciteTimePicker_entry = require('./calcite-input-time-picker.calcite-time-picker-a81dfb2f.js');
|
|
9
|
+
require('./index-0464ec66.js');
|
|
10
|
+
require('./form-9edc0feb.js');
|
|
11
|
+
require('./dom-a70213c2.js');
|
|
12
|
+
require('./guid-042b36e4.js');
|
|
13
|
+
require('./resources-8c5d3694.js');
|
|
14
|
+
require('./interactive-34fbac40.js');
|
|
15
|
+
require('./key-99b5aee6.js');
|
|
16
|
+
require('./label-9b565bca.js');
|
|
17
|
+
require('./loadable-4d58d337.js');
|
|
18
|
+
require('./locale-b64c0691.js');
|
|
19
|
+
require('./observers-550d0737.js');
|
|
20
|
+
require('./focusTrapComponent-abe7c12c.js');
|
|
21
|
+
require('./t9n-24f52de4.js');
|
|
22
22
|
|
|
23
23
|
// Arabic [ar]
|
|
24
24
|
var months = 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_');
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.27
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const calciteInputTimePicker_calciteTimePicker_entry = require('./calcite-input-time-picker.calcite-time-picker-
|
|
9
|
-
require('./index-
|
|
10
|
-
require('./form-
|
|
11
|
-
require('./dom-
|
|
12
|
-
require('./guid-
|
|
13
|
-
require('./resources-
|
|
14
|
-
require('./interactive-
|
|
15
|
-
require('./key-
|
|
16
|
-
require('./label-
|
|
17
|
-
require('./loadable-
|
|
18
|
-
require('./locale-
|
|
19
|
-
require('./observers-
|
|
20
|
-
require('./focusTrapComponent-
|
|
21
|
-
require('./t9n-
|
|
8
|
+
const calciteInputTimePicker_calciteTimePicker_entry = require('./calcite-input-time-picker.calcite-time-picker-a81dfb2f.js');
|
|
9
|
+
require('./index-0464ec66.js');
|
|
10
|
+
require('./form-9edc0feb.js');
|
|
11
|
+
require('./dom-a70213c2.js');
|
|
12
|
+
require('./guid-042b36e4.js');
|
|
13
|
+
require('./resources-8c5d3694.js');
|
|
14
|
+
require('./interactive-34fbac40.js');
|
|
15
|
+
require('./key-99b5aee6.js');
|
|
16
|
+
require('./label-9b565bca.js');
|
|
17
|
+
require('./loadable-4d58d337.js');
|
|
18
|
+
require('./locale-b64c0691.js');
|
|
19
|
+
require('./observers-550d0737.js');
|
|
20
|
+
require('./focusTrapComponent-abe7c12c.js');
|
|
21
|
+
require('./t9n-24f52de4.js');
|
|
22
22
|
|
|
23
23
|
// Bulgarian [bg]
|
|
24
24
|
var locale = {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.27
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const calciteInputTimePicker_calciteTimePicker_entry = require('./calcite-input-time-picker.calcite-time-picker-
|
|
9
|
-
require('./index-
|
|
10
|
-
require('./form-
|
|
11
|
-
require('./dom-
|
|
12
|
-
require('./guid-
|
|
13
|
-
require('./resources-
|
|
14
|
-
require('./interactive-
|
|
15
|
-
require('./key-
|
|
16
|
-
require('./label-
|
|
17
|
-
require('./loadable-
|
|
18
|
-
require('./locale-
|
|
19
|
-
require('./observers-
|
|
20
|
-
require('./focusTrapComponent-
|
|
21
|
-
require('./t9n-
|
|
8
|
+
const calciteInputTimePicker_calciteTimePicker_entry = require('./calcite-input-time-picker.calcite-time-picker-a81dfb2f.js');
|
|
9
|
+
require('./index-0464ec66.js');
|
|
10
|
+
require('./form-9edc0feb.js');
|
|
11
|
+
require('./dom-a70213c2.js');
|
|
12
|
+
require('./guid-042b36e4.js');
|
|
13
|
+
require('./resources-8c5d3694.js');
|
|
14
|
+
require('./interactive-34fbac40.js');
|
|
15
|
+
require('./key-99b5aee6.js');
|
|
16
|
+
require('./label-9b565bca.js');
|
|
17
|
+
require('./loadable-4d58d337.js');
|
|
18
|
+
require('./locale-b64c0691.js');
|
|
19
|
+
require('./observers-550d0737.js');
|
|
20
|
+
require('./focusTrapComponent-abe7c12c.js');
|
|
21
|
+
require('./t9n-24f52de4.js');
|
|
22
22
|
|
|
23
23
|
// Bosnian [bs]
|
|
24
24
|
var locale = {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.27
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const calciteInputTimePicker_calciteTimePicker_entry = require('./calcite-input-time-picker.calcite-time-picker-
|
|
9
|
-
require('./index-
|
|
10
|
-
require('./form-
|
|
11
|
-
require('./dom-
|
|
12
|
-
require('./guid-
|
|
13
|
-
require('./resources-
|
|
14
|
-
require('./interactive-
|
|
15
|
-
require('./key-
|
|
16
|
-
require('./label-
|
|
17
|
-
require('./loadable-
|
|
18
|
-
require('./locale-
|
|
19
|
-
require('./observers-
|
|
20
|
-
require('./focusTrapComponent-
|
|
21
|
-
require('./t9n-
|
|
8
|
+
const calciteInputTimePicker_calciteTimePicker_entry = require('./calcite-input-time-picker.calcite-time-picker-a81dfb2f.js');
|
|
9
|
+
require('./index-0464ec66.js');
|
|
10
|
+
require('./form-9edc0feb.js');
|
|
11
|
+
require('./dom-a70213c2.js');
|
|
12
|
+
require('./guid-042b36e4.js');
|
|
13
|
+
require('./resources-8c5d3694.js');
|
|
14
|
+
require('./interactive-34fbac40.js');
|
|
15
|
+
require('./key-99b5aee6.js');
|
|
16
|
+
require('./label-9b565bca.js');
|
|
17
|
+
require('./loadable-4d58d337.js');
|
|
18
|
+
require('./locale-b64c0691.js');
|
|
19
|
+
require('./observers-550d0737.js');
|
|
20
|
+
require('./focusTrapComponent-abe7c12c.js');
|
|
21
|
+
require('./t9n-24f52de4.js');
|
|
22
22
|
|
|
23
23
|
// Catalan [ca]
|
|
24
24
|
var locale = {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.27
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const observers = require('./observers-
|
|
12
|
-
const conditionalSlot = require('./conditionalSlot-
|
|
13
|
-
const dom = require('./dom-
|
|
14
|
-
const resources = require('./resources-
|
|
15
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-0464ec66.js');
|
|
11
|
+
const observers = require('./observers-550d0737.js');
|
|
12
|
+
const conditionalSlot = require('./conditionalSlot-faab0620.js');
|
|
13
|
+
const dom = require('./dom-a70213c2.js');
|
|
14
|
+
const resources = require('./resources-8c5d3694.js');
|
|
15
|
+
require('./guid-042b36e4.js');
|
|
16
16
|
|
|
17
|
-
const accordionCss = "
|
|
17
|
+
const accordionCss = ":host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}:host([hidden]){display:none}[hidden]{display:none}";
|
|
18
18
|
|
|
19
19
|
const Accordion = class {
|
|
20
20
|
constructor(hostRef) {
|
|
@@ -111,7 +111,7 @@ const CSS = {
|
|
|
111
111
|
headerContainer: "header-container",
|
|
112
112
|
};
|
|
113
113
|
|
|
114
|
-
const accordionItemCss = "
|
|
114
|
+
const accordionItemCss = ".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);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}";
|
|
115
115
|
|
|
116
116
|
const AccordionItem = class {
|
|
117
117
|
constructor(hostRef) {
|