@esri/calcite-components 1.0.0-next.358 → 1.0.0-next.361
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-date-picker/nls/bg.json +31 -0
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/{p-84738edb.system.entry.js → p-02589ad3.system.entry.js} +1 -1
- package/dist/calcite/{p-3e8cf990.entry.js → p-05dc6806.entry.js} +1 -1
- package/dist/calcite/{p-e62edb4d.system.entry.js → p-088a096d.system.entry.js} +1 -1
- package/dist/calcite/{p-481366ac.entry.js → p-0af820bf.entry.js} +1 -1
- package/dist/calcite/{p-7a2142c2.system.entry.js → p-0b0ce9b2.system.entry.js} +1 -1
- package/dist/calcite/{p-6dbcd698.system.entry.js → p-0cf878ed.system.entry.js} +1 -1
- package/dist/calcite/p-10f1a096.system.entry.js +5 -0
- package/dist/calcite/{p-d00fbd1e.entry.js → p-132d55c2.entry.js} +1 -1
- package/dist/calcite/{p-1ae01548.system.js → p-14ff4cbd.system.js} +1 -1
- package/dist/calcite/{p-f63b9411.entry.js → p-16cfe8e8.entry.js} +1 -1
- package/dist/calcite/p-1894562d.system.entry.js +5 -0
- package/dist/calcite/{p-ad81283a.entry.js → p-1a5dae4a.entry.js} +1 -1
- package/dist/calcite/{p-0b187e6a.system.entry.js → p-1b3a66ec.system.entry.js} +1 -1
- package/dist/calcite/{p-082c3059.system.entry.js → p-1d7a9909.system.entry.js} +1 -1
- package/dist/calcite/{p-770c1d6b.entry.js → p-21f26f77.entry.js} +1 -1
- package/dist/calcite/p-244e0b95.entry.js +5 -0
- package/dist/calcite/{p-a88d8075.entry.js → p-253efee4.entry.js} +1 -1
- package/dist/calcite/{p-d5b221b1.entry.js → p-2618de8a.entry.js} +1 -1
- package/dist/calcite/{p-b55fa7bc.entry.js → p-273cd5ab.entry.js} +1 -1
- package/dist/calcite/{p-55e6b0b2.entry.js → p-28adfebc.entry.js} +1 -1
- package/dist/calcite/{p-26755e82.system.js → p-28dea60a.system.js} +1 -1
- package/dist/calcite/{p-1d26d522.system.entry.js → p-2a8938c7.system.entry.js} +1 -1
- package/dist/calcite/{p-e5130ebf.system.entry.js → p-2c954eaa.system.entry.js} +1 -1
- package/dist/calcite/{p-b5bb4618.system.entry.js → p-2dee637a.system.entry.js} +1 -1
- package/dist/calcite/{p-ef6f8370.entry.js → p-325fcd0d.entry.js} +1 -1
- package/dist/calcite/p-32f6f7df.entry.js +5 -0
- package/dist/calcite/{p-4f9b0b0f.js → p-32f7eb32.js} +1 -1
- package/dist/calcite/{p-f8c99ef3.system.entry.js → p-37bddb73.system.entry.js} +1 -1
- package/dist/calcite/{p-475b5015.entry.js → p-38e64c6b.entry.js} +1 -1
- package/dist/calcite/{p-07284a52.system.js → p-3a20f93d.system.js} +1 -1
- package/dist/calcite/{p-ac234622.system.entry.js → p-3ab992ff.system.entry.js} +1 -1
- package/dist/calcite/{p-74365957.system.entry.js → p-3b73b785.system.entry.js} +1 -1
- package/dist/calcite/{p-15a38242.system.entry.js → p-3b8f5ab8.system.entry.js} +1 -1
- package/dist/calcite/{p-26481e18.js → p-3d4c34e5.js} +1 -1
- package/dist/calcite/{p-bccf787f.entry.js → p-3e9e4992.entry.js} +1 -1
- package/dist/calcite/{p-12c57970.js → p-41894582.js} +1 -1
- package/dist/calcite/{p-bb4dcd31.js → p-41e2198b.js} +1 -1
- package/dist/calcite/{p-3baf4001.system.entry.js → p-436d9f0e.system.entry.js} +1 -1
- package/dist/calcite/{p-5dcd2088.system.entry.js → p-45bfe5bf.system.entry.js} +1 -1
- package/dist/calcite/{p-b63dfa63.entry.js → p-4659df78.entry.js} +1 -1
- package/dist/calcite/{p-6cd93563.entry.js → p-46b63d75.entry.js} +1 -1
- package/dist/calcite/{p-a57bd5e6.entry.js → p-4d22b788.entry.js} +1 -1
- package/dist/calcite/{p-e7103edc.entry.js → p-51550014.entry.js} +1 -1
- package/dist/calcite/{p-92ad7d95.entry.js → p-51a85436.entry.js} +1 -1
- package/dist/calcite/{p-cbea8bac.system.js → p-52871e84.system.js} +1 -1
- package/dist/calcite/{p-57555baa.system.entry.js → p-54e271c9.system.entry.js} +1 -1
- package/dist/calcite/{p-2c278864.entry.js → p-57558d4b.entry.js} +1 -1
- package/dist/calcite/{p-5cce1e8b.entry.js → p-59133b9b.entry.js} +1 -1
- package/dist/calcite/{p-c13560e5.system.entry.js → p-5c3b9524.system.entry.js} +1 -1
- package/dist/calcite/{p-18c9da83.entry.js → p-5df1936f.entry.js} +1 -1
- package/dist/calcite/{p-4aa28569.entry.js → p-6515e0a5.entry.js} +1 -1
- package/dist/calcite/{p-59222393.entry.js → p-683e4cf6.entry.js} +1 -1
- package/dist/calcite/{p-6e0fd056.entry.js → p-698167ac.entry.js} +1 -1
- package/dist/calcite/{p-6173cf08.system.js → p-781ebed0.system.js} +1 -1
- package/dist/calcite/{p-c5761666.entry.js → p-799f0655.entry.js} +1 -1
- package/dist/calcite/{p-b01c3a89.system.entry.js → p-7d355abe.system.entry.js} +1 -1
- package/dist/calcite/{p-afa72097.system.entry.js → p-7f32a681.system.entry.js} +1 -1
- package/dist/calcite/{p-557f31e6.system.entry.js → p-7f5bd070.system.entry.js} +1 -1
- package/dist/calcite/{p-cd54c8d0.system.entry.js → p-8468ddb0.system.entry.js} +1 -1
- package/dist/calcite/p-85fb7bc0.entry.js +5 -0
- package/dist/calcite/{p-917e53a2.system.entry.js → p-897fc280.system.entry.js} +1 -1
- package/dist/calcite/{p-a07e9c46.system.entry.js → p-8b145872.system.entry.js} +1 -1
- package/dist/calcite/{p-bc00846c.entry.js → p-8d36bc7c.entry.js} +1 -1
- package/dist/calcite/{p-805c94b9.entry.js → p-8eafaf3f.entry.js} +1 -1
- package/dist/calcite/{p-e8270c76.system.entry.js → p-8ebed170.system.entry.js} +1 -1
- package/dist/calcite/{p-7bd71ff0.system.entry.js → p-8f4ea148.system.entry.js} +1 -1
- package/dist/calcite/{p-4fee156d.system.entry.js → p-99d29b5c.system.entry.js} +1 -1
- package/dist/calcite/p-99d32fc3.system.js +1 -1
- package/dist/calcite/p-9b05c3fd.js +5 -0
- package/dist/calcite/{p-6fb2082b.entry.js → p-9d81d229.entry.js} +1 -1
- package/dist/calcite/{p-d6e8d643.entry.js → p-a0043c61.entry.js} +1 -1
- package/dist/calcite/{p-cc63f8f9.entry.js → p-a1f65f6e.entry.js} +1 -1
- package/dist/calcite/{p-1509da0f.system.entry.js → p-a4dec1f6.system.entry.js} +1 -1
- package/dist/calcite/{p-90f7c357.system.entry.js → p-a9c50960.system.entry.js} +1 -1
- package/dist/calcite/{p-f8f128a2.entry.js → p-aaed1677.entry.js} +1 -1
- package/dist/calcite/{p-70566b09.system.entry.js → p-ac778725.system.entry.js} +1 -1
- package/dist/calcite/{p-9acd0a18.entry.js → p-ac8cf248.entry.js} +1 -1
- package/dist/calcite/p-b4990fa4.system.entry.js +5 -0
- package/dist/calcite/{p-bfd9f64a.entry.js → p-b4d3f1c1.entry.js} +1 -1
- package/dist/calcite/{p-fc3c1e91.entry.js → p-b80ab9ba.entry.js} +1 -1
- package/dist/calcite/p-bb401f25.system.js +5 -0
- package/dist/calcite/{p-3c14f089.system.entry.js → p-bb9fb183.system.entry.js} +1 -1
- package/dist/calcite/{p-2015299a.entry.js → p-bda51610.entry.js} +1 -1
- package/dist/calcite/{p-d6bfa9b1.entry.js → p-c0ed9eff.entry.js} +1 -1
- package/dist/calcite/{p-d4bafc77.system.js → p-c56f495f.system.js} +1 -1
- package/dist/calcite/{p-c3124245.system.entry.js → p-cb9cd28c.system.entry.js} +1 -1
- package/dist/calcite/p-d1794edd.entry.js +5 -0
- package/dist/calcite/{p-9a0a29a7.system.entry.js → p-d578e568.system.entry.js} +1 -1
- package/dist/calcite/{p-94398466.system.entry.js → p-d5d91f34.system.entry.js} +1 -1
- package/dist/calcite/{p-6f0c4739.system.entry.js → p-e0fa3b13.system.entry.js} +1 -1
- package/dist/calcite/{p-7017ca05.js → p-e1944963.js} +1 -1
- package/dist/calcite/{p-765d6b57.system.entry.js → p-e2ebc089.system.entry.js} +1 -1
- package/dist/calcite/{p-227da2a5.system.entry.js → p-e564004a.system.entry.js} +1 -1
- package/dist/calcite/{p-0ac72794.system.entry.js → p-e606e9ae.system.entry.js} +1 -1
- package/dist/calcite/{p-f70f5521.system.entry.js → p-e690993e.system.entry.js} +1 -1
- package/dist/calcite/{p-ae224016.system.entry.js → p-e6d14bc5.system.entry.js} +1 -1
- package/dist/calcite/{p-634115dd.entry.js → p-e87980ac.entry.js} +1 -1
- package/dist/calcite/{p-83d41684.entry.js → p-eea18662.entry.js} +1 -1
- package/dist/calcite/p-ef6b4184.js +5 -0
- package/dist/calcite/{p-3c1841bd.entry.js → p-f09810e7.entry.js} +1 -1
- package/dist/calcite/{p-0134e87c.system.entry.js → p-f5469b62.system.entry.js} +1 -1
- package/dist/calcite/{p-a76aa7d2.system.entry.js → p-f6fc151d.system.entry.js} +1 -1
- package/dist/calcite/{p-c077d664.entry.js → p-f73124d0.entry.js} +1 -1
- package/dist/calcite/{p-4364e76a.system.js → p-fbcaa23c.system.js} +1 -1
- package/dist/calcite/{p-f3b489d9.js → p-fcd62e97.js} +1 -1
- package/dist/cjs/{CalciteExpandToggle-38ca208f.js → CalciteExpandToggle-65468585.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +2 -2
- package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +5 -4
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -6
- package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input.cjs.entry.js +13 -6
- package/dist/cjs/calcite-link.cjs.entry.js +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-panel.cjs.entry.js +1 -1
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite.cjs.js +1 -1
- package/dist/cjs/{dom-db7722f2.js → dom-0de9fb18.js} +17 -4
- package/dist/cjs/{form-ad18d4fc.js → form-4b7c317e.js} +1 -1
- package/dist/cjs/{label-4776bb0e.js → label-1bca211b.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-b9b153dd.js → locale-02462821.js} +1 -0
- package/dist/cjs/{popper-adfdc032.js → popper-09105f6f.js} +1 -1
- package/dist/cjs/{resources-8273cb31.js → resources-405cc2c4.js} +1 -1
- package/dist/cjs/{resources-c524c005.js → resources-9f0994fb.js} +1 -1
- package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/bg.json +31 -0
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +2 -1
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +13 -11
- package/dist/collection/components/calcite-input/calcite-input.js +9 -2
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +38 -1
- package/dist/collection/utils/dom.js +17 -4
- package/dist/collection/utils/locale.js +1 -0
- package/dist/components/calcite-date-picker2.js +2 -1
- package/dist/components/calcite-dropdown2.js +13 -11
- package/dist/components/calcite-input-date-picker.js +6 -1
- package/dist/components/calcite-input2.js +9 -2
- package/dist/components/dom.js +17 -4
- package/dist/components/locale.js +1 -0
- package/dist/custom-elements/index.js +48 -19
- package/dist/esm/{CalciteExpandToggle-1b1bf600.js → CalciteExpandToggle-48b6e955.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +1 -1
- package/dist/esm/calcite-action-bar.entry.js +2 -2
- package/dist/esm/calcite-action-group.entry.js +1 -1
- package/dist/esm/calcite-action-menu.entry.js +1 -1
- package/dist/esm/calcite-action-pad.entry.js +2 -2
- package/dist/esm/calcite-alert.entry.js +1 -1
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block_2.entry.js +1 -1
- package/dist/esm/calcite-button.entry.js +2 -2
- package/dist/esm/calcite-checkbox.entry.js +3 -3
- package/dist/esm/calcite-chip.entry.js +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +4 -4
- package/dist/esm/calcite-date-picker_4.entry.js +5 -4
- package/dist/esm/calcite-dropdown_3.entry.js +15 -13
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +3 -3
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +2 -2
- package/dist/esm/calcite-input-date-picker.entry.js +11 -6
- package/dist/esm/calcite-input-message.entry.js +1 -1
- package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
- package/dist/esm/calcite-input.entry.js +13 -6
- package/dist/esm/calcite-link.entry.js +1 -1
- package/dist/esm/calcite-list_3.entry.js +1 -1
- package/dist/esm/calcite-modal.entry.js +1 -1
- package/dist/esm/calcite-notice.entry.js +1 -1
- package/dist/esm/calcite-option_3.entry.js +3 -3
- package/dist/esm/calcite-panel.entry.js +1 -1
- package/dist/esm/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm/calcite-popover_2.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +3 -3
- package/dist/esm/calcite-radio-group_2.entry.js +3 -3
- package/dist/esm/calcite-rating.entry.js +3 -3
- package/dist/esm/calcite-shell_3.entry.js +1 -1
- package/dist/esm/calcite-stepper_2.entry.js +1 -1
- package/dist/esm/calcite-switch.entry.js +3 -3
- package/dist/esm/calcite-tab_4.entry.js +1 -1
- package/dist/esm/calcite-tile.entry.js +1 -1
- package/dist/esm/calcite-tip_3.entry.js +1 -1
- package/dist/esm/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm/calcite-tree_2.entry.js +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +2 -2
- package/dist/esm/calcite.js +1 -1
- package/dist/esm/{dom-e55f9eaf.js → dom-037dc374.js} +17 -4
- package/dist/esm/{form-147bc6d7.js → form-72369b73.js} +1 -1
- package/dist/esm/{label-240ef148.js → label-712646d2.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-1b48f64f.js → locale-fc850b7c.js} +1 -0
- package/dist/esm/{popper-1814b3c1.js → popper-7a7fd3b5.js} +1 -1
- package/dist/esm/{resources-a6abee37.js → resources-03c0a433.js} +1 -1
- package/dist/esm/{resources-74c807b4.js → resources-90193940.js} +1 -1
- package/dist/esm-es5/{CalciteExpandToggle-1b1bf600.js → CalciteExpandToggle-48b6e955.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
- package/dist/esm-es5/calcite-alert.entry.js +1 -1
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
- package/dist/esm-es5/calcite-chip.entry.js +1 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
- package/dist/esm-es5/calcite-fab.entry.js +1 -1
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-icon.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
- package/dist/esm-es5/calcite-input-message.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
- package/dist/esm-es5/calcite-input.entry.js +1 -1
- package/dist/esm-es5/calcite-link.entry.js +1 -1
- package/dist/esm-es5/calcite-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +1 -1
- package/dist/esm-es5/calcite-notice.entry.js +1 -1
- package/dist/esm-es5/calcite-option_3.entry.js +1 -1
- package/dist/esm-es5/calcite-panel.entry.js +1 -1
- package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
- package/dist/esm-es5/calcite-switch.entry.js +1 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
- package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/dom-037dc374.js +5 -0
- package/dist/esm-es5/{form-147bc6d7.js → form-72369b73.js} +1 -1
- package/dist/esm-es5/{label-240ef148.js → label-712646d2.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/locale-fc850b7c.js +5 -0
- package/dist/esm-es5/{popper-1814b3c1.js → popper-7a7fd3b5.js} +1 -1
- package/dist/esm-es5/{resources-a6abee37.js → resources-03c0a433.js} +1 -1
- package/dist/esm-es5/{resources-74c807b4.js → resources-90193940.js} +1 -1
- package/dist/extras/docs-json.json +33 -3
- package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +9 -0
- package/dist/types/components.d.ts +6 -0
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/utils/dom.d.ts +4 -2
- package/hydrate/index.js +47 -19
- package/package.json +1 -1
- package/dist/calcite/p-0d9a5d78.entry.js +0 -5
- package/dist/calcite/p-2c3bbbb4.system.entry.js +0 -5
- package/dist/calcite/p-3366ef60.entry.js +0 -5
- package/dist/calcite/p-3f51ac4b.system.entry.js +0 -5
- package/dist/calcite/p-5d9fe852.entry.js +0 -5
- package/dist/calcite/p-748c198c.system.entry.js +0 -5
- package/dist/calcite/p-d8653ba3.entry.js +0 -5
- package/dist/calcite/p-f3d02833.js +0 -5
- package/dist/calcite/p-f87c1273.js +0 -5
- package/dist/calcite/p-fcde21ce.system.js +0 -5
- package/dist/esm-es5/dom-e55f9eaf.js +0 -5
- package/dist/esm-es5/locale-1b48f64f.js +0 -5
package/dist/components/dom.js
CHANGED
|
@@ -122,10 +122,17 @@ async function focusElement(el) {
|
|
|
122
122
|
}
|
|
123
123
|
return isCalciteFocusable(el) ? el.setFocus() : el.focus();
|
|
124
124
|
}
|
|
125
|
+
const defaultSlotSelector = "> :not([slot])";
|
|
125
126
|
function getSlotted(element, slotName, options) {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
if (!Array.isArray(slotName) && typeof slotName !== "string") {
|
|
128
|
+
options = slotName;
|
|
129
|
+
slotName = null;
|
|
130
|
+
}
|
|
131
|
+
const slotSelector = slotName
|
|
132
|
+
? Array.isArray(slotName)
|
|
133
|
+
? slotName.map((name) => `[slot="${name}"]`).join(",")
|
|
134
|
+
: `[slot="${slotName}"]`
|
|
135
|
+
: defaultSlotSelector;
|
|
129
136
|
if (options === null || options === void 0 ? void 0 : options.all) {
|
|
130
137
|
return queryMultiple(element, slotSelector, options);
|
|
131
138
|
}
|
|
@@ -134,6 +141,9 @@ function getSlotted(element, slotName, options) {
|
|
|
134
141
|
function queryMultiple(element, slotSelector, options) {
|
|
135
142
|
let matches = Array.from(element.querySelectorAll(slotSelector));
|
|
136
143
|
matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
|
|
144
|
+
if (slotSelector === defaultSlotSelector) {
|
|
145
|
+
matches = matches.filter((match) => match === null || match === void 0 ? void 0 : match.assignedSlot);
|
|
146
|
+
}
|
|
137
147
|
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
|
138
148
|
return selector
|
|
139
149
|
? matches
|
|
@@ -144,9 +154,12 @@ function queryMultiple(element, slotSelector, options) {
|
|
|
144
154
|
}
|
|
145
155
|
function querySingle(element, slotSelector, options) {
|
|
146
156
|
let match = element.querySelector(slotSelector);
|
|
157
|
+
if (slotSelector === defaultSlotSelector) {
|
|
158
|
+
match = (match === null || match === void 0 ? void 0 : match.assignedSlot) ? match : null;
|
|
159
|
+
}
|
|
147
160
|
match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;
|
|
148
161
|
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
|
149
|
-
return selector ? match.querySelector(selector) : match;
|
|
162
|
+
return selector ? match === null || match === void 0 ? void 0 : match.querySelector(selector) : match;
|
|
150
163
|
}
|
|
151
164
|
function filterDirectChildren(el, selector) {
|
|
152
165
|
return Array.from(el.children).filter((child) => child.matches(selector));
|
|
@@ -274,10 +274,17 @@ async function focusElement(el) {
|
|
|
274
274
|
}
|
|
275
275
|
return isCalciteFocusable(el) ? el.setFocus() : el.focus();
|
|
276
276
|
}
|
|
277
|
+
const defaultSlotSelector = "> :not([slot])";
|
|
277
278
|
function getSlotted(element, slotName, options) {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
279
|
+
if (!Array.isArray(slotName) && typeof slotName !== "string") {
|
|
280
|
+
options = slotName;
|
|
281
|
+
slotName = null;
|
|
282
|
+
}
|
|
283
|
+
const slotSelector = slotName
|
|
284
|
+
? Array.isArray(slotName)
|
|
285
|
+
? slotName.map((name) => `[slot="${name}"]`).join(",")
|
|
286
|
+
: `[slot="${slotName}"]`
|
|
287
|
+
: defaultSlotSelector;
|
|
281
288
|
if (options === null || options === void 0 ? void 0 : options.all) {
|
|
282
289
|
return queryMultiple(element, slotSelector, options);
|
|
283
290
|
}
|
|
@@ -286,6 +293,9 @@ function getSlotted(element, slotName, options) {
|
|
|
286
293
|
function queryMultiple(element, slotSelector, options) {
|
|
287
294
|
let matches = Array.from(element.querySelectorAll(slotSelector));
|
|
288
295
|
matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
|
|
296
|
+
if (slotSelector === defaultSlotSelector) {
|
|
297
|
+
matches = matches.filter((match) => match === null || match === void 0 ? void 0 : match.assignedSlot);
|
|
298
|
+
}
|
|
289
299
|
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
|
290
300
|
return selector
|
|
291
301
|
? matches
|
|
@@ -296,9 +306,12 @@ function queryMultiple(element, slotSelector, options) {
|
|
|
296
306
|
}
|
|
297
307
|
function querySingle(element, slotSelector, options) {
|
|
298
308
|
let match = element.querySelector(slotSelector);
|
|
309
|
+
if (slotSelector === defaultSlotSelector) {
|
|
310
|
+
match = (match === null || match === void 0 ? void 0 : match.assignedSlot) ? match : null;
|
|
311
|
+
}
|
|
299
312
|
match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;
|
|
300
313
|
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
|
301
|
-
return selector ? match.querySelector(selector) : match;
|
|
314
|
+
return selector ? match === null || match === void 0 ? void 0 : match.querySelector(selector) : match;
|
|
302
315
|
}
|
|
303
316
|
function filterDirectChildren(el, selector) {
|
|
304
317
|
return Array.from(el.children).filter((child) => child.matches(selector));
|
|
@@ -10138,6 +10151,7 @@ function stringContainsNumbers(string) {
|
|
|
10138
10151
|
|
|
10139
10152
|
const locales = [
|
|
10140
10153
|
"ar",
|
|
10154
|
+
"bg",
|
|
10141
10155
|
"bs",
|
|
10142
10156
|
"ca",
|
|
10143
10157
|
"cs",
|
|
@@ -10625,6 +10639,7 @@ let CalciteDatePicker$1 = class extends HTMLElement$1 {
|
|
|
10625
10639
|
this.value = date ? dateToISO(date) : "";
|
|
10626
10640
|
this.valueAsDate = date || null;
|
|
10627
10641
|
this.activeDate = date || null;
|
|
10642
|
+
this.calciteDatePickerChange.emit(date);
|
|
10628
10643
|
return;
|
|
10629
10644
|
}
|
|
10630
10645
|
if (!this.startAsDate || (!this.endAsDate && date < this.startAsDate)) {
|
|
@@ -10673,12 +10688,12 @@ let CalciteDatePicker$1 = class extends HTMLElement$1 {
|
|
|
10673
10688
|
this.endAsDate = this.activeEndDate = this.end = undefined;
|
|
10674
10689
|
}
|
|
10675
10690
|
}
|
|
10691
|
+
this.calciteDatePickerChange.emit(date);
|
|
10676
10692
|
};
|
|
10677
10693
|
}
|
|
10678
10694
|
handleValueAsDate(date) {
|
|
10679
10695
|
if (!Array.isArray(date) && date && date !== this.activeDate) {
|
|
10680
10696
|
this.activeDate = date;
|
|
10681
|
-
this.calciteDatePickerChange.emit(date);
|
|
10682
10697
|
}
|
|
10683
10698
|
}
|
|
10684
10699
|
handleRangeChange() {
|
|
@@ -11416,19 +11431,21 @@ let CalciteDropdown$1 = class extends HTMLElement$1 {
|
|
|
11416
11431
|
const key = e.key;
|
|
11417
11432
|
if (this.triggers.includes(target) ||
|
|
11418
11433
|
this.triggers.some((trigger) => trigger.contains(target))) {
|
|
11419
|
-
|
|
11420
|
-
|
|
11421
|
-
|
|
11422
|
-
|
|
11423
|
-
this.openCalciteDropdown();
|
|
11424
|
-
break;
|
|
11425
|
-
case "Escape":
|
|
11426
|
-
this.closeCalciteDropdown();
|
|
11427
|
-
break;
|
|
11434
|
+
const ignoredNodeTypes = ["BUTTON", "CALCITE-BUTTON", "CALCITE-ACTION"];
|
|
11435
|
+
if (ignoredNodeTypes.includes(target.nodeName)) {
|
|
11436
|
+
if (this.active && (key === "Escape" || (e.shiftKey && key === "Tab"))) {
|
|
11437
|
+
this.closeCalciteDropdown();
|
|
11428
11438
|
}
|
|
11439
|
+
return;
|
|
11429
11440
|
}
|
|
11430
|
-
|
|
11431
|
-
|
|
11441
|
+
switch (key) {
|
|
11442
|
+
case " ":
|
|
11443
|
+
case "Enter":
|
|
11444
|
+
this.openCalciteDropdown();
|
|
11445
|
+
break;
|
|
11446
|
+
case "Escape":
|
|
11447
|
+
this.closeCalciteDropdown();
|
|
11448
|
+
break;
|
|
11432
11449
|
}
|
|
11433
11450
|
}
|
|
11434
11451
|
};
|
|
@@ -13005,8 +13022,7 @@ let CalciteInput$1 = class extends HTMLElement$1 {
|
|
|
13005
13022
|
"Delete",
|
|
13006
13023
|
"Enter",
|
|
13007
13024
|
"Escape",
|
|
13008
|
-
"Tab"
|
|
13009
|
-
"-"
|
|
13025
|
+
"Tab"
|
|
13010
13026
|
];
|
|
13011
13027
|
if (event.altKey || event.ctrlKey || event.metaKey) {
|
|
13012
13028
|
return;
|
|
@@ -13035,6 +13051,14 @@ let CalciteInput$1 = class extends HTMLElement$1 {
|
|
|
13035
13051
|
return;
|
|
13036
13052
|
}
|
|
13037
13053
|
}
|
|
13054
|
+
if (event.key === "-") {
|
|
13055
|
+
if (!this.value && !this.childNumberEl.value) {
|
|
13056
|
+
return;
|
|
13057
|
+
}
|
|
13058
|
+
if (this.value && this.childNumberEl.value.split("-").length <= 2) {
|
|
13059
|
+
return;
|
|
13060
|
+
}
|
|
13061
|
+
}
|
|
13038
13062
|
event.preventDefault();
|
|
13039
13063
|
};
|
|
13040
13064
|
this.nudgeNumberValue = (direction, nativeEvent) => {
|
|
@@ -13306,6 +13330,7 @@ let CalciteInputDatePicker$1 = class extends HTMLElement$1 {
|
|
|
13306
13330
|
this.__attachShadow();
|
|
13307
13331
|
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
|
|
13308
13332
|
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 7);
|
|
13333
|
+
this.calciteInputDatePickerChange = createEvent(this, "calciteInputDatePickerChange", 7);
|
|
13309
13334
|
this.calciteInputDatePickerOpen = createEvent(this, "calciteInputDatePickerOpen", 7);
|
|
13310
13335
|
this.calciteInputDatePickerClose = createEvent(this, "calciteInputDatePickerClose", 7);
|
|
13311
13336
|
//--------------------------------------------------------------------------
|
|
@@ -13457,6 +13482,9 @@ let CalciteInputDatePicker$1 = class extends HTMLElement$1 {
|
|
|
13457
13482
|
// Event Listeners
|
|
13458
13483
|
//
|
|
13459
13484
|
//--------------------------------------------------------------------------
|
|
13485
|
+
handleDateOrRangeChange() {
|
|
13486
|
+
this.calciteInputDatePickerChange.emit();
|
|
13487
|
+
}
|
|
13460
13488
|
calciteDaySelectHandler() {
|
|
13461
13489
|
if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
|
|
13462
13490
|
return;
|
|
@@ -13634,6 +13662,7 @@ let CalciteInputDatePicker$1 = class extends HTMLElement$1 {
|
|
|
13634
13662
|
}
|
|
13635
13663
|
if (!this.range) {
|
|
13636
13664
|
this.value = dateToISO(date);
|
|
13665
|
+
this.calciteDatePickerChange.emit(date);
|
|
13637
13666
|
return;
|
|
13638
13667
|
}
|
|
13639
13668
|
const { focusedInput } = this;
|
|
@@ -25165,7 +25194,7 @@ const CalciteHandle = /*@__PURE__*/proxyCustomElement(CalciteHandle$1, [1,"calci
|
|
|
25165
25194
|
const CalciteIcon = /*@__PURE__*/proxyCustomElement(CalciteIcon$1, [1,"calcite-icon",{"icon":[513],"flipRtl":[516,"flip-rtl"],"scale":[513],"textLabel":[1,"text-label"],"pathData":[32],"visible":[32]}]);
|
|
25166
25195
|
const CalciteInlineEditable = /*@__PURE__*/proxyCustomElement(CalciteInlineEditable$1, [1,"calcite-inline-editable",{"disabled":[516],"editingEnabled":[1540,"editing-enabled"],"loading":[1540],"controls":[516],"intlEnableEditing":[513,"intl-enable-editing"],"intlCancelEditing":[513,"intl-cancel-editing"],"intlConfirmChanges":[513,"intl-confirm-changes"],"scale":[1537],"afterConfirm":[16]},[[0,"calciteInputBlur","blurHandler"]]]);
|
|
25167
25196
|
const CalciteInput = /*@__PURE__*/proxyCustomElement(CalciteInput$1, [1,"calcite-input",{"alignment":[513],"autofocus":[4],"clearable":[516],"disabled":[516],"groupSeparator":[4,"group-separator"],"hidden":[4],"icon":[520],"intlLoading":[1,"intl-loading"],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"locale":[1],"localeFormat":[4,"locale-format"],"max":[514],"min":[514],"maxlength":[514],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"numberButtonType":[513,"number-button-type"],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[4,"read-only"],"required":[4],"scale":[1537],"status":[1537],"step":[520],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"type":[513],"value":[1025],"localizedValue":[32]}]);
|
|
25168
|
-
const CalciteInputDatePicker = /*@__PURE__*/proxyCustomElement(CalciteInputDatePicker$1, [1,"calcite-input-date-picker",{"disabled":[516],"value":[1025],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1025],"max":[1025],"active":[1540],"name":[1],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"locale":[1],"scale":[513],"range":[516],"required":[516],"start":[1025],"end":[1025],"overlayPositioning":[1,"overlay-positioning"],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"layout":[513],"focusedInput":[32],"localeData":[32]},[[0,"calciteDaySelect","calciteDaySelectHandler"]]]);
|
|
25197
|
+
const CalciteInputDatePicker = /*@__PURE__*/proxyCustomElement(CalciteInputDatePicker$1, [1,"calcite-input-date-picker",{"disabled":[516],"value":[1025],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1025],"max":[1025],"active":[1540],"name":[1],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"locale":[1],"scale":[513],"range":[516],"required":[516],"start":[1025],"end":[1025],"overlayPositioning":[1,"overlay-positioning"],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"layout":[513],"focusedInput":[32],"localeData":[32]},[[0,"calciteDatePickerChange","handleDateOrRangeChange"],[0,"calciteDatePickerRangeChange","handleDateOrRangeChange"],[0,"calciteDaySelect","calciteDaySelectHandler"]]]);
|
|
25169
25198
|
const CalciteInputMessage = /*@__PURE__*/proxyCustomElement(CalciteInputMessage$1, [1,"calcite-input-message",{"active":[516],"icon":[520],"scale":[1537],"status":[1537],"type":[513]}]);
|
|
25170
25199
|
const CalciteInputTimePicker = /*@__PURE__*/proxyCustomElement(CalciteInputTimePicker$1, [1,"calcite-input-time-picker",{"active":[1540],"disabled":[516],"intlHour":[1,"intl-hour"],"intlHourDown":[1,"intl-hour-down"],"intlHourUp":[1,"intl-hour-up"],"intlMeridiem":[1,"intl-meridiem"],"intlMeridiemDown":[1,"intl-meridiem-down"],"intlMeridiemUp":[1,"intl-meridiem-up"],"intlMinute":[1,"intl-minute"],"intlMinuteDown":[1,"intl-minute-down"],"intlMinuteUp":[1,"intl-minute-up"],"intlSecond":[1,"intl-second"],"intlSecondDown":[1,"intl-second-down"],"intlSecondUp":[1,"intl-second-up"],"locale":[1025,"lang"],"name":[1],"required":[516],"scale":[513],"step":[2],"value":[1025],"localizedValue":[32]},[[0,"click","clickHandler"],[0,"keyup","keyUpHandler"],[0,"calciteTimePickerBlur","timePickerBlurHandler"],[0,"calciteTimePickerFocus","timePickerFocusHandler"]]]);
|
|
25171
25200
|
const CalciteLabel = /*@__PURE__*/proxyCustomElement(CalciteLabel$1, [1,"calcite-label",{"alignment":[513],"status":[513],"for":[513],"scale":[513],"layout":[513],"disableSpacing":[4,"disable-spacing"],"disabled":[516]}]);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { f as forceUpdate, h } from './index-9de00868.js';
|
|
6
|
-
import { a as getElementDir } from './dom-
|
|
6
|
+
import { a as getElementDir } from './dom-037dc374.js';
|
|
7
7
|
import { S as SLOTS } from './resources-584acd9b.js';
|
|
8
8
|
import { S as SLOTS$1 } from './resources-7c6029b6.js';
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-9de00868.js';
|
|
6
|
-
import { d as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom-
|
|
6
|
+
import { d as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom-037dc374.js';
|
|
7
7
|
import './guid-196bd5ea.js';
|
|
8
8
|
|
|
9
9
|
const calciteAccordionCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-width:100%;border-width:1px;border-bottom-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2);line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}:host([appearance=minimal]){--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0;border-color:transparent}:host([appearance=transparent]){border-color:transparent;--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { f as forceUpdate, r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { t as toggleChildActionText, o as overflowActionsDebounceInMs, q as queryActions, a as overflowActions, C as CalciteExpandToggle, g as getOverflowCount } from './CalciteExpandToggle-
|
|
7
|
-
import { f as focusElement, g as getSlotted } from './dom-
|
|
6
|
+
import { t as toggleChildActionText, o as overflowActionsDebounceInMs, q as queryActions, a as overflowActions, C as CalciteExpandToggle, g as getOverflowCount } from './CalciteExpandToggle-48b6e955.js';
|
|
7
|
+
import { f as focusElement, g as getSlotted } from './dom-037dc374.js';
|
|
8
8
|
import { c as createObserver } from './observers-8f0bc419.js';
|
|
9
9
|
import { d as debounce } from './debounce-79648d42.js';
|
|
10
10
|
import './resources-584acd9b.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, F as Fragment, g as getElement } from './index-9de00868.js';
|
|
6
6
|
import { S as SLOTS, I as ICONS, T as TEXT } from './resources-7c6029b6.js';
|
|
7
|
-
import { g as getSlotted } from './dom-
|
|
7
|
+
import { g as getSlotted } from './dom-037dc374.js';
|
|
8
8
|
import { S as SLOTS$1 } from './resources-584acd9b.js';
|
|
9
9
|
import './guid-196bd5ea.js';
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-9de00868.js';
|
|
6
6
|
import { C as CSS, I as ICONS, S as SLOTS } from './resources-584acd9b.js';
|
|
7
|
-
import { g as getSlotted, f as focusElement } from './dom-
|
|
7
|
+
import { g as getSlotted, f as focusElement } from './dom-037dc374.js';
|
|
8
8
|
import { g as getRoundRobinIndex } from './array-91a648e2.js';
|
|
9
9
|
import { g as guid } from './guid-196bd5ea.js';
|
|
10
10
|
import { c as createObserver } from './observers-8f0bc419.js';
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { t as toggleChildActionText, C as CalciteExpandToggle } from './CalciteExpandToggle-
|
|
7
|
-
import { f as focusElement, g as getSlotted } from './dom-
|
|
6
|
+
import { t as toggleChildActionText, C as CalciteExpandToggle } from './CalciteExpandToggle-48b6e955.js';
|
|
7
|
+
import { f as focusElement, g as getSlotted } from './dom-037dc374.js';
|
|
8
8
|
import './resources-584acd9b.js';
|
|
9
9
|
import './resources-7c6029b6.js';
|
|
10
10
|
import './guid-196bd5ea.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { s as setRequestedIcon } from './dom-
|
|
6
|
+
import { s as setRequestedIcon } from './dom-037dc374.js';
|
|
7
7
|
import { S as StatusIcons } from './interfaces-51dc4e1b.js';
|
|
8
8
|
import './guid-196bd5ea.js';
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, g as getElement } from './index-9de00868.js';
|
|
6
6
|
import { h as hexToRGB, i as isValidHex } from './utils-6beb0662.js';
|
|
7
|
-
import { b as getThemeName } from './dom-
|
|
7
|
+
import { b as getThemeName } from './dom-037dc374.js';
|
|
8
8
|
import './guid-196bd5ea.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { g as getSlotted, a as getElementDir } from './dom-
|
|
6
|
+
import { g as getSlotted, a as getElementDir } from './dom-037dc374.js';
|
|
7
7
|
import { C as CalciteHeading } from './CalciteHeading-1d6cd311.js';
|
|
8
8
|
import './guid-196bd5ea.js';
|
|
9
9
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { c as closestElementCrossShadowBoundary } from './dom-
|
|
7
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
6
|
+
import { c as closestElementCrossShadowBoundary } from './dom-037dc374.js';
|
|
7
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-712646d2.js';
|
|
8
8
|
import { c as createObserver } from './observers-8f0bc419.js';
|
|
9
9
|
import './guid-196bd5ea.js';
|
|
10
10
|
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
6
|
import { g as guid } from './guid-196bd5ea.js';
|
|
7
|
-
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
8
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
9
|
-
import './dom-
|
|
7
|
+
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-72369b73.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-712646d2.js';
|
|
9
|
+
import './dom-037dc374.js';
|
|
10
10
|
|
|
11
11
|
const calciteCheckboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;-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);overflow:hidden;width:var(--calcite-checkbox-size);height:var(--calcite-checkbox-size);-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);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-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([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host .toggle:focus .check-svg,:host .toggle:active .check-svg{-webkit-box-shadow:inset 0 0 0 1px 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 1px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);-webkit-transition:var(--calcite-animation-timing);transition:var(--calcite-animation-timing)}:host([disabled]){pointer-events:none;cursor:default;opacity:var(--calcite-ui-opacity-disabled)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
12
12
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { g as getSlotted } from './dom-
|
|
6
|
+
import { g as getSlotted } from './dom-037dc374.js';
|
|
7
7
|
import { g as guid } from './guid-196bd5ea.js';
|
|
8
8
|
|
|
9
9
|
const CSS = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { f as focusElement, b as getThemeName } from './dom-
|
|
6
|
+
import { f as focusElement, b as getThemeName } from './dom-037dc374.js';
|
|
7
7
|
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, h as hexToRGB, b as hexChar } from './utils-6beb0662.js';
|
|
8
8
|
import { c as clamp } from './math-456207f5.js';
|
|
9
9
|
import { d as debounce, i as isObject } from './debounce-79648d42.js';
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
6
|
import { a as isSymbol, S as Symbol, d as debounce } from './debounce-79648d42.js';
|
|
7
7
|
import { i as isArray, f as forIn } from './forIn-48d8fb84.js';
|
|
8
|
-
import { u as updatePopper, c as createPopper, C as CSS$2 } from './popper-
|
|
8
|
+
import { u as updatePopper, c as createPopper, C as CSS$2 } from './popper-7a7fd3b5.js';
|
|
9
9
|
import { g as guid } from './guid-196bd5ea.js';
|
|
10
|
-
import { n as nodeListToArray, d as getElementProp } from './dom-
|
|
11
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
12
|
-
import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
10
|
+
import { n as nodeListToArray, d as getElementProp } from './dom-037dc374.js';
|
|
11
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-712646d2.js';
|
|
12
|
+
import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-72369b73.js';
|
|
13
13
|
import { c as createObserver } from './observers-8f0bc419.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-9de00868.js';
|
|
6
|
-
import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, l as localizeNumber, e as getOrder, n as nextMonth, f as prevMonth, h as parseNumber } from './resources-
|
|
7
|
-
import { a as getElementDir, C as CSS_UTILITY } from './dom-
|
|
6
|
+
import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, l as localizeNumber, e as getOrder, n as nextMonth, f as prevMonth, h as parseNumber } from './resources-90193940.js';
|
|
7
|
+
import { a as getElementDir, C as CSS_UTILITY } from './dom-037dc374.js';
|
|
8
8
|
import { C as CalciteHeading } from './CalciteHeading-1d6cd311.js';
|
|
9
|
-
import './locale-
|
|
9
|
+
import './locale-fc850b7c.js';
|
|
10
10
|
import './number-8779395f.js';
|
|
11
11
|
import './guid-196bd5ea.js';
|
|
12
12
|
|
|
@@ -173,6 +173,7 @@ let CalciteDatePicker = class {
|
|
|
173
173
|
this.value = date ? dateToISO(date) : "";
|
|
174
174
|
this.valueAsDate = date || null;
|
|
175
175
|
this.activeDate = date || null;
|
|
176
|
+
this.calciteDatePickerChange.emit(date);
|
|
176
177
|
return;
|
|
177
178
|
}
|
|
178
179
|
if (!this.startAsDate || (!this.endAsDate && date < this.startAsDate)) {
|
|
@@ -221,12 +222,12 @@ let CalciteDatePicker = class {
|
|
|
221
222
|
this.endAsDate = this.activeEndDate = this.end = undefined;
|
|
222
223
|
}
|
|
223
224
|
}
|
|
225
|
+
this.calciteDatePickerChange.emit(date);
|
|
224
226
|
};
|
|
225
227
|
}
|
|
226
228
|
handleValueAsDate(date) {
|
|
227
229
|
if (!Array.isArray(date) && date && date !== this.activeDate) {
|
|
228
230
|
this.activeDate = date;
|
|
229
|
-
this.calciteDatePickerChange.emit(date);
|
|
230
231
|
}
|
|
231
232
|
}
|
|
232
233
|
handleRangeChange() {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { f as focusElement, d as getElementProp } from './dom-
|
|
7
|
-
import { C as CSS$2, u as updatePopper, c as createPopper } from './popper-
|
|
6
|
+
import { f as focusElement, d as getElementProp } from './dom-037dc374.js';
|
|
7
|
+
import { C as CSS$2, u as updatePopper, c as createPopper } from './popper-7a7fd3b5.js';
|
|
8
8
|
import { c as createObserver } from './observers-8f0bc419.js';
|
|
9
9
|
import './guid-196bd5ea.js';
|
|
10
10
|
|
|
@@ -104,19 +104,21 @@ let CalciteDropdown = class {
|
|
|
104
104
|
const key = e.key;
|
|
105
105
|
if (this.triggers.includes(target) ||
|
|
106
106
|
this.triggers.some((trigger) => trigger.contains(target))) {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
this.openCalciteDropdown();
|
|
112
|
-
break;
|
|
113
|
-
case "Escape":
|
|
114
|
-
this.closeCalciteDropdown();
|
|
115
|
-
break;
|
|
107
|
+
const ignoredNodeTypes = ["BUTTON", "CALCITE-BUTTON", "CALCITE-ACTION"];
|
|
108
|
+
if (ignoredNodeTypes.includes(target.nodeName)) {
|
|
109
|
+
if (this.active && (key === "Escape" || (e.shiftKey && key === "Tab"))) {
|
|
110
|
+
this.closeCalciteDropdown();
|
|
116
111
|
}
|
|
112
|
+
return;
|
|
117
113
|
}
|
|
118
|
-
|
|
119
|
-
|
|
114
|
+
switch (key) {
|
|
115
|
+
case " ":
|
|
116
|
+
case "Enter":
|
|
117
|
+
this.openCalciteDropdown();
|
|
118
|
+
break;
|
|
119
|
+
case "Escape":
|
|
120
|
+
this.closeCalciteDropdown();
|
|
121
|
+
break;
|
|
120
122
|
}
|
|
121
123
|
}
|
|
122
124
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { f as focusElement } from './dom-
|
|
6
|
+
import { f as focusElement } from './dom-037dc374.js';
|
|
7
7
|
import './guid-196bd5ea.js';
|
|
8
8
|
|
|
9
9
|
const CSS = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { f as focusElement } from './dom-
|
|
6
|
+
import { f as focusElement } from './dom-037dc374.js';
|
|
7
7
|
import { d as debounce } from './debounce-79648d42.js';
|
|
8
8
|
import { f as forIn } from './forIn-48d8fb84.js';
|
|
9
9
|
import './guid-196bd5ea.js';
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, g as getElement, c as createEvent, H as Host } from './index-9de00868.js';
|
|
6
6
|
import { g as guid } from './guid-196bd5ea.js';
|
|
7
|
-
import { j as intersects } from './dom-
|
|
7
|
+
import { j as intersects } from './dom-037dc374.js';
|
|
8
8
|
import { d as decimalPlaces, c as clamp } from './math-456207f5.js';
|
|
9
|
-
import { c as connectLabel, d as disconnectLabel } from './label-
|
|
10
|
-
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form-
|
|
9
|
+
import { c as connectLabel, d as disconnectLabel } from './label-712646d2.js';
|
|
10
|
+
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form-72369b73.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Calculate slope of the tangents
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { a as getAssetPath, r as registerInstance, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { a as getElementDir } from './dom-
|
|
6
|
+
import { a as getElementDir } from './dom-037dc374.js';
|
|
7
7
|
import { c as createObserver } from './observers-8f0bc419.js';
|
|
8
8
|
import './guid-196bd5ea.js';
|
|
9
9
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { d as getElementProp } from './dom-
|
|
7
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
6
|
+
import { d as getElementProp } from './dom-037dc374.js';
|
|
7
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-712646d2.js';
|
|
8
8
|
import './guid-196bd5ea.js';
|
|
9
9
|
|
|
10
10
|
const CSS = {
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { T as TEXT, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, s as sameDate, p as parseDateString, i as inRange } from './resources-
|
|
7
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
8
|
-
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
9
|
-
import { u as updatePopper, C as CSS, c as createPopper } from './popper-
|
|
10
|
-
import './locale-
|
|
6
|
+
import { T as TEXT, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, s as sameDate, p as parseDateString, i as inRange } from './resources-90193940.js';
|
|
7
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-712646d2.js';
|
|
8
|
+
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-72369b73.js';
|
|
9
|
+
import { u as updatePopper, C as CSS, c as createPopper } from './popper-7a7fd3b5.js';
|
|
10
|
+
import './locale-fc850b7c.js';
|
|
11
11
|
import './number-8779395f.js';
|
|
12
|
-
import './dom-
|
|
12
|
+
import './dom-037dc374.js';
|
|
13
13
|
import './guid-196bd5ea.js';
|
|
14
14
|
|
|
15
15
|
const calciteInputDatePickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{--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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host .menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.calendar-picker-wrapper{position:static;width:100%;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:1px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;position:absolute;left:0px;z-index:10;margin-left:1px;margin-right:1px;background-color:var(--calcite-ui-foreground-1);padding-left:0.625rem;padding-right:0.625rem}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);pointer-events:none;visibility:hidden}:host([active]) .menu-container{pointer-events:auto;visibility:visible}.input .calcite-input__wrapper{margin-top:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{height:0.75rem;width:0.75rem;min-width:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
@@ -20,6 +20,7 @@ let CalciteInputDatePicker = class {
|
|
|
20
20
|
registerInstance(this, hostRef);
|
|
21
21
|
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
|
|
22
22
|
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 7);
|
|
23
|
+
this.calciteInputDatePickerChange = createEvent(this, "calciteInputDatePickerChange", 7);
|
|
23
24
|
this.calciteInputDatePickerOpen = createEvent(this, "calciteInputDatePickerOpen", 7);
|
|
24
25
|
this.calciteInputDatePickerClose = createEvent(this, "calciteInputDatePickerClose", 7);
|
|
25
26
|
//--------------------------------------------------------------------------
|
|
@@ -171,6 +172,9 @@ let CalciteInputDatePicker = class {
|
|
|
171
172
|
// Event Listeners
|
|
172
173
|
//
|
|
173
174
|
//--------------------------------------------------------------------------
|
|
175
|
+
handleDateOrRangeChange() {
|
|
176
|
+
this.calciteInputDatePickerChange.emit();
|
|
177
|
+
}
|
|
174
178
|
calciteDaySelectHandler() {
|
|
175
179
|
if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
|
|
176
180
|
return;
|
|
@@ -345,6 +349,7 @@ let CalciteInputDatePicker = class {
|
|
|
345
349
|
}
|
|
346
350
|
if (!this.range) {
|
|
347
351
|
this.value = dateToISO(date);
|
|
352
|
+
this.calciteDatePickerChange.emit(date);
|
|
348
353
|
return;
|
|
349
354
|
}
|
|
350
355
|
const { focusedInput } = this;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { s as setRequestedIcon, d as getElementProp } from './dom-
|
|
6
|
+
import { s as setRequestedIcon, d as getElementProp } from './dom-037dc374.js';
|
|
7
7
|
import './guid-196bd5ea.js';
|
|
8
8
|
|
|
9
9
|
var StatusIconDefaults;
|