@esri/calcite-components 1.0.0-beta.64 → 1.0.0-beta.68
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/calcite-icon/beacon16.json +1 -0
- package/dist/calcite/assets/calcite-icon/beacon24.json +1 -0
- package/dist/calcite/assets/calcite-icon/beacon32.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyObjects16.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyObjects24.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyObjects32.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyPixels16.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyPixels24.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyPixels32.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataCloud16.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataCloud24.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataCloud32.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataFolder16.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataFolder24.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataFolder32.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataRaster16.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataRaster24.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataRaster32.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeHeightEvenly16.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeHeightEvenly24.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeHeightEvenly32.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeWidthEvenly16.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeWidthEvenly24.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeWidthEvenly32.json +1 -0
- package/dist/calcite/assets/calcite-icon/featureDisplayOrder16.json +1 -0
- package/dist/calcite/assets/calcite-icon/featureDisplayOrder24.json +1 -0
- package/dist/calcite/assets/calcite-icon/featureDisplayOrder32.json +1 -0
- package/dist/calcite/assets/calcite-icon/fingerprint16.json +1 -0
- package/dist/calcite/assets/calcite-icon/fingerprint24.json +1 -0
- package/dist/calcite/assets/calcite-icon/fingerprint32.json +1 -0
- package/dist/calcite/assets/calcite-icon/gridUnit16.json +1 -0
- package/dist/calcite/assets/calcite-icon/gridUnit24.json +1 -0
- package/dist/calcite/assets/calcite-icon/gridUnit32.json +1 -0
- package/dist/calcite/assets/calcite-icon/horizontalDistribute16.json +1 -0
- package/dist/calcite/assets/calcite-icon/horizontalDistribute24.json +1 -0
- package/dist/calcite/assets/calcite-icon/horizontalDistribute32.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageChips16.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageChips24.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageChips32.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageUnit16.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageUnit24.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageUnit32.json +1 -0
- package/dist/calcite/assets/calcite-icon/lassoSelect16.json +1 -0
- package/dist/calcite/assets/calcite-icon/lassoSelect24.json +1 -0
- package/dist/calcite/assets/calcite-icon/lassoSelect32.json +1 -0
- package/dist/calcite/assets/calcite-icon/newTraining16.json +1 -0
- package/dist/calcite/assets/calcite-icon/newTraining24.json +1 -0
- package/dist/calcite/assets/calcite-icon/newTraining32.json +1 -0
- package/dist/calcite/assets/calcite-icon/orientedImageryWidget16.json +1 -0
- package/dist/calcite/assets/calcite-icon/orientedImageryWidget24.json +1 -0
- package/dist/calcite/assets/calcite-icon/orientedImageryWidget32.json +1 -0
- package/dist/calcite/assets/calcite-icon/package16.json +1 -0
- package/dist/calcite/assets/calcite-icon/package24.json +1 -0
- package/dist/calcite/assets/calcite-icon/package32.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMark16.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMark24.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMark32.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus16.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus24.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus32.json +1 -0
- package/dist/calcite/assets/calcite-icon/processingTemplates16.json +1 -0
- package/dist/calcite/assets/calcite-icon/processingTemplates24.json +1 -0
- package/dist/calcite/assets/calcite-icon/processingTemplates32.json +1 -0
- package/dist/calcite/assets/calcite-icon/retrain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/retrain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/retrain32.json +1 -0
- package/dist/calcite/assets/calcite-icon/smartForm16.json +1 -0
- package/dist/calcite/assets/calcite-icon/smartForm24.json +1 -0
- package/dist/calcite/assets/calcite-icon/smartForm32.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleCheck16.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleCheck24.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleCheck32.json +1 -0
- package/dist/calcite/assets/calcite-icon/subscript16.json +1 -0
- package/dist/calcite/assets/calcite-icon/subscript24.json +1 -0
- package/dist/calcite/assets/calcite-icon/subscript32.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript16.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript24.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript32.json +1 -0
- package/dist/calcite/assets/calcite-icon/verticalDistribute16.json +1 -0
- package/dist/calcite/assets/calcite-icon/verticalDistribute24.json +1 -0
- package/dist/calcite/assets/calcite-icon/verticalDistribute32.json +1 -0
- package/dist/calcite/assets/calcite-icon/wifi16.json +1 -0
- package/dist/calcite/assets/calcite-icon/wifi24.json +1 -0
- package/dist/calcite/assets/calcite-icon/wifi32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +5 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +4 -0
- package/dist/calcite/p-00d72f16.entry.js +5 -0
- package/dist/calcite/p-01c3783e.system.entry.js +5 -0
- package/dist/calcite/p-021d44b7.system.entry.js +5 -0
- package/dist/calcite/p-050dc7e6.system.entry.js +5 -0
- package/dist/calcite/p-05bf835f.js +5 -0
- package/dist/calcite/p-07ba39b6.js +5 -0
- package/dist/calcite/p-0e30afe6.entry.js +5 -0
- package/dist/calcite/p-0fb8cdc5.entry.js +5 -0
- package/dist/calcite/p-0fc8b24c.system.entry.js +5 -0
- package/dist/calcite/p-0fd333ff.entry.js +5 -0
- package/dist/calcite/p-10ccc21d.entry.js +5 -0
- package/dist/calcite/p-157d05ce.js +5 -0
- package/dist/calcite/p-175764f3.system.entry.js +5 -0
- package/dist/calcite/p-18078190.entry.js +5 -0
- package/dist/calcite/p-18574b32.entry.js +5 -0
- package/dist/calcite/p-1aaf7f83.entry.js +5 -0
- package/dist/calcite/p-1b2c1f55.entry.js +5 -0
- package/dist/calcite/p-1d6404b5.system.js +5 -0
- package/dist/calcite/p-1f99b038.entry.js +5 -0
- package/dist/calcite/p-1fb7138b.js +5 -0
- package/dist/calcite/p-20042561.entry.js +5 -0
- package/dist/calcite/p-22ad79b1.entry.js +5 -0
- package/dist/calcite/p-24b86e03.entry.js +5 -0
- package/dist/calcite/p-26045881.entry.js +5 -0
- package/dist/calcite/p-26508b91.js +5 -0
- package/dist/calcite/p-2920aa02.entry.js +5 -0
- package/dist/calcite/p-29b110b2.entry.js +5 -0
- package/dist/calcite/p-2ba00b89.js +5 -0
- package/dist/calcite/p-318e95d7.system.entry.js +5 -0
- package/dist/calcite/p-31c4a271.system.entry.js +5 -0
- package/dist/calcite/p-32faf98b.system.entry.js +5 -0
- package/dist/calcite/p-32fbf8cd.system.js +5 -0
- package/dist/calcite/p-349333f8.system.entry.js +5 -0
- package/dist/calcite/p-34a1c944.entry.js +5 -0
- package/dist/calcite/p-34a6550f.system.entry.js +5 -0
- package/dist/calcite/p-361ddbb6.entry.js +5 -0
- package/dist/calcite/p-378b83de.entry.js +5 -0
- package/dist/calcite/p-378ffa38.system.js +5 -0
- package/dist/calcite/p-37cee0ea.entry.js +5 -0
- package/dist/calcite/p-3929447c.system.entry.js +5 -0
- package/dist/calcite/p-3b17d8d0.system.js +5 -0
- package/dist/calcite/p-3ba8024a.system.entry.js +5 -0
- package/dist/calcite/p-4035444d.system.js +5 -0
- package/dist/calcite/p-41e9b889.entry.js +5 -0
- package/dist/calcite/p-43494684.entry.js +5 -0
- package/dist/calcite/p-45d123be.system.entry.js +5 -0
- package/dist/calcite/p-47313747.system.js +5 -0
- package/dist/calcite/p-473cfb74.system.entry.js +5 -0
- package/dist/calcite/p-477bac2c.system.js +5 -0
- package/dist/calcite/p-485062f4.system.entry.js +5 -0
- package/dist/calcite/p-4c7e3d8e.system.entry.js +5 -0
- package/dist/calcite/p-4de6f4fd.system.js +5 -0
- package/dist/calcite/p-4e06a168.entry.js +5 -0
- package/dist/calcite/p-51cb078a.entry.js +5 -0
- package/dist/calcite/p-52cc870b.js +5 -0
- package/dist/calcite/p-530584ff.system.entry.js +5 -0
- package/dist/calcite/p-568ed3d6.system.entry.js +5 -0
- package/dist/calcite/p-56b352bf.system.js +5 -0
- package/dist/calcite/p-57f5866d.system.entry.js +5 -0
- package/dist/calcite/p-5c221c33.system.entry.js +5 -0
- package/dist/calcite/p-5cb26137.system.entry.js +5 -0
- package/dist/calcite/p-61038b30.js +5 -0
- package/dist/calcite/p-64d90b14.system.js +5 -0
- package/dist/calcite/p-67fd79db.entry.js +5 -0
- package/dist/calcite/p-693a4d5f.entry.js +5 -0
- package/dist/calcite/p-69548a7d.system.entry.js +5 -0
- package/dist/calcite/p-6a541e77.system.js +5 -0
- package/dist/calcite/p-6cc23c39.system.js +5 -0
- package/dist/calcite/p-72563742.js +5 -0
- package/dist/calcite/p-727c8f36.system.entry.js +5 -0
- package/dist/calcite/p-728501db.system.js +5 -0
- package/dist/calcite/p-72ffc6d7.entry.js +5 -0
- package/dist/calcite/p-745e41ea.entry.js +5 -0
- package/dist/calcite/p-75793454.entry.js +5 -0
- package/dist/calcite/p-7839d1c9.entry.js +5 -0
- package/dist/calcite/p-7a544774.system.entry.js +5 -0
- package/dist/calcite/p-7b01fe89.js +5 -0
- package/dist/calcite/p-7b600760.entry.js +5 -0
- package/dist/calcite/p-7c0debe0.system.entry.js +5 -0
- package/dist/calcite/p-7cdfec27.system.js +5 -0
- package/dist/calcite/p-7ed4c551.system.js +5 -0
- package/dist/calcite/p-7f4a5f8e.system.entry.js +5 -0
- package/dist/calcite/p-81a82d01.system.entry.js +5 -0
- package/dist/calcite/p-85a2bf7c.system.entry.js +5 -0
- package/dist/calcite/p-8655c0a1.entry.js +5 -0
- package/dist/calcite/p-87b93729.entry.js +5 -0
- package/dist/calcite/p-87e83c0d.system.entry.js +5 -0
- package/dist/calcite/p-8a63221d.js +5 -0
- package/dist/calcite/p-8efb43fc.entry.js +5 -0
- package/dist/calcite/p-8fcfe861.js +5 -0
- package/dist/calcite/p-91645bf7.system.js +5 -0
- package/dist/calcite/p-9358deb1.system.entry.js +5 -0
- package/dist/calcite/p-93d8a7d5.entry.js +5 -0
- package/dist/calcite/p-95a3a0ce.entry.js +5 -0
- package/dist/calcite/p-9965ea81.system.js +5 -0
- package/dist/calcite/p-99da965d.system.entry.js +5 -0
- package/dist/calcite/p-9ac1fa0b.system.entry.js +5 -0
- package/dist/calcite/p-9caae570.entry.js +5 -0
- package/dist/calcite/p-9d3ee5cf.system.entry.js +5 -0
- package/dist/calcite/p-9d83f268.system.entry.js +5 -0
- package/dist/calcite/p-9dbb69f7.entry.js +5 -0
- package/dist/calcite/p-9e4f2697.system.entry.js +5 -0
- package/dist/calcite/p-a0c02648.system.js +5 -0
- package/dist/calcite/p-a20df95c.js +5 -0
- package/dist/calcite/p-a62de092.js +5 -0
- package/dist/calcite/p-a7521c0d.entry.js +5 -0
- package/dist/calcite/p-a8cd5cde.system.entry.js +5 -0
- package/dist/calcite/p-a93678c6.system.entry.js +5 -0
- package/dist/calcite/p-aad45edf.system.js +5 -0
- package/dist/calcite/p-ac3d8784.entry.js +5 -0
- package/dist/calcite/p-ac9607f2.system.js +11 -0
- package/dist/calcite/p-acaad99b.system.entry.js +5 -0
- package/dist/calcite/p-accdb0ce.js +5 -0
- package/dist/calcite/p-b06207bb.js +5 -0
- package/dist/calcite/p-b2ab0485.js +5 -0
- package/dist/calcite/p-b701101e.entry.js +5 -0
- package/dist/calcite/p-ba255377.entry.js +5 -0
- package/dist/calcite/p-ba9b4f62.system.entry.js +5 -0
- package/dist/calcite/p-bb916828.system.entry.js +5 -0
- package/dist/calcite/p-bc02d9ef.system.entry.js +5 -0
- package/dist/calcite/p-bcc323ec.system.entry.js +5 -0
- package/dist/calcite/p-bd555b2e.system.entry.js +5 -0
- package/dist/calcite/p-be3b0fee.entry.js +5 -0
- package/dist/calcite/p-bfc162ee.system.entry.js +5 -0
- package/dist/calcite/p-c0dd929a.entry.js +5 -0
- package/dist/calcite/p-c1995144.system.entry.js +5 -0
- package/dist/calcite/p-c20278e8.system.entry.js +5 -0
- package/dist/calcite/p-c31243c5.entry.js +5 -0
- package/dist/calcite/p-c3922ef7.system.entry.js +5 -0
- package/dist/calcite/p-c57f8690.entry.js +5 -0
- package/dist/calcite/p-c5ec8d74.js +11 -0
- package/dist/calcite/p-c74fc589.system.js +5 -0
- package/dist/calcite/p-caf7085a.system.js +5 -0
- package/dist/calcite/p-cb228ac0.entry.js +5 -0
- package/dist/calcite/p-cbdf0e6c.js +5 -0
- package/dist/calcite/p-cd8f7781.system.entry.js +5 -0
- package/dist/calcite/p-d35e423d.js +5 -0
- package/dist/calcite/p-d5d62977.entry.js +5 -0
- package/dist/calcite/p-d7a7a544.system.entry.js +5 -0
- package/dist/calcite/p-d7e5b807.system.entry.js +5 -0
- package/dist/calcite/p-da9603a3.entry.js +5 -0
- package/dist/calcite/p-db10485b.system.js +5 -0
- package/dist/calcite/p-de0f4633.entry.js +5 -0
- package/dist/calcite/p-e020662f.system.js +5 -0
- package/dist/calcite/p-e33a2dd2.system.entry.js +5 -0
- package/dist/calcite/p-e3a30266.system.entry.js +5 -0
- package/dist/calcite/p-e4acb5a8.js +5 -0
- package/dist/calcite/p-e693758c.entry.js +5 -0
- package/dist/calcite/p-e9044cc1.entry.js +5 -0
- package/dist/calcite/p-eb3ee207.entry.js +5 -0
- package/dist/calcite/p-f07d3627.js +5 -0
- package/dist/calcite/p-f141da0f.entry.js +5 -0
- package/dist/calcite/p-f243b615.js +5 -0
- package/dist/calcite/p-f37563ac.system.entry.js +5 -0
- package/dist/calcite/p-f4299b95.entry.js +5 -0
- package/dist/calcite/p-f5d25746.system.entry.js +5 -0
- package/dist/calcite/p-f8d975a1.system.entry.js +5 -0
- package/dist/calcite/p-fb1da0f5.system.js +5 -0
- package/dist/calcite/p-fc4846f0.system.entry.js +5 -0
- package/dist/calcite/p-fe52131d.entry.js +5 -0
- package/dist/calcite/p-ff04f827.system.entry.js +5 -0
- package/dist/calcite/p-fff0a881.entry.js +5 -0
- package/dist/cjs/CalciteExpandToggle-0d802f83.js +94 -0
- package/dist/cjs/CalciteHeading-381b977d.js +19 -0
- package/dist/cjs/array-a5dedf5a.js +11 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +10 -6
- package/dist/cjs/calcite-action-bar.cjs.entry.js +33 -23
- package/dist/cjs/calcite-action-group.cjs.entry.js +10 -6
- package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -7
- package/dist/cjs/calcite-action.cjs.entry.js +12 -12
- package/dist/cjs/calcite-alert.cjs.entry.js +10 -6
- package/dist/cjs/calcite-avatar.cjs.entry.js +9 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +38 -31
- package/dist/cjs/calcite-button.cjs.entry.js +63 -40
- package/dist/cjs/calcite-card.cjs.entry.js +9 -5
- package/dist/cjs/calcite-checkbox.cjs.entry.js +28 -35
- package/dist/cjs/calcite-chip.cjs.entry.js +8 -4
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -14
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +36 -31
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +49 -40
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -4
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -10
- package/dist/cjs/calcite-flow.cjs.entry.js +7 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +80 -31
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +9 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +28 -17
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +32 -22
- package/dist/cjs/calcite-input-message.cjs.entry.js +8 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +26 -22
- package/dist/cjs/calcite-input.cjs.entry.js +30 -25
- package/dist/cjs/calcite-label.cjs.entry.js +20 -78
- package/dist/cjs/calcite-link.cjs.entry.js +14 -4
- package/dist/cjs/calcite-list_3.cjs.entry.js +33 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +8 -4
- package/dist/cjs/calcite-modal.cjs.entry.js +10 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +10 -6
- package/dist/cjs/calcite-option_3.cjs.entry.js +17 -15
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -4
- package/dist/cjs/calcite-panel.cjs.entry.js +12 -8
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +11 -7
- package/dist/cjs/calcite-progress.cjs.entry.js +6 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +6 -2
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +27 -25
- package/dist/cjs/calcite-radio_2.cjs.entry.js +57 -30
- package/dist/cjs/calcite-rating.cjs.entry.js +23 -11
- package/dist/cjs/calcite-scrim.cjs.entry.js +6 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -6
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +27 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +8 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -7
- package/dist/cjs/calcite-switch.cjs.entry.js +46 -39
- package/dist/cjs/calcite-tab_4.cjs.entry.js +15 -11
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +26 -9
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -5
- package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +14 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +30 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +14 -10
- package/dist/cjs/calcite.cjs.js +7 -3
- package/dist/cjs/debounce-95979061.js +495 -0
- package/dist/cjs/dom-19822169.js +170 -0
- package/dist/cjs/forIn-a5d553af.js +622 -0
- package/dist/cjs/form-00fb301c.js +22 -0
- package/dist/cjs/guid-b270f0db.js +20 -0
- package/dist/cjs/index-1987a382.js +2066 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/interfaces-54651c1c.js +13 -0
- package/dist/cjs/key-8bfb93ec.js +37 -0
- package/dist/cjs/label-549c3d9d.js +58 -0
- package/dist/cjs/loader.cjs.js +7 -3
- package/dist/cjs/locale-69dc9583.js +123 -0
- package/dist/cjs/math-9d44163f.js +9 -0
- package/dist/cjs/number-e6448e15.js +45 -0
- package/dist/cjs/observers-41837607.js +22 -0
- package/dist/cjs/popper-cd9c0742.js +1790 -0
- package/dist/cjs/resources-407a4290.js +20 -0
- package/dist/cjs/resources-7dcd68d1.js +232 -0
- package/dist/cjs/resources-d0619f6a.js +346 -0
- package/dist/cjs/resources-ffe563a2.js +21 -0
- package/dist/cjs/sortable.esm-d7a4560b.js +3019 -0
- package/dist/cjs/utils-55d67711.js +123 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/calcite-accordion/calcite-accordion.js +7 -0
- package/dist/collection/components/calcite-accordion/interfaces.js +4 -0
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +7 -0
- package/dist/collection/components/calcite-action/calcite-action.css +18 -69
- package/dist/collection/components/calcite-action/calcite-action.js +35 -32
- package/dist/collection/components/calcite-action/resources.js +4 -0
- package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +45 -16
- package/dist/collection/components/calcite-action-bar/resources.js +4 -0
- package/dist/collection/components/calcite-action-bar/utils.js +5 -0
- package/dist/collection/components/calcite-action-group/calcite-action-group.js +4 -0
- package/dist/collection/components/calcite-action-group/resources.js +4 -0
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +8 -2
- package/dist/collection/components/calcite-action-menu/resources.js +4 -0
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +4 -0
- package/dist/collection/components/calcite-action-pad/resources.js +4 -0
- package/dist/collection/components/calcite-alert/calcite-alert.css +0 -62
- package/dist/collection/components/calcite-alert/calcite-alert.js +4 -0
- package/dist/collection/components/calcite-alert/interfaces.js +4 -0
- package/dist/collection/components/calcite-alert/resources.js +4 -0
- package/dist/collection/components/calcite-avatar/calcite-avatar.js +4 -0
- package/dist/collection/components/calcite-avatar/utils.js +4 -0
- package/dist/collection/components/calcite-block/calcite-block.css +18 -0
- package/dist/collection/components/calcite-block/calcite-block.js +12 -7
- package/dist/collection/components/calcite-block/resources.js +8 -2
- package/dist/collection/components/calcite-block-section/calcite-block-section.css +1 -0
- package/dist/collection/components/calcite-block-section/calcite-block-section.js +20 -16
- package/dist/collection/components/calcite-block-section/interfaces.js +4 -0
- package/dist/collection/components/calcite-block-section/resources.js +4 -0
- package/dist/collection/components/calcite-button/calcite-button.js +40 -38
- package/dist/collection/components/calcite-button/interfaces.js +4 -0
- package/dist/collection/components/calcite-button/resources.js +4 -0
- package/dist/collection/components/calcite-card/calcite-card.js +5 -1
- package/dist/collection/components/calcite-card/resources.js +4 -0
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +5 -2
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +46 -41
- package/dist/collection/components/calcite-chip/calcite-chip.js +6 -1
- package/dist/collection/components/calcite-chip/interfaces.js +4 -0
- package/dist/collection/components/calcite-chip/resources.js +4 -0
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +8 -4
- package/dist/collection/components/calcite-color-picker/interfaces.js +4 -0
- package/dist/collection/components/calcite-color-picker/resources.js +4 -0
- package/dist/collection/components/calcite-color-picker/utils.js +4 -0
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -0
- package/dist/collection/components/calcite-color-picker-hex-input/resources.js +4 -0
- package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +4 -0
- package/dist/collection/components/calcite-color-picker-swatch/resources.js +4 -0
- package/dist/collection/components/calcite-combobox/calcite-combobox.css +20 -5
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +30 -21
- package/dist/collection/components/calcite-combobox/interfaces.js +4 -0
- package/dist/collection/components/calcite-combobox/resources.js +4 -0
- package/dist/collection/components/calcite-combobox/utils.js +4 -0
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +1 -1
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +7 -0
- package/dist/collection/components/calcite-combobox-item/resources.js +4 -0
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +7 -0
- package/dist/collection/components/calcite-combobox-item-group/resources.js +4 -0
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +4 -0
- package/dist/collection/components/calcite-date-picker/interfaces.js +4 -0
- package/dist/collection/components/calcite-date-picker/resources.js +4 -0
- package/dist/collection/components/calcite-date-picker/utils.js +4 -0
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +1 -1
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +4 -0
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +1 -1
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +4 -0
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +1 -1
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +4 -0
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +0 -1
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +44 -32
- package/dist/collection/components/calcite-dropdown/interfaces.js +4 -0
- package/dist/collection/components/calcite-dropdown/resources.js +4 -0
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +7 -0
- package/dist/collection/components/calcite-dropdown-group/interfaces.js +4 -0
- package/dist/collection/components/calcite-dropdown-group/resources.js +4 -0
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +7 -0
- package/dist/collection/components/calcite-dropdown-item/resources.js +4 -0
- package/dist/collection/components/calcite-fab/calcite-fab.js +4 -0
- package/dist/collection/components/calcite-fab/resources.js +4 -0
- package/dist/collection/components/calcite-filter/calcite-filter.css +6 -1
- package/dist/collection/components/calcite-filter/calcite-filter.js +7 -5
- package/dist/collection/components/calcite-filter/resources.js +4 -0
- package/dist/collection/components/calcite-flow/calcite-flow.js +4 -0
- package/dist/collection/components/calcite-flow/interfaces.js +4 -0
- package/dist/collection/components/calcite-flow/resources.js +4 -0
- package/dist/collection/components/calcite-graph/calcite-graph.js +4 -0
- package/dist/collection/components/calcite-graph/interfaces.js +4 -0
- package/dist/collection/components/calcite-graph/util.js +4 -0
- package/dist/collection/components/calcite-handle/calcite-handle.js +4 -0
- package/dist/collection/components/calcite-handle/resources.js +4 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/package16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/package24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/package32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi32.json +1 -0
- package/dist/collection/components/calcite-icon/calcite-icon.js +4 -0
- package/dist/collection/components/calcite-icon/resources.js +4 -0
- package/dist/collection/components/calcite-icon/utils.js +4 -0
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +44 -21
- package/dist/collection/components/calcite-inline-editable/resources.js +4 -0
- package/dist/collection/components/calcite-input/calcite-input.js +23 -18
- package/dist/collection/components/calcite-input/interfaces.js +4 -0
- package/dist/collection/components/calcite-input/resources.js +4 -0
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +39 -13
- package/dist/collection/components/calcite-input-message/calcite-input-message.js +7 -0
- package/dist/collection/components/calcite-input-message/interfaces.js +4 -0
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +21 -24
- package/dist/collection/components/calcite-label/calcite-label.css +11 -11
- package/dist/collection/components/calcite-label/calcite-label.js +27 -92
- package/dist/collection/components/calcite-label/resources.js +7 -0
- package/dist/collection/components/calcite-link/calcite-link.js +16 -2
- package/dist/collection/components/calcite-list/calcite-list.js +37 -1
- package/dist/collection/components/calcite-list/resources.js +4 -0
- package/dist/collection/components/calcite-list-item/calcite-list-item.js +35 -3
- package/dist/collection/components/calcite-list-item/resources.js +4 -0
- package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.js +4 -0
- package/dist/collection/components/calcite-list-item-group/resources.js +4 -0
- package/dist/collection/components/calcite-loader/calcite-loader.css +3 -3
- package/dist/collection/components/calcite-loader/calcite-loader.js +4 -0
- package/dist/collection/components/calcite-modal/calcite-modal.js +4 -0
- package/dist/collection/components/calcite-modal/interfaces.js +4 -0
- package/dist/collection/components/calcite-modal/resources.js +4 -0
- package/dist/collection/components/calcite-notice/calcite-notice.css +18 -6
- package/dist/collection/components/calcite-notice/calcite-notice.js +4 -0
- package/dist/collection/components/calcite-notice/resources.js +4 -0
- package/dist/collection/components/calcite-option/calcite-option.js +4 -0
- package/dist/collection/components/calcite-option-group/calcite-option-group.js +7 -0
- package/dist/collection/components/calcite-pagination/calcite-pagination.js +4 -0
- package/dist/collection/components/calcite-pagination/resources.js +4 -0
- package/dist/collection/components/calcite-panel/calcite-panel.css +1 -4
- package/dist/collection/components/calcite-panel/calcite-panel.js +13 -8
- package/dist/collection/components/calcite-panel/resources.js +4 -0
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +1 -1
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +4 -0
- package/dist/collection/components/calcite-pick-list/resources.js +4 -0
- package/dist/collection/components/calcite-pick-list/shared-list-logic.js +4 -0
- package/dist/collection/components/calcite-pick-list/shared-list-render.js +4 -0
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +4 -0
- package/dist/collection/components/calcite-pick-list-group/resources.js +4 -0
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +4 -0
- package/dist/collection/components/calcite-pick-list-item/resources.js +4 -0
- package/dist/collection/components/calcite-popover/calcite-popover.js +7 -0
- package/dist/collection/components/calcite-popover/resources.js +4 -0
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +4 -0
- package/dist/collection/components/calcite-progress/calcite-progress.js +4 -0
- package/dist/collection/components/calcite-radio/calcite-radio.js +4 -0
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +76 -37
- package/dist/collection/components/calcite-radio-button/resources.js +4 -0
- package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.js +7 -0
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +23 -30
- package/dist/collection/components/calcite-radio-group/interfaces.js +4 -0
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +1 -5
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +4 -0
- package/dist/collection/components/calcite-radio-group-item/resources.js +4 -0
- package/dist/collection/components/calcite-rating/calcite-rating.js +20 -14
- package/dist/collection/components/calcite-rating/resources.js +4 -0
- package/dist/collection/components/calcite-scrim/calcite-scrim.js +7 -0
- package/dist/collection/components/calcite-scrim/resources.js +4 -0
- package/dist/collection/components/calcite-select/calcite-select.js +13 -14
- package/dist/collection/components/calcite-select/resources.js +4 -0
- package/dist/collection/components/calcite-shell/calcite-shell.js +6 -2
- package/dist/collection/components/calcite-shell/resources.js +4 -0
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +5 -1
- package/dist/collection/components/calcite-shell-center-row/resources.js +4 -0
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +5 -1
- package/dist/collection/components/calcite-shell-panel/resources.js +4 -0
- package/dist/collection/components/calcite-slider/calcite-slider.js +90 -33
- package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +13 -0
- package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.js +41 -2
- package/dist/collection/components/calcite-sortable-list/resources.js +8 -1
- package/dist/collection/components/calcite-split-button/calcite-split-button.js +7 -0
- package/dist/collection/components/calcite-split-button/resources.js +4 -0
- package/dist/collection/components/calcite-stepper/calcite-stepper.js +7 -0
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +7 -7
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +7 -0
- package/dist/collection/components/calcite-switch/calcite-switch.css +7 -7
- package/dist/collection/components/calcite-switch/calcite-switch.js +82 -47
- package/dist/collection/components/calcite-tab/calcite-tab.css +0 -1
- package/dist/collection/components/calcite-tab/calcite-tab.js +7 -0
- package/dist/collection/components/calcite-tab/interfaces.js +4 -0
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +0 -1
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +7 -0
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +7 -0
- package/dist/collection/components/calcite-tabs/calcite-tabs.js +6 -1
- package/dist/collection/components/calcite-tabs/interfaces.js +4 -0
- package/dist/collection/components/calcite-tabs/resources.js +4 -0
- package/dist/collection/components/calcite-tile/calcite-tile.css +9 -0
- package/dist/collection/components/calcite-tile/calcite-tile.js +4 -0
- package/dist/collection/components/calcite-tile/resources.js +4 -0
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +53 -12
- package/dist/collection/components/calcite-tile-select/interfaces.js +4 -0
- package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.js +7 -0
- package/dist/collection/components/calcite-tile-select-group/interfaces.js +4 -0
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +4 -0
- package/dist/collection/components/calcite-time-picker/resources.js +4 -0
- package/dist/collection/components/calcite-tip/calcite-tip.js +5 -0
- package/dist/collection/components/calcite-tip/resources.js +4 -0
- package/dist/collection/components/calcite-tip-group/calcite-tip-group.js +7 -0
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +4 -0
- package/dist/collection/components/calcite-tip-manager/resources.js +4 -0
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +7 -0
- package/dist/collection/components/calcite-tooltip/resources.js +4 -0
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +7 -2
- package/dist/collection/components/calcite-tree/calcite-tree.js +4 -0
- package/dist/collection/components/calcite-tree/interfaces.js +4 -0
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +25 -1
- package/dist/collection/components/calcite-tree-item/interfaces.js +4 -0
- package/dist/collection/components/calcite-tree-item/resources.js +4 -0
- package/dist/collection/components/calcite-value-list/calcite-value-list.js +5 -1
- package/dist/collection/components/calcite-value-list/resources.js +4 -0
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +4 -0
- package/dist/collection/components/calcite-value-list-item/resources.js +4 -0
- package/dist/collection/components/functional/CalciteExpandToggle.js +6 -1
- package/dist/collection/components/functional/CalciteHeading.js +4 -0
- package/dist/collection/components/interfaces.js +4 -0
- package/dist/collection/utils/array.js +4 -0
- package/dist/collection/utils/date.js +4 -0
- package/dist/collection/utils/dom.js +4 -3
- package/dist/collection/utils/filter.js +5 -1
- package/dist/collection/utils/form.js +4 -0
- package/dist/collection/utils/guid.js +4 -0
- package/dist/collection/utils/key.js +4 -0
- package/dist/collection/utils/label.js +51 -0
- package/dist/collection/utils/locale.js +4 -0
- package/dist/collection/utils/math.js +4 -0
- package/dist/collection/utils/number.js +4 -3
- package/dist/collection/utils/observers.js +4 -0
- package/dist/collection/utils/popper.js +4 -0
- package/dist/collection/utils/resources.js +24 -3
- package/dist/collection/utils/time.js +4 -0
- package/dist/components/CalciteExpandToggle.js +87 -0
- package/dist/components/CalciteHeading.js +16 -0
- package/dist/components/array.js +9 -0
- package/dist/components/calcite-accordion-item.d.ts +11 -0
- package/dist/components/calcite-accordion-item.js +153 -0
- package/dist/components/calcite-accordion.d.ts +11 -0
- package/dist/components/calcite-accordion.js +167 -0
- package/dist/components/calcite-action-bar.d.ts +11 -0
- package/dist/components/calcite-action-bar.js +266 -0
- package/dist/components/calcite-action-group.d.ts +11 -0
- package/dist/components/calcite-action-group.js +10 -0
- package/dist/components/calcite-action-group2.js +135 -0
- package/dist/components/calcite-action-menu.d.ts +11 -0
- package/dist/components/calcite-action-menu.js +10 -0
- package/dist/components/calcite-action-menu2.js +354 -0
- package/dist/components/calcite-action-pad.d.ts +11 -0
- package/dist/components/calcite-action-pad.js +198 -0
- package/dist/components/calcite-action.d.ts +11 -0
- package/dist/components/calcite-action.js +10 -0
- package/dist/components/calcite-action2.js +183 -0
- package/dist/components/calcite-alert.d.ts +11 -0
- package/dist/components/calcite-alert.js +232 -0
- package/dist/components/calcite-avatar.d.ts +11 -0
- package/dist/components/calcite-avatar.js +171 -0
- package/dist/components/calcite-block-section.d.ts +11 -0
- package/dist/components/calcite-block-section.js +139 -0
- package/dist/components/calcite-block.d.ts +11 -0
- package/dist/components/calcite-block.js +216 -0
- package/dist/components/calcite-button.d.ts +11 -0
- package/dist/components/calcite-button.js +10 -0
- package/dist/components/calcite-button2.js +243 -0
- package/dist/components/calcite-card.d.ts +11 -0
- package/dist/components/calcite-card.js +156 -0
- package/dist/components/calcite-checkbox.d.ts +11 -0
- package/dist/components/calcite-checkbox.js +10 -0
- package/dist/components/calcite-checkbox2.js +203 -0
- package/dist/components/calcite-chip.d.ts +11 -0
- package/dist/components/calcite-chip.js +10 -0
- package/dist/components/calcite-chip2.js +121 -0
- package/dist/components/calcite-color-picker-hex-input.d.ts +11 -0
- package/dist/components/calcite-color-picker-hex-input.js +10 -0
- package/dist/components/calcite-color-picker-hex-input2.js +353 -0
- package/dist/components/calcite-color-picker-swatch.d.ts +11 -0
- package/dist/components/calcite-color-picker-swatch.js +10 -0
- package/dist/components/calcite-color-picker-swatch2.js +2176 -0
- package/dist/components/calcite-color-picker.d.ts +11 -0
- package/dist/components/calcite-color-picker.js +966 -0
- package/dist/components/calcite-combobox-item-group.d.ts +11 -0
- package/dist/components/calcite-combobox-item-group.js +68 -0
- package/dist/components/calcite-combobox-item.d.ts +11 -0
- package/dist/components/calcite-combobox-item.js +168 -0
- package/dist/components/calcite-combobox.d.ts +11 -0
- package/dist/components/calcite-combobox.js +871 -0
- package/dist/components/calcite-date-picker-day.d.ts +11 -0
- package/dist/components/calcite-date-picker-day.js +10 -0
- package/dist/components/calcite-date-picker-day2.js +99 -0
- package/dist/components/calcite-date-picker-month-header.d.ts +11 -0
- package/dist/components/calcite-date-picker-month-header.js +10 -0
- package/dist/components/calcite-date-picker-month-header2.js +170 -0
- package/dist/components/calcite-date-picker-month.d.ts +11 -0
- package/dist/components/calcite-date-picker-month.js +10 -0
- package/dist/components/calcite-date-picker-month2.js +313 -0
- package/dist/components/calcite-date-picker.d.ts +11 -0
- package/dist/components/calcite-date-picker.js +10 -0
- package/dist/components/calcite-date-picker2.js +486 -0
- package/dist/components/calcite-dropdown-group.d.ts +11 -0
- package/dist/components/calcite-dropdown-group.js +90 -0
- package/dist/components/calcite-dropdown-item.d.ts +11 -0
- package/dist/components/calcite-dropdown-item.js +202 -0
- package/dist/components/calcite-dropdown.d.ts +11 -0
- package/dist/components/calcite-dropdown.js +10 -0
- package/dist/components/calcite-dropdown2.js +390 -0
- package/dist/components/calcite-fab.d.ts +11 -0
- package/dist/components/calcite-fab.js +127 -0
- package/dist/components/calcite-filter.d.ts +11 -0
- package/dist/components/calcite-filter.js +10 -0
- package/dist/components/calcite-filter2.js +165 -0
- package/dist/components/calcite-flow.d.ts +11 -0
- package/dist/components/calcite-flow.js +138 -0
- package/dist/components/calcite-graph.d.ts +11 -0
- package/dist/components/calcite-graph.js +10 -0
- package/dist/components/calcite-graph2.js +203 -0
- package/dist/components/calcite-handle.d.ts +11 -0
- package/dist/components/calcite-handle.js +10 -0
- package/dist/components/calcite-handle2.js +107 -0
- package/dist/components/calcite-icon.d.ts +11 -0
- package/dist/components/calcite-icon.js +10 -0
- package/dist/components/calcite-icon2.js +185 -0
- package/dist/components/calcite-inline-editable.d.ts +11 -0
- package/dist/components/calcite-inline-editable.js +242 -0
- package/dist/components/calcite-input-date-picker.d.ts +11 -0
- package/dist/components/calcite-input-date-picker.js +471 -0
- package/dist/components/calcite-input-message.d.ts +11 -0
- package/dist/components/calcite-input-message.js +97 -0
- package/dist/components/calcite-input-time-picker.d.ts +11 -0
- package/dist/components/calcite-input-time-picker.js +278 -0
- package/dist/components/calcite-input.d.ts +11 -0
- package/dist/components/calcite-input.js +10 -0
- package/dist/components/calcite-input2.js +494 -0
- package/dist/components/calcite-label.d.ts +11 -0
- package/dist/components/calcite-label.js +84 -0
- package/dist/components/calcite-link.d.ts +11 -0
- package/dist/components/calcite-link.js +10 -0
- package/dist/components/calcite-link2.js +97 -0
- package/dist/components/calcite-list-item-group.d.ts +11 -0
- package/dist/components/calcite-list-item-group.js +57 -0
- package/dist/components/calcite-list-item.d.ts +11 -0
- package/dist/components/calcite-list-item.js +117 -0
- package/dist/components/calcite-list.d.ts +11 -0
- package/dist/components/calcite-list.js +59 -0
- package/dist/components/calcite-loader.d.ts +11 -0
- package/dist/components/calcite-loader.js +10 -0
- package/dist/components/calcite-loader2.js +107 -0
- package/dist/components/calcite-modal.d.ts +11 -0
- package/dist/components/calcite-modal.js +417 -0
- package/dist/components/calcite-notice.d.ts +11 -0
- package/dist/components/calcite-notice.js +140 -0
- package/dist/components/calcite-option-group.d.ts +11 -0
- package/dist/components/calcite-option-group.js +61 -0
- package/dist/components/calcite-option.d.ts +11 -0
- package/dist/components/calcite-option.js +107 -0
- package/dist/components/calcite-pagination.d.ts +11 -0
- package/dist/components/calcite-pagination.js +207 -0
- package/dist/components/calcite-panel.d.ts +11 -0
- package/dist/components/calcite-panel.js +309 -0
- package/dist/components/calcite-pick-list-group.d.ts +11 -0
- package/dist/components/calcite-pick-list-group.js +70 -0
- package/dist/components/calcite-pick-list-item.d.ts +11 -0
- package/dist/components/calcite-pick-list-item.js +10 -0
- package/dist/components/calcite-pick-list-item2.js +230 -0
- package/dist/components/calcite-pick-list.d.ts +11 -0
- package/dist/components/calcite-pick-list.js +196 -0
- package/dist/components/calcite-popover-manager.d.ts +11 -0
- package/dist/components/calcite-popover-manager.js +93 -0
- package/dist/components/calcite-popover.d.ts +11 -0
- package/dist/components/calcite-popover.js +10 -0
- package/dist/components/calcite-popover2.js +332 -0
- package/dist/components/calcite-progress.d.ts +11 -0
- package/dist/components/calcite-progress.js +10 -0
- package/dist/components/calcite-progress2.js +52 -0
- package/dist/components/calcite-radio-button-group.d.ts +11 -0
- package/dist/components/calcite-radio-button-group.js +116 -0
- package/dist/components/calcite-radio-button.d.ts +11 -0
- package/dist/components/calcite-radio-button.js +291 -0
- package/dist/components/calcite-radio-group-item.d.ts +11 -0
- package/dist/components/calcite-radio-group-item.js +139 -0
- package/dist/components/calcite-radio-group.d.ts +11 -0
- package/dist/components/calcite-radio-group.js +233 -0
- package/dist/components/calcite-radio.d.ts +11 -0
- package/dist/components/calcite-radio.js +10 -0
- package/dist/components/calcite-radio2.js +68 -0
- package/dist/components/calcite-rating.d.ts +11 -0
- package/dist/components/calcite-rating.js +160 -0
- package/dist/components/calcite-scrim.d.ts +11 -0
- package/dist/components/calcite-scrim.js +10 -0
- package/dist/components/calcite-scrim2.js +74 -0
- package/dist/components/calcite-select.d.ts +11 -0
- package/dist/components/calcite-select.js +221 -0
- package/dist/components/calcite-shell-center-row.d.ts +11 -0
- package/dist/components/calcite-shell-center-row.js +81 -0
- package/dist/components/calcite-shell-panel.d.ts +11 -0
- package/dist/components/calcite-shell-panel.js +100 -0
- package/dist/components/calcite-shell.d.ts +11 -0
- package/dist/components/calcite-shell.js +99 -0
- package/dist/components/calcite-slider.d.ts +11 -0
- package/dist/components/calcite-slider.js +746 -0
- package/dist/components/calcite-sortable-list.d.ts +11 -0
- package/dist/components/calcite-sortable-list.js +190 -0
- package/dist/components/calcite-split-button.d.ts +11 -0
- package/dist/components/calcite-split-button.js +127 -0
- package/dist/components/calcite-stepper-item.d.ts +11 -0
- package/dist/components/calcite-stepper-item.js +189 -0
- package/dist/components/calcite-stepper.d.ts +11 -0
- package/dist/components/calcite-stepper.js +247 -0
- package/dist/components/calcite-switch.d.ts +11 -0
- package/dist/components/calcite-switch.js +10 -0
- package/dist/components/calcite-switch2.js +162 -0
- package/dist/components/calcite-tab-nav.d.ts +11 -0
- package/dist/components/calcite-tab-nav.js +10 -0
- package/dist/components/calcite-tab-nav2.js +209 -0
- package/dist/components/calcite-tab-title.d.ts +11 -0
- package/dist/components/calcite-tab-title.js +10 -0
- package/dist/components/calcite-tab-title2.js +230 -0
- package/dist/components/calcite-tab.d.ts +11 -0
- package/dist/components/calcite-tab.js +10 -0
- package/dist/components/calcite-tab2.js +122 -0
- package/dist/components/calcite-tabs.d.ts +11 -0
- package/dist/components/calcite-tabs.js +10 -0
- package/dist/components/calcite-tabs2.js +183 -0
- package/dist/components/calcite-tile-select-group.d.ts +11 -0
- package/dist/components/calcite-tile-select-group.js +45 -0
- package/dist/components/calcite-tile-select.d.ts +11 -0
- package/dist/components/calcite-tile-select.js +218 -0
- package/dist/components/calcite-tile.d.ts +11 -0
- package/dist/components/calcite-tile.js +10 -0
- package/dist/components/calcite-tile2.js +98 -0
- package/dist/components/calcite-time-picker.d.ts +11 -0
- package/dist/components/calcite-time-picker.js +10 -0
- package/dist/components/calcite-time-picker2.js +707 -0
- package/dist/components/calcite-tip-group.d.ts +11 -0
- package/dist/components/calcite-tip-group.js +38 -0
- package/dist/components/calcite-tip-manager.d.ts +11 -0
- package/dist/components/calcite-tip-manager.js +218 -0
- package/dist/components/calcite-tip.d.ts +11 -0
- package/dist/components/calcite-tip.js +140 -0
- package/dist/components/calcite-tooltip-manager.d.ts +11 -0
- package/dist/components/calcite-tooltip-manager.js +10 -0
- package/dist/components/calcite-tooltip-manager2.js +168 -0
- package/dist/components/calcite-tooltip.d.ts +11 -0
- package/dist/components/calcite-tooltip.js +224 -0
- package/dist/components/calcite-tree-item.d.ts +11 -0
- package/dist/components/calcite-tree-item.js +303 -0
- package/dist/components/calcite-tree.d.ts +11 -0
- package/dist/components/calcite-tree.js +216 -0
- package/dist/components/calcite-value-list-item.d.ts +11 -0
- package/dist/components/calcite-value-list-item.js +180 -0
- package/dist/components/calcite-value-list.d.ts +11 -0
- package/dist/components/calcite-value-list.js +271 -0
- package/dist/components/date.js +159 -0
- package/dist/components/debounce.js +486 -0
- package/dist/components/dom.js +153 -0
- package/dist/components/forIn.js +619 -0
- package/dist/components/form.js +20 -0
- package/dist/components/guid.js +18 -0
- package/dist/components/index.d.ts +26 -0
- package/dist/components/index.js +5 -0
- package/dist/components/interfaces.js +13 -0
- package/dist/components/interfaces2.js +14 -0
- package/dist/components/key.js +33 -0
- package/dist/components/label.js +54 -0
- package/dist/components/locale.js +118 -0
- package/dist/components/math.js +7 -0
- package/dist/components/number.js +40 -0
- package/dist/components/observers.js +22 -0
- package/dist/components/popper.js +1785 -0
- package/dist/components/resources.js +24 -0
- package/dist/components/resources2.js +13 -0
- package/dist/components/resources3.js +18 -0
- package/dist/components/resources4.js +32 -0
- package/dist/components/shared-list-render.js +286 -0
- package/dist/components/sortable.esm.js +3017 -0
- package/dist/components/utils.js +113 -0
- package/dist/components/utils2.js +38 -0
- package/dist/custom-elements/index.js +5613 -5451
- package/dist/esm/CalciteExpandToggle-151a563a.js +87 -0
- package/dist/esm/CalciteHeading-1735f17a.js +16 -0
- package/dist/esm/array-91a648e2.js +9 -0
- package/dist/esm/calcite-accordion_2.entry.js +10 -6
- package/dist/esm/calcite-action-bar.entry.js +33 -23
- package/dist/esm/calcite-action-group.entry.js +10 -6
- package/dist/esm/calcite-action-menu.entry.js +15 -9
- package/dist/esm/calcite-action-pad.entry.js +11 -7
- package/dist/esm/calcite-action.entry.js +12 -12
- package/dist/esm/calcite-alert.entry.js +10 -6
- package/dist/esm/calcite-avatar.entry.js +9 -5
- package/dist/esm/calcite-block_2.entry.js +38 -31
- package/dist/esm/calcite-button.entry.js +63 -40
- package/dist/esm/calcite-card.entry.js +9 -5
- package/dist/esm/calcite-checkbox.entry.js +28 -35
- package/dist/esm/calcite-chip.entry.js +8 -4
- package/dist/esm/calcite-color-picker_3.entry.js +18 -14
- package/dist/esm/calcite-combobox_3.entry.js +36 -31
- package/dist/esm/calcite-date-picker_4.entry.js +19 -15
- package/dist/esm/calcite-dropdown_3.entry.js +49 -40
- package/dist/esm/calcite-fab.entry.js +8 -4
- package/dist/esm/calcite-filter.entry.js +14 -10
- package/dist/esm/calcite-flow.entry.js +7 -3
- package/dist/esm/calcite-graph_2.entry.js +80 -31
- package/dist/esm/calcite-handle.entry.js +6 -2
- package/dist/esm/calcite-icon.entry.js +9 -5
- package/dist/esm/calcite-inline-editable.entry.js +28 -17
- package/dist/esm/calcite-input-date-picker.entry.js +32 -22
- package/dist/esm/calcite-input-message.entry.js +8 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +26 -22
- package/dist/esm/calcite-input.entry.js +30 -25
- package/dist/esm/calcite-label.entry.js +20 -78
- package/dist/esm/calcite-link.entry.js +14 -4
- package/dist/esm/calcite-list_3.entry.js +33 -8
- package/dist/esm/calcite-loader.entry.js +8 -4
- package/dist/esm/calcite-modal.entry.js +10 -6
- package/dist/esm/calcite-notice.entry.js +10 -6
- package/dist/esm/calcite-option_3.entry.js +17 -15
- package/dist/esm/calcite-pagination.entry.js +8 -4
- package/dist/esm/calcite-panel.entry.js +12 -8
- package/dist/esm/calcite-pick-list_3.entry.js +16 -12
- package/dist/esm/calcite-popover_2.entry.js +11 -7
- package/dist/esm/calcite-progress.entry.js +6 -2
- package/dist/esm/calcite-radio-button-group.entry.js +6 -2
- package/dist/esm/calcite-radio-group_2.entry.js +27 -25
- package/dist/esm/calcite-radio_2.entry.js +57 -30
- package/dist/esm/calcite-rating.entry.js +23 -11
- package/dist/esm/calcite-scrim.entry.js +6 -2
- package/dist/esm/calcite-shell_3.entry.js +10 -6
- package/dist/esm/calcite-sortable-list.entry.js +27 -6
- package/dist/esm/calcite-split-button.entry.js +8 -4
- package/dist/esm/calcite-stepper_2.entry.js +11 -7
- package/dist/esm/calcite-switch.entry.js +46 -39
- package/dist/esm/calcite-tab_4.entry.js +15 -11
- package/dist/esm/calcite-tile-select_2.entry.js +26 -9
- package/dist/esm/calcite-tile.entry.js +9 -5
- package/dist/esm/calcite-tip_3.entry.js +12 -8
- package/dist/esm/calcite-tooltip_2.entry.js +14 -9
- package/dist/esm/calcite-tree_2.entry.js +30 -6
- package/dist/esm/calcite-value-list_2.entry.js +14 -10
- package/dist/esm/calcite.js +7 -3
- package/dist/esm/debounce-79648d42.js +486 -0
- package/dist/esm/dom-f24e866c.js +153 -0
- package/dist/esm/forIn-48d8fb84.js +619 -0
- package/dist/esm/form-cee9f632.js +20 -0
- package/dist/esm/guid-196bd5ea.js +18 -0
- package/dist/esm/index-d653c37f.js +2033 -0
- package/dist/esm/index.js +4 -1
- package/dist/esm/interfaces-51dc4e1b.js +13 -0
- package/dist/esm/key-69001a68.js +33 -0
- package/dist/esm/label-bb61bdef.js +54 -0
- package/dist/esm/loader.js +7 -3
- package/dist/esm/locale-6c1b85c7.js +118 -0
- package/dist/esm/math-250d4476.js +7 -0
- package/dist/esm/number-e7393766.js +40 -0
- package/dist/esm/observers-8f0bc419.js +20 -0
- package/dist/esm/popper-7499ea4f.js +1785 -0
- package/dist/esm/resources-3b481489.js +216 -0
- package/dist/esm/resources-510eed1a.js +325 -0
- package/dist/esm/resources-584acd9b.js +17 -0
- package/dist/esm/resources-7c6029b6.js +16 -0
- package/dist/esm/sortable.esm-04824d33.js +3017 -0
- package/dist/esm/utils-6beb0662.js +113 -0
- package/dist/esm-es5/CalciteExpandToggle-151a563a.js +5 -0
- package/dist/esm-es5/CalciteHeading-1735f17a.js +5 -0
- package/dist/esm-es5/array-91a648e2.js +5 -0
- package/dist/esm-es5/calcite-accordion_2.entry.js +5 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +5 -1
- package/dist/esm-es5/calcite-action-group.entry.js +5 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +5 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +5 -1
- package/dist/esm-es5/calcite-action.entry.js +5 -1
- package/dist/esm-es5/calcite-alert.entry.js +5 -1
- package/dist/esm-es5/calcite-avatar.entry.js +5 -1
- package/dist/esm-es5/calcite-block_2.entry.js +5 -1
- package/dist/esm-es5/calcite-button.entry.js +5 -1
- package/dist/esm-es5/calcite-card.entry.js +5 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +5 -1
- package/dist/esm-es5/calcite-chip.entry.js +5 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +5 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +5 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +5 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +5 -1
- package/dist/esm-es5/calcite-fab.entry.js +5 -1
- package/dist/esm-es5/calcite-filter.entry.js +5 -1
- package/dist/esm-es5/calcite-flow.entry.js +5 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +5 -1
- package/dist/esm-es5/calcite-handle.entry.js +5 -1
- package/dist/esm-es5/calcite-icon.entry.js +5 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +5 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +5 -1
- package/dist/esm-es5/calcite-input-message.entry.js +5 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +5 -1
- package/dist/esm-es5/calcite-input.entry.js +5 -1
- package/dist/esm-es5/calcite-label.entry.js +5 -1
- package/dist/esm-es5/calcite-link.entry.js +5 -1
- package/dist/esm-es5/calcite-list_3.entry.js +5 -1
- package/dist/esm-es5/calcite-loader.entry.js +5 -1
- package/dist/esm-es5/calcite-modal.entry.js +5 -1
- package/dist/esm-es5/calcite-notice.entry.js +5 -1
- package/dist/esm-es5/calcite-option_3.entry.js +5 -1
- package/dist/esm-es5/calcite-pagination.entry.js +5 -1
- package/dist/esm-es5/calcite-panel.entry.js +5 -1
- package/dist/esm-es5/calcite-pick-list_3.entry.js +5 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +5 -1
- package/dist/esm-es5/calcite-progress.entry.js +5 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +5 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +5 -1
- package/dist/esm-es5/calcite-radio_2.entry.js +5 -1
- package/dist/esm-es5/calcite-rating.entry.js +5 -1
- package/dist/esm-es5/calcite-scrim.entry.js +5 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +5 -1
- package/dist/esm-es5/calcite-sortable-list.entry.js +5 -1
- package/dist/esm-es5/calcite-split-button.entry.js +5 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +5 -1
- package/dist/esm-es5/calcite-switch.entry.js +5 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +5 -1
- package/dist/esm-es5/calcite-tile-select_2.entry.js +5 -1
- package/dist/esm-es5/calcite-tile.entry.js +5 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +5 -1
- package/dist/esm-es5/calcite-tooltip_2.entry.js +5 -1
- package/dist/esm-es5/calcite-tree_2.entry.js +5 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +5 -1
- package/dist/esm-es5/calcite.js +5 -1
- package/dist/esm-es5/debounce-79648d42.js +5 -0
- package/dist/esm-es5/dom-f24e866c.js +5 -0
- package/dist/esm-es5/forIn-48d8fb84.js +5 -0
- package/dist/esm-es5/form-cee9f632.js +5 -0
- package/dist/esm-es5/guid-196bd5ea.js +5 -0
- package/dist/esm-es5/index-d653c37f.js +5 -0
- package/dist/esm-es5/index.js +4 -0
- package/dist/esm-es5/interfaces-51dc4e1b.js +5 -0
- package/dist/esm-es5/key-69001a68.js +5 -0
- package/dist/esm-es5/label-bb61bdef.js +5 -0
- package/dist/esm-es5/loader.js +5 -1
- package/dist/esm-es5/locale-6c1b85c7.js +5 -0
- package/dist/esm-es5/math-250d4476.js +5 -0
- package/dist/esm-es5/number-e7393766.js +5 -0
- package/dist/esm-es5/observers-8f0bc419.js +5 -0
- package/dist/esm-es5/popper-7499ea4f.js +5 -0
- package/dist/esm-es5/resources-3b481489.js +5 -0
- package/dist/esm-es5/resources-510eed1a.js +5 -0
- package/dist/esm-es5/resources-584acd9b.js +5 -0
- package/dist/esm-es5/resources-7c6029b6.js +5 -0
- package/dist/esm-es5/sortable.esm-04824d33.js +11 -0
- package/dist/esm-es5/utils-6beb0662.js +5 -0
- package/dist/extras/docs-json.json +624 -218
- package/dist/loader/cdn.js +4 -1
- package/dist/loader/index.cjs.js +4 -1
- package/dist/loader/index.d.ts +0 -1
- package/dist/loader/index.es2017.js +4 -1
- package/dist/loader/index.js +4 -1
- package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +3 -0
- package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +3 -0
- package/dist/types/components/calcite-action/calcite-action.d.ts +3 -3
- package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +8 -4
- package/dist/types/components/calcite-action-bar/utils.d.ts +1 -0
- package/dist/types/components/calcite-block/calcite-block.d.ts +1 -1
- package/dist/types/components/calcite-block/resources.d.ts +2 -0
- package/dist/types/components/calcite-block-section/calcite-block-section.d.ts +1 -1
- package/dist/types/components/calcite-button/calcite-button.d.ts +16 -3
- package/dist/types/components/calcite-card/calcite-card.d.ts +1 -1
- package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +14 -5
- package/dist/types/components/calcite-chip/calcite-chip.d.ts +2 -1
- package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +7 -1
- package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +3 -0
- package/dist/types/components/calcite-combobox-item-group/calcite-combobox-item-group.d.ts +3 -0
- package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +8 -5
- package/dist/types/components/calcite-dropdown-group/calcite-dropdown-group.d.ts +3 -0
- package/dist/types/components/calcite-dropdown-item/calcite-dropdown-item.d.ts +3 -0
- package/dist/types/components/calcite-filter/calcite-filter.d.ts +2 -2
- package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +8 -3
- package/dist/types/components/calcite-input/calcite-input.d.ts +4 -1
- package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +6 -1
- package/dist/types/components/calcite-input-message/calcite-input-message.d.ts +3 -0
- package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +6 -5
- package/dist/types/components/calcite-label/calcite-label.d.ts +8 -5
- package/dist/types/components/calcite-label/resources.d.ts +3 -0
- package/dist/types/components/calcite-link/calcite-link.d.ts +3 -2
- package/dist/types/components/calcite-list/calcite-list.d.ts +3 -0
- package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +4 -1
- package/dist/types/components/calcite-option-group/calcite-option-group.d.ts +3 -0
- package/dist/types/components/calcite-panel/calcite-panel.d.ts +8 -7
- package/dist/types/components/calcite-popover/calcite-popover.d.ts +3 -0
- package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +15 -5
- package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +3 -0
- package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +9 -3
- package/dist/types/components/calcite-rating/calcite-rating.d.ts +6 -2
- package/dist/types/components/calcite-scrim/calcite-scrim.d.ts +3 -0
- package/dist/types/components/calcite-select/calcite-select.d.ts +8 -4
- package/dist/types/components/calcite-shell/calcite-shell.d.ts +2 -2
- package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +1 -1
- package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +1 -1
- package/dist/types/components/calcite-slider/calcite-slider.d.ts +29 -3
- package/dist/types/components/calcite-sortable-list/calcite-sortable-list.d.ts +6 -1
- package/dist/types/components/calcite-sortable-list/resources.d.ts +3 -0
- package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +3 -0
- package/dist/types/components/calcite-stepper/calcite-stepper.d.ts +3 -0
- package/dist/types/components/calcite-stepper-item/calcite-stepper-item.d.ts +3 -0
- package/dist/types/components/calcite-switch/calcite-switch.d.ts +17 -6
- package/dist/types/components/calcite-tab/calcite-tab.d.ts +3 -0
- package/dist/types/components/calcite-tab-nav/calcite-tab-nav.d.ts +3 -0
- package/dist/types/components/calcite-tab-title/calcite-tab-title.d.ts +3 -0
- package/dist/types/components/calcite-tabs/calcite-tabs.d.ts +2 -1
- package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +13 -5
- package/dist/types/components/calcite-tile-select-group/calcite-tile-select-group.d.ts +3 -0
- package/dist/types/components/calcite-tip/calcite-tip.d.ts +1 -0
- package/dist/types/components/calcite-tip-group/calcite-tip-group.d.ts +3 -0
- package/dist/types/components/calcite-tooltip/calcite-tooltip.d.ts +3 -0
- package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +3 -1
- package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +1 -1
- package/dist/types/components/interfaces.d.ts +1 -0
- package/dist/types/components.d.ts +64 -12
- package/dist/types/preact.d.ts +14 -9
- package/dist/types/utils/dom.d.ts +0 -1
- package/dist/types/utils/label.d.ts +30 -0
- package/dist/types/utils/number.d.ts +0 -1
- package/dist/types/utils/resources.d.ts +7 -0
- package/hydrate/index.js +5896 -5642
- package/package.json +43 -43
- package/readme.md +6 -4
- package/CHANGELOG.md +0 -1402
- package/dist/calcite/assets/calcite-icon/checkSquareF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/checkSquareF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/checkSquareF32.json +0 -1
- package/dist/calcite/assets/calcite-icon/lineSolid4.json +0 -1
- package/dist/calcite/assets/calcite-icon/squareF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/squareF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/squareF32.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagon16.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagon24.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagon32.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagonF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagonF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagonF32.json +0 -1
- package/dist/calcite/assets/calcite-icon/xOctagonF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/xOctagonF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/xOctagonF32.json +0 -1
- package/dist/calcite/p-02c649a5.system.entry.js +0 -1
- package/dist/calcite/p-02d538d1.entry.js +0 -1
- package/dist/calcite/p-02f6769f.system.entry.js +0 -1
- package/dist/calcite/p-04907920.entry.js +0 -1
- package/dist/calcite/p-0ae16e31.js +0 -1
- package/dist/calcite/p-0bc4ed41.system.entry.js +0 -1
- package/dist/calcite/p-0ea81e18.entry.js +0 -1
- package/dist/calcite/p-1020aed8.system.js +0 -1
- package/dist/calcite/p-14928bee.entry.js +0 -1
- package/dist/calcite/p-150bb224.entry.js +0 -1
- package/dist/calcite/p-16b4f190.entry.js +0 -1
- package/dist/calcite/p-18a62b5e.js +0 -1
- package/dist/calcite/p-19029579.system.entry.js +0 -1
- package/dist/calcite/p-19ac376f.js +0 -1
- package/dist/calcite/p-1c01cf8d.system.entry.js +0 -1
- package/dist/calcite/p-2189146d.entry.js +0 -1
- package/dist/calcite/p-2321f7fa.system.entry.js +0 -1
- package/dist/calcite/p-263e9c6f.js +0 -1
- package/dist/calcite/p-26e364ee.entry.js +0 -1
- package/dist/calcite/p-27c361d6.system.entry.js +0 -1
- package/dist/calcite/p-2a9b4a25.system.js +0 -1
- package/dist/calcite/p-2c235db8.system.js +0 -1
- package/dist/calcite/p-305a19fa.entry.js +0 -1
- package/dist/calcite/p-3426e87b.system.js +0 -1
- package/dist/calcite/p-34ca7837.entry.js +0 -1
- package/dist/calcite/p-35123e65.system.entry.js +0 -1
- package/dist/calcite/p-354fbadd.js +0 -1
- package/dist/calcite/p-35808614.entry.js +0 -1
- package/dist/calcite/p-366f02bb.system.entry.js +0 -1
- package/dist/calcite/p-379334be.entry.js +0 -1
- package/dist/calcite/p-3aa13327.system.entry.js +0 -1
- package/dist/calcite/p-3bd42f9c.system.entry.js +0 -1
- package/dist/calcite/p-3c9923f1.system.js +0 -1
- package/dist/calcite/p-3ebef7b9.system.entry.js +0 -1
- package/dist/calcite/p-3fbf2d34.system.entry.js +0 -1
- package/dist/calcite/p-42da7fef.entry.js +0 -1
- package/dist/calcite/p-43012e6b.entry.js +0 -1
- package/dist/calcite/p-43a9faca.js +0 -1
- package/dist/calcite/p-447a908d.system.entry.js +0 -1
- package/dist/calcite/p-482ec054.system.js +0 -1
- package/dist/calcite/p-4ae01d80.js +0 -1
- package/dist/calcite/p-4bd1f1b7.system.entry.js +0 -1
- package/dist/calcite/p-4bea77bd.entry.js +0 -1
- package/dist/calcite/p-4f542f6c.system.entry.js +0 -1
- package/dist/calcite/p-4fbdd4ed.system.entry.js +0 -1
- package/dist/calcite/p-4fda49e6.js +0 -1
- package/dist/calcite/p-50ea2036.system.js +0 -1
- package/dist/calcite/p-5147562c.entry.js +0 -1
- package/dist/calcite/p-526c2f38.entry.js +0 -1
- package/dist/calcite/p-531b9a81.system.entry.js +0 -1
- package/dist/calcite/p-53caa311.system.js +0 -1
- package/dist/calcite/p-555f1009.entry.js +0 -1
- package/dist/calcite/p-559ffa87.js +0 -1
- package/dist/calcite/p-571c8d5f.system.entry.js +0 -1
- package/dist/calcite/p-58421494.js +0 -1
- package/dist/calcite/p-585030e9.entry.js +0 -1
- package/dist/calcite/p-5890d56b.system.js +0 -1
- package/dist/calcite/p-58cd3aa4.system.entry.js +0 -1
- package/dist/calcite/p-58d7d786.entry.js +0 -1
- package/dist/calcite/p-5a1b0338.system.js +0 -1
- package/dist/calcite/p-5b3d5565.entry.js +0 -1
- package/dist/calcite/p-5b7ef513.system.js +0 -1
- package/dist/calcite/p-5bf979dd.system.entry.js +0 -1
- package/dist/calcite/p-5c8268a5.system.entry.js +0 -1
- package/dist/calcite/p-5e040210.system.entry.js +0 -1
- package/dist/calcite/p-61ef4e27.entry.js +0 -1
- package/dist/calcite/p-637546fe.system.entry.js +0 -1
- package/dist/calcite/p-66fb0f5c.system.entry.js +0 -1
- package/dist/calcite/p-686d30d5.entry.js +0 -1
- package/dist/calcite/p-6ce45b41.system.entry.js +0 -1
- package/dist/calcite/p-6ded92ba.entry.js +0 -1
- package/dist/calcite/p-6e967236.system.entry.js +0 -1
- package/dist/calcite/p-706789ab.entry.js +0 -1
- package/dist/calcite/p-7084ba72.system.entry.js +0 -1
- package/dist/calcite/p-728c556a.system.entry.js +0 -1
- package/dist/calcite/p-78114ad4.system.js +0 -1
- package/dist/calcite/p-79783728.entry.js +0 -1
- package/dist/calcite/p-7ac27798.entry.js +0 -1
- package/dist/calcite/p-7c4f8734.entry.js +0 -1
- package/dist/calcite/p-7c5b7019.system.entry.js +0 -1
- package/dist/calcite/p-7ccd0a77.entry.js +0 -1
- package/dist/calcite/p-7d11fed5.system.entry.js +0 -1
- package/dist/calcite/p-8123a8de.system.entry.js +0 -1
- package/dist/calcite/p-82a11724.system.js +0 -7
- package/dist/calcite/p-83a36e7e.entry.js +0 -1
- package/dist/calcite/p-86a81245.entry.js +0 -1
- package/dist/calcite/p-8782aa79.entry.js +0 -1
- package/dist/calcite/p-8958d1f6.system.js +0 -1
- package/dist/calcite/p-8a30b93d.system.js +0 -1
- package/dist/calcite/p-8aa77a54.system.entry.js +0 -1
- package/dist/calcite/p-8edd2a46.entry.js +0 -1
- package/dist/calcite/p-904e8561.system.entry.js +0 -1
- package/dist/calcite/p-90dd374c.entry.js +0 -1
- package/dist/calcite/p-92d12490.system.entry.js +0 -1
- package/dist/calcite/p-95dfb659.system.js +0 -1
- package/dist/calcite/p-96deb83e.entry.js +0 -1
- package/dist/calcite/p-9705826b.system.entry.js +0 -1
- package/dist/calcite/p-98093b17.system.js +0 -1
- package/dist/calcite/p-992b162e.system.entry.js +0 -1
- package/dist/calcite/p-9981e8ba.system.entry.js +0 -1
- package/dist/calcite/p-a0eb3011.system.entry.js +0 -1
- package/dist/calcite/p-a177a64e.system.entry.js +0 -1
- package/dist/calcite/p-a283b1c6.entry.js +0 -1
- package/dist/calcite/p-a30026d4.system.entry.js +0 -1
- package/dist/calcite/p-a460e3dc.entry.js +0 -1
- package/dist/calcite/p-a480f5f5.entry.js +0 -1
- package/dist/calcite/p-a4e6e35b.js +0 -1
- package/dist/calcite/p-a55bf19e.system.entry.js +0 -1
- package/dist/calcite/p-a57a7f49.js +0 -7
- package/dist/calcite/p-a6b26bd1.system.js +0 -1
- package/dist/calcite/p-a7223dde.system.entry.js +0 -1
- package/dist/calcite/p-a7a7301d.system.js +0 -1
- package/dist/calcite/p-a8650c17.system.js +0 -1
- package/dist/calcite/p-a9dc52c5.system.entry.js +0 -1
- package/dist/calcite/p-a9fdf90b.entry.js +0 -1
- package/dist/calcite/p-abde34ef.entry.js +0 -1
- package/dist/calcite/p-ad0d9ffd.system.entry.js +0 -1
- package/dist/calcite/p-ad6cf121.entry.js +0 -1
- package/dist/calcite/p-b0f098a0.system.entry.js +0 -1
- package/dist/calcite/p-b2425e21.js +0 -1
- package/dist/calcite/p-b4f7d8b4.entry.js +0 -1
- package/dist/calcite/p-b86463e6.system.entry.js +0 -1
- package/dist/calcite/p-bb8ace16.js +0 -1
- package/dist/calcite/p-bfbf665b.entry.js +0 -1
- package/dist/calcite/p-c004bc39.entry.js +0 -1
- package/dist/calcite/p-c280abae.js +0 -1
- package/dist/calcite/p-c33e39c2.system.entry.js +0 -1
- package/dist/calcite/p-c47fe2f9.js +0 -1
- package/dist/calcite/p-c76539cc.system.js +0 -1
- package/dist/calcite/p-c7ea4ec6.system.entry.js +0 -1
- package/dist/calcite/p-caf80cd7.js +0 -1
- package/dist/calcite/p-cc08771d.system.entry.js +0 -1
- package/dist/calcite/p-cda2cefc.system.entry.js +0 -1
- package/dist/calcite/p-cebd4de5.js +0 -1
- package/dist/calcite/p-cf0cbd74.entry.js +0 -1
- package/dist/calcite/p-d06530e0.js +0 -1
- package/dist/calcite/p-d53c2d2e.system.js +0 -1
- package/dist/calcite/p-d7b7568e.entry.js +0 -1
- package/dist/calcite/p-d7cbb59a.system.entry.js +0 -1
- package/dist/calcite/p-d81e8789.system.entry.js +0 -1
- package/dist/calcite/p-d858b7ab.js +0 -1
- package/dist/calcite/p-dbed3773.system.entry.js +0 -1
- package/dist/calcite/p-dda58d1e.system.js +0 -1
- package/dist/calcite/p-de09a642.entry.js +0 -1
- package/dist/calcite/p-dea887e3.entry.js +0 -1
- package/dist/calcite/p-defdc464.system.js +0 -1
- package/dist/calcite/p-dfb998cc.js +0 -1
- package/dist/calcite/p-e14d8072.entry.js +0 -1
- package/dist/calcite/p-e55e3009.system.entry.js +0 -1
- package/dist/calcite/p-ea51eaaa.js +0 -1
- package/dist/calcite/p-eaf3e528.entry.js +0 -1
- package/dist/calcite/p-ec7b5fc8.entry.js +0 -1
- package/dist/calcite/p-ed1489e0.entry.js +0 -1
- package/dist/calcite/p-eec0ed2d.entry.js +0 -1
- package/dist/calcite/p-ef5258e2.entry.js +0 -1
- package/dist/calcite/p-f2ac9b97.entry.js +0 -1
- package/dist/calcite/p-f435f61e.entry.js +0 -1
- package/dist/calcite/p-f83a9cac.system.entry.js +0 -1
- package/dist/calcite/p-f9775a9d.entry.js +0 -1
- package/dist/calcite/p-fd59e605.system.entry.js +0 -1
- package/dist/cjs/CalciteExpandToggle-f2905eb5.js +0 -88
- package/dist/cjs/CalciteHeading-cf7944a6.js +0 -15
- package/dist/cjs/array-4fc5abfa.js +0 -7
- package/dist/cjs/debounce-11980960.js +0 -491
- package/dist/cjs/dom-57231db9.js +0 -167
- package/dist/cjs/forIn-46535ded.js +0 -618
- package/dist/cjs/form-432ae178.js +0 -18
- package/dist/cjs/guid-4637ad8f.js +0 -16
- package/dist/cjs/index-98b8a879.js +0 -2055
- package/dist/cjs/interfaces-bc0f5779.js +0 -9
- package/dist/cjs/key-f470de4c.js +0 -33
- package/dist/cjs/locale-eb4486ae.js +0 -119
- package/dist/cjs/math-750406eb.js +0 -5
- package/dist/cjs/number-77308374.js +0 -45
- package/dist/cjs/observers-88b3a2d4.js +0 -18
- package/dist/cjs/popper-501d0df7.js +0 -1786
- package/dist/cjs/resources-3c13555a.js +0 -228
- package/dist/cjs/resources-76637167.js +0 -17
- package/dist/cjs/resources-ae299e51.js +0 -16
- package/dist/cjs/resources-ca69ec04.js +0 -342
- package/dist/cjs/sortable.esm-bcce1d94.js +0 -3015
- package/dist/cjs/utils-d549a0a9.js +0 -119
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +0 -1
- package/dist/custom-elements/bundles/accordion.d.ts +0 -1
- package/dist/custom-elements/bundles/accordion.js +0 -5
- package/dist/custom-elements/bundles/action-bar.d.ts +0 -1
- package/dist/custom-elements/bundles/action-bar.js +0 -5
- package/dist/custom-elements/bundles/action-menu.d.ts +0 -1
- package/dist/custom-elements/bundles/action-menu.js +0 -5
- package/dist/custom-elements/bundles/action-pad.d.ts +0 -1
- package/dist/custom-elements/bundles/action-pad.js +0 -5
- package/dist/custom-elements/bundles/action.d.ts +0 -1
- package/dist/custom-elements/bundles/action.js +0 -5
- package/dist/custom-elements/bundles/alert.d.ts +0 -1
- package/dist/custom-elements/bundles/alert.js +0 -5
- package/dist/custom-elements/bundles/avatar.d.ts +0 -1
- package/dist/custom-elements/bundles/avatar.js +0 -5
- package/dist/custom-elements/bundles/block.d.ts +0 -1
- package/dist/custom-elements/bundles/block.js +0 -5
- package/dist/custom-elements/bundles/button.d.ts +0 -1
- package/dist/custom-elements/bundles/button.js +0 -5
- package/dist/custom-elements/bundles/card.d.ts +0 -1
- package/dist/custom-elements/bundles/card.js +0 -5
- package/dist/custom-elements/bundles/checkbox.d.ts +0 -1
- package/dist/custom-elements/bundles/checkbox.js +0 -5
- package/dist/custom-elements/bundles/chip.d.ts +0 -1
- package/dist/custom-elements/bundles/chip.js +0 -5
- package/dist/custom-elements/bundles/color-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/color-picker.js +0 -5
- package/dist/custom-elements/bundles/combobox.d.ts +0 -1
- package/dist/custom-elements/bundles/combobox.js +0 -5
- package/dist/custom-elements/bundles/date-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/date-picker.js +0 -5
- package/dist/custom-elements/bundles/dropdown.d.ts +0 -1
- package/dist/custom-elements/bundles/dropdown.js +0 -5
- package/dist/custom-elements/bundles/fab.d.ts +0 -1
- package/dist/custom-elements/bundles/fab.js +0 -5
- package/dist/custom-elements/bundles/flow.d.ts +0 -1
- package/dist/custom-elements/bundles/flow.js +0 -5
- package/dist/custom-elements/bundles/icon.d.ts +0 -1
- package/dist/custom-elements/bundles/icon.js +0 -5
- package/dist/custom-elements/bundles/inline-editable.d.ts +0 -1
- package/dist/custom-elements/bundles/inline-editable.js +0 -5
- package/dist/custom-elements/bundles/input-date-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/input-date-picker.js +0 -5
- package/dist/custom-elements/bundles/input-message.d.ts +0 -1
- package/dist/custom-elements/bundles/input-message.js +0 -5
- package/dist/custom-elements/bundles/input-time-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/input-time-picker.js +0 -5
- package/dist/custom-elements/bundles/input.d.ts +0 -1
- package/dist/custom-elements/bundles/input.js +0 -5
- package/dist/custom-elements/bundles/label.d.ts +0 -1
- package/dist/custom-elements/bundles/label.js +0 -5
- package/dist/custom-elements/bundles/link.d.ts +0 -1
- package/dist/custom-elements/bundles/link.js +0 -5
- package/dist/custom-elements/bundles/list.d.ts +0 -1
- package/dist/custom-elements/bundles/list.js +0 -5
- package/dist/custom-elements/bundles/loader.d.ts +0 -1
- package/dist/custom-elements/bundles/loader.js +0 -5
- package/dist/custom-elements/bundles/modal.d.ts +0 -1
- package/dist/custom-elements/bundles/modal.js +0 -5
- package/dist/custom-elements/bundles/notice.d.ts +0 -1
- package/dist/custom-elements/bundles/notice.js +0 -5
- package/dist/custom-elements/bundles/pagination.d.ts +0 -1
- package/dist/custom-elements/bundles/pagination.js +0 -5
- package/dist/custom-elements/bundles/panel.d.ts +0 -1
- package/dist/custom-elements/bundles/panel.js +0 -5
- package/dist/custom-elements/bundles/pick-list.d.ts +0 -1
- package/dist/custom-elements/bundles/pick-list.js +0 -5
- package/dist/custom-elements/bundles/popover.d.ts +0 -1
- package/dist/custom-elements/bundles/popover.js +0 -5
- package/dist/custom-elements/bundles/progress.d.ts +0 -1
- package/dist/custom-elements/bundles/progress.js +0 -5
- package/dist/custom-elements/bundles/radio-button-group.d.ts +0 -1
- package/dist/custom-elements/bundles/radio-button-group.js +0 -5
- package/dist/custom-elements/bundles/radio-button.d.ts +0 -1
- package/dist/custom-elements/bundles/radio-button.js +0 -5
- package/dist/custom-elements/bundles/radio-group.d.ts +0 -1
- package/dist/custom-elements/bundles/radio-group.js +0 -5
- package/dist/custom-elements/bundles/rating.d.ts +0 -1
- package/dist/custom-elements/bundles/rating.js +0 -5
- package/dist/custom-elements/bundles/scrim.d.ts +0 -1
- package/dist/custom-elements/bundles/scrim.js +0 -5
- package/dist/custom-elements/bundles/select.d.ts +0 -1
- package/dist/custom-elements/bundles/select.js +0 -5
- package/dist/custom-elements/bundles/shell.d.ts +0 -1
- package/dist/custom-elements/bundles/shell.js +0 -5
- package/dist/custom-elements/bundles/slider.d.ts +0 -1
- package/dist/custom-elements/bundles/slider.js +0 -5
- package/dist/custom-elements/bundles/sortable-list.d.ts +0 -1
- package/dist/custom-elements/bundles/sortable-list.js +0 -5
- package/dist/custom-elements/bundles/split-button.d.ts +0 -1
- package/dist/custom-elements/bundles/split-button.js +0 -5
- package/dist/custom-elements/bundles/stepper.d.ts +0 -1
- package/dist/custom-elements/bundles/stepper.js +0 -5
- package/dist/custom-elements/bundles/switch.d.ts +0 -1
- package/dist/custom-elements/bundles/switch.js +0 -5
- package/dist/custom-elements/bundles/tab.d.ts +0 -1
- package/dist/custom-elements/bundles/tab.js +0 -5
- package/dist/custom-elements/bundles/tile-select-group.d.ts +0 -1
- package/dist/custom-elements/bundles/tile-select-group.js +0 -5
- package/dist/custom-elements/bundles/tile.d.ts +0 -1
- package/dist/custom-elements/bundles/tile.js +0 -5
- package/dist/custom-elements/bundles/tip.d.ts +0 -1
- package/dist/custom-elements/bundles/tip.js +0 -5
- package/dist/custom-elements/bundles/tooltip.d.ts +0 -1
- package/dist/custom-elements/bundles/tooltip.js +0 -5
- package/dist/custom-elements/bundles/tree.d.ts +0 -1
- package/dist/custom-elements/bundles/tree.js +0 -5
- package/dist/custom-elements/bundles/value-list.d.ts +0 -1
- package/dist/custom-elements/bundles/value-list.js +0 -5
- package/dist/custom-elements/index.mjs +0 -24376
- package/dist/custom-elements/utils.d.ts +0 -2
- package/dist/custom-elements/utils.js +0 -11
- package/dist/esm/CalciteExpandToggle-476279ee.js +0 -82
- package/dist/esm/CalciteHeading-ea5ec96c.js +0 -12
- package/dist/esm/array-af19adb2.js +0 -5
- package/dist/esm/debounce-047e09f4.js +0 -482
- package/dist/esm/dom-0b02c0cf.js +0 -149
- package/dist/esm/forIn-d55260fc.js +0 -615
- package/dist/esm/form-8aa0d95b.js +0 -16
- package/dist/esm/guid-09142681.js +0 -14
- package/dist/esm/index-1554a132.js +0 -2022
- package/dist/esm/interfaces-355fccb6.js +0 -9
- package/dist/esm/key-ec82f942.js +0 -29
- package/dist/esm/locale-8436bbe1.js +0 -114
- package/dist/esm/math-c8e7aa13.js +0 -3
- package/dist/esm/number-358ca1d4.js +0 -39
- package/dist/esm/observers-c93d4fe5.js +0 -16
- package/dist/esm/popper-ac27099f.js +0 -1781
- package/dist/esm/resources-037b842c.js +0 -321
- package/dist/esm/resources-82817f70.js +0 -13
- package/dist/esm/resources-a7a29b39.js +0 -212
- package/dist/esm/resources-c72ebfea.js +0 -12
- package/dist/esm/sortable.esm-2f5354d3.js +0 -3013
- package/dist/esm/utils-60acc1d6.js +0 -109
- package/dist/esm-es5/CalciteExpandToggle-476279ee.js +0 -1
- package/dist/esm-es5/CalciteHeading-ea5ec96c.js +0 -1
- package/dist/esm-es5/array-af19adb2.js +0 -1
- package/dist/esm-es5/debounce-047e09f4.js +0 -1
- package/dist/esm-es5/dom-0b02c0cf.js +0 -1
- package/dist/esm-es5/forIn-d55260fc.js +0 -1
- package/dist/esm-es5/form-8aa0d95b.js +0 -1
- package/dist/esm-es5/guid-09142681.js +0 -1
- package/dist/esm-es5/index-1554a132.js +0 -1
- package/dist/esm-es5/interfaces-355fccb6.js +0 -1
- package/dist/esm-es5/key-ec82f942.js +0 -1
- package/dist/esm-es5/locale-8436bbe1.js +0 -1
- package/dist/esm-es5/math-c8e7aa13.js +0 -1
- package/dist/esm-es5/number-358ca1d4.js +0 -1
- package/dist/esm-es5/observers-c93d4fe5.js +0 -1
- package/dist/esm-es5/popper-ac27099f.js +0 -1
- package/dist/esm-es5/resources-037b842c.js +0 -1
- package/dist/esm-es5/resources-82817f70.js +0 -1
- package/dist/esm-es5/resources-a7a29b39.js +0 -1
- package/dist/esm-es5/resources-c72ebfea.js +0 -1
- package/dist/esm-es5/sortable.esm-2f5354d3.js +0 -7
- package/dist/esm-es5/utils-60acc1d6.js +0 -1
- package/dist/types/components/calcite-label/interfaces.d.ts +0 -5
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,e,a){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function r(t){try{c(a.next(t))}catch(t){o(t)}}function s(t){try{c(a["throw"](t))}catch(t){o(t)}}function c(t){t.done?e(t.value):i(t.value).then(r,s)}c((a=a.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,i,o,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(n){return c([t,n])}}function c(r){if(a)throw new TypeError("Generator is already executing.");while(e)try{if(a=1,i&&(o=r[0]&2?i["return"]:r[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;if(i=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:e.label++;return{value:r[1],done:false};case 5:e.label++;i=r[1];r=[0];continue;case 7:r=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){e=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){e.label=r[1];break}if(r[0]===6&&e.label<o[1]){e.label=o[1];o=r;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(r);break}if(o[2])e.ops.pop();e.trys.pop();continue}r=n.call(t,e)}catch(t){r=[6,t];i=0}finally{a=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
|
|
2
|
+
/*!
|
|
3
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
+
*/System.register(["./p-c74fc589.system.js","./p-6cc23c39.system.js","./p-32fbf8cd.system.js","./p-e020662f.system.js"],(function(t){"use strict";var n,e,a,i,o,r,s;return{setters:[function(t){n=t.r;e=t.h;a=t.H;i=t.g},function(t){o=t.g},function(t){r=t.C;s=t.c},function(){}],execute:function(){var c={container:"container"};var l="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}.container{background-color:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(calcite-list-item){margin-bottom:1px;-webkit-box-shadow:0 1px 0 var(--calcite-ui-border-3);box-shadow:0 1px 0 var(--calcite-ui-border-3)}::slotted(calcite-list-item:last-child){-webkit-box-shadow:none;box-shadow:none}";var m=t("calcite_list",function(){function t(t){n(this,t)}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){t=this.el.querySelector("calcite-list-item:not([non-interactive])");t===null||t===void 0?void 0:t.setFocus();return[2]}))}))};t.prototype.render=function(){return e(a,{role:"list"},e("div",{class:c.container},e("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());m.style=l;var f={container:"container",contentContainer:"content-container",nestedContainer:"nested-container",contentContainerButton:"content-container--button",content:"content",actionsStart:"actions-start",contentStart:"content-start",label:"label",description:"description",contentEnd:"content-end",actionsEnd:"actions-end"};var u={actionsStart:"actions-start",contentStart:"content-start",contentEnd:"content-end",actionsEnd:"actions-end"};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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([disabled]){pointer-events:none;cursor:default}.container{background-color:var(--calcite-ui-foreground-1);-webkit-box-sizing:border-box;box-sizing:border-box;font-family:var(--calcite-sans-family);display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}.nested-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;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;-ms-flex-align:stretch;align-items:stretch;padding:0;color:var(--calcite-ui-text-2)}.content-container--button{background-color:var(--calcite-ui-foreground-1);border-style:none;cursor:pointer;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;text-align:initial}.content-container--button:hover{background-color:var(--calcite-ui-foreground-2)}.content-container--button:hover .label,.content-container--button:hover .description{color:var(--calcite-ui-text-1)}.content-container--button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.content{-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem}.label,.description{font-weight:var(--calcite-font-weight-normal);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);word-wrap:break-word;word-break:break-word}.label{color:var(--calcite-ui-text-1)}.description{color:var(--calcite-ui-text-3);margin-top:0.125rem}.content-start,.content-end{-ms-flex:0 1 auto;flex:0 1 auto;pointer-events:none}.actions-start,.actions-end,.content-start,.content-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){-ms-flex-item-align:center;align-self:center;padding-left:0.75rem;padding-right:0.75rem}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){-ms-flex-item-align:stretch;align-self:stretch;color:inherit}::slotted(calcite-list-item-group),::slotted(calcite-list-item){padding-left:0.5rem}";var p=t("calcite_list_item",function(){function t(t){n(this,t);this.nonInteractive=false;this.disabled=false}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){(t=this.focusEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.renderActionsStart=function(){var t=this.el;return o(t,u.actionsStart)?e("div",{class:f.actionsStart},e("slot",{name:u.actionsStart})):null};t.prototype.renderActionsEnd=function(){var t=this.el;return o(t,u.actionsEnd)?e("div",{class:f.actionsEnd},e("slot",{name:u.actionsEnd})):null};t.prototype.renderContentStart=function(){var t=this.el;return o(t,u.contentStart)?e("div",{class:f.contentStart},e("slot",{name:u.contentStart})):null};t.prototype.renderContentEnd=function(){var t=this.el;return o(t,u.contentEnd)?e("div",{class:f.contentEnd},e("slot",{name:u.contentEnd})):null};t.prototype.renderContent=function(){var t=this,n=t.label,a=t.description;return!!n||!!a?e("div",{class:f.content},n?e("div",{class:f.label},n):null,a?e("div",{class:f.description},a):null):null};t.prototype.renderContentContainer=function(){var t;var n=this;var a=this,i=a.disabled,o=a.nonInteractive;var r=[this.renderContentStart(),this.renderContent(),this.renderContentEnd()];return!o?e("button",{class:(t={},t[f.contentContainer]=true,t[f.contentContainerButton]=true,t),disabled:i,ref:function(t){return n.focusEl=t}},r):e("div",{class:f.contentContainer,ref:function(){return n.focusEl=null}},r)};t.prototype.render=function(){return e(a,{role:"listitem"},e("div",{class:f.container},this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),e("div",{class:f.nestedContainer},e("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());p.style=d;var b={heading:"heading",container:"container"};var y=3;var w="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.heading{font-family:var(--calcite-sans-family);background-color:var(--calcite-ui-foreground-2);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);margin:0;padding:0.75rem;color:var(--calcite-ui-text-2);display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%}.container{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}::slotted(calcite-list-item-group){padding-left:0.5rem}";var x=t("calcite_list_item_group",function(){function t(t){n(this,t)}t.prototype.render=function(){var t;var n=this,i=n.el,o=n.heading,c=n.headingLevel;var l=(t=i.closest("calcite-list, calcite-list-item-group"))===null||t===void 0?void 0:t.headingLevel;var m=l?s(l+1):null;var f=c||m||y;return e(a,null,o?e(r,{class:b.heading,level:f},o):null,e("div",{class:b.container,role:"group"},e("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());x.style=w}}}));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import{f as t,g as i,a as s}from"./p-52cc870b.js";import{g as e}from"./p-accdb0ce.js";import{d as n}from"./p-b06207bb.js";import{h as a,H as o}from"./p-cbdf0e6c.js";function c(){this.setUpItems(),this.setUpFilter()}const r=["ArrowUp","ArrowDown"];function l(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=n(b.bind(this),0)}function h(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}function u(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}function f(i){const{selectedValues:s}=this,{item:e,value:n,selected:a,shiftPressed:o}=i.detail;a?(this.multiple&&o&&this.selectSiblings(e),this.multiple||this.deselectSiblingItems(e),s.set(n,e)):(s.delete(n),this.multiple&&o&&this.selectSiblings(e,!0)),this.multiple||(g(e,a),a&&t(e)),this.lastSelectedItem=e,this.emitCalciteListChange()}function d(t){t.stopPropagation();const i=t.detail.oldValue,s=this.selectedValues;if(s.has(i)){const e=s.get(i);s.delete(i),s.set(t.detail.newValue,e)}}function m(t){const{el:i,items:s,multiple:e,selectedValues:n}=this;e||(i.contains(t.relatedTarget)?g(t.target,!1):s.forEach((i=>g(i,0===n.size?t.target===i:i.selected))))}function p(i){const{key:s,target:n}=i;if(!function(t){return!!r.find((i=>i===t))}(s))return;const{items:a,multiple:o,selectionFollowsFocus:c}=this,{length:l}=a,h=a.indexOf(n);if(!l||-1===h)return;i.preventDefault();const u=a[e(h+("ArrowUp"===s?-1:1),l)];a.forEach((t=>g(t,t===u))),!o&&c&&(u.selected=!0),t(u)}function b(){this.calciteListChange.emit(this.selectedValues)}function v(t){if(t.defaultPrevented)return;const i=t.target,s=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===i.parentElement.tagName?(i.parentElement.remove(),Array.from(i.parentElement.children).forEach((t=>s.delete(t.value)))):(i.remove(),s.delete(i.value)),this.emitCalciteListChange()}function g(t,i){i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1")}async function j(i){if(this.filterEnabled&&"filter"===i)return void await t(this.filterEl);const{items:s,multiple:e,selectionFollowsFocus:n}=this;if(0===s.length)return;if(e)return s[0].setFocus();const a=s.find((t=>t.selected))||s[0];return n&&(a.selected=!0),a.setFocus()}function F(t){this.items=Array.from(this.el.querySelectorAll(t));let i=!1;const{items:s}=this;s.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.disableDeselect=!0,g(t,!1)),t.selected&&(i=!0,g(t,!0),this.selectedValues.set(t.value,t))}));const[e]=s;!i&&e&&g(e,!0)}function w(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function y(t,i=!1){if(!this.lastSelectedItem)return;const{items:s}=this,e=s.findIndex((t=>t.value===this.lastSelectedItem.value)),n=s.findIndex((i=>i.value===t.value));s.slice(Math.min(e,n),Math.max(e,n)).forEach((t=>{t.toggleSelected(!i),i?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let A;function C(t){const s=t.detail.map((t=>t.value));let e=!1;A||(A=new Set);const n=this.items.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&A.add(i);const n=s.includes(t.value);return t.hidden=!n,e||(e=n&&t.selected),n}));A.forEach((t=>{const s=n.some((i=>t.contains(i)));if(t.hidden=!s,!s)return;const e=i(t,"parent-item");e&&(e.hidden=!1,n.includes(e)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),A.clear(),n.length>0&&!e&&!this.multiple&&g(n[0],!0)}function k(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var x;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(x||(x={}));const O=t=>{var{props:{disabled:i,loading:e,filterEnabled:n,dataForFilter:c,handleFilter:r,filterPlaceholder:l,el:h,setFilterEl:u}}=t,f=function(t,i){var s={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&i.indexOf(e)<0&&(s[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(e=Object.getOwnPropertySymbols(t);n<e.length;n++)i.indexOf(e[n])<0&&Object.prototype.propertyIsEnumerable.call(t,e[n])&&(s[e[n]]=t[e[n]])}return s}(t,["props"]);const d=a("slot",null);return a(o,Object.assign({"aria-busy":e.toString(),"aria-disabled":i.toString(),role:"menu"},f),a("section",null,a("header",{class:{sticky:!0}},n?a("calcite-filter",{"aria-label":l,data:c,dir:s(h),disabled:e||i,onCalciteFilterChange:r,placeholder:l,ref:u}):null,a("slot",{name:"menu-actions"})),e||i?a("calcite-scrim",{loading:e}):null,d))},E={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},S={checked:"check",remove:"x"},I={actionsEnd:"actions-end",actionsStart:"actions-start"},L={remove:"Remove"};export{E as C,x as I,O as L,I as S,L as T,h as a,f as b,u as c,w as d,d as e,F as f,k as g,C as h,l as i,j,p as k,m as l,c as m,S as n,v as r,y as s}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function l(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n["throw"](e))}catch(e){a(e)}}function c(e){e.done?i(e.value):r(e.value).then(l,s)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,r,a,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return c([e,t])}}function c(l){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,r&&(a=l[0]&2?r["return"]:l[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;if(r=0,a)l=[l[0]&2,a.value];switch(l[0]){case 0:case 1:a=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;r=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){i.label=l[1];break}if(l[0]===6&&i.label<a[1]){i.label=a[1];a=l;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(l);break}if(a[2])i.ops.pop();i.trys.pop();continue}l=t.call(e,i)}catch(e){l=[6,e];r=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[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-6cc23c39.system.js","./p-4de6f4fd.system.js","./p-1d6404b5.system.js","./p-c74fc589.system.js"],(function(e){"use strict";var t,i,n,r,a,l,s;return{setters:[function(e){t=e.f;i=e.g;n=e.a},function(e){r=e.g},function(e){a=e.d},function(e){l=e.h;s=e.H}],execute:function(){e({I:void 0,a:f,b:h,c:d,d:x,e:v,f:S,g:_,h:O,i:u,j:E,k:b,l:p,m:c,r:y,s:I});function c(){this.setUpItems();this.setUpFilter()}var o=["ArrowUp","ArrowDown"];function u(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=a(g.bind(this),0)}function f(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function d(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function h(e){var i=this.selectedValues;var n=e.detail,r=n.item,a=n.value,l=n.selected,s=n.shiftPressed;if(l){if(this.multiple&&s){this.selectSiblings(r)}if(!this.multiple){this.deselectSiblingItems(r)}i.set(a,r)}else{i.delete(a);if(this.multiple&&s){this.selectSiblings(r,true)}}if(!this.multiple){w(r,l);if(l){t(r)}}this.lastSelectedItem=r;this.emitCalciteListChange()}function v(e){e.stopPropagation();var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}}function m(e){return!!o.find((function(t){return t===e}))}function p(e){var t=this,i=t.el,n=t.items,r=t.multiple,a=t.selectedValues;if(r){return}var l=!!i.contains(e.relatedTarget);if(l){w(e.target,false);return}n.forEach((function(t){return w(t,a.size===0?e.target===t:t.selected)}))}function b(e){var i=e.key,n=e.target;if(!m(i)){return}var a=this,l=a.items,s=a.multiple,c=a.selectionFollowsFocus;var o=l.length;var u=l.indexOf(n);if(!o||u===-1){return}e.preventDefault();var f=r(u+(i==="ArrowUp"?-1:1),o);var d=l[f];l.forEach((function(e){return w(e,e===d)}));if(!s&&c){d.selected=true}t(d)}function g(){this.calciteListChange.emit(this.selectedValues)}function y(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function w(e,t){if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function E(e){return __awaiter(this,void 0,void 0,(function(){var i,n,r,a,l;return __generator(this,(function(s){switch(s.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,t(this.filterEl)];case 1:s.sent();return[2];case 2:i=this,n=i.items,r=i.multiple,a=i.selectionFollowsFocus;if(n.length===0){return[2]}if(r){return[2,n[0].setFocus()]}l=n.find((function(e){return e.selected}))||n[0];if(a){l.selected=true}return[2,l.setFocus()]}}))}))}function S(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;w(e,false)}if(e.selected){i=true;w(e,true);t.selectedValues.set(e.value,e)}}));var r=n[0];if(!i&&r){w(r,true)}}function x(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function I(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var r=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var a=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(r,a),Math.max(r,a)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var C;function O(e){var t=e.detail;var n=t.map((function(e){return e.value}));var r=false;if(!C){C=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var i=t.matches("calcite-pick-list-group");if(i){C.add(t)}var a=n.includes(e.value);e.hidden=!a;if(!r){r=a&&e.selected}return a}));C.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var n=i(e,"parent-item");if(n){n.hidden=false;if(a.includes(n)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));C.clear();if(a.length>0&&!r&&!this.multiple){w(a[0],true)}}function _(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var A={sticky:"sticky"};var F;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(F||(F=e("I",{})));var k={menuActions:"menu-actions"};var V=undefined&&undefined.__rest||function(e,t){var i={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)i[n]=e[n];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++){if(t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r]))i[n[r]]=e[n[r]]}return i};var j=e("L",(function(e){var t;var i=e.props,r=i.disabled,a=i.loading,c=i.filterEnabled,o=i.dataForFilter,u=i.handleFilter,f=i.filterPlaceholder,d=i.el,h=i.setFilterEl,v=V(e,["props"]);var m=l("slot",null);return l(s,Object.assign({"aria-busy":a.toString(),"aria-disabled":r.toString(),role:"menu"},v),l("section",null,l("header",{class:(t={},t[A.sticky]=true,t)},c?l("calcite-filter",{"aria-label":f,data:o,dir:n(d),disabled:a||r,onCalciteFilterChange:u,placeholder:f,ref:h}):null,l("slot",{name:k.menuActions})),a||r?l("calcite-scrim",{loading:a}):null,m))}));var P=e("C",{actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"});var L=e("n",{checked:"check",remove:"x"});var U=e("S",{actionsEnd:"actions-end",actionsStart:"actions-start"});var T=e("T",{remove:"Remove"})}}}));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import{r as t,c as a,h as e,g as i,F as n}from"./p-cbdf0e6c.js";import{c as r}from"./p-e4acb5a8.js";import{f as s,C as o,a as c}from"./p-52cc870b.js";import{c as l,d as m}from"./p-2ba00b89.js";import"./p-8a63221d.js";let p=class{constructor(e){t(this,e),this.calciteOptionChange=a(this,"calciteOptionChange",7),this.disabled=!1,this.mutationObserver=r("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteOptionChange.emit()}))}handlePropChange(t,a,e){"label"!==e&&"value"!==e||this.ensureTextContentDependentProps(),this.calciteOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:t}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=t,this.internallySetLabel=t),this.value&&this.value!==this.internallySetValue||(this.value=t,this.internallySetValue=t)}connectedCallback(){var t;this.ensureTextContentDependentProps(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,attributeFilter:["label","value"]})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){return e("slot",null,this.label)}get el(){return i(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};p.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}";let h=class{constructor(e){t(this,e),this.calciteOptionGroupChange=a(this,"calciteOptionGroupChange",7),this.disabled=!1}handlePropChange(){this.calciteOptionGroupChange.emit()}render(){return e(n,null,e("div",null,this.label),e("slot",null))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};h.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}";function d(t){return"CALCITE-OPTION"===t.tagName}let f=class{constructor(e){t(this,e),this.calciteSelectChange=a(this,"calciteSelectChange",7),this.disabled=!1,this.scale="m",this.width="auto",this.componentToNativeEl=new Map,this.mutationObserver=r("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const t=Array.from(this.el.children);this.clearInternalSelect(),t.forEach((t=>{var a;return null===(a=this.selectEl)||void 0===a?void 0:a.append(this.toNativeElement(t))}))},this.storeSelectRef=t=>{this.selectEl=t,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()}}connectedCallback(){var t;const{el:a}=this;null===(t=this.mutationObserver)||void 0===t||t.observe(a,{subtree:!0,childList:!0}),l(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),m(this)}async setFocus(){s(this.selectEl)}handleOptionOrGroupChange(t){t.stopPropagation();const a=t.target,e=this.componentToNativeEl.get(a);e&&(this.updateNativeElement(a,e),d(a)&&a.selected&&this.deselectAllExcept(a))}onLabelClick(){this.setFocus()}updateNativeElement(t,a){if(a.disabled=t.disabled,a.label=t.label,d(t)){const e=a;e.selected=t.selected,e.value=t.value,e.innerText=t.label}}clearInternalSelect(){this.componentToNativeEl.forEach((t=>t.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(t){if(!t)return;let a;this.componentToNativeEl.forEach(((e,i)=>{d(i)&&e===t&&(i.selected=!0,a=i,this.deselectAllExcept(i))})),a&&requestAnimationFrame((()=>this.selectedOption=a))}toNativeElement(t){if(d(t)){const a=document.createElement("option");return this.updateNativeElement(t,a),this.componentToNativeEl.set(t,a),a}if(function(t){return"CALCITE-OPTION-GROUP"===t.tagName}(t)){const a=document.createElement("optgroup");return this.updateNativeElement(t,a),Array.from(t.children).forEach((e=>{const i=this.toNativeElement(e);a.append(i),this.componentToNativeEl.set(t,i)})),this.componentToNativeEl.set(t,a),a}throw new Error("unsupported element child provided")}deselectAllExcept(t){this.el.querySelectorAll("calcite-option").forEach((a=>{a!==t&&(a.selected=!1)}))}renderChevron(t){return e("div",{class:{"icon-container":!0,[o.rtl]:"rtl"===t}},e("calcite-icon",{class:"icon",icon:"chevron-down",scale:"s"}))}render(){const t=c(this.el);return e(n,null,e("select",{"aria-label":this.label,class:{select:!0,[o.rtl]:"rtl"===t},disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},e("slot",null)),this.renderChevron(t))}get el(){return i(this)}};f.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;position:relative;width:var(--select-width)}:host([scale=s]){height:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing:0 2rem 0 0.5rem;--calcite-select-spacing-rtl:0 0.5rem 0 2rem}:host([scale=s]) .icon-container{padding-left:0.5rem;padding-right:0.5rem}:host([scale=m]){height:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing:0 2.5rem 0 0.75rem;--calcite-select-spacing-rtl:0 0.75rem 0 2.5rem}:host([scale=m]) .icon-container{padding-left:0.75rem;padding-right:0.75rem}:host([scale=l]){height:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing:0 3rem 0 1rem;--calcite-select-spacing-rtl:0 1rem 0 3rem}:host([scale=l]) .icon-container{padding-left:1rem;padding-right:1rem}:host([width=auto]){width:auto}:host([width=half]){width:50%}:host([width=full]){width:100%}.select{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:1px;border-style:solid;border-right-width:0;background-color:var(--calcite-ui-foreground-1);border-color:var(--calcite-ui-border-input);border-radius:0;color:var(--calcite-ui-text-2);cursor:pointer;font-family:inherit;margin:0;width:100%;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;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--calcite-select-font-size);padding:var(--calcite-select-spacing)}.select:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.select:hover{background-color:var(--calcite-ui-foreground-2)}.select.calcite--rtl{border-width:1px;border-color:var(--calcite-ui-border-input);padding:var(--calcite-select-spacing-rtl)}select:disabled{border-color:var(--calcite-ui-border-input);--bg-opacity:1}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}.icon-container{-ms-flex-align:center;align-items:center;background-color:transparent;border-width:0;border-right-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-left-width:0;color:var(--calcite-ui-text-2);display:-ms-flexbox;display:flex;pointer-events:none;position:absolute;right:0;top:0;bottom:0}.icon-container.calcite--rtl{border-left-width:1px;border-right-width:0;left:0;right:unset}.select:focus~.icon-container{border-color:transparent}";export{p as calcite_option,h as calcite_option_group,f as calcite_select}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import{r as t,h as i,c as a,H as e,g as s}from"./p-cbdf0e6c.js";import{g as n}from"./p-8a63221d.js";import{f as o,c as r}from"./p-52cc870b.js";import{c,d,g as l}from"./p-2ba00b89.js";import{h}from"./p-d35e423d.js";let m=class{constructor(i){t(this,i),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.scale="m"}render(){return i("div",{class:"radio"})}};m.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}:host .radio{background-color:var(--calcite-ui-foreground-1);border-radius:9999px;cursor:pointer;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([hidden]){display:none}";let b=class{constructor(i){t(this,i),this.calciteInternalRadioButtonBlur=a(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=a(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=a(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=a(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t.forEach(((t,a)=>{const e=a===i;t.checked=e,t.focused=e}))},this.toggle=()=>{this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.focused=!0,this.calciteRadioButtonChange.emit()},this.clickHandler=()=>{this.toggle()},this.setInputEl=t=>{this.inputEl=t},this.formResetHandler=()=>{var t;this.checked=this.initialChecked,this.initialChecked&&(null===(t=this.inputEl)||void 0===t||t.setAttribute("checked",""))},this.hideInputEl=()=>{this.inputEl.style.cssText=h},this.onInputBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onInputFocus=()=>{this.focused=!0,this.calciteInternalRadioButtonFocus.emit()}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.inputEl&&(this.inputEl.checked=t),this.calciteInternalRadioButtonCheckedChange.emit(t)}disabledChanged(t){this.inputEl.disabled=t}focusedChanged(t){this.inputEl&&(t&&!this.el.hasAttribute("hidden")?this.inputEl.focus():this.inputEl.blur())}hiddenChanged(t){this.inputEl.hidden=t}nameChanged(t){if(this.name===t)return;this.inputEl&&(this.inputEl.name=t),this.checkLastRadioButton();const i=this.rootNode.querySelector(`input[name="${this.name}"]:checked`);(null==i?void 0:i.value)||this.uncheckAllRadioButtonsInGroup()}requiredChanged(t){this.inputEl.required=t}async setFocus(){o(this.inputEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=Array.from(this.rootNode.querySelectorAll("calcite-radio-button")).filter((t=>t.name===this.name)).filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){Array.from(this.rootNode.querySelectorAll("calcite-radio-button")).filter((t=>t.name===this.name)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){Array.from(this.rootNode.querySelectorAll("calcite-radio-button")).filter((t=>t.name===this.name&&t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${n()}`,this.initialChecked=this.checked,this.name&&this.checkLastRadioButton();const t=r(this.el,"form");t&&t.addEventListener("reset",this.formResetHandler),c(this)}componentDidLoad(){this.hideInputEl(),this.focused&&this.inputEl.focus()}disconnectedCallback(){const t=r(this.el,"form");t&&t.removeEventListener("reset",this.formResetHandler),d(this)}render(){var t;const a=null===(t=this.value)||void 0===t?void 0:t.toString();return i(e,{onClick:this.clickHandler},i("div",{class:"calcite-radio-button__container"},i("input",{"aria-label":l(this),checked:this.checked,disabled:this.disabled,hidden:this.hidden,id:`${this.guid}-input`,name:this.name,onBlur:this.onInputBlur,onFocus:this.onInputFocus,ref:this.setInputEl,required:this.required,type:"radio",value:a}),i("calcite-radio",{checked:this.checked,disabled:this.disabled,focused:this.focused,hidden:this.hidden,hovered:this.hovered,scale:this.scale})))}get el(){return s(this)}static get watchers(){return{checked:["checkedChanged"],disabled:["disabledChanged"],focused:["focusedChanged"],hidden:["hiddenChanged"],name:["nameChanged"],required:["requiredChanged"]}}};b.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}.sc-calcite-radio-button:root{--calcite-animation-timing:300ms}.calcite-animate.sc-calcite-radio-button{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.sc-calcite-radio-button{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down.sc-calcite-radio-button{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up.sc-calcite-radio-button{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale.sc-calcite-radio-button{-webkit-animation-name:in-scale;animation-name:in-scale}.sc-calcite-radio-button:root{--calcite-popper-transition:150ms ease-in-out}[hidden].sc-calcite-radio-button-h{display:none}.sc-calcite-radio-button-h{cursor:pointer;display:block}.sc-calcite-radio-button-h .calcite-radio-button__container.sc-calcite-radio-button{position:relative}[disabled].sc-calcite-radio-button-h{cursor:pointer}";export{m as calcite_radio,b as calcite_radio_button}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,i,n){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function a(t){try{c(n.next(t))}catch(t){o(t)}}function s(t){try{c(n["throw"](t))}catch(t){o(t)}}function c(t){t.done?i(t.value):r(t.value).then(a,s)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return c([t,e])}}function c(a){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;r=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(a[0]===6&&i.label<o[1]){i.label=o[1];o=a;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(a);break}if(o[2])i.ops.pop();i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t];r=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e){for(var i=0,n=e.length,r=t.length;i<n;i++,r++)t[r]=e[i];return t};
|
|
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-c74fc589.system.js","./p-56b352bf.system.js","./p-6cc23c39.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,i,n,r,o,a,s,c,l;return{setters:[function(t){e=t.r;i=t.c;n=t.h;r=t.g;o=t.H},function(t){a=t.g},function(t){s=t.d;c=t.a;l=t.C},function(){}],execute:function(){var p="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;position:relative;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:stretch;align-items:stretch;width:100%;min-width:100%}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column;-ms-flex:1 1 auto;flex:1 1 auto}:host ::slotted(.calcite-stepper-content){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%;min-width:100%}";var m=t("calcite_stepper",function(){function t(t){e(this,t);this.calciteStepperItemChange=i(this,"calciteStepperItemChange",7);this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.items=[];this.sortedItems=[]}t.prototype.contentWatcher=function(){if(this.layout==="horizontal"){if(!this.stepperContentContainer&&this.requestedContent){this.addHorizontalContentContainer()}this.updateContent(this.requestedContent)}};t.prototype.componentDidLoad=function(){if(!this.currentPosition){this.calciteStepperItemChange.emit({position:0})}};t.prototype.componentWillLoad=function(){if(this.layout==="horizontal"&&!this.stepperContentContainer){this.addHorizontalContentContainer()}};t.prototype.render=function(){return n("slot",null)};t.prototype.calciteStepperItemKeyEvent=function(t){var e=t.detail.item;var i=t.target;var n=this.itemIndex(i)===0;var r=this.itemIndex(i)===this.sortedItems.length-1;switch(a(e.key)){case"ArrowDown":case"ArrowRight":if(r){this.focusFirstItem()}else{this.focusNextItem(i)}break;case"ArrowUp":case"ArrowLeft":if(n){this.focusLastItem()}else{this.focusPrevItem(i)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}};t.prototype.registerItem=function(t){var e={item:t.target,position:t.detail.position,content:t.detail.content};if(e.content&&e.item.active){this.requestedContent=e.content}if(!this.items.includes(e)){this.items.push(e)}this.sortedItems=this.sortItems()};t.prototype.updateItem=function(t){if(t.detail.content){this.requestedContent=t.detail.content}this.currentPosition=t.detail.position;this.calciteStepperItemChange.emit({position:this.currentPosition})};t.prototype.nextStep=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentPosition=this.currentPosition+1<this.items.length?this.currentPosition+1:this.currentPosition;this.emitChangedItem();return[2]}))}))};t.prototype.prevStep=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentPosition=this.currentPosition-1>=0?this.currentPosition-1:this.currentPosition;this.emitChangedItem();return[2]}))}))};t.prototype.goToStep=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.currentPosition=t-1;this.emitChangedItem();return[2]}))}))};t.prototype.startStep=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentPosition=0;this.emitChangedItem();return[2]}))}))};t.prototype.endStep=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentPosition=this.items.length-1;this.emitChangedItem();return[2]}))}))};t.prototype.addHorizontalContentContainer=function(){this.stepperContentContainer=document.createElement("div");this.stepperContentContainer.classList.add("calcite-stepper-content");this.el.insertAdjacentElement("beforeend",this.stepperContentContainer)};t.prototype.emitChangedItem=function(){this.calciteStepperItemChange.emit({position:this.currentPosition})};t.prototype.focusFirstItem=function(){var t=this.sortedItems[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.sortedItems[this.sortedItems.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var e=this.itemIndex(t);var i=this.sortedItems[e+1]||this.sortedItems[0];this.focusElement(i)};t.prototype.focusPrevItem=function(t){var e=this.itemIndex(t);var i=this.sortedItems[e-1]||this.sortedItems[this.sortedItems.length-1];this.focusElement(i)};t.prototype.itemIndex=function(t){return this.sortedItems.indexOf(t)};t.prototype.focusElement=function(t){var e=t;e.focus()};t.prototype.sortItems=function(){var t=Array.from(this.items).filter((function(t){return!t.item.disabled})).sort((function(t,e){return t.position-e.position})).map((function(t){return t.item}));return __spreadArray([],Array.from(new Set(t)))};t.prototype.updateContent=function(t){var e;this.stepperContentContainer.innerHTML="";(e=this.stepperContentContainer).append.apply(e,t)};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{requestedContent:["contentWatcher"]}},enumerable:false,configurable:true});return t}());m.style=p;var u="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-right:0.25rem}:host([scale=s]) .stepper-item-subtitle{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-right:0.5rem}:host([scale=m]) .stepper-item-subtitle{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-right:0.75rem}:host([scale=l]) .stepper-item-subtitle{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;position:relative;margin-bottom:var(--calcite-stepper-item-spacing-unit-s)}:host .container{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative;border-width:0;border-top-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);cursor:pointer;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.calcite--rtl{margin-left:var(--calcite-stepper-item-spacing-unit-l);margin-right:0}:host{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}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;cursor:pointer}:host .stepper-item-content,:host .stepper-item-header{padding:var(--calcite-stepper-item-spacing-unit-l) var(--calcite-stepper-item-spacing-unit-m);padding-left:0;text-align:left;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.calcite--rtl .stepper-item-content,.calcite--rtl .stepper-item-header{padding-right:0;text-align:right;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-left:initial}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{-ms-flex-direction:column;flex-direction:column;width:100%;display:none;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-right:var(--calcite-stepper-item-spacing-unit-m);color:var(--calcite-ui-text-3);margin-top:1px;opacity:var(--calcite-ui-opacity-disabled);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;height:0.75rem;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.calcite--rtl .stepper-item-icon{margin-left:var(--calcite-stepper-item-spacing-unit-l);margin-right:0}:host .stepper-item-header-text{margin-right:auto;-ms-flex-direction:column;flex-direction:column;text-align:initial}.calcite--rtl .stepper-item-header-text{margin-left:auto;margin-right:0}:host .stepper-item-title,:host .stepper-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .stepper-item-title{color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium);margin-bottom:0.25rem}:host .stepper-item-subtitle{color:var(--calcite-ui-text-3)}.calcite--rtl .stepper-item-title{margin-right:0;margin-left:auto}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-right:var(--calcite-stepper-item-spacing-unit-m)}.calcite--rtl .stepper-item-number{margin-left:var(--calcite-stepper-item-spacing-unit-m);margin-right:initial}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]),:host([disabled]) *{cursor:not-allowed;pointer-events:auto}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-top-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-title,:host(:focus:not([disabled]):not([active])) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-subtitle,:host(:focus:not([disabled]):not([active])) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-top-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .container{-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0;border-left-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0;padding-bottom:0;padding-right:0;margin-left:0;margin-right:0;margin-top:0;padding-left:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{margin-top:1px;margin-right:0;margin-bottom:0;margin-left:auto;-ms-flex-order:3;order:3;padding-left:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=vertical]) .container .stepper-item-header{padding-right:0}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .calcite--rtl{border-left-width:0;border-right-width:2px;border-color:var(--calcite-ui-border-3);padding-top:0;padding-bottom:0;padding-left:0;padding-right:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .calcite--rtl .stepper-item-icon{margin-bottom:0;margin-left:0;padding-left:0;padding-right:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .calcite--rtl .stepper-item-header{padding-left:0;padding-right:intial}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}";var h=t("calcite_stepper_item",function(){function t(t){e(this,t);this.calciteStepperItemKeyEvent=i(this,"calciteStepperItemKeyEvent",7);this.calciteStepperItemSelect=i(this,"calciteStepperItemSelect",7);this.calciteStepperItemRegister=i(this,"calciteStepperItemRegister",7);this.active=false;this.complete=false;this.error=false;this.disabled=false;this.icon=false;this.numbered=false;this.scale="m"}t.prototype.disabledWatcher=function(){this.registerStepperItem()};t.prototype.componentWillLoad=function(){this.icon=s(this.el,"icon",false);this.numbered=s(this.el,"numbered",false);this.layout=s(this.el,"layout",false);this.scale=s(this.el,"scale","m");this.parentStepperEl=this.el.parentElement};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.itemContent=this.getItemContent();this.registerStepperItem();if(this.active){this.emitRequestedItem()}};t.prototype.componentDidUpdate=function(){if(this.active){this.emitRequestedItem()}};t.prototype.render=function(){var t;var e=this;var i=c(this.el);return n(o,{"aria-expanded":this.active.toString(),onClick:function(){return e.emitRequestedItem()},tabindex:this.disabled?null:0},n("div",{class:(t={container:true},t[l.rtl]=i==="rtl",t)},n("div",{class:"stepper-item-header"},this.icon?this.renderIcon():null,this.numbered?n("div",{class:"stepper-item-number"},this.getItemPosition()+1,"."):null,n("div",{class:"stepper-item-header-text"},n("span",{class:"stepper-item-title"},this.itemTitle),n("span",{class:"stepper-item-subtitle"},this.itemSubtitle))),n("div",{class:"stepper-item-content"},n("slot",null))))};t.prototype.keyDownHandler=function(t){if(!this.disabled&&t.target===this.el){switch(a(t.key)){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteStepperItemKeyEvent.emit({item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){if(t.target===this.parentStepperEl){this.activePosition=t.detail.position;this.determineActiveItem()}};t.prototype.renderIcon=function(){var t=this.active?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle";return n("calcite-icon",{class:"stepper-item-icon",icon:t,scale:"s"})};t.prototype.determineActiveItem=function(){this.active=!this.disabled&&this.itemPosition===this.activePosition};t.prototype.registerStepperItem=function(){this.calciteStepperItemRegister.emit({position:this.itemPosition,content:this.itemContent})};t.prototype.emitRequestedItem=function(){if(!this.disabled){this.calciteStepperItemSelect.emit({position:this.itemPosition,content:this.itemContent})}};t.prototype.getItemContent=function(){var t;return((t=this.el.shadowRoot)===null||t===void 0?void 0:t.querySelector("slot"))?this.el.shadowRoot.querySelector("slot").assignedNodes({flatten:true}):this.el.querySelector(".stepper-item-content")?this.el.querySelector(".stepper-item-content").childNodes:null};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["disabledWatcher"]}},enumerable:false,configurable:true});return t}());h.style=u}}}));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
System.register(["./p-1d6404b5.system.js"],(function(r){"use strict";var t,e,n,o,u;return{setters:[function(r){t=r.i;e=r.b;n=r.c;o=r.r;u=r.f}],execute:function(){r("f",Tr);var a=r("i",Array.isArray);function c(r){return r}var i="[object AsyncFunction]",f="[object Function]",b="[object GeneratorFunction]",l="[object Proxy]";function v(r){if(!t(r)){return false}var n=e(r);return n==f||n==b||n==i||n==l}var y=9007199254740991;var j=/^(?:0|[1-9]\d*)$/;function p(r,t){var e=typeof r;t=t==null?y:t;return!!t&&(e=="number"||e!="symbol"&&j.test(r))&&(r>-1&&r%1==0&&r<t)}var s=9007199254740991;function d(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=s}function m(r){return r!=null&&d(r.length)&&!v(r)}var A=Object.prototype;function h(r){var t=r&&r.constructor,e=typeof t=="function"&&t.prototype||A;return r===e}function g(r,t){var e=-1,n=Array(r);while(++e<r){n[e]=t(e)}return n}var O="[object Arguments]";function w(r){return n(r)&&e(r)==O}var F=Object.prototype;var x=F.hasOwnProperty;var T=F.propertyIsEnumerable;var B=w(function(){return arguments}())?w:function(r){return n(r)&&x.call(r,"callee")&&!T.call(r,"callee")};function I(){return false}var P=typeof r=="object"&&r&&!r.nodeType&&r;var S=P&&typeof module=="object"&&module&&!module.nodeType&&module;var U=S&&S.exports===P;var E=U?o.Buffer:undefined;var k=E?E.isBuffer:undefined;var q=k||I;var D="[object Arguments]",M="[object Array]",C="[object Boolean]",G="[object Date]",L="[object Error]",N="[object Function]",R="[object Map]",V="[object Number]",W="[object Object]",$="[object RegExp]",z="[object Set]",H="[object String]",J="[object WeakMap]";var K="[object ArrayBuffer]",Q="[object DataView]",X="[object Float32Array]",Y="[object Float64Array]",Z="[object Int8Array]",_="[object Int16Array]",rr="[object Int32Array]",tr="[object Uint8Array]",er="[object Uint8ClampedArray]",nr="[object Uint16Array]",or="[object Uint32Array]";var ur={};ur[X]=ur[Y]=ur[Z]=ur[_]=ur[rr]=ur[tr]=ur[er]=ur[nr]=ur[or]=true;ur[D]=ur[M]=ur[K]=ur[C]=ur[Q]=ur[G]=ur[L]=ur[N]=ur[R]=ur[V]=ur[W]=ur[$]=ur[z]=ur[H]=ur[J]=false;function ar(r){return n(r)&&d(r.length)&&!!ur[e(r)]}function cr(r){return function(t){return r(t)}}var ir=typeof r=="object"&&r&&!r.nodeType&&r;var fr=ir&&typeof module=="object"&&module&&!module.nodeType&&module;var br=fr&&fr.exports===ir;var lr=br&&u.process;var vr=function(){try{var r=fr&&fr.require&&fr.require("util").types;if(r){return r}return lr&&lr.binding&&lr.binding("util")}catch(r){}}();var yr=vr&&vr.isTypedArray;var jr=yr?cr(yr):ar;var pr=Object.prototype;var sr=pr.hasOwnProperty;function dr(r,t){var e=a(r),n=!e&&B(r),o=!e&&!n&&q(r),u=!e&&!n&&!o&&jr(r),c=e||n||o||u,i=c?g(r.length,String):[],f=i.length;for(var b in r){if((t||sr.call(r,b))&&!(c&&(b=="length"||o&&(b=="offset"||b=="parent")||u&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||p(b,f)))){i.push(b)}}return i}function mr(r){var t=[];if(r!=null){for(var e in Object(r)){t.push(e)}}return t}var Ar=Object.prototype;var hr=Ar.hasOwnProperty;function gr(r){if(!t(r)){return mr(r)}var e=h(r),n=[];for(var o in r){if(!(o=="constructor"&&(e||!hr.call(r,o)))){n.push(o)}}return n}function Or(r){return m(r)?dr(r,true):gr(r)}function wr(r){return function(t,e,n){var o=-1,u=Object(t),a=n(t),c=a.length;while(c--){var i=a[r?c:++o];if(e(u[i],i,u)===false){break}}return t}}var Fr=wr();function xr(r){return typeof r=="function"?r:c}function Tr(r,t){return r==null?r:Fr(r,xr(t),Or)}}}}));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(r,t,e,n){function u(r){return r instanceof e?r:new e((function(t){t(r)}))}return new(e||(e=Promise))((function(e,i){function o(r){try{l(n.next(r))}catch(r){i(r)}}function a(r){try{l(n["throw"](r))}catch(r){i(r)}}function l(r){r.done?e(r.value):u(r.value).then(o,a)}l((n=n.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,u,i,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(r){return function(t){return l([r,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(e)try{if(n=1,u&&(i=o[0]&2?u["return"]:o[0]?u["throw"]||((i=u["return"])&&i.call(u),0):u.next)&&!(i=i.call(u,o[1])).done)return i;if(u=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;u=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){e.label=o[1];break}if(o[0]===6&&e.label<i[1]){e.label=i[1];i=o;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(o);break}if(i[2])e.ops.pop();e.trys.pop();continue}o=t.call(r,e)}catch(r){o=[6,r];u=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,t){for(var e=0,n=t.length,u=r.length;e<n;e++,u++)r[u]=t[e];return r};
|
|
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-e020662f.system.js"],(function(r){"use strict";var t;return{setters:[function(r){t=r.g}],execute:function(){r({a:f,b:c,c:p,d:s,e:a,f:m,g:_,h:h,i:g,j:k,k:w,n:l,q:y,s:S});var e="calcite-theme-auto";var n="calcite-theme-dark";var u="calcite-theme-light";var i=r("C",{autoTheme:e,darkTheme:n,lightTheme:u,rtl:"calcite--rtl"});var o=r("T",{loading:"Loading"});function a(r){if(!r){return""}return r.id=r.id||r.tagName.toLowerCase()+"-"+t()}function l(r){return Array.isArray(r)?r:Array.from(r)}function c(r){return p(r,"."+i.darkTheme)?"dark":"light"}function f(r){var t="dir";var e="["+t+"]";var n=p(r,e);return n?n.getAttribute(t):"ltr"}function s(r,t,e){var n="["+t+"]";var u=r.closest(n);return u?u.getAttribute(t):e}function v(r){return r.getRootNode()}function d(r){return r.host||null}function h(r,t){function e(r,n){if(!r){return n}if(r.assignedSlot){r=r.assignedSlot}var u=v(r);var i=Array.from(u.querySelectorAll(t));var o=i.filter((function(r){return!n.includes(r)}));n=__spreadArray(__spreadArray([],n),o);var a=d(u);return a?e(a,n):n}return e(r,[])}function y(r,t){function e(r){if(!r){return null}if(r.assignedSlot){r=r.assignedSlot}var n=v(r);var u=n.querySelector(t);var i=d(n);return u?u:i?e(i):null}return e(r)}function p(r,t){function e(r){return r?r.closest(t)||e(d(v(r))):null}return e(r)}function g(r){return typeof(r===null||r===void 0?void 0:r.setFocus)==="function"}function m(r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!r){return[2]}return[2,g(r)?r.setFocus():r.focus()]}))}))}function _(r,t,e){var n='[slot="'+t+'"]';if(e===null||e===void 0?void 0:e.all){return b(r,n,e)}return A(r,n,e)}function b(r,t,e){var n=Array.from(r.querySelectorAll(t));n=e&&e.direct===false?n:n.filter((function(t){return t.parentElement===r}));var u=e===null||e===void 0?void 0:e.selector;return u?n.map((function(r){return Array.from(r.querySelectorAll(u))})).reduce((function(r,t){return __spreadArray(__spreadArray([],r),t)}),[]).filter((function(r){return!!r})):n}function A(r,t,e){var n=r.querySelector(t);n=e&&e.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===r?n:null;var u=e===null||e===void 0?void 0:e.selector;return u?n.querySelector(u):n}function w(r,t){return Array.from(r.children).filter((function(r){return r.matches(t)}))}function S(r,t,e){if(typeof t==="string"&&t!==""){return t}else if(t===""){return r[e]}}function k(r,t){return!(t.left>r.right||t.right<r.left||t.top>r.bottom||t.bottom<r.top)}}}}));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
function r(r,t){const o={Up:"ArrowUp",Down:"ArrowDown",Left:"ArrowLeft",Right:"ArrowRight",Spacebar:" ",Esc:"Escape"}[r]||r,n="rtl"===t;return n&&"ArrowLeft"===o?"ArrowRight":n&&"ArrowRight"===o?"ArrowLeft":o}function t(t){return"Enter"===(t=r(t))||" "===t}const o=["0","1","2","3","4","5","6","7","8","9"];export{r as g,t as i,o as n}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function o(t){try{s(n.next(t))}catch(t){r(t)}}function c(t){try{s(n["throw"](t))}catch(t){r(t)}}function s(t){t.done?i(t.value):a(t.value).then(o,c)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(t){return function(e){return s([t,e])}}function s(o){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];a=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-c74fc589.system.js","./p-6cc23c39.system.js","./p-47313747.system.js","./p-e020662f.system.js","./p-56b352bf.system.js","./p-fb1da0f5.system.js"],(function(t){"use strict";var e,i,n,a,r,o,c,s,l,h,u,d,p;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;r=t.g},function(t){o=t.a;c=t.C},function(t){s=t.h},function(t){l=t.g},function(t){h=t.g},function(t){u=t.c;d=t.d;p=t.g}],execute:function(){var b="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]) .container{height:0.75rem}:host([scale=s]) .track{width:1.5rem;height:0.75rem}:host([scale=s]) .handle{width:0.5rem;height:0.5rem}:host([scale=m]) .container{height:1rem}:host([scale=m]) .track{width:2rem;height:1rem}:host([scale=m]) .handle{width:0.75rem;height:0.75rem}:host([scale=l]) .container{height:1.5rem}:host([scale=l]) .track{width:3rem;height:1.5rem}:host([scale=l]) .handle{width:1.25rem;height:1.25rem}:host{display:inline-block;position:relative;width:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none;cursor:default}:host{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;width:auto}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.track{position:relative;display:inline-block;vertical-align:top;background-color:var(--calcite-ui-foreground-2);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:9999px}.handle{position:absolute;display:block;right:auto;background-color:var(--calcite-ui-foreground-1);border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:9999px;pointer-events:none;top:-1px;left:-1px}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{background-color:var(--calcite-ui-brand);border-color:var(--calcite-ui-brand-hover)}:host([checked]) .handle{left:auto;border-color:var(--calcite-ui-brand);right:-1px}:host([checked]:hover) .track{background-color:var(--calcite-ui-brand);border-color:var(--calcite-ui-brand-hover)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}.calcite--rtl .handle{left:auto;right:-1px}:host([checked]) .calcite--rtl .handle{right:auto;left:-1px}:host([checked]:active) .calcite--rtl .handle{right:auto;left:-1px}:host([checked]:focus) .calcite--rtl .handle{right:auto;left:-1px}";var f=t("calcite_switch",function(){function t(t){var n=this;e(this,t);this.calciteSwitchChange=i(this,"calciteSwitchChange",7);this.disabled=false;this.scale="m";this.switched=false;this.checked=false;this.inputEl=document.createElement("input");this.clickHandler=function(){n.toggle()}}t.prototype.disabledWatcher=function(t){this.inputEl.disabled=t;this.tabindex=t?-1:0};t.prototype.nameChanged=function(t){this.inputEl.name=t};t.prototype.switchedWatcher=function(t){this.checked=t};t.prototype.checkedWatcher=function(t){this.inputEl.checked=t};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.el.focus();return[2]}))}))};t.prototype.onLabelClick=function(){if(!this.disabled){this.toggle();this.setFocus()}};t.prototype.setupInput=function(){this.checked&&this.inputEl.setAttribute("checked","");this.inputEl.disabled=this.disabled;this.inputEl.id=this.guid+"-input";this.inputEl.name=this.name;this.inputEl.style.cssText=s;this.inputEl.type="checkbox";if(this.value){this.inputEl.value=this.value!=null?this.value.toString():""}this.el.appendChild(this.inputEl)};t.prototype.toggle=function(){this.checked=!this.checked;this.calciteSwitchChange.emit({switched:this.checked})};t.prototype.keyDownHandler=function(t){var e=h(t.key);if(!this.disabled&&(e===" "||e==="Enter")){this.toggle()}};t.prototype.connectedCallback=function(){u(this)};t.prototype.disconnectedCallback=function(){d(this)};t.prototype.componentWillLoad=function(){this.guid=this.el.id||"calcite-switch-"+l();this.tabindex=this.el.getAttribute("tabindex")||this.disabled?-1:0;this.setupInput()};t.prototype.render=function(){var t;var e=o(this.el);return n(a,{"aria-checked":this.checked.toString(),"aria-label":p(this),onClick:this.clickHandler,role:"switch",tabindex:this.tabindex},n("div",{class:(t={container:true},t[c.rtl]=e==="rtl",t)},n("div",{class:"track"},n("div",{class:"handle"}))))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["disabledWatcher"],name:["nameChanged"],switched:["switchedWatcher"],checked:["checkedWatcher"]}},enumerable:false,configurable:true});return t}());f.style=b}}}));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
System.register(["./p-6cc23c39.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.a}],execute:function(){e({c:ft,u:st});var r="top";var n="bottom";var a="right";var i="left";var o="auto";var f=[r,n,a,i];var s="start";var c="end";var u="clippingParents";var v="viewport";var p="popper";var l="reference";var d=f.reduce((function(e,t){return e.concat([t+"-"+s,t+"-"+c])}),[]);var m=[].concat(f,[o]).reduce((function(e,t){return e.concat([t,t+"-"+s,t+"-"+c])}),[]);var h="beforeRead";var g="read";var y="afterRead";var b="beforeMain";var w="main";var x="afterMain";var O="beforeWrite";var j="write";var E="afterWrite";var D=[h,g,y,b,w,x,O,j,E];function M(e){return e?(e.nodeName||"").toLowerCase():null}function k(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function L(e){var t=k(e).Element;return e instanceof t||e instanceof Element}function P(e){var t=k(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function A(e){if(typeof ShadowRoot==="undefined"){return false}var t=k(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function W(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{};var n=t.attributes[e]||{};var a=t.elements[e];if(!P(a)||!M(a)){return}Object.assign(a.style,r);Object.keys(n).forEach((function(e){var t=n[e];if(t===false){a.removeAttribute(e)}else{a.setAttribute(e,t===true?"":t)}}))}))}function B(e){var t=e.state;var r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper);t.styles=r;if(t.elements.arrow){Object.assign(t.elements.arrow.style,r.arrow)}return function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e];var a=t.attributes[e]||{};var i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var o=i.reduce((function(e,t){e[t]="";return e}),{});if(!P(n)||!M(n)){return}Object.assign(n.style,o);Object.keys(a).forEach((function(e){n.removeAttribute(e)}))}))}}var H={name:"applyStyles",enabled:true,phase:"write",fn:W,effect:B,requires:["computeStyles"]};function R(e){return e.split("-")[0]}function T(e,t){var r=e.getBoundingClientRect();var n=1;var a=1;return{width:r.width/n,height:r.height/a,top:r.top/a,right:r.right/n,bottom:r.bottom/a,left:r.left/n,x:r.left/n,y:r.top/a}}function S(e){var t=T(e);var r=e.offsetWidth;var n=e.offsetHeight;if(Math.abs(t.width-r)<=1){r=t.width}if(Math.abs(t.height-n)<=1){n=t.height}return{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function C(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&A(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function q(e){return k(e).getComputedStyle(e)}function N(e){return["table","td","th"].indexOf(M(e))>=0}function V(e){return((L(e)?e.ownerDocument:e.document)||window.document).documentElement}function I(e){if(M(e)==="html"){return e}return e.assignedSlot||e.parentNode||(A(e)?e.host:null)||V(e)}function U(e){if(!P(e)||q(e).position==="fixed"){return null}return e.offsetParent}function z(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&P(e)){var n=q(e);if(n.position==="fixed"){return null}}var a=I(e);while(P(a)&&["html","body"].indexOf(M(a))<0){var i=q(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none"){return a}else{a=a.parentNode}}return null}function _(e){var t=k(e);var r=U(e);while(r&&N(r)&&q(r).position==="static"){r=U(r)}if(r&&(M(r)==="html"||M(r)==="body"&&q(r).position==="static")){return t}return r||z(e)||t}function F(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var X=Math.max;var Y=Math.min;var G=Math.round;function J(e,t,r){return X(e,Y(t,r))}function K(){return{top:0,right:0,bottom:0,left:0}}function Q(e){return Object.assign({},K(),e)}function Z(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var $=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return Q(typeof t!=="number"?t:Z(t,f))};function ee(e){var t;var o=e.state,f=e.name,s=e.options;var c=o.elements.arrow;var u=o.modifiersData.popperOffsets;var v=R(o.placement);var p=F(v);var l=[i,a].indexOf(v)>=0;var d=l?"height":"width";if(!c||!u){return}var m=$(s.padding,o);var h=S(c);var g=p==="y"?r:i;var y=p==="y"?n:a;var b=o.rects.reference[d]+o.rects.reference[p]-u[p]-o.rects.popper[d];var w=u[p]-o.rects.reference[p];var x=_(c);var O=x?p==="y"?x.clientHeight||0:x.clientWidth||0:0;var j=b/2-w/2;var E=m[g];var D=O-h[d]-m[y];var M=O/2-h[d]/2+j;var k=J(E,M,D);var L=p;o.modifiersData[f]=(t={},t[L]=k,t.centerOffset=k-M,t)}function te(e){var t=e.state,r=e.options;var n=r.element,a=n===void 0?"[data-popper-arrow]":n;if(a==null){return}if(typeof a==="string"){a=t.elements.popper.querySelector(a);if(!a){return}}if(!C(t.elements.popper,a)){return}t.elements.arrow=a}var re={name:"arrow",enabled:true,phase:"main",fn:ee,effect:te,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ne(e){return e.split("-")[1]}var ae={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ie(e){var t=e.x,r=e.y;var n=window;var a=n.devicePixelRatio||1;return{x:G(G(t*a)/a)||0,y:G(G(r*a)/a)||0}}function oe(e){var t;var o=e.popper,f=e.popperRect,s=e.placement,u=e.variation,v=e.offsets,p=e.position,l=e.gpuAcceleration,d=e.adaptive,m=e.roundOffsets;var h=m===true?ie(v):typeof m==="function"?m(v):v,g=h.x,y=g===void 0?0:g,b=h.y,w=b===void 0?0:b;var x=v.hasOwnProperty("x");var O=v.hasOwnProperty("y");var j=i;var E=r;var D=window;if(d){var M=_(o);var L="clientHeight";var P="clientWidth";if(M===k(o)){M=V(o);if(q(M).position!=="static"&&p==="absolute"){L="scrollHeight";P="scrollWidth"}}M=M;if(s===r||(s===i||s===a)&&u===c){E=n;w-=M[L]-f.height;w*=l?1:-1}if(s===i||(s===r||s===n)&&u===c){j=a;y-=M[P]-f.width;y*=l?1:-1}}var A=Object.assign({position:p},d&&ae);if(l){var W;return Object.assign({},A,(W={},W[E]=O?"0":"",W[j]=x?"0":"",W.transform=(D.devicePixelRatio||1)<=1?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",W))}return Object.assign({},A,(t={},t[E]=O?w+"px":"",t[j]=x?y+"px":"",t.transform="",t))}function fe(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,a=n===void 0?true:n,i=r.adaptive,o=i===void 0?true:i,f=r.roundOffsets,s=f===void 0?true:f;var c={placement:R(t.placement),variation:ne(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,oe(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,oe(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:s})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var se={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:fe,data:{}};var ce={passive:true};function ue(e){var t=e.state,r=e.instance,n=e.options;var a=n.scroll,i=a===void 0?true:a,o=n.resize,f=o===void 0?true:o;var s=k(t.elements.popper);var c=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(i){c.forEach((function(e){e.addEventListener("scroll",r.update,ce)}))}if(f){s.addEventListener("resize",r.update,ce)}return function(){if(i){c.forEach((function(e){e.removeEventListener("scroll",r.update,ce)}))}if(f){s.removeEventListener("resize",r.update,ce)}}}var ve={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:ue,data:{}};var pe={left:"right",right:"left",bottom:"top",top:"bottom"};function le(e){return e.replace(/left|right|bottom|top/g,(function(e){return pe[e]}))}var de={start:"end",end:"start"};function me(e){return e.replace(/start|end/g,(function(e){return de[e]}))}function he(e){var t=k(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ge(e){return T(V(e)).left+he(e).scrollLeft}function ye(e){var t=k(e);var r=V(e);var n=t.visualViewport;var a=r.clientWidth;var i=r.clientHeight;var o=0;var f=0;if(n){a=n.width;i=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){o=n.offsetLeft;f=n.offsetTop}}return{width:a,height:i,x:o+ge(e),y:f}}function be(e){var t;var r=V(e);var n=he(e);var a=(t=e.ownerDocument)==null?void 0:t.body;var i=X(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0);var o=X(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);var f=-n.scrollLeft+ge(e);var s=-n.scrollTop;if(q(a||r).direction==="rtl"){f+=X(r.clientWidth,a?a.clientWidth:0)-i}return{width:i,height:o,x:f,y:s}}function we(e){var t=q(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function xe(e){if(["html","body","#document"].indexOf(M(e))>=0){return e.ownerDocument.body}if(P(e)&&we(e)){return e}return xe(I(e))}function Oe(e,t){var r;if(t===void 0){t=[]}var n=xe(e);var a=n===((r=e.ownerDocument)==null?void 0:r.body);var i=k(n);var o=a?[i].concat(i.visualViewport||[],we(n)?n:[]):n;var f=t.concat(o);return a?f:f.concat(Oe(I(o)))}function je(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ee(e){var t=T(e);t.top=t.top+e.clientTop;t.left=t.left+e.clientLeft;t.bottom=t.top+e.clientHeight;t.right=t.left+e.clientWidth;t.width=e.clientWidth;t.height=e.clientHeight;t.x=t.left;t.y=t.top;return t}function De(e,t){return t===v?je(ye(e)):P(t)?Ee(t):je(be(V(e)))}function Me(e){var t=Oe(I(e));var r=["absolute","fixed"].indexOf(q(e).position)>=0;var n=r&&P(e)?_(e):e;if(!L(n)){return[]}return t.filter((function(e){return L(e)&&C(e,n)&&M(e)!=="body"}))}function ke(e,t,r){var n=t==="clippingParents"?Me(e):[].concat(t);var a=[].concat(n,[r]);var i=a[0];var o=a.reduce((function(t,r){var n=De(e,r);t.top=X(n.top,t.top);t.right=Y(n.right,t.right);t.bottom=Y(n.bottom,t.bottom);t.left=X(n.left,t.left);return t}),De(e,i));o.width=o.right-o.left;o.height=o.bottom-o.top;o.x=o.left;o.y=o.top;return o}function Le(e){var t=e.reference,o=e.element,f=e.placement;var u=f?R(f):null;var v=f?ne(f):null;var p=t.x+t.width/2-o.width/2;var l=t.y+t.height/2-o.height/2;var d;switch(u){case r:d={x:p,y:t.y-o.height};break;case n:d={x:p,y:t.y+t.height};break;case a:d={x:t.x+t.width,y:l};break;case i:d={x:t.x-o.width,y:l};break;default:d={x:t.x,y:t.y}}var m=u?F(u):null;if(m!=null){var h=m==="y"?"height":"width";switch(v){case s:d[m]=d[m]-(t[h]/2-o[h]/2);break;case c:d[m]=d[m]+(t[h]/2-o[h]/2);break}}return d}function Pe(e,t){if(t===void 0){t={}}var i=t,o=i.placement,s=o===void 0?e.placement:o,c=i.boundary,d=c===void 0?u:c,m=i.rootBoundary,h=m===void 0?v:m,g=i.elementContext,y=g===void 0?p:g,b=i.altBoundary,w=b===void 0?false:b,x=i.padding,O=x===void 0?0:x;var j=Q(typeof O!=="number"?O:Z(O,f));var E=y===p?l:p;var D=e.rects.popper;var M=e.elements[w?E:y];var k=ke(L(M)?M:M.contextElement||V(e.elements.popper),d,h);var P=T(e.elements.reference);var A=Le({reference:P,element:D,strategy:"absolute",placement:s});var W=je(Object.assign({},D,A));var B=y===p?W:P;var H={top:k.top-B.top+j.top,bottom:B.bottom-k.bottom+j.bottom,left:k.left-B.left+j.left,right:B.right-k.right+j.right};var R=e.modifiersData.offset;if(y===p&&R){var S=R[s];Object.keys(H).forEach((function(e){var t=[a,n].indexOf(e)>=0?1:-1;var i=[r,n].indexOf(e)>=0?"y":"x";H[e]+=S[i]*t}))}return H}function Ae(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,o=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,u=c===void 0?m:c;var v=ne(n);var p=v?s?d:d.filter((function(e){return ne(e)===v})):f;var l=p.filter((function(e){return u.indexOf(e)>=0}));if(l.length===0){l=p}var h=l.reduce((function(t,r){t[r]=Pe(e,{placement:r,boundary:a,rootBoundary:i,padding:o})[R(r)];return t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}function We(e){if(R(e)===o){return[]}var t=le(e);return[me(e),t,me(t)]}function Be(e){var t=e.state,f=e.options,c=e.name;if(t.modifiersData[c]._skip){return}var u=f.mainAxis,v=u===void 0?true:u,p=f.altAxis,l=p===void 0?true:p,d=f.fallbackPlacements,m=f.padding,h=f.boundary,g=f.rootBoundary,y=f.altBoundary,b=f.flipVariations,w=b===void 0?true:b,x=f.allowedAutoPlacements;var O=t.options.placement;var j=R(O);var E=j===O;var D=d||(E||!w?[le(O)]:We(O));var M=[O].concat(D).reduce((function(e,r){return e.concat(R(r)===o?Ae(t,{placement:r,boundary:h,rootBoundary:g,padding:m,flipVariations:w,allowedAutoPlacements:x}):r)}),[]);var k=t.rects.reference;var L=t.rects.popper;var P=new Map;var A=true;var W=M[0];for(var B=0;B<M.length;B++){var H=M[B];var T=R(H);var S=ne(H)===s;var C=[r,n].indexOf(T)>=0;var q=C?"width":"height";var N=Pe(t,{placement:H,boundary:h,rootBoundary:g,altBoundary:y,padding:m});var V=C?S?a:i:S?n:r;if(k[q]>L[q]){V=le(V)}var I=le(V);var U=[];if(v){U.push(N[T]<=0)}if(l){U.push(N[V]<=0,N[I]<=0)}if(U.every((function(e){return e}))){W=H;A=false;break}P.set(H,U)}if(A){var z=w?3:1;var _=function e(t){var r=M.find((function(e){var r=P.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){W=r;return"break"}};for(var F=z;F>0;F--){var X=_(F);if(X==="break")break}}if(t.placement!==W){t.modifiersData[c]._skip=true;t.placement=W;t.reset=true}}var He={name:"flip",enabled:true,phase:"main",fn:Be,requiresIfExists:["offset"],data:{_skip:false}};function Re(e,t,r){if(r===void 0){r={x:0,y:0}}return{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Te(e){return[r,a,n,i].some((function(t){return e[t]>=0}))}function Se(e){var t=e.state,r=e.name;var n=t.rects.reference;var a=t.rects.popper;var i=t.modifiersData.preventOverflow;var o=Pe(t,{elementContext:"reference"});var f=Pe(t,{altBoundary:true});var s=Re(o,n);var c=Re(f,a,i);var u=Te(s);var v=Te(c);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:v};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":v})}var Ce={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:Se};function qe(e,t,n){var o=R(e);var f=[i,r].indexOf(o)>=0?-1:1;var s=typeof n==="function"?n(Object.assign({},t,{placement:e})):n,c=s[0],u=s[1];c=c||0;u=(u||0)*f;return[i,a].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}}function Ne(e){var t=e.state,r=e.options,n=e.name;var a=r.offset,i=a===void 0?[0,0]:a;var o=m.reduce((function(e,r){e[r]=qe(r,t.rects,i);return e}),{});var f=o[t.placement],s=f.x,c=f.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=s;t.modifiersData.popperOffsets.y+=c}t.modifiersData[n]=o}var Ve={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:Ne};function Ie(e){var t=e.state,r=e.name;t.modifiersData[r]=Le({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Ue={name:"popperOffsets",enabled:true,phase:"read",fn:Ie,data:{}};function ze(e){return e==="x"?"y":"x"}function _e(e){var t=e.state,o=e.options,f=e.name;var c=o.mainAxis,u=c===void 0?true:c,v=o.altAxis,p=v===void 0?false:v,l=o.boundary,d=o.rootBoundary,m=o.altBoundary,h=o.padding,g=o.tether,y=g===void 0?true:g,b=o.tetherOffset,w=b===void 0?0:b;var x=Pe(t,{boundary:l,rootBoundary:d,padding:h,altBoundary:m});var O=R(t.placement);var j=ne(t.placement);var E=!j;var D=F(O);var M=ze(D);var k=t.modifiersData.popperOffsets;var L=t.rects.reference;var P=t.rects.popper;var A=typeof w==="function"?w(Object.assign({},t.rects,{placement:t.placement})):w;var W={x:0,y:0};if(!k){return}if(u||p){var B=D==="y"?r:i;var H=D==="y"?n:a;var T=D==="y"?"height":"width";var C=k[D];var q=k[D]+x[B];var N=k[D]-x[H];var V=y?-P[T]/2:0;var I=j===s?L[T]:P[T];var U=j===s?-P[T]:-L[T];var z=t.elements.arrow;var G=y&&z?S(z):{width:0,height:0};var Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:K();var Z=Q[B];var $=Q[H];var ee=J(0,L[T],G[T]);var te=E?L[T]/2-V-ee-Z-A:I-ee-Z-A;var re=E?-L[T]/2+V+ee+$+A:U+ee+$+A;var ae=t.elements.arrow&&_(t.elements.arrow);var ie=ae?D==="y"?ae.clientTop||0:ae.clientLeft||0:0;var oe=t.modifiersData.offset?t.modifiersData.offset[t.placement][D]:0;var fe=k[D]+te-oe-ie;var se=k[D]+re-oe;if(u){var ce=J(y?Y(q,fe):q,C,y?X(N,se):N);k[D]=ce;W[D]=ce-C}if(p){var ue=D==="x"?r:i;var ve=D==="x"?n:a;var pe=k[M];var le=pe+x[ue];var de=pe-x[ve];var me=J(y?Y(le,fe):le,pe,y?X(de,se):de);k[M]=me;W[M]=me-pe}}t.modifiersData[f]=W}var Fe={name:"preventOverflow",enabled:true,phase:"main",fn:_e,requiresIfExists:["offset"]};function Xe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ye(e){if(e===k(e)||!P(e)){return he(e)}else{return Xe(e)}}function Ge(e){var t=e.getBoundingClientRect();var r=t.width/e.offsetWidth||1;var n=t.height/e.offsetHeight||1;return r!==1||n!==1}function Je(e,t,r){if(r===void 0){r=false}var n=P(t);P(t)&&Ge(t);var a=V(t);var i=T(e);var o={scrollLeft:0,scrollTop:0};var f={x:0,y:0};if(n||!n&&!r){if(M(t)!=="body"||we(a)){o=Ye(t)}if(P(t)){f=T(t);f.x+=t.clientLeft;f.y+=t.clientTop}else if(a){f.x=ge(a)}}return{x:i.left+o.scrollLeft-f.x,y:i.top+o.scrollTop-f.y,width:i.width,height:i.height}}function Ke(e){var t=new Map;var r=new Set;var n=[];e.forEach((function(e){t.set(e.name,e)}));function a(e){r.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach((function(e){if(!r.has(e)){var n=t.get(e);if(n){a(n)}}}));n.push(e)}e.forEach((function(e){if(!r.has(e.name)){a(e)}}));return n}function Qe(e){var t=Ke(e);return D.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function Ze(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function $e(e){var t=e.reduce((function(e,t){var r=e[t.name];e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t;return e}),{});return Object.keys(t).map((function(e){return t[e]}))}var et={placement:"bottom",modifiers:[],strategy:"absolute"};function tt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return!t.some((function(e){return!(e&&typeof e.getBoundingClientRect==="function")}))}function rt(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?et:a;return function e(t,r,a){if(a===void 0){a=i}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},et,i),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var f=[];var s=false;var c={state:o,setOptions:function e(a){var f=typeof a==="function"?a(o.options):a;v();o.options=Object.assign({},i,o.options,f);o.scrollParents={reference:L(t)?Oe(t):t.contextElement?Oe(t.contextElement):[],popper:Oe(r)};var s=Qe($e([].concat(n,o.options.modifiers)));o.orderedModifiers=s.filter((function(e){return e.enabled}));u();return c.update()},forceUpdate:function e(){if(s){return}var t=o.elements,r=t.reference,n=t.popper;if(!tt(r,n)){return}o.rects={reference:Je(r,_(n),o.options.strategy==="fixed"),popper:S(n)};o.reset=false;o.placement=o.options.placement;o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<o.orderedModifiers.length;a++){if(o.reset===true){o.reset=false;a=-1;continue}var i=o.orderedModifiers[a],f=i.fn,u=i.options,v=u===void 0?{}:u,p=i.name;if(typeof f==="function"){o=f({state:o,options:v,name:p,instance:c})||o}}},update:Ze((function(){return new Promise((function(e){c.forceUpdate();e(o)}))})),destroy:function e(){v();s=true}};if(!tt(t,r)){return c}c.setOptions(a).then((function(e){if(!s&&a.onFirstUpdate){a.onFirstUpdate(e)}}));function u(){o.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,a=e.effect;if(typeof a==="function"){var i=a({state:o,name:t,instance:c,options:n});var s=function e(){};f.push(i||s)}}))}function v(){f.forEach((function(e){return e()}));f=[]}return c}}var nt=[ve,Ue,se,H,Ve,He,Fe,re,Ce];var at=rt({defaultModifiers:nt});var it=e("C",{animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"});function ot(e,r){var n=["left","right"];var a=["start","end"];if(t(e)==="rtl"){n.reverse();a.reverse()}return r.replace(/-leading/gi,"-"+a[0]).replace(/-trailing/gi,"-"+a[1]).replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function ft(e){var t=e.referenceEl,r=e.el,n=e.placement,a=e.overlayPositioning,i=a===void 0?"absolute":a,o=e.modifiers;if(!t){return null}return at(t,r,{strategy:i,placement:ot(r,n),modifiers:o})}function st(e){var t=e.el,r=e.modifiers,n=e.placement,a=e.popper;var i=ot(t,n);a.setOptions({modifiers:r,placement:i})}function ct(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}var ut=4;var vt=e("d",Math.ceil(ct(ut,ut)))}}}));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import{r as t,c as e,h as i,F as a,g as n}from"./p-cbdf0e6c.js";import{a as o,g as l,C as r}from"./p-52cc870b.js";import{C as s}from"./p-07ba39b6.js";import{S as c}from"./p-26508b91.js";import"./p-8a63221d.js";let h=class{constructor(i){t(this,i),this.calcitePanelDismissedChange=e(this,"calcitePanelDismissedChange",7),this.calcitePanelScroll=e(this,"calcitePanelScroll",7),this.calcitePanelBackClick=e(this,"calcitePanelBackClick",7),this.dismissed=!1,this.disabled=!1,this.dismissible=!1,this.showBackButton=!1,this.loading=!1,this.menuOpen=!1,this.setContainerRef=t=>{this.containerEl=t},this.setDismissRef=t=>{this.dismissButtonEl=t},this.setBackRef=t=>{this.backButtonEl=t},this.panelKeyUpHandler=t=>{"Escape"===t.key&&this.dismiss()},this.dismiss=()=>{this.dismissed=!0},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.backButtonClick=()=>{this.calcitePanelBackClick.emit()}}dismissedHandler(){this.calcitePanelDismissedChange.emit()}async setFocus(t){var e,i,a;"dismiss-button"!==t?"back-button"!==t?null===(a=this.containerEl)||void 0===a||a.focus():null===(i=this.backButtonEl)||void 0===i||i.setFocus():null===(e=this.dismissButtonEl)||void 0===e||e.setFocus()}renderBackButton(){const{el:t}=this,e="rtl"===o(t),{showBackButton:a,intlBack:n,backButtonClick:l}=this,r=n||"Back";return a?i("calcite-action",{"aria-label":r,class:"back-button",icon:e?"chevron-right":"chevron-left",key:"back-button",onClick:l,ref:this.setBackRef,scale:"s",slot:"header-actions-start",text:r}):null}renderHeaderContent(){const{heading:t,headingLevel:e,summary:a}=this,n=t?i(s,{class:"heading",level:e||3},t):null,o=a?i("span",{class:"summary"},a):null;return n||o?i("div",{class:"header-content",key:"header-content"},n,o):null}renderHeaderSlottedContent(){return i("div",{class:"header-content",key:"header-content"},i("slot",{name:"header-content"}))}renderHeaderStartActions(){const{el:t}=this;return l(t,"header-actions-start")?i("div",{class:{"header-actions--start":!0,"header-actions":!0},key:"header-actions-start"},i("slot",{name:"header-actions-start"})):null}renderHeaderActionsEnd(){const{dismiss:t,dismissible:e,el:a,intlClose:n}=this,o=n||"Close",r=e?i("calcite-action",{"aria-label":o,icon:"x",onClick:t,ref:this.setDismissRef,text:o}):null,s=i("slot",{name:"header-actions-end"});return l(a,"header-actions-end")||r?i("div",{class:{"header-actions--end":!0,"header-actions":!0},key:"header-actions-end"},s,r):null}renderMenu(){const{el:t,intlOptions:e,menuOpen:a}=this;return l(t,"header-menu-actions")?i("calcite-action-menu",{flipPlacements:["top","bottom"],label:e||"Options",open:a,placement:"bottom-end"},i("calcite-action",{icon:"ellipsis",slot:c.trigger,text:e||"Options"}),i("slot",{name:"header-menu-actions"})):null}renderHeaderNode(){const{el:t,showBackButton:e}=this,a=this.renderBackButton(),n=l(t,"header-content")?this.renderHeaderSlottedContent():this.renderHeaderContent(),o=this.renderHeaderStartActions(),r=this.renderHeaderActionsEnd(),s=this.renderMenu();return o||n||r||s||e?i("header",{class:"header"},a,o,n,r,s):null}renderFooterSlottedContent(){const{el:t}=this;return l(t,"footer")?i("footer",{class:"footer"},i("slot",{name:"footer"})):null}renderFooterActions(){const{el:t}=this;return l(t,"footer-actions")?i("footer",{class:"footer"},i("slot",{name:"footer-actions"})):null}renderContent(){return i("section",{class:"content-container",onScroll:this.panelScrollHandler,tabIndex:0},i("slot",null),this.renderFab())}renderFab(){const{el:t}=this;return l(t,"fab")?i("div",{class:"fab-container"},i("slot",{name:"fab"})):null}render(){const{dismissed:t,disabled:e,dismissible:n,el:l,loading:s,panelKeyUpHandler:c}=this,h="rtl"===o(l),d=i("article",{"aria-busy":s.toString(),class:{container:!0,[r.rtl]:h},hidden:n&&t,onKeyUp:c,ref:this.setContainerRef,tabIndex:n?0:-1},this.renderHeaderNode(),this.renderContent(),this.renderFooterSlottedContent()||this.renderFooterActions());return i(a,null,s||e?i("calcite-scrim",{loading:s}):null,d)}get el(){return n(this)}static get watchers(){return{dismissed:["dismissedHandler"]}}};h.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;position:relative;width:100%;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);width:100%;padding:0;margin:0;max-height:var(--calcite-panel-max-height);width:var(--calcite-panel-width);max-width:var(--calcite-panel-max-width);min-width:var(--calcite-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, width 150ms ease-in-out;transition:max-height 150ms ease-in-out, width 150ms ease-in-out}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}:host([loading]) .container,:host([disabled]) .container{position:relative;z-index:1}.header{border-bottom:1px solid;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start;position:-webkit-sticky;position:sticky;top:0;border-bottom-color:var(--calcite-ui-border-2);width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;z-index:2}.header-content{display:block;overflow:hidden;margin-right:auto;padding:1rem}.header-content .heading,.header-content .summary{padding:0;display:block;overflow:hidden;white-space:nowrap;width:100%;text-overflow:ellipsis}.header-content .heading{font-weight:var(--calcite-font-weight-medium);margin-top:0;margin-left:0;margin-right:0;margin-bottom:0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.header-content .heading:only-child{margin-bottom:0}.header-content .summary{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}.back-button{border-color:var(--calcite-ui-border-2);border-style:solid;border-width:0;border-right-width:1px}.calcite--rtl .back-button{border-right-width:0;border-left-width:1px}.header-actions{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.header-actions--end{margin-left:auto}.menu-container:only-child{margin-left:auto}.menu-button{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}.menu{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content-container{-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:column;flex-direction:column}.footer{border-top:1px solid;background-color:var(--calcite-ui-foreground-1);border-top-color:var(--calcite-ui-border-3);display:-ms-flexbox;display:flex;-ms-flex-pack:space-evenly;justify-content:space-evenly;position:-webkit-sticky;position:sticky;bottom:0;width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;padding:0.5rem}.calcite--rtl .header-content{margin-left:auto;margin-right:unset}.calcite--rtl .header-actions--end{margin-right:auto;margin-left:unset}.calcite--rtl .menu-container:only-child{margin-right:auto;margin-left:unset}.fab-container{display:inline-block;position:-webkit-sticky;position:sticky;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;padding:0.5rem;bottom:0;left:0;right:0;z-index:1}";export{h as calcite_panel}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import{r as t,c as i,h as e,H as n,g as a}from"./p-cbdf0e6c.js";import{g as r}from"./p-72563742.js";import{a as o,C as s,f as c,d as l}from"./p-52cc870b.js";import{C as m,u as d,c as p}from"./p-8fcfe861.js";import{c as h}from"./p-e4acb5a8.js";import"./p-8a63221d.js";let f=class{constructor(e){t(this,e),this.calciteDropdownSelect=i(this,"calciteDropdownSelect",7),this.calciteDropdownOpen=i(this,"calciteDropdownOpen",7),this.calciteDropdownClose=i(this,"calciteDropdownClose",7),this.active=!1,this.disableCloseOnSelect=!1,this.disabled=!1,this.maxItems=0,this.overlayPositioning="absolute",this.placement="bottom-leading",this.scale="m",this.selectedItems=[],this.type="click",this.width="m",this.items=[],this.activeTransitionProp="opacity",this.mutationObserver=h("mutation",(()=>this.updateItems())),this.updateItems=()=>{this.updateSelectedItems(),this.triggers=Array.from(this.el.querySelectorAll("[slot=dropdown-trigger]")),this.items=Array.from(this.el.querySelectorAll("calcite-dropdown-item")),this.reposition()},this.setMaxScrollerHeight=()=>{const{scrollerEl:t}=this;if(t){const i=this.getMaxScrollerHeight();t.style.maxHeight=i>0?`${i}px`:""}},this.setScrollerEl=t=>{this.scrollerEl=t},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.active?this.calciteDropdownOpen.emit():this.calciteDropdownClose.emit())},this.setReferenceEl=t=>{this.referenceEl=t},this.setMenuEl=t=>{this.menuEl=t},this.keyDownHandler=t=>{const i=t.target,e=r(t.key);if(this.triggers.includes(i)||this.triggers.some((t=>t.contains(i))))if("BUTTON"!==i.nodeName&&"CALCITE-BUTTON"!==i.nodeName)switch(e){case" ":case"Enter":this.openCalciteDropdown();break;case"Escape":this.closeCalciteDropdown()}else this.active&&("Escape"===e||t.shiftKey&&"Tab"===e)&&this.closeCalciteDropdown()},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.items.find((t=>t.active))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.active=!this.active,this.active&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)}}activeHandler(){this.reposition()}maxItemsHandler(){this.reposition()}placementHandler(){this.reposition()}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.createPopper(),this.updateItems()}componentDidLoad(){this.reposition()}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),this.destroyPopper()}render(){const{active:t}=this,i=o(this.el);return e(n,{tabIndex:this.disabled?-1:null},e("div",{class:{"calcite-dropdown-trigger-container":!0,[s.rtl]:"rtl"===i},onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},e("slot",{"aria-expanded":t.toString(),"aria-haspopup":"true",name:"dropdown-trigger"})),e("div",{"aria-hidden":(!t).toString(),class:"calcite-dropdown-wrapper",ref:this.setMenuEl},e("div",{class:{"calcite-dropdown-content":!0,[m.animation]:!0,[m.animationActive]:t},onTransitionEnd:this.transitionEnd,ref:this.setScrollerEl},e("slot",null))))}async reposition(){const{popper:t,menuEl:i,placement:e}=this;this.setMaxScrollerHeight();const n=this.getModifiers();t?d({el:i,modifiers:n,placement:e,popper:t}):this.createPopper()}closeCalciteDropdownOnClick(t){this.active&&!t.composedPath().includes(this.el)&&this.closeCalciteDropdown()}closeCalciteDropdownOnEvent(){this.closeCalciteDropdown()}closeCalciteDropdownOnOpenEvent(t){t.composedPath().includes(this.el)||(this.active=!1)}mouseEnterHandler(){"hover"===this.type&&this.openCalciteDropdown()}mouseLeaveHandler(){"hover"===this.type&&this.closeCalciteDropdown()}calciteDropdownItemKeyEvent(t){const{keyboardEvent:i}=t.detail,e=i.target,n="A"!==e.nodeName?e:e.parentNode,a=0===this.itemIndex(n),o=this.itemIndex(n)===this.items.length-1;switch(r(i.key)){case"Tab":o&&!i.shiftKey||a&&i.shiftKey?this.closeCalciteDropdown():i.shiftKey?this.focusPrevItem(n):this.focusNextItem(n);break;case"ArrowDown":this.focusNextItem(n);break;case"ArrowUp":this.focusPrevItem(n);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems(),t.stopPropagation(),this.calciteDropdownSelect.emit(),this.disableCloseOnSelect&&"none"!==t.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown()}getModifiers(){return[{name:"flip",enabled:!0,options:{fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]}}]}createPopper(){this.destroyPopper();const{menuEl:t,referenceEl:i,placement:e,overlayPositioning:n}=this,a=this.getModifiers();this.popper=p({el:t,modifiers:a,overlayPositioning:n,placement:e,referenceEl:i})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}updateSelectedItems(){const t=Array.from(this.el.querySelectorAll("calcite-dropdown-item"));this.selectedItems=t.filter((t=>t.active))}getMaxScrollerHeight(){const t=Array.from(this.el.querySelectorAll("calcite-dropdown-group")),{maxItems:i}=this;let e,n=0,a=0;return t.forEach((t=>{i>0&&n<i&&Array.from(t.children).forEach(((t,r)=>{0===r&&(isNaN(e)&&(e=t.offsetTop),a+=e),n<i&&(a+=t.offsetHeight,n+=1)}))})),a}closeCalciteDropdown(){this.active=!1,c(this.triggers[0])}focusFirstItem(){this.getFocusableElement(this.items[0])}focusLastItem(){this.getFocusableElement(this.items[this.items.length-1])}focusNextItem(t){const i=this.itemIndex(t);this.getFocusableElement(this.items[i+1]||this.items[0])}focusPrevItem(t){const i=this.itemIndex(t);this.getFocusableElement(this.items[i-1]||this.items[this.items.length-1])}itemIndex(t){return this.items.indexOf(t)}getFocusableElement(t){if(!t)return;const i=t.attributes.isLink?t.shadowRoot.querySelector("a"):t;c(i)}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],maxItems:["maxItemsHandler"],placement:["placementHandler"]}}};f.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .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}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{background-color:var(--calcite-ui-foreground-1);overflow:hidden;overflow-y:auto;width:auto;max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;position:relative}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}:host([scale=s]){--calcite-dropdown-group-padding:0.5rem 0;--calcite-dropdown-item-padding:0.25rem 0.75rem 0.25rem 1.5rem}:host([scale=m]){--calcite-dropdown-group-padding:0.5rem 0;--calcite-dropdown-item-padding:0.5rem 0.75rem 0.5rem 1.5rem}:host([scale=l]){--calcite-dropdown-group-padding:0.75rem 0;--calcite-dropdown-item-padding:0.5rem 0.75rem 0.5rem 1.5rem}:host([scale=s]) .calcite--rtl{--calcite-dropdown-item-padding:0.25rem 1.5rem 0.25rem 0.75rem}:host([scale=m]) .calcite--rtl{--calcite-dropdown-item-padding:0.5rem 1.5rem 0.5rem 0.75rem}:host([scale=l]) .calcite--rtl{--calcite-dropdown-item-padding:0.5rem 1.5rem 0.5rem 0.75rem}";let w=class{constructor(e){t(this,e),this.calciteDropdownItemChange=i(this,"calciteDropdownItemChange",7),this.selectionMode="single"}componentWillLoad(){this.groupPosition=this.getGroupPosition()}render(){const t=o(this.el),i=this.scale||l(this.el,"scale","m"),a=this.groupTitle?e("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,r=this.groupPosition>0?e("div",{class:"dropdown-separator",role:"separator"}):null;return e(n,{role:"menu"},e("div",{class:{container:!0,"container--s":"s"===i,"container--m":"m"===i,"container--l":"l"===i},dir:t,title:this.groupTitle},r,a,e("slot",null)))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.calciteDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}get el(){return a(this)}};w.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{display:block;border-width:0;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-bold);word-wrap:break-word;overflow-wrap:break-word;cursor:default;margin-bottom:-1px}.dropdown-separator{display:block;height:1px;background-color:var(--calcite-ui-border-3)}";let b=class{constructor(e){t(this,e),this.calciteDropdownItemSelect=i(this,"calciteDropdownItemSelect",7),this.calciteDropdownItemKeyEvent=i(this,"calciteDropdownItemKeyEvent",7),this.calciteDropdownCloseRequest=i(this,"calciteDropdownCloseRequest",7),this.active=!1}async setFocus(){this.el.focus()}connectedCallback(){this.selectionMode=l(this.el,"selection-mode","single"),this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.active=!1)}render(){const t=o(this.el),i=l(this.el,"scale","m"),a=e("calcite-icon",{class:"dropdown-item-icon-start",dir:t,flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),r=e("span",{class:"dropdown-item-content"},e("slot",null)),c=e("calcite-icon",{class:"dropdown-item-icon-end",dir:t,flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"}),m=this.iconStart&&this.iconEnd?[a,r,c]:this.iconStart?[a,e("slot",null)]:this.iconEnd?[r,c]:r,d=this.href?e("a",{"aria-label":this.label,class:"dropdown-link",href:this.href,ref:t=>this.childLink=t,rel:this.rel,target:this.target},m):m,p=this.href?null:"single"===this.selectionMode?"menuitemradio":"multi"===this.selectionMode?"menuitemcheckbox":"menuitem",h="none"!==this.selectionMode?this.active.toString():null;return e(n,{"aria-checked":h,role:p,tabindex:"0"},e("div",{class:{container:!0,[s.rtl]:"rtl"===t,"container--link":!!this.href,"container--s":"s"===i,"container--m":"m"===i,"container--l":"l"===i,"container--multi-selection":"multi"===this.selectionMode,"container--single-selection":"single"===this.selectionMode,"container--none-selection":"none"===this.selectionMode}},"none"!==this.selectionMode?e("calcite-icon",{class:"dropdown-item-icon",icon:"multi"===this.selectionMode?"check":"bullet-point",scale:"s"}):null,d))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(r(t.key)){case" ":this.emitRequestedItem(),this.href&&(t.preventDefault(),this.childLink.click());break;case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click();break;case"Escape":this.calciteDropdownCloseRequest.emit();break;case"Tab":case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteDropdownItemKeyEvent.emit({keyboardEvent:t})}t.preventDefault()}updateActiveItemOnChange(t){t.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.determineActiveItem())}determineActiveItem(){switch(this.selectionMode){case"multi":this.el===this.requestedDropdownItem&&(this.active=!this.active);break;case"single":this.el===this.requestedDropdownItem?this.active=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.active=!1);break;case"none":this.active=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return a(this)}};b.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem;padding-right:0.5rem;padding-left:1.5rem;padding-top:0.25rem;padding-bottom:0.25rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem;padding-right:0.75rem;padding-left:2rem;padding-top:0.5rem;padding-bottom:0.5rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-right:1rem;padding-left:2.5rem;padding-top:0.75rem;padding-bottom:0.75rem}.container--s.calcite--rtl{padding-right:1.5rem;padding-left:0.5rem}.container--m.calcite--rtl{padding-right:2rem;padding-left:0.75rem}.container--l.calcite--rtl{padding-right:2.5rem;padding-left:1rem}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;position:relative}.container{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative}.dropdown-item-content{margin-right:auto;margin-left:0.25rem}.calcite--rtl .dropdown-item-content{margin-left:auto;margin-right:0}:host,.container--link a{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}:host(:focus),.container--link a:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0}.container--link a{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative}.container--s .dropdown-link{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem}.container--m .dropdown-link{padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem}.container--l .dropdown-link{padding-left:1.25rem;padding-right:1.25rem;padding-top:1rem;padding-bottom:1rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);text-decoration:none}:host(:focus) .container{color:var(--calcite-ui-text-1);text-decoration:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}.calcite--rtl:before{left:unset;right:1rem}:host([active]) .container:not(.container--none-selection){color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-medium)}:host([active]) .container:not(.container--none-selection):before{opacity:1;color:var(--calcite-ui-brand)}:host([active]) .container:not(.container--none-selection) calcite-icon{color:var(--calcite-ui-brand)}.container--s.container--none-selection{padding-left:0.25rem}.container--m.container--none-selection{padding-left:0.5rem}.container--l.container--none-selection{padding-left:0.75rem}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{left:0.5rem}.container--m:before{left:0.75rem}.container--l:before{left:1rem}.calcite--rtl:before{left:unset}.container--s.calcite--rtl:before{right:0.5rem}.container--m.calcite--rtl:before{right:0.75rem}.container--l.calcite--rtl:before{right:1rem}.dropdown-item-icon{position:absolute;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(0.9);transform:scale(0.9)}.container--s .dropdown-item-icon{left:0.25rem}.container--m .dropdown-item-icon{left:0.5rem}.container--l .dropdown-item-icon{left:0.75rem}.calcite--rtl .dropdown-item-icon{left:unset;margin-left:0}.container--s.calcite--rtl .dropdown-item-icon{right:0.25rem}.container--m.calcite--rtl .dropdown-item-icon{right:0.5rem}.container--l.calcite--rtl .dropdown-item-icon{right:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-right:0.5rem;margin-left:0.25rem}.container--s .dropdown-item-icon-end{margin-left:0.5rem}.container--m .dropdown-item-icon-start{margin-right:0.75rem;margin-left:0.25rem}.container--m .dropdown-item-icon-end{margin-left:0.75rem}.container--l .dropdown-item-icon-start{margin-right:1rem;margin-left:0.25rem}.container--l .dropdown-item-icon-end{margin-left:1rem}.calcite--rtl .dropdown-item-icon-start{margin-right:0}.calcite--rtl .dropdown-item-icon-end{margin-left:0}.container--s.calcite--rtl .dropdown-item-icon-start{margin-left:0.5rem}.container--s.calcite--rtl .dropdown-item-icon-end{margin-right:0.5rem}.container--m.calcite--rtl .dropdown-item-icon-start{margin-left:0.75rem}.container--m.calcite--rtl .dropdown-item-icon-end{margin-right:0.75rem}.container--l.calcite--rtl .dropdown-item-icon-start{margin-left:1rem}.container--l.calcite--rtl .dropdown-item-icon-end{margin-right:1rem}.calcite--rtl calcite-icon{margin-right:0;margin-left:0.75rem}";export{f as calcite_dropdown,w as calcite_dropdown_group,b as calcite_dropdown_item}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import{r as t,c as i,h as a,g as e,F as n}from"./p-cbdf0e6c.js";import{m as s,d as o,s as r,h as l,g as c,k as m,i as h,a as d,c as f,r as p,b,e as u,l as g,f as k,j as x,I as w,L as y,T as D,n as v,C as z,S as _}from"./p-61038b30.js";import{c as C}from"./p-e4acb5a8.js";import{a as H,g as I,C as j}from"./p-52cc870b.js";import{C as L,c as W}from"./p-07ba39b6.js";import"./p-accdb0ce.js";import"./p-b06207bb.js";import"./p-8a63221d.js";let F=class{constructor(a){t(this,a),this.calciteListChange=i(this,"calciteListChange",7),this.disabled=!1,this.filterEnabled=!1,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[],this.lastSelectedItem=null,this.mutationObserver=C("mutation",s.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.deselectSiblingItems=o.bind(this),this.selectSiblings=r.bind(this),this.handleFilter=l.bind(this),this.getItemData=c.bind(this),this.keyDownHandler=m.bind(this)}connectedCallback(){h.call(this),d.call(this)}disconnectedCallback(){f.call(this)}calciteListItemRemoveHandler(t){p.call(this,t)}calciteListItemChangeHandler(t){b.call(this,t)}calciteListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteListItemValueChangeHandler(t){u.call(this,t)}calciteListFocusOutHandler(t){g.call(this,t)}setUpItems(){k.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return x.call(this,t)}getIconType(){return this.multiple?w.square:w.circle}render(){return a(y,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};F.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{-ms-flex-align:stretch;align-items:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:transparent;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0;color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([filter-enabled]) header{background-color:var(--calcite-ui-foreground-1);display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:stretch;align-items:stretch;margin-bottom:0.25rem;-webkit-box-shadow:0 1px 0 var(--calcite-ui-border-3);box-shadow:0 1px 0 var(--calcite-ui-border-3)}:host([filter-enabled]) header.sticky{position:-webkit-sticky;position:sticky;top:0;z-index:1}calcite-filter{margin-bottom:0}:host([loading][disabled]){min-height:2rem}";let A=class{constructor(i){t(this,i)}render(){var t;const{el:i,groupTitle:e,headingLevel:s}=this,o="rtl"===H(i),r={container:!0,"container--indented":null!==I(i,"parent-item"),[j.rtl]:o},l=e,c=null===(t=i.closest("calcite-pick-list"))||void 0===t?void 0:t.headingLevel,m=c?W(c+1):null;return a(n,null,l?a(L,{class:"heading",level:s||m||3},l):null,a("slot",{name:"parent-item"}),a("section",{class:r},a("slot",null)))}get el(){return e(this)}};A.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{background-color:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;margin-bottom:0.25rem;color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:last-child){margin-bottom:0}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}h3.heading{font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3);margin-top:0.5rem;margin-bottom:0.5rem;margin-left:1rem;margin-right:1rem}.container--indented{margin-left:1.5rem}.calcite--rtl.container--indented{margin-left:0;margin-right:1.5rem}";let S=class{constructor(a){t(this,a),this.calciteListItemChange=i(this,"calciteListItemChange",7),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteListItemPropsChange=i(this,"calciteListItemPropsChange",7),this.calciteListItemValueChange=i(this,"calciteListItemValueChange",7),this.disabled=!1,this.disableDeselect=!1,this.nonInteractive=!1,this.icon=null,this.removable=!1,this.selected=!1,this.intlRemove=D.remove,this.pickListClickHandler=t=>{this.disabled||this.disableDeselect&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.disableDeselect&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()}}descriptionWatchHandler(){this.calciteListItemPropsChange.emit()}labelWatchHandler(){this.calciteListItemPropsChange.emit()}metadataWatchHandler(){this.calciteListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,i){this.calciteListItemValueChange.emit({oldValue:i,newValue:t})}async toggleSelected(t){this.disabled||(this.selected="boolean"==typeof t?t:!this.selected)}async setFocus(){var t;null===(t=this.focusEl)||void 0===t||t.focus()}renderIcon(){const{icon:t}=this;return t?a("span",{class:{[z.icon]:!0,[z.iconDot]:t===w.circle},onClick:this.pickListClickHandler},t===w.square?a("calcite-icon",{icon:v.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?a("calcite-action",{class:z.remove,icon:v.remove,onCalciteActionClick:this.removeClickHandler,slot:_.actionsEnd,text:this.intlRemove}):null}renderActionsStart(){const{el:t}=this;return I(t,_.actionsStart)?a("div",{class:{[z.actions]:!0,[z.actionsStart]:!0}},a("slot",{name:_.actionsStart})):null}renderActionsEnd(){const{el:t,removable:i}=this;return I(t,_.actionsEnd)||i?a("div",{class:{[z.actions]:!0,[z.actionsEnd]:!0}},a("slot",{name:_.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:i}=this;return a(n,null,this.renderIcon(),this.renderActionsStart(),a("label",{"aria-label":i,class:z.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,ref:t=>this.focusEl=t,tabIndex:0},a("div",{"aria-checked":this.selected.toString(),class:z.textContainer,role:"menuitemcheckbox"},a("span",{class:z.title},i),t?a("span",{class:z.description},t):null)),this.renderActionsEnd())}get el(){return e(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"]}}};S.style='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{background-color:var(--calcite-ui-foreground-1);-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-align:stretch;align-items:stretch;display:-ms-flexbox;display:flex;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-1);-webkit-box-shadow:0 1px 0 var(--calcite-ui-border-3);box-shadow:0 1px 0 var(--calcite-ui-border-3);margin:0;margin-bottom:1px;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-transition:background-color 150ms ease-in-out;transition:background-color 150ms ease-in-out;-webkit-animation:calcite-fade-in 150ms ease-in-out;animation:calcite-fade-in 150ms ease-in-out}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}.label{background-color:transparent;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;cursor:pointer;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}.label:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;margin-top:0;margin-bottom:0;padding:0.25rem;cursor:pointer;color:var(--calcite-ui-brand);-ms-flex:0 0 auto;flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;width:1.5rem;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{-webkit-transition:opacity 150ms ease-in-out;transition:opacity 150ms ease-in-out;opacity:1}.text-container{display:-ms-flexbox;display:flex;overflow:hidden;pointer-events:none;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.title{color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-normal)}.description{margin-top:0.125rem;color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}.actions{-ms-flex-align:stretch;align-items:stretch;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;margin:0;-ms-flex:0 1 auto;flex:0 1 auto}.actions--start~.label{padding-left:0.25rem}.calcite--rtl .actions--start~.label{padding-left:unset;padding-right:0.25rem}';export{F as calcite_pick_list,A as calcite_pick_list_group,S as calcite_pick_list_item}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import{r as a,c as t,h as i,H as n,g as e}from"./p-cbdf0e6c.js";let o=class{constructor(i){a(this,i),this.calciteRadioButtonGroupChange=t(this,"calciteRadioButtonGroupChange",7),this.disabled=!1,this.hidden=!1,this.layout="horizontal",this.required=!1,this.scale="m",this.passPropsToRadioButtons=()=>{const a=this.el.querySelectorAll("calcite-radio-button");a.length>0&&a.forEach((a=>{a.disabled=this.disabled||a.disabled,a.hidden=this.hidden,a.name=this.name,a.required=this.required,a.scale=this.scale}))}}onDisabledChange(){this.passPropsToRadioButtons()}onHiddenChange(){this.passPropsToRadioButtons()}onLayoutChange(){this.passPropsToRadioButtons()}onScaleChange(){this.passPropsToRadioButtons()}connectedCallback(){this.passPropsToRadioButtons()}radioButtonChangeHandler(a){this.calciteRadioButtonGroupChange.emit(a.target.value)}render(){return i(n,{role:"radiogroup"},i("slot",null))}get el(){return e(this)}static get watchers(){return{disabled:["onDisabledChange"],hidden:["onHiddenChange"],layout:["onLayoutChange"],scale:["onScaleChange"]}}};o.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;max-width:100vw}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}:host([layout=horizontal][scale=s]){grid-gap:1rem;gap:1rem}:host([layout=horizontal][scale=m]){grid-gap:1.25rem;gap:1.25rem}:host([layout=horizontal][scale=l]){grid-gap:1.5rem;gap:1.5rem}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}";export{o as calcite_radio_button_group}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
System.register(["./p-c74fc589.system.js","./p-6cc23c39.system.js","./p-32fbf8cd.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,i,a,n,o,r,l,s,c;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;o=t.g},function(t){r=t.g;l=t.a;s=t.C},function(t){c=t.C},function(){}],execute:function(){var m={article:"article",content:"content",headerContainer:"header-container",icon:"icon",statusIcon:"status-icon",toggle:"toggle",toggleIcon:"toggle-icon",title:"title",heading:"heading",header:"header",button:"button",summary:"summary",controlContainer:"control-container",valid:"valid",invalid:"invalid",loading:"loading"};var d={collapse:"Collapse",expand:"Expand",loading:"Loading",options:"Options"};var g={icon:"icon",control:"control",headerMenuActions:"header-menu-actions"};var f={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle",refresh:"refresh"};var p=4;var u='@-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:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-direction:column;flex-direction:column;padding:0;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);border-width:0;border-bottom-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid;-ms-flex-preferred-size:auto;flex-basis:auto}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.header-container>.header{padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0}.toggle{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;font-family:inherit;-ms-flex-align:center;align-items:center;margin:0;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0;border-style:none;cursor:pointer;text-align:left;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;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0;padding-left:1rem;padding-right:1rem;padding-top:0;padding-bottom:0}.header .title .heading{padding:0;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;line-height:1.25;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.summary{padding:0;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);margin-top:0.125rem;word-wrap:break-word;word-break:break-word}.icon{margin-left:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.toggle-icon{margin-right:1rem;-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;position:relative;-webkit-animation:in var(--calcite-animation-timing) ease-in-out;animation:in var(--calcite-animation-timing) ease-in-out}.control-container{display:-ms-flexbox;display:flex;margin:0;grid-area:control}calcite-action-menu{grid-area:menu}.calcite--rtl .toggle-icon{margin-right:0;margin-left:1rem}.calcite--rtl .icon{margin-left:0;margin-right:0.75rem}:host([open]){margin-top:0.5rem;margin-bottom:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;user-select:none}:host([disabled]) .header-container{opacity:0.5}:host([drag-handle]) .calcite--rtl .title{padding-left:0;padding-right:0.25rem}';var h=t("calcite_block",function(){function t(t){var a=this;e(this,t);this.calciteBlockToggle=i(this,"calciteBlockToggle",7);this.collapsible=false;this.disabled=false;this.dragHandle=false;this.intlLoading=d.loading;this.intlOptions=d.options;this.loading=false;this.open=false;this.onHeaderClick=function(){a.open=!a.open;a.calciteBlockToggle.emit()}}t.prototype.renderScrim=function(){var t=this,e=t.disabled,i=t.loading;var n=a("slot",null);return[i||e?a("calcite-scrim",{loading:i}):null,n]};t.prototype.renderIcon=function(){var t;var e=this,i=e.el,n=e.status;var o=this.loading&&!this.open;var l=o?f.refresh:f[n];var s=r(i,g.icon)||l;var c=!l?a("slot",{name:g.icon}):a("calcite-icon",{class:(t={},t[m.statusIcon]=true,t[m.valid]=n=="valid",t[m.invalid]=n=="invalid",t[m.loading]=o,t),icon:l,scale:"m"});return s?a("div",{class:m.icon},c):null};t.prototype.render=function(){var t;var e=this,i=e.collapsible,o=e.disabled,u=e.el,h=e.heading,b=e.intlCollapse,w=e.intlExpand,v=e.loading,k=e.open,x=e.summary,y=e.intlLoading,D=e.headingLevel;var z=k?b||d.collapse:w||d.expand;var _=a("header",{class:m.header},this.renderIcon(),a("div",{class:m.title},a(c,{class:m.heading,level:D||p},h),x?a("div",{class:m.summary},x):null));var S=!!r(u,g.control);var C=!!r(u,g.headerMenuActions);var I=k?f.opened:f.closed;var H=a("div",{class:m.headerContainer},this.dragHandle?a("calcite-handle",null):null,i?a("button",{"aria-expanded":i?k.toString():null,"aria-label":z,class:m.toggle,onClick:this.onHeaderClick,title:z},_,!S&&!C?a("calcite-icon",{"aria-hidden":"true",class:m.toggleIcon,icon:I,scale:"s"}):null):_,v?a("calcite-loader",{inline:true,"is-active":true,label:y}):S?a("div",{class:m.controlContainer},a("slot",{name:g.control})):null,C?a("calcite-action-menu",{label:this.intlOptions||d.options},a("slot",{name:g.headerMenuActions})):null);var j=l(u)==="rtl";return a(n,{tabIndex:o?-1:null},a("article",{"aria-busy":v.toString(),class:(t={},t[m.article]=true,t[s.rtl]=j,t)},H,a("div",{class:m.content,hidden:!k},this.renderScrim())))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());h.style=u;var b={content:"content",invalid:"invalid",toggle:"toggle",toggleSwitch:"toggle--switch",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",sectionHeader:"section-header",sectionHeaderText:"section-header__text",statusIcon:"status-icon",valid:"valid"};var w={collapse:"Collapse",expand:"Expand"};var v={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"};var k="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);display:block}:host([open]){border-style:solid;border-width:0;border-bottom-color:var(--calcite-ui-border-3);border-bottom-width:1px}:host(:last-child){border-bottom-width:0}.toggle{background-color:transparent;border-width:0;color:var(--calcite-ui-text-2);font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);width:100%}.toggle--switch,.section-header{-ms-flex-align:center;align-items:center;cursor:pointer;display:-ms-flexbox;display:flex;margin-left:0;margin-right:0;margin-top:0.25rem;margin-bottom:0.25rem;padding-left:0;padding-right:0;padding-top:0.5rem;padding-bottom:0.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:var(--calcite-font-size--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}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{-ms-flex:1 1 auto;flex:1 1 auto;margin-left:0.75rem;margin-right:0.75rem;margin-top:0;margin-bottom:0;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;margin-left:0.25rem}.toggle--switch .status-icon{margin-left:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.calcite--rtl .toggle--switch calcite-switch{margin-left:0;margin-right:0.25rem}.calcite--rtl .toggle--switch .status-icon{margin-left:0;margin-right:0.5rem}";var x=t("calcite_block_section",function(){function t(t){var a=this;e(this,t);this.calciteBlockSectionToggle=i(this,"calciteBlockSectionToggle",7);this.open=false;this.toggleDisplay="button";this.handleHeaderKeyDown=function(t){if(t.key===" "||t.key==="Enter"){a.toggleSection();t.preventDefault();t.stopPropagation()}};this.toggleSection=function(){a.open=!a.open;a.calciteBlockSectionToggle.emit()}}t.prototype.renderStatusIcon=function(){var t;var e;var i=this.status;var n=(e=v[i])!==null&&e!==void 0?e:false;var o=(t={},t[b.statusIcon]=true,t[b.valid]=i=="valid",t[b.invalid]=i=="invalid",t);return!!n?a("calcite-icon",{class:o,icon:n,scale:"s"}):null};t.prototype.render=function(){var t,e,i;var n=this,o=n.el,r=n.intlCollapse,c=n.intlExpand,m=n.open,d=n.text,g=n.toggleDisplay;var f=l(o);var p=m?v.menuOpen:f==="rtl"?v.menuClosedLeft:v.menuClosedRight;var u=m?r||w.collapse:c||w.expand;var h=g==="switch"?a("div",{"aria-label":u,class:(t={},t[b.toggle]=true,t[b.toggleSwitch]=true,t),onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:u},a("div",{class:b.toggleSwitchContent},a("span",{class:b.toggleSwitchText},d)),a("calcite-switch",{checked:m,label:u,scale:"s",tabIndex:-1}),this.renderStatusIcon()):a("button",{"aria-label":u,class:(e={},e[b.sectionHeader]=true,e[b.toggle]=true,e),name:u,onClick:this.toggleSection},a("calcite-icon",{icon:p,scale:"s"}),a("span",{class:b.sectionHeaderText},d),this.renderStatusIcon());return a("section",{"aria-expanded":m.toString(),class:(i={},i[s.rtl]=f==="rtl",i)},h,a("div",{class:b.content,hidden:!m},a("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());x.style=k}}}));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import{f as t,h as e}from"./p-cbdf0e6c.js";import{a as o}from"./p-52cc870b.js";import{S as n}from"./p-26508b91.js";import{S as a}from"./p-f243b615.js";const c=150,i=({actionCount:t,actionHeight:e,height:o,groupCount:n})=>Math.max(t-(({height:t,actionHeight:e,groupCount:o})=>Math.floor((t-2*o)/e))({height:o,actionHeight:e,groupCount:n}),0),r=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),l=({actionGroups:e,expanded:o,overflowCount:n})=>{let c=n;e.reverse().forEach((e=>{let n=0;const i=r(e).reverse();i.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),c>0&&i.some((t=>(i.filter((t=>!t.slot)).length>1&&i.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&c--),c<1))),t(e)}))};function s({parent:t,expanded:e}){r(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group").forEach((t=>t.expanded=e))}const p=({expanded:t,intlExpand:n,intlCollapse:a,toggle:c,el:i,position:r,tooltip:l,ref:s,scale:p})=>{const u="rtl"===o(i),d=t?a:n,f=["chevrons-left","chevrons-right"];u&&f.reverse();const g="end"===function(t,e){var o;return t||(null===(o=e.closest("calcite-shell-panel"))||void 0===o?void 0:o.position)||"start"}(r,i),h=e("calcite-action",{dir:u?"rtl":"ltr",icon:t?g?f[1]:f[0]:g?f[0]:f[1],onClick:c,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:n})=>(t&&(t.referenceElement=!o&&e),n&&n(e),e))({tooltip:l,referenceElement:e,expanded:t,ref:s}),scale:p,text:d,textEnabled:t});return l?e("calcite-tooltip-manager",null,h):h};export{p as C,l as a,i as g,c as o,r as q,s as t}
|