@esri/calcite-components 1.0.0-next.401 → 1.0.0-next.404
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/tiledImageryLayer16.json +1 -0
- package/dist/calcite/assets/icon/tiledImageryLayer24.json +1 -0
- package/dist/calcite/assets/icon/tiledImageryLayer32.json +1 -0
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/{p-e5420c67.entry.js → p-00d4b36e.entry.js} +1 -1
- package/dist/calcite/{p-b78f6de5.system.entry.js → p-02854dce.system.entry.js} +1 -1
- package/dist/calcite/{p-9ae39d7f.entry.js → p-02a3ad67.entry.js} +1 -1
- package/dist/calcite/{p-95368cd1.entry.js → p-02b4bcec.entry.js} +1 -1
- package/dist/calcite/{p-be231b84.entry.js → p-02cc50b9.entry.js} +1 -1
- package/dist/calcite/{p-374c3c70.entry.js → p-03a6680c.entry.js} +1 -1
- package/dist/calcite/{p-ada75056.system.js → p-08c58589.system.js} +1 -1
- package/dist/calcite/{p-5c2545f0.system.entry.js → p-0bd5bb31.system.entry.js} +1 -1
- package/dist/calcite/p-11413626.system.entry.js +5 -0
- package/dist/calcite/{p-496d3b56.system.entry.js → p-1208b748.system.entry.js} +1 -1
- package/dist/calcite/{p-fda73553.system.entry.js → p-129954f1.system.entry.js} +1 -1
- package/dist/calcite/{p-dcfb3261.system.entry.js → p-12a4eac6.system.entry.js} +1 -1
- package/dist/calcite/{p-153af136.entry.js → p-1370cabf.entry.js} +1 -1
- package/dist/calcite/{p-be87f022.system.entry.js → p-1a34e1df.system.entry.js} +1 -1
- package/dist/calcite/p-1a3a366d.system.js +1 -1
- package/dist/calcite/{p-631e416a.system.js → p-1b45e559.system.js} +1 -1
- package/dist/calcite/p-1d345756.system.entry.js +5 -0
- package/dist/calcite/{p-f3a85d19.system.entry.js → p-1f82294e.system.entry.js} +1 -1
- package/dist/calcite/{p-e3e09c27.entry.js → p-1fe5a777.entry.js} +1 -1
- package/dist/calcite/{p-2fe7d8f0.js → p-2277b440.js} +1 -1
- package/dist/calcite/{p-43353f87.entry.js → p-26bcdb22.entry.js} +1 -1
- package/dist/calcite/{p-cfcb2161.entry.js → p-2a3d08b7.entry.js} +1 -1
- package/dist/calcite/{p-81bdea6f.entry.js → p-2bf1aa1e.entry.js} +1 -1
- package/dist/calcite/{p-aceeb62f.entry.js → p-2c293ed2.entry.js} +1 -1
- package/dist/calcite/{p-0a8635a5.system.entry.js → p-2eb067c8.system.entry.js} +1 -1
- package/dist/calcite/{p-14bac901.system.entry.js → p-313fa6fa.system.entry.js} +1 -1
- package/dist/calcite/{p-8456e717.system.entry.js → p-32b18afe.system.entry.js} +1 -1
- package/dist/calcite/{p-e39100e6.system.entry.js → p-3543ddfe.system.entry.js} +1 -1
- package/dist/calcite/{p-e3f19c5f.system.entry.js → p-35461165.system.entry.js} +1 -1
- package/dist/calcite/{p-2e29554c.js → p-362522e5.js} +0 -0
- package/dist/calcite/{p-880249e6.system.entry.js → p-36fa8b0f.system.entry.js} +1 -1
- package/dist/calcite/{p-1c0b4e1a.system.entry.js → p-383b48a0.system.entry.js} +1 -1
- package/dist/calcite/{p-674bdae8.system.entry.js → p-38c4fbab.system.entry.js} +1 -1
- package/dist/calcite/{p-c11cbced.system.entry.js → p-3c773436.system.entry.js} +1 -1
- package/dist/calcite/{p-233fae89.entry.js → p-3e522dbe.entry.js} +1 -1
- package/dist/calcite/{p-a5b366e8.entry.js → p-417c7d5d.entry.js} +1 -1
- package/dist/calcite/{p-f3e54d3c.system.entry.js → p-41806a13.system.entry.js} +1 -1
- package/dist/calcite/{p-141c978b.system.entry.js → p-43ec3d32.system.entry.js} +1 -1
- package/dist/calcite/{p-22ad05e8.entry.js → p-44dcac16.entry.js} +1 -1
- package/dist/calcite/{p-a8ac1295.system.entry.js → p-475869c9.system.entry.js} +1 -1
- package/dist/calcite/{p-fee9511c.system.entry.js → p-4a52ff14.system.entry.js} +1 -1
- package/dist/calcite/{p-3dd50bac.system.entry.js → p-4ff0e3a9.system.entry.js} +1 -1
- package/dist/calcite/{p-b4a23fdf.entry.js → p-55fa7908.entry.js} +1 -1
- package/dist/calcite/{p-5a77fd17.entry.js → p-56d787e7.entry.js} +1 -1
- package/dist/calcite/{p-7f1ff224.system.entry.js → p-579d1f1a.system.entry.js} +1 -1
- package/dist/calcite/{p-f4d9c369.system.entry.js → p-5a4b0056.system.entry.js} +1 -1
- package/dist/calcite/{p-838a07fc.system.entry.js → p-5a7b1bd1.system.entry.js} +2 -2
- package/dist/calcite/p-5d52246b.system.js +5 -0
- package/dist/calcite/p-5ea8668d.entry.js +5 -0
- package/dist/calcite/{p-caad6f3c.entry.js → p-633a2c7f.entry.js} +1 -1
- package/dist/calcite/{p-49992d49.entry.js → p-6809aead.entry.js} +1 -1
- package/dist/calcite/p-6a3357f9.system.js +5 -0
- package/dist/calcite/{p-e61e5cd6.entry.js → p-71d1bfb2.entry.js} +1 -1
- package/dist/calcite/p-743597e4.entry.js +5 -0
- package/dist/calcite/{p-786b8250.entry.js → p-7863deb5.entry.js} +1 -1
- package/dist/calcite/p-793659d0.entry.js +5 -0
- package/dist/calcite/{p-655c4dfd.entry.js → p-7a52aa2f.entry.js} +1 -1
- package/dist/calcite/{p-ac33eb33.entry.js → p-7ccf6273.entry.js} +1 -1
- package/dist/calcite/{p-fe3fff79.entry.js → p-7d937b47.entry.js} +1 -1
- package/dist/calcite/{p-570074bd.entry.js → p-7d9f20b8.entry.js} +1 -1
- package/dist/calcite/{p-869eb8f9.entry.js → p-7dfe915f.entry.js} +1 -1
- package/dist/calcite/{p-d86f287b.entry.js → p-80ab216e.entry.js} +1 -1
- package/dist/calcite/{p-5f41045a.entry.js → p-818b3ac7.entry.js} +1 -1
- package/dist/calcite/p-81a3de30.system.entry.js +5 -0
- package/dist/calcite/p-81f7b919.entry.js +5 -0
- package/dist/calcite/{p-e469c1bc.entry.js → p-82c142d8.entry.js} +1 -1
- package/dist/calcite/{p-b1a43a5f.system.entry.js → p-847fc3a4.system.entry.js} +1 -1
- package/dist/calcite/{p-fc122064.entry.js → p-84f8db8e.entry.js} +1 -1
- package/dist/calcite/{p-7d4316a1.system.entry.js → p-8dcb169e.system.entry.js} +1 -1
- package/dist/calcite/p-8f93be14.system.js +5 -0
- package/dist/calcite/{p-f974ab2f.entry.js → p-93bf2f70.entry.js} +1 -1
- package/dist/calcite/p-993a9701.system.entry.js +5 -0
- package/dist/calcite/{p-10b1b39a.system.entry.js → p-99da584e.system.entry.js} +1 -1
- package/dist/calcite/{p-39f8d232.entry.js → p-9c86f528.entry.js} +1 -1
- package/dist/calcite/{p-49782820.entry.js → p-9cfa3928.entry.js} +1 -1
- package/dist/calcite/{p-ab14b0a2.system.js → p-9d071e3c.system.js} +1 -1
- package/dist/calcite/{p-779c6e3b.system.entry.js → p-9d102b23.system.entry.js} +1 -1
- package/dist/calcite/{p-9c7544ce.entry.js → p-9db1013c.entry.js} +1 -1
- package/dist/calcite/{p-9eb4062a.entry.js → p-9f2e3d1e.entry.js} +1 -1
- package/dist/calcite/p-a117af56.system.js +1 -1
- package/dist/calcite/{p-513bc44f.system.entry.js → p-a4cc864a.system.entry.js} +1 -1
- package/dist/calcite/{p-f5739197.entry.js → p-a5397c9d.entry.js} +1 -1
- package/dist/calcite/{p-a5e0e140.entry.js → p-a7d56723.entry.js} +1 -1
- package/dist/calcite/p-a7e2bf9b.system.entry.js +5 -0
- package/dist/calcite/{p-2218fef5.entry.js → p-afc6c399.entry.js} +1 -1
- package/dist/calcite/{p-52f03db0.entry.js → p-b03b03d5.entry.js} +1 -1
- package/dist/calcite/{p-d6f6b6c1.entry.js → p-b55643f5.entry.js} +1 -1
- package/dist/calcite/{p-479f8f07.entry.js → p-b58cdaca.entry.js} +1 -1
- package/dist/calcite/{p-86b63ebb.system.entry.js → p-b76ee102.system.entry.js} +1 -1
- package/dist/calcite/{p-5007d2f5.entry.js → p-b85064fc.entry.js} +1 -1
- package/dist/calcite/{p-c1d5aac6.js → p-ba2c5e07.js} +1 -1
- package/dist/calcite/{p-a5f8f3a1.entry.js → p-ba7ac94f.entry.js} +1 -1
- package/dist/calcite/p-bac18793.system.entry.js +5 -0
- package/dist/calcite/{p-bde80af8.entry.js → p-bfaed65e.entry.js} +1 -1
- package/dist/calcite/p-c0e695bd.js +5 -0
- package/dist/calcite/{p-40c3d7a6.system.entry.js → p-c150d992.system.entry.js} +1 -1
- package/dist/calcite/p-c5e5263d.system.entry.js +5 -0
- package/dist/calcite/{p-82d85d32.system.entry.js → p-c6851d0b.system.entry.js} +1 -1
- package/dist/calcite/p-c9f280c1.system.js +5 -0
- package/dist/calcite/{p-66ca7309.entry.js → p-cc894f09.entry.js} +1 -1
- package/dist/calcite/{p-2e351904.system.entry.js → p-cd406e29.system.entry.js} +1 -1
- package/dist/calcite/{p-c1c37da9.entry.js → p-d08d1450.entry.js} +1 -1
- package/dist/calcite/{p-7b5207ea.system.entry.js → p-d1060fb1.system.entry.js} +1 -1
- package/dist/calcite/p-d359def7.system.entry.js +5 -0
- package/dist/calcite/{p-46b6888c.entry.js → p-d648a677.entry.js} +1 -1
- package/dist/calcite/{p-5ac1f5fb.system.entry.js → p-d7395b71.system.entry.js} +1 -1
- package/dist/calcite/{p-307c74d9.system.entry.js → p-da78fbb6.system.entry.js} +1 -1
- package/dist/calcite/p-dc9ff95e.system.entry.js +5 -0
- package/dist/calcite/p-dcf17450.system.entry.js +5 -0
- package/dist/calcite/{p-04bf9bca.system.entry.js → p-df3775ba.system.entry.js} +1 -1
- package/dist/calcite/p-e2047621.system.js +1 -1
- package/dist/calcite/{p-d2bcb3ae.entry.js → p-e23de208.entry.js} +1 -1
- package/dist/calcite/{p-bed4ea20.system.js → p-e4c317a4.system.js} +1 -1
- package/dist/calcite/{p-fdd3ea5e.entry.js → p-e4e38307.entry.js} +1 -1
- package/dist/calcite/{p-050a406e.entry.js → p-e7dd0a9f.entry.js} +1 -1
- package/dist/calcite/{p-9ca6c750.system.entry.js → p-e88fd904.system.entry.js} +1 -1
- package/dist/calcite/p-ec9bab33.system.js +2 -2
- package/dist/calcite/{p-30f0e22d.system.entry.js → p-ee88180e.system.entry.js} +1 -1
- package/dist/calcite/{p-53220585.system.entry.js → p-efb21590.system.entry.js} +2 -2
- package/dist/calcite/{p-c5463268.system.entry.js → p-f20b0a41.system.entry.js} +1 -1
- package/dist/calcite/{p-f763b1e7.system.entry.js → p-f31de031.system.entry.js} +1 -1
- package/dist/calcite/{p-2aea5398.entry.js → p-f542ba26.entry.js} +1 -1
- package/dist/calcite/p-f56ce7ea.js +5 -0
- package/dist/calcite/p-f5e91588.system.entry.js +5 -0
- package/dist/calcite/{p-f01b987c.entry.js → p-f681fbba.entry.js} +1 -1
- package/dist/calcite/{p-04bf684c.entry.js → p-f6d994ff.entry.js} +1 -1
- package/dist/calcite/p-f7f9859b.system.entry.js +5 -0
- package/dist/calcite/{p-444e31b1.entry.js → p-f9d1a58e.entry.js} +1 -1
- package/dist/calcite/{p-d9499121.system.entry.js → p-fabae349.system.entry.js} +1 -1
- package/dist/calcite/{p-69b126e0.system.entry.js → p-fb52463e.system.entry.js} +2 -2
- package/dist/calcite/{p-f908d72a.system.entry.js → p-fd0d5d44.system.entry.js} +1 -1
- package/dist/calcite/p-fedbc6e6.js +5 -0
- package/dist/calcite/{p-668c5e70.js → p-ff39562e.js} +1 -1
- package/dist/cjs/{ExpandToggle-afd11431.js → ExpandToggle-dbdede53.js} +1 -1
- package/dist/cjs/{Heading-ef16f5df.js → Heading-1870bc0e.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-pad.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action.cjs.entry.js +1 -1
- package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-card.cjs.entry.js +2 -2
- package/dist/cjs/calcite-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/calcite-chip.cjs.entry.js +2 -2
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +3 -3
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
- package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +34 -5
- package/dist/cjs/calcite-input.cjs.entry.js +2 -2
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +2 -2
- package/dist/cjs/calcite-notice.cjs.entry.js +2 -2
- package/dist/cjs/calcite-option_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-rating.cjs.entry.js +2 -2
- package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tab_4.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tree_2.cjs.entry.js +5 -3
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite.cjs.js +2 -2
- package/dist/cjs/{conditionalSlot-92505fba.js → conditionalSlot-2917212e.js} +1 -1
- package/dist/cjs/{form-237cf392.js → form-d540f0cb.js} +1 -1
- package/dist/cjs/{index-6b5d2de5.js → index-8760acaf.js} +23 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{resources-8a9f4e9c.js → resources-1e94d43c.js} +1 -1
- package/dist/cjs/{resources-4850fd7c.js → resources-415f797b.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +2 -2
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/icon/assets/icon/tiledImageryLayer16.json +1 -0
- package/dist/collection/components/icon/assets/icon/tiledImageryLayer24.json +1 -0
- package/dist/collection/components/icon/assets/icon/tiledImageryLayer32.json +1 -0
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +2 -2
- package/dist/collection/components/time-picker/resources.js +2 -1
- package/dist/collection/components/time-picker/time-picker.css +3 -0
- package/dist/collection/components/time-picker/time-picker.js +17 -2
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree/tree.js +2 -2
- package/dist/collection/components/tree-item/tree-item.js +3 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/time.js +13 -0
- package/dist/components/calcite-tree-item.js +3 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/time-picker.js +32 -3
- package/dist/custom-elements/index.js +37 -6
- package/dist/esm/{ExpandToggle-1872d0ab.js → ExpandToggle-ed0ae55a.js} +1 -1
- package/dist/esm/{Heading-0793af93.js → Heading-8289fa96.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +1 -1
- package/dist/esm/calcite-action-bar.entry.js +3 -3
- package/dist/esm/calcite-action-group.entry.js +2 -2
- package/dist/esm/calcite-action-menu.entry.js +2 -2
- package/dist/esm/calcite-action-pad.entry.js +3 -3
- package/dist/esm/calcite-action.entry.js +1 -1
- package/dist/esm/calcite-alert.entry.js +1 -1
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block_2.entry.js +3 -3
- package/dist/esm/calcite-button.entry.js +1 -1
- package/dist/esm/calcite-card.entry.js +2 -2
- package/dist/esm/calcite-checkbox.entry.js +2 -2
- package/dist/esm/calcite-chip.entry.js +2 -2
- package/dist/esm/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +3 -3
- package/dist/esm/calcite-date-picker_4.entry.js +3 -3
- package/dist/esm/calcite-dropdown_3.entry.js +1 -1
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter.entry.js +1 -1
- package/dist/esm/calcite-flow.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +2 -2
- package/dist/esm/calcite-handle.entry.js +1 -1
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +1 -1
- package/dist/esm/calcite-input-date-picker.entry.js +3 -3
- package/dist/esm/calcite-input-message.entry.js +1 -1
- package/dist/esm/calcite-input-time-picker_2.entry.js +34 -5
- package/dist/esm/calcite-input.entry.js +2 -2
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +1 -1
- package/dist/esm/calcite-list_3.entry.js +3 -3
- package/dist/esm/calcite-loader.entry.js +1 -1
- package/dist/esm/calcite-modal.entry.js +2 -2
- package/dist/esm/calcite-notice.entry.js +2 -2
- package/dist/esm/calcite-option_3.entry.js +2 -2
- package/dist/esm/calcite-pagination.entry.js +1 -1
- package/dist/esm/calcite-panel.entry.js +3 -3
- package/dist/esm/calcite-pick-list_3.entry.js +4 -4
- package/dist/esm/calcite-popover_2.entry.js +2 -2
- package/dist/esm/calcite-progress.entry.js +1 -1
- package/dist/esm/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm/calcite-radio-button.entry.js +2 -2
- package/dist/esm/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm/calcite-rating.entry.js +2 -2
- package/dist/esm/calcite-scrim.entry.js +1 -1
- package/dist/esm/calcite-shell_3.entry.js +2 -2
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +1 -1
- package/dist/esm/calcite-stepper_2.entry.js +1 -1
- package/dist/esm/calcite-switch.entry.js +2 -2
- package/dist/esm/calcite-tab_4.entry.js +3 -3
- package/dist/esm/calcite-tile-select_2.entry.js +1 -1
- package/dist/esm/calcite-tile.entry.js +2 -2
- package/dist/esm/calcite-tip_3.entry.js +3 -3
- package/dist/esm/calcite-tooltip_2.entry.js +1 -1
- package/dist/esm/calcite-tree_2.entry.js +5 -3
- package/dist/esm/calcite-value-list_2.entry.js +3 -3
- package/dist/esm/calcite.js +2 -2
- package/dist/esm/{conditionalSlot-9e7d8609.js → conditionalSlot-c4b6c8b1.js} +1 -1
- package/dist/esm/{form-f90706b4.js → form-d07b2414.js} +1 -1
- package/dist/esm/{index-9de00868.js → index-0fefddd1.js} +23 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{resources-d6b3fa76.js → resources-431fa051.js} +1 -1
- package/dist/esm/{resources-e171d56b.js → resources-787a430d.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-1872d0ab.js → ExpandToggle-ed0ae55a.js} +1 -1
- package/dist/esm-es5/{Heading-0793af93.js → Heading-8289fa96.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
- package/dist/esm-es5/calcite-action.entry.js +1 -1
- package/dist/esm-es5/calcite-alert.entry.js +1 -1
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-card.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
- package/dist/esm-es5/calcite-chip.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/calcite-fab.entry.js +1 -1
- package/dist/esm-es5/calcite-filter.entry.js +1 -1
- package/dist/esm-es5/calcite-flow.entry.js +1 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-handle.entry.js +1 -1
- package/dist/esm-es5/calcite-icon.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
- package/dist/esm-es5/calcite-input-message.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +1 -1
- package/dist/esm-es5/calcite-link.entry.js +1 -1
- package/dist/esm-es5/calcite-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-loader.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +1 -1
- package/dist/esm-es5/calcite-notice.entry.js +1 -1
- package/dist/esm-es5/calcite-option_3.entry.js +1 -1
- package/dist/esm-es5/calcite-pagination.entry.js +1 -1
- package/dist/esm-es5/calcite-panel.entry.js +1 -1
- package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
- package/dist/esm-es5/calcite-progress.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
- package/dist/esm-es5/calcite-rating.entry.js +1 -1
- package/dist/esm-es5/calcite-scrim.entry.js +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
- package/dist/esm-es5/calcite-split-button.entry.js +1 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +1 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/{conditionalSlot-9e7d8609.js → conditionalSlot-c4b6c8b1.js} +1 -1
- package/dist/esm-es5/dom-e7fa77b9.js +2 -2
- package/dist/esm-es5/{form-f90706b4.js → form-d07b2414.js} +1 -1
- package/dist/esm-es5/index-0fefddd1.js +5 -0
- package/dist/esm-es5/label-2bffc9f4.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/popper-ae231554.js +1 -1
- package/dist/esm-es5/resources-431fa051.js +5 -0
- package/dist/esm-es5/{resources-e171d56b.js → resources-787a430d.js} +1 -1
- package/dist/esm-es5/utils-e84055a3.js +1 -1
- package/dist/extras/docs-json.json +18 -18
- package/dist/types/components/time-picker/resources.d.ts +1 -0
- package/dist/types/components/time-picker/time-picker.d.ts +2 -0
- package/dist/types/components.d.ts +24 -24
- package/dist/types/utils/time.d.ts +1 -0
- package/hydrate/index.js +52 -9
- package/package.json +17 -17
- package/dist/calcite/p-02219f56.system.entry.js +0 -5
- package/dist/calcite/p-1a1dd9b6.system.entry.js +0 -5
- package/dist/calcite/p-26aea1cb.system.js +0 -5
- package/dist/calcite/p-288bc438.system.js +0 -5
- package/dist/calcite/p-3970879d.system.entry.js +0 -5
- package/dist/calcite/p-44aa1db4.system.js +0 -5
- package/dist/calcite/p-65c30ccd.entry.js +0 -5
- package/dist/calcite/p-677592a9.system.entry.js +0 -5
- package/dist/calcite/p-6a2ac09a.system.entry.js +0 -5
- package/dist/calcite/p-6a9e2249.system.entry.js +0 -5
- package/dist/calcite/p-89cb9df8.system.entry.js +0 -5
- package/dist/calcite/p-916a0f28.system.js +0 -5
- package/dist/calcite/p-a85634a1.system.entry.js +0 -5
- package/dist/calcite/p-b9bfd3f8.entry.js +0 -5
- package/dist/calcite/p-be265e63.entry.js +0 -5
- package/dist/calcite/p-cb33659b.system.entry.js +0 -5
- package/dist/calcite/p-cb3a8861.entry.js +0 -5
- package/dist/calcite/p-e7779d97.js +0 -5
- package/dist/calcite/p-e83a5fe4.system.entry.js +0 -5
- package/dist/calcite/p-e8e0f3b7.js +0 -5
- package/dist/calcite/p-ea510477.js +0 -5
- package/dist/calcite/p-ee124c9a.system.entry.js +0 -5
- package/dist/calcite/p-f6b0747a.system.entry.js +0 -5
- package/dist/esm-es5/index-9de00868.js +0 -5
- package/dist/esm-es5/resources-d6b3fa76.js +0 -5
|
@@ -223,7 +223,7 @@ export namespace Components {
|
|
|
223
223
|
"overlayPositioning": OverlayPositioning;
|
|
224
224
|
/**
|
|
225
225
|
* Determines where the component will be positioned relative to the referenceElement.
|
|
226
|
-
* @see
|
|
226
|
+
* @see [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)
|
|
227
227
|
*/
|
|
228
228
|
"placement": PopperPlacement;
|
|
229
229
|
/**
|
|
@@ -756,9 +756,9 @@ export namespace Components {
|
|
|
756
756
|
*/
|
|
757
757
|
"storageId": string;
|
|
758
758
|
/**
|
|
759
|
-
* The color value. This value can be either a {@link https://developer.mozilla.org/en-US/docs/Web/CSS/color|CSS string} a RGB, HSL or HSV object. The type will be preserved as the color is updated.
|
|
759
|
+
* The color value. This value can be either a {@link https ://developer.mozilla.org/en-US/docs/Web/CSS/color|CSS string} a RGB, HSL or HSV object. The type will be preserved as the color is updated.
|
|
760
760
|
* @default "#007ac2"
|
|
761
|
-
* @see
|
|
761
|
+
* @see [ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/color-picker/interfaces.ts#L10)
|
|
762
762
|
*/
|
|
763
763
|
"value": ColorValue | null;
|
|
764
764
|
}
|
|
@@ -2242,7 +2242,7 @@ export namespace Components {
|
|
|
2242
2242
|
"disabled"?: boolean;
|
|
2243
2243
|
/**
|
|
2244
2244
|
* Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.
|
|
2245
|
-
* @see
|
|
2245
|
+
* @see [ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/pick-list/resources.ts#L5)
|
|
2246
2246
|
*/
|
|
2247
2247
|
"icon"?: ICON_TYPES | null;
|
|
2248
2248
|
/**
|
|
@@ -2338,7 +2338,7 @@ export namespace Components {
|
|
|
2338
2338
|
"overlayPositioning": OverlayPositioning;
|
|
2339
2339
|
/**
|
|
2340
2340
|
* Determines where the component will be positioned relative to the referenceElement.
|
|
2341
|
-
* @see
|
|
2341
|
+
* @see [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)
|
|
2342
2342
|
*/
|
|
2343
2343
|
"placement": PopperPlacement;
|
|
2344
2344
|
/**
|
|
@@ -2696,7 +2696,7 @@ export namespace Components {
|
|
|
2696
2696
|
"hasHistogram": boolean;
|
|
2697
2697
|
/**
|
|
2698
2698
|
* List of x,y coordinates within the slider's min and max, displays above the slider track.
|
|
2699
|
-
* @see
|
|
2699
|
+
* @see [DataSeries](https://github.com/Esri/calcite-components/blob/master/src/components/graph/interfaces.ts#L5)
|
|
2700
2700
|
*/
|
|
2701
2701
|
"histogram"?: DataSeries;
|
|
2702
2702
|
/**
|
|
@@ -3332,7 +3332,7 @@ export namespace Components {
|
|
|
3332
3332
|
"overlayPositioning": OverlayPositioning;
|
|
3333
3333
|
/**
|
|
3334
3334
|
* Determines where the component will be positioned relative to the referenceElement.
|
|
3335
|
-
* @see
|
|
3335
|
+
* @see [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)
|
|
3336
3336
|
*/
|
|
3337
3337
|
"placement": PopperPlacement;
|
|
3338
3338
|
/**
|
|
@@ -3369,7 +3369,7 @@ export namespace Components {
|
|
|
3369
3369
|
/**
|
|
3370
3370
|
* Customize how tree selection works (single, multi, children, multi-children, ancestors)
|
|
3371
3371
|
* @default "single"
|
|
3372
|
-
* @see
|
|
3372
|
+
* @see [TreeSelectionMode](https://github.com/Esri/calcite-components/blob/master/src/components/tree/interfaces.ts#L5)
|
|
3373
3373
|
*/
|
|
3374
3374
|
"selectionMode": TreeSelectionMode;
|
|
3375
3375
|
}
|
|
@@ -3450,7 +3450,7 @@ export namespace Components {
|
|
|
3450
3450
|
"handleActivated"?: boolean;
|
|
3451
3451
|
/**
|
|
3452
3452
|
* Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.
|
|
3453
|
-
* @see
|
|
3453
|
+
* @see [ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/pick-list/resources.ts#L5)
|
|
3454
3454
|
*/
|
|
3455
3455
|
"icon"?: ICON_TYPES | null;
|
|
3456
3456
|
/**
|
|
@@ -4309,7 +4309,7 @@ declare namespace LocalJSX {
|
|
|
4309
4309
|
"overlayPositioning"?: OverlayPositioning;
|
|
4310
4310
|
/**
|
|
4311
4311
|
* Determines where the component will be positioned relative to the referenceElement.
|
|
4312
|
-
* @see
|
|
4312
|
+
* @see [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)
|
|
4313
4313
|
*/
|
|
4314
4314
|
"placement"?: PopperPlacement;
|
|
4315
4315
|
/**
|
|
@@ -4838,9 +4838,9 @@ declare namespace LocalJSX {
|
|
|
4838
4838
|
*/
|
|
4839
4839
|
"storageId"?: string;
|
|
4840
4840
|
/**
|
|
4841
|
-
* The color value. This value can be either a {@link https://developer.mozilla.org/en-US/docs/Web/CSS/color|CSS string} a RGB, HSL or HSV object. The type will be preserved as the color is updated.
|
|
4841
|
+
* The color value. This value can be either a {@link https ://developer.mozilla.org/en-US/docs/Web/CSS/color|CSS string} a RGB, HSL or HSV object. The type will be preserved as the color is updated.
|
|
4842
4842
|
* @default "#007ac2"
|
|
4843
|
-
* @see
|
|
4843
|
+
* @see [ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/color-picker/interfaces.ts#L10)
|
|
4844
4844
|
*/
|
|
4845
4845
|
"value"?: ColorValue | null;
|
|
4846
4846
|
}
|
|
@@ -5070,7 +5070,7 @@ declare namespace LocalJSX {
|
|
|
5070
5070
|
"onCalciteDatePickerChange"?: (event: CustomEvent<Date>) => void;
|
|
5071
5071
|
/**
|
|
5072
5072
|
* Trigger calcite date change when a user changes the date range.
|
|
5073
|
-
* @see
|
|
5073
|
+
* @see [DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/date-picker/interfaces.ts#L1)
|
|
5074
5074
|
*/
|
|
5075
5075
|
"onCalciteDatePickerRangeChange"?: (event: CustomEvent<DateRangeChange>) => void;
|
|
5076
5076
|
/**
|
|
@@ -5757,7 +5757,7 @@ declare namespace LocalJSX {
|
|
|
5757
5757
|
"onCalciteDatePickerChange"?: (event: CustomEvent<Date>) => void;
|
|
5758
5758
|
/**
|
|
5759
5759
|
* Trigger calcite date change when a user changes the date range.
|
|
5760
|
-
* @see
|
|
5760
|
+
* @see [DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-date-picker/interfaces.ts#L1)
|
|
5761
5761
|
* @deprecated use `calciteInputDatePickerChange` instead.
|
|
5762
5762
|
*/
|
|
5763
5763
|
"onCalciteDatePickerRangeChange"?: (event: CustomEvent<DateRangeChange>) => void;
|
|
@@ -6174,7 +6174,7 @@ declare namespace LocalJSX {
|
|
|
6174
6174
|
"num"?: number;
|
|
6175
6175
|
/**
|
|
6176
6176
|
* Emitted whenever the selected page changes.
|
|
6177
|
-
* @see
|
|
6177
|
+
* @see [PaginationDetail](https://github.com/Esri/calcite-components/blob/master/src/components/pagination/calcite-pagination.tsx#L18)
|
|
6178
6178
|
*/
|
|
6179
6179
|
"onCalcitePaginationChange"?: (event: CustomEvent<PaginationDetail>) => void;
|
|
6180
6180
|
/**
|
|
@@ -6338,7 +6338,7 @@ declare namespace LocalJSX {
|
|
|
6338
6338
|
"disabled"?: boolean;
|
|
6339
6339
|
/**
|
|
6340
6340
|
* Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.
|
|
6341
|
-
* @see
|
|
6341
|
+
* @see [ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/pick-list/resources.ts#L5)
|
|
6342
6342
|
*/
|
|
6343
6343
|
"icon"?: ICON_TYPES | null;
|
|
6344
6344
|
/**
|
|
@@ -6446,7 +6446,7 @@ declare namespace LocalJSX {
|
|
|
6446
6446
|
"overlayPositioning"?: OverlayPositioning;
|
|
6447
6447
|
/**
|
|
6448
6448
|
* Determines where the component will be positioned relative to the referenceElement.
|
|
6449
|
-
* @see
|
|
6449
|
+
* @see [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)
|
|
6450
6450
|
*/
|
|
6451
6451
|
"placement"?: PopperPlacement;
|
|
6452
6452
|
/**
|
|
@@ -6775,7 +6775,7 @@ declare namespace LocalJSX {
|
|
|
6775
6775
|
"hasHistogram"?: boolean;
|
|
6776
6776
|
/**
|
|
6777
6777
|
* List of x,y coordinates within the slider's min and max, displays above the slider track.
|
|
6778
|
-
* @see
|
|
6778
|
+
* @see [DataSeries](https://github.com/Esri/calcite-components/blob/master/src/components/graph/interfaces.ts#L5)
|
|
6779
6779
|
*/
|
|
6780
6780
|
"histogram"?: DataSeries;
|
|
6781
6781
|
/**
|
|
@@ -7056,7 +7056,7 @@ declare namespace LocalJSX {
|
|
|
7056
7056
|
interface CalciteTabNav {
|
|
7057
7057
|
/**
|
|
7058
7058
|
* Emitted when the active tab changes
|
|
7059
|
-
* @see
|
|
7059
|
+
* @see [TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tab/interfaces.ts#L1)
|
|
7060
7060
|
*/
|
|
7061
7061
|
"onCalciteTabChange"?: (event: CustomEvent<TabChangeEventDetail>) => void;
|
|
7062
7062
|
/**
|
|
@@ -7091,7 +7091,7 @@ declare namespace LocalJSX {
|
|
|
7091
7091
|
"iconStart"?: string;
|
|
7092
7092
|
/**
|
|
7093
7093
|
* Fires when a specific tab is activated (`event.details`)
|
|
7094
|
-
* @see
|
|
7094
|
+
* @see [TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tab/interfaces.ts#L1)
|
|
7095
7095
|
*/
|
|
7096
7096
|
"onCalciteTabsActivate"?: (event: CustomEvent<TabChangeEventDetail>) => void;
|
|
7097
7097
|
/**
|
|
@@ -7379,7 +7379,7 @@ declare namespace LocalJSX {
|
|
|
7379
7379
|
"overlayPositioning"?: OverlayPositioning;
|
|
7380
7380
|
/**
|
|
7381
7381
|
* Determines where the component will be positioned relative to the referenceElement.
|
|
7382
|
-
* @see
|
|
7382
|
+
* @see [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)
|
|
7383
7383
|
*/
|
|
7384
7384
|
"placement"?: PopperPlacement;
|
|
7385
7385
|
/**
|
|
@@ -7406,7 +7406,7 @@ declare namespace LocalJSX {
|
|
|
7406
7406
|
"lines"?: boolean;
|
|
7407
7407
|
/**
|
|
7408
7408
|
* Emitted when user selects/deselects tree items. An object including an array of selected items will be passed in the event's `detail` property.
|
|
7409
|
-
* @see
|
|
7409
|
+
* @see [TreeSelectDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tree/interfaces.ts#L1)
|
|
7410
7410
|
*/
|
|
7411
7411
|
"onCalciteTreeSelect"?: (event: CustomEvent<TreeSelectDetail>) => void;
|
|
7412
7412
|
/**
|
|
@@ -7416,7 +7416,7 @@ declare namespace LocalJSX {
|
|
|
7416
7416
|
/**
|
|
7417
7417
|
* Customize how tree selection works (single, multi, children, multi-children, ancestors)
|
|
7418
7418
|
* @default "single"
|
|
7419
|
-
* @see
|
|
7419
|
+
* @see [TreeSelectionMode](https://github.com/Esri/calcite-components/blob/master/src/components/tree/interfaces.ts#L5)
|
|
7420
7420
|
*/
|
|
7421
7421
|
"selectionMode"?: TreeSelectionMode;
|
|
7422
7422
|
}
|
|
@@ -7483,7 +7483,7 @@ declare namespace LocalJSX {
|
|
|
7483
7483
|
"disabled"?: boolean;
|
|
7484
7484
|
/**
|
|
7485
7485
|
* Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.
|
|
7486
|
-
* @see
|
|
7486
|
+
* @see [ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/pick-list/resources.ts#L5)
|
|
7487
7487
|
*/
|
|
7488
7488
|
"icon"?: ICON_TYPES | null;
|
|
7489
7489
|
/**
|
|
@@ -25,4 +25,5 @@ export declare function isValidTime(value: string): boolean;
|
|
|
25
25
|
export declare function localizeTimePart(value: string, part: TimePart, locale: string): string;
|
|
26
26
|
export declare function localizeTimeString(value: string, locale?: string, includeSeconds?: boolean): string;
|
|
27
27
|
export declare function localizeTimeStringToParts(value: string, locale?: string): LocalizedTime;
|
|
28
|
+
export declare function getTimeParts(value: string, locale?: string): Intl.DateTimeFormatPart[];
|
|
28
29
|
export declare function parseTimeString(value: string): Time;
|
package/hydrate/index.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
/*!
|
|
10
|
-
Stencil Mock Doc v2.
|
|
10
|
+
Stencil Mock Doc v2.14.0 | MIT Licensed | https://stenciljs.com
|
|
11
11
|
*/
|
|
12
12
|
const CONTENT_REF_ID = 'r';
|
|
13
13
|
const ORG_LOCATION_ID = 'o';
|
|
@@ -227,7 +227,7 @@ class MockCustomElementRegistry {
|
|
|
227
227
|
whenDefined(tagName) {
|
|
228
228
|
tagName = tagName.toLowerCase();
|
|
229
229
|
if (this.__registry != null && this.__registry.has(tagName) === true) {
|
|
230
|
-
return Promise.resolve();
|
|
230
|
+
return Promise.resolve(this.__registry.get(tagName).cstr);
|
|
231
231
|
}
|
|
232
232
|
return new Promise((resolve) => {
|
|
233
233
|
if (this.__whenDefined == null) {
|
|
@@ -3475,9 +3475,19 @@ class MockPerformance {
|
|
|
3475
3475
|
getEntriesByType() {
|
|
3476
3476
|
return [];
|
|
3477
3477
|
}
|
|
3478
|
+
// Stencil's implementation of `mark` is non-compliant with the `Performance` interface. Because Stencil will
|
|
3479
|
+
// instantiate an instance of this class and may attempt to assign it to a variable of type `Performance`, the return
|
|
3480
|
+
// type must match the `Performance` interface (rather than typing this function as returning `void` and ignoring the
|
|
3481
|
+
// associated errors returned by the type checker)
|
|
3482
|
+
// @ts-ignore
|
|
3478
3483
|
mark() {
|
|
3479
3484
|
//
|
|
3480
3485
|
}
|
|
3486
|
+
// Stencil's implementation of `measure` is non-compliant with the `Performance` interface. Because Stencil will
|
|
3487
|
+
// instantiate an instance of this class and may attempt to assign it to a variable of type `Performance`, the return
|
|
3488
|
+
// type must match the `Performance` interface (rather than typing this function as returning `void` and ignoring the
|
|
3489
|
+
// associated errors returned by the type checker)
|
|
3490
|
+
// @ts-ignore
|
|
3481
3491
|
measure() {
|
|
3482
3492
|
//
|
|
3483
3493
|
}
|
|
@@ -4227,6 +4237,8 @@ function cloneWindow(srcWin, opts = {}) {
|
|
|
4227
4237
|
}
|
|
4228
4238
|
const clonedWin = new MockWindow(false);
|
|
4229
4239
|
if (!opts.customElementProxy) {
|
|
4240
|
+
// TODO(STENCIL-345) - Evaluate reconciling MockWindow, Window differences
|
|
4241
|
+
// @ts-ignore
|
|
4230
4242
|
srcWin.customElements = null;
|
|
4231
4243
|
}
|
|
4232
4244
|
if (srcWin.document != null) {
|
|
@@ -20320,6 +20332,19 @@ function localizeTimeStringToParts(value, locale = "en") {
|
|
|
20320
20332
|
}
|
|
20321
20333
|
return null;
|
|
20322
20334
|
}
|
|
20335
|
+
function getTimeParts(value, locale = "en") {
|
|
20336
|
+
if (!isValidTime(value)) {
|
|
20337
|
+
return null;
|
|
20338
|
+
}
|
|
20339
|
+
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
20340
|
+
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
20341
|
+
if (dateFromTimeString) {
|
|
20342
|
+
const formatter = createLocaleDateTimeFormatter(locale);
|
|
20343
|
+
const parts = formatter.formatToParts(dateFromTimeString);
|
|
20344
|
+
return parts;
|
|
20345
|
+
}
|
|
20346
|
+
return null;
|
|
20347
|
+
}
|
|
20323
20348
|
function parseTimeString(value) {
|
|
20324
20349
|
if (isValidTime(value)) {
|
|
20325
20350
|
const [hour, minute, second] = value.split(":");
|
|
@@ -29434,7 +29459,7 @@ class Tab {
|
|
|
29434
29459
|
// to allow `<calcite-tabs>` to be nested we need to make sure this
|
|
29435
29460
|
// `calciteTabChange` event was actually fired from a title that is a
|
|
29436
29461
|
// child of the `<calcite-tabs>` that is the a parent of this tab.
|
|
29437
|
-
if (event.
|
|
29462
|
+
if (!event.composedPath().includes(this.el.closest("calcite-tabs"))) {
|
|
29438
29463
|
return;
|
|
29439
29464
|
}
|
|
29440
29465
|
if (this.tab) {
|
|
@@ -29783,7 +29808,7 @@ class TabTitle {
|
|
|
29783
29808
|
//
|
|
29784
29809
|
//--------------------------------------------------------------------------
|
|
29785
29810
|
tabChangeHandler(event) {
|
|
29786
|
-
if (this.parentTabNavEl
|
|
29811
|
+
if (event.composedPath().includes(this.parentTabNavEl)) {
|
|
29787
29812
|
if (this.tab) {
|
|
29788
29813
|
this.active = this.tab === event.detail.tab;
|
|
29789
29814
|
}
|
|
@@ -30426,7 +30451,8 @@ const CSS$5 = {
|
|
|
30426
30451
|
"scale-s": "scale-s",
|
|
30427
30452
|
"scale-m": "scale-m",
|
|
30428
30453
|
"scale-l": "scale-l",
|
|
30429
|
-
timePicker: "time-picker"
|
|
30454
|
+
timePicker: "time-picker",
|
|
30455
|
+
meridiemStart: "meridiem--start"
|
|
30430
30456
|
};
|
|
30431
30457
|
const TEXT$2 = {
|
|
30432
30458
|
hour: "Hour",
|
|
@@ -30443,7 +30469,7 @@ const TEXT$2 = {
|
|
|
30443
30469
|
secondUp: "Increase second"
|
|
30444
30470
|
};
|
|
30445
30471
|
|
|
30446
|
-
const timePickerCss = "@-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*/.sc-calcite-time-picker: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*/.calcite-animate.sc-calcite-time-picker{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*/.calcite-animate__in.sc-calcite-time-picker{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-time-picker{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-time-picker{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-time-picker{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-time-picker:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-time-picker-h{display:none}/*!@:host*/.sc-calcite-time-picker-h{display:inline-block}/*!@.time-picker*/.time-picker.sc-calcite-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*/.time-picker.sc-calcite-time-picker .column.sc-calcite-time-picker{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}/*!@.time-picker .button*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker{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*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker:hover,.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px}/*!@.time-picker .button:active*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker:active{background-color:var(--calcite-ui-foreground-3)}/*!@.time-picker .button.top-left*/.time-picker.sc-calcite-time-picker .button.top-left.sc-calcite-time-picker{border-top-left-radius:var(--calcite-border-radius)}/*!@.time-picker .button.bottom-left*/.time-picker.sc-calcite-time-picker .button.bottom-left.sc-calcite-time-picker{border-bottom-left-radius:var(--calcite-border-radius)}/*!@.time-picker .button.top-right*/.time-picker.sc-calcite-time-picker .button.top-right.sc-calcite-time-picker{border-top-right-radius:var(--calcite-border-radius)}/*!@.time-picker .button.bottom-right*/.time-picker.sc-calcite-time-picker .button.bottom-right.sc-calcite-time-picker{border-bottom-right-radius:var(--calcite-border-radius)}/*!@.time-picker .button calcite-icon*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker calcite-icon.sc-calcite-time-picker{color:var(--calcite-ui-text-3)}/*!@.time-picker .input*/.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker{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*/.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker: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*/.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker:focus,.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker: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*/.time-picker.scale-s.sc-calcite-time-picker{font-size:var(--calcite-font-size--1)}/*!@.time-picker.scale-s .button, .time-picker.scale-s .input*/.time-picker.scale-s.sc-calcite-time-picker .button.sc-calcite-time-picker,.time-picker.scale-s.sc-calcite-time-picker .input.sc-calcite-time-picker{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.25rem;padding-bottom:0.25rem}/*!@.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child*/.time-picker.scale-s.sc-calcite-time-picker:not(.show-meridiem) .delimiter.sc-calcite-time-picker:last-child{-webkit-padding-end:0.75rem;padding-inline-end:0.75rem}/*!@.time-picker.scale-m*/.time-picker.scale-m.sc-calcite-time-picker{font-size:var(--calcite-font-size-0)}/*!@.time-picker.scale-m .button, .time-picker.scale-m .input*/.time-picker.scale-m.sc-calcite-time-picker .button.sc-calcite-time-picker,.time-picker.scale-m.sc-calcite-time-picker .input.sc-calcite-time-picker{padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem}/*!@.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child*/.time-picker.scale-m.sc-calcite-time-picker:not(.show-meridiem) .delimiter.sc-calcite-time-picker:last-child{-webkit-padding-end:1rem;padding-inline-end:1rem}/*!@.time-picker.scale-l*/.time-picker.scale-l.sc-calcite-time-picker{font-size:var(--calcite-font-size-1)}/*!@.time-picker.scale-l .button, .time-picker.scale-l .input*/.time-picker.scale-l.sc-calcite-time-picker .button.sc-calcite-time-picker,.time-picker.scale-l.sc-calcite-time-picker .input.sc-calcite-time-picker{padding-left:1.25rem;padding-right:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem}/*!@.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child*/.time-picker.scale-l.sc-calcite-time-picker:not(.show-meridiem) .delimiter.sc-calcite-time-picker:last-child{-webkit-padding-end:1.25rem;padding-inline-end:1.25rem}";
|
|
30472
|
+
const timePickerCss = "@-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*/.sc-calcite-time-picker: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*/.calcite-animate.sc-calcite-time-picker{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*/.calcite-animate__in.sc-calcite-time-picker{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-time-picker{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-time-picker{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-time-picker{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-time-picker:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-time-picker-h{display:none}/*!@:host*/.sc-calcite-time-picker-h{display:inline-block}/*!@.time-picker*/.time-picker.sc-calcite-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*/.time-picker.sc-calcite-time-picker .column.sc-calcite-time-picker{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}/*!@.time-picker .meridiem--start*/.time-picker.sc-calcite-time-picker .meridiem--start.sc-calcite-time-picker{-ms-flex-order:-1;order:-1}/*!@.time-picker .button*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker{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*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker:hover,.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px}/*!@.time-picker .button:active*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker:active{background-color:var(--calcite-ui-foreground-3)}/*!@.time-picker .button.top-left*/.time-picker.sc-calcite-time-picker .button.top-left.sc-calcite-time-picker{border-top-left-radius:var(--calcite-border-radius)}/*!@.time-picker .button.bottom-left*/.time-picker.sc-calcite-time-picker .button.bottom-left.sc-calcite-time-picker{border-bottom-left-radius:var(--calcite-border-radius)}/*!@.time-picker .button.top-right*/.time-picker.sc-calcite-time-picker .button.top-right.sc-calcite-time-picker{border-top-right-radius:var(--calcite-border-radius)}/*!@.time-picker .button.bottom-right*/.time-picker.sc-calcite-time-picker .button.bottom-right.sc-calcite-time-picker{border-bottom-right-radius:var(--calcite-border-radius)}/*!@.time-picker .button calcite-icon*/.time-picker.sc-calcite-time-picker .button.sc-calcite-time-picker calcite-icon.sc-calcite-time-picker{color:var(--calcite-ui-text-3)}/*!@.time-picker .input*/.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker{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*/.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker: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*/.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker:focus,.time-picker.sc-calcite-time-picker .input.sc-calcite-time-picker: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*/.time-picker.scale-s.sc-calcite-time-picker{font-size:var(--calcite-font-size--1)}/*!@.time-picker.scale-s .button, .time-picker.scale-s .input*/.time-picker.scale-s.sc-calcite-time-picker .button.sc-calcite-time-picker,.time-picker.scale-s.sc-calcite-time-picker .input.sc-calcite-time-picker{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.25rem;padding-bottom:0.25rem}/*!@.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child*/.time-picker.scale-s.sc-calcite-time-picker:not(.show-meridiem) .delimiter.sc-calcite-time-picker:last-child{-webkit-padding-end:0.75rem;padding-inline-end:0.75rem}/*!@.time-picker.scale-m*/.time-picker.scale-m.sc-calcite-time-picker{font-size:var(--calcite-font-size-0)}/*!@.time-picker.scale-m .button, .time-picker.scale-m .input*/.time-picker.scale-m.sc-calcite-time-picker .button.sc-calcite-time-picker,.time-picker.scale-m.sc-calcite-time-picker .input.sc-calcite-time-picker{padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem}/*!@.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child*/.time-picker.scale-m.sc-calcite-time-picker:not(.show-meridiem) .delimiter.sc-calcite-time-picker:last-child{-webkit-padding-end:1rem;padding-inline-end:1rem}/*!@.time-picker.scale-l*/.time-picker.scale-l.sc-calcite-time-picker{font-size:var(--calcite-font-size-1)}/*!@.time-picker.scale-l .button, .time-picker.scale-l .input*/.time-picker.scale-l.sc-calcite-time-picker .button.sc-calcite-time-picker,.time-picker.scale-l.sc-calcite-time-picker .input.sc-calcite-time-picker{padding-left:1.25rem;padding-right:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem}/*!@.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child*/.time-picker.scale-l.sc-calcite-time-picker:not(.show-meridiem) .delimiter.sc-calcite-time-picker:last-child{-webkit-padding-end:1.25rem;padding-inline-end:1.25rem}";
|
|
30447
30473
|
|
|
30448
30474
|
function capitalize(str) {
|
|
30449
30475
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
@@ -30787,6 +30813,8 @@ class TimePicker {
|
|
|
30787
30813
|
if (localizedMeridiem) {
|
|
30788
30814
|
this.localizedMeridiem = localizedMeridiem;
|
|
30789
30815
|
this.meridiem = getMeridiem(this.hour);
|
|
30816
|
+
const formatParts = getTimeParts(value, this.locale);
|
|
30817
|
+
this.meridiemOrder = this.getMeridiemOrder(formatParts);
|
|
30790
30818
|
}
|
|
30791
30819
|
}
|
|
30792
30820
|
else {
|
|
@@ -30941,6 +30969,16 @@ class TimePicker {
|
|
|
30941
30969
|
}
|
|
30942
30970
|
return isActivationKey(key);
|
|
30943
30971
|
}
|
|
30972
|
+
getMeridiemOrder(formatParts) {
|
|
30973
|
+
const isRTLKind = this.locale === "ar" || this.locale === "he";
|
|
30974
|
+
if (formatParts && !isRTLKind) {
|
|
30975
|
+
const index = formatParts.findIndex((parts) => {
|
|
30976
|
+
return parts.value === this.localizedMeridiem;
|
|
30977
|
+
});
|
|
30978
|
+
return index;
|
|
30979
|
+
}
|
|
30980
|
+
return 0;
|
|
30981
|
+
}
|
|
30944
30982
|
// --------------------------------------------------------------------------
|
|
30945
30983
|
//
|
|
30946
30984
|
// Lifecycle
|
|
@@ -30995,7 +31033,10 @@ class TimePicker {
|
|
|
30995
31033
|
}, onFocus: this.focusHandler, onKeyDown: this.secondKeyDownHandler, ref: this.setSecondEl, role: "spinbutton", tabIndex: 0 }, this.localizedSecond || "--"), hAsync("span", { "aria-label": this.intlSecondDown, class: {
|
|
30996
31034
|
[CSS$5.button]: true,
|
|
30997
31035
|
[CSS$5.buttonSecondDown]: true
|
|
30998
|
-
}, onClick: this.decrementSecond, onKeyDown: this.secondDownButtonKeyDownHandler, role: "button", tabIndex: -1 }, hAsync("calcite-icon", { icon: "chevron-down", scale: iconScale })))), this.localizedSecondSuffix && (hAsync("span", { class: CSS$5.delimiter }, this.localizedSecondSuffix)), showMeridiem && (hAsync("div", { class:
|
|
31036
|
+
}, onClick: this.decrementSecond, onKeyDown: this.secondDownButtonKeyDownHandler, role: "button", tabIndex: -1 }, hAsync("calcite-icon", { icon: "chevron-down", scale: iconScale })))), this.localizedSecondSuffix && (hAsync("span", { class: CSS$5.delimiter }, this.localizedSecondSuffix)), showMeridiem && (hAsync("div", { class: {
|
|
31037
|
+
[CSS$5.column]: true,
|
|
31038
|
+
[CSS$5.meridiemStart]: this.meridiemOrder === 0
|
|
31039
|
+
}, role: "group" }, hAsync("span", { "aria-label": this.intlMeridiemUp, class: {
|
|
30999
31040
|
[CSS$5.button]: true,
|
|
31000
31041
|
[CSS$5.buttonMeridiemUp]: true,
|
|
31001
31042
|
[CSS$5.buttonTopRight]: true
|
|
@@ -32176,6 +32217,7 @@ class TreeItem {
|
|
|
32176
32217
|
});
|
|
32177
32218
|
}
|
|
32178
32219
|
keyDownHandler(e) {
|
|
32220
|
+
var _a;
|
|
32179
32221
|
let root;
|
|
32180
32222
|
switch (e.key) {
|
|
32181
32223
|
case " ":
|
|
@@ -32230,7 +32272,8 @@ class TreeItem {
|
|
|
32230
32272
|
}
|
|
32231
32273
|
// When focus is on a open node, moves focus to the first child node.
|
|
32232
32274
|
if (this.hasChildren && this.expanded) {
|
|
32233
|
-
this.el.querySelector("calcite-tree-item").focus();
|
|
32275
|
+
(_a = this.el.querySelector("calcite-tree-item")) === null || _a === void 0 ? void 0 : _a.focus();
|
|
32276
|
+
e.stopPropagation();
|
|
32234
32277
|
break;
|
|
32235
32278
|
}
|
|
32236
32279
|
// When focus is on an end node, does nothing.
|
|
@@ -33079,7 +33122,7 @@ function finalizeHydrate(e, t, r, s, n) {
|
|
|
33079
33122
|
absFilePath: null,
|
|
33080
33123
|
lines: []
|
|
33081
33124
|
};
|
|
33082
|
-
null != t && (null != t.stack ? s.messageText = t.stack.toString() : null != t.message ? s.messageText = t.message.
|
|
33125
|
+
null != t && (null != t.stack ? s.messageText = t.stack.toString() : null != t.message ? s.messageText = t.message.length ? t.message : "UNKNOWN ERROR" : s.messageText = t.toString()),
|
|
33083
33126
|
null == e || shouldIgnoreError(s.messageText) || e.push(s);
|
|
33084
33127
|
})(t, e);
|
|
33085
33128
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.404",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@a11y/focus-trap": "1.0.5",
|
|
62
62
|
"@popperjs/core": "2.11.2",
|
|
63
|
-
"@stencil/core": "2.
|
|
63
|
+
"@stencil/core": "2.14.0",
|
|
64
64
|
"@types/color": "3.0.3",
|
|
65
|
-
"color": "4.2.
|
|
65
|
+
"color": "4.2.1",
|
|
66
66
|
"form-request-submit-polyfill": "2.0.0",
|
|
67
67
|
"lodash-es": "4.17.21",
|
|
68
68
|
"sortablejs": "1.14.0"
|
|
@@ -72,17 +72,17 @@
|
|
|
72
72
|
"@babel/preset-react": "7.16.7",
|
|
73
73
|
"@esri/calcite-base": "^1.2.0",
|
|
74
74
|
"@esri/calcite-colors": "6.0.1",
|
|
75
|
-
"@esri/calcite-ui-icons": "3.18.
|
|
75
|
+
"@esri/calcite-ui-icons": "3.18.4",
|
|
76
76
|
"@esri/eslint-plugin-calcite-components": "0.1.4",
|
|
77
77
|
"@rollup/plugin-babel": "5.3.0",
|
|
78
78
|
"@stencil/eslint-plugin": "0.4.0",
|
|
79
79
|
"@stencil/postcss": "2.1.0",
|
|
80
80
|
"@stencil/sass": "1.5.2",
|
|
81
81
|
"@stencil/state-tunnel": "^1.0.1",
|
|
82
|
-
"@storybook/addon-a11y": "6.4.
|
|
83
|
-
"@storybook/addon-docs": "6.4.
|
|
82
|
+
"@storybook/addon-a11y": "6.4.19",
|
|
83
|
+
"@storybook/addon-docs": "6.4.19",
|
|
84
84
|
"@storybook/addon-knobs": "6.4.0",
|
|
85
|
-
"@storybook/html": "6.4.
|
|
85
|
+
"@storybook/html": "6.4.19",
|
|
86
86
|
"@storybook/storybook-deployer": "2.8.10",
|
|
87
87
|
"@types/dedent": "0.7.0",
|
|
88
88
|
"@types/git-semver-tags": "4.1.1",
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
"@types/sortablejs": "1.10.7",
|
|
97
97
|
"@types/standard-version": "7.0.1",
|
|
98
98
|
"@types/yargs": "17.0.8",
|
|
99
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
100
|
-
"@typescript-eslint/parser": "5.
|
|
99
|
+
"@typescript-eslint/eslint-plugin": "5.12.0",
|
|
100
|
+
"@typescript-eslint/parser": "5.12.0",
|
|
101
101
|
"@whitespace/storybook-addon-html": "5.0.0",
|
|
102
102
|
"autoprefixer": "10.4.2",
|
|
103
103
|
"axe-core": "4.4.1",
|
|
@@ -109,19 +109,19 @@
|
|
|
109
109
|
"conventional-changelog-cli": "2.2.2",
|
|
110
110
|
"cpy-cli": "^3.1.1",
|
|
111
111
|
"dedent": "0.7.0",
|
|
112
|
-
"eslint": "8.
|
|
112
|
+
"eslint": "8.9.0",
|
|
113
113
|
"eslint-config-prettier": "8.3.0",
|
|
114
|
-
"eslint-plugin-jest": "26.1.
|
|
114
|
+
"eslint-plugin-jest": "26.1.1",
|
|
115
115
|
"eslint-plugin-prettier": "4.0.0",
|
|
116
116
|
"eslint-plugin-react": "7.28.0",
|
|
117
|
-
"eslint-plugin-unicorn": "
|
|
117
|
+
"eslint-plugin-unicorn": "41.0.0",
|
|
118
118
|
"gh-release": "6.0.1",
|
|
119
119
|
"git-semver-tags": "4.1.1",
|
|
120
120
|
"husky": "7.0.4",
|
|
121
121
|
"jest": "26.6.3",
|
|
122
122
|
"jest-axe": "5.0.1",
|
|
123
123
|
"jest-cli": "26.6.3",
|
|
124
|
-
"lint-staged": "12.3.
|
|
124
|
+
"lint-staged": "12.3.4",
|
|
125
125
|
"pify": "5.0.0",
|
|
126
126
|
"postcss": "8.4.6",
|
|
127
127
|
"posthtml": "0.16.5",
|
|
@@ -133,15 +133,15 @@
|
|
|
133
133
|
"shell-quote": "1.7.3",
|
|
134
134
|
"standard-version": "9.3.2",
|
|
135
135
|
"stencil-eslint-core": "0.3.1",
|
|
136
|
-
"storybook": "6.4.
|
|
136
|
+
"storybook": "6.4.19",
|
|
137
137
|
"storybook-addon-themes": "6.1.0",
|
|
138
138
|
"storybook-rtl-addon": "0.3.3",
|
|
139
|
-
"stylelint": "14.5.
|
|
139
|
+
"stylelint": "14.5.1",
|
|
140
140
|
"stylelint-config-recommended-scss": "5.0.2",
|
|
141
|
-
"tailwindcss": "3.0.
|
|
141
|
+
"tailwindcss": "3.0.23",
|
|
142
142
|
"ts-jest": "27.1.2",
|
|
143
143
|
"ts-node": "10.5.0",
|
|
144
|
-
"typescript": "4.
|
|
144
|
+
"typescript": "4.5.4",
|
|
145
145
|
"updtr": "4.0.0",
|
|
146
146
|
"workbox-build": "6.4.2",
|
|
147
147
|
"yargs": "17.3.1"
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,a,n){function i(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function o(e){try{l(n.next(e))}catch(e){r(e)}}function s(e){try{l(n["throw"](e))}catch(e){r(e)}}function l(e){e.done?a(e.value):i(e.value).then(o,s)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,i&&(r=o[0]&2?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;if(i=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;i=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(o[0]===6&&a.label<r[1]){a.label=r[1];r=o;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(o);break}if(r[2])a.ops.pop();a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e];i=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[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
|
-
*/System.register(["./p-288bc438.system.js","./p-e2047621.system.js","./p-e020662f.system.js","./p-ec9bab33.system.js","./p-ada75056.system.js"],(function(e){"use strict";var t,a,n,i,r,o,s,l,c,p,f,m,d,u;return{setters:[function(e){t=e.r;a=e.c;n=e.f;i=e.h;r=e.H;o=e.g},function(e){s=e.d;l=e.u;c=e.c;p=e.C},function(e){f=e.g},function(e){m=e.q;d=e.h},function(e){u=e.H}],execute:function(){var h={container:"container",arrow:"arrow",imageContainer:"image-container",closeButtonContainer:"close-button-container",closeButton:"close-button",content:"content",hasHeader:"has-header",header:"header",headerContent:"header-content",heading:"heading"};var b={close:"Close"};var v="data-calcite-popover-reference";var w="aria-controls";var y="aria-expanded";var g=2;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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host([data-popper-placement^=bottom]) .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-popper-placement^=top]) .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-popper-placement^=left]) .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-popper-placement^=right]) .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-popper-placement]) .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([data-popper-placement][data-popper-escaped]),:host([data-popper-placement][data-popper-reference-hidden]){pointer-events:none;opacity:0}.arrow,.arrow::before{position:absolute;width:8px;height:8px;z-index:-1}.arrow::before{content:"";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-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);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-popper-placement^=top]) .arrow{bottom:-4px}:host([data-popper-placement^=bottom]) .arrow{top:-4px}:host([data-popper-placement^=left]) .arrow{right:-4px}:host([data-popper-placement^=right]) .arrow{left:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-popper-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;border-width:0px;border-bottom-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-bottom-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:center;align-self:center;white-space:normal;padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}.container.has-header{-ms-flex-direction:column;flex-direction:column}.content{display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex:0 0 auto;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){height:100%}';var k=e("calcite_popover",function(){function e(e){var n=this;t(this,e);this.calcitePopoverClose=a(this,"calcitePopoverClose",7);this.calcitePopoverOpen=a(this,"calcitePopoverOpen",7);this.closeButton=false;this.dismissible=false;this.disableFlip=false;this.disablePointer=false;this.offsetDistance=s;this.offsetSkidding=0;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.intlClose=b.close;this.guid="calcite-popover-"+f();this.activeTransitionProp="opacity";this.setUpReferenceElement=function(){n.removeReferences();n.effectiveReferenceElement=n.getReferenceElement();var e=n,t=e.el,a=e.referenceElement,i=e.effectiveReferenceElement;if(a&&!i){console.warn(t.tagName+': reference-element id "'+a+'" was not found.',{el:t})}n.addReferences();n.createPopper()};this.getId=function(){return n.el.id||n.guid};this.setExpandedAttr=function(){var e=n,t=e.effectiveReferenceElement,a=e.open;if(!t){return}t.setAttribute(y,a.toString())};this.addReferences=function(){var e=n.effectiveReferenceElement;if(!e){return}var t=n.getId();e.setAttribute(v,t);e.setAttribute(w,t);n.setExpandedAttr()};this.removeReferences=function(){var e=n.effectiveReferenceElement;if(!e){return}e.removeAttribute(v);e.removeAttribute(w);e.removeAttribute(y)};this.hide=function(){n.open=false};this.transitionEnd=function(e){if(e.propertyName===n.activeTransitionProp){n.open?n.calcitePopoverOpen.emit():n.calcitePopoverClose.emit()}}}e.prototype.offsetDistanceOffsetHandler=function(){this.reposition()};e.prototype.offsetSkiddingHandler=function(){this.reposition()};e.prototype.openHandler=function(){this.reposition();this.setExpandedAttr()};e.prototype.placementHandler=function(){this.reposition()};e.prototype.referenceElementHandler=function(){this.setUpReferenceElement()};e.prototype.componentWillLoad=function(){this.setUpReferenceElement()};e.prototype.componentDidLoad=function(){this.reposition()};e.prototype.disconnectedCallback=function(){this.removeReferences();this.destroyPopper()};e.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,a,n,i,r;return __generator(this,(function(o){switch(o.label){case 0:e=this,t=e.popper,a=e.el,n=e.placement;i=this.getModifiers();if(!t)return[3,2];return[4,l({el:a,modifiers:i,placement:n,popper:t})];case 1:r=o.sent();return[3,3];case 2:r=this.createPopper();o.label=3;case 3:r;return[2]}}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t,a;return __generator(this,(function(i){a=this.closeButtonEl;if(e==="close-button"&&a){n(a);a.setFocus();return[2]}(t=this.el)===null||t===void 0?void 0:t.focus();return[2]}))}))};e.prototype.toggle=function(e){if(e===void 0){e=!this.open}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=e;return[2]}))}))};e.prototype.getReferenceElement=function(){var e=this,t=e.referenceElement,a=e.el;return(typeof t==="string"?m(a,{id:t}):t)||null};e.prototype.getModifiers=function(){var e=this,t=e.arrowEl,a=e.flipPlacements,n=e.disableFlip,i=e.disablePointer,r=e.offsetDistance,o=e.offsetSkidding;var s={name:"flip",enabled:!n};if(a){s.options={fallbackPlacements:a}}var l={name:"arrow",enabled:!i};if(t){l.options={element:t}}var c={name:"offset",enabled:true,options:{offset:[o,r]}};return[l,s,c]};e.prototype.createPopper=function(){this.destroyPopper();var e=this,t=e.el,a=e.placement,n=e.effectiveReferenceElement,i=e.overlayPositioning;var r=this.getModifiers();this.popper=c({el:t,modifiers:r,overlayPositioning:i,placement:a,referenceEl:n})};e.prototype.destroyPopper=function(){var e=this.popper;if(e){e.destroy()}this.popper=null};e.prototype.renderCloseButton=function(){var e=this;var t=this,a=t.dismissible,n=t.closeButton,r=t.intlClose;return a||n?i("div",{class:h.closeButtonContainer},i("calcite-action",{class:h.closeButton,onClick:this.hide,ref:function(t){return e.closeButtonEl=t},text:r},i("calcite-icon",{icon:"x",scale:"m"}))):null};e.prototype.renderHeader=function(){var e=this,t=e.heading,a=e.headingLevel;var n=t?i(u,{class:h.heading,level:a||g},t):null;return n?i("div",{class:h.header},n,this.renderCloseButton()):null};e.prototype.render=function(){var e,t;var a=this;var n=this,o=n.effectiveReferenceElement,s=n.heading,l=n.label,c=n.open,f=n.disablePointer;var m=o&&c;var d=!m;var u=!f?i("div",{class:h.arrow,ref:function(e){return a.arrowEl=e}}):null;return i(r,{"aria-hidden":d.toString(),"aria-label":l,"calcite-hydrated-hidden":d,id:this.getId(),role:"dialog"},i("div",{class:(e={},e[p.animation]=true,e[p.animationActive]=m,e),onTransitionEnd:this.transitionEnd},u,i("div",{class:(t={},t[h.hasHeader]=!!s,t[h.container]=true,t)},this.renderHeader(),i("div",{class:h.content},i("slot",null)),!s?this.renderCloseButton():null)))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}},enumerable:false,configurable:true});return e}());k.style=x;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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";var _=e("calcite_popover_manager",function(){function e(e){var a=this;t(this,e);this.selector="["+v+"]";this.autoClose=false;this.queryPopover=function(e){var t=a.el;if(!e.includes(t)){return null}var n=e.find((function(e){var t;return(t=e===null||e===void 0?void 0:e.hasAttribute)===null||t===void 0?void 0:t.call(e,v)}));if(!n){return null}var i=n.getAttribute(v);return m(t,{id:i})}}e.prototype.render=function(){return i("slot",null)};e.prototype.closeOpenPopovers=function(e){var t=this,a=t.autoClose,n=t.el;var i="calcite-popover";var r=e.composedPath();var o=this.queryPopover(r);if(o){o.toggle();return}if(a){d(n,i).filter((function(e){return e.open&&!r.includes(e)})).forEach((function(e){return e.toggle(false)}))}};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());_.style=D}}}));
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,a,i){function n(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,r){function o(t){try{l(i.next(t))}catch(t){r(t)}}function s(t){try{l(i["throw"](t))}catch(t){r(t)}}function l(t){t.done?a(t.value):n(t.value).then(o,s)}l((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,n,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return l([t,e])}}function l(o){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;n=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(o[0]===6&&a.label<r[1]){a.label=r[1];r=o;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(o);break}if(r[2])a.ops.pop();a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t];n=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[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
|
-
*/System.register(["./p-288bc438.system.js","./p-ac9607f2.system.js","./p-631e416a.system.js","./p-4de6f4fd.system.js","./p-ac4aec20.system.js","./p-e020662f.system.js","./p-ec9bab33.system.js","./p-ab14b0a2.system.js","./p-1d6404b5.system.js"],(function(t){"use strict";var e,a,i,n,r,o,s,l,c,d,m,f,u,h,p,w,b,v,g,y,k,x,D,_,A,I,S,L,C,j,E;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.g;r=t.H},function(t){o=t.S},function(t){s=t.m;l=t.d;c=t.a;d=t.s;m=t.h;f=t.g;u=t.k;h=t.i;p=t.b;w=t.c;b=t.r;v=t.e;g=t.f;y=t.j;k=t.l;x=t.L;D=t.I;_=t.C;A=t.S},function(t){I=t.g},function(t){S=t.c},function(t){L=t.g},function(t){C=t.g},function(t){j=t.c;E=t.d},function(){}],execute:function(){var F={container:"container",handle:"handle"};var z;(function(t){t["grip"]="grip"})(z||(z={}));var H="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}calcite-value-list-item:last-of-type{--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)}:host([filter-enabled]) header{margin-bottom:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--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)}:host([filter-enabled]) header.sticky-pos{position:-webkit-sticky;position:sticky;top:0px;z-index:10}calcite-filter{margin-bottom:1px}";var P=t("calcite_value_list",function(){function t(t){var i=this;e(this,t);this.calciteListChange=a(this,"calciteListChange",7);this.calciteListOrderChange=a(this,"calciteListOrderChange",7);this.disabled=false;this.dragEnabled=false;this.filterEnabled=false;this.loading=false;this.multiple=false;this.selectionFollowsFocus=false;this.selectedValues=new Map;this.dataForFilter=[];this.lastSelectedItem=null;this.mutationObserver=S("mutation",s.bind(this));this.setFilterEl=function(t){i.filterEl=t};this.deselectRemovedItems=l.bind(this);this.deselectSiblingItems=c.bind(this);this.selectSiblings=d.bind(this);this.handleFilter=m.bind(this);this.getItemData=f.bind(this);this.keyDownHandler=function(t){var e=t.composedPath().find((function(t){var e;return((e=t.dataset)===null||e===void 0?void 0:e.jsHandle)!==undefined}));var a=t.composedPath().find((function(t){var e;return((e=t.tagName)===null||e===void 0?void 0:e.toLowerCase())==="calcite-value-list-item"}));if(!e||!a.handleActivated){u.call(i,t);return}var n=i.items;if(t.key!=="ArrowUp"&&t.key!=="ArrowDown"||n.length<=1){return}t.preventDefault();var r=i.el;var o=t.key==="ArrowDown"?1:-1;var s=n.indexOf(a);var l=I(s+o,n.length);if(l===n.length-1){r.appendChild(a)}else{var c=r.children[l];var d=c===a.nextElementSibling?c.nextElementSibling:c;r.insertBefore(a,d)}i.items=i.getItems();i.calciteListOrderChange.emit(i.items.map((function(t){var e=t.value;return e})));requestAnimationFrame((function(){return e.focus()}));a.handleActivated=true}}t.prototype.connectedCallback=function(){h.call(this);p.call(this)};t.prototype.componentDidLoad=function(){this.setUpDragAndDrop()};t.prototype.disconnectedCallback=function(){w.call(this);this.cleanUpDragAndDrop()};t.prototype.calciteListItemRemoveHandler=function(t){b.call(this,t)};t.prototype.calciteListItemChangeHandler=function(t){v.call(this,t)};t.prototype.calciteListItemPropsChangeHandler=function(t){t.stopPropagation();this.setUpFilter()};t.prototype.calciteListItemValueChangeHandler=function(t){g.call(this,t)};t.prototype.getItems=function(){return Array.from(this.el.querySelectorAll("calcite-value-list-item"))};t.prototype.setUpItems=function(){y.call(this,"calcite-value-list-item")};t.prototype.setUpFilter=function(){if(this.filterEnabled){this.dataForFilter=this.getItemData()}};t.prototype.setUpDragAndDrop=function(){var t=this;this.cleanUpDragAndDrop();if(!this.dragEnabled){return}this.sortable=o.create(this.el,{dataIdAttr:"id",handle:"."+F.handle,draggable:"calcite-value-list-item",group:this.group,onSort:function(){t.items=Array.from(t.el.querySelectorAll("calcite-value-list-item"));var e=t.items.map((function(t){return t.value}));t.calciteListOrderChange.emit(e)}})};t.prototype.cleanUpDragAndDrop=function(){var t;(t=this.sortable)===null||t===void 0?void 0:t.destroy();this.sortable=null};t.prototype.getSelectedItems=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.selectedValues]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,k.call(this,t)]}))}))};t.prototype.getIconType=function(){var t=null;if(this.dragEnabled){t=z.grip}return t};t.prototype.render=function(){return i(x,{onKeyDown:this.keyDownHandler,props:this})};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());P.style=H;var U={drag:"drag"};var O={actionsEnd:"actions-end",actionsStart:"actions-start"};var R="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{margin-bottom:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--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);-webkit-transition:background-color var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;-ms-flex-positive:1;flex-grow:1;--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)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 1px 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)}.handle{display:-ms-flexbox;display:flex;cursor:move;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:transparent;padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem;color:var(--calcite-ui-text-1);color:var(--calcite-ui-border-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}";var B=t("calcite_value_list_item",function(){function t(t){var i=this;e(this,t);this.calciteListItemRemove=a(this,"calciteListItemRemove",7);this.disabled=false;this.disableDeselect=false;this.nonInteractive=false;this.handleActivated=false;this.icon=null;this.removable=false;this.selected=false;this.pickListItem=null;this.guid="calcite-value-list-item-"+L();this.getPickListRef=function(t){return i.pickListItem=t};this.handleKeyDown=function(t){if(t.key===" "){i.handleActivated=!i.handleActivated}};this.handleBlur=function(){i.handleActivated=false};this.handleSelectChange=function(t){i.selected=t.detail.selected}}t.prototype.connectedCallback=function(){j(this)};t.prototype.disconnectedCallback=function(){E(this)};t.prototype.toggleSelected=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.pickListItem.toggleSelected(t);return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.pickListItem)===null||t===void 0?void 0:t.setFocus();return[2]}))}))};t.prototype.calciteListItemChangeHandler=function(t){t.detail.item=this.el};t.prototype.renderActionsEnd=function(){var t=this.el;var e=C(t,O.actionsEnd);return e?i("slot",{name:O.actionsEnd,slot:A.actionsEnd}):null};t.prototype.renderActionsStart=function(){var t=this.el;var e=C(t,O.actionsStart);return e?i("slot",{name:O.actionsStart,slot:A.actionsStart}):null};t.prototype.renderHandle=function(){var t;var e=this.icon;if(e===D.grip){return i("span",{"aria-pressed":this.handleActivated.toString(),class:(t={},t[_.handle]=true,t[_.handleActivated]=this.handleActivated,t),"data-js-handle":true,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"button",tabindex:"0"},i("calcite-icon",{icon:U.drag,scale:"s"}))}};t.prototype.render=function(){return i(r,{id:this.el.id||this.guid},this.renderHandle(),i("calcite-pick-list-item",{description:this.description,disableDeselect:this.disableDeselect,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,ref:this.getPickListRef,removable:this.removable,selected:this.selected,value:this.value},this.renderActionsStart(),this.renderActionsEnd()))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());B.style=R}}}));
|