@esri/calcite-components 1.0.0-beta.91 → 1.0.0-beta.92
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/assets/icon/changeDetection16.json +1 -1
- package/dist/calcite/assets/icon/changeDetection24.json +1 -1
- package/dist/calcite/assets/icon/changeDetection32.json +1 -1
- package/dist/calcite/assets/icon/chartMagnifyingGlass16.json +1 -0
- package/dist/calcite/assets/icon/chartMagnifyingGlass24.json +1 -0
- package/dist/calcite/assets/icon/chartMagnifyingGlass32.json +1 -0
- package/dist/calcite/assets/icon/collaboration16.json +1 -0
- package/dist/calcite/assets/icon/collaboration24.json +1 -0
- package/dist/calcite/assets/icon/collaboration32.json +1 -0
- package/dist/calcite/assets/icon/collaborationDistributed16.json +1 -0
- package/dist/calcite/assets/icon/collaborationDistributed24.json +1 -0
- package/dist/calcite/assets/icon/collaborationDistributed32.json +1 -0
- package/dist/calcite/assets/icon/flip16.json +1 -0
- package/dist/calcite/assets/icon/flip24.json +1 -0
- package/dist/calcite/assets/icon/flip32.json +1 -0
- package/dist/calcite/assets/icon/security16.json +1 -1
- package/dist/calcite/assets/icon/security24.json +1 -1
- package/dist/calcite/assets/icon/security32.json +1 -1
- package/dist/calcite/assets/icon/sheildCoin16.json +1 -0
- package/dist/calcite/assets/icon/sheildCoin24.json +1 -0
- package/dist/calcite/assets/icon/sheildCoin32.json +1 -0
- package/dist/calcite/assets/icon/shieldCoin16.json +1 -0
- package/dist/calcite/assets/icon/shieldCoin24.json +1 -0
- package/dist/calcite/assets/icon/shieldCoin32.json +1 -0
- package/dist/calcite/assets/icon/unpin16.json +1 -0
- package/dist/calcite/assets/icon/unpin24.json +1 -0
- package/dist/calcite/assets/icon/unpin32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00cf13c7.system.entry.js +6 -0
- package/dist/calcite/p-0330afe9.entry.js +6 -0
- package/dist/calcite/p-047f5080.system.entry.js +6 -0
- package/dist/calcite/p-05208d9e.system.entry.js +6 -0
- package/dist/calcite/p-0633d33e.system.entry.js +6 -0
- package/dist/calcite/{p-e6f99510.system.js → p-06a73b31.system.js} +1 -1
- package/dist/calcite/{p-e8276ff5.entry.js → p-0808e377.entry.js} +2 -2
- package/dist/calcite/p-0831a033.entry.js +6 -0
- package/dist/calcite/p-08d0c4b3.system.entry.js +6 -0
- package/dist/calcite/p-0c8c14bf.system.entry.js +6 -0
- package/dist/calcite/{p-583a420c.entry.js → p-115b7c7b.entry.js} +2 -2
- package/dist/calcite/{p-839a73f1.system.js → p-14370718.system.js} +2 -2
- package/dist/calcite/{p-eccc7c09.js → p-17743b92.js} +2 -2
- package/dist/calcite/{p-5cc65795.system.entry.js → p-17eca2ae.system.entry.js} +2 -2
- package/dist/calcite/{p-81b35d5d.system.entry.js → p-1c521c06.system.entry.js} +2 -2
- package/dist/calcite/p-1e7ce144.system.entry.js +6 -0
- package/dist/calcite/p-1f03af38.system.js +6 -0
- package/dist/calcite/p-205177f2.entry.js +6 -0
- package/dist/calcite/{p-009b9bcf.system.js → p-22bdeaf6.system.js} +2 -2
- package/dist/calcite/p-22c0a92c.system.entry.js +6 -0
- package/dist/calcite/p-2353cf75.system.js +6 -0
- package/dist/calcite/{p-ad7f17d7.system.js → p-24f3ecd3.system.js} +2 -2
- package/dist/calcite/{p-af58a18b.system.js → p-25bd48cf.system.js} +1 -1
- package/dist/calcite/{p-30fad726.system.entry.js → p-262134e1.system.entry.js} +2 -2
- package/dist/calcite/{p-46e3b866.system.js → p-2699d0a3.system.js} +1 -1
- package/dist/calcite/p-2d3e8d7e.system.entry.js +6 -0
- package/dist/calcite/p-2d97d32a.system.entry.js +6 -0
- package/dist/calcite/p-2e16ea90.entry.js +6 -0
- package/dist/calcite/{p-95c5ce43.entry.js → p-305499ae.entry.js} +2 -2
- package/dist/calcite/p-3229244a.system.entry.js +6 -0
- package/dist/calcite/{p-526248dc.system.entry.js → p-3375bdcc.system.entry.js} +2 -2
- package/dist/calcite/p-3381cb2b.system.entry.js +6 -0
- package/dist/calcite/p-348880ed.entry.js +6 -0
- package/dist/calcite/p-353edca5.system.entry.js +6 -0
- package/dist/calcite/{p-29eff4fc.js → p-365d9061.js} +1 -1
- package/dist/calcite/p-3795cf17.system.entry.js +6 -0
- package/dist/calcite/p-37faecf9.entry.js +6 -0
- package/dist/calcite/p-3a805702.entry.js +6 -0
- package/dist/calcite/p-3aa80899.entry.js +6 -0
- package/dist/calcite/p-3b3b7338.entry.js +6 -0
- package/dist/calcite/{p-72de7bac.js → p-3d5a42c2.js} +1 -1
- package/dist/calcite/p-3fb0028d.system.entry.js +6 -0
- package/dist/calcite/{p-02c2ce31.js → p-40b1b217.js} +2 -2
- package/dist/calcite/p-415f281e.system.entry.js +6 -0
- package/dist/calcite/{p-c3450caf.entry.js → p-41b31d8a.entry.js} +2 -2
- package/dist/calcite/p-455a984c.system.entry.js +6 -0
- package/dist/calcite/{p-20cc09d3.entry.js → p-4568acb6.entry.js} +2 -2
- package/dist/calcite/p-46f703d7.system.entry.js +6 -0
- package/dist/calcite/{p-2cc54080.js → p-47e21b1b.js} +2 -2
- package/dist/calcite/p-49259ab7.system.entry.js +6 -0
- package/dist/calcite/{p-31a5871e.entry.js → p-4956d534.entry.js} +2 -2
- package/dist/calcite/{p-23887d7a.entry.js → p-4c082bbb.entry.js} +2 -2
- package/dist/calcite/p-4e03b1ae.entry.js +6 -0
- package/dist/calcite/{p-a48fd27e.entry.js → p-4e444288.entry.js} +2 -2
- package/dist/calcite/p-4e48ac8d.system.entry.js +6 -0
- package/dist/calcite/p-4f055915.system.entry.js +6 -0
- package/dist/calcite/{p-af6a258a.system.js → p-54c0d659.system.js} +1 -1
- package/dist/calcite/{p-f947bed5.entry.js → p-54f1296e.entry.js} +2 -2
- package/dist/calcite/{p-96e80eb0.js → p-563603be.js} +2 -2
- package/dist/calcite/{p-47663fe0.system.entry.js → p-57bcbf12.system.entry.js} +2 -2
- package/dist/calcite/p-57ef201e.entry.js +6 -0
- package/dist/calcite/{p-bc72ddf5.js → p-58f0c5d8.js} +1 -1
- package/dist/calcite/p-59ab1ea7.system.entry.js +6 -0
- package/dist/calcite/{p-e59a4adc.js → p-59ac4143.js} +2 -2
- package/dist/calcite/{p-be00e22e.js → p-5c35dc5d.js} +1 -1
- package/dist/calcite/{p-e9e89c12.system.js → p-5cfbeadf.system.js} +1 -1
- package/dist/calcite/{p-978e1777.js → p-5d28e8d4.js} +1 -1
- package/dist/calcite/{p-72222c1c.system.js → p-5d572c12.system.js} +1 -1
- package/dist/calcite/p-5ee75672.entry.js +6 -0
- package/dist/calcite/p-5efec339.system.entry.js +6 -0
- package/dist/calcite/p-5f9271fd.system.entry.js +6 -0
- package/dist/calcite/{p-bb45b137.js → p-6102c66d.js} +1 -1
- package/dist/calcite/{p-c1839811.system.js → p-61e53bb3.system.js} +1 -1
- package/dist/calcite/p-62914532.entry.js +6 -0
- package/dist/calcite/p-6519a510.entry.js +6 -0
- package/dist/calcite/{p-59a5da8a.js → p-669ab5f2.js} +2 -2
- package/dist/calcite/p-671cfa60.entry.js +6 -0
- package/dist/calcite/p-6723dbea.system.entry.js +6 -0
- package/dist/calcite/p-6737ff3d.system.entry.js +6 -0
- package/dist/calcite/{p-5fc28756.entry.js → p-67b21e65.entry.js} +2 -2
- package/dist/calcite/p-6af95a4b.entry.js +6 -0
- package/dist/calcite/p-6b42f6c1.entry.js +6 -0
- package/dist/calcite/{p-18e6c277.js → p-6b450790.js} +1 -1
- package/dist/calcite/{p-2da1cc68.js → p-6c8b54a4.js} +1 -1
- package/dist/calcite/{p-44b68820.entry.js → p-6ca3a4d3.entry.js} +2 -2
- package/dist/calcite/p-6fe2bde0.entry.js +6 -0
- package/dist/calcite/p-70f9636e.system.entry.js +6 -0
- package/dist/calcite/p-7132c6c9.entry.js +6 -0
- package/dist/calcite/p-71451eb3.system.entry.js +6 -0
- package/dist/calcite/p-7198a979.entry.js +6 -0
- package/dist/calcite/p-75b3a441.system.entry.js +6 -0
- package/dist/calcite/{p-7023b360.system.entry.js → p-75e86bf4.system.entry.js} +2 -2
- package/dist/calcite/p-77c2c86d.entry.js +6 -0
- package/dist/calcite/p-7836e97f.js +6 -0
- package/dist/calcite/{p-4a411a96.system.js → p-79988262.system.js} +2 -2
- package/dist/calcite/p-7c975ff8.system.entry.js +6 -0
- package/dist/calcite/p-809291a4.js +6 -0
- package/dist/calcite/{p-d44b8c96.entry.js → p-80a5dd3b.entry.js} +2 -2
- package/dist/calcite/{p-5eb7bb03.js → p-881abbf0.js} +1 -1
- package/dist/calcite/{p-f5490b0d.system.js → p-890bdf7b.system.js} +1 -1
- package/dist/calcite/p-89ebc813.entry.js +6 -0
- package/dist/calcite/{p-9f7bc627.system.js → p-8aa9e027.system.js} +2 -2
- package/dist/calcite/{p-c8221748.entry.js → p-8b9c3657.entry.js} +2 -2
- package/dist/calcite/p-8bec0f20.entry.js +6 -0
- package/dist/calcite/p-8c90df11.system.entry.js +6 -0
- package/dist/calcite/{p-60dcdade.system.js → p-8dccab26.system.js} +1 -1
- package/dist/calcite/p-900dede5.entry.js +6 -0
- package/dist/calcite/p-917ec520.entry.js +6 -0
- package/dist/calcite/{p-3022c39d.js → p-92d60658.js} +1 -1
- package/dist/calcite/{p-a189654d.js → p-9331ee41.js} +1 -1
- package/dist/calcite/p-938a7e19.js +6 -0
- package/dist/calcite/{p-5d7bc59a.system.js → p-95b2ce17.system.js} +1 -1
- package/dist/calcite/p-9a107c5b.system.entry.js +6 -0
- package/dist/calcite/p-9a99c514.system.entry.js +6 -0
- package/dist/calcite/p-9ea4befe.entry.js +6 -0
- package/dist/calcite/{p-e28fc860.system.js → p-a1327fdf.system.js} +1 -1
- package/dist/calcite/{p-b271b38a.entry.js → p-a2035e81.entry.js} +2 -2
- package/dist/calcite/{p-d5d9bdfe.system.entry.js → p-a509b85f.system.entry.js} +2 -2
- package/dist/calcite/p-a7419bf8.system.entry.js +6 -0
- package/dist/calcite/p-a75b8779.entry.js +6 -0
- package/dist/calcite/p-a8a6b848.system.entry.js +6 -0
- package/dist/calcite/{p-5066e91f.system.js → p-a8bf09e5.system.js} +1 -1
- package/dist/calcite/p-a9c79c8e.entry.js +6 -0
- package/dist/calcite/{p-5a7d55d2.entry.js → p-a9d53c4a.entry.js} +2 -2
- package/dist/calcite/p-aaaf10f0.system.entry.js +6 -0
- package/dist/calcite/{p-b9bb8ebd.system.js → p-ae6acb6b.system.js} +2 -2
- package/dist/calcite/{p-03ec4fdc.system.entry.js → p-af131e8f.system.entry.js} +2 -2
- package/dist/calcite/{p-57479f6c.js → p-af3f93c3.js} +1 -1
- package/dist/calcite/p-b1cac6ac.system.entry.js +6 -0
- package/dist/calcite/p-b318eb10.entry.js +6 -0
- package/dist/calcite/p-b352b87b.entry.js +6 -0
- package/dist/calcite/{p-c1fa9cc8.js → p-b590359e.js} +2 -2
- package/dist/calcite/{p-19c2f634.system.js → p-b602422c.system.js} +1 -1
- package/dist/calcite/p-b7e4822f.system.entry.js +6 -0
- package/dist/calcite/p-b80f2b72.entry.js +6 -0
- package/dist/calcite/p-b81de7d1.system.entry.js +6 -0
- package/dist/calcite/{p-21632661.js → p-b85d465f.js} +1 -1
- package/dist/calcite/p-b8876de8.entry.js +6 -0
- package/dist/calcite/p-b98a0d0d.entry.js +6 -0
- package/dist/calcite/p-b9cd387a.system.js +6 -0
- package/dist/calcite/p-ba9143cb.entry.js +6 -0
- package/dist/calcite/p-bf072e3e.entry.js +6 -0
- package/dist/calcite/{p-85554d49.system.entry.js → p-bf86c713.system.entry.js} +2 -2
- package/dist/calcite/{p-e2515012.system.entry.js → p-c01a73d7.system.entry.js} +2 -2
- package/dist/calcite/{p-4a1c8d49.system.js → p-c07cba80.system.js} +1 -1
- package/dist/calcite/{p-82d6141a.system.js → p-c090491e.system.js} +3 -3
- package/dist/calcite/p-c7a1d105.entry.js +6 -0
- package/dist/calcite/p-c9180bef.system.entry.js +6 -0
- package/dist/calcite/{p-9efbf067.entry.js → p-ce84c5ce.entry.js} +2 -2
- package/dist/calcite/{p-25133c26.system.js → p-d3496216.system.js} +2 -2
- package/dist/calcite/p-d3e5e2ac.system.entry.js +6 -0
- package/dist/calcite/p-d5e28888.system.entry.js +6 -0
- package/dist/calcite/p-d6582e2b.js +6 -0
- package/dist/calcite/{p-29b5e936.system.js → p-d9767f5b.system.js} +2 -2
- package/dist/calcite/p-dd26e1a0.entry.js +6 -0
- package/dist/calcite/{p-6870deed.entry.js → p-e20da2fa.entry.js} +2 -2
- package/dist/calcite/p-e5416726.system.entry.js +6 -0
- package/dist/calcite/{p-35502d0b.entry.js → p-e6d1af49.entry.js} +2 -2
- package/dist/calcite/p-eb2b79d4.system.entry.js +6 -0
- package/dist/calcite/p-ecd9fb1a.system.entry.js +6 -0
- package/dist/calcite/p-ee28950a.entry.js +6 -0
- package/dist/calcite/p-ef566fe8.system.entry.js +6 -0
- package/dist/calcite/{p-a2e46a80.system.js → p-f151e536.system.js} +1 -1
- package/dist/calcite/p-f2305e0a.system.entry.js +6 -0
- package/dist/calcite/{p-0c2e3108.js → p-f2d20a87.js} +2 -2
- package/dist/calcite/p-f5f344b4.entry.js +6 -0
- package/dist/calcite/{p-23e60c37.system.js → p-f5ffbb61.system.js} +2 -2
- package/dist/calcite/{p-939c385e.entry.js → p-f7408139.entry.js} +2 -2
- package/dist/calcite/p-f7ce0989.entry.js +6 -0
- package/dist/calcite/{p-cb8d104a.js → p-f9fc4ac3.js} +1 -1
- package/dist/calcite/p-fa4e05f6.system.entry.js +6 -0
- package/dist/calcite/p-fb579ef6.system.entry.js +6 -0
- package/dist/calcite/{p-94765679.system.js → p-fc884dc4.system.js} +1 -1
- package/dist/calcite/{p-b4e139fe.js → p-fd888df3.js} +1 -1
- package/dist/cjs/{ExpandToggle-6ae0950b.js → ExpandToggle-75894d07.js} +5 -5
- package/dist/cjs/{Heading-e857efa5.js → Heading-c6b9cf61.js} +2 -2
- package/dist/cjs/{app-globals-19aed09c.js → app-globals-ede7531b.js} +3 -3
- package/dist/cjs/{array-e8d3902b.js → array-aea887f6.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action.cjs.entry.js +8 -8
- package/dist/cjs/calcite-alert.cjs.entry.js +8 -8
- package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-card.cjs.entry.js +8 -8
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +13 -14
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +36 -23
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +23 -23
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +63 -31
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +10 -9
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +25 -25
- package/dist/cjs/calcite-handle.cjs.entry.js +8 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +24 -21
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -17
- package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-number.cjs.entry.js +27 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +24 -11
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +34 -17
- package/dist/cjs/calcite-input.cjs.entry.js +33 -14
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-modal.cjs.entry.js +11 -10
- package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
- package/dist/cjs/calcite-panel.cjs.entry.js +13 -12
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-popover_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -10
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
- package/dist/cjs/calcite-scrim.cjs.entry.js +5 -6
- package/dist/cjs/calcite-shell_3.cjs.entry.js +21 -21
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +12 -13
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +69 -38
- package/dist/cjs/calcite-switch.cjs.entry.js +16 -17
- package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -12
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +22 -17
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -14
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-d648ba7c.js → conditionalSlot-6a04d02f.js} +3 -3
- package/dist/cjs/{debounce-2bc47bea.js → debounce-9f0ddb81.js} +1 -1
- package/dist/cjs/{dom-49495bbc.js → dom-e9f09e29.js} +3 -3
- package/dist/cjs/{filter-2d8f8a74.js → filter-b45eeaf9.js} +2 -2
- package/dist/cjs/{floating-ui-84200b42.js → floating-ui-8f4ad866.js} +2 -2
- package/dist/cjs/{form-db085655.js → form-40bae29c.js} +20 -6
- package/dist/cjs/{guid-cd0069ab.js → guid-08ecb207.js} +1 -1
- package/dist/cjs/{index-67d2d0a2.js → index-d1f4f7de.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-a0570d10.js → interactive-7fa78804.js} +1 -1
- package/dist/cjs/{interfaces-b89b43c0.js → interfaces-87a833aa.js} +1 -1
- package/dist/cjs/{key-1a866191.js → key-1902890d.js} +1 -1
- package/dist/cjs/{label-1afd9205.js → label-387b4157.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-8f5384e9.js → locale-eb7612fa.js} +2 -2
- package/dist/cjs/{math-b3864fb0.js → math-f748d678.js} +1 -1
- package/dist/cjs/{observers-6189af7e.js → observers-4f40445c.js} +1 -1
- package/dist/cjs/{openCloseComponent-724719be.js → openCloseComponent-78a7e2a9.js} +1 -1
- package/dist/cjs/{resources-b34cfae7.js → resources-42b4d672.js} +1 -1
- package/dist/cjs/{resources-3d1862b2.js → resources-549d99a7.js} +1 -1
- package/dist/cjs/{resources-e2944684.js → resources-90d0bc03.js} +5 -5
- package/dist/cjs/{resources-10bab689.js → resources-95ef3f0a.js} +3 -3
- package/dist/cjs/{resources-98da4ef3.js → resources-a7220671.js} +1 -1
- package/dist/cjs/{sortable.esm-2edfb432.js → sortable.esm-027d0bf8.js} +1 -1
- package/dist/cjs/{utils-7583fe05.js → utils-87048187.js} +1 -1
- package/dist/collection/components/accordion/accordion.css +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +1 -1
- 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 +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- 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 +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +1 -1
- package/dist/collection/components/action-menu/action-menu.js +2 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +1 -1
- 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 +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -2
- package/dist/collection/components/color-picker/interfaces.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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/combobox/combobox.js +20 -7
- package/dist/collection/components/combobox/interfaces.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.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 +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +3 -3
- package/dist/collection/components/date-picker-month/date-picker-month.css +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +5 -2
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +4 -7
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +1 -1
- package/dist/collection/components/dropdown/dropdown.js +24 -13
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +7 -7
- package/dist/collection/components/dropdown-item/dropdown-item.js +55 -10
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +1 -1
- 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 +1 -1
- package/dist/collection/components/filter/filter.js +2 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.css +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +1 -1
- package/dist/collection/components/handle/handle.js +3 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/changeDetection16.json +1 -1
- package/dist/collection/components/icon/assets/icon/changeDetection24.json +1 -1
- package/dist/collection/components/icon/assets/icon/changeDetection32.json +1 -1
- package/dist/collection/components/icon/assets/icon/chartMagnifyingGlass16.json +1 -0
- package/dist/collection/components/icon/assets/icon/chartMagnifyingGlass24.json +1 -0
- package/dist/collection/components/icon/assets/icon/chartMagnifyingGlass32.json +1 -0
- package/dist/collection/components/icon/assets/icon/collaboration16.json +1 -0
- package/dist/collection/components/icon/assets/icon/collaboration24.json +1 -0
- package/dist/collection/components/icon/assets/icon/collaboration32.json +1 -0
- package/dist/collection/components/icon/assets/icon/collaborationDistributed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/collaborationDistributed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/collaborationDistributed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/flip16.json +1 -0
- package/dist/collection/components/icon/assets/icon/flip24.json +1 -0
- package/dist/collection/components/icon/assets/icon/flip32.json +1 -0
- package/dist/collection/components/icon/assets/icon/security16.json +1 -1
- package/dist/collection/components/icon/assets/icon/security24.json +1 -1
- package/dist/collection/components/icon/assets/icon/security32.json +1 -1
- package/dist/collection/components/icon/assets/icon/sheildCoin16.json +1 -0
- package/dist/collection/components/icon/assets/icon/sheildCoin24.json +1 -0
- package/dist/collection/components/icon/assets/icon/sheildCoin32.json +1 -0
- package/dist/collection/components/icon/assets/icon/shieldCoin16.json +1 -0
- package/dist/collection/components/icon/assets/icon/shieldCoin24.json +1 -0
- package/dist/collection/components/icon/assets/icon/shieldCoin32.json +1 -0
- package/dist/collection/components/icon/assets/icon/unpin16.json +1 -0
- package/dist/collection/components/icon/assets/icon/unpin24.json +1 -0
- package/dist/collection/components/icon/assets/icon/unpin32.json +1 -0
- package/dist/collection/components/icon/icon.css +1 -1
- 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 +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +16 -13
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +1 -1
- package/dist/collection/components/input/input.js +21 -2
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +8 -4
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +1 -1
- 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 +1 -1
- package/dist/collection/components/input-number/input-number.js +15 -2
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +1 -1
- package/dist/collection/components/input-text/input-text.js +15 -2
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +11 -7
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.css +1 -1
- 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 +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +1 -1
- 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-group/list-item-group.css +1 -1
- 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 +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +1 -1
- package/dist/collection/components/modal/modal.js +3 -2
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +1 -1
- 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 +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +1 -1
- 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 +1 -1
- package/dist/collection/components/panel/panel.js +3 -2
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- package/dist/collection/components/popover/popover.css +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.css +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.css +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +1 -1
- package/dist/collection/components/radio-button/radio-button.js +2 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +3 -3
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.css +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.css +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.css +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +1 -1
- package/dist/collection/components/scrim/scrim.js +5 -6
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +3 -3
- package/dist/collection/components/select/select.js +15 -15
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +2 -2
- package/dist/collection/components/shell/shell.js +7 -7
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +9 -9
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +17 -17
- package/dist/collection/components/slider/slider.css +1 -1
- package/dist/collection/components/slider/slider.js +38 -38
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +1 -1
- 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 +1 -1
- package/dist/collection/components/split-button/split-button.js +25 -26
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.css +1 -1
- package/dist/collection/components/stepper/stepper.js +21 -21
- package/dist/collection/components/stepper-item/stepper-item.css +35 -35
- package/dist/collection/components/stepper-item/stepper-item.js +86 -32
- package/dist/collection/components/switch/switch.css +1 -1
- package/dist/collection/components/switch/switch.js +16 -17
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.css +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -2
- package/dist/collection/components/tab-title/tab-title.css +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
- 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 +1 -1
- package/dist/collection/components/time-picker/time-picker.js +13 -2
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.css +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +2 -1
- package/dist/collection/components/tree/tree.css +1 -1
- package/dist/collection/components/tree/tree.js +10 -7
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +3 -2
- package/dist/collection/components/tree-item/tree-item.css +6 -2
- package/dist/collection/components/tree-item/tree-item.js +5 -5
- package/dist/collection/components/value-list/interfaces.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 +1 -1
- package/dist/collection/components/value-list/value-list.js +4 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.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/form.js +18 -4
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +2 -2
- 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/locale.js +1 -1
- package/dist/collection/utils/math.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/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/Heading.js +2 -2
- package/dist/components/action-group.js +3 -3
- package/dist/components/action-menu.js +4 -3
- package/dist/components/action.js +3 -3
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +3 -3
- package/dist/components/calcite-accordion-item.js +3 -3
- package/dist/components/calcite-accordion.js +3 -3
- 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 +3 -3
- package/dist/components/calcite-avatar.js +3 -3
- package/dist/components/calcite-block-section.js +3 -3
- package/dist/components/calcite-block.js +3 -3
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +3 -3
- package/dist/components/calcite-checkbox.js +1 -1
- 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 +3 -4
- package/dist/components/calcite-combobox-item-group.js +3 -3
- package/dist/components/calcite-combobox-item.js +3 -3
- package/dist/components/calcite-combobox.js +22 -9
- 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 +3 -3
- package/dist/components/calcite-dropdown-item.js +32 -10
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +3 -3
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +3 -3
- 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 +18 -15
- package/dist/components/calcite-input-date-picker.js +10 -6
- package/dist/components/calcite-input-message.js +3 -3
- package/dist/components/calcite-input-number.js +17 -4
- package/dist/components/calcite-input-text.js +17 -4
- package/dist/components/calcite-input-time-picker.js +13 -7
- 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 +3 -3
- package/dist/components/calcite-list-item.js +3 -3
- package/dist/components/calcite-list.js +3 -3
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +5 -4
- package/dist/components/calcite-notice.js +3 -3
- package/dist/components/calcite-option-group.js +3 -3
- package/dist/components/calcite-option.js +3 -3
- package/dist/components/calcite-pagination.js +3 -3
- package/dist/components/calcite-panel.js +5 -4
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +3 -3
- package/dist/components/calcite-popover-manager.js +3 -3
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +3 -3
- package/dist/components/calcite-radio-button.js +4 -3
- package/dist/components/calcite-radio-group-item.js +3 -3
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +3 -3
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +8 -8
- package/dist/components/calcite-shell-center-row.js +6 -6
- package/dist/components/calcite-shell-panel.js +9 -9
- package/dist/components/calcite-shell.js +4 -4
- package/dist/components/calcite-slider.js +15 -15
- package/dist/components/calcite-sortable-list.js +3 -3
- package/dist/components/calcite-split-button.js +11 -12
- package/dist/components/calcite-stepper-item.js +56 -24
- package/dist/components/calcite-stepper.js +12 -12
- 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-tile-select-group.js +3 -3
- package/dist/components/calcite-tile-select.js +3 -3
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +3 -3
- package/dist/components/calcite-tip-manager.js +3 -3
- package/dist/components/calcite-tip.js +3 -3
- package/dist/components/calcite-tooltip-manager.js +3 -3
- package/dist/components/calcite-tooltip.js +3 -3
- package/dist/components/calcite-tree-item.js +8 -7
- package/dist/components/calcite-tree.js +11 -8
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +6 -3
- package/dist/components/checkbox.js +3 -3
- package/dist/components/chip.js +3 -3
- package/dist/components/color-picker-hex-input.js +3 -3
- package/dist/components/color-picker-swatch.js +3 -3
- package/dist/components/conditionalSlot.js +2 -2
- package/dist/components/date-picker-day.js +5 -5
- package/dist/components/date-picker-month-header.js +6 -9
- package/dist/components/date-picker-month.js +7 -4
- package/dist/components/date-picker.js +3 -3
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +26 -15
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +4 -3
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/form.js +19 -5
- package/dist/components/graph.js +3 -3
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +5 -3
- package/dist/components/icon.js +3 -3
- package/dist/components/index.js +3 -3
- package/dist/components/input.js +23 -4
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +2 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +3 -3
- package/dist/components/link.js +3 -3
- package/dist/components/loader.js +3 -3
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +2 -2
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pick-list-item.js +3 -3
- package/dist/components/popover.js +4 -4
- package/dist/components/progress.js +3 -3
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/scrim.js +5 -6
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +9 -10
- package/dist/components/tab-nav.js +3 -4
- package/dist/components/tab-title.js +3 -3
- package/dist/components/tab.js +3 -3
- package/dist/components/tabs.js +3 -3
- package/dist/components/tile.js +3 -3
- package/dist/components/time-picker.js +15 -4
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/custom-elements/index.js +414 -246
- package/dist/esm/{ExpandToggle-0b0a550d.js → ExpandToggle-dc3e3d23.js} +5 -5
- package/dist/esm/{Heading-53f20654.js → Heading-5c05676e.js} +2 -2
- package/dist/esm/{app-globals-0eb51a63.js → app-globals-f3d4272a.js} +3 -3
- package/dist/esm/{array-bfb963a8.js → array-d40ffe9a.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +9 -9
- package/dist/esm/calcite-action-bar.entry.js +12 -12
- package/dist/esm/calcite-action-group.entry.js +10 -10
- package/dist/esm/calcite-action-menu.entry.js +10 -9
- package/dist/esm/calcite-action-pad.entry.js +11 -11
- package/dist/esm/calcite-action.entry.js +8 -8
- package/dist/esm/calcite-alert.entry.js +8 -8
- package/dist/esm/calcite-avatar.entry.js +7 -7
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card.entry.js +8 -8
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +8 -8
- package/dist/esm/calcite-color-picker_3.entry.js +13 -14
- package/dist/esm/calcite-combobox_3.entry.js +36 -23
- package/dist/esm/calcite-date-picker_4.entry.js +23 -23
- package/dist/esm/calcite-dropdown_3.entry.js +63 -31
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +10 -9
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +25 -25
- package/dist/esm/calcite-handle.entry.js +8 -6
- package/dist/esm/calcite-icon.entry.js +7 -7
- package/dist/esm/calcite-inline-editable.entry.js +24 -21
- package/dist/esm/calcite-input-date-picker.entry.js +21 -17
- package/dist/esm/calcite-input-message.entry.js +6 -6
- package/dist/esm/calcite-input-number.entry.js +27 -14
- package/dist/esm/calcite-input-text.entry.js +24 -11
- package/dist/esm/calcite-input-time-picker_2.entry.js +34 -17
- package/dist/esm/calcite-input.entry.js +33 -14
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +12 -12
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-modal.entry.js +11 -10
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option_3.entry.js +17 -17
- package/dist/esm/calcite-pagination.entry.js +6 -6
- package/dist/esm/calcite-panel.entry.js +13 -12
- package/dist/esm/calcite-pick-list_3.entry.js +15 -15
- package/dist/esm/calcite-popover_2.entry.js +13 -13
- package/dist/esm/calcite-progress.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +11 -10
- package/dist/esm/calcite-radio-group_2.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +10 -10
- package/dist/esm/calcite-scrim.entry.js +5 -6
- package/dist/esm/calcite-shell_3.entry.js +21 -21
- package/dist/esm/calcite-sortable-list.entry.js +6 -6
- package/dist/esm/calcite-split-button.entry.js +12 -13
- package/dist/esm/calcite-stepper_2.entry.js +69 -38
- package/dist/esm/calcite-switch.entry.js +16 -17
- package/dist/esm/calcite-tab_4.entry.js +11 -12
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip_2.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +22 -17
- package/dist/esm/calcite-value-list_2.entry.js +17 -14
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-3c2e3da6.js → conditionalSlot-ecb2fb5b.js} +3 -3
- package/dist/esm/{debounce-6c1fb2e1.js → debounce-606ac892.js} +1 -1
- package/dist/esm/{dom-b00b63fe.js → dom-ad5fd630.js} +3 -3
- package/dist/esm/{filter-1b9ea22a.js → filter-a04e9337.js} +2 -2
- package/dist/esm/{floating-ui-4af4d0ec.js → floating-ui-1570beec.js} +2 -2
- package/dist/esm/{form-b162c519.js → form-15b335c2.js} +20 -6
- package/dist/esm/{guid-4eb9b69b.js → guid-44185ff2.js} +1 -1
- package/dist/esm/{index-2980b14c.js → index-5fd0c41c.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-6c201311.js → interactive-5e7f35f4.js} +1 -1
- package/dist/esm/{interfaces-a1af0701.js → interfaces-06face10.js} +1 -1
- package/dist/esm/{key-f8db6ac0.js → key-c11cbfbd.js} +1 -1
- package/dist/esm/{label-7607bbd1.js → label-63e40550.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-9f7b3bc6.js → locale-89a5125e.js} +2 -2
- package/dist/esm/{math-4da02f6f.js → math-4dcd0dab.js} +1 -1
- package/dist/esm/{observers-dc6401d4.js → observers-04124e99.js} +1 -1
- package/dist/esm/{openCloseComponent-36a012f7.js → openCloseComponent-3ae9fbac.js} +1 -1
- package/dist/esm/{resources-d3714ef2.js → resources-1db69fa1.js} +1 -1
- package/dist/esm/{resources-7b1070b6.js → resources-3f78fbe2.js} +3 -3
- package/dist/esm/{resources-d7d605e6.js → resources-45d4ddd3.js} +1 -1
- package/dist/esm/{resources-1d846ef4.js → resources-5cfb576c.js} +5 -5
- package/dist/esm/{resources-3c798fda.js → resources-a691bf05.js} +1 -1
- package/dist/esm/{sortable.esm-28f07dcf.js → sortable.esm-ba484a10.js} +1 -1
- package/dist/esm/{utils-62a98b74.js → utils-46049675.js} +1 -1
- package/dist/esm-es5/ExpandToggle-dc3e3d23.js +6 -0
- package/dist/esm-es5/{Heading-53f20654.js → Heading-5c05676e.js} +2 -2
- package/dist/esm-es5/app-globals-f3d4272a.js +6 -0
- package/dist/esm-es5/{array-bfb963a8.js → array-d40ffe9a.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +3 -3
- package/dist/esm-es5/calcite-input-text.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +3 -3
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-3c2e3da6.js → conditionalSlot-ecb2fb5b.js} +2 -2
- package/dist/esm-es5/{debounce-6c1fb2e1.js → debounce-606ac892.js} +1 -1
- package/dist/esm-es5/{dom-b00b63fe.js → dom-ad5fd630.js} +2 -2
- package/dist/esm-es5/{filter-1b9ea22a.js → filter-a04e9337.js} +2 -2
- package/dist/esm-es5/{floating-ui-4af4d0ec.js → floating-ui-1570beec.js} +2 -2
- package/dist/esm-es5/form-15b335c2.js +6 -0
- package/dist/esm-es5/{guid-4eb9b69b.js → guid-44185ff2.js} +1 -1
- package/dist/esm-es5/{index-2980b14c.js → index-5fd0c41c.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-6c201311.js → interactive-5e7f35f4.js} +1 -1
- package/dist/esm-es5/{interfaces-a1af0701.js → interfaces-06face10.js} +1 -1
- package/dist/esm-es5/{key-f8db6ac0.js → key-c11cbfbd.js} +1 -1
- package/dist/esm-es5/{label-7607bbd1.js → label-63e40550.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-9f7b3bc6.js → locale-89a5125e.js} +2 -2
- package/dist/esm-es5/{math-4da02f6f.js → math-4dcd0dab.js} +1 -1
- package/dist/esm-es5/{observers-dc6401d4.js → observers-04124e99.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-36a012f7.js → openCloseComponent-3ae9fbac.js} +1 -1
- package/dist/esm-es5/{resources-d3714ef2.js → resources-1db69fa1.js} +1 -1
- package/dist/esm-es5/{resources-7b1070b6.js → resources-3f78fbe2.js} +2 -2
- package/dist/esm-es5/{resources-d7d605e6.js → resources-45d4ddd3.js} +1 -1
- package/dist/esm-es5/{resources-1d846ef4.js → resources-5cfb576c.js} +2 -2
- package/dist/esm-es5/{resources-3c798fda.js → resources-a691bf05.js} +1 -1
- package/dist/esm-es5/{sortable.esm-28f07dcf.js → sortable.esm-ba484a10.js} +1 -1
- package/dist/esm-es5/{utils-62a98b74.js → utils-46049675.js} +1 -1
- package/dist/extras/docs-json.json +167 -118
- 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/dropdown-item/dropdown-item.d.ts +9 -1
- package/dist/types/components/input/input.d.ts +2 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +1 -1
- package/dist/types/components/input-number/input-number.d.ts +2 -1
- package/dist/types/components/input-text/input-text.d.ts +2 -1
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +1 -1
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +1 -1
- package/dist/types/components/scrim/scrim.d.ts +2 -3
- package/dist/types/components/select/select.d.ts +9 -9
- package/dist/types/components/shell/shell.d.ts +5 -5
- package/dist/types/components/shell-center-row/shell-center-row.d.ts +5 -5
- package/dist/types/components/shell-panel/shell-panel.d.ts +10 -10
- package/dist/types/components/slider/slider.d.ts +32 -29
- package/dist/types/components/split-button/split-button.d.ts +18 -19
- package/dist/types/components/stepper/stepper.d.ts +11 -11
- package/dist/types/components/stepper-item/stepper-item.d.ts +27 -16
- package/dist/types/components/switch/switch.d.ts +9 -9
- package/dist/types/components/tree/interfaces.d.ts +1 -0
- package/dist/types/components/tree-item/resources.d.ts +1 -0
- package/dist/types/components.d.ts +186 -166
- package/dist/types/utils/form.d.ts +2 -1
- package/hydrate/index.js +425 -255
- package/package.json +10 -9
- package/readme.md +2 -2
- package/dist/calcite/p-0214df92.system.entry.js +0 -6
- package/dist/calcite/p-0242e56a.entry.js +0 -6
- package/dist/calcite/p-02eea8e8.entry.js +0 -6
- package/dist/calcite/p-05282d96.entry.js +0 -6
- package/dist/calcite/p-08ae1bba.entry.js +0 -6
- package/dist/calcite/p-093b8180.entry.js +0 -6
- package/dist/calcite/p-0bf91224.system.entry.js +0 -6
- package/dist/calcite/p-0c545eab.system.entry.js +0 -6
- package/dist/calcite/p-0e2b3ba0.system.entry.js +0 -6
- package/dist/calcite/p-1486a22e.system.entry.js +0 -6
- package/dist/calcite/p-16619b68.js +0 -6
- package/dist/calcite/p-1b54481c.entry.js +0 -6
- package/dist/calcite/p-1cf78741.system.entry.js +0 -6
- package/dist/calcite/p-212092fa.entry.js +0 -6
- package/dist/calcite/p-21c39562.system.entry.js +0 -6
- package/dist/calcite/p-233d5760.entry.js +0 -6
- package/dist/calcite/p-29823f6a.system.entry.js +0 -6
- package/dist/calcite/p-2b6410d0.js +0 -6
- package/dist/calcite/p-2d556abb.system.entry.js +0 -6
- package/dist/calcite/p-336043a1.system.entry.js +0 -6
- package/dist/calcite/p-35089404.system.entry.js +0 -6
- package/dist/calcite/p-39ee1af5.js +0 -6
- package/dist/calcite/p-4b1b97e7.entry.js +0 -6
- package/dist/calcite/p-55b95ba4.system.entry.js +0 -6
- package/dist/calcite/p-5844bc8a.entry.js +0 -6
- package/dist/calcite/p-5a912061.system.entry.js +0 -6
- package/dist/calcite/p-62f91e27.entry.js +0 -6
- package/dist/calcite/p-63d75714.entry.js +0 -6
- package/dist/calcite/p-63ea489c.system.entry.js +0 -6
- package/dist/calcite/p-63f4d615.entry.js +0 -6
- package/dist/calcite/p-667e9955.entry.js +0 -6
- package/dist/calcite/p-68dbaea4.entry.js +0 -6
- package/dist/calcite/p-6a1e2062.system.entry.js +0 -6
- package/dist/calcite/p-6c4ad87d.entry.js +0 -6
- package/dist/calcite/p-6d51e117.system.entry.js +0 -6
- package/dist/calcite/p-71ff8569.entry.js +0 -6
- package/dist/calcite/p-753dde2f.entry.js +0 -6
- package/dist/calcite/p-7eecec41.system.entry.js +0 -6
- package/dist/calcite/p-7f71caec.entry.js +0 -6
- package/dist/calcite/p-825ca4fa.system.entry.js +0 -6
- package/dist/calcite/p-844d8c0a.entry.js +0 -6
- package/dist/calcite/p-85500e4f.system.entry.js +0 -6
- package/dist/calcite/p-85d5be2b.entry.js +0 -6
- package/dist/calcite/p-8b31fe23.system.entry.js +0 -6
- package/dist/calcite/p-8bcafc96.entry.js +0 -6
- package/dist/calcite/p-8f407d84.entry.js +0 -6
- package/dist/calcite/p-8f72f530.system.entry.js +0 -6
- package/dist/calcite/p-8fdb7f97.entry.js +0 -6
- package/dist/calcite/p-907836fa.entry.js +0 -6
- package/dist/calcite/p-93640639.system.entry.js +0 -6
- package/dist/calcite/p-9406e3b5.system.entry.js +0 -6
- package/dist/calcite/p-95580555.system.entry.js +0 -6
- package/dist/calcite/p-979aee7e.system.entry.js +0 -6
- package/dist/calcite/p-99f6128c.entry.js +0 -6
- package/dist/calcite/p-9b116c59.entry.js +0 -6
- package/dist/calcite/p-9c07b0c0.entry.js +0 -6
- package/dist/calcite/p-9dd62973.system.entry.js +0 -6
- package/dist/calcite/p-9f226088.system.entry.js +0 -6
- package/dist/calcite/p-a0bb13ee.system.entry.js +0 -6
- package/dist/calcite/p-a1efd872.system.entry.js +0 -6
- package/dist/calcite/p-a276c702.system.entry.js +0 -6
- package/dist/calcite/p-a467545a.entry.js +0 -6
- package/dist/calcite/p-a75a3ac9.system.js +0 -6
- package/dist/calcite/p-a7f3ac6a.entry.js +0 -6
- package/dist/calcite/p-aa39ce70.entry.js +0 -6
- package/dist/calcite/p-ac070b26.system.entry.js +0 -6
- package/dist/calcite/p-ac517465.system.entry.js +0 -6
- package/dist/calcite/p-b25d9fc8.entry.js +0 -6
- package/dist/calcite/p-b512ea80.system.entry.js +0 -6
- package/dist/calcite/p-b863cb3d.system.entry.js +0 -6
- package/dist/calcite/p-bb90fb2e.system.entry.js +0 -6
- package/dist/calcite/p-bb939247.system.entry.js +0 -6
- package/dist/calcite/p-bf6d2fae.system.entry.js +0 -6
- package/dist/calcite/p-c3c0f25c.system.entry.js +0 -6
- package/dist/calcite/p-c3ee55e7.system.entry.js +0 -6
- package/dist/calcite/p-c50f4ad9.system.entry.js +0 -6
- package/dist/calcite/p-c573bfe4.js +0 -6
- package/dist/calcite/p-c7c7b8b7.system.entry.js +0 -6
- package/dist/calcite/p-c868004f.system.entry.js +0 -6
- package/dist/calcite/p-cc84f8f7.entry.js +0 -6
- package/dist/calcite/p-cf54ca51.entry.js +0 -6
- package/dist/calcite/p-d2de5df6.system.entry.js +0 -6
- package/dist/calcite/p-d691fdb9.entry.js +0 -6
- package/dist/calcite/p-dae6da1a.system.entry.js +0 -6
- package/dist/calcite/p-e32ec068.system.js +0 -6
- package/dist/calcite/p-e486c551.system.entry.js +0 -6
- package/dist/calcite/p-e5b91c54.entry.js +0 -6
- package/dist/calcite/p-e86fd005.entry.js +0 -6
- package/dist/calcite/p-e9cb190e.entry.js +0 -6
- package/dist/calcite/p-ee38ed28.system.entry.js +0 -6
- package/dist/calcite/p-ee654d44.entry.js +0 -6
- package/dist/calcite/p-f2fc0881.system.js +0 -6
- package/dist/calcite/p-f343928c.system.entry.js +0 -6
- package/dist/calcite/p-f3d82c23.entry.js +0 -6
- package/dist/calcite/p-f417a37e.system.entry.js +0 -6
- package/dist/calcite/p-f450b40d.system.entry.js +0 -6
- package/dist/collection/demos/_assets/demo-form.js +0 -22
- package/dist/collection/demos/_assets/demo-spacer.js +0 -17
- package/dist/collection/demos/_assets/demo-template.js +0 -24
- package/dist/collection/demos/_assets/head.js +0 -48
- package/dist/collection/demos/_assets/locales.js +0 -223
- package/dist/collection/utils/popper.js +0 -121
- package/dist/esm-es5/ExpandToggle-0b0a550d.js +0 -6
- package/dist/esm-es5/app-globals-0eb51a63.js +0 -6
- package/dist/esm-es5/form-b162c519.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.92
|
|
5
5
|
*/
|
|
6
|
-
import{a as t}from"./p-02c2ce31.js";function n(t){return t.split("-")[0]}function e(t){return t.split("-")[1]}function o(t){return["top","bottom"].includes(n(t))?"x":"y"}function r(t){return"y"===t?"height":"width"}function i(t,i,a){let{reference:l,floating:s}=t;const c=l.x+l.width/2-s.width/2,f=l.y+l.height/2-s.height/2,u=o(i),d=r(u),m=l[d]/2-s[d]/2,p="x"===u;let y;switch(n(i)){case"top":y={x:c,y:l.y-s.height};break;case"bottom":y={x:c,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:f};break;case"left":y={x:l.x-s.width,y:f};break;default:y={x:l.x,y:l.y}}switch(e(i)){case"start":y[u]-=m*(a&&p?-1:1);break;case"end":y[u]+=m*(a&&p?-1:1)}return y}function a(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function l(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function s(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:p=!1,padding:y=0}=n,g=a(y),v=c[p?"floating"===m?"reference":"floating":m],x=l(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(v)))||e?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:d,strategy:f})),h=l(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===m?{...s.floating,x:o,y:r}:s.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),strategy:f}):s[m]);return{top:x.top-h.top+g.top,bottom:h.bottom-x.bottom+g.bottom,left:x.left-h.left+g.left,right:h.right-x.right+g.right}}const c=Math.min,f=Math.max;function u(t,n,e){return f(t,c(n,e))}const d={left:"right",right:"left",bottom:"top",top:"bottom"};function m(t){return t.replace(/left|right|bottom|top/g,(t=>d[t]))}function p(t,n,i){void 0===i&&(i=!1);const a=e(t),l=o(t),s=r(l);let c="x"===l?a===(i?"end":"start")?"right":"left":"start"===a?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=m(c)),{main:c,cross:m(c)}}const y={start:"end",end:"start"};function g(t){return t.replace(/start|end/g,(t=>y[t]))}const v=["top","right","bottom","left"],x=v.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),h=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o;const{placement:r,middlewareData:i,rects:a,initialPlacement:l,platform:c,elements:f}=e,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:y,fallbackStrategy:v="bestFit",flipAlignment:x=!0,...h}=t,w=n(r),b=[l,...y||(w!==l&&x?function(t){const n=m(t);return[g(t),n,g(n)]}(l):[m(l)])],A=await s(e,h),P=[];let k=(null==(o=i.flip)?void 0:o.overflows)||[];if(u&&P.push(A[w]),d){const{main:t,cross:n}=p(r,a,await(null==c.isRTL?void 0:c.isRTL(f.floating)));P.push(A[t],A[n])}if(k=[...k,{placement:r,overflows:P}],!P.every((t=>t<=0))){var R,D;const t=(null!=(R=null==(D=i.flip)?void 0:D.index)?R:0)+1,n=b[t];if(n)return{data:{index:t,overflows:k},reset:{placement:n}};let e="bottom";switch(v){case"bestFit":{var M;const t=null==(M=k.map((t=>[t,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:M[0].placement;t&&(e=t);break}case"initialPlacement":e=l}if(r!==e)return{reset:{placement:e}}}return{}}}};function w(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function b(t){return v.some((n=>t[n]>=0))}const A=function(t){let{strategy:n="referenceHidden",...e}=void 0===t?{}:t;return{name:"hide",async fn(t){const{rects:o}=t;switch(n){case"referenceHidden":{const n=w(await s(t,{...e,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:b(n)}}}case"escaped":{const n=w(await s(t,{...e,altBoundary:!0}),o.floating);return{data:{escapedOffsets:n,escaped:b(n)}}}default:return{}}}}};function P(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function k(t){if(null==t)return window;if(!P(t)){const n=t.ownerDocument;return n&&n.defaultView||window}return t}function R(t){return k(t).getComputedStyle(t)}function D(t){return P(t)?"":t?(t.nodeName||"").toLowerCase():""}function M(){const t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map((t=>t.brand+"/"+t.version)).join(" "):navigator.userAgent}function E(t){return t instanceof k(t).HTMLElement}function F(t){return t instanceof k(t).Element}function O(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}function S(t){const{overflow:n,overflowX:e,overflowY:o}=R(t);return/auto|scroll|overlay|hidden/.test(n+o+e)}function T(t){return["table","td","th"].includes(D(t))}function $(t){const n=/firefox/i.test(M()),e=R(t);return"none"!==e.transform||"none"!==e.perspective||"paint"===e.contain||["transform","perspective"].includes(e.willChange)||n&&"filter"===e.willChange||n&&!!e.filter&&"none"!==e.filter}function z(){return!/^((?!chrome|android).)*safari/i.test(M())}const B=Math.min,L=Math.max,j=Math.round;function C(t,n,e){var o,r,i,a;void 0===n&&(n=!1),void 0===e&&(e=!1);const l=t.getBoundingClientRect();let s=1,c=1;n&&E(t)&&(s=t.offsetWidth>0&&j(l.width)/t.offsetWidth||1,c=t.offsetHeight>0&&j(l.height)/t.offsetHeight||1);const f=F(t)?k(t):window,u=!z()&&e,d=(l.left+(u&&null!=(o=null==(r=f.visualViewport)?void 0:r.offsetLeft)?o:0))/s,m=(l.top+(u&&null!=(i=null==(a=f.visualViewport)?void 0:a.offsetTop)?i:0))/c,p=l.width/s,y=l.height/c;return{width:p,height:y,top:m,right:d+p,bottom:m+y,left:d,x:d,y:m}}function H(t){return(n=t,(n instanceof k(n).Node?t.ownerDocument:t.document)||window.document).documentElement;var n}function q(t){return F(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function I(t){return C(H(t)).left+q(t).scrollLeft}function V(t,n,e){const o=E(n),r=H(n),i=C(t,o&&function(t){const n=C(t);return j(n.width)!==t.offsetWidth||j(n.height)!==t.offsetHeight}(n),"fixed"===e);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==D(n)||S(r))&&(a=q(n)),E(n)){const t=C(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=I(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function W(t){return"html"===D(t)?t:t.assignedSlot||t.parentNode||(O(t)?t.host:null)||H(t)}function X(t){return E(t)&&"fixed"!==R(t).position?function(t){let{offsetParent:n}=t,e=t,o=!1;for(;e&&e!==n;){const{assignedSlot:t}=e;if(t){let r=t.offsetParent;if("contents"===R(t).display){const n=t.hasAttribute("style"),o=t.style.display;t.style.display=R(e).display,r=t.offsetParent,t.style.display=o,n||t.removeAttribute("style")}e=t,n!==r&&(n=r,o=!0)}else if(O(e)&&e.host&&o)break;e=O(e)&&e.host||e.parentNode}return n}(t):null}function Y(t){const n=k(t);let e=X(t);for(;e&&T(e)&&"static"===R(e).position;)e=X(e);return e&&("html"===D(e)||"body"===D(e)&&"static"===R(e).position&&!$(e))?n:e||function(t){let n=W(t);for(O(n)&&(n=n.host);E(n)&&!["html","body"].includes(D(n));){if($(n))return n;{const t=n.parentNode;n=O(t)?t.host:t}}return null}(t)||n}function G(t){if(E(t))return{width:t.offsetWidth,height:t.offsetHeight};const n=C(t);return{width:n.width,height:n.height}}function J(t){const n=W(t);return["html","body","#document"].includes(D(n))?t.ownerDocument.body:E(n)&&S(n)?n:J(n)}function K(t,n){var e;void 0===n&&(n=[]);const o=J(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=k(o),a=r?[i].concat(i.visualViewport||[],S(o)?o:[]):o,l=n.concat(a);return r?l:l.concat(K(a))}function N(t,n,e){return"viewport"===n?l(function(t,n){const e=k(t),o=H(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=z();(t||!t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e)):F(n)?function(t,n){const e=C(t,!1,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft;return{top:o,left:r,x:r,y:o,right:r+t.clientWidth,bottom:o+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}(n,e):l(function(t){var n;const e=H(t),o=q(t),r=null==(n=t.ownerDocument)?void 0:n.body,i=L(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=L(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let l=-o.scrollLeft+I(t);const s=-o.scrollTop;return"rtl"===R(r||e).direction&&(l+=L(e.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(H(t)))}function Q(t){const n=K(t),e=["absolute","fixed"].includes(R(t).position)&&E(t)?Y(t):t;return F(e)?n.filter((t=>F(t)&&function(t,n){const e=null==n.getRootNode?void 0:n.getRootNode();if(t.contains(n))return!0;if(e&&O(e)){let e=n;do{if(e&&t===e)return!0;e=e.parentNode||e.host}while(e)}return!1}(t,e)&&"body"!==D(t))):[]}const U={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?Q(n):[].concat(e),o],a=i.reduce(((t,e)=>{const o=N(n,e,r);return t.top=L(o.top,t.top),t.right=B(o.right,t.right),t.bottom=B(o.bottom,t.bottom),t.left=L(o.left,t.left),t}),N(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=E(e),i=H(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==D(e)||S(i))&&(a=q(e)),E(e))){const t=C(e,!0);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{...n,x:n.x-a.scrollLeft+l.x,y:n.y-a.scrollTop+l.y}},isElement:F,getDimensions:G,getOffsetParent:Y,getDocumentElement:H,getElementRects:t=>{let{reference:n,floating:e,strategy:o}=t;return{reference:V(n,Y(e),o),floating:{...G(e),x:0,y:0}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===R(t).direction},Z=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],_="bottom-start",tt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function nt({placement:t,disableFlip:i,flipPlacements:l,offsetDistance:c,offsetSkidding:f,arrowEl:d,type:m}){const y=[(void 0===v&&(v={}),{name:"shift",options:v,async fn(t){const{x:e,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=v,d={x:e,y:r},m=await s(t,f),p=o(n(i)),y="x"===p?"y":"x";let g=d[p],x=d[y];a&&(g=u(g+m["y"===p?"top":"left"],g,g-m["y"===p?"bottom":"right"])),l&&(x=u(x+m["y"===y?"top":"left"],x,x-m["y"===y?"bottom":"right"]));const h=c.fn({...t,[p]:g,[y]:x});return{...h,data:{x:h.x-e,y:h.y-r}}}}),A()];var v,w;if("menu"===m)return[...y,h({fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===m||"tooltip"===m){const m=[...y,(w={mainAxis:"number"==typeof c?c:0,crossAxis:"number"==typeof f?f:0},void 0===w&&(w=0),{name:"offset",options:w,async fn(t){const{x:r,y:i}=t,a=await async function(t,r){const{placement:i,platform:a,elements:l}=t,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=n(i),f=e(i),u="x"===o(i),d=["left","top"].includes(c)?-1:1,m=s&&u?-1:1,p="function"==typeof r?r(t):r;let{mainAxis:y,crossAxis:g,alignmentAxis:v}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof v&&(g="end"===f?-1*v:v),u?{x:g*m,y:y*d}:{x:y*d,y:g*m}}(t,w);return{x:r+a.x,y:i+a.y,data:a}}})];return"auto"===t||"auto-start"===t||"auto-end"===t?m.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var r,i,a,l,c;const{x:f,y:u,rects:d,middlewareData:m,placement:y,platform:v,elements:h}=o,{alignment:w=null,allowedPlacements:b=x,autoAlignment:A=!0,...P}=t,k=function(t,o,r){return(t?[...r.filter((n=>e(n)===t)),...r.filter((n=>e(n)!==t))]:r.filter((t=>n(t)===t))).filter((n=>!t||e(n)===t||!!o&&g(n)!==n))}(w,A,b),R=await s(o,P),D=null!=(r=null==(i=m.autoPlacement)?void 0:i.index)?r:0,M=k[D];if(null==M)return{};const{main:E,cross:F}=p(M,d,await(null==v.isRTL?void 0:v.isRTL(h.floating)));if(y!==M)return{x:f,y:u,reset:{placement:k[0]}};const O=[R[n(M)],R[E],R[F]],S=[...null!=(a=null==(l=m.autoPlacement)?void 0:l.overflows)?a:[],{placement:M,overflows:O}],T=k[D+1];if(T)return{data:{index:D+1,overflows:S},reset:{placement:T}};const $=S.slice().sort(((t,n)=>t.overflows[0]-n.overflows[0])),z=null==(c=$.find((t=>{let{overflows:n}=t;return n.every((t=>t<=0))})))?void 0:c.placement,B=null!=z?z:$[0].placement;return B!==y?{data:{index:D+1,overflows:S},reset:{placement:B}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):i||m.push(h(l?{fallbackPlacements:l}:{})),d&&m.push((t=>({name:"arrow",options:t,async fn(n){const{element:i,padding:l=0}=null!=t?t:{},{x:s,y:c,placement:f,rects:d,platform:m}=n;if(null==i)return{};const p=a(l),y={x:s,y:c},g=o(f),v=e(f),x=r(g),h=await m.getDimensions(i),w="y"===g?"top":"left",b="y"===g?"bottom":"right",A=d.reference[x]+d.reference[g]-y[g]-d.floating[x],P=y[g]-d.reference[g],k=await(null==m.getOffsetParent?void 0:m.getOffsetParent(i));let R=k?"y"===g?k.clientHeight||0:k.clientWidth||0:0;0===R&&(R=d.floating[x]);const D=p[w],M=R-h[x]-p[b],E=R/2-h[x]/2+(A/2-P/2),F=u(D,E,M);return{[g]:y[g]-(("start"===v?p[w]:p[b])>0&&E!==F&&d.reference[x]<=d.floating[x]?E<D?D-E:M-E:0),data:{[g]:F,centerOffset:E-F}}}}))({element:d})),m}return[]}function et(t,n){const e=t.filter((t=>Z.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${Z.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ot(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/-leading/gi,"-start").replace(/-trailing/gi,"-end").replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function rt({referenceEl:t,floatingEl:n,overlayPositioning:e="absolute",placement:o,disableFlip:r,flipPlacements:a,offsetDistance:l,offsetSkidding:s,arrowEl:c,type:f}){var u;if(!t||!n)return null;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await(v=t,x=n,h={strategy:e,placement:"auto"===o||"auto-start"===o||"auto-end"===o?void 0:ot(n,o),middleware:nt({placement:o,disableFlip:r,flipPlacements:a,offsetDistance:l,offsetSkidding:s,arrowEl:c,type:f})},(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:a=[],platform:l}=e,s=await(null==l.isRTL?void 0:l.isRTL(n));let c=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:f,y:u}=i(c,o,s),d=o,m={},p=0;for(let e=0;e<a.length;e++){const{name:y,fn:g}=a[e],{x:v,y:x,data:h,reset:w}=await g({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:c,platform:l,elements:{reference:t,floating:n}});f=null!=v?v:f,u=null!=x?x:u,m={...m,[y]:{...m[y],...h}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(c=!0===w.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:f,y:u}=i(c,d,s))),e=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(v,x,{platform:U,...h}));var v,x,h;if(null==g?void 0:g.arrow){const{x:t,y:n}=g.arrow;Object.assign(c.style,{left:null!=t?`${t}px`:"",top:null!=n?`${n}px`:""})}const w=(null===(u=null==g?void 0:g.hide)||void 0===u?void 0:u.referenceHidden)?"hidden":null,b=w?"none":null;n.setAttribute("data-placement",p);const A=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(n.style,{visibility:w,pointerEvents:b,position:y,top:"0",left:"0",transform:A})}const it=new WeakMap;function at(t,n,e){e&&n&&(lt(t,n,e),it.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=o,s=r&&!l,c=i&&!l,f=s||c?[...F(t)?K(t):[],...K(n)]:[];f.forEach((t=>{s&&t.addEventListener("scroll",e,{passive:!0}),c&&t.addEventListener("resize",e)}));let u,d=null;if(a){let o=!0;d=new ResizeObserver((()=>{o||e(),o=!1})),F(t)&&!l&&d.observe(t),d.observe(n)}let m=l?C(t):null;return l&&function n(){const o=C(t);!m||o.x===m.x&&o.y===m.y&&o.width===m.width&&o.height===m.height||e(),m=o,u=requestAnimationFrame(n)}(),e(),()=>{var t;f.forEach((t=>{s&&t.removeEventListener("scroll",e),c&&t.removeEventListener("resize",e)})),null==(t=d)||t.disconnect(),d=null,l&&cancelAnimationFrame(u)}}(n,e,(()=>{t.open&&t.reposition()}))))}function lt(t,n,e){if(!e||!n)return;const o=it.get(t);o&&o(),it.delete(t)}const st=Math.ceil(Math.hypot(4,4));export{tt as F,lt as a,st as b,at as c,_ as d,et as f,rt as p}
|
|
6
|
+
import{a as t}from"./p-40b1b217.js";function n(t){return t.split("-")[0]}function e(t){return t.split("-")[1]}function o(t){return["top","bottom"].includes(n(t))?"x":"y"}function r(t){return"y"===t?"height":"width"}function i(t,i,a){let{reference:l,floating:s}=t;const c=l.x+l.width/2-s.width/2,f=l.y+l.height/2-s.height/2,u=o(i),d=r(u),m=l[d]/2-s[d]/2,p="x"===u;let y;switch(n(i)){case"top":y={x:c,y:l.y-s.height};break;case"bottom":y={x:c,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:f};break;case"left":y={x:l.x-s.width,y:f};break;default:y={x:l.x,y:l.y}}switch(e(i)){case"start":y[u]-=m*(a&&p?-1:1);break;case"end":y[u]+=m*(a&&p?-1:1)}return y}function a(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function l(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function s(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:p=!1,padding:y=0}=n,g=a(y),v=c[p?"floating"===m?"reference":"floating":m],x=l(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(v)))||e?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:d,strategy:f})),h=l(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===m?{...s.floating,x:o,y:r}:s.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),strategy:f}):s[m]);return{top:x.top-h.top+g.top,bottom:h.bottom-x.bottom+g.bottom,left:x.left-h.left+g.left,right:h.right-x.right+g.right}}const c=Math.min,f=Math.max;function u(t,n,e){return f(t,c(n,e))}const d={left:"right",right:"left",bottom:"top",top:"bottom"};function m(t){return t.replace(/left|right|bottom|top/g,(t=>d[t]))}function p(t,n,i){void 0===i&&(i=!1);const a=e(t),l=o(t),s=r(l);let c="x"===l?a===(i?"end":"start")?"right":"left":"start"===a?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=m(c)),{main:c,cross:m(c)}}const y={start:"end",end:"start"};function g(t){return t.replace(/start|end/g,(t=>y[t]))}const v=["top","right","bottom","left"],x=v.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),h=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o;const{placement:r,middlewareData:i,rects:a,initialPlacement:l,platform:c,elements:f}=e,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:y,fallbackStrategy:v="bestFit",flipAlignment:x=!0,...h}=t,w=n(r),b=[l,...y||(w!==l&&x?function(t){const n=m(t);return[g(t),n,g(n)]}(l):[m(l)])],A=await s(e,h),P=[];let k=(null==(o=i.flip)?void 0:o.overflows)||[];if(u&&P.push(A[w]),d){const{main:t,cross:n}=p(r,a,await(null==c.isRTL?void 0:c.isRTL(f.floating)));P.push(A[t],A[n])}if(k=[...k,{placement:r,overflows:P}],!P.every((t=>t<=0))){var R,D;const t=(null!=(R=null==(D=i.flip)?void 0:D.index)?R:0)+1,n=b[t];if(n)return{data:{index:t,overflows:k},reset:{placement:n}};let e="bottom";switch(v){case"bestFit":{var M;const t=null==(M=k.map((t=>[t,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:M[0].placement;t&&(e=t);break}case"initialPlacement":e=l}if(r!==e)return{reset:{placement:e}}}return{}}}};function w(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function b(t){return v.some((n=>t[n]>=0))}const A=function(t){let{strategy:n="referenceHidden",...e}=void 0===t?{}:t;return{name:"hide",async fn(t){const{rects:o}=t;switch(n){case"referenceHidden":{const n=w(await s(t,{...e,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:b(n)}}}case"escaped":{const n=w(await s(t,{...e,altBoundary:!0}),o.floating);return{data:{escapedOffsets:n,escaped:b(n)}}}default:return{}}}}};function P(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function k(t){if(null==t)return window;if(!P(t)){const n=t.ownerDocument;return n&&n.defaultView||window}return t}function R(t){return k(t).getComputedStyle(t)}function D(t){return P(t)?"":t?(t.nodeName||"").toLowerCase():""}function M(){const t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map((t=>t.brand+"/"+t.version)).join(" "):navigator.userAgent}function E(t){return t instanceof k(t).HTMLElement}function F(t){return t instanceof k(t).Element}function O(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}function S(t){const{overflow:n,overflowX:e,overflowY:o}=R(t);return/auto|scroll|overlay|hidden/.test(n+o+e)}function T(t){return["table","td","th"].includes(D(t))}function $(t){const n=/firefox/i.test(M()),e=R(t);return"none"!==e.transform||"none"!==e.perspective||"paint"===e.contain||["transform","perspective"].includes(e.willChange)||n&&"filter"===e.willChange||n&&!!e.filter&&"none"!==e.filter}function z(){return!/^((?!chrome|android).)*safari/i.test(M())}const B=Math.min,L=Math.max,j=Math.round;function C(t,n,e){var o,r,i,a;void 0===n&&(n=!1),void 0===e&&(e=!1);const l=t.getBoundingClientRect();let s=1,c=1;n&&E(t)&&(s=t.offsetWidth>0&&j(l.width)/t.offsetWidth||1,c=t.offsetHeight>0&&j(l.height)/t.offsetHeight||1);const f=F(t)?k(t):window,u=!z()&&e,d=(l.left+(u&&null!=(o=null==(r=f.visualViewport)?void 0:r.offsetLeft)?o:0))/s,m=(l.top+(u&&null!=(i=null==(a=f.visualViewport)?void 0:a.offsetTop)?i:0))/c,p=l.width/s,y=l.height/c;return{width:p,height:y,top:m,right:d+p,bottom:m+y,left:d,x:d,y:m}}function H(t){return(n=t,(n instanceof k(n).Node?t.ownerDocument:t.document)||window.document).documentElement;var n}function q(t){return F(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function I(t){return C(H(t)).left+q(t).scrollLeft}function V(t,n,e){const o=E(n),r=H(n),i=C(t,o&&function(t){const n=C(t);return j(n.width)!==t.offsetWidth||j(n.height)!==t.offsetHeight}(n),"fixed"===e);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==D(n)||S(r))&&(a=q(n)),E(n)){const t=C(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=I(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function W(t){return"html"===D(t)?t:t.assignedSlot||t.parentNode||(O(t)?t.host:null)||H(t)}function X(t){return E(t)&&"fixed"!==R(t).position?function(t){let{offsetParent:n}=t,e=t,o=!1;for(;e&&e!==n;){const{assignedSlot:t}=e;if(t){let r=t.offsetParent;if("contents"===R(t).display){const n=t.hasAttribute("style"),o=t.style.display;t.style.display=R(e).display,r=t.offsetParent,t.style.display=o,n||t.removeAttribute("style")}e=t,n!==r&&(n=r,o=!0)}else if(O(e)&&e.host&&o)break;e=O(e)&&e.host||e.parentNode}return n}(t):null}function Y(t){const n=k(t);let e=X(t);for(;e&&T(e)&&"static"===R(e).position;)e=X(e);return e&&("html"===D(e)||"body"===D(e)&&"static"===R(e).position&&!$(e))?n:e||function(t){let n=W(t);for(O(n)&&(n=n.host);E(n)&&!["html","body"].includes(D(n));){if($(n))return n;{const t=n.parentNode;n=O(t)?t.host:t}}return null}(t)||n}function G(t){if(E(t))return{width:t.offsetWidth,height:t.offsetHeight};const n=C(t);return{width:n.width,height:n.height}}function J(t){const n=W(t);return["html","body","#document"].includes(D(n))?t.ownerDocument.body:E(n)&&S(n)?n:J(n)}function K(t,n){var e;void 0===n&&(n=[]);const o=J(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=k(o),a=r?[i].concat(i.visualViewport||[],S(o)?o:[]):o,l=n.concat(a);return r?l:l.concat(K(a))}function N(t,n,e){return"viewport"===n?l(function(t,n){const e=k(t),o=H(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=z();(t||!t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e)):F(n)?function(t,n){const e=C(t,!1,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft;return{top:o,left:r,x:r,y:o,right:r+t.clientWidth,bottom:o+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}(n,e):l(function(t){var n;const e=H(t),o=q(t),r=null==(n=t.ownerDocument)?void 0:n.body,i=L(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=L(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let l=-o.scrollLeft+I(t);const s=-o.scrollTop;return"rtl"===R(r||e).direction&&(l+=L(e.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(H(t)))}function Q(t){const n=K(t),e=["absolute","fixed"].includes(R(t).position)&&E(t)?Y(t):t;return F(e)?n.filter((t=>F(t)&&function(t,n){const e=null==n.getRootNode?void 0:n.getRootNode();if(t.contains(n))return!0;if(e&&O(e)){let e=n;do{if(e&&t===e)return!0;e=e.parentNode||e.host}while(e)}return!1}(t,e)&&"body"!==D(t))):[]}const U={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?Q(n):[].concat(e),o],a=i.reduce(((t,e)=>{const o=N(n,e,r);return t.top=L(o.top,t.top),t.right=B(o.right,t.right),t.bottom=B(o.bottom,t.bottom),t.left=L(o.left,t.left),t}),N(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=E(e),i=H(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==D(e)||S(i))&&(a=q(e)),E(e))){const t=C(e,!0);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{...n,x:n.x-a.scrollLeft+l.x,y:n.y-a.scrollTop+l.y}},isElement:F,getDimensions:G,getOffsetParent:Y,getDocumentElement:H,getElementRects:t=>{let{reference:n,floating:e,strategy:o}=t;return{reference:V(n,Y(e),o),floating:{...G(e),x:0,y:0}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===R(t).direction},Z=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],_="bottom-start",tt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function nt({placement:t,disableFlip:i,flipPlacements:l,offsetDistance:c,offsetSkidding:f,arrowEl:d,type:m}){const y=[(void 0===v&&(v={}),{name:"shift",options:v,async fn(t){const{x:e,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=v,d={x:e,y:r},m=await s(t,f),p=o(n(i)),y="x"===p?"y":"x";let g=d[p],x=d[y];a&&(g=u(g+m["y"===p?"top":"left"],g,g-m["y"===p?"bottom":"right"])),l&&(x=u(x+m["y"===y?"top":"left"],x,x-m["y"===y?"bottom":"right"]));const h=c.fn({...t,[p]:g,[y]:x});return{...h,data:{x:h.x-e,y:h.y-r}}}}),A()];var v,w;if("menu"===m)return[...y,h({fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===m||"tooltip"===m){const m=[...y,(w={mainAxis:"number"==typeof c?c:0,crossAxis:"number"==typeof f?f:0},void 0===w&&(w=0),{name:"offset",options:w,async fn(t){const{x:r,y:i}=t,a=await async function(t,r){const{placement:i,platform:a,elements:l}=t,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=n(i),f=e(i),u="x"===o(i),d=["left","top"].includes(c)?-1:1,m=s&&u?-1:1,p="function"==typeof r?r(t):r;let{mainAxis:y,crossAxis:g,alignmentAxis:v}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof v&&(g="end"===f?-1*v:v),u?{x:g*m,y:y*d}:{x:y*d,y:g*m}}(t,w);return{x:r+a.x,y:i+a.y,data:a}}})];return"auto"===t||"auto-start"===t||"auto-end"===t?m.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var r,i,a,l,c;const{x:f,y:u,rects:d,middlewareData:m,placement:y,platform:v,elements:h}=o,{alignment:w=null,allowedPlacements:b=x,autoAlignment:A=!0,...P}=t,k=function(t,o,r){return(t?[...r.filter((n=>e(n)===t)),...r.filter((n=>e(n)!==t))]:r.filter((t=>n(t)===t))).filter((n=>!t||e(n)===t||!!o&&g(n)!==n))}(w,A,b),R=await s(o,P),D=null!=(r=null==(i=m.autoPlacement)?void 0:i.index)?r:0,M=k[D];if(null==M)return{};const{main:E,cross:F}=p(M,d,await(null==v.isRTL?void 0:v.isRTL(h.floating)));if(y!==M)return{x:f,y:u,reset:{placement:k[0]}};const O=[R[n(M)],R[E],R[F]],S=[...null!=(a=null==(l=m.autoPlacement)?void 0:l.overflows)?a:[],{placement:M,overflows:O}],T=k[D+1];if(T)return{data:{index:D+1,overflows:S},reset:{placement:T}};const $=S.slice().sort(((t,n)=>t.overflows[0]-n.overflows[0])),z=null==(c=$.find((t=>{let{overflows:n}=t;return n.every((t=>t<=0))})))?void 0:c.placement,B=null!=z?z:$[0].placement;return B!==y?{data:{index:D+1,overflows:S},reset:{placement:B}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):i||m.push(h(l?{fallbackPlacements:l}:{})),d&&m.push((t=>({name:"arrow",options:t,async fn(n){const{element:i,padding:l=0}=null!=t?t:{},{x:s,y:c,placement:f,rects:d,platform:m}=n;if(null==i)return{};const p=a(l),y={x:s,y:c},g=o(f),v=e(f),x=r(g),h=await m.getDimensions(i),w="y"===g?"top":"left",b="y"===g?"bottom":"right",A=d.reference[x]+d.reference[g]-y[g]-d.floating[x],P=y[g]-d.reference[g],k=await(null==m.getOffsetParent?void 0:m.getOffsetParent(i));let R=k?"y"===g?k.clientHeight||0:k.clientWidth||0:0;0===R&&(R=d.floating[x]);const D=p[w],M=R-h[x]-p[b],E=R/2-h[x]/2+(A/2-P/2),F=u(D,E,M);return{[g]:y[g]-(("start"===v?p[w]:p[b])>0&&E!==F&&d.reference[x]<=d.floating[x]?E<D?D-E:M-E:0),data:{[g]:F,centerOffset:E-F}}}}))({element:d})),m}return[]}function et(t,n){const e=t.filter((t=>Z.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${Z.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ot(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/-leading/gi,"-start").replace(/-trailing/gi,"-end").replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function rt({referenceEl:t,floatingEl:n,overlayPositioning:e="absolute",placement:o,disableFlip:r,flipPlacements:a,offsetDistance:l,offsetSkidding:s,arrowEl:c,type:f}){var u;if(!t||!n)return null;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await(v=t,x=n,h={strategy:e,placement:"auto"===o||"auto-start"===o||"auto-end"===o?void 0:ot(n,o),middleware:nt({placement:o,disableFlip:r,flipPlacements:a,offsetDistance:l,offsetSkidding:s,arrowEl:c,type:f})},(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:a=[],platform:l}=e,s=await(null==l.isRTL?void 0:l.isRTL(n));let c=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:f,y:u}=i(c,o,s),d=o,m={},p=0;for(let e=0;e<a.length;e++){const{name:y,fn:g}=a[e],{x:v,y:x,data:h,reset:w}=await g({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:c,platform:l,elements:{reference:t,floating:n}});f=null!=v?v:f,u=null!=x?x:u,m={...m,[y]:{...m[y],...h}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(c=!0===w.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:f,y:u}=i(c,d,s))),e=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(v,x,{platform:U,...h}));var v,x,h;if(null==g?void 0:g.arrow){const{x:t,y:n}=g.arrow;Object.assign(c.style,{left:null!=t?`${t}px`:"",top:null!=n?`${n}px`:""})}const w=(null===(u=null==g?void 0:g.hide)||void 0===u?void 0:u.referenceHidden)?"hidden":null,b=w?"none":null;n.setAttribute("data-placement",p);const A=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(n.style,{visibility:w,pointerEvents:b,position:y,top:"0",left:"0",transform:A})}const it=new WeakMap;function at(t,n,e){e&&n&&(lt(t,n,e),it.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=o,s=r&&!l,c=i&&!l,f=s||c?[...F(t)?K(t):[],...K(n)]:[];f.forEach((t=>{s&&t.addEventListener("scroll",e,{passive:!0}),c&&t.addEventListener("resize",e)}));let u,d=null;if(a){let o=!0;d=new ResizeObserver((()=>{o||e(),o=!1})),F(t)&&!l&&d.observe(t),d.observe(n)}let m=l?C(t):null;return l&&function n(){const o=C(t);!m||o.x===m.x&&o.y===m.y&&o.width===m.width&&o.height===m.height||e(),m=o,u=requestAnimationFrame(n)}(),e(),()=>{var t;f.forEach((t=>{s&&t.removeEventListener("scroll",e),c&&t.removeEventListener("resize",e)})),null==(t=d)||t.disconnect(),d=null,l&&cancelAnimationFrame(u)}}(n,e,(()=>{t.open&&t.reposition()}))))}function lt(t,n,e){if(!e||!n)return;const o=it.get(t);o&&o(),it.delete(t)}const st=Math.ceil(Math.hypot(4,4));export{tt as F,lt as a,st as b,at as c,_ as d,et as f,rt as p}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(a){for(var i,e=1,t=arguments.length;e<t;e++){i=arguments[e];for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r))a[r]=i[r]}return a};return __assign.apply(this,arguments)};
|
|
2
|
+
/*!
|
|
3
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
+
* v1.0.0-beta.92
|
|
6
|
+
*/System.register(["./p-61e53bb3.system.js","./p-95b2ce17.system.js"],(function(a){"use strict";var i,e,t,r,n;return{setters:[function(a){i=a.r;e=a.h;t=a.H;r=a.g},function(a){n=a.g}],execute:function(){var o='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;margin-inline:auto;display:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;-webkit-transform:scale(1, 1);transform:scale(1, 1);animation:loader-color-shift 6s alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem)}:host([scale=s]){--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}:host([scale=m]){--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}:host([scale=l]){--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem}:host([no-padding]){padding-block:0px}:host{display:none}:host([active]){display:-ms-flexbox;display:flex}.loader__text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-margin-before:calc(var(--calcite-loader-size) + 1.5rem);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}.loader__percentage{position:absolute;display:block;text-align:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);inset-inline-start:50%;-webkit-margin-start:calc(var(--calcite-loader-size) / 2 * -1);margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;-webkit-transform:scale(1, 1);transform:scale(1, 1)}.loader__svgs{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;-webkit-margin-start:calc(var(--calcite-loader-size) / 2 * -1);margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);-webkit-transform:scale(1, 1);transform:scale(1, 1)}.loader__svg{position:absolute;inset-block-start:0px;inset-inline-start:0px;-webkit-transform-origin:center;transform-origin:center;overflow:visible;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-name:loader-clockwise;animation-name:loader-clockwise}@supports (display: grid){.loader__svg--1{-webkit-animation-name:loader-offset-1;animation-name:loader-offset-1}.loader__svg--2{-webkit-animation-name:loader-offset-2;animation-name:loader-offset-2}.loader__svg--3{-webkit-animation-name:loader-offset-3;animation-name:loader-offset-3}}:host([type=determinate]){-webkit-animation:none;animation:none;stroke:var(--calcite-ui-border-3)}:host([type=determinate]) .loader__svg--3{-webkit-animation:none;animation:none;stroke:var(--calcite-ui-brand);stroke-dasharray:150.79632;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transition:all var(--calcite-internal-animation-timing-fast) linear;transition:all var(--calcite-internal-animation-timing-fast) linear}:host([inline]){position:relative;margin:0px;-webkit-animation:none;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);-webkit-margin-end:calc(var(--calcite-loader-size-inline) * 0.5);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}:host([active][inline]){display:inline-block}:host([inline]) .loader__svgs{inset-block-start:0px;inset-inline-start:0px;margin:0px;inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([inline]) .loader__svg{inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([complete]){opacity:0;-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms}:host([complete]) .loader__svgs{opacity:0;-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms}:host([complete]) .loader__percentage{color:var(--calcite-ui-brand);-webkit-transform:scale(1.05, 1.05);transform:scale(1.05, 1.05);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:color var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear}.loader__svg--1{stroke-dasharray:27.9252444444% 139.6262222222%;-webkit-animation-duration:0.72s;animation-duration:0.72s}@-webkit-keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}.loader__svg--2{stroke-dasharray:55.8504888889% 139.6262222222%;-webkit-animation-duration:0.96s;animation-duration:0.96s}@-webkit-keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}.loader__svg--3{stroke-dasharray:13.9626222222% 139.6262222222%;-webkit-animation-duration:1.16s;animation-duration:1.16s}@-webkit-keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@-webkit-keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@-webkit-keyframes loader-clockwise{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loader-clockwise{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}';var s=a("calcite_loader",function(){function a(a){i(this,a);this.active=false;this.inline=false;this.scale="m";this.value=0;this.text="";this.noPadding=false}a.prototype.render=function(){var a=this,i=a.el,r=a.inline,o=a.label,s=a.scale,l=a.text,c=a.type,m=a.value;var d=i.id||n();var f=.45;var k=r?this.getInlineSize(s):this.getSize(s);var v=k*f;var b="0 0 ".concat(k," ").concat(k);var g=c==="determinate";var u=2*v*Math.PI;var p=m/100*u;var y=u-p;var h=Math.floor(m);var w={"aria-valuenow":h,"aria-valuemin":0,"aria-valuemax":100,complete:h===100};var _={r:v,cx:k/2,cy:k/2};var z={"stroke-dasharray":"".concat(p," ").concat(y)};return e(t,__assign({"aria-label":o,id:d,role:"progressbar"},g?w:{}),e("div",{class:"loader__svgs"},e("svg",{class:"loader__svg loader__svg--1",viewBox:b},e("circle",__assign({},_))),e("svg",{class:"loader__svg loader__svg--2",viewBox:b},e("circle",__assign({},_))),e("svg",__assign({class:"loader__svg loader__svg--3",viewBox:b},g?{style:z}:{}),e("circle",__assign({},_)))),l&&e("div",{class:"loader__text"},l),g&&e("div",{class:"loader__percentage"},m))};a.prototype.getSize=function(a){return{s:32,m:56,l:80}[a]};a.prototype.getInlineSize=function(a){return{s:12,m:16,l:20}[a]};Object.defineProperty(a.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return a}());s.style=o}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.92
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as a,F as e,g as s}from"./p-
|
|
6
|
+
import{r as t,c as i,h as a,F as e,g as s}from"./p-5c35dc5d.js";import{c as n}from"./p-fd888df3.js";import{l as o}from"./p-59ac4143.js";import"./p-3d5a42c2.js";const r=["lang"],l=new Map;let c;function h(t,i){const{el:a}=t,e={};i.filter((t=>!!r.includes(t)&&!!a.hasAttribute(t))).forEach((t=>{const i=a.getAttribute(t);null!==i&&(e[t]=i)})),t.globalAttributes=e}function m(t){t.forEach((({target:t})=>{const[i,a]=l.get(t);h(i,a.attributeFilter)}))}const p=class{constructor(a){t(this,a),this.calcitePaginationUpdate=i(this,"calcitePaginationUpdate",6),this.calcitePaginationChange=i(this,"calcitePaginationChange",6),this.num=20,this.start=1,this.total=0,this.textLabelNext="Next",this.textLabelPrevious="Previous",this.scale="m",this.globalAttributes={},this.previousClicked=()=>{this.previousPage().then(),this.emitUpdate()},this.nextClicked=()=>{this.nextPage(),this.emitUpdate()}}connectedCallback(){!function(t,i){const{el:a}=t,e={attributeFilter:i};l.set(a,[t,e]),h(t,i),c||(c=n("mutation",m)),c.observe(a,e)}(this,["lang"])}disconnectedCallback(){!function(t){l.delete(t.el),m(c.takeRecords()),c.disconnect();for(const[t,[,i]]of l.entries())c.observe(t,i)}(this)}async nextPage(){this.start=Math.min(this.getLastStart(),this.start+this.num)}async previousPage(){this.start=Math.max(1,this.start-this.num)}getLastStart(){const{total:t,num:i}=this;return 1+(t%i==0?t-i:Math.floor(t/i)*i)}showLeftEllipsis(){return Math.floor(this.start/this.num)>3}showRightEllipsis(){return(this.total-this.start)/this.num>3}emitUpdate(){const t={start:this.start,total:this.total,num:this.num};this.calcitePaginationChange.emit(t),this.calcitePaginationUpdate.emit(t)}renderPages(){const t=this.getLastStart();let i,a;this.total/this.num<=5?(a=1+this.num,i=t-this.num):this.start/this.num<4?(a=1+this.num,i=1+4*this.num):this.start+3*this.num>=this.total?(a=t-4*this.num,i=t-this.num):(a=this.start-this.num,i=this.start+this.num);const e=[];for(;a<=i;)e.push(a),a+=this.num;return e.map((t=>this.renderPage(t)))}renderPage(t){const i=this.globalAttributes.lang||document.documentElement.lang||"en",e=Math.floor(t/this.num)+(1===this.num?0:1);return a("button",{class:{page:!0,"is-selected":t===this.start},onClick:()=>{this.start=t,this.emitUpdate()}},o(e.toString(),i,!0))}renderLeftEllipsis(){if(this.total/this.num>5&&this.showLeftEllipsis())return a("span",{class:"ellipsis ellipsis--start"},"…")}renderRightEllipsis(){if(this.total/this.num>5&&this.showRightEllipsis())return a("span",{class:"ellipsis ellipsis--end"},"…")}render(){const{total:t,num:i,start:s}=this,n=1===i?s<=i:s<i,o=s+i>t;return a(e,null,a("button",{"aria-label":this.textLabelPrevious,class:{previous:!0,"is-disabled":n},disabled:n,onClick:this.previousClicked},a("calcite-icon",{flipRtl:!0,icon:"chevronLeft",scale:"s"})),t>i?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),a("button",{"aria-label":this.textLabelNext,class:{next:!0,"is-disabled":o},disabled:o,onClick:this.nextClicked},a("calcite-icon",{flipRtl:!0,icon:"chevronRight",scale:"s"})))}get el(){return s(this)}};p.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-inline:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-inline:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-inline:1rem}:host{display:-ms-flexbox;display:flex;-webkit-writing-mode:horizontal-tb;-ms-writing-mode:lr-tb;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-block:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-block-end-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-end-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{-webkit-margin-end:0px;margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing)}.ellipsis{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;color:var(--calcite-ui-text-3)}";export{p as calcite_pagination}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.92
|
|
5
5
|
*/
|
|
6
|
-
import{r as a,h as t,g as i}from"./p-
|
|
6
|
+
import{r as a,h as t,g as i}from"./p-5c35dc5d.js";import{h as e,i as n}from"./p-365d9061.js";import{b as r}from"./p-40b1b217.js";import"./p-6102c66d.js";import"./p-9331ee41.js";const s=class{constructor(t){a(this,t),this.scale="m",this.error=!1}render(){return this.determineContent()}determineContent(){if(this.thumbnail&&!this.error)return t("img",{alt:"",class:"thumbnail",onError:()=>this.error=!0,src:this.thumbnail});const a=this.generateInitials(),i=this.generateFillColor();return t("span",{class:"background",style:{backgroundColor:i}},a?t("span",{"aria-hidden":"true",class:"initials"},a):t("calcite-icon",{class:"icon",icon:"user",scale:this.scale}))}generateFillColor(){const{userId:a,username:t,fullName:i,el:s}=this,o=r(s),c=a&&`#${a.substr(a.length-6)}`,l=t||i||"",m=c&&n(c)?c:function(a){let t=0;for(let i=0;i<a.length;i++)t=a.charCodeAt(i)+((t<<5)-t);let i="#";for(let a=0;a<3;a++)i+=("00"+(t>>8*a&255).toString(16)).substr(-2);return i}(l);return(a||l)&&n(m)?`hsl(${function(a){return function(a){let{r:t,g:i,b:e}=a;t/=255,i/=255,e/=255;const n=Math.max(t,i,e),r=Math.min(t,i,e),s=n-r;if(n===r)return 0;let o=(n+r)/2;switch(n){case t:o=(i-e)/s+(i<e?6:0);break;case i:o=(e-t)/s+2;break;case e:o=(t-i)/s+4}return Math.round(60*o)}(e(a))}(m)}, 60%, ${"dark"===o?20:90}%)`:"var(--calcite-ui-foreground-2)"}generateInitials(){const{fullName:a,username:t}=this;return a?a.trim().split(" ").map((a=>a.substring(0,1))).join(""):!!t&&t.substring(0,2)}get el(){return i(this)}};s.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block;overflow:hidden;border-radius:50%}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:-ms-flexbox;display:flex}.background{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase;color:var(--calcite-ui-text-3)}.thumbnail{block-size:100%;inline-size:100%;border-radius:50%}";export{s as calcite_avatar}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.92
|
|
5
|
+
*/
|
|
6
|
+
import{r as i,c as t,h as a,F as n,g as e}from"./p-5c35dc5d.js";import{f as r}from"./p-40b1b217.js";import{u as o}from"./p-5d28e8d4.js";import{f as s}from"./p-b590359e.js";import{d as l}from"./p-881abbf0.js";import"./p-6102c66d.js";import"./p-9331ee41.js";const c=class{constructor(a){i(this,a),this.calciteFilterChange=t(this,"calciteFilterChange",6),this.items=[],this.disabled=!1,this.filteredItems=[],this.scale="m",this.value="",this.filter=l(((i,t=!1)=>this.updateFiltered(s(this.items,i),t)),250),this.inputHandler=i=>{const t=i.target;this.value=t.value,this.filter(t.value,!0)},this.keyDownHandler=i=>{"Escape"===i.key&&(this.clear(),i.preventDefault()),"Enter"===i.key&&i.preventDefault()},this.clear=()=>{this.value="",this.filter("",!0),this.setFocus()}}watchItemsHandler(){this.filter(this.value)}valueHandler(i){this.filter(i)}componentDidRender(){o(this)}componentWillLoad(){this.filter(this.value)}async setFocus(){r(this.textInput)}updateFiltered(i,t=!1){this.filteredItems.length=0,this.filteredItems=this.filteredItems.concat(i),t&&this.calciteFilterChange.emit()}render(){const{disabled:i,scale:t}=this;return a(n,null,a("div",{class:"container"},a("label",null,a("calcite-input",{"aria-label":this.intlLabel||"Filter",clearable:!0,disabled:i,icon:"search",intlClear:this.intlClear||"Clear filter",onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:i=>{this.textInput=i},scale:t,type:"text",value:this.value}))))}get el(){return e(this)}static get watchers(){return{items:["watchItemsHandler"],value:["valueHandler"]}}};c.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-padding-end:0.25rem;padding-inline-end:0.25rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem;-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";export{c as calcite_filter}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.92
|
|
5
5
|
*/
|
|
6
|
-
import{r as t,c as i,h as a,g as e}from"./p-
|
|
6
|
+
import{r as t,c as i,h as a,g as e}from"./p-5c35dc5d.js";import{u as n}from"./p-5d28e8d4.js";const o=class{constructor(a){t(this,a),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6),this.appearance="solid",this.color="blue",this.disabled=!1,this.active=!1,this.dropdownIconType="chevron",this.loading=!1,this.overlayPositioning="absolute",this.scale="m",this.width="auto",this.calciteSplitButtonPrimaryClickHandler=t=>this.calciteSplitButtonPrimaryClick.emit(t),this.calciteSplitButtonSecondaryClickHandler=t=>this.calciteSplitButtonSecondaryClick.emit(t)}handleDisabledChange(t){t||(this.active=!1)}activeHandler(){this.disabled&&(this.active=!1)}componentDidRender(){n(this)}render(){return a("div",{class:{"split-button__container":!0,"width-auto":"auto"===this.width,"width-half":"half"===this.width,"width-full":"full"===this.width}},a("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:"auto"===this.width?"auto":"full"},this.primaryText),a("div",{class:"split-button__divider-container"},a("div",{class:"split-button__divider"})),a("calcite-dropdown",{active:this.active,disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,width:this.scale},a("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-start":this.dropdownIcon,label:this.dropdownLabel,scale:this.scale,slot:"dropdown-trigger",splitChild:"secondary",type:"button"}),a("slot",null)))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}get el(){return e(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};o.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block}:host .split-button__container{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host([appearance=solid]):host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=solid]):host([color=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=clear]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=clear]):host([color=blue]),:host([appearance=outline]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=clear]):host([color=red]),:host([appearance=outline]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=clear]):host([color=neutral]),:host([appearance=outline]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=clear]):host([color=inverse]),:host([appearance=outline]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:-ms-flexbox;display:flex;inline-size:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline]):hover .split-button__divider-container,:host([appearance=clear]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:focus-within):host([color=blue]),:host([appearance=clear]:focus-within):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline]:focus-within):host([color=red]),:host([appearance=clear]:focus-within):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline]:focus-within) .split-button__divider-container,:host([appearance=clear]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{o as calcite_split_button}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,a,e){function i(t){return t instanceof a?t:new a((function(n){n(t)}))}return new(a||(a=Promise))((function(a,o){function r(t){try{s(e.next(t))}catch(t){o(t)}}function c(t){try{s(e["throw"](t))}catch(t){o(t)}}function s(t){t.done?a(t.value):i(t.value).then(r,c)}s((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,i,o,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(n){return s([t,n])}}function s(r){if(e)throw new TypeError("Generator is already executing.");while(a)try{if(e=1,i&&(o=r[0]&2?i["return"]:r[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;if(i=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:a.label++;return{value:r[1],done:false};case 5:a.label++;i=r[1];r=[0];continue;case 7:r=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){a=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(r[0]===6&&a.label<o[1]){a.label=o[1];o=r;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(r);break}if(o[2])a.ops.pop();a.trys.pop();continue}r=n.call(t,a)}catch(t){r=[6,t];i=0}finally{e=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
|
|
2
|
+
/*!
|
|
3
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
+
* v1.0.0-beta.92
|
|
6
|
+
*/System.register(["./p-61e53bb3.system.js","./p-fc884dc4.system.js","./p-24f3ecd3.system.js","./p-f5ffbb61.system.js","./p-22bdeaf6.system.js","./p-a1327fdf.system.js","./p-95b2ce17.system.js","./p-5cfbeadf.system.js"],(function(t){"use strict";var n,a,e,i,o,r,c,s,l,m;return{setters:[function(t){n=t.r;a=t.h;e=t.H;i=t.g},function(t){o=t.u},function(t){r=t.g},function(t){c=t.c;s=t.d},function(t){l=t.H;m=t.c},function(){},function(){},function(){}],execute:function(){var d={container:"container"};var f="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;background-color:transparent}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(calcite-list-item){-webkit-margin-after:1px;margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";var u=t("calcite_list",function(){function t(t){n(this,t);this.disabled=false}t.prototype.componentDidRender=function(){o(this)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){t=this.el.querySelector("calcite-list-item:not([non-interactive])");t===null||t===void 0?void 0:t.setFocus();return[2]}))}))};t.prototype.render=function(){return a(e,{role:"list"},a("div",{class:d.container},a("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());u.style=f;var p={container:"container",contentContainer:"content-container",nestedContainer:"nested-container",contentContainerButton:"content-container--button",content:"content",actionsStart:"actions-start",contentStart:"content-start",label:"label",description:"description",contentEnd:"content-end",actionsEnd:"actions-end",hasCenterContent:"has-center-content"};var b={actionsStart:"actions-start",contentStart:"content-start",contentEnd:"content-end",actionsEnd:"actions-end"};var y="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}.nested-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);outline-color:transparent}.content-container--button{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;text-align:initial}.content-container--button:hover{background-color:var(--calcite-ui-foreground-2)}.content-container--button:hover .label,.content-container--button:hover .description{color:var(--calcite-ui-text-1)}.content-container--button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.content-container--button .content-start,.content-container--button .content-end{pointer-events:none}.content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{-ms-flex-pack:start;justify-content:flex-start}.content-end{-ms-flex-pack:end;justify-content:flex-end}.content-start,.content-end{-ms-flex:1 1 auto;flex:1 1 auto}.has-center-content .content-start,.has-center-content .content-end{-ms-flex:0 1 auto;flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){-ms-flex-item-align:center;align-self:center;padding-inline:0.75rem}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){-ms-flex-item-align:stretch;align-self:stretch;color:inherit}::slotted(calcite-list-item-group),::slotted(calcite-list-item){-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";var w=t("calcite_list_item",function(){function t(t){n(this,t);this.nonInteractive=false;this.disabled=false}t.prototype.componentDidRender=function(){o(this)};t.prototype.connectedCallback=function(){c(this)};t.prototype.disconnectedCallback=function(){s(this)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){(t=this.focusEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.renderActionsStart=function(){var t=this.el;return r(t,b.actionsStart)?a("div",{class:p.actionsStart},a("slot",{name:b.actionsStart})):null};t.prototype.renderActionsEnd=function(){var t=this.el;return r(t,b.actionsEnd)?a("div",{class:p.actionsEnd},a("slot",{name:b.actionsEnd})):null};t.prototype.renderContentStart=function(){var t=this.el;return r(t,b.contentStart)?a("div",{class:p.contentStart},a("slot",{name:b.contentStart})):null};t.prototype.renderContentEnd=function(){var t=this.el;return r(t,b.contentEnd)?a("div",{class:p.contentEnd},a("slot",{name:b.contentEnd})):null};t.prototype.renderContent=function(){var t=this,n=t.label,e=t.description;return!!n||!!e?a("div",{class:p.content},n?a("div",{class:p.label},n):null,e?a("div",{class:p.description},e):null):null};t.prototype.renderContentContainer=function(){var t,n;var e=this;var i=this,o=i.description,r=i.disabled,c=i.label,s=i.nonInteractive;var l=!!c||!!o;var m=[this.renderContentStart(),this.renderContent(),this.renderContentEnd()];return!s?a("button",{class:(t={},t[p.contentContainer]=true,t[p.contentContainerButton]=true,t[p.hasCenterContent]=l,t),disabled:r,ref:function(t){return e.focusEl=t}},m):a("div",{class:(n={},n[p.contentContainer]=true,n[p.hasCenterContent]=l,n),ref:function(){return e.focusEl=null}},m)};t.prototype.render=function(){return a(e,{role:"listitem"},a("div",{class:p.container},this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),a("div",{class:p.nestedContainer},a("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());w.style=y;var v={heading:"heading",container:"container"};var h=3;var x="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.heading{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.container{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}::slotted(calcite-list-item-group){-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";var k=t("calcite_list_item_group",function(){function t(t){n(this,t)}t.prototype.render=function(){var t;var n=this,i=n.el,o=n.heading,r=n.headingLevel;var c=(t=i.closest("calcite-list, calcite-list-item-group"))===null||t===void 0?void 0:t.headingLevel;var s=c?m(c+1):null;var d=r||s||h;return a(e,null,o?a(l,{class:v.heading,level:d},o):null,a("div",{class:v.container,role:"group"},a("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());k.style=x}}}));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,e,i){function a(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function r(t){try{l(i.next(t))}catch(t){o(t)}}function c(t){try{l(i["throw"](t))}catch(t){o(t)}}function l(t){t.done?e(t.value):a(t.value).then(r,c)}l((i=i.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(n){return l([t,n])}}function l(r){if(i)throw new TypeError("Generator is already executing.");while(e)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:e.label++;return{value:r[1],done:false};case 5:e.label++;a=r[1];r=[0];continue;case 7:r=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){e=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){e.label=r[1];break}if(r[0]===6&&e.label<o[1]){e.label=o[1];o=r;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(r);break}if(o[2])e.ops.pop();e.trys.pop();continue}r=n.call(t,e)}catch(t){r=[6,t];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
|
|
2
|
+
/*!
|
|
3
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
+
* v1.0.0-beta.92
|
|
6
|
+
*/System.register(["./p-61e53bb3.system.js","./p-95b2ce17.system.js","./p-fc884dc4.system.js"],(function(t){"use strict";var n,e,i,a,o,r;return{setters:[function(t){n=t.r;e=t.c;i=t.h;a=t.g},function(t){o=t.g},function(t){r=t.u}],execute:function(){var c={checked:"checked",description:"description",descriptionOnly:"description-only",disabled:"disabled",heading:"heading",headingOnly:"heading-only",icon:"icon",iconOnly:"icon-only",inputAlignmentEnd:"input-alignment-end",inputAlignmentStart:"input-alignment-start",inputEnabled:"input-enabled",largeVisual:"large-visual",widthAuto:"width-auto",widthFull:"width-full"};var l="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:block}:host .container{background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;block-size:100%;max-inline-size:300px;padding:0.75rem;position:relative;vertical-align:top;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .container.checked{-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host .container.heading-only{-ms-flex-align:center;align-items:center}:host .container:not(.input-enabled) ::slotted(calcite-checkbox),:host .container:not(.input-enabled) ::slotted(calcite-radio-button){position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host .container.focused{outline-color:transparent}:host .container.focused:not(.disabled):not(.input-enabled){outline:2px solid var(--calcite-ui-brand);outline-offset:-4px;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1)}:host .container.input-enabled.input-alignment-start.width-auto.heading-only,:host .container.input-enabled.input-alignment-start.width-auto.icon-only,:host .container.input-enabled.input-alignment-start.width-auto.description-only,:host .container.input-enabled.input-alignment-start.width-auto.heading.description,:host .container.input-enabled.input-alignment-start.width-auto.icon.description,:host .container.input-enabled.input-alignment-start.width-auto.heading.icon.description{display:inline-grid;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-start.heading-only,:host .container.input-enabled.input-alignment-start.icon-only,:host .container.input-enabled.input-alignment-start.description-only,:host .container.input-enabled.input-alignment-start.heading.description,:host .container.input-enabled.input-alignment-start.icon.description,:host .container.input-enabled.input-alignment-start.heading.icon.description{gap:0.75rem}:host .container.input-enabled.input-alignment-start calcite-tile{-ms-flex-order:1;order:1}:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-start:0.75rem}:host .container.input-enabled.input-alignment-end.width-auto.heading-only,:host .container.input-enabled.input-alignment-end.width-auto.icon-only{display:inline-grid;grid-gap:0.75rem;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-end.heading-only,:host .container.input-enabled.input-alignment-end.icon-only{gap:0.75rem}:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.width-full{display:-ms-flexbox;display:flex;max-inline-size:none}:host .container.width-full calcite-tile{-ms-flex:1 1 auto;flex:1 1 auto}:host(:hover) .container:not(.input-enabled){-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";var s=t("calcite_tile_select",function(){function t(t){n(this,t);this.calciteTileSelectChange=e(this,"calciteTileSelectChange",6);this.checked=false;this.disabled=false;this.hidden=false;this.inputEnabled=false;this.inputAlignment="start";this.type="radio";this.width="auto";this.guid="calcite-tile-select-".concat(o());this.focused=false}t.prototype.checkedChanged=function(t){this.input.checked=t};t.prototype.nameChanged=function(t){this.input.name=t};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){(t=this.input)===null||t===void 0?void 0:t.setFocus();return[2]}))}))};t.prototype.checkboxChangeHandler=function(t){var n=t.target;if(n===this.input){this.checked=n.checked}t.stopPropagation();this.calciteTileSelectChange.emit()};t.prototype.checkboxFocusBlurHandler=function(t){var n=t.target;if(n===this.input){this.focused=t.detail}t.stopPropagation()};t.prototype.radioButtonChangeHandler=function(t){var n=t.target;if(n===this.input){this.checked=n.checked}t.stopPropagation();this.calciteTileSelectChange.emit()};t.prototype.radioButtonCheckedChangeHandler=function(t){var n=t.target;if(n===this.input){this.checked=n.checked}t.stopPropagation()};t.prototype.radioButtonFocusBlurHandler=function(t){var n=t.target;if(n===this.input){this.focused=n.focused}t.stopPropagation()};t.prototype.click=function(t){var n=t.target;var e=["calcite-tile","calcite-tile-select"];if(e.includes(n.localName)){this.input.click()}};t.prototype.mouseenter=function(){if(this.input.localName==="calcite-radio-button"){this.input.hovered=true}if(this.input.localName==="calcite-checkbox"){this.input.hovered=true}};t.prototype.mouseleave=function(){if(this.input.localName==="calcite-radio-button"){this.input.hovered=false}if(this.input.localName==="calcite-checkbox"){this.input.hovered=false}};t.prototype.connectedCallback=function(){this.renderInput()};t.prototype.disconnectedCallback=function(){this.input.parentNode.removeChild(this.input)};t.prototype.componentDidRender=function(){r(this)};t.prototype.renderInput=function(){this.input=document.createElement(this.type==="radio"?"calcite-radio-button":"calcite-checkbox");this.input.checked=this.checked;this.input.disabled=this.disabled;this.input.hidden=this.hidden;this.input.id=this.guid;this.input.label=this.heading||this.name||"";if(this.name){this.input.name=this.name}if(this.value){this.input.value=this.value!=null?this.value.toString():""}this.el.insertAdjacentElement("beforeend",this.input)};t.prototype.render=function(){var t;var n=this,e=n.checked,a=n.description,o=n.disabled,r=n.focused,l=n.heading,s=n.icon,d=n.inputAlignment,u=n.inputEnabled,p=n.width;return i("div",{class:(t={checked:e,container:true},t[c.description]=Boolean(a),t[c.descriptionOnly]=Boolean(!l&&!s&&a),t.disabled=o,t.focused=r,t[c.heading]=Boolean(l),t[c.headingOnly]=l&&!s&&!a,t[c.icon]=Boolean(s),t[c.iconOnly]=!l&&s&&!a,t[c.inputAlignmentEnd]=d==="end",t[c.inputAlignmentStart]=d==="start",t[c.inputEnabled]=u,t[c.largeVisual]=l&&s&&!a,t[c.widthAuto]=p==="auto",t[c.widthFull]=p==="full",t)},i("calcite-tile",{active:e,description:a,embed:true,heading:l,icon:s}),i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{checked:["checkedChanged"],name:["nameChanged"]}},enumerable:false,configurable:true});return t}());s.style=l;var d="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}:host ::slotted(calcite-tile-select){-webkit-margin-after:1px;margin-block-end:1px;-webkit-margin-end:1px;margin-inline-end:1px}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";var u=t("calcite_tile_select_group",function(){function t(t){n(this,t);this.disabled=false;this.layout="horizontal"}t.prototype.componentDidRender=function(){r(this)};t.prototype.render=function(){return i("slot",null)};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());u.style=d}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.92
|
|
5
5
|
*/
|
|
6
6
|
System.register([],(function(e){"use strict";return{execute:function(){var t=e("C",{menu:"menu",defaultTrigger:"default-trigger"});var r=e("S",{tooltip:"tooltip",trigger:"trigger"});var i=e("I",{menu:"ellipsis"})}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.92
|
|
5
5
|
*/
|
|
6
|
-
import{r as a,h as t,g as i}from"./p-
|
|
6
|
+
import{r as a,h as t,g as i}from"./p-5c35dc5d.js";import{f as o}from"./p-40b1b217.js";import{u as n}from"./p-5d28e8d4.js";import"./p-6102c66d.js";import"./p-9331ee41.js";const e=class{constructor(t){a(this,t),this.appearance="outline",this.color="neutral",this.disabled=!1,this.icon="plus",this.loading=!1,this.scale="m",this.textEnabled=!1}componentDidRender(){n(this)}async setFocus(){o(this.buttonEl)}render(){const{appearance:a,color:i,disabled:o,loading:n,scale:e,textEnabled:r,icon:s,label:c,text:l}=this;return t("calcite-button",{appearance:"solid"===a?"solid":"outline",class:"button",color:i,disabled:o,iconStart:s,label:c,loading:n,ref:a=>{this.buttonEl=a},round:!0,scale:e,title:r?null:c||l||null,type:"button",width:"auto"},this.textEnabled?this.text:null)}get el(){return i(this)}};e.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";export{e as calcite_fab}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.92
|
|
5
5
|
*/
|
|
6
|
-
import{f as t,h as o}from"./p-
|
|
6
|
+
import{f as t,h as o}from"./p-5c35dc5d.js";import{a as e}from"./p-40b1b217.js";import{S as n}from"./p-92d60658.js";import{S as a}from"./p-58f0c5d8.js";const i=150,c=t=>t.reduce(((t,o)=>t+o),0)/t.length,l=t=>{const o=null==t?void 0:t.length;return{actionWidth:o?c(t.map((t=>t.clientWidth||0))):0,actionHeight:o?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:o,actionWidth:e,width:n,actionHeight:a,height:i,groupCount:c})=>Math.max(o-(({width:t,actionWidth:o,layout:e,height:n,actionHeight:a,groupCount:i})=>Math.floor((("horizontal"===e?t:n)-2*i)/("horizontal"===e?o:a)))({width:n,actionWidth:e,layout:t,height:i,actionHeight:a,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),d=({actionGroups:o,expanded:e,overflowCount:n})=>{let i=n;o.reverse().forEach((o=>{let n=0;const c=s(o).reverse();c.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=e)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&i--),i<1))),t(o)}))};function p({parent:t,expanded:o}){s(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=o)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=o))}const h=({expanded:t,intlExpand:n,intlCollapse:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:d})=>{const p="rtl"===e(c),h=t?a:n,u=["chevrons-left","chevrons-right"];p&&u.reverse();const f="end"===function(t,o){var e;return t||(null===(e=o.closest("calcite-shell-panel"))||void 0===e?void 0:e.position)||"start"}(l,c);return o("calcite-action",{icon:t?f?u[1]:u[0]:f?u[0]:u[1],onClick:i,ref:o=>(({tooltip:t,referenceElement:o,expanded:e,ref:n})=>(t&&(t.referenceElement=!e&&o?o:null),n&&n(o),o))({tooltip:r,referenceElement:o,expanded:t,ref:s}),scale:d,text:h,textEnabled:t})};export{h as E,d as a,r as b,l as g,i as o,s as q,p as t}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.92
|
|
5
5
|
*/
|
|
6
|
-
System.register(["./p-
|
|
6
|
+
System.register(["./p-61e53bb3.system.js","./p-06a73b31.system.js","./p-24f3ecd3.system.js","./p-54c0d659.system.js","./p-f5ffbb61.system.js","./p-a1327fdf.system.js","./p-95b2ce17.system.js","./p-5cfbeadf.system.js"],(function(t){"use strict";var n,a,e,i,o,r,c,s,l,m,u;return{setters:[function(t){n=t.r;a=t.h;e=t.F;i=t.g},function(t){o=t.S;r=t.I;c=t.T},function(t){s=t.g},function(t){l=t.S},function(t){m=t.c;u=t.d},function(){},function(){},function(){}],execute:function(){var p='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){-webkit-padding-before:0px;padding-block-start:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';var f=t("calcite_action_group",function(){function t(t){var a=this;n(this,t);this.expanded=false;this.layout="vertical";this.menuOpen=false;this.setMenuOpen=function(t){a.menuOpen=!!t.detail}}t.prototype.expandedHandler=function(){this.menuOpen=false};t.prototype.connectedCallback=function(){m(this)};t.prototype.disconnectedCallback=function(){u(this)};t.prototype.renderTooltip=function(){var t=this.el;var n=s(t,o.menuTooltip);return n?a("slot",{name:o.menuTooltip,slot:l.tooltip}):null};t.prototype.renderMenu=function(){var t=this,n=t.el,e=t.expanded,i=t.intlMore,m=t.menuOpen,u=t.scale,p=t.layout;var f=s(n,o.menuActions);return f?a("calcite-action-menu",{expanded:e,flipPlacements:["left","right"],label:i||c.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:m,placement:p==="horizontal"?"bottom-leading":"leading-start",scale:u},a("calcite-action",{icon:r.menu,scale:u,slot:l.trigger,text:i||c.more,textEnabled:e}),a("slot",{name:o.menuActions}),this.renderTooltip()):null};t.prototype.render=function(){return a(e,null,a("slot",null),this.renderMenu())};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}());f.style=p}}}));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.92
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as e,H as n,g as a}from"./p-5c35dc5d.js";import{g as s}from"./p-9331ee41.js";import{i as r}from"./p-59ac4143.js";import{c as o,d as c,g as l}from"./p-669ab5f2.js";import{s as h,c as u,d as m,H as d}from"./p-7836e97f.js";import{u as p}from"./p-5d28e8d4.js";import{n as f,i as b}from"./p-3d5a42c2.js";import"./p-40b1b217.js";import"./p-6102c66d.js";function w(t,i=!0){try{const e={hour:"2-digit",minute:"2-digit",timeZone:"UTC"};return i&&(e.second="2-digit"),new Intl.DateTimeFormat(t,e)}catch(i){throw new Error(`Invalid locale supplied while attempting to create a DateTime formatter: ${t}`)}}function k(t){const i=t.toString();return t>=0&&t<=9?i.padStart(2,"0"):i}function v(t){return y("meridiem",w(t).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))?"12":"24"}function y(t,i){var e,n,a,s;if(!t||!i)return null;if("hourSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"hour"===t))),n=i.indexOf(i.find((({type:t})=>"minute"===t))),a=i[t+1];return a&&"literal"===a.type&&n-t==2&&(null===(e=a.value)||void 0===e?void 0:e.trim())||null}if("minuteSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"minute"===t))),e=i.indexOf(i.find((({type:t})=>"second"===t))),a=i[t+1];return a&&"literal"===a.type&&e-t==2&&(null===(n=a.value)||void 0===n?void 0:n.trim())||null}if("secondSuffix"===t){const t=i.indexOf(i.find((({type:t})=>"second"===t))),e=i[t+1];return e&&"literal"===e.type&&(null===(a=e.value)||void 0===a?void 0:a.trim())||null}return(null===(s=i.find((({type:i})=>"meridiem"==t?"dayPeriod"===i:i===t)))||void 0===s?void 0:s.value)||null}function x(t){if(!t||t.startsWith(":")||t.endsWith(":"))return!1;const i=t.split(":");if(!(i.length>1&&i.length<4))return!1;const[e,n,a]=i,s=parseInt(i[0]),o=parseInt(i[1]),c=parseInt(i[2]),l=r(e)&&s>=0&&s<24,h=r(n)&&o>=0&&o<60,u=r(a)&&c>=0&&c<60;return!!(l&&h&&!a||l&&h&&u)||void 0}function g(t,i,e){if(!function(t,i){if("meridiem"===i)return"AM"===t||"PM"===t;if(!r(t))return!1;const e=Number(t);return"hour"===i?e>=0&&e<24:e>=0&&e<60}(t,i))return;const n=parseInt(t),a=new Date(Date.UTC(0,0,0,"hour"===i?n:"meridiem"===i?"AM"===t?0:12:0,"minute"===i?n:0,"second"===i?n:0));return a?y(i,w(e).formatToParts(a)):void 0}function D(t,i="en",e=!0){if(!x(t))return null;const{hour:n,minute:a,second:s="0"}=M(t),r=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(a),parseInt(s))),o=w(i,e);return(null==o?void 0:o.format(r))||null}function I(t,i="en"){if(!x(t))return null;const{hour:e,minute:n,second:a="0"}=M(t),s=new Date(Date.UTC(0,0,0,parseInt(e),parseInt(n),parseInt(a)));if(s){const t=w(i).formatToParts(s);return{localizedHour:y("hour",t),localizedHourSuffix:y("hourSuffix",t),localizedMinute:y("minute",t),localizedMinuteSuffix:y("minuteSuffix",t),localizedSecond:y("second",t),localizedSecondSuffix:y("secondSuffix",t),localizedMeridiem:y("meridiem",t)}}return null}function M(t){if(x(t)){const[i,e,n]=t.split(":");return{hour:i,minute:e,second:n}}return{hour:null,minute:null,second:null}}const A=class{constructor(e){t(this,e),this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7),this.active=!1,this.disabled=!1,this.readOnly=!1,this.locale=document.documentElement.lang||navigator.language||"en",this.required=!1,this.scale="m",this.placement="auto",this.step=60,this.value=null,this.internalValueChange=!1,this.previousValidValue=null,this.referenceElementId=`input-time-picker-${s()}`,this.calciteInternalInputBlurHandler=()=>{this.active=!1;const t=this.shouldIncludeSeconds(),i=D(this.calciteInputEl.value,this.locale,t);this.setInputValue(i||D(this.value,this.locale,t))},this.calciteInternalInputFocusHandler=t=>{this.readOnly||(this.active=!0,t.stopPropagation())},this.calciteInputInputHandler=t=>{this.setValue({value:t.target.value})},this.timePickerChangeHandler=t=>{t.stopPropagation(),this.setValue({value:t.target.value,origin:"time-picker"})},this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;i||("Enter"===e&&h(this)&&t.preventDefault(),"Escape"===e&&this.active&&(this.active=!1,t.preventDefault()))},this.setCalcitePopoverEl=t=>{this.popoverEl=t},this.setCalciteInputEl=t=>{this.calciteInputEl=t},this.setCalciteTimePickerEl=t=>{this.calciteTimePickerEl=t},this.setInputValue=t=>{this.calciteInputEl&&(this.calciteInputEl.value=t)},this.setValue=({value:t,origin:i="input"})=>{const e=this.value,n=function(t){if(!x(t))return null;const[i,e,n]=t.split(":"),a=k(parseInt(i)),s=k(parseInt(e));return n?`${a}:${s}:${k(parseInt(n))}`:`${a}:${s}`}(t),a=D(n,this.locale,this.shouldIncludeSeconds());this.internalValueChange="external"!==i&&"loading"!==i;const s="loading"!==i&&"external"!==i&&(t!==this.previousValidValue&&!t||!(this.previousValidValue||!n)||n!==this.previousValidValue&&n);t?(s&&(this.previousValidValue=n),n&&n!==this.value&&(this.value=n),this.localizedValue=a):(this.value=t,this.localizedValue=null),"time-picker"!==i&&"external"!==i||this.setInputValue(a),s&&(this.calciteInputTimePickerChange.emit().defaultPrevented?(this.internalValueChange=!1,this.value=e,this.setInputValue(e),this.previousValidValue=e):this.previousValidValue=n)}}activeHandler(){this.disabled||this.readOnly?this.active=!1:this.reposition()}handleDisabledAndReadOnlyChange(t){t||(this.active=!1)}localeWatcher(t){this.setInputValue(D(this.value,t,this.shouldIncludeSeconds()))}valueWatcher(t){this.internalValueChange||this.setValue({value:t,origin:"external"}),this.internalValueChange=!1}clickHandler(t){t.composedPath().includes(this.calciteTimePickerEl)||this.setFocus()}timePickerBlurHandler(t){t.preventDefault(),t.stopPropagation(),this.active=!1}timePickerFocusHandler(t){t.preventDefault(),t.stopPropagation(),this.readOnly||(this.active=!0)}async setFocus(){var t;null===(t=this.calciteInputEl)||void 0===t||t.setFocus()}async reposition(){var t;null===(t=this.popoverEl)||void 0===t||t.reposition()}onLabelClick(){this.setFocus()}shouldIncludeSeconds(){return this.step<60}connectedCallback(){this.value&&this.setValue({value:x(this.value)?this.value:void 0,origin:"loading"}),o(this),u(this)}componentDidLoad(){this.setInputValue(this.localizedValue)}disconnectedCallback(){c(this),m(this)}componentDidRender(){p(this)}render(){const t=`${this.referenceElementId}-popover`;return e(n,{onKeyDown:this.keyDownHandler},e("div",{"aria-controls":t,"aria-haspopup":"dialog","aria-label":this.name,"aria-owns":t,id:this.referenceElementId,role:"combobox"},e("calcite-input",{disabled:this.disabled,icon:"clock",label:l(this),onCalciteInputInput:this.calciteInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.calciteInternalInputFocusHandler,readOnly:this.readOnly,ref:this.setCalciteInputEl,scale:this.scale,step:this.step})),e("calcite-popover",{id:t,label:"Time Picker",open:this.active,placement:this.placement,ref:this.setCalcitePopoverEl,referenceElement:this.referenceElementId,triggerDisabled:!0},e("calcite-time-picker",{intlHour:this.intlHour,intlHourDown:this.intlHourDown,intlHourUp:this.intlHourUp,intlMeridiem:this.intlMeridiem,intlMeridiemDown:this.intlMeridiemDown,intlMeridiemUp:this.intlMeridiemUp,intlMinute:this.intlMinute,intlMinuteDown:this.intlMinuteDown,intlMinuteUp:this.intlMinuteUp,intlSecond:this.intlSecond,intlSecondDown:this.intlSecondDown,intlSecondUp:this.intlSecondUp,lang:this.locale,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,ref:this.setCalciteTimePickerEl,scale:this.scale,step:this.step,value:this.value})),e(d,{component:this}))}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],locale:["localeWatcher"],value:["valueWatcher"]}}};A.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";const z={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",delimiter:"delimiter",hour:"hour",input:"input",meridiem:"meridiem",minute:"minute",second:"second",showMeridiem:"show-meridiem",showSecond:"show-second","scale-s":"scale-s","scale-m":"scale-m","scale-l":"scale-l",timePicker:"time-picker",meridiemStart:"meridiem--start"},S=class{constructor(e){t(this,e),this.calciteInternalTimePickerBlur=i(this,"calciteInternalTimePickerBlur",6),this.calciteInternalTimePickerChange=i(this,"calciteInternalTimePickerChange",6),this.calciteInternalTimePickerFocus=i(this,"calciteInternalTimePickerFocus",6),this.intlHour="Hour",this.intlHourDown="Decrease hour",this.intlHourUp="Increase hour",this.intlMeridiem="AM/PM",this.intlMeridiemDown="Decrease AM/PM",this.intlMeridiemUp="Increase AM/PM",this.intlMinute="Minute",this.intlMinuteDown="Decrease minute",this.intlMinuteUp="Increase minute",this.intlSecond="Second",this.intlSecondDown="Decrease second",this.intlSecondUp="Increase second",this.locale=document.documentElement.lang||navigator.language||"en",this.scale="m",this.step=60,this.value=null,this.showSecond=this.step<60,this.decrementHour=()=>{const t=this.hour?"00"===this.hour?23:parseInt(this.hour)-1:0;this.setValuePart("hour",t)},this.decrementMeridiem=()=>{this.setValuePart("meridiem","PM"===this.meridiem?"AM":"PM")},this.decrementMinuteOrSecond=t=>{let i;if(r(this[t])){const e=parseInt(this[t]);i=0===e?59:e-1}else i=59;this.setValuePart(t,i)},this.decrementMinute=()=>{this.decrementMinuteOrSecond("minute")},this.decrementSecond=()=>{this.decrementMinuteOrSecond("second")},this.focusHandler=t=>{this.activeEl=t.currentTarget},this.hourDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementHour()},this.hourKeyDownHandler=t=>{const{key:i}=t;if(f.includes(i)){const t=parseInt(i);let e;if(r(this.hour))switch(this.hourCycle){case"12":e="01"===this.hour&&t>=0&&t<=2?`1${t}`:t;break;case"24":e="01"===this.hour?`1${t}`:"02"===this.hour&&t>=0&&t<=3?`2${t}`:t}else e=t;this.setValuePart("hour",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("hour",null);break;case"ArrowDown":t.preventDefault(),this.decrementHour();break;case"ArrowUp":t.preventDefault(),this.incrementHour();break;case" ":t.preventDefault()}},this.hourUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementHour()},this.incrementMeridiem=()=>{this.setValuePart("meridiem","AM"===this.meridiem?"PM":"AM")},this.incrementHour=()=>{const t=r(this.hour)?"23"===this.hour?0:parseInt(this.hour)+1:1;this.setValuePart("hour",t)},this.incrementMinuteOrSecond=t=>{const i=r(this[t])?"59"===this[t]?0:parseInt(this[t])+1:0;this.setValuePart(t,i)},this.incrementMinute=()=>{this.incrementMinuteOrSecond("minute")},this.incrementSecond=()=>{this.incrementMinuteOrSecond("second")},this.meridiemDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementMeridiem()},this.meridiemKeyDownHandler=t=>{switch(t.key){case"a":this.setValuePart("meridiem","AM");break;case"p":this.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":this.setValuePart("meridiem",null);break;case"ArrowUp":t.preventDefault(),this.incrementMeridiem();break;case"ArrowDown":t.preventDefault(),this.decrementMeridiem();break;case" ":t.preventDefault()}},this.meridiemUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementMeridiem()},this.minuteDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementMinute()},this.minuteKeyDownHandler=t=>{const{key:i}=t;if(f.includes(i)){const t=parseInt(i);let e;if(r(this.minute)&&this.minute.startsWith("0")){const i=parseInt(this.minute);e=i>5?t:`${i}${t}`}else e=t;this.setValuePart("minute",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("minute",null);break;case"ArrowDown":t.preventDefault(),this.decrementMinute();break;case"ArrowUp":t.preventDefault(),this.incrementMinute();break;case" ":t.preventDefault()}},this.minuteUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementMinute()},this.secondDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementSecond()},this.secondKeyDownHandler=t=>{const{key:i}=t;if(f.includes(i)){const t=parseInt(i);let e;if(r(this.second)&&this.second.startsWith("0")){const i=parseInt(this.second);e=i>5?t:`${i}${t}`}else e=t;this.setValuePart("second",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("second",null);break;case"ArrowDown":t.preventDefault(),this.decrementSecond();break;case"ArrowUp":t.preventDefault(),this.incrementSecond();break;case" ":t.preventDefault()}},this.secondUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementSecond()},this.setHourEl=t=>this.hourEl=t,this.setMeridiemEl=t=>this.meridiemEl=t,this.setMinuteEl=t=>this.minuteEl=t,this.setSecondEl=t=>this.secondEl=t,this.setValue=(t,i=!0)=>{if(x(t)){const{hour:i,minute:e,second:n}=M(t),{localizedHour:a,localizedHourSuffix:s,localizedMinute:o,localizedMinuteSuffix:c,localizedSecond:l,localizedSecondSuffix:h,localizedMeridiem:u}=I(t,this.locale);if(this.localizedHour=a,this.localizedHourSuffix=s,this.localizedMinute=o,this.localizedMinuteSuffix=c,this.localizedSecond=l,this.localizedSecondSuffix=h,this.hour=i,this.minute=e,this.second=n,u){this.localizedMeridiem=u,this.meridiem=function(t){if(!r(t))return null;const i=parseInt(t);return i>=0&&i<=11?"AM":"PM"}(this.hour);const i=function(t,i="en"){if(!x(t))return null;const{hour:e,minute:n,second:a="0"}=M(t),s=new Date(Date.UTC(0,0,0,parseInt(e),parseInt(n),parseInt(a)));return s?w(i).formatToParts(s):null}(t,this.locale);this.meridiemOrder=this.getMeridiemOrder(i)}}else this.hour=null,this.localizedHour=null,this.localizedHourSuffix=null,this.localizedMeridiem=null,this.localizedMinute=null,this.localizedMinuteSuffix=null,this.localizedSecond=null,this.localizedSecondSuffix=null,this.meridiem=null,this.minute=null,this.second=null,this.value=null;i&&this.calciteInternalTimePickerChange.emit()},this.setValuePart=(t,i,e=!0)=>{var n,a;if("meridiem"===t){if(this.meridiem=i,r(this.hour)){const t=parseInt(this.hour);switch(i){case"AM":t>=12&&(this.hour=k(t-12));break;case"PM":t<12&&(this.hour=k(t+12))}this.localizedHour=g(this.hour,"hour",this.locale)}}else this[t]="number"==typeof i?k(i):i,this[`localized${a=t,a.charAt(0).toUpperCase()+a.slice(1)}`]=g(this[t],t,this.locale);this.value=this.hour&&this.minute?`${this.hour}:${this.minute}:${this.second&&this.showSecond?this.second:"00"}`:null,this.localizedMeridiem=this.value?(null===(n=I(this.value,this.locale))||void 0===n?void 0:n.localizedMeridiem)||null:g(this.meridiem,"meridiem",this.locale),e&&this.calciteInternalTimePickerChange.emit()}}localeWatcher(t){this.hourCycle=v(t),this.setValue(this.value,!1)}valueWatcher(t){this.setValue(t,!1)}hostBlurHandler(){this.calciteInternalTimePickerBlur.emit()}hostFocusHandler(){this.calciteInternalTimePickerFocus.emit()}keyDownHandler(t){const{defaultPrevented:i,key:e}=t;if(!i)switch(this.activeEl){case this.hourEl:"ArrowRight"===e&&(this.setFocus("minute"),t.preventDefault());break;case this.minuteEl:switch(e){case"ArrowLeft":this.setFocus("hour"),t.preventDefault();break;case"ArrowRight":60!==this.step?(this.setFocus("second"),t.preventDefault()):"12"===this.hourCycle&&(this.setFocus("meridiem"),t.preventDefault())}break;case this.secondEl:switch(e){case"ArrowLeft":this.setFocus("minute"),t.preventDefault();break;case"ArrowRight":"12"===this.hourCycle&&(this.setFocus("meridiem"),t.preventDefault())}break;case this.meridiemEl:switch(e){case"ArrowLeft":60!==this.step?(this.setFocus("second"),t.preventDefault()):(this.setFocus("minute"),t.preventDefault())}}}async setFocus(t){var i;null===(i=this[`${t||"hour"}El`])||void 0===i||i.focus()}buttonActivated(t){const{key:i}=t;return" "===i&&t.preventDefault(),b(i)}getMeridiemOrder(t){return t&&"ar"!==this.locale&&"he"!==this.locale?t.findIndex((t=>t.value===this.localizedMeridiem)):0}connectedCallback(){this.setValue(this.value,!1),this.hourCycle=v(this.locale)}render(){const t=r(this.hour),i="s"===this.scale||"m"===this.scale?"s":"m",n=r(this.minute),a=r(this.second),s="12"===this.hourCycle;return e("div",{class:{[z.timePicker]:!0,[z.showMeridiem]:s,[z.showSecond]:this.showSecond,[z[`scale-${this.scale}`]]:!0},dir:"ltr"},e("div",{class:z.column,role:"group"},e("span",{"aria-label":this.intlHourUp,class:{[z.button]:!0,[z.buttonHourUp]:!0,[z.buttonTopLeft]:!0},onClick:this.incrementHour,onKeyDown:this.hourUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.intlHour,"aria-valuemax":"23","aria-valuemin":"1","aria-valuenow":t&&parseInt(this.hour)||"0","aria-valuetext":this.hour,class:{[z.input]:!0,[z.hour]:!0},onFocus:this.focusHandler,onKeyDown:this.hourKeyDownHandler,ref:this.setHourEl,role:"spinbutton",tabIndex:0},this.localizedHour||"--"),e("span",{"aria-label":this.intlHourDown,class:{[z.button]:!0,[z.buttonHourDown]:!0,[z.buttonBottomLeft]:!0},onClick:this.decrementHour,onKeyDown:this.hourDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:i}))),e("span",{class:z.delimiter},this.localizedHourSuffix),e("div",{class:z.column,role:"group"},e("span",{"aria-label":this.intlMinuteUp,class:{[z.button]:!0,[z.buttonMinuteUp]:!0},onClick:this.incrementMinute,onKeyDown:this.minuteUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.intlMinute,"aria-valuemax":"12","aria-valuemin":"1","aria-valuenow":n&&parseInt(this.minute)||"0","aria-valuetext":this.minute,class:{[z.input]:!0,[z.minute]:!0},onFocus:this.focusHandler,onKeyDown:this.minuteKeyDownHandler,ref:this.setMinuteEl,role:"spinbutton",tabIndex:0},this.localizedMinute||"--"),e("span",{"aria-label":this.intlMinuteDown,class:{[z.button]:!0,[z.buttonMinuteDown]:!0},onClick:this.decrementMinute,onKeyDown:this.minuteDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:i}))),this.showSecond&&e("span",{class:z.delimiter},this.localizedMinuteSuffix),this.showSecond&&e("div",{class:z.column,role:"group"},e("span",{"aria-label":this.intlSecondUp,class:{[z.button]:!0,[z.buttonSecondUp]:!0},onClick:this.incrementSecond,onKeyDown:this.secondUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.intlSecond,"aria-valuemax":"59","aria-valuemin":"0","aria-valuenow":a&&parseInt(this.second)||"0","aria-valuetext":this.second,class:{[z.input]:!0,[z.second]:!0},onFocus:this.focusHandler,onKeyDown:this.secondKeyDownHandler,ref:this.setSecondEl,role:"spinbutton",tabIndex:0},this.localizedSecond||"--"),e("span",{"aria-label":this.intlSecondDown,class:{[z.button]:!0,[z.buttonSecondDown]:!0},onClick:this.decrementSecond,onKeyDown:this.secondDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:i}))),this.localizedSecondSuffix&&e("span",{class:z.delimiter},this.localizedSecondSuffix),s&&e("div",{class:{[z.column]:!0,[z.meridiemStart]:0===this.meridiemOrder},role:"group"},e("span",{"aria-label":this.intlMeridiemUp,class:{[z.button]:!0,[z.buttonMeridiemUp]:!0,[z.buttonTopRight]:!0},onClick:this.incrementMeridiem,onKeyDown:this.meridiemUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:i})),e("span",{"aria-label":this.intlMeridiem,"aria-valuemax":"2","aria-valuemin":"1","aria-valuenow":"PM"===this.meridiem?"2":"1","aria-valuetext":this.meridiem,class:{[z.input]:!0,[z.meridiem]:!0},onFocus:this.focusHandler,onKeyDown:this.meridiemKeyDownHandler,ref:this.setMeridiemEl,role:"spinbutton",tabIndex:0},this.localizedMeridiem||"--"),e("span",{"aria-label":this.intlMeridiemDown,class:{[z.button]:!0,[z.buttonMeridiemDown]:!0,[z.buttonBottomRight]:!0},onClick:this.decrementMeridiem,onKeyDown:this.meridiemDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:i}))))}get el(){return a(this)}static get watchers(){return{locale:["localeWatcher"],value:["valueWatcher"]}}};S.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block}.time-picker{display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius)}.time-picker .column{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.time-picker .meridiem--start{-ms-flex-order:-1;order:-1}.time-picker .button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px}.time-picker .button:active{background-color:var(--calcite-ui-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-ui-text-3)}.time-picker .input{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:0.75rem;padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:1rem;padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:1.25rem;padding-inline-end:1.25rem}";export{A as calcite_input_time_picker,S as calcite_time_picker}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.92
|
|
5
5
|
*/
|
|
6
6
|
const o={menuActions:"menu-actions",menuTooltip:"menu-tooltip"},e={more:"More"},n={menu:"ellipsis"};export{n as I,o as S,e as T}
|