@prolibu-suite/cobalt-core 0.7.0 → 0.9.0
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/custom-elements.json +8275 -5147
- package/dist/cjs/co-accordion.cjs.entry.js +4 -4
- package/dist/cjs/co-action-bar.cjs.entry.js +89 -0
- package/dist/cjs/co-app-shell.cjs.entry.js +4 -4
- package/dist/cjs/co-audio-player.cjs.entry.js +279 -0
- package/dist/cjs/co-autocomplete.cjs.entry.js +15 -6
- package/dist/cjs/co-avatar-group.cjs.entry.js +2 -2
- package/dist/cjs/co-avatar_2.cjs.entry.js +17 -6
- package/dist/cjs/co-badge.cjs.entry.js +2 -2
- package/dist/cjs/co-bottom-sheet.cjs.entry.js +5 -5
- package/dist/cjs/co-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/co-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/co-button-group.cjs.entry.js +3 -3
- package/dist/cjs/co-button.cjs.entry.js +13 -6
- package/dist/cjs/co-calendar-month_2.cjs.entry.js +1601 -0
- package/dist/cjs/co-calendar_3.cjs.entry.js +13 -13
- package/dist/cjs/co-card.cjs.entry.js +4 -4
- package/dist/cjs/co-carousel-item.cjs.entry.js +2 -2
- package/dist/cjs/co-carousel.cjs.entry.js +4 -4
- package/dist/cjs/co-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/co-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/co-chip_2.cjs.entry.js +109 -8
- package/dist/cjs/co-color-picker.cjs.entry.js +5 -5
- package/dist/cjs/co-column-picker.cjs.entry.js +4 -4
- package/dist/cjs/co-combobox.cjs.entry.js +14 -6
- package/dist/cjs/co-command-search.cjs.entry.js +20 -6
- package/dist/cjs/co-data-table-pagination.cjs.entry.js +6 -6
- package/dist/cjs/co-data-table.cjs.entry.js +2 -2
- package/dist/cjs/co-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/co-date-range-picker.cjs.entry.js +5 -5
- package/dist/cjs/co-date-range.cjs.entry.js +2 -2
- package/dist/cjs/co-date-time-picker.cjs.entry.js +409 -0
- package/dist/cjs/co-drive-card.cjs.entry.js +3 -3
- package/dist/cjs/co-drop-zone.cjs.entry.js +2 -2
- package/dist/cjs/co-empty-state.cjs.entry.js +3 -3
- package/dist/cjs/co-event-calendar.cjs.entry.js +119 -18
- package/dist/cjs/co-event-popover.cjs.entry.js +132 -0
- package/dist/cjs/co-fab.cjs.entry.js +4 -4
- package/dist/cjs/co-file-field.cjs.entry.js +8 -8
- package/dist/cjs/co-file-type-tile.cjs.entry.js +3 -3
- package/dist/cjs/co-helper-text.cjs.entry.js +3 -3
- package/dist/cjs/co-icon-button.cjs.entry.js +3 -3
- package/dist/cjs/co-icon.cjs.entry.js +3 -3
- package/dist/cjs/co-input.cjs.entry.js +3 -3
- package/dist/cjs/co-json-field.cjs.entry.js +6 -6
- package/dist/cjs/co-lightbox.cjs.entry.js +7 -7
- package/dist/cjs/co-list-footer.cjs.entry.js +3 -3
- package/dist/cjs/co-list-item.cjs.entry.js +6 -6
- package/dist/cjs/co-loader.cjs.entry.js +1 -1
- package/dist/cjs/co-media-thumb.cjs.entry.js +3 -3
- package/dist/cjs/co-menu-divider.cjs.entry.js +2 -2
- package/dist/cjs/co-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/co-menu.cjs.entry.js +2 -2
- package/dist/cjs/co-modal.cjs.entry.js +4 -4
- package/dist/cjs/co-navbar.cjs.entry.js +3 -3
- package/dist/cjs/co-number-field.cjs.entry.js +5 -5
- package/dist/cjs/co-overlay.cjs.entry.js +3 -3
- package/dist/cjs/co-page-header.cjs.entry.js +2 -2
- package/dist/cjs/co-phone-field.cjs.entry.js +4 -4
- package/dist/cjs/co-popover.cjs.entry.js +33 -7
- package/dist/cjs/co-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/co-progress-circle.cjs.entry.js +4 -4
- package/dist/cjs/co-provider-logo_2.cjs.entry.js +72 -0
- package/dist/cjs/co-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/co-radio.cjs.entry.js +5 -5
- package/dist/cjs/co-rating.cjs.entry.js +5 -5
- package/dist/cjs/co-ref-field.cjs.entry.js +22 -6
- package/dist/cjs/co-rich-text-editor.cjs.entry.js +5 -5
- package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/co-rich-text-viewer.cjs.entry.js +1 -1
- package/dist/cjs/co-row.cjs.entry.js +3 -3
- package/dist/cjs/co-segmented-bar.cjs.entry.js +1 -1
- package/dist/cjs/co-select.cjs.entry.js +4 -4
- package/dist/cjs/co-separator.cjs.entry.js +2 -2
- package/dist/cjs/co-sidebar-nav.cjs.entry.js +14 -4
- package/dist/cjs/co-sidebar.cjs.entry.js +4 -4
- package/dist/cjs/co-slider.cjs.entry.js +4 -4
- package/dist/cjs/co-switch.cjs.entry.js +6 -6
- package/dist/cjs/co-tab-group.cjs.entry.js +20 -4
- package/dist/cjs/co-tab.cjs.entry.js +4 -4
- package/dist/cjs/co-tags-field.cjs.entry.js +9 -9
- package/dist/cjs/co-textarea.cjs.entry.js +7 -7
- package/dist/cjs/co-toast.cjs.entry.js +35 -5
- package/dist/cjs/co-toggle-button-group.cjs.entry.js +3 -3
- package/dist/cjs/co-toggle-button.cjs.entry.js +4 -4
- package/dist/cjs/co-transfer-list.cjs.entry.js +4 -4
- package/dist/cjs/co-video.cjs.entry.js +4 -4
- package/dist/cjs/cobalt.cjs.js +2 -2
- package/dist/cjs/{dateI18n-BdiNAl0_.js → dateI18n-wblvKRq_.js} +21 -0
- package/dist/cjs/{dates-D8D-aS5d.js → dates-TQLHlFd2.js} +64 -13
- package/dist/cjs/{fieldChip-B_npd9rL.js → fieldChip-xNJPEFcS.js} +1 -1
- package/dist/cjs/{index-kBiXCEE7.js → index-DK-2Lzmf.js} +29 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{positioning-DwHW399W.js → positioning-DCj_AJ2T.js} +10 -0
- package/dist/cjs/{requiredMark-DuMIcKtt.js → requiredMark-C1xcrzSZ.js} +1 -1
- package/dist/cjs/time-LBHtzLHe.js +42 -0
- package/dist/cobalt/cobalt.css +1 -1
- package/dist/cobalt/cobalt.esm.js +1 -1
- package/dist/cobalt/p-09fe6ece.entry.js +1 -0
- package/dist/cobalt/p-12a0ae24.entry.js +1 -0
- package/dist/cobalt/p-142506d9.entry.js +1 -0
- package/dist/cobalt/{p-e4555fda.entry.js → p-19706923.entry.js} +1 -1
- package/dist/cobalt/p-19f5d480.entry.js +1 -0
- package/dist/cobalt/{p-B6JZk8fL.js → p-1EK-COrb.js} +1 -1
- package/dist/cobalt/p-1ddbc48b.entry.js +1 -0
- package/dist/cobalt/p-212ed2ba.entry.js +1 -0
- package/dist/cobalt/p-21832273.entry.js +1 -0
- package/dist/cobalt/p-24e93fcb.entry.js +1 -0
- package/dist/cobalt/{p-9211e794.entry.js → p-2a9ba4c8.entry.js} +1 -1
- package/dist/cobalt/p-2aeb1471.entry.js +1 -0
- package/dist/cobalt/p-2d0354cc.entry.js +1 -0
- package/dist/cobalt/p-30ec230e.entry.js +1 -0
- package/dist/cobalt/p-360714ae.entry.js +1 -0
- package/dist/cobalt/{p-3c681e3a.entry.js → p-37541725.entry.js} +1 -1
- package/dist/cobalt/p-39007b6c.entry.js +1 -0
- package/dist/cobalt/{p-2f6c7eb5.entry.js → p-39bce45f.entry.js} +1 -1
- package/dist/cobalt/{p-7f78e45c.entry.js → p-3ac316e0.entry.js} +1 -1
- package/dist/cobalt/{p-69723cc1.entry.js → p-3ced4269.entry.js} +1 -1
- package/dist/cobalt/{p-9994fcd8.entry.js → p-3ecc29fa.entry.js} +1 -1
- package/dist/cobalt/p-417ce874.entry.js +1 -0
- package/dist/cobalt/{p-28ab9cef.entry.js → p-43b1f8fb.entry.js} +1 -1
- package/dist/cobalt/p-49bde154.entry.js +1 -0
- package/dist/cobalt/{p-54f8c68c.entry.js → p-4e2379e4.entry.js} +1 -1
- package/dist/cobalt/p-5d7c26f2.entry.js +1 -0
- package/dist/cobalt/p-5ddebd10.entry.js +1 -0
- package/dist/cobalt/{p-bcd38114.entry.js → p-5f0f5d4b.entry.js} +1 -1
- package/dist/cobalt/{p-2661557c.entry.js → p-5f1b273b.entry.js} +1 -1
- package/dist/cobalt/p-60cb66f5.entry.js +1 -0
- package/dist/cobalt/{p-48fbf051.entry.js → p-6795a258.entry.js} +1 -1
- package/dist/cobalt/{p-5b84cf37.entry.js → p-6d532475.entry.js} +1 -1
- package/dist/cobalt/{p-0110108f.entry.js → p-724b9b54.entry.js} +1 -1
- package/dist/cobalt/{p-ceb85838.entry.js → p-7255ab63.entry.js} +1 -1
- package/dist/cobalt/p-7521ec0c.entry.js +1 -0
- package/dist/cobalt/{p-69ce2269.entry.js → p-76dff399.entry.js} +1 -1
- package/dist/cobalt/p-77593319.entry.js +1 -0
- package/dist/cobalt/p-7a2dab23.entry.js +1 -0
- package/dist/cobalt/p-7ec85887.entry.js +1 -0
- package/dist/cobalt/p-81866f71.entry.js +1 -0
- package/dist/cobalt/{p-c3004e1c.entry.js → p-8206c7c0.entry.js} +1 -1
- package/dist/cobalt/p-85a61e28.entry.js +1 -0
- package/dist/cobalt/p-87fc5aed.entry.js +1 -0
- package/dist/cobalt/p-8a93beb0.entry.js +1 -0
- package/dist/cobalt/p-8b7a4f6c.entry.js +1 -0
- package/dist/cobalt/{p-741cf623.entry.js → p-8e667eb6.entry.js} +1 -1
- package/dist/cobalt/{p-3b9be8a8.entry.js → p-94a8a119.entry.js} +1 -1
- package/dist/cobalt/p-9c2ce487.entry.js +1 -0
- package/dist/cobalt/p-9fe9e2fe.entry.js +1 -0
- package/dist/cobalt/p-BMdapAL8.js +1 -0
- package/dist/cobalt/p-BU7SQCje.js +1 -0
- package/dist/cobalt/p-CF8OB_TM.js +1 -0
- package/dist/cobalt/p-CQAYgqA6.js +1 -0
- package/dist/cobalt/p-CnNpoKwg.js +1 -0
- package/dist/cobalt/p-CrtiywTB.js +2 -0
- package/dist/cobalt/p-T4la7ly_.js +1 -0
- package/dist/cobalt/{p-2da09948.entry.js → p-a074f2ba.entry.js} +1 -1
- package/dist/cobalt/{p-0a294205.entry.js → p-a45e2c00.entry.js} +1 -1
- package/dist/cobalt/p-a530bec2.entry.js +1 -0
- package/dist/cobalt/p-a5d84c7a.entry.js +1 -0
- package/dist/cobalt/p-b004c3bb.entry.js +1 -0
- package/dist/cobalt/p-b1ef5107.entry.js +1 -0
- package/dist/cobalt/p-b28dc0fe.entry.js +1 -0
- package/dist/cobalt/{p-cdedaa82.entry.js → p-b64b0a07.entry.js} +1 -1
- package/dist/cobalt/p-b800e107.entry.js +1 -0
- package/dist/cobalt/p-b9ac1f25.entry.js +1 -0
- package/dist/cobalt/{p-202eadfc.entry.js → p-baeb5d55.entry.js} +1 -1
- package/dist/cobalt/{p-7178113f.entry.js → p-c31f5c1b.entry.js} +1 -1
- package/dist/cobalt/p-c3c2087e.entry.js +1 -0
- package/dist/cobalt/p-c42c505c.entry.js +1 -0
- package/dist/cobalt/p-c7a809c7.entry.js +1 -0
- package/dist/cobalt/{p-eec1c44c.entry.js → p-c8dba82f.entry.js} +1 -1
- package/dist/cobalt/p-cc72557d.entry.js +1 -0
- package/dist/cobalt/p-d21da71a.entry.js +1 -0
- package/dist/cobalt/{p-e1b468c1.entry.js → p-d3c765e3.entry.js} +1 -1
- package/dist/cobalt/p-d7b00e5f.entry.js +1 -0
- package/dist/cobalt/p-d85a751d.entry.js +1 -0
- package/dist/cobalt/{p-3af74ab8.entry.js → p-da546d08.entry.js} +1 -1
- package/dist/cobalt/p-debe0d79.entry.js +1 -0
- package/dist/cobalt/p-e054cb52.entry.js +1 -0
- package/dist/cobalt/p-e5296961.entry.js +1 -0
- package/dist/cobalt/p-e5b5ae89.entry.js +1 -0
- package/dist/cobalt/p-e612b43c.entry.js +1 -0
- package/dist/cobalt/{p-97875bde.entry.js → p-e6882ddd.entry.js} +1 -1
- package/dist/cobalt/p-e7e34852.entry.js +1 -0
- package/dist/cobalt/p-e99832a9.entry.js +1 -0
- package/dist/cobalt/{p-616e4286.entry.js → p-ed2ca588.entry.js} +1 -1
- package/dist/cobalt/p-f1284fcd.entry.js +1 -0
- package/dist/cobalt/{p-6b38e8fb.entry.js → p-f1731fe9.entry.js} +1 -1
- package/dist/cobalt/{p-ba5c6aa7.entry.js → p-f4cebc1f.entry.js} +1 -1
- package/dist/cobalt/p-f52f61d4.entry.js +1 -0
- package/dist/cobalt/{p-a252f8c5.entry.js → p-f83b48fd.entry.js} +1 -1
- package/dist/cobalt/p-fa5c25d6.entry.js +1 -0
- package/dist/cobalt/p-fd39f410.entry.js +1 -0
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/co-accordion/co-accordion.css +12 -4
- package/dist/collection/components/co-accordion/co-accordion.js +2 -2
- package/dist/collection/components/co-action-bar/co-action-bar.css +136 -0
- package/dist/collection/components/co-action-bar/co-action-bar.js +247 -0
- package/dist/collection/components/co-app-shell/co-app-shell.css +1 -1
- package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
- package/dist/collection/components/co-audio-player/co-audio-player.css +57 -0
- package/dist/collection/components/co-audio-player/co-audio-player.js +453 -0
- package/dist/collection/components/co-audio-player/co-audio-player.utils.js +44 -0
- package/dist/collection/components/co-autocomplete/co-autocomplete.css +2 -2
- package/dist/collection/components/co-autocomplete/co-autocomplete.js +14 -5
- package/dist/collection/components/co-avatar-group/co-avatar-group.css +1 -1
- package/dist/collection/components/co-badge/co-badge.js +1 -1
- package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.css +4 -12
- package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +3 -3
- package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +1 -1
- package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +2 -2
- package/dist/collection/components/co-button/co-button.css +36 -1
- package/dist/collection/components/co-button/co-button.js +31 -5
- package/dist/collection/components/co-button-group/co-button-group.js +2 -2
- package/dist/collection/components/co-calendar/co-calendar.css +2 -2
- package/dist/collection/components/co-calendar/co-calendar.js +1 -1
- package/dist/collection/components/co-calendar-month/co-calendar-month.css +53 -4
- package/dist/collection/components/co-calendar-month/co-calendar-month.js +238 -55
- package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.css +265 -0
- package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.js +1305 -0
- package/dist/collection/components/co-card/co-card.css +1 -1
- package/dist/collection/components/co-card/co-card.js +2 -2
- package/dist/collection/components/co-carousel/co-carousel.js +2 -2
- package/dist/collection/components/co-carousel-item/co-carousel-item.js +1 -1
- package/dist/collection/components/co-checkbox/co-checkbox.css +85 -59
- package/dist/collection/components/co-checkbox/co-checkbox.js +3 -3
- package/dist/collection/components/co-checkbox-group/co-checkbox-group.css +1 -1
- package/dist/collection/components/co-chip/co-chip.css +2 -2
- package/dist/collection/components/co-chip/co-chip.js +2 -2
- package/dist/collection/components/co-color-picker/co-color-picker.css +3 -3
- package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
- package/dist/collection/components/co-column-picker/co-column-picker.css +8 -8
- package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
- package/dist/collection/components/co-combobox/co-combobox.css +2 -2
- package/dist/collection/components/co-combobox/co-combobox.js +13 -5
- package/dist/collection/components/co-command-search/co-command-search.css +13 -3
- package/dist/collection/components/co-command-search/co-command-search.js +18 -4
- package/dist/collection/components/co-data-table/co-data-table.css +9 -9
- package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.css +5 -5
- package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
- package/dist/collection/components/co-date-field/co-date-field.css +2 -2
- package/dist/collection/components/co-date-field/co-date-field.js +4 -4
- package/dist/collection/components/co-date-range/co-date-range.js +1 -1
- package/dist/collection/components/co-date-range-picker/co-date-range-picker.css +2 -2
- package/dist/collection/components/co-date-time-picker/co-date-time-picker.css +325 -0
- package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +1079 -0
- package/dist/collection/components/co-drawer/co-drawer.css +48 -2
- package/dist/collection/components/co-drawer/co-drawer.js +1 -1
- package/dist/collection/components/co-drive-card/co-drive-card.css +5 -5
- package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
- package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
- package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
- package/dist/collection/components/co-event-calendar/co-event-calendar.css +21 -9
- package/dist/collection/components/co-event-calendar/co-event-calendar.js +342 -39
- package/dist/collection/components/co-event-popover/co-event-popover.css +25 -0
- package/dist/collection/components/co-event-popover/co-event-popover.js +326 -0
- package/dist/collection/components/co-fab/co-fab.css +18 -12
- package/dist/collection/components/co-fab/co-fab.js +2 -2
- package/dist/collection/components/co-file-field/co-file-field.css +5 -5
- package/dist/collection/components/co-file-field/co-file-field.js +5 -5
- package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
- package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
- package/dist/collection/components/co-icon/co-icon.js +2 -2
- package/dist/collection/components/co-icon-button/co-icon-button.css +10 -1
- package/dist/collection/components/co-icon-button/co-icon-button.js +1 -1
- package/dist/collection/components/co-input/co-input.css +3 -3
- package/dist/collection/components/co-json-field/co-json-field.css +1 -1
- package/dist/collection/components/co-json-field/co-json-field.js +3 -3
- package/dist/collection/components/co-lightbox/co-lightbox.css +4 -4
- package/dist/collection/components/co-lightbox/co-lightbox.js +4 -4
- package/dist/collection/components/co-list-footer/co-list-footer.css +1 -1
- package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
- package/dist/collection/components/co-list-item/co-list-item.css +1 -1
- package/dist/collection/components/co-list-item/co-list-item.js +4 -4
- package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
- package/dist/collection/components/co-menu/co-menu.js +1 -1
- package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
- package/dist/collection/components/co-menu-item/co-menu-item.css +22 -1
- package/dist/collection/components/co-menu-item/co-menu-item.js +20 -1
- package/dist/collection/components/co-modal/co-modal.css +2 -2
- package/dist/collection/components/co-modal/co-modal.js +2 -2
- package/dist/collection/components/co-navbar/co-navbar.js +2 -2
- package/dist/collection/components/co-number-field/co-number-field.css +3 -3
- package/dist/collection/components/co-number-field/co-number-field.js +2 -2
- package/dist/collection/components/co-option-list/co-option-list.css +20 -2
- package/dist/collection/components/co-option-list/co-option-list.js +141 -7
- package/dist/collection/components/co-option-list/optionListLogic.js +13 -0
- package/dist/collection/components/co-overlay/co-overlay.css +2 -2
- package/dist/collection/components/co-overlay/co-overlay.js +1 -1
- package/dist/collection/components/co-page-header/co-page-header.js +1 -1
- package/dist/collection/components/co-phone-field/co-phone-field.css +1 -1
- package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
- package/dist/collection/components/co-popover/co-popover.css +27 -0
- package/dist/collection/components/co-popover/co-popover.js +30 -4
- package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
- package/dist/collection/components/co-progress-circle/co-progress-circle.css +1 -1
- package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
- package/dist/collection/components/co-provider-logo/co-provider-logo.css +23 -0
- package/dist/collection/components/co-provider-logo/co-provider-logo.js +124 -0
- package/dist/collection/components/co-radio/co-radio.css +1 -1
- package/dist/collection/components/co-radio/co-radio.js +3 -3
- package/dist/collection/components/co-radio-group/co-radio-group.css +1 -1
- package/dist/collection/components/co-rating/co-rating.css +1 -1
- package/dist/collection/components/co-rating/co-rating.js +3 -3
- package/dist/collection/components/co-ref-field/co-ref-field.css +4 -4
- package/dist/collection/components/co-ref-field/co-ref-field.js +18 -2
- package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +16 -5
- package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +3 -3
- package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.css +20 -12
- package/dist/collection/components/co-row/co-row.js +2 -2
- package/dist/collection/components/co-select/co-select.css +4 -4
- package/dist/collection/components/co-select/co-select.js +1 -1
- package/dist/collection/components/co-separator/co-separator.js +1 -1
- package/dist/collection/components/co-sidebar/co-sidebar.css +1 -1
- package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
- package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.css +33 -7
- package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +12 -2
- package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
- package/dist/collection/components/co-slider/co-slider.css +9 -2
- package/dist/collection/components/co-slider/co-slider.js +2 -2
- package/dist/collection/components/co-switch/co-switch.css +5 -4
- package/dist/collection/components/co-switch/co-switch.js +3 -3
- package/dist/collection/components/co-tab/co-tab.css +2 -2
- package/dist/collection/components/co-tab/co-tab.js +2 -2
- package/dist/collection/components/co-tab-group/co-tab-group.css +25 -0
- package/dist/collection/components/co-tab-group/co-tab-group.js +18 -2
- package/dist/collection/components/co-tags-field/co-tags-field.css +3 -3
- package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
- package/dist/collection/components/co-textarea/co-textarea.css +2 -2
- package/dist/collection/components/co-textarea/co-textarea.js +4 -4
- package/dist/collection/components/co-toast/co-toast.css +63 -1
- package/dist/collection/components/co-toast/co-toast.js +38 -3
- package/dist/collection/components/co-toggle-button/co-toggle-button.css +1 -1
- package/dist/collection/components/co-toggle-button/co-toggle-button.js +2 -2
- package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
- package/dist/collection/components/co-tooltip/co-tooltip.css +1 -1
- package/dist/collection/components/co-tooltip/co-tooltip.js +14 -3
- package/dist/collection/components/co-transfer-list/co-transfer-list.css +3 -3
- package/dist/collection/components/co-transfer-list/co-transfer-list.js +2 -2
- package/dist/collection/components/co-video/co-video.css +9 -9
- package/dist/collection/components/co-video/co-video.js +2 -2
- package/dist/collection/utils/dateI18n.js +21 -0
- package/dist/collection/utils/eventColor.js +52 -0
- package/dist/collection/utils/positioning.js +10 -0
- package/dist/components/co-accordion.js +1 -1
- package/dist/components/co-action-bar.d.ts +11 -0
- package/dist/components/co-action-bar.js +1 -0
- package/dist/components/co-app-shell.js +1 -1
- package/dist/components/co-audio-player.d.ts +11 -0
- package/dist/components/co-audio-player.js +1 -0
- package/dist/components/co-autocomplete.js +1 -1
- package/dist/components/co-avatar-group.js +1 -1
- package/dist/components/co-avatar.js +1 -1
- package/dist/components/co-badge.js +1 -1
- package/dist/components/co-bottom-sheet.js +1 -1
- package/dist/components/co-breadcrumb-item.js +1 -1
- package/dist/components/co-breadcrumb.js +1 -1
- package/dist/components/co-button-group.js +1 -1
- package/dist/components/co-button.js +1 -1
- package/dist/components/co-calendar-month.js +1 -1
- package/dist/components/co-calendar-timegrid.d.ts +11 -0
- package/dist/components/co-calendar-timegrid.js +1 -0
- package/dist/components/co-calendar.js +1 -1
- package/dist/components/co-card.js +1 -1
- package/dist/components/co-carousel-item.js +1 -1
- package/dist/components/co-carousel.js +1 -1
- package/dist/components/co-checkbox-group.js +1 -1
- package/dist/components/co-checkbox.js +1 -1
- package/dist/components/co-chip.js +1 -1
- package/dist/components/co-color-picker.js +1 -1
- package/dist/components/co-column-picker.js +1 -1
- package/dist/components/co-combobox.js +1 -1
- package/dist/components/co-command-search.js +1 -1
- package/dist/components/co-data-table-pagination.js +1 -1
- package/dist/components/co-data-table.js +1 -1
- package/dist/components/co-date-field.js +1 -1
- package/dist/components/co-date-picker.js +1 -1
- package/dist/components/co-date-range-picker.js +1 -1
- package/dist/components/co-date-range.js +1 -1
- package/dist/components/co-date-time-picker.d.ts +11 -0
- package/dist/components/co-date-time-picker.js +1 -0
- package/dist/components/co-drawer.js +1 -1
- package/dist/components/co-drive-card.js +1 -1
- package/dist/components/co-drop-zone.js +1 -1
- package/dist/components/co-empty-state.js +1 -1
- package/dist/components/co-event-calendar.js +1 -1
- package/dist/components/co-event-popover.d.ts +11 -0
- package/dist/components/co-event-popover.js +1 -0
- package/dist/components/co-fab.js +1 -1
- package/dist/components/co-file-field.js +1 -1
- package/dist/components/co-file-type-tile.js +1 -1
- package/dist/components/co-helper-text.js +1 -1
- package/dist/components/co-icon-button.js +1 -1
- package/dist/components/co-icon.js +1 -1
- package/dist/components/co-input.js +1 -1
- package/dist/components/co-json-field.js +1 -1
- package/dist/components/co-lightbox.js +1 -1
- package/dist/components/co-list-footer.js +1 -1
- package/dist/components/co-list-item.js +1 -1
- package/dist/components/co-media-thumb.js +1 -1
- package/dist/components/co-menu-divider.js +1 -1
- package/dist/components/co-menu-item.js +1 -1
- package/dist/components/co-menu.js +1 -1
- package/dist/components/co-modal.js +1 -1
- package/dist/components/co-navbar.js +1 -1
- package/dist/components/co-number-field.js +1 -1
- package/dist/components/co-option-list.js +1 -1
- package/dist/components/co-overlay.js +1 -1
- package/dist/components/co-page-header.js +1 -1
- package/dist/components/co-phone-field.js +1 -1
- package/dist/components/co-popover.js +1 -1
- package/dist/components/co-progress-bar.js +1 -1
- package/dist/components/co-progress-circle.js +1 -1
- package/dist/components/co-provider-logo.d.ts +11 -0
- package/dist/components/co-provider-logo.js +1 -0
- package/dist/components/co-radio-group.js +1 -1
- package/dist/components/co-radio.js +1 -1
- package/dist/components/co-rating.js +1 -1
- package/dist/components/co-ref-field.js +1 -1
- package/dist/components/co-rich-text-editor.js +1 -1
- package/dist/components/co-rich-text-toolbar.js +1 -1
- package/dist/components/co-row.js +1 -1
- package/dist/components/co-select.js +1 -1
- package/dist/components/co-separator.js +1 -1
- package/dist/components/co-sidebar-nav.js +1 -1
- package/dist/components/co-sidebar.js +1 -1
- package/dist/components/co-skeleton.js +1 -1
- package/dist/components/co-slider.js +1 -1
- package/dist/components/co-switch.js +1 -1
- package/dist/components/co-tab-group.js +1 -1
- package/dist/components/co-tab.js +1 -1
- package/dist/components/co-tags-field.js +1 -1
- package/dist/components/co-textarea.js +1 -1
- package/dist/components/co-toast.js +1 -1
- package/dist/components/co-toggle-button-group.js +1 -1
- package/dist/components/co-toggle-button.js +1 -1
- package/dist/components/co-tooltip.js +1 -1
- package/dist/components/co-transfer-list.js +1 -1
- package/dist/components/co-video.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-2zy1K6zg.js +1 -0
- package/dist/components/{p-B3U63yZw.js → p-BCnjq3jN.js} +1 -1
- package/dist/components/p-BMdapAL8.js +1 -0
- package/dist/components/{p-T0UfY6rA.js → p-BUE9mBqk.js} +1 -1
- package/dist/components/p-Bh2__nEw.js +1 -0
- package/dist/components/{p-Cd3inFSL.js → p-BiefJDu3.js} +1 -1
- package/dist/components/{p-Bul6EdDX.js → p-BlvsTlsS.js} +1 -1
- package/dist/components/p-Bsll5Ofy.js +1 -0
- package/dist/components/p-C-5cLeKr.js +1 -0
- package/dist/components/p-CF8OB_TM.js +1 -0
- package/dist/components/p-CJNo2JDc.js +1 -0
- package/dist/components/p-CKKBJaNB.js +1 -0
- package/dist/components/p-CL4dicvk.js +1 -0
- package/dist/components/{p-DfpOEXHC.js → p-CYv2ig6I.js} +1 -1
- package/dist/components/p-Ce0ZJcks.js +1 -0
- package/dist/components/p-Ch837Ggl.js +1 -0
- package/dist/components/p-CkQqqKRp.js +1 -0
- package/dist/components/p-CmxZEGYq.js +1 -0
- package/dist/components/p-CnNpoKwg.js +1 -0
- package/dist/components/p-Cv5yuGLz.js +1 -0
- package/dist/components/{p-oV_1MoAN.js → p-DAaKsGqj.js} +1 -1
- package/dist/components/p-DFT1qsVu.js +1 -0
- package/dist/components/p-DTJsO_Eg.js +1 -0
- package/dist/components/p-Dxa7c4Ap.js +1 -0
- package/dist/components/p-_YYd42XM.js +1 -0
- package/dist/components/p-e5KibEs8.js +1 -0
- package/dist/components/p-re2gJwnQ.js +1 -0
- package/dist/components/p-ushHimOL.js +1 -0
- package/dist/components/p-xvWmYN3W.js +1 -0
- package/dist/esm/co-accordion.entry.js +4 -4
- package/dist/esm/co-action-bar.entry.js +87 -0
- package/dist/esm/co-app-shell.entry.js +4 -4
- package/dist/esm/co-audio-player.entry.js +277 -0
- package/dist/esm/co-autocomplete.entry.js +15 -6
- package/dist/esm/co-avatar-group.entry.js +2 -2
- package/dist/esm/co-avatar_2.entry.js +17 -6
- package/dist/esm/co-badge.entry.js +2 -2
- package/dist/esm/co-bottom-sheet.entry.js +5 -5
- package/dist/esm/co-breadcrumb-item.entry.js +3 -3
- package/dist/esm/co-breadcrumb.entry.js +2 -2
- package/dist/esm/co-button-group.entry.js +3 -3
- package/dist/esm/co-button.entry.js +13 -6
- package/dist/esm/co-calendar-month_2.entry.js +1598 -0
- package/dist/esm/co-calendar_3.entry.js +13 -13
- package/dist/esm/co-card.entry.js +4 -4
- package/dist/esm/co-carousel-item.entry.js +2 -2
- package/dist/esm/co-carousel.entry.js +4 -4
- package/dist/esm/co-checkbox-group.entry.js +2 -2
- package/dist/esm/co-checkbox.entry.js +5 -5
- package/dist/esm/co-chip_2.entry.js +109 -8
- package/dist/esm/co-color-picker.entry.js +5 -5
- package/dist/esm/co-column-picker.entry.js +4 -4
- package/dist/esm/co-combobox.entry.js +14 -6
- package/dist/esm/co-command-search.entry.js +20 -6
- package/dist/esm/co-data-table-pagination.entry.js +6 -6
- package/dist/esm/co-data-table.entry.js +2 -2
- package/dist/esm/co-date-picker.entry.js +3 -3
- package/dist/esm/co-date-range-picker.entry.js +5 -5
- package/dist/esm/co-date-range.entry.js +2 -2
- package/dist/esm/co-date-time-picker.entry.js +407 -0
- package/dist/esm/co-drive-card.entry.js +3 -3
- package/dist/esm/co-drop-zone.entry.js +2 -2
- package/dist/esm/co-empty-state.entry.js +3 -3
- package/dist/esm/co-event-calendar.entry.js +120 -19
- package/dist/esm/co-event-popover.entry.js +130 -0
- package/dist/esm/co-fab.entry.js +4 -4
- package/dist/esm/co-file-field.entry.js +8 -8
- package/dist/esm/co-file-type-tile.entry.js +3 -3
- package/dist/esm/co-helper-text.entry.js +3 -3
- package/dist/esm/co-icon-button.entry.js +3 -3
- package/dist/esm/co-icon.entry.js +3 -3
- package/dist/esm/co-input.entry.js +3 -3
- package/dist/esm/co-json-field.entry.js +6 -6
- package/dist/esm/co-lightbox.entry.js +7 -7
- package/dist/esm/co-list-footer.entry.js +3 -3
- package/dist/esm/co-list-item.entry.js +6 -6
- package/dist/esm/co-loader.entry.js +1 -1
- package/dist/esm/co-media-thumb.entry.js +3 -3
- package/dist/esm/co-menu-divider.entry.js +2 -2
- package/dist/esm/co-menu-item.entry.js +3 -3
- package/dist/esm/co-menu.entry.js +2 -2
- package/dist/esm/co-modal.entry.js +4 -4
- package/dist/esm/co-navbar.entry.js +3 -3
- package/dist/esm/co-number-field.entry.js +5 -5
- package/dist/esm/co-overlay.entry.js +3 -3
- package/dist/esm/co-page-header.entry.js +2 -2
- package/dist/esm/co-phone-field.entry.js +4 -4
- package/dist/esm/co-popover.entry.js +33 -7
- package/dist/esm/co-progress-bar.entry.js +3 -3
- package/dist/esm/co-progress-circle.entry.js +4 -4
- package/dist/esm/co-provider-logo_2.entry.js +69 -0
- package/dist/esm/co-radio-group.entry.js +2 -2
- package/dist/esm/co-radio.entry.js +5 -5
- package/dist/esm/co-rating.entry.js +5 -5
- package/dist/esm/co-ref-field.entry.js +22 -6
- package/dist/esm/co-rich-text-editor.entry.js +5 -5
- package/dist/esm/co-rich-text-toolbar.entry.js +2 -2
- package/dist/esm/co-rich-text-viewer.entry.js +1 -1
- package/dist/esm/co-row.entry.js +3 -3
- package/dist/esm/co-segmented-bar.entry.js +1 -1
- package/dist/esm/co-select.entry.js +4 -4
- package/dist/esm/co-separator.entry.js +2 -2
- package/dist/esm/co-sidebar-nav.entry.js +14 -4
- package/dist/esm/co-sidebar.entry.js +4 -4
- package/dist/esm/co-slider.entry.js +4 -4
- package/dist/esm/co-switch.entry.js +6 -6
- package/dist/esm/co-tab-group.entry.js +20 -4
- package/dist/esm/co-tab.entry.js +4 -4
- package/dist/esm/co-tags-field.entry.js +9 -9
- package/dist/esm/co-textarea.entry.js +7 -7
- package/dist/esm/co-toast.entry.js +35 -5
- package/dist/esm/co-toggle-button-group.entry.js +3 -3
- package/dist/esm/co-toggle-button.entry.js +4 -4
- package/dist/esm/co-transfer-list.entry.js +4 -4
- package/dist/esm/co-video.entry.js +4 -4
- package/dist/esm/cobalt.js +3 -3
- package/dist/esm/{dateI18n-C1DCLOEl.js → dateI18n-CnNpoKwg.js} +21 -0
- package/dist/esm/{dates-tPYikBRJ.js → dates-BU7SQCje.js} +64 -13
- package/dist/esm/{fieldChip-Bb8YIN0J.js → fieldChip-BZDUy9Z-.js} +1 -1
- package/dist/esm/{index-BCEz3S-z.js → index-CrtiywTB.js} +29 -13
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{positioning-C2mZ7x_Y.js → positioning-BMdapAL8.js} +10 -0
- package/dist/esm/{requiredMark-D7kAMXHM.js → requiredMark-DCD-ZA51.js} +1 -1
- package/dist/esm/time-CF8OB_TM.js +37 -0
- package/dist/esm/{tz-B6JZk8fL.js → tz-1EK-COrb.js} +1 -1
- package/dist/types/components/co-action-bar/co-action-bar.d.ts +66 -0
- package/dist/types/components/co-audio-player/co-audio-player.d.ts +62 -0
- package/dist/types/components/co-audio-player/co-audio-player.utils.d.ts +11 -0
- package/dist/types/components/co-autocomplete/co-autocomplete.d.ts +1 -1
- package/dist/types/components/co-button/co-button.d.ts +18 -1
- package/dist/types/components/co-calendar-month/co-calendar-month.d.ts +33 -1
- package/dist/types/components/co-calendar-timegrid/co-calendar-timegrid.d.ts +178 -0
- package/dist/types/components/co-combobox/co-combobox.d.ts +1 -1
- package/dist/types/components/co-command-search/co-command-search.d.ts +7 -0
- package/dist/types/components/co-date-time-picker/co-date-time-picker.d.ts +131 -0
- package/dist/types/components/co-event-calendar/co-event-calendar.d.ts +61 -8
- package/dist/types/components/co-event-popover/co-event-popover.d.ts +45 -0
- package/dist/types/components/co-menu-item/co-menu-item.d.ts +3 -0
- package/dist/types/components/co-option-list/co-option-list.d.ts +28 -1
- package/dist/types/components/co-option-list/optionListLogic.d.ts +3 -0
- package/dist/types/components/co-provider-logo/co-provider-logo.d.ts +17 -0
- package/dist/types/components/co-ref-field/co-ref-field.d.ts +5 -0
- package/dist/types/components/co-tab-group/co-tab-group.d.ts +5 -0
- package/dist/types/components/co-toast/co-toast.d.ts +19 -0
- package/dist/types/components/co-tooltip/co-tooltip.d.ts +6 -0
- package/dist/types/components.d.ts +1251 -82
- package/dist/types/utils/dateI18n.d.ts +7 -0
- package/dist/types/utils/eventColor.d.ts +20 -0
- package/package.json +3 -3
- package/dist/cjs/co-calendar-month.cjs.entry.js +0 -381
- package/dist/cjs/co-skeleton.cjs.entry.js +0 -26
- package/dist/cobalt/p-037cc571.entry.js +0 -1
- package/dist/cobalt/p-080f62e4.entry.js +0 -1
- package/dist/cobalt/p-0b7359bb.entry.js +0 -1
- package/dist/cobalt/p-0b92167a.entry.js +0 -1
- package/dist/cobalt/p-0bc5a962.entry.js +0 -1
- package/dist/cobalt/p-264508ae.entry.js +0 -1
- package/dist/cobalt/p-27dce0ac.entry.js +0 -1
- package/dist/cobalt/p-30c80e3a.entry.js +0 -1
- package/dist/cobalt/p-331a0108.entry.js +0 -1
- package/dist/cobalt/p-36ad3a96.entry.js +0 -1
- package/dist/cobalt/p-3ecbbe93.entry.js +0 -1
- package/dist/cobalt/p-3f1030fb.entry.js +0 -1
- package/dist/cobalt/p-3f7215e7.entry.js +0 -1
- package/dist/cobalt/p-431cec34.entry.js +0 -1
- package/dist/cobalt/p-4f615cbd.entry.js +0 -1
- package/dist/cobalt/p-5319ac3f.entry.js +0 -1
- package/dist/cobalt/p-532baca4.entry.js +0 -1
- package/dist/cobalt/p-53a276a8.entry.js +0 -1
- package/dist/cobalt/p-543cc00d.entry.js +0 -1
- package/dist/cobalt/p-54857f78.entry.js +0 -1
- package/dist/cobalt/p-585c132d.entry.js +0 -1
- package/dist/cobalt/p-59b114ab.entry.js +0 -1
- package/dist/cobalt/p-5c250889.entry.js +0 -1
- package/dist/cobalt/p-5d0510a5.entry.js +0 -1
- package/dist/cobalt/p-5e246304.entry.js +0 -1
- package/dist/cobalt/p-64115d66.entry.js +0 -1
- package/dist/cobalt/p-75515a8e.entry.js +0 -1
- package/dist/cobalt/p-8155d781.entry.js +0 -1
- package/dist/cobalt/p-8fe5b07e.entry.js +0 -1
- package/dist/cobalt/p-9824c478.entry.js +0 -1
- package/dist/cobalt/p-9bf42bf4.entry.js +0 -1
- package/dist/cobalt/p-9fab9c1f.entry.js +0 -1
- package/dist/cobalt/p-BCEz3S-z.js +0 -2
- package/dist/cobalt/p-C-d15gih.js +0 -1
- package/dist/cobalt/p-C1DCLOEl.js +0 -1
- package/dist/cobalt/p-C2mZ7x_Y.js +0 -1
- package/dist/cobalt/p-D5gr2ent.js +0 -1
- package/dist/cobalt/p-b06af5c6.entry.js +0 -1
- package/dist/cobalt/p-b87a2e7a.entry.js +0 -1
- package/dist/cobalt/p-bb00ae4a.entry.js +0 -1
- package/dist/cobalt/p-c237add6.entry.js +0 -1
- package/dist/cobalt/p-c589ae25.entry.js +0 -1
- package/dist/cobalt/p-c635417b.entry.js +0 -1
- package/dist/cobalt/p-c7d9ff39.entry.js +0 -1
- package/dist/cobalt/p-c9528a5f.entry.js +0 -1
- package/dist/cobalt/p-cbac0a11.entry.js +0 -1
- package/dist/cobalt/p-cd28aa6d.entry.js +0 -1
- package/dist/cobalt/p-d3a1a604.entry.js +0 -1
- package/dist/cobalt/p-d71b800a.entry.js +0 -1
- package/dist/cobalt/p-df752f6e.entry.js +0 -1
- package/dist/cobalt/p-ec9dd3a3.entry.js +0 -1
- package/dist/cobalt/p-eeed80ac.entry.js +0 -1
- package/dist/cobalt/p-f0a98453.entry.js +0 -1
- package/dist/cobalt/p-ff581807.entry.js +0 -1
- package/dist/cobalt/p-fffeb610.entry.js +0 -1
- package/dist/cobalt/p-tPYikBRJ.js +0 -1
- package/dist/components/p-9aNhJfTT.js +0 -1
- package/dist/components/p-B0b9Etx4.js +0 -1
- package/dist/components/p-B7Yv00g9.js +0 -1
- package/dist/components/p-BTa6ss5i.js +0 -1
- package/dist/components/p-BtpRnpaF.js +0 -1
- package/dist/components/p-Bzg5FPSA.js +0 -1
- package/dist/components/p-C1DCLOEl.js +0 -1
- package/dist/components/p-C2mZ7x_Y.js +0 -1
- package/dist/components/p-CQ-8domm.js +0 -1
- package/dist/components/p-CVeEoHr7.js +0 -1
- package/dist/components/p-CYi6V_Ss.js +0 -1
- package/dist/components/p-CmCsm4L-.js +0 -1
- package/dist/components/p-CuQjKAf5.js +0 -1
- package/dist/components/p-CyYF8IJE.js +0 -1
- package/dist/components/p-DKvTqEaf.js +0 -1
- package/dist/components/p-DwwxS5bY.js +0 -1
- package/dist/esm/co-calendar-month.entry.js +0 -379
- package/dist/esm/co-skeleton.entry.js +0 -24
|
@@ -80,6 +80,48 @@ export namespace Components {
|
|
|
80
80
|
*/
|
|
81
81
|
"subheading": string;
|
|
82
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* co-action-bar — pill flotante oscuro para acciones masivas (selection bar).
|
|
85
|
+
* Superficie INVERSA (surface-primary) + texto inverso, SOLID (regla del DS
|
|
86
|
+
* para flotantes: nada de glass). El host queda SIEMPRE montado (DOM
|
|
87
|
+
* persistente): `open` togglea la clase `co-action-bar--open` con transición
|
|
88
|
+
* translateY(8px)+opacity (~180ms). Con un `v-if` del consumidor la
|
|
89
|
+
* transición y el primer anuncio aria-live serían código muerto — NO usar.
|
|
90
|
+
* Anclaje opt-in (calca el contrato de co-fab): `position="bottom-center"`
|
|
91
|
+
* aplica fixed + centrado en el HOST, separado del borde inferior por
|
|
92
|
+
* `--co-action-bar-offset` (fallback 24px) y clampado en ancho por
|
|
93
|
+
* `--co-action-bar-inline-margin` (fallback 24px, VAR PROPIA — desacoplada
|
|
94
|
+
* a propósito del offset vertical: un consumidor que sube el offset para
|
|
95
|
+
* despejar toasts/FAB [ej. 92px] no debe perder 2× esos px de ancho
|
|
96
|
+
* disponible, o la barra desborda con varias acciones). La política de
|
|
97
|
+
* contenido cuando no cabe (colapsar labels a icon-only, abreviar el conteo)
|
|
98
|
+
* es del CONSUMIDOR — el componente no scrollea ni reordena.
|
|
99
|
+
*/
|
|
100
|
+
interface CoActionBar {
|
|
101
|
+
/**
|
|
102
|
+
* aria-label del role="group". Cae al `label` si no se pasa.
|
|
103
|
+
*/
|
|
104
|
+
"ariaLabelText"?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Muestra la X de descarte (emite coDismiss).
|
|
107
|
+
* @default true
|
|
108
|
+
*/
|
|
109
|
+
"dismissible": boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Texto del conteo/estado ("3 elementos seleccionados"). Fuente ÚNICA del anuncio aria-live.
|
|
112
|
+
*/
|
|
113
|
+
"label"?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Visibilidad. El DOM persiste; open solo togglea la clase --open.
|
|
116
|
+
* @default false
|
|
117
|
+
*/
|
|
118
|
+
"open": boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Anclaje opt-in: 'bottom-center' aplica fixed+centrado en el HOST vía :host([position='bottom-center']) — por eso la prop se REFLEJA a atributo. 'none' deja el flujo normal (consumidores draggable/absolute posicionan ellos, como co-fab).
|
|
121
|
+
* @default 'none'
|
|
122
|
+
*/
|
|
123
|
+
"position": 'bottom-center' | 'none';
|
|
124
|
+
}
|
|
83
125
|
/**
|
|
84
126
|
* App Shell — Main application layout with navbar, sidebar, and content area.
|
|
85
127
|
*/
|
|
@@ -95,6 +137,42 @@ export namespace Components {
|
|
|
95
137
|
*/
|
|
96
138
|
"sidebarMode": 'full' | 'min';
|
|
97
139
|
}
|
|
140
|
+
interface CoAudioPlayer {
|
|
141
|
+
/**
|
|
142
|
+
* Pixels per waveform bar (bar + gap). Lower = denser/more detailed, like V1 (`SkAudioPlayer` used 3). The measured bar count = floor(width / barDensity).
|
|
143
|
+
* @default 3
|
|
144
|
+
*/
|
|
145
|
+
"barDensity": number;
|
|
146
|
+
/**
|
|
147
|
+
* Fallback bar count used before the container width is measured. Once measured, the real bar count is derived from the width via `barDensity` (V1 parity: a dense, detail-rich waveform rather than a fixed count).
|
|
148
|
+
* @default 64
|
|
149
|
+
*/
|
|
150
|
+
"bars": number;
|
|
151
|
+
/**
|
|
152
|
+
* Compact variant: narrower, hides the download button.
|
|
153
|
+
* @default false
|
|
154
|
+
*/
|
|
155
|
+
"compact": boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Filename for the download button.
|
|
158
|
+
* @default 'audio'
|
|
159
|
+
*/
|
|
160
|
+
"downloadFilename": string;
|
|
161
|
+
/**
|
|
162
|
+
* Hide the download button even in full mode.
|
|
163
|
+
* @default false
|
|
164
|
+
*/
|
|
165
|
+
"noDownload": boolean;
|
|
166
|
+
/**
|
|
167
|
+
* Passthrough to the underlying <audio> preload.
|
|
168
|
+
* @default 'metadata'
|
|
169
|
+
*/
|
|
170
|
+
"preload": 'none' | 'metadata';
|
|
171
|
+
/**
|
|
172
|
+
* Audio URL (use a signedUrl for private buckets).
|
|
173
|
+
*/
|
|
174
|
+
"src"?: string;
|
|
175
|
+
}
|
|
98
176
|
interface CoAutocomplete {
|
|
99
177
|
/**
|
|
100
178
|
* @default true
|
|
@@ -356,6 +434,10 @@ export namespace Components {
|
|
|
356
434
|
"value"?: string;
|
|
357
435
|
}
|
|
358
436
|
interface CoButton {
|
|
437
|
+
/**
|
|
438
|
+
* Accessible name override for icon-only buttons (no visible `label`/slot text, e.g. an icon-only action inside `co-action-bar`) — the shadow `<button>` otherwise has no accessible name. Mirrors the exact `ariaLabelText` precedent of `co-fab`/`co-icon-button`. Only sets `aria-label` when THIS prop is passed — when a visible `label`/slot IS present, its text content already gives the button an accessible name, so leaving `ariaLabelText` unset avoids a duplicate/overriding aria-label.
|
|
439
|
+
*/
|
|
440
|
+
"ariaLabelText"?: string;
|
|
359
441
|
/**
|
|
360
442
|
* Custom background color (CSS value or token, e.g. "var(--co-color-secondary-rojo-100)")
|
|
361
443
|
*/
|
|
@@ -402,7 +484,7 @@ export namespace Components {
|
|
|
402
484
|
*/
|
|
403
485
|
"size": 'l' | 'm' | 's' | 'xs';
|
|
404
486
|
/**
|
|
405
|
-
* Surface the button sits on. On "dark", ghost/stroke variants switch to white ink + blanco-16 hover.
|
|
487
|
+
* Surface the button sits on. On "dark", ghost/stroke variants switch to white ink + blanco-16 hover; danger keeps its solid error fill but swaps the fade-hover for a lighten-hover + white focus ring (dark bars dim a faded red). Receta oficial de acciones de barra (co-action-bar): `variant="ghost"|"stroke" surface="dark"`; Eliminar = `variant="danger" surface="dark"`.
|
|
406
488
|
* @default 'light'
|
|
407
489
|
*/
|
|
408
490
|
"surface": 'light' | 'dark';
|
|
@@ -518,6 +600,10 @@ export namespace Components {
|
|
|
518
600
|
* old data on failure (that IS the revert).
|
|
519
601
|
*/
|
|
520
602
|
interface CoCalendarMonth {
|
|
603
|
+
/**
|
|
604
|
+
* Limpia el resaltado persistente (lo llama el host al cerrar su form).
|
|
605
|
+
*/
|
|
606
|
+
"clearSelection": () => Promise<void>;
|
|
521
607
|
/**
|
|
522
608
|
* Master interaction gate.
|
|
523
609
|
* @default true
|
|
@@ -533,6 +619,11 @@ export namespace Components {
|
|
|
533
619
|
* @default 1
|
|
534
620
|
*/
|
|
535
621
|
"firstDayOfWeek": number;
|
|
622
|
+
/**
|
|
623
|
+
* Cargando: en vez de los chips pinta bloques skeleton en sus carriles. La grilla del mes (cabecera de días, celdas, números, bordes) no se toca.
|
|
624
|
+
* @default false
|
|
625
|
+
*/
|
|
626
|
+
"loading": boolean;
|
|
536
627
|
/**
|
|
537
628
|
* BCP-47 locale for weekday labels.
|
|
538
629
|
* @default 'es-CO'
|
|
@@ -569,6 +660,79 @@ export namespace Components {
|
|
|
569
660
|
*/
|
|
570
661
|
"year": number;
|
|
571
662
|
}
|
|
663
|
+
/**
|
|
664
|
+
* co-calendar-timegrid — the Week/Day time-grid. The shell renders it with
|
|
665
|
+
* `dates` = 7 day-keys (week) or 1 (day). Presentation + interaction only; the
|
|
666
|
+
* host owns data (CONTROLLED). All instant math is delegated to the engine — the
|
|
667
|
+
* only timezone boundary is the `timeZone` prop (wall-clock render).
|
|
668
|
+
*/
|
|
669
|
+
interface CoCalendarTimegrid {
|
|
670
|
+
/**
|
|
671
|
+
* @default true
|
|
672
|
+
*/
|
|
673
|
+
"allDaySlot": boolean;
|
|
674
|
+
/**
|
|
675
|
+
* Limpia el resaltado persistente de selección (lo llama el host al cerrar su bubble/form de creación).
|
|
676
|
+
*/
|
|
677
|
+
"clearSelection": () => Promise<void>;
|
|
678
|
+
/**
|
|
679
|
+
* Visible day keys "YYYY-MM-DD" (7 = week, 1 = day).
|
|
680
|
+
* @default []
|
|
681
|
+
*/
|
|
682
|
+
"dates": string[];
|
|
683
|
+
/**
|
|
684
|
+
* @default 60
|
|
685
|
+
*/
|
|
686
|
+
"defaultDurationMinutes": number;
|
|
687
|
+
/**
|
|
688
|
+
* @default true
|
|
689
|
+
*/
|
|
690
|
+
"editable": boolean;
|
|
691
|
+
/**
|
|
692
|
+
* @default []
|
|
693
|
+
*/
|
|
694
|
+
"events": NormalizedEvent[];
|
|
695
|
+
/**
|
|
696
|
+
* Cargando: en vez de los eventos pinta bloques skeleton en las columnas. La grilla (eje de horas, líneas, cabecera de días, franja de todo-el-día) se mantiene: lo único que todavía no se sabe son los eventos.
|
|
697
|
+
* @default false
|
|
698
|
+
*/
|
|
699
|
+
"loading": boolean;
|
|
700
|
+
/**
|
|
701
|
+
* @default 'es-CO'
|
|
702
|
+
*/
|
|
703
|
+
"locale": string;
|
|
704
|
+
"maxDate"?: string;
|
|
705
|
+
/**
|
|
706
|
+
* @default '24:00'
|
|
707
|
+
*/
|
|
708
|
+
"maxTime": string;
|
|
709
|
+
"minDate"?: string;
|
|
710
|
+
/**
|
|
711
|
+
* @default '00:00'
|
|
712
|
+
*/
|
|
713
|
+
"minTime": string;
|
|
714
|
+
/**
|
|
715
|
+
* @default true
|
|
716
|
+
*/
|
|
717
|
+
"nowIndicator": boolean;
|
|
718
|
+
/**
|
|
719
|
+
* @default '07:00'
|
|
720
|
+
*/
|
|
721
|
+
"scrollTime": string;
|
|
722
|
+
/**
|
|
723
|
+
* @default true
|
|
724
|
+
*/
|
|
725
|
+
"selectable": boolean;
|
|
726
|
+
/**
|
|
727
|
+
* @default 15
|
|
728
|
+
*/
|
|
729
|
+
"slotMinutes": number;
|
|
730
|
+
/**
|
|
731
|
+
* @default 15
|
|
732
|
+
*/
|
|
733
|
+
"snapMinutes": number;
|
|
734
|
+
"timeZone": string;
|
|
735
|
+
}
|
|
572
736
|
interface CoCard {
|
|
573
737
|
/**
|
|
574
738
|
* Make the card fully clickable
|
|
@@ -1618,6 +1782,129 @@ export namespace Components {
|
|
|
1618
1782
|
*/
|
|
1619
1783
|
"variant": 'default' | 'flat';
|
|
1620
1784
|
}
|
|
1785
|
+
/**
|
|
1786
|
+
* Date + TIME picker: one field, one popover. Composes `co-popover` (floating
|
|
1787
|
+
* panel, outside-click) + `co-calendar` (day grid) + a scrollable list of times
|
|
1788
|
+
* beside it — the Google Calendar layout.
|
|
1789
|
+
* VALUE CONTRACT — the committed `value` is a UTC ISO instant
|
|
1790
|
+
* ("2026-07-25T21:30:00.000Z"), never a wall-clock string. The wall clock the
|
|
1791
|
+
* user sees and edits is rendered in `timeZone` (IANA; browser zone when
|
|
1792
|
+
* omitted). All ISO↔wall-clock conversion goes through the calendar engine
|
|
1793
|
+
* (`@prolibu-suite/cobalt-calendar-utils`), so DST comes from the platform tz
|
|
1794
|
+
* database — the same boundary `co-calendar-timegrid` uses. A date-only value
|
|
1795
|
+
* ("2026-07-25") is NOT an instant: it is read as that wall-clock day in
|
|
1796
|
+
* `timeZone` at {@link DEFAULT_MINUTES} (09:00), never as UTC midnight (which
|
|
1797
|
+
* would shift the day west of UTC).
|
|
1798
|
+
* INTERACTION (Google):
|
|
1799
|
+
* - Click the field → opens. Picking a DAY commits and keeps the panel open
|
|
1800
|
+
* (you almost always want to set the hour next); picking a TIME commits and
|
|
1801
|
+
* closes. So there is no draft/apply step and no confirm button.
|
|
1802
|
+
* - ArrowDown on the field → moves focus into the calendar grid.
|
|
1803
|
+
* - The time list is a listbox: Arrow/Home/End/PageUp/PageDown move the active
|
|
1804
|
+
* option, Enter/Space selects it.
|
|
1805
|
+
* - Escape → closes and returns focus to the field. Outside click → closes.
|
|
1806
|
+
* Escape is owned here (co-popover `closeOnEscape=false`) so focus can return to
|
|
1807
|
+
* the field; outside-click stays with co-popover.
|
|
1808
|
+
*/
|
|
1809
|
+
interface CoDateTimePicker {
|
|
1810
|
+
/**
|
|
1811
|
+
* @default true
|
|
1812
|
+
*/
|
|
1813
|
+
"clearable": boolean;
|
|
1814
|
+
/**
|
|
1815
|
+
* @default false
|
|
1816
|
+
*/
|
|
1817
|
+
"disabled": boolean;
|
|
1818
|
+
"disabledDates"?: string[] | string;
|
|
1819
|
+
"disabledDaysOfWeek"?: number[] | string;
|
|
1820
|
+
/**
|
|
1821
|
+
* Date part of the trigger text (tokens yyyy/yy/MMMM/MMM/MM/M/dd/d).
|
|
1822
|
+
* @default 'd MMM yyyy'
|
|
1823
|
+
*/
|
|
1824
|
+
"displayFormat": string;
|
|
1825
|
+
"errorMessage"?: string;
|
|
1826
|
+
/**
|
|
1827
|
+
* @default 1
|
|
1828
|
+
*/
|
|
1829
|
+
"firstDayOfWeek": number;
|
|
1830
|
+
"helperText"?: string;
|
|
1831
|
+
/**
|
|
1832
|
+
* 12-hour clock (Google style). `false` renders a 24h clock.
|
|
1833
|
+
* @default true
|
|
1834
|
+
*/
|
|
1835
|
+
"hour12": boolean;
|
|
1836
|
+
/**
|
|
1837
|
+
* @default false
|
|
1838
|
+
*/
|
|
1839
|
+
"invalid": boolean;
|
|
1840
|
+
"label"?: string;
|
|
1841
|
+
/**
|
|
1842
|
+
* Label layout: vertical (label above) or horizontal (label beside).
|
|
1843
|
+
* @default 'vertical'
|
|
1844
|
+
*/
|
|
1845
|
+
"layout": 'vertical' | 'horizontal';
|
|
1846
|
+
/**
|
|
1847
|
+
* @default 'es-CO'
|
|
1848
|
+
*/
|
|
1849
|
+
"locale": string;
|
|
1850
|
+
/**
|
|
1851
|
+
* Latest selectable day. Date-only "YYYY-MM-DD" or an instant.
|
|
1852
|
+
*/
|
|
1853
|
+
"max"?: string;
|
|
1854
|
+
/**
|
|
1855
|
+
* Earliest selectable day. Date-only "YYYY-MM-DD" or an instant.
|
|
1856
|
+
*/
|
|
1857
|
+
"min"?: string;
|
|
1858
|
+
/**
|
|
1859
|
+
* Max viewport width (px) that renders the panel as a bottom sheet.
|
|
1860
|
+
* @default 600
|
|
1861
|
+
*/
|
|
1862
|
+
"mobileBreakpoint": number;
|
|
1863
|
+
"name"?: string;
|
|
1864
|
+
/**
|
|
1865
|
+
* Whether the panel is open.
|
|
1866
|
+
* @default false
|
|
1867
|
+
*/
|
|
1868
|
+
"open": boolean;
|
|
1869
|
+
"placeholder"?: string;
|
|
1870
|
+
/**
|
|
1871
|
+
* Popover placement relative to the field.
|
|
1872
|
+
* @default 'bottom-start'
|
|
1873
|
+
*/
|
|
1874
|
+
"placement": Placement;
|
|
1875
|
+
/**
|
|
1876
|
+
* @default false
|
|
1877
|
+
*/
|
|
1878
|
+
"readonly": boolean;
|
|
1879
|
+
/**
|
|
1880
|
+
* @default false
|
|
1881
|
+
*/
|
|
1882
|
+
"required": boolean;
|
|
1883
|
+
/**
|
|
1884
|
+
* Field size, mirrors co-input/co-date-field: s 28 / sm 32 / md 40 / lg 48.
|
|
1885
|
+
* @default 'md'
|
|
1886
|
+
*/
|
|
1887
|
+
"size": 's' | 'sm' | 'md' | 'lg';
|
|
1888
|
+
/**
|
|
1889
|
+
* Minutes between consecutive options in the time list.
|
|
1890
|
+
* @default 15
|
|
1891
|
+
*/
|
|
1892
|
+
"stepMinutes": number;
|
|
1893
|
+
/**
|
|
1894
|
+
* IANA zone the wall clock is rendered in. Defaults to the browser zone.
|
|
1895
|
+
*/
|
|
1896
|
+
"timeZone"?: string;
|
|
1897
|
+
/**
|
|
1898
|
+
* Committed value: UTC ISO instant ("2026-07-25T21:30:00.000Z") or null.
|
|
1899
|
+
* @default null
|
|
1900
|
+
*/
|
|
1901
|
+
"value": string | null;
|
|
1902
|
+
/**
|
|
1903
|
+
* `flat` strips the trigger's border/background so it reads as content.
|
|
1904
|
+
* @default 'default'
|
|
1905
|
+
*/
|
|
1906
|
+
"variant": 'default' | 'flat';
|
|
1907
|
+
}
|
|
1621
1908
|
interface CoDrawer {
|
|
1622
1909
|
/**
|
|
1623
1910
|
* Show close (X) button in header
|
|
@@ -1793,23 +2080,21 @@ export namespace Components {
|
|
|
1793
2080
|
*/
|
|
1794
2081
|
"variant": 'plain' | 'card';
|
|
1795
2082
|
}
|
|
1796
|
-
/**
|
|
1797
|
-
* co-event-calendar — the public entry point of the Cobalt Calendars family.
|
|
1798
|
-
* Owns view state, the visible anchor date, event normalization and the toolbar,
|
|
1799
|
-
* and delegates rendering to the active view (Phase 1: month). All hard math
|
|
1800
|
-
* lives in `@prolibu-suite/cobalt-calendar-utils`. Events are CONTROLLED: the
|
|
1801
|
-
* calendar emits requests (`coEventDrop`, `coDateSelect`) and the host applies
|
|
1802
|
-
* them by updating the `events` prop — leaving it unchanged on failure is the
|
|
1803
|
-
* revert.
|
|
1804
|
-
* Instants are ISO-8601 strings WITH offset/Z (timed) or "YYYY-MM-DD" (all-day);
|
|
1805
|
-
* the calendar never exposes Date objects. `timeZone` controls wall-clock render.
|
|
1806
|
-
*/
|
|
1807
2083
|
interface CoEventCalendar {
|
|
2084
|
+
/**
|
|
2085
|
+
* Show the all-day lane in week/day views.
|
|
2086
|
+
* @default true
|
|
2087
|
+
*/
|
|
2088
|
+
"allDaySlot": boolean;
|
|
1808
2089
|
/**
|
|
1809
2090
|
* Views offered in the switcher. Defaults to the implemented set.
|
|
1810
2091
|
* @default ['month']
|
|
1811
2092
|
*/
|
|
1812
2093
|
"availableViews": string[] | string;
|
|
2094
|
+
/**
|
|
2095
|
+
* Limpia el resaltado persistente de selección de la vista activa (timegrid o month) — lo llama el host al cerrar su bubble/form de creación.
|
|
2096
|
+
*/
|
|
2097
|
+
"clearRangeSelection": () => Promise<void>;
|
|
1813
2098
|
/**
|
|
1814
2099
|
* Anchor date "YYYY-MM-DD" controlling the visible period. Persisted by host.
|
|
1815
2100
|
*/
|
|
@@ -1839,6 +2124,11 @@ export namespace Components {
|
|
|
1839
2124
|
* @default 1
|
|
1840
2125
|
*/
|
|
1841
2126
|
"firstDayOfWeek": number;
|
|
2127
|
+
/**
|
|
2128
|
+
* Cargando eventos: se propaga a la grilla (mes/timegrid), que reemplaza SUS chips por bloques skeleton y conserva toda su estructura — bordes, cabecera de días, eje de horas. El toolbar sigue operable y nada se desmonta, así no se pierde el scroll de semana/día.
|
|
2129
|
+
* @default false
|
|
2130
|
+
*/
|
|
2131
|
+
"loading": boolean;
|
|
1842
2132
|
/**
|
|
1843
2133
|
* BCP-47 locale for labels.
|
|
1844
2134
|
* @default 'es-CO'
|
|
@@ -1848,29 +2138,99 @@ export namespace Components {
|
|
|
1848
2138
|
* Latest interactable day "YYYY-MM-DD".
|
|
1849
2139
|
*/
|
|
1850
2140
|
"maxDate"?: string;
|
|
2141
|
+
/**
|
|
2142
|
+
* @default '24:00'
|
|
2143
|
+
*/
|
|
2144
|
+
"maxTime": string;
|
|
1851
2145
|
/**
|
|
1852
2146
|
* Earliest interactable day "YYYY-MM-DD" (past-block).
|
|
1853
2147
|
*/
|
|
1854
2148
|
"minDate"?: string;
|
|
2149
|
+
/**
|
|
2150
|
+
* Visible-hours window for week/day (minutes-of-day bounds as "HH:mm").
|
|
2151
|
+
* @default '00:00'
|
|
2152
|
+
*/
|
|
2153
|
+
"minTime": string;
|
|
2154
|
+
/**
|
|
2155
|
+
* Show the current-time indicator in week/day.
|
|
2156
|
+
* @default true
|
|
2157
|
+
*/
|
|
2158
|
+
"nowIndicator": boolean;
|
|
2159
|
+
/**
|
|
2160
|
+
* Initial scroll position for week/day ("HH:mm").
|
|
2161
|
+
* @default '07:00'
|
|
2162
|
+
*/
|
|
2163
|
+
"scrollTime": string;
|
|
1855
2164
|
/**
|
|
1856
2165
|
* Allow empty-day selection to request a create.
|
|
1857
2166
|
* @default true
|
|
1858
2167
|
*/
|
|
1859
2168
|
"selectable": boolean;
|
|
2169
|
+
/**
|
|
2170
|
+
* Slot/snap granularity (minutes) for week/day.
|
|
2171
|
+
* @default 15
|
|
2172
|
+
*/
|
|
2173
|
+
"slotMinutes": number;
|
|
2174
|
+
/**
|
|
2175
|
+
* @default 15
|
|
2176
|
+
*/
|
|
2177
|
+
"snapMinutes": number;
|
|
1860
2178
|
/**
|
|
1861
2179
|
* Optional status→{backgroundColor,borderColor} map (object or JSON string).
|
|
1862
2180
|
*/
|
|
1863
|
-
"statusColors"?:
|
|
2181
|
+
"statusColors"?: StatusColorsProp;
|
|
1864
2182
|
/**
|
|
1865
2183
|
* IANA timezone for wall-clock rendering. Defaults to the browser zone.
|
|
1866
2184
|
*/
|
|
1867
2185
|
"timeZone"?: string;
|
|
1868
2186
|
/**
|
|
1869
|
-
* Active view.
|
|
2187
|
+
* Active view. `month`/`week`/`day` are implemented; `agenda` is pending.
|
|
1870
2188
|
* @default 'month'
|
|
1871
2189
|
*/
|
|
1872
2190
|
"view": 'month' | 'week' | 'day' | 'agenda';
|
|
1873
2191
|
}
|
|
2192
|
+
/**
|
|
2193
|
+
* co-event-popover — anchored detail card (Google-Calendar-style) for a calendar
|
|
2194
|
+
* event. Non-modal, dismissible. Anchors to a viewport `anchorRect` (the chip's
|
|
2195
|
+
* getBoundingClientRect), promotes to the top-layer (the calendar shell has
|
|
2196
|
+
* contain:layout ancestors that re-anchor position:fixed), and closes on Escape /
|
|
2197
|
+
* outside-click. Content is slotted by the host (suite-v2 fills the meeting fields).
|
|
2198
|
+
*/
|
|
2199
|
+
interface CoEventPopover {
|
|
2200
|
+
/**
|
|
2201
|
+
* Anchor rect in viewport coords (chip.getBoundingClientRect()).
|
|
2202
|
+
*/
|
|
2203
|
+
"anchorRect"?: { top: number; left: number; width: number; height: number };
|
|
2204
|
+
/**
|
|
2205
|
+
* @default true
|
|
2206
|
+
*/
|
|
2207
|
+
"closeOnClickOutside": boolean;
|
|
2208
|
+
/**
|
|
2209
|
+
* @default true
|
|
2210
|
+
*/
|
|
2211
|
+
"closeOnEscape": boolean;
|
|
2212
|
+
/**
|
|
2213
|
+
* Accent color for the leading dot (event color).
|
|
2214
|
+
*/
|
|
2215
|
+
"color"?: string;
|
|
2216
|
+
/**
|
|
2217
|
+
* Render the leading color dot. Set false for dot-less content (quick-create).
|
|
2218
|
+
* @default true
|
|
2219
|
+
*/
|
|
2220
|
+
"dot": boolean;
|
|
2221
|
+
/**
|
|
2222
|
+
* @default false
|
|
2223
|
+
*/
|
|
2224
|
+
"open": boolean;
|
|
2225
|
+
/**
|
|
2226
|
+
* @default 'right-start'
|
|
2227
|
+
*/
|
|
2228
|
+
"placement": Placement;
|
|
2229
|
+
/**
|
|
2230
|
+
* Accessible name for the panel (role="dialog" needs one).
|
|
2231
|
+
*/
|
|
2232
|
+
"popoverLabel"?: string;
|
|
2233
|
+
}
|
|
1874
2234
|
interface CoFab {
|
|
1875
2235
|
/**
|
|
1876
2236
|
* Accessible label for icon-only FABs (falls back to `label`/`icon`).
|
|
@@ -2486,6 +2846,10 @@ export namespace Components {
|
|
|
2486
2846
|
* Submenu nesting is unbounded — submenu items can themselves have submenus.
|
|
2487
2847
|
*/
|
|
2488
2848
|
interface CoMenuItem {
|
|
2849
|
+
/**
|
|
2850
|
+
* Optional second line under the label (muted, smaller) — e.g. what an export method means. The row auto-grows (min-height, not height).
|
|
2851
|
+
*/
|
|
2852
|
+
"caption"?: string;
|
|
2489
2853
|
/**
|
|
2490
2854
|
* Tighter row metrics (32px instead of 36px).
|
|
2491
2855
|
* @default false
|
|
@@ -2712,6 +3076,11 @@ export namespace Components {
|
|
|
2712
3076
|
* @default false
|
|
2713
3077
|
*/
|
|
2714
3078
|
"removableItems": boolean;
|
|
3079
|
+
/**
|
|
3080
|
+
* Habilita reorder por drag del bloque de seleccionados (selected-first).
|
|
3081
|
+
* @default false
|
|
3082
|
+
*/
|
|
3083
|
+
"reorderable": boolean;
|
|
2715
3084
|
/**
|
|
2716
3085
|
* @default 350
|
|
2717
3086
|
*/
|
|
@@ -2946,6 +3315,29 @@ export namespace Components {
|
|
|
2946
3315
|
*/
|
|
2947
3316
|
"value": number;
|
|
2948
3317
|
}
|
|
3318
|
+
/**
|
|
3319
|
+
* Logo de marca de un proveedor externo (Google, Microsoft), a color y
|
|
3320
|
+
* self-contained (SVG inline — nunca una URL remota).
|
|
3321
|
+
* `plated` lo monta sobre un disco blanco: es lo que hace legible una marca a
|
|
3322
|
+
* color cuando va encima de una superficie teñida (el badge de un evento de
|
|
3323
|
+
* calendario externo, que hereda el color del calendario).
|
|
3324
|
+
*/
|
|
3325
|
+
interface CoProviderLogo {
|
|
3326
|
+
/**
|
|
3327
|
+
* Disco blanco de fondo para contraste sobre superficies de color.
|
|
3328
|
+
* @default false
|
|
3329
|
+
*/
|
|
3330
|
+
"plated": boolean;
|
|
3331
|
+
/**
|
|
3332
|
+
* Proveedor: `google` | `microsoft`. Uno desconocido no pinta nada.
|
|
3333
|
+
*/
|
|
3334
|
+
"provider": string;
|
|
3335
|
+
/**
|
|
3336
|
+
* Lado del logo en px (los viewBox son cuadrados).
|
|
3337
|
+
* @default 16
|
|
3338
|
+
*/
|
|
3339
|
+
"size": number;
|
|
3340
|
+
}
|
|
2949
3341
|
interface CoRadio {
|
|
2950
3342
|
/**
|
|
2951
3343
|
* Whether the radio is selected
|
|
@@ -4205,10 +4597,18 @@ export interface CoAccordionCustomEvent<T> extends CustomEvent<T> {
|
|
|
4205
4597
|
detail: T;
|
|
4206
4598
|
target: HTMLCoAccordionElement;
|
|
4207
4599
|
}
|
|
4600
|
+
export interface CoActionBarCustomEvent<T> extends CustomEvent<T> {
|
|
4601
|
+
detail: T;
|
|
4602
|
+
target: HTMLCoActionBarElement;
|
|
4603
|
+
}
|
|
4208
4604
|
export interface CoAppShellCustomEvent<T> extends CustomEvent<T> {
|
|
4209
4605
|
detail: T;
|
|
4210
4606
|
target: HTMLCoAppShellElement;
|
|
4211
4607
|
}
|
|
4608
|
+
export interface CoAudioPlayerCustomEvent<T> extends CustomEvent<T> {
|
|
4609
|
+
detail: T;
|
|
4610
|
+
target: HTMLCoAudioPlayerElement;
|
|
4611
|
+
}
|
|
4212
4612
|
export interface CoAutocompleteCustomEvent<T> extends CustomEvent<T> {
|
|
4213
4613
|
detail: T;
|
|
4214
4614
|
target: HTMLCoAutocompleteElement;
|
|
@@ -4233,6 +4633,10 @@ export interface CoCalendarMonthCustomEvent<T> extends CustomEvent<T> {
|
|
|
4233
4633
|
detail: T;
|
|
4234
4634
|
target: HTMLCoCalendarMonthElement;
|
|
4235
4635
|
}
|
|
4636
|
+
export interface CoCalendarTimegridCustomEvent<T> extends CustomEvent<T> {
|
|
4637
|
+
detail: T;
|
|
4638
|
+
target: HTMLCoCalendarTimegridElement;
|
|
4639
|
+
}
|
|
4236
4640
|
export interface CoCarouselCustomEvent<T> extends CustomEvent<T> {
|
|
4237
4641
|
detail: T;
|
|
4238
4642
|
target: HTMLCoCarouselElement;
|
|
@@ -4289,6 +4693,10 @@ export interface CoDateRangePickerCustomEvent<T> extends CustomEvent<T> {
|
|
|
4289
4693
|
detail: T;
|
|
4290
4694
|
target: HTMLCoDateRangePickerElement;
|
|
4291
4695
|
}
|
|
4696
|
+
export interface CoDateTimePickerCustomEvent<T> extends CustomEvent<T> {
|
|
4697
|
+
detail: T;
|
|
4698
|
+
target: HTMLCoDateTimePickerElement;
|
|
4699
|
+
}
|
|
4292
4700
|
export interface CoDrawerCustomEvent<T> extends CustomEvent<T> {
|
|
4293
4701
|
detail: T;
|
|
4294
4702
|
target: HTMLCoDrawerElement;
|
|
@@ -4305,6 +4713,10 @@ export interface CoEventCalendarCustomEvent<T> extends CustomEvent<T> {
|
|
|
4305
4713
|
detail: T;
|
|
4306
4714
|
target: HTMLCoEventCalendarElement;
|
|
4307
4715
|
}
|
|
4716
|
+
export interface CoEventPopoverCustomEvent<T> extends CustomEvent<T> {
|
|
4717
|
+
detail: T;
|
|
4718
|
+
target: HTMLCoEventPopoverElement;
|
|
4719
|
+
}
|
|
4308
4720
|
export interface CoFabCustomEvent<T> extends CustomEvent<T> {
|
|
4309
4721
|
detail: T;
|
|
4310
4722
|
target: HTMLCoFabElement;
|
|
@@ -4467,6 +4879,40 @@ declare global {
|
|
|
4467
4879
|
prototype: HTMLCoAccordionElement;
|
|
4468
4880
|
new (): HTMLCoAccordionElement;
|
|
4469
4881
|
};
|
|
4882
|
+
interface HTMLCoActionBarElementEventMap {
|
|
4883
|
+
"coDismiss": void;
|
|
4884
|
+
}
|
|
4885
|
+
/**
|
|
4886
|
+
* co-action-bar — pill flotante oscuro para acciones masivas (selection bar).
|
|
4887
|
+
* Superficie INVERSA (surface-primary) + texto inverso, SOLID (regla del DS
|
|
4888
|
+
* para flotantes: nada de glass). El host queda SIEMPRE montado (DOM
|
|
4889
|
+
* persistente): `open` togglea la clase `co-action-bar--open` con transición
|
|
4890
|
+
* translateY(8px)+opacity (~180ms). Con un `v-if` del consumidor la
|
|
4891
|
+
* transición y el primer anuncio aria-live serían código muerto — NO usar.
|
|
4892
|
+
* Anclaje opt-in (calca el contrato de co-fab): `position="bottom-center"`
|
|
4893
|
+
* aplica fixed + centrado en el HOST, separado del borde inferior por
|
|
4894
|
+
* `--co-action-bar-offset` (fallback 24px) y clampado en ancho por
|
|
4895
|
+
* `--co-action-bar-inline-margin` (fallback 24px, VAR PROPIA — desacoplada
|
|
4896
|
+
* a propósito del offset vertical: un consumidor que sube el offset para
|
|
4897
|
+
* despejar toasts/FAB [ej. 92px] no debe perder 2× esos px de ancho
|
|
4898
|
+
* disponible, o la barra desborda con varias acciones). La política de
|
|
4899
|
+
* contenido cuando no cabe (colapsar labels a icon-only, abreviar el conteo)
|
|
4900
|
+
* es del CONSUMIDOR — el componente no scrollea ni reordena.
|
|
4901
|
+
*/
|
|
4902
|
+
interface HTMLCoActionBarElement extends Components.CoActionBar, HTMLStencilElement {
|
|
4903
|
+
addEventListener<K extends keyof HTMLCoActionBarElementEventMap>(type: K, listener: (this: HTMLCoActionBarElement, ev: CoActionBarCustomEvent<HTMLCoActionBarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4904
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4905
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4906
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4907
|
+
removeEventListener<K extends keyof HTMLCoActionBarElementEventMap>(type: K, listener: (this: HTMLCoActionBarElement, ev: CoActionBarCustomEvent<HTMLCoActionBarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4908
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4909
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4910
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4911
|
+
}
|
|
4912
|
+
var HTMLCoActionBarElement: {
|
|
4913
|
+
prototype: HTMLCoActionBarElement;
|
|
4914
|
+
new (): HTMLCoActionBarElement;
|
|
4915
|
+
};
|
|
4470
4916
|
interface HTMLCoAppShellElementEventMap {
|
|
4471
4917
|
"coSidebarModeChange": 'full' | 'min';
|
|
4472
4918
|
}
|
|
@@ -4487,9 +4933,29 @@ declare global {
|
|
|
4487
4933
|
prototype: HTMLCoAppShellElement;
|
|
4488
4934
|
new (): HTMLCoAppShellElement;
|
|
4489
4935
|
};
|
|
4936
|
+
interface HTMLCoAudioPlayerElementEventMap {
|
|
4937
|
+
"coPlay": void;
|
|
4938
|
+
"coPause": void;
|
|
4939
|
+
"coEnded": void;
|
|
4940
|
+
"coError": unknown;
|
|
4941
|
+
}
|
|
4942
|
+
interface HTMLCoAudioPlayerElement extends Components.CoAudioPlayer, HTMLStencilElement {
|
|
4943
|
+
addEventListener<K extends keyof HTMLCoAudioPlayerElementEventMap>(type: K, listener: (this: HTMLCoAudioPlayerElement, ev: CoAudioPlayerCustomEvent<HTMLCoAudioPlayerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4944
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4945
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4946
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4947
|
+
removeEventListener<K extends keyof HTMLCoAudioPlayerElementEventMap>(type: K, listener: (this: HTMLCoAudioPlayerElement, ev: CoAudioPlayerCustomEvent<HTMLCoAudioPlayerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4948
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4949
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4950
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4951
|
+
}
|
|
4952
|
+
var HTMLCoAudioPlayerElement: {
|
|
4953
|
+
prototype: HTMLCoAudioPlayerElement;
|
|
4954
|
+
new (): HTMLCoAudioPlayerElement;
|
|
4955
|
+
};
|
|
4490
4956
|
interface HTMLCoAutocompleteElementEventMap {
|
|
4491
4957
|
"coSearch": string;
|
|
4492
|
-
"coChange": { value: string | string[]; item: { _id: string; label: string } | null };
|
|
4958
|
+
"coChange": { value: string | string[] | null; item: { _id: string; label: string } | null };
|
|
4493
4959
|
"coClear": void;
|
|
4494
4960
|
}
|
|
4495
4961
|
interface HTMLCoAutocompleteElement extends Components.CoAutocomplete, HTMLStencilElement {
|
|
@@ -4643,8 +5109,8 @@ declare global {
|
|
|
4643
5109
|
new (): HTMLCoCalendarElement;
|
|
4644
5110
|
};
|
|
4645
5111
|
interface HTMLCoCalendarMonthElementEventMap {
|
|
4646
|
-
"coDaySelect": { date: string };
|
|
4647
|
-
"coEventClick": { id: string };
|
|
5112
|
+
"coDaySelect": { date: string; rect?: DOMRect };
|
|
5113
|
+
"coEventClick": { id: string; rect?: DOMRect };
|
|
4648
5114
|
"coEventDrop": {
|
|
4649
5115
|
id: string;
|
|
4650
5116
|
start: string;
|
|
@@ -4654,6 +5120,7 @@ declare global {
|
|
|
4654
5120
|
allDay: boolean;
|
|
4655
5121
|
};
|
|
4656
5122
|
"coMoreClick": { date: string };
|
|
5123
|
+
"coEventDblClick": { id: string; rect?: DOMRect };
|
|
4657
5124
|
}
|
|
4658
5125
|
/**
|
|
4659
5126
|
* Month grid for the event calendar. Forks the day grid, roving-tabindex and
|
|
@@ -4678,6 +5145,39 @@ declare global {
|
|
|
4678
5145
|
prototype: HTMLCoCalendarMonthElement;
|
|
4679
5146
|
new (): HTMLCoCalendarMonthElement;
|
|
4680
5147
|
};
|
|
5148
|
+
interface HTMLCoCalendarTimegridElementEventMap {
|
|
5149
|
+
"coRangeSelect": {
|
|
5150
|
+
start: string;
|
|
5151
|
+
end: string;
|
|
5152
|
+
/** Viewport-anchored rect of the selected area, for the host to anchor a quick-create bubble. */
|
|
5153
|
+
rect?: { top: number; left: number; width: number; height: number };
|
|
5154
|
+
};
|
|
5155
|
+
"coEventClick": { id: string; rect?: DOMRect };
|
|
5156
|
+
"coEventDrop": {
|
|
5157
|
+
id: string; start: string; end: string; oldStart: string; oldEnd: string; allDay: boolean;
|
|
5158
|
+
};
|
|
5159
|
+
"coEventDblClick": { id: string; rect?: DOMRect };
|
|
5160
|
+
}
|
|
5161
|
+
/**
|
|
5162
|
+
* co-calendar-timegrid — the Week/Day time-grid. The shell renders it with
|
|
5163
|
+
* `dates` = 7 day-keys (week) or 1 (day). Presentation + interaction only; the
|
|
5164
|
+
* host owns data (CONTROLLED). All instant math is delegated to the engine — the
|
|
5165
|
+
* only timezone boundary is the `timeZone` prop (wall-clock render).
|
|
5166
|
+
*/
|
|
5167
|
+
interface HTMLCoCalendarTimegridElement extends Components.CoCalendarTimegrid, HTMLStencilElement {
|
|
5168
|
+
addEventListener<K extends keyof HTMLCoCalendarTimegridElementEventMap>(type: K, listener: (this: HTMLCoCalendarTimegridElement, ev: CoCalendarTimegridCustomEvent<HTMLCoCalendarTimegridElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5169
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5170
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5171
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
5172
|
+
removeEventListener<K extends keyof HTMLCoCalendarTimegridElementEventMap>(type: K, listener: (this: HTMLCoCalendarTimegridElement, ev: CoCalendarTimegridCustomEvent<HTMLCoCalendarTimegridElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
5173
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5174
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5175
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
5176
|
+
}
|
|
5177
|
+
var HTMLCoCalendarTimegridElement: {
|
|
5178
|
+
prototype: HTMLCoCalendarTimegridElement;
|
|
5179
|
+
new (): HTMLCoCalendarTimegridElement;
|
|
5180
|
+
};
|
|
4681
5181
|
interface HTMLCoCardElement extends Components.CoCard, HTMLStencilElement {
|
|
4682
5182
|
}
|
|
4683
5183
|
var HTMLCoCardElement: {
|
|
@@ -4814,7 +5314,7 @@ declare global {
|
|
|
4814
5314
|
new (): HTMLCoColumnPickerElement;
|
|
4815
5315
|
};
|
|
4816
5316
|
interface HTMLCoComboboxElementEventMap {
|
|
4817
|
-
"coChange": { value: string[] | string; item: { _id: string; label: string } | null };
|
|
5317
|
+
"coChange": { value: string[] | string | null; item: { _id: string; label: string } | null };
|
|
4818
5318
|
"coOpen": void;
|
|
4819
5319
|
"coClose": void;
|
|
4820
5320
|
"coClear": void;
|
|
@@ -5036,6 +5536,52 @@ declare global {
|
|
|
5036
5536
|
prototype: HTMLCoDateRangePickerElement;
|
|
5037
5537
|
new (): HTMLCoDateRangePickerElement;
|
|
5038
5538
|
};
|
|
5539
|
+
interface HTMLCoDateTimePickerElementEventMap {
|
|
5540
|
+
"coChange": string | null;
|
|
5541
|
+
"coClear": void;
|
|
5542
|
+
"coFocus": void;
|
|
5543
|
+
"coBlur": void;
|
|
5544
|
+
"coOpen": void;
|
|
5545
|
+
"coClose": void;
|
|
5546
|
+
}
|
|
5547
|
+
/**
|
|
5548
|
+
* Date + TIME picker: one field, one popover. Composes `co-popover` (floating
|
|
5549
|
+
* panel, outside-click) + `co-calendar` (day grid) + a scrollable list of times
|
|
5550
|
+
* beside it — the Google Calendar layout.
|
|
5551
|
+
* VALUE CONTRACT — the committed `value` is a UTC ISO instant
|
|
5552
|
+
* ("2026-07-25T21:30:00.000Z"), never a wall-clock string. The wall clock the
|
|
5553
|
+
* user sees and edits is rendered in `timeZone` (IANA; browser zone when
|
|
5554
|
+
* omitted). All ISO↔wall-clock conversion goes through the calendar engine
|
|
5555
|
+
* (`@prolibu-suite/cobalt-calendar-utils`), so DST comes from the platform tz
|
|
5556
|
+
* database — the same boundary `co-calendar-timegrid` uses. A date-only value
|
|
5557
|
+
* ("2026-07-25") is NOT an instant: it is read as that wall-clock day in
|
|
5558
|
+
* `timeZone` at {@link DEFAULT_MINUTES} (09:00), never as UTC midnight (which
|
|
5559
|
+
* would shift the day west of UTC).
|
|
5560
|
+
* INTERACTION (Google):
|
|
5561
|
+
* - Click the field → opens. Picking a DAY commits and keeps the panel open
|
|
5562
|
+
* (you almost always want to set the hour next); picking a TIME commits and
|
|
5563
|
+
* closes. So there is no draft/apply step and no confirm button.
|
|
5564
|
+
* - ArrowDown on the field → moves focus into the calendar grid.
|
|
5565
|
+
* - The time list is a listbox: Arrow/Home/End/PageUp/PageDown move the active
|
|
5566
|
+
* option, Enter/Space selects it.
|
|
5567
|
+
* - Escape → closes and returns focus to the field. Outside click → closes.
|
|
5568
|
+
* Escape is owned here (co-popover `closeOnEscape=false`) so focus can return to
|
|
5569
|
+
* the field; outside-click stays with co-popover.
|
|
5570
|
+
*/
|
|
5571
|
+
interface HTMLCoDateTimePickerElement extends Components.CoDateTimePicker, HTMLStencilElement {
|
|
5572
|
+
addEventListener<K extends keyof HTMLCoDateTimePickerElementEventMap>(type: K, listener: (this: HTMLCoDateTimePickerElement, ev: CoDateTimePickerCustomEvent<HTMLCoDateTimePickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5573
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5574
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5575
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
5576
|
+
removeEventListener<K extends keyof HTMLCoDateTimePickerElementEventMap>(type: K, listener: (this: HTMLCoDateTimePickerElement, ev: CoDateTimePickerCustomEvent<HTMLCoDateTimePickerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
5577
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5578
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5579
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
5580
|
+
}
|
|
5581
|
+
var HTMLCoDateTimePickerElement: {
|
|
5582
|
+
prototype: HTMLCoDateTimePickerElement;
|
|
5583
|
+
new (): HTMLCoDateTimePickerElement;
|
|
5584
|
+
};
|
|
5039
5585
|
interface HTMLCoDrawerElementEventMap {
|
|
5040
5586
|
"coClose": void;
|
|
5041
5587
|
"coOpen": void;
|
|
@@ -5122,8 +5668,14 @@ declare global {
|
|
|
5122
5668
|
new (): HTMLCoEmptyStateElement;
|
|
5123
5669
|
};
|
|
5124
5670
|
interface HTMLCoEventCalendarElementEventMap {
|
|
5125
|
-
"coEventClick": { event: NormalizedEvent };
|
|
5126
|
-
"coDateSelect": {
|
|
5671
|
+
"coEventClick": { event: NormalizedEvent; rect: DOMRect | null };
|
|
5672
|
+
"coDateSelect": {
|
|
5673
|
+
start: string;
|
|
5674
|
+
end: string;
|
|
5675
|
+
allDay: boolean;
|
|
5676
|
+
/** Viewport-anchored rect of the selected day/range, for the host to anchor a quick-create bubble. */
|
|
5677
|
+
rect: DOMRect | { top: number; left: number; width: number; height: number } | null;
|
|
5678
|
+
};
|
|
5127
5679
|
"coEventDrop": {
|
|
5128
5680
|
event: NormalizedEvent;
|
|
5129
5681
|
start: string;
|
|
@@ -5133,6 +5685,7 @@ declare global {
|
|
|
5133
5685
|
allDay: boolean;
|
|
5134
5686
|
revert: () => void;
|
|
5135
5687
|
};
|
|
5688
|
+
"coEventDblClick": { event: NormalizedEvent; rect: DOMRect | null };
|
|
5136
5689
|
"coDatesSet": {
|
|
5137
5690
|
view: string;
|
|
5138
5691
|
start: string;
|
|
@@ -5142,17 +5695,6 @@ declare global {
|
|
|
5142
5695
|
"coViewChange": { view: string };
|
|
5143
5696
|
"coMoreClick": { date: string; events: NormalizedEvent[] };
|
|
5144
5697
|
}
|
|
5145
|
-
/**
|
|
5146
|
-
* co-event-calendar — the public entry point of the Cobalt Calendars family.
|
|
5147
|
-
* Owns view state, the visible anchor date, event normalization and the toolbar,
|
|
5148
|
-
* and delegates rendering to the active view (Phase 1: month). All hard math
|
|
5149
|
-
* lives in `@prolibu-suite/cobalt-calendar-utils`. Events are CONTROLLED: the
|
|
5150
|
-
* calendar emits requests (`coEventDrop`, `coDateSelect`) and the host applies
|
|
5151
|
-
* them by updating the `events` prop — leaving it unchanged on failure is the
|
|
5152
|
-
* revert.
|
|
5153
|
-
* Instants are ISO-8601 strings WITH offset/Z (timed) or "YYYY-MM-DD" (all-day);
|
|
5154
|
-
* the calendar never exposes Date objects. `timeZone` controls wall-clock render.
|
|
5155
|
-
*/
|
|
5156
5698
|
interface HTMLCoEventCalendarElement extends Components.CoEventCalendar, HTMLStencilElement {
|
|
5157
5699
|
addEventListener<K extends keyof HTMLCoEventCalendarElementEventMap>(type: K, listener: (this: HTMLCoEventCalendarElement, ev: CoEventCalendarCustomEvent<HTMLCoEventCalendarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5158
5700
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -5167,6 +5709,30 @@ declare global {
|
|
|
5167
5709
|
prototype: HTMLCoEventCalendarElement;
|
|
5168
5710
|
new (): HTMLCoEventCalendarElement;
|
|
5169
5711
|
};
|
|
5712
|
+
interface HTMLCoEventPopoverElementEventMap {
|
|
5713
|
+
"coClose": void;
|
|
5714
|
+
}
|
|
5715
|
+
/**
|
|
5716
|
+
* co-event-popover — anchored detail card (Google-Calendar-style) for a calendar
|
|
5717
|
+
* event. Non-modal, dismissible. Anchors to a viewport `anchorRect` (the chip's
|
|
5718
|
+
* getBoundingClientRect), promotes to the top-layer (the calendar shell has
|
|
5719
|
+
* contain:layout ancestors that re-anchor position:fixed), and closes on Escape /
|
|
5720
|
+
* outside-click. Content is slotted by the host (suite-v2 fills the meeting fields).
|
|
5721
|
+
*/
|
|
5722
|
+
interface HTMLCoEventPopoverElement extends Components.CoEventPopover, HTMLStencilElement {
|
|
5723
|
+
addEventListener<K extends keyof HTMLCoEventPopoverElementEventMap>(type: K, listener: (this: HTMLCoEventPopoverElement, ev: CoEventPopoverCustomEvent<HTMLCoEventPopoverElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5724
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5725
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5726
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
5727
|
+
removeEventListener<K extends keyof HTMLCoEventPopoverElementEventMap>(type: K, listener: (this: HTMLCoEventPopoverElement, ev: CoEventPopoverCustomEvent<HTMLCoEventPopoverElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
5728
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5729
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5730
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
5731
|
+
}
|
|
5732
|
+
var HTMLCoEventPopoverElement: {
|
|
5733
|
+
prototype: HTMLCoEventPopoverElement;
|
|
5734
|
+
new (): HTMLCoEventPopoverElement;
|
|
5735
|
+
};
|
|
5170
5736
|
interface HTMLCoFabElementEventMap {
|
|
5171
5737
|
"coClick": void;
|
|
5172
5738
|
}
|
|
@@ -5529,10 +6095,11 @@ declare global {
|
|
|
5529
6095
|
};
|
|
5530
6096
|
interface HTMLCoOptionListElementEventMap {
|
|
5531
6097
|
"coSearch": string;
|
|
5532
|
-
"coChange": { value: string | string[]; item: OptionListItem };
|
|
6098
|
+
"coChange": { value: string | string[] | null; item: OptionListItem };
|
|
5533
6099
|
"coLoadMore": void;
|
|
5534
6100
|
"coClearSelection": void;
|
|
5535
6101
|
"coRemoveItem": string;
|
|
6102
|
+
"coReorder": { value: string[]; item: OptionListItem };
|
|
5536
6103
|
}
|
|
5537
6104
|
/**
|
|
5538
6105
|
* Núcleo de lista de opciones — la única fuente del look & behavior de los
|
|
@@ -5643,6 +6210,19 @@ declare global {
|
|
|
5643
6210
|
prototype: HTMLCoProgressCircleElement;
|
|
5644
6211
|
new (): HTMLCoProgressCircleElement;
|
|
5645
6212
|
};
|
|
6213
|
+
/**
|
|
6214
|
+
* Logo de marca de un proveedor externo (Google, Microsoft), a color y
|
|
6215
|
+
* self-contained (SVG inline — nunca una URL remota).
|
|
6216
|
+
* `plated` lo monta sobre un disco blanco: es lo que hace legible una marca a
|
|
6217
|
+
* color cuando va encima de una superficie teñida (el badge de un evento de
|
|
6218
|
+
* calendario externo, que hereda el color del calendario).
|
|
6219
|
+
*/
|
|
6220
|
+
interface HTMLCoProviderLogoElement extends Components.CoProviderLogo, HTMLStencilElement {
|
|
6221
|
+
}
|
|
6222
|
+
var HTMLCoProviderLogoElement: {
|
|
6223
|
+
prototype: HTMLCoProviderLogoElement;
|
|
6224
|
+
new (): HTMLCoProviderLogoElement;
|
|
6225
|
+
};
|
|
5646
6226
|
interface HTMLCoRadioElementEventMap {
|
|
5647
6227
|
"coChange": string;
|
|
5648
6228
|
}
|
|
@@ -6118,7 +6698,9 @@ declare global {
|
|
|
6118
6698
|
};
|
|
6119
6699
|
interface HTMLElementTagNameMap {
|
|
6120
6700
|
"co-accordion": HTMLCoAccordionElement;
|
|
6701
|
+
"co-action-bar": HTMLCoActionBarElement;
|
|
6121
6702
|
"co-app-shell": HTMLCoAppShellElement;
|
|
6703
|
+
"co-audio-player": HTMLCoAudioPlayerElement;
|
|
6122
6704
|
"co-autocomplete": HTMLCoAutocompleteElement;
|
|
6123
6705
|
"co-avatar": HTMLCoAvatarElement;
|
|
6124
6706
|
"co-avatar-group": HTMLCoAvatarGroupElement;
|
|
@@ -6130,6 +6712,7 @@ declare global {
|
|
|
6130
6712
|
"co-button-group": HTMLCoButtonGroupElement;
|
|
6131
6713
|
"co-calendar": HTMLCoCalendarElement;
|
|
6132
6714
|
"co-calendar-month": HTMLCoCalendarMonthElement;
|
|
6715
|
+
"co-calendar-timegrid": HTMLCoCalendarTimegridElement;
|
|
6133
6716
|
"co-card": HTMLCoCardElement;
|
|
6134
6717
|
"co-carousel": HTMLCoCarouselElement;
|
|
6135
6718
|
"co-carousel-item": HTMLCoCarouselItemElement;
|
|
@@ -6146,11 +6729,13 @@ declare global {
|
|
|
6146
6729
|
"co-date-picker": HTMLCoDatePickerElement;
|
|
6147
6730
|
"co-date-range": HTMLCoDateRangeElement;
|
|
6148
6731
|
"co-date-range-picker": HTMLCoDateRangePickerElement;
|
|
6732
|
+
"co-date-time-picker": HTMLCoDateTimePickerElement;
|
|
6149
6733
|
"co-drawer": HTMLCoDrawerElement;
|
|
6150
6734
|
"co-drive-card": HTMLCoDriveCardElement;
|
|
6151
6735
|
"co-drop-zone": HTMLCoDropZoneElement;
|
|
6152
6736
|
"co-empty-state": HTMLCoEmptyStateElement;
|
|
6153
6737
|
"co-event-calendar": HTMLCoEventCalendarElement;
|
|
6738
|
+
"co-event-popover": HTMLCoEventPopoverElement;
|
|
6154
6739
|
"co-fab": HTMLCoFabElement;
|
|
6155
6740
|
"co-file-field": HTMLCoFileFieldElement;
|
|
6156
6741
|
"co-file-type-tile": HTMLCoFileTypeTileElement;
|
|
@@ -6177,6 +6762,7 @@ declare global {
|
|
|
6177
6762
|
"co-popover": HTMLCoPopoverElement;
|
|
6178
6763
|
"co-progress-bar": HTMLCoProgressBarElement;
|
|
6179
6764
|
"co-progress-circle": HTMLCoProgressCircleElement;
|
|
6765
|
+
"co-provider-logo": HTMLCoProviderLogoElement;
|
|
6180
6766
|
"co-radio": HTMLCoRadioElement;
|
|
6181
6767
|
"co-radio-group": HTMLCoRadioGroupElement;
|
|
6182
6768
|
"co-rating": HTMLCoRatingElement;
|
|
@@ -6238,6 +6824,52 @@ declare namespace LocalJSX {
|
|
|
6238
6824
|
*/
|
|
6239
6825
|
"subheading"?: string;
|
|
6240
6826
|
}
|
|
6827
|
+
/**
|
|
6828
|
+
* co-action-bar — pill flotante oscuro para acciones masivas (selection bar).
|
|
6829
|
+
* Superficie INVERSA (surface-primary) + texto inverso, SOLID (regla del DS
|
|
6830
|
+
* para flotantes: nada de glass). El host queda SIEMPRE montado (DOM
|
|
6831
|
+
* persistente): `open` togglea la clase `co-action-bar--open` con transición
|
|
6832
|
+
* translateY(8px)+opacity (~180ms). Con un `v-if` del consumidor la
|
|
6833
|
+
* transición y el primer anuncio aria-live serían código muerto — NO usar.
|
|
6834
|
+
* Anclaje opt-in (calca el contrato de co-fab): `position="bottom-center"`
|
|
6835
|
+
* aplica fixed + centrado en el HOST, separado del borde inferior por
|
|
6836
|
+
* `--co-action-bar-offset` (fallback 24px) y clampado en ancho por
|
|
6837
|
+
* `--co-action-bar-inline-margin` (fallback 24px, VAR PROPIA — desacoplada
|
|
6838
|
+
* a propósito del offset vertical: un consumidor que sube el offset para
|
|
6839
|
+
* despejar toasts/FAB [ej. 92px] no debe perder 2× esos px de ancho
|
|
6840
|
+
* disponible, o la barra desborda con varias acciones). La política de
|
|
6841
|
+
* contenido cuando no cabe (colapsar labels a icon-only, abreviar el conteo)
|
|
6842
|
+
* es del CONSUMIDOR — el componente no scrollea ni reordena.
|
|
6843
|
+
*/
|
|
6844
|
+
interface CoActionBar {
|
|
6845
|
+
/**
|
|
6846
|
+
* aria-label del role="group". Cae al `label` si no se pasa.
|
|
6847
|
+
*/
|
|
6848
|
+
"ariaLabelText"?: string;
|
|
6849
|
+
/**
|
|
6850
|
+
* Muestra la X de descarte (emite coDismiss).
|
|
6851
|
+
* @default true
|
|
6852
|
+
*/
|
|
6853
|
+
"dismissible"?: boolean;
|
|
6854
|
+
/**
|
|
6855
|
+
* Texto del conteo/estado ("3 elementos seleccionados"). Fuente ÚNICA del anuncio aria-live.
|
|
6856
|
+
*/
|
|
6857
|
+
"label"?: string;
|
|
6858
|
+
/**
|
|
6859
|
+
* Click en la X de descarte.
|
|
6860
|
+
*/
|
|
6861
|
+
"onCoDismiss"?: (event: CoActionBarCustomEvent<void>) => void;
|
|
6862
|
+
/**
|
|
6863
|
+
* Visibilidad. El DOM persiste; open solo togglea la clase --open.
|
|
6864
|
+
* @default false
|
|
6865
|
+
*/
|
|
6866
|
+
"open"?: boolean;
|
|
6867
|
+
/**
|
|
6868
|
+
* Anclaje opt-in: 'bottom-center' aplica fixed+centrado en el HOST vía :host([position='bottom-center']) — por eso la prop se REFLEJA a atributo. 'none' deja el flujo normal (consumidores draggable/absolute posicionan ellos, como co-fab).
|
|
6869
|
+
* @default 'none'
|
|
6870
|
+
*/
|
|
6871
|
+
"position"?: 'bottom-center' | 'none';
|
|
6872
|
+
}
|
|
6241
6873
|
/**
|
|
6242
6874
|
* App Shell — Main application layout with navbar, sidebar, and content area.
|
|
6243
6875
|
*/
|
|
@@ -6257,6 +6889,46 @@ declare namespace LocalJSX {
|
|
|
6257
6889
|
*/
|
|
6258
6890
|
"sidebarMode"?: 'full' | 'min';
|
|
6259
6891
|
}
|
|
6892
|
+
interface CoAudioPlayer {
|
|
6893
|
+
/**
|
|
6894
|
+
* Pixels per waveform bar (bar + gap). Lower = denser/more detailed, like V1 (`SkAudioPlayer` used 3). The measured bar count = floor(width / barDensity).
|
|
6895
|
+
* @default 3
|
|
6896
|
+
*/
|
|
6897
|
+
"barDensity"?: number;
|
|
6898
|
+
/**
|
|
6899
|
+
* Fallback bar count used before the container width is measured. Once measured, the real bar count is derived from the width via `barDensity` (V1 parity: a dense, detail-rich waveform rather than a fixed count).
|
|
6900
|
+
* @default 64
|
|
6901
|
+
*/
|
|
6902
|
+
"bars"?: number;
|
|
6903
|
+
/**
|
|
6904
|
+
* Compact variant: narrower, hides the download button.
|
|
6905
|
+
* @default false
|
|
6906
|
+
*/
|
|
6907
|
+
"compact"?: boolean;
|
|
6908
|
+
/**
|
|
6909
|
+
* Filename for the download button.
|
|
6910
|
+
* @default 'audio'
|
|
6911
|
+
*/
|
|
6912
|
+
"downloadFilename"?: string;
|
|
6913
|
+
/**
|
|
6914
|
+
* Hide the download button even in full mode.
|
|
6915
|
+
* @default false
|
|
6916
|
+
*/
|
|
6917
|
+
"noDownload"?: boolean;
|
|
6918
|
+
"onCoEnded"?: (event: CoAudioPlayerCustomEvent<void>) => void;
|
|
6919
|
+
"onCoError"?: (event: CoAudioPlayerCustomEvent<unknown>) => void;
|
|
6920
|
+
"onCoPause"?: (event: CoAudioPlayerCustomEvent<void>) => void;
|
|
6921
|
+
"onCoPlay"?: (event: CoAudioPlayerCustomEvent<void>) => void;
|
|
6922
|
+
/**
|
|
6923
|
+
* Passthrough to the underlying <audio> preload.
|
|
6924
|
+
* @default 'metadata'
|
|
6925
|
+
*/
|
|
6926
|
+
"preload"?: 'none' | 'metadata';
|
|
6927
|
+
/**
|
|
6928
|
+
* Audio URL (use a signedUrl for private buckets).
|
|
6929
|
+
*/
|
|
6930
|
+
"src"?: string;
|
|
6931
|
+
}
|
|
6260
6932
|
interface CoAutocomplete {
|
|
6261
6933
|
/**
|
|
6262
6934
|
* @default true
|
|
@@ -6292,7 +6964,7 @@ declare namespace LocalJSX {
|
|
|
6292
6964
|
* @default false
|
|
6293
6965
|
*/
|
|
6294
6966
|
"multiple"?: boolean;
|
|
6295
|
-
"onCoChange"?: (event: CoAutocompleteCustomEvent<{ value: string | string[]; item: { _id: string; label: string } | null }>) => void;
|
|
6967
|
+
"onCoChange"?: (event: CoAutocompleteCustomEvent<{ value: string | string[] | null; item: { _id: string; label: string } | null }>) => void;
|
|
6296
6968
|
"onCoClear"?: (event: CoAutocompleteCustomEvent<void>) => void;
|
|
6297
6969
|
/**
|
|
6298
6970
|
* Fired when the user types (after debounce). Host should fetch and set options.
|
|
@@ -6548,6 +7220,10 @@ declare namespace LocalJSX {
|
|
|
6548
7220
|
"value"?: string;
|
|
6549
7221
|
}
|
|
6550
7222
|
interface CoButton {
|
|
7223
|
+
/**
|
|
7224
|
+
* Accessible name override for icon-only buttons (no visible `label`/slot text, e.g. an icon-only action inside `co-action-bar`) — the shadow `<button>` otherwise has no accessible name. Mirrors the exact `ariaLabelText` precedent of `co-fab`/`co-icon-button`. Only sets `aria-label` when THIS prop is passed — when a visible `label`/slot IS present, its text content already gives the button an accessible name, so leaving `ariaLabelText` unset avoids a duplicate/overriding aria-label.
|
|
7225
|
+
*/
|
|
7226
|
+
"ariaLabelText"?: string;
|
|
6551
7227
|
/**
|
|
6552
7228
|
* Custom background color (CSS value or token, e.g. "var(--co-color-secondary-rojo-100)")
|
|
6553
7229
|
*/
|
|
@@ -6594,7 +7270,7 @@ declare namespace LocalJSX {
|
|
|
6594
7270
|
*/
|
|
6595
7271
|
"size"?: 'l' | 'm' | 's' | 'xs';
|
|
6596
7272
|
/**
|
|
6597
|
-
* Surface the button sits on. On "dark", ghost/stroke variants switch to white ink + blanco-16 hover.
|
|
7273
|
+
* Surface the button sits on. On "dark", ghost/stroke variants switch to white ink + blanco-16 hover; danger keeps its solid error fill but swaps the fade-hover for a lighten-hover + white focus ring (dark bars dim a faded red). Receta oficial de acciones de barra (co-action-bar): `variant="ghost"|"stroke" surface="dark"`; Eliminar = `variant="danger" surface="dark"`.
|
|
6598
7274
|
* @default 'light'
|
|
6599
7275
|
*/
|
|
6600
7276
|
"surface"?: 'light' | 'dark';
|
|
@@ -6729,6 +7405,11 @@ declare namespace LocalJSX {
|
|
|
6729
7405
|
* @default 1
|
|
6730
7406
|
*/
|
|
6731
7407
|
"firstDayOfWeek"?: number;
|
|
7408
|
+
/**
|
|
7409
|
+
* Cargando: en vez de los chips pinta bloques skeleton en sus carriles. La grilla del mes (cabecera de días, celdas, números, bordes) no se toca.
|
|
7410
|
+
* @default false
|
|
7411
|
+
*/
|
|
7412
|
+
"loading"?: boolean;
|
|
6732
7413
|
/**
|
|
6733
7414
|
* BCP-47 locale for weekday labels.
|
|
6734
7415
|
* @default 'es-CO'
|
|
@@ -6744,49 +7425,139 @@ declare namespace LocalJSX {
|
|
|
6744
7425
|
*/
|
|
6745
7426
|
"maxLanes"?: number;
|
|
6746
7427
|
/**
|
|
6747
|
-
* Earliest interactable day "YYYY-MM-DD" (gates select/drag — past-block).
|
|
7428
|
+
* Earliest interactable day "YYYY-MM-DD" (gates select/drag — past-block).
|
|
7429
|
+
*/
|
|
7430
|
+
"minDate"?: string;
|
|
7431
|
+
/**
|
|
7432
|
+
* Month shown (1-12).
|
|
7433
|
+
*/
|
|
7434
|
+
"month": number;
|
|
7435
|
+
/**
|
|
7436
|
+
* Emitted when an empty day is selected (create request). Detail = "YYYY-MM-DD".
|
|
7437
|
+
*/
|
|
7438
|
+
"onCoDaySelect"?: (event: CoCalendarMonthCustomEvent<{ date: string; rect?: DOMRect }>) => void;
|
|
7439
|
+
/**
|
|
7440
|
+
* Emitted when an event chip is activated.
|
|
7441
|
+
*/
|
|
7442
|
+
"onCoEventClick"?: (event: CoCalendarMonthCustomEvent<{ id: string; rect?: DOMRect }>) => void;
|
|
7443
|
+
/**
|
|
7444
|
+
* Doble activación de un chip (direct-edit request del host).
|
|
7445
|
+
*/
|
|
7446
|
+
"onCoEventDblClick"?: (event: CoCalendarMonthCustomEvent<{ id: string; rect?: DOMRect }>) => void;
|
|
7447
|
+
/**
|
|
7448
|
+
* Emitted on a completed drag-move (day granularity).
|
|
7449
|
+
*/
|
|
7450
|
+
"onCoEventDrop"?: (event: CoCalendarMonthCustomEvent<{
|
|
7451
|
+
id: string;
|
|
7452
|
+
start: string;
|
|
7453
|
+
end: string;
|
|
7454
|
+
oldStart: string;
|
|
7455
|
+
oldEnd: string;
|
|
7456
|
+
allDay: boolean;
|
|
7457
|
+
}>) => void;
|
|
7458
|
+
/**
|
|
7459
|
+
* Emitted when the "+N more" affordance is activated.
|
|
7460
|
+
*/
|
|
7461
|
+
"onCoMoreClick"?: (event: CoCalendarMonthCustomEvent<{ date: string }>) => void;
|
|
7462
|
+
/**
|
|
7463
|
+
* Allow empty-day click to request a create.
|
|
7464
|
+
* @default true
|
|
7465
|
+
*/
|
|
7466
|
+
"selectable"?: boolean;
|
|
7467
|
+
/**
|
|
7468
|
+
* IANA timezone used to place timed events on their wall-clock day.
|
|
7469
|
+
*/
|
|
7470
|
+
"timeZone": string;
|
|
7471
|
+
/**
|
|
7472
|
+
* Year shown.
|
|
7473
|
+
*/
|
|
7474
|
+
"year": number;
|
|
7475
|
+
}
|
|
7476
|
+
/**
|
|
7477
|
+
* co-calendar-timegrid — the Week/Day time-grid. The shell renders it with
|
|
7478
|
+
* `dates` = 7 day-keys (week) or 1 (day). Presentation + interaction only; the
|
|
7479
|
+
* host owns data (CONTROLLED). All instant math is delegated to the engine — the
|
|
7480
|
+
* only timezone boundary is the `timeZone` prop (wall-clock render).
|
|
7481
|
+
*/
|
|
7482
|
+
interface CoCalendarTimegrid {
|
|
7483
|
+
/**
|
|
7484
|
+
* @default true
|
|
7485
|
+
*/
|
|
7486
|
+
"allDaySlot"?: boolean;
|
|
7487
|
+
/**
|
|
7488
|
+
* Visible day keys "YYYY-MM-DD" (7 = week, 1 = day).
|
|
7489
|
+
* @default []
|
|
7490
|
+
*/
|
|
7491
|
+
"dates"?: string[];
|
|
7492
|
+
/**
|
|
7493
|
+
* @default 60
|
|
7494
|
+
*/
|
|
7495
|
+
"defaultDurationMinutes"?: number;
|
|
7496
|
+
/**
|
|
7497
|
+
* @default true
|
|
7498
|
+
*/
|
|
7499
|
+
"editable"?: boolean;
|
|
7500
|
+
/**
|
|
7501
|
+
* @default []
|
|
7502
|
+
*/
|
|
7503
|
+
"events"?: NormalizedEvent[];
|
|
7504
|
+
/**
|
|
7505
|
+
* Cargando: en vez de los eventos pinta bloques skeleton en las columnas. La grilla (eje de horas, líneas, cabecera de días, franja de todo-el-día) se mantiene: lo único que todavía no se sabe son los eventos.
|
|
7506
|
+
* @default false
|
|
7507
|
+
*/
|
|
7508
|
+
"loading"?: boolean;
|
|
7509
|
+
/**
|
|
7510
|
+
* @default 'es-CO'
|
|
7511
|
+
*/
|
|
7512
|
+
"locale"?: string;
|
|
7513
|
+
"maxDate"?: string;
|
|
7514
|
+
/**
|
|
7515
|
+
* @default '24:00'
|
|
6748
7516
|
*/
|
|
7517
|
+
"maxTime"?: string;
|
|
6749
7518
|
"minDate"?: string;
|
|
6750
7519
|
/**
|
|
6751
|
-
*
|
|
7520
|
+
* @default '00:00'
|
|
6752
7521
|
*/
|
|
6753
|
-
"
|
|
7522
|
+
"minTime"?: string;
|
|
6754
7523
|
/**
|
|
6755
|
-
*
|
|
7524
|
+
* @default true
|
|
6756
7525
|
*/
|
|
6757
|
-
"
|
|
7526
|
+
"nowIndicator"?: boolean;
|
|
7527
|
+
"onCoEventClick"?: (event: CoCalendarTimegridCustomEvent<{ id: string; rect?: DOMRect }>) => void;
|
|
6758
7528
|
/**
|
|
6759
|
-
*
|
|
7529
|
+
* Doble activación de un chip (direct-edit request del host).
|
|
6760
7530
|
*/
|
|
6761
|
-
"
|
|
7531
|
+
"onCoEventDblClick"?: (event: CoCalendarTimegridCustomEvent<{ id: string; rect?: DOMRect }>) => void;
|
|
7532
|
+
"onCoEventDrop"?: (event: CoCalendarTimegridCustomEvent<{
|
|
7533
|
+
id: string; start: string; end: string; oldStart: string; oldEnd: string; allDay: boolean;
|
|
7534
|
+
}>) => void;
|
|
6762
7535
|
/**
|
|
6763
|
-
*
|
|
7536
|
+
* A time range was selected on an empty area (create request).
|
|
6764
7537
|
*/
|
|
6765
|
-
"
|
|
6766
|
-
id: string;
|
|
7538
|
+
"onCoRangeSelect"?: (event: CoCalendarTimegridCustomEvent<{
|
|
6767
7539
|
start: string;
|
|
6768
7540
|
end: string;
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
allDay: boolean;
|
|
7541
|
+
/** Viewport-anchored rect of the selected area, for the host to anchor a quick-create bubble. */
|
|
7542
|
+
rect?: { top: number; left: number; width: number; height: number };
|
|
6772
7543
|
}>) => void;
|
|
6773
7544
|
/**
|
|
6774
|
-
*
|
|
7545
|
+
* @default '07:00'
|
|
6775
7546
|
*/
|
|
6776
|
-
"
|
|
7547
|
+
"scrollTime"?: string;
|
|
6777
7548
|
/**
|
|
6778
|
-
* Allow empty-day click to request a create.
|
|
6779
7549
|
* @default true
|
|
6780
7550
|
*/
|
|
6781
7551
|
"selectable"?: boolean;
|
|
6782
7552
|
/**
|
|
6783
|
-
*
|
|
7553
|
+
* @default 15
|
|
6784
7554
|
*/
|
|
6785
|
-
"
|
|
7555
|
+
"slotMinutes"?: number;
|
|
6786
7556
|
/**
|
|
6787
|
-
*
|
|
7557
|
+
* @default 15
|
|
6788
7558
|
*/
|
|
6789
|
-
"
|
|
7559
|
+
"snapMinutes"?: number;
|
|
7560
|
+
"timeZone": string;
|
|
6790
7561
|
}
|
|
6791
7562
|
interface CoCard {
|
|
6792
7563
|
/**
|
|
@@ -7258,7 +8029,7 @@ declare namespace LocalJSX {
|
|
|
7258
8029
|
/**
|
|
7259
8030
|
* Emitted when the selection changes. `item` is the picked option (the option-list's native `{ _id, label }` shape); `null` on clear.
|
|
7260
8031
|
*/
|
|
7261
|
-
"onCoChange"?: (event: CoComboboxCustomEvent<{ value: string[] | string; item: { _id: string; label: string } | null }>) => void;
|
|
8032
|
+
"onCoChange"?: (event: CoComboboxCustomEvent<{ value: string[] | string | null; item: { _id: string; label: string } | null }>) => void;
|
|
7262
8033
|
/**
|
|
7263
8034
|
* Emitted when the clear button is clicked
|
|
7264
8035
|
*/
|
|
@@ -7983,6 +8754,138 @@ declare namespace LocalJSX {
|
|
|
7983
8754
|
*/
|
|
7984
8755
|
"variant"?: 'default' | 'flat';
|
|
7985
8756
|
}
|
|
8757
|
+
/**
|
|
8758
|
+
* Date + TIME picker: one field, one popover. Composes `co-popover` (floating
|
|
8759
|
+
* panel, outside-click) + `co-calendar` (day grid) + a scrollable list of times
|
|
8760
|
+
* beside it — the Google Calendar layout.
|
|
8761
|
+
* VALUE CONTRACT — the committed `value` is a UTC ISO instant
|
|
8762
|
+
* ("2026-07-25T21:30:00.000Z"), never a wall-clock string. The wall clock the
|
|
8763
|
+
* user sees and edits is rendered in `timeZone` (IANA; browser zone when
|
|
8764
|
+
* omitted). All ISO↔wall-clock conversion goes through the calendar engine
|
|
8765
|
+
* (`@prolibu-suite/cobalt-calendar-utils`), so DST comes from the platform tz
|
|
8766
|
+
* database — the same boundary `co-calendar-timegrid` uses. A date-only value
|
|
8767
|
+
* ("2026-07-25") is NOT an instant: it is read as that wall-clock day in
|
|
8768
|
+
* `timeZone` at {@link DEFAULT_MINUTES} (09:00), never as UTC midnight (which
|
|
8769
|
+
* would shift the day west of UTC).
|
|
8770
|
+
* INTERACTION (Google):
|
|
8771
|
+
* - Click the field → opens. Picking a DAY commits and keeps the panel open
|
|
8772
|
+
* (you almost always want to set the hour next); picking a TIME commits and
|
|
8773
|
+
* closes. So there is no draft/apply step and no confirm button.
|
|
8774
|
+
* - ArrowDown on the field → moves focus into the calendar grid.
|
|
8775
|
+
* - The time list is a listbox: Arrow/Home/End/PageUp/PageDown move the active
|
|
8776
|
+
* option, Enter/Space selects it.
|
|
8777
|
+
* - Escape → closes and returns focus to the field. Outside click → closes.
|
|
8778
|
+
* Escape is owned here (co-popover `closeOnEscape=false`) so focus can return to
|
|
8779
|
+
* the field; outside-click stays with co-popover.
|
|
8780
|
+
*/
|
|
8781
|
+
interface CoDateTimePicker {
|
|
8782
|
+
/**
|
|
8783
|
+
* @default true
|
|
8784
|
+
*/
|
|
8785
|
+
"clearable"?: boolean;
|
|
8786
|
+
/**
|
|
8787
|
+
* @default false
|
|
8788
|
+
*/
|
|
8789
|
+
"disabled"?: boolean;
|
|
8790
|
+
"disabledDates"?: string[] | string;
|
|
8791
|
+
"disabledDaysOfWeek"?: number[] | string;
|
|
8792
|
+
/**
|
|
8793
|
+
* Date part of the trigger text (tokens yyyy/yy/MMMM/MMM/MM/M/dd/d).
|
|
8794
|
+
* @default 'd MMM yyyy'
|
|
8795
|
+
*/
|
|
8796
|
+
"displayFormat"?: string;
|
|
8797
|
+
"errorMessage"?: string;
|
|
8798
|
+
/**
|
|
8799
|
+
* @default 1
|
|
8800
|
+
*/
|
|
8801
|
+
"firstDayOfWeek"?: number;
|
|
8802
|
+
"helperText"?: string;
|
|
8803
|
+
/**
|
|
8804
|
+
* 12-hour clock (Google style). `false` renders a 24h clock.
|
|
8805
|
+
* @default true
|
|
8806
|
+
*/
|
|
8807
|
+
"hour12"?: boolean;
|
|
8808
|
+
/**
|
|
8809
|
+
* @default false
|
|
8810
|
+
*/
|
|
8811
|
+
"invalid"?: boolean;
|
|
8812
|
+
"label"?: string;
|
|
8813
|
+
/**
|
|
8814
|
+
* Label layout: vertical (label above) or horizontal (label beside).
|
|
8815
|
+
* @default 'vertical'
|
|
8816
|
+
*/
|
|
8817
|
+
"layout"?: 'vertical' | 'horizontal';
|
|
8818
|
+
/**
|
|
8819
|
+
* @default 'es-CO'
|
|
8820
|
+
*/
|
|
8821
|
+
"locale"?: string;
|
|
8822
|
+
/**
|
|
8823
|
+
* Latest selectable day. Date-only "YYYY-MM-DD" or an instant.
|
|
8824
|
+
*/
|
|
8825
|
+
"max"?: string;
|
|
8826
|
+
/**
|
|
8827
|
+
* Earliest selectable day. Date-only "YYYY-MM-DD" or an instant.
|
|
8828
|
+
*/
|
|
8829
|
+
"min"?: string;
|
|
8830
|
+
/**
|
|
8831
|
+
* Max viewport width (px) that renders the panel as a bottom sheet.
|
|
8832
|
+
* @default 600
|
|
8833
|
+
*/
|
|
8834
|
+
"mobileBreakpoint"?: number;
|
|
8835
|
+
"name"?: string;
|
|
8836
|
+
"onCoBlur"?: (event: CoDateTimePickerCustomEvent<void>) => void;
|
|
8837
|
+
/**
|
|
8838
|
+
* Committed instant (UTC ISO) or null.
|
|
8839
|
+
*/
|
|
8840
|
+
"onCoChange"?: (event: CoDateTimePickerCustomEvent<string | null>) => void;
|
|
8841
|
+
"onCoClear"?: (event: CoDateTimePickerCustomEvent<void>) => void;
|
|
8842
|
+
"onCoClose"?: (event: CoDateTimePickerCustomEvent<void>) => void;
|
|
8843
|
+
"onCoFocus"?: (event: CoDateTimePickerCustomEvent<void>) => void;
|
|
8844
|
+
"onCoOpen"?: (event: CoDateTimePickerCustomEvent<void>) => void;
|
|
8845
|
+
/**
|
|
8846
|
+
* Whether the panel is open.
|
|
8847
|
+
* @default false
|
|
8848
|
+
*/
|
|
8849
|
+
"open"?: boolean;
|
|
8850
|
+
"placeholder"?: string;
|
|
8851
|
+
/**
|
|
8852
|
+
* Popover placement relative to the field.
|
|
8853
|
+
* @default 'bottom-start'
|
|
8854
|
+
*/
|
|
8855
|
+
"placement"?: Placement;
|
|
8856
|
+
/**
|
|
8857
|
+
* @default false
|
|
8858
|
+
*/
|
|
8859
|
+
"readonly"?: boolean;
|
|
8860
|
+
/**
|
|
8861
|
+
* @default false
|
|
8862
|
+
*/
|
|
8863
|
+
"required"?: boolean;
|
|
8864
|
+
/**
|
|
8865
|
+
* Field size, mirrors co-input/co-date-field: s 28 / sm 32 / md 40 / lg 48.
|
|
8866
|
+
* @default 'md'
|
|
8867
|
+
*/
|
|
8868
|
+
"size"?: 's' | 'sm' | 'md' | 'lg';
|
|
8869
|
+
/**
|
|
8870
|
+
* Minutes between consecutive options in the time list.
|
|
8871
|
+
* @default 15
|
|
8872
|
+
*/
|
|
8873
|
+
"stepMinutes"?: number;
|
|
8874
|
+
/**
|
|
8875
|
+
* IANA zone the wall clock is rendered in. Defaults to the browser zone.
|
|
8876
|
+
*/
|
|
8877
|
+
"timeZone"?: string;
|
|
8878
|
+
/**
|
|
8879
|
+
* Committed value: UTC ISO instant ("2026-07-25T21:30:00.000Z") or null.
|
|
8880
|
+
* @default null
|
|
8881
|
+
*/
|
|
8882
|
+
"value"?: string | null;
|
|
8883
|
+
/**
|
|
8884
|
+
* `flat` strips the trigger's border/background so it reads as content.
|
|
8885
|
+
* @default 'default'
|
|
8886
|
+
*/
|
|
8887
|
+
"variant"?: 'default' | 'flat';
|
|
8888
|
+
}
|
|
7986
8889
|
interface CoDrawer {
|
|
7987
8890
|
/**
|
|
7988
8891
|
* Show close (X) button in header
|
|
@@ -8194,18 +9097,12 @@ declare namespace LocalJSX {
|
|
|
8194
9097
|
*/
|
|
8195
9098
|
"variant"?: 'plain' | 'card';
|
|
8196
9099
|
}
|
|
8197
|
-
/**
|
|
8198
|
-
* co-event-calendar — the public entry point of the Cobalt Calendars family.
|
|
8199
|
-
* Owns view state, the visible anchor date, event normalization and the toolbar,
|
|
8200
|
-
* and delegates rendering to the active view (Phase 1: month). All hard math
|
|
8201
|
-
* lives in `@prolibu-suite/cobalt-calendar-utils`. Events are CONTROLLED: the
|
|
8202
|
-
* calendar emits requests (`coEventDrop`, `coDateSelect`) and the host applies
|
|
8203
|
-
* them by updating the `events` prop — leaving it unchanged on failure is the
|
|
8204
|
-
* revert.
|
|
8205
|
-
* Instants are ISO-8601 strings WITH offset/Z (timed) or "YYYY-MM-DD" (all-day);
|
|
8206
|
-
* the calendar never exposes Date objects. `timeZone` controls wall-clock render.
|
|
8207
|
-
*/
|
|
8208
9100
|
interface CoEventCalendar {
|
|
9101
|
+
/**
|
|
9102
|
+
* Show the all-day lane in week/day views.
|
|
9103
|
+
* @default true
|
|
9104
|
+
*/
|
|
9105
|
+
"allDaySlot"?: boolean;
|
|
8209
9106
|
/**
|
|
8210
9107
|
* Views offered in the switcher. Defaults to the implemented set.
|
|
8211
9108
|
* @default ['month']
|
|
@@ -8240,6 +9137,11 @@ declare namespace LocalJSX {
|
|
|
8240
9137
|
* @default 1
|
|
8241
9138
|
*/
|
|
8242
9139
|
"firstDayOfWeek"?: number;
|
|
9140
|
+
/**
|
|
9141
|
+
* Cargando eventos: se propaga a la grilla (mes/timegrid), que reemplaza SUS chips por bloques skeleton y conserva toda su estructura — bordes, cabecera de días, eje de horas. El toolbar sigue operable y nada se desmonta, así no se pierde el scroll de semana/día.
|
|
9142
|
+
* @default false
|
|
9143
|
+
*/
|
|
9144
|
+
"loading"?: boolean;
|
|
8243
9145
|
/**
|
|
8244
9146
|
* BCP-47 locale for labels.
|
|
8245
9147
|
* @default 'es-CO'
|
|
@@ -8249,14 +9151,34 @@ declare namespace LocalJSX {
|
|
|
8249
9151
|
* Latest interactable day "YYYY-MM-DD".
|
|
8250
9152
|
*/
|
|
8251
9153
|
"maxDate"?: string;
|
|
9154
|
+
/**
|
|
9155
|
+
* @default '24:00'
|
|
9156
|
+
*/
|
|
9157
|
+
"maxTime"?: string;
|
|
8252
9158
|
/**
|
|
8253
9159
|
* Earliest interactable day "YYYY-MM-DD" (past-block).
|
|
8254
9160
|
*/
|
|
8255
9161
|
"minDate"?: string;
|
|
9162
|
+
/**
|
|
9163
|
+
* Visible-hours window for week/day (minutes-of-day bounds as "HH:mm").
|
|
9164
|
+
* @default '00:00'
|
|
9165
|
+
*/
|
|
9166
|
+
"minTime"?: string;
|
|
9167
|
+
/**
|
|
9168
|
+
* Show the current-time indicator in week/day.
|
|
9169
|
+
* @default true
|
|
9170
|
+
*/
|
|
9171
|
+
"nowIndicator"?: boolean;
|
|
8256
9172
|
/**
|
|
8257
9173
|
* A date/range was selected (create request).
|
|
8258
9174
|
*/
|
|
8259
|
-
"onCoDateSelect"?: (event: CoEventCalendarCustomEvent<{
|
|
9175
|
+
"onCoDateSelect"?: (event: CoEventCalendarCustomEvent<{
|
|
9176
|
+
start: string;
|
|
9177
|
+
end: string;
|
|
9178
|
+
allDay: boolean;
|
|
9179
|
+
/** Viewport-anchored rect of the selected day/range, for the host to anchor a quick-create bubble. */
|
|
9180
|
+
rect: DOMRect | { top: number; left: number; width: number; height: number } | null;
|
|
9181
|
+
}>) => void;
|
|
8260
9182
|
/**
|
|
8261
9183
|
* The visible period changed → host should refetch and persist the view pref.
|
|
8262
9184
|
*/
|
|
@@ -8269,7 +9191,11 @@ declare namespace LocalJSX {
|
|
|
8269
9191
|
/**
|
|
8270
9192
|
* An event chip was activated.
|
|
8271
9193
|
*/
|
|
8272
|
-
"onCoEventClick"?: (event: CoEventCalendarCustomEvent<{ event: NormalizedEvent }>) => void;
|
|
9194
|
+
"onCoEventClick"?: (event: CoEventCalendarCustomEvent<{ event: NormalizedEvent; rect: DOMRect | null }>) => void;
|
|
9195
|
+
/**
|
|
9196
|
+
* An event chip was double-activated (direct-edit request).
|
|
9197
|
+
*/
|
|
9198
|
+
"onCoEventDblClick"?: (event: CoEventCalendarCustomEvent<{ event: NormalizedEvent; rect: DOMRect | null }>) => void;
|
|
8273
9199
|
/**
|
|
8274
9200
|
* An event was dragged to a new time (move). `revert` is a host convenience.
|
|
8275
9201
|
*/
|
|
@@ -8290,25 +9216,82 @@ declare namespace LocalJSX {
|
|
|
8290
9216
|
* The active view changed.
|
|
8291
9217
|
*/
|
|
8292
9218
|
"onCoViewChange"?: (event: CoEventCalendarCustomEvent<{ view: string }>) => void;
|
|
9219
|
+
/**
|
|
9220
|
+
* Initial scroll position for week/day ("HH:mm").
|
|
9221
|
+
* @default '07:00'
|
|
9222
|
+
*/
|
|
9223
|
+
"scrollTime"?: string;
|
|
8293
9224
|
/**
|
|
8294
9225
|
* Allow empty-day selection to request a create.
|
|
8295
9226
|
* @default true
|
|
8296
9227
|
*/
|
|
8297
9228
|
"selectable"?: boolean;
|
|
9229
|
+
/**
|
|
9230
|
+
* Slot/snap granularity (minutes) for week/day.
|
|
9231
|
+
* @default 15
|
|
9232
|
+
*/
|
|
9233
|
+
"slotMinutes"?: number;
|
|
9234
|
+
/**
|
|
9235
|
+
* @default 15
|
|
9236
|
+
*/
|
|
9237
|
+
"snapMinutes"?: number;
|
|
8298
9238
|
/**
|
|
8299
9239
|
* Optional status→{backgroundColor,borderColor} map (object or JSON string).
|
|
8300
9240
|
*/
|
|
8301
|
-
"statusColors"?:
|
|
9241
|
+
"statusColors"?: StatusColorsProp;
|
|
8302
9242
|
/**
|
|
8303
9243
|
* IANA timezone for wall-clock rendering. Defaults to the browser zone.
|
|
8304
9244
|
*/
|
|
8305
9245
|
"timeZone"?: string;
|
|
8306
9246
|
/**
|
|
8307
|
-
* Active view.
|
|
9247
|
+
* Active view. `month`/`week`/`day` are implemented; `agenda` is pending.
|
|
8308
9248
|
* @default 'month'
|
|
8309
9249
|
*/
|
|
8310
9250
|
"view"?: 'month' | 'week' | 'day' | 'agenda';
|
|
8311
9251
|
}
|
|
9252
|
+
/**
|
|
9253
|
+
* co-event-popover — anchored detail card (Google-Calendar-style) for a calendar
|
|
9254
|
+
* event. Non-modal, dismissible. Anchors to a viewport `anchorRect` (the chip's
|
|
9255
|
+
* getBoundingClientRect), promotes to the top-layer (the calendar shell has
|
|
9256
|
+
* contain:layout ancestors that re-anchor position:fixed), and closes on Escape /
|
|
9257
|
+
* outside-click. Content is slotted by the host (suite-v2 fills the meeting fields).
|
|
9258
|
+
*/
|
|
9259
|
+
interface CoEventPopover {
|
|
9260
|
+
/**
|
|
9261
|
+
* Anchor rect in viewport coords (chip.getBoundingClientRect()).
|
|
9262
|
+
*/
|
|
9263
|
+
"anchorRect"?: { top: number; left: number; width: number; height: number };
|
|
9264
|
+
/**
|
|
9265
|
+
* @default true
|
|
9266
|
+
*/
|
|
9267
|
+
"closeOnClickOutside"?: boolean;
|
|
9268
|
+
/**
|
|
9269
|
+
* @default true
|
|
9270
|
+
*/
|
|
9271
|
+
"closeOnEscape"?: boolean;
|
|
9272
|
+
/**
|
|
9273
|
+
* Accent color for the leading dot (event color).
|
|
9274
|
+
*/
|
|
9275
|
+
"color"?: string;
|
|
9276
|
+
/**
|
|
9277
|
+
* Render the leading color dot. Set false for dot-less content (quick-create).
|
|
9278
|
+
* @default true
|
|
9279
|
+
*/
|
|
9280
|
+
"dot"?: boolean;
|
|
9281
|
+
"onCoClose"?: (event: CoEventPopoverCustomEvent<void>) => void;
|
|
9282
|
+
/**
|
|
9283
|
+
* @default false
|
|
9284
|
+
*/
|
|
9285
|
+
"open"?: boolean;
|
|
9286
|
+
/**
|
|
9287
|
+
* @default 'right-start'
|
|
9288
|
+
*/
|
|
9289
|
+
"placement"?: Placement;
|
|
9290
|
+
/**
|
|
9291
|
+
* Accessible name for the panel (role="dialog" needs one).
|
|
9292
|
+
*/
|
|
9293
|
+
"popoverLabel"?: string;
|
|
9294
|
+
}
|
|
8312
9295
|
interface CoFab {
|
|
8313
9296
|
/**
|
|
8314
9297
|
* Accessible label for icon-only FABs (falls back to `label`/`icon`).
|
|
@@ -9004,6 +9987,10 @@ declare namespace LocalJSX {
|
|
|
9004
9987
|
* Submenu nesting is unbounded — submenu items can themselves have submenus.
|
|
9005
9988
|
*/
|
|
9006
9989
|
interface CoMenuItem {
|
|
9990
|
+
/**
|
|
9991
|
+
* Optional second line under the label (muted, smaller) — e.g. what an export method means. The row auto-grows (min-height, not height).
|
|
9992
|
+
*/
|
|
9993
|
+
"caption"?: string;
|
|
9007
9994
|
/**
|
|
9008
9995
|
* Tighter row metrics (32px instead of 36px).
|
|
9009
9996
|
* @default false
|
|
@@ -9238,16 +10225,25 @@ declare namespace LocalJSX {
|
|
|
9238
10225
|
* @default false
|
|
9239
10226
|
*/
|
|
9240
10227
|
"multiple"?: boolean;
|
|
9241
|
-
"onCoChange"?: (event: CoOptionListCustomEvent<{ value: string | string[]; item: OptionListItem }>) => void;
|
|
10228
|
+
"onCoChange"?: (event: CoOptionListCustomEvent<{ value: string | string[] | null; item: OptionListItem }>) => void;
|
|
9242
10229
|
"onCoClearSelection"?: (event: CoOptionListCustomEvent<void>) => void;
|
|
9243
10230
|
"onCoLoadMore"?: (event: CoOptionListCustomEvent<void>) => void;
|
|
9244
10231
|
"onCoRemoveItem"?: (event: CoOptionListCustomEvent<string>) => void;
|
|
10232
|
+
/**
|
|
10233
|
+
* Emitido tras un drag-reorder: nuevo orden de ids seleccionados + ítem movido.
|
|
10234
|
+
*/
|
|
10235
|
+
"onCoReorder"?: (event: CoOptionListCustomEvent<{ value: string[]; item: OptionListItem }>) => void;
|
|
9245
10236
|
"onCoSearch"?: (event: CoOptionListCustomEvent<string>) => void;
|
|
9246
10237
|
/**
|
|
9247
10238
|
* Botón remove por fila seleccionada en multiple (tags de combobox).
|
|
9248
10239
|
* @default false
|
|
9249
10240
|
*/
|
|
9250
10241
|
"removableItems"?: boolean;
|
|
10242
|
+
/**
|
|
10243
|
+
* Habilita reorder por drag del bloque de seleccionados (selected-first).
|
|
10244
|
+
* @default false
|
|
10245
|
+
*/
|
|
10246
|
+
"reorderable"?: boolean;
|
|
9251
10247
|
/**
|
|
9252
10248
|
* @default 350
|
|
9253
10249
|
*/
|
|
@@ -9493,6 +10489,29 @@ declare namespace LocalJSX {
|
|
|
9493
10489
|
*/
|
|
9494
10490
|
"value"?: number;
|
|
9495
10491
|
}
|
|
10492
|
+
/**
|
|
10493
|
+
* Logo de marca de un proveedor externo (Google, Microsoft), a color y
|
|
10494
|
+
* self-contained (SVG inline — nunca una URL remota).
|
|
10495
|
+
* `plated` lo monta sobre un disco blanco: es lo que hace legible una marca a
|
|
10496
|
+
* color cuando va encima de una superficie teñida (el badge de un evento de
|
|
10497
|
+
* calendario externo, que hereda el color del calendario).
|
|
10498
|
+
*/
|
|
10499
|
+
interface CoProviderLogo {
|
|
10500
|
+
/**
|
|
10501
|
+
* Disco blanco de fondo para contraste sobre superficies de color.
|
|
10502
|
+
* @default false
|
|
10503
|
+
*/
|
|
10504
|
+
"plated"?: boolean;
|
|
10505
|
+
/**
|
|
10506
|
+
* Proveedor: `google` | `microsoft`. Uno desconocido no pinta nada.
|
|
10507
|
+
*/
|
|
10508
|
+
"provider": string;
|
|
10509
|
+
/**
|
|
10510
|
+
* Lado del logo en px (los viewBox son cuadrados).
|
|
10511
|
+
* @default 16
|
|
10512
|
+
*/
|
|
10513
|
+
"size"?: number;
|
|
10514
|
+
}
|
|
9496
10515
|
interface CoRadio {
|
|
9497
10516
|
/**
|
|
9498
10517
|
* Whether the radio is selected
|
|
@@ -10878,10 +11897,26 @@ declare namespace LocalJSX {
|
|
|
10878
11897
|
"subheading": string;
|
|
10879
11898
|
"disabled": boolean;
|
|
10880
11899
|
}
|
|
11900
|
+
interface CoActionBarAttributes {
|
|
11901
|
+
"open": boolean;
|
|
11902
|
+
"label": string;
|
|
11903
|
+
"dismissible": boolean;
|
|
11904
|
+
"position": 'bottom-center' | 'none';
|
|
11905
|
+
"ariaLabelText": string;
|
|
11906
|
+
}
|
|
10881
11907
|
interface CoAppShellAttributes {
|
|
10882
11908
|
"sidebarMode": 'full' | 'min';
|
|
10883
11909
|
"contentCard": boolean;
|
|
10884
11910
|
}
|
|
11911
|
+
interface CoAudioPlayerAttributes {
|
|
11912
|
+
"src": string;
|
|
11913
|
+
"compact": boolean;
|
|
11914
|
+
"bars": number;
|
|
11915
|
+
"barDensity": number;
|
|
11916
|
+
"preload": 'none' | 'metadata';
|
|
11917
|
+
"downloadFilename": string;
|
|
11918
|
+
"noDownload": boolean;
|
|
11919
|
+
}
|
|
10885
11920
|
interface CoAutocompleteAttributes {
|
|
10886
11921
|
"label": string;
|
|
10887
11922
|
"required": boolean;
|
|
@@ -10954,6 +11989,7 @@ declare namespace LocalJSX {
|
|
|
10954
11989
|
"surface": 'light' | 'dark';
|
|
10955
11990
|
"disabled": boolean;
|
|
10956
11991
|
"label": string;
|
|
11992
|
+
"ariaLabelText": string;
|
|
10957
11993
|
"iconLeft": string;
|
|
10958
11994
|
"iconRight": string;
|
|
10959
11995
|
"iconWeight": 'regular' | 'thin' | 'light' | 'bold' | 'fill' | 'duotone';
|
|
@@ -10993,6 +12029,24 @@ declare namespace LocalJSX {
|
|
|
10993
12029
|
"editable": boolean;
|
|
10994
12030
|
"selectable": boolean;
|
|
10995
12031
|
"maxLanes": number;
|
|
12032
|
+
"loading": boolean;
|
|
12033
|
+
}
|
|
12034
|
+
interface CoCalendarTimegridAttributes {
|
|
12035
|
+
"locale": string;
|
|
12036
|
+
"timeZone": string;
|
|
12037
|
+
"editable": boolean;
|
|
12038
|
+
"selectable": boolean;
|
|
12039
|
+
"minDate": string;
|
|
12040
|
+
"maxDate": string;
|
|
12041
|
+
"slotMinutes": number;
|
|
12042
|
+
"snapMinutes": number;
|
|
12043
|
+
"defaultDurationMinutes": number;
|
|
12044
|
+
"scrollTime": string;
|
|
12045
|
+
"nowIndicator": boolean;
|
|
12046
|
+
"loading": boolean;
|
|
12047
|
+
"allDaySlot": boolean;
|
|
12048
|
+
"minTime": string;
|
|
12049
|
+
"maxTime": string;
|
|
10996
12050
|
}
|
|
10997
12051
|
interface CoCardAttributes {
|
|
10998
12052
|
"variant": 'elevated' | 'outlined' | 'flat';
|
|
@@ -11251,6 +12305,35 @@ declare namespace LocalJSX {
|
|
|
11251
12305
|
"toLabel": string;
|
|
11252
12306
|
"mobileBreakpoint": number;
|
|
11253
12307
|
}
|
|
12308
|
+
interface CoDateTimePickerAttributes {
|
|
12309
|
+
"value": string | null;
|
|
12310
|
+
"timeZone": string;
|
|
12311
|
+
"stepMinutes": number;
|
|
12312
|
+
"hour12": boolean;
|
|
12313
|
+
"min": string;
|
|
12314
|
+
"max": string;
|
|
12315
|
+
"disabledDates": string[] | string;
|
|
12316
|
+
"disabledDaysOfWeek": number[] | string;
|
|
12317
|
+
"locale": string;
|
|
12318
|
+
"displayFormat": string;
|
|
12319
|
+
"firstDayOfWeek": number;
|
|
12320
|
+
"label": string;
|
|
12321
|
+
"placeholder": string;
|
|
12322
|
+
"size": 's' | 'sm' | 'md' | 'lg';
|
|
12323
|
+
"variant": 'default' | 'flat';
|
|
12324
|
+
"name": string;
|
|
12325
|
+
"disabled": boolean;
|
|
12326
|
+
"readonly": boolean;
|
|
12327
|
+
"required": boolean;
|
|
12328
|
+
"clearable": boolean;
|
|
12329
|
+
"invalid": boolean;
|
|
12330
|
+
"errorMessage": string;
|
|
12331
|
+
"helperText": string;
|
|
12332
|
+
"layout": 'vertical' | 'horizontal';
|
|
12333
|
+
"placement": Placement;
|
|
12334
|
+
"open": boolean;
|
|
12335
|
+
"mobileBreakpoint": number;
|
|
12336
|
+
}
|
|
11254
12337
|
interface CoDrawerAttributes {
|
|
11255
12338
|
"open": boolean;
|
|
11256
12339
|
"position": 'right' | 'left' | 'bottom';
|
|
@@ -11302,8 +12385,25 @@ declare namespace LocalJSX {
|
|
|
11302
12385
|
"maxDate": string;
|
|
11303
12386
|
"firstDayOfWeek": number;
|
|
11304
12387
|
"availableViews": string[] | string;
|
|
11305
|
-
"statusColors":
|
|
12388
|
+
"statusColors": StatusColorsProp;
|
|
11306
12389
|
"defaultDurationMinutes": number;
|
|
12390
|
+
"allDaySlot": boolean;
|
|
12391
|
+
"minTime": string;
|
|
12392
|
+
"maxTime": string;
|
|
12393
|
+
"slotMinutes": number;
|
|
12394
|
+
"snapMinutes": number;
|
|
12395
|
+
"scrollTime": string;
|
|
12396
|
+
"nowIndicator": boolean;
|
|
12397
|
+
"loading": boolean;
|
|
12398
|
+
}
|
|
12399
|
+
interface CoEventPopoverAttributes {
|
|
12400
|
+
"open": boolean;
|
|
12401
|
+
"placement": Placement;
|
|
12402
|
+
"color": string;
|
|
12403
|
+
"dot": boolean;
|
|
12404
|
+
"closeOnEscape": boolean;
|
|
12405
|
+
"closeOnClickOutside": boolean;
|
|
12406
|
+
"popoverLabel": string;
|
|
11307
12407
|
}
|
|
11308
12408
|
interface CoFabAttributes {
|
|
11309
12409
|
"icon": string;
|
|
@@ -11445,6 +12545,7 @@ declare namespace LocalJSX {
|
|
|
11445
12545
|
"icon": string;
|
|
11446
12546
|
"iconSize": number;
|
|
11447
12547
|
"label": string;
|
|
12548
|
+
"caption": string;
|
|
11448
12549
|
"dense": boolean;
|
|
11449
12550
|
"selected": boolean;
|
|
11450
12551
|
"trailingCheck": boolean;
|
|
@@ -11491,6 +12592,7 @@ declare namespace LocalJSX {
|
|
|
11491
12592
|
"selectedFirst": boolean;
|
|
11492
12593
|
"selectedAffordance": 'check' | 'deselect';
|
|
11493
12594
|
"removableItems": boolean;
|
|
12595
|
+
"reorderable": boolean;
|
|
11494
12596
|
"searchable": boolean;
|
|
11495
12597
|
"searchPlaceholder": string;
|
|
11496
12598
|
"searchDebounce": number;
|
|
@@ -11550,6 +12652,11 @@ declare namespace LocalJSX {
|
|
|
11550
12652
|
"strokeWidth": number;
|
|
11551
12653
|
"showLabel": boolean;
|
|
11552
12654
|
}
|
|
12655
|
+
interface CoProviderLogoAttributes {
|
|
12656
|
+
"provider": string;
|
|
12657
|
+
"size": number;
|
|
12658
|
+
"plated": boolean;
|
|
12659
|
+
}
|
|
11553
12660
|
interface CoRadioAttributes {
|
|
11554
12661
|
"checked": boolean;
|
|
11555
12662
|
"size": 'small' | 'large';
|
|
@@ -11865,7 +12972,9 @@ declare namespace LocalJSX {
|
|
|
11865
12972
|
|
|
11866
12973
|
interface IntrinsicElements {
|
|
11867
12974
|
"co-accordion": Omit<CoAccordion, keyof CoAccordionAttributes> & { [K in keyof CoAccordion & keyof CoAccordionAttributes]?: CoAccordion[K] } & { [K in keyof CoAccordion & keyof CoAccordionAttributes as `attr:${K}`]?: CoAccordionAttributes[K] } & { [K in keyof CoAccordion & keyof CoAccordionAttributes as `prop:${K}`]?: CoAccordion[K] };
|
|
12975
|
+
"co-action-bar": Omit<CoActionBar, keyof CoActionBarAttributes> & { [K in keyof CoActionBar & keyof CoActionBarAttributes]?: CoActionBar[K] } & { [K in keyof CoActionBar & keyof CoActionBarAttributes as `attr:${K}`]?: CoActionBarAttributes[K] } & { [K in keyof CoActionBar & keyof CoActionBarAttributes as `prop:${K}`]?: CoActionBar[K] };
|
|
11868
12976
|
"co-app-shell": Omit<CoAppShell, keyof CoAppShellAttributes> & { [K in keyof CoAppShell & keyof CoAppShellAttributes]?: CoAppShell[K] } & { [K in keyof CoAppShell & keyof CoAppShellAttributes as `attr:${K}`]?: CoAppShellAttributes[K] } & { [K in keyof CoAppShell & keyof CoAppShellAttributes as `prop:${K}`]?: CoAppShell[K] };
|
|
12977
|
+
"co-audio-player": Omit<CoAudioPlayer, keyof CoAudioPlayerAttributes> & { [K in keyof CoAudioPlayer & keyof CoAudioPlayerAttributes]?: CoAudioPlayer[K] } & { [K in keyof CoAudioPlayer & keyof CoAudioPlayerAttributes as `attr:${K}`]?: CoAudioPlayerAttributes[K] } & { [K in keyof CoAudioPlayer & keyof CoAudioPlayerAttributes as `prop:${K}`]?: CoAudioPlayer[K] };
|
|
11869
12978
|
"co-autocomplete": Omit<CoAutocomplete, keyof CoAutocompleteAttributes> & { [K in keyof CoAutocomplete & keyof CoAutocompleteAttributes]?: CoAutocomplete[K] } & { [K in keyof CoAutocomplete & keyof CoAutocompleteAttributes as `attr:${K}`]?: CoAutocompleteAttributes[K] } & { [K in keyof CoAutocomplete & keyof CoAutocompleteAttributes as `prop:${K}`]?: CoAutocomplete[K] };
|
|
11870
12979
|
"co-avatar": Omit<CoAvatar, keyof CoAvatarAttributes> & { [K in keyof CoAvatar & keyof CoAvatarAttributes]?: CoAvatar[K] } & { [K in keyof CoAvatar & keyof CoAvatarAttributes as `attr:${K}`]?: CoAvatarAttributes[K] } & { [K in keyof CoAvatar & keyof CoAvatarAttributes as `prop:${K}`]?: CoAvatar[K] };
|
|
11871
12980
|
"co-avatar-group": Omit<CoAvatarGroup, keyof CoAvatarGroupAttributes> & { [K in keyof CoAvatarGroup & keyof CoAvatarGroupAttributes]?: CoAvatarGroup[K] } & { [K in keyof CoAvatarGroup & keyof CoAvatarGroupAttributes as `attr:${K}`]?: CoAvatarGroupAttributes[K] } & { [K in keyof CoAvatarGroup & keyof CoAvatarGroupAttributes as `prop:${K}`]?: CoAvatarGroup[K] };
|
|
@@ -11877,6 +12986,7 @@ declare namespace LocalJSX {
|
|
|
11877
12986
|
"co-button-group": Omit<CoButtonGroup, keyof CoButtonGroupAttributes> & { [K in keyof CoButtonGroup & keyof CoButtonGroupAttributes]?: CoButtonGroup[K] } & { [K in keyof CoButtonGroup & keyof CoButtonGroupAttributes as `attr:${K}`]?: CoButtonGroupAttributes[K] } & { [K in keyof CoButtonGroup & keyof CoButtonGroupAttributes as `prop:${K}`]?: CoButtonGroup[K] };
|
|
11878
12987
|
"co-calendar": Omit<CoCalendar, keyof CoCalendarAttributes> & { [K in keyof CoCalendar & keyof CoCalendarAttributes]?: CoCalendar[K] } & { [K in keyof CoCalendar & keyof CoCalendarAttributes as `attr:${K}`]?: CoCalendarAttributes[K] } & { [K in keyof CoCalendar & keyof CoCalendarAttributes as `prop:${K}`]?: CoCalendar[K] };
|
|
11879
12988
|
"co-calendar-month": Omit<CoCalendarMonth, keyof CoCalendarMonthAttributes> & { [K in keyof CoCalendarMonth & keyof CoCalendarMonthAttributes]?: CoCalendarMonth[K] } & { [K in keyof CoCalendarMonth & keyof CoCalendarMonthAttributes as `attr:${K}`]?: CoCalendarMonthAttributes[K] } & { [K in keyof CoCalendarMonth & keyof CoCalendarMonthAttributes as `prop:${K}`]?: CoCalendarMonth[K] } & OneOf<"year", CoCalendarMonth["year"], CoCalendarMonthAttributes["year"]> & OneOf<"month", CoCalendarMonth["month"], CoCalendarMonthAttributes["month"]> & OneOf<"timeZone", CoCalendarMonth["timeZone"], CoCalendarMonthAttributes["timeZone"]>;
|
|
12989
|
+
"co-calendar-timegrid": Omit<CoCalendarTimegrid, keyof CoCalendarTimegridAttributes> & { [K in keyof CoCalendarTimegrid & keyof CoCalendarTimegridAttributes]?: CoCalendarTimegrid[K] } & { [K in keyof CoCalendarTimegrid & keyof CoCalendarTimegridAttributes as `attr:${K}`]?: CoCalendarTimegridAttributes[K] } & { [K in keyof CoCalendarTimegrid & keyof CoCalendarTimegridAttributes as `prop:${K}`]?: CoCalendarTimegrid[K] } & OneOf<"timeZone", CoCalendarTimegrid["timeZone"], CoCalendarTimegridAttributes["timeZone"]>;
|
|
11880
12990
|
"co-card": Omit<CoCard, keyof CoCardAttributes> & { [K in keyof CoCard & keyof CoCardAttributes]?: CoCard[K] } & { [K in keyof CoCard & keyof CoCardAttributes as `attr:${K}`]?: CoCardAttributes[K] } & { [K in keyof CoCard & keyof CoCardAttributes as `prop:${K}`]?: CoCard[K] };
|
|
11881
12991
|
"co-carousel": Omit<CoCarousel, keyof CoCarouselAttributes> & { [K in keyof CoCarousel & keyof CoCarouselAttributes]?: CoCarousel[K] } & { [K in keyof CoCarousel & keyof CoCarouselAttributes as `attr:${K}`]?: CoCarouselAttributes[K] } & { [K in keyof CoCarousel & keyof CoCarouselAttributes as `prop:${K}`]?: CoCarousel[K] };
|
|
11882
12992
|
"co-carousel-item": CoCarouselItem;
|
|
@@ -11893,11 +13003,13 @@ declare namespace LocalJSX {
|
|
|
11893
13003
|
"co-date-picker": Omit<CoDatePicker, keyof CoDatePickerAttributes> & { [K in keyof CoDatePicker & keyof CoDatePickerAttributes]?: CoDatePicker[K] } & { [K in keyof CoDatePicker & keyof CoDatePickerAttributes as `attr:${K}`]?: CoDatePickerAttributes[K] } & { [K in keyof CoDatePicker & keyof CoDatePickerAttributes as `prop:${K}`]?: CoDatePicker[K] };
|
|
11894
13004
|
"co-date-range": Omit<CoDateRange, keyof CoDateRangeAttributes> & { [K in keyof CoDateRange & keyof CoDateRangeAttributes]?: CoDateRange[K] } & { [K in keyof CoDateRange & keyof CoDateRangeAttributes as `attr:${K}`]?: CoDateRangeAttributes[K] } & { [K in keyof CoDateRange & keyof CoDateRangeAttributes as `prop:${K}`]?: CoDateRange[K] };
|
|
11895
13005
|
"co-date-range-picker": Omit<CoDateRangePicker, keyof CoDateRangePickerAttributes> & { [K in keyof CoDateRangePicker & keyof CoDateRangePickerAttributes]?: CoDateRangePicker[K] } & { [K in keyof CoDateRangePicker & keyof CoDateRangePickerAttributes as `attr:${K}`]?: CoDateRangePickerAttributes[K] } & { [K in keyof CoDateRangePicker & keyof CoDateRangePickerAttributes as `prop:${K}`]?: CoDateRangePicker[K] };
|
|
13006
|
+
"co-date-time-picker": Omit<CoDateTimePicker, keyof CoDateTimePickerAttributes> & { [K in keyof CoDateTimePicker & keyof CoDateTimePickerAttributes]?: CoDateTimePicker[K] } & { [K in keyof CoDateTimePicker & keyof CoDateTimePickerAttributes as `attr:${K}`]?: CoDateTimePickerAttributes[K] } & { [K in keyof CoDateTimePicker & keyof CoDateTimePickerAttributes as `prop:${K}`]?: CoDateTimePicker[K] };
|
|
11896
13007
|
"co-drawer": Omit<CoDrawer, keyof CoDrawerAttributes> & { [K in keyof CoDrawer & keyof CoDrawerAttributes]?: CoDrawer[K] } & { [K in keyof CoDrawer & keyof CoDrawerAttributes as `attr:${K}`]?: CoDrawerAttributes[K] } & { [K in keyof CoDrawer & keyof CoDrawerAttributes as `prop:${K}`]?: CoDrawer[K] };
|
|
11897
13008
|
"co-drive-card": Omit<CoDriveCard, keyof CoDriveCardAttributes> & { [K in keyof CoDriveCard & keyof CoDriveCardAttributes]?: CoDriveCard[K] } & { [K in keyof CoDriveCard & keyof CoDriveCardAttributes as `attr:${K}`]?: CoDriveCardAttributes[K] } & { [K in keyof CoDriveCard & keyof CoDriveCardAttributes as `prop:${K}`]?: CoDriveCard[K] };
|
|
11898
13009
|
"co-drop-zone": Omit<CoDropZone, keyof CoDropZoneAttributes> & { [K in keyof CoDropZone & keyof CoDropZoneAttributes]?: CoDropZone[K] } & { [K in keyof CoDropZone & keyof CoDropZoneAttributes as `attr:${K}`]?: CoDropZoneAttributes[K] } & { [K in keyof CoDropZone & keyof CoDropZoneAttributes as `prop:${K}`]?: CoDropZone[K] };
|
|
11899
13010
|
"co-empty-state": Omit<CoEmptyState, keyof CoEmptyStateAttributes> & { [K in keyof CoEmptyState & keyof CoEmptyStateAttributes]?: CoEmptyState[K] } & { [K in keyof CoEmptyState & keyof CoEmptyStateAttributes as `attr:${K}`]?: CoEmptyStateAttributes[K] } & { [K in keyof CoEmptyState & keyof CoEmptyStateAttributes as `prop:${K}`]?: CoEmptyState[K] };
|
|
11900
13011
|
"co-event-calendar": Omit<CoEventCalendar, keyof CoEventCalendarAttributes> & { [K in keyof CoEventCalendar & keyof CoEventCalendarAttributes]?: CoEventCalendar[K] } & { [K in keyof CoEventCalendar & keyof CoEventCalendarAttributes as `attr:${K}`]?: CoEventCalendarAttributes[K] } & { [K in keyof CoEventCalendar & keyof CoEventCalendarAttributes as `prop:${K}`]?: CoEventCalendar[K] };
|
|
13012
|
+
"co-event-popover": Omit<CoEventPopover, keyof CoEventPopoverAttributes> & { [K in keyof CoEventPopover & keyof CoEventPopoverAttributes]?: CoEventPopover[K] } & { [K in keyof CoEventPopover & keyof CoEventPopoverAttributes as `attr:${K}`]?: CoEventPopoverAttributes[K] } & { [K in keyof CoEventPopover & keyof CoEventPopoverAttributes as `prop:${K}`]?: CoEventPopover[K] };
|
|
11901
13013
|
"co-fab": Omit<CoFab, keyof CoFabAttributes> & { [K in keyof CoFab & keyof CoFabAttributes]?: CoFab[K] } & { [K in keyof CoFab & keyof CoFabAttributes as `attr:${K}`]?: CoFabAttributes[K] } & { [K in keyof CoFab & keyof CoFabAttributes as `prop:${K}`]?: CoFab[K] };
|
|
11902
13014
|
"co-file-field": Omit<CoFileField, keyof CoFileFieldAttributes> & { [K in keyof CoFileField & keyof CoFileFieldAttributes]?: CoFileField[K] } & { [K in keyof CoFileField & keyof CoFileFieldAttributes as `attr:${K}`]?: CoFileFieldAttributes[K] } & { [K in keyof CoFileField & keyof CoFileFieldAttributes as `prop:${K}`]?: CoFileField[K] };
|
|
11903
13015
|
"co-file-type-tile": Omit<CoFileTypeTile, keyof CoFileTypeTileAttributes> & { [K in keyof CoFileTypeTile & keyof CoFileTypeTileAttributes]?: CoFileTypeTile[K] } & { [K in keyof CoFileTypeTile & keyof CoFileTypeTileAttributes as `attr:${K}`]?: CoFileTypeTileAttributes[K] } & { [K in keyof CoFileTypeTile & keyof CoFileTypeTileAttributes as `prop:${K}`]?: CoFileTypeTile[K] } & OneOf<"ext", CoFileTypeTile["ext"], CoFileTypeTileAttributes["ext"]>;
|
|
@@ -11924,6 +13036,7 @@ declare namespace LocalJSX {
|
|
|
11924
13036
|
"co-popover": Omit<CoPopover, keyof CoPopoverAttributes> & { [K in keyof CoPopover & keyof CoPopoverAttributes]?: CoPopover[K] } & { [K in keyof CoPopover & keyof CoPopoverAttributes as `attr:${K}`]?: CoPopoverAttributes[K] } & { [K in keyof CoPopover & keyof CoPopoverAttributes as `prop:${K}`]?: CoPopover[K] };
|
|
11925
13037
|
"co-progress-bar": Omit<CoProgressBar, keyof CoProgressBarAttributes> & { [K in keyof CoProgressBar & keyof CoProgressBarAttributes]?: CoProgressBar[K] } & { [K in keyof CoProgressBar & keyof CoProgressBarAttributes as `attr:${K}`]?: CoProgressBarAttributes[K] } & { [K in keyof CoProgressBar & keyof CoProgressBarAttributes as `prop:${K}`]?: CoProgressBar[K] };
|
|
11926
13038
|
"co-progress-circle": Omit<CoProgressCircle, keyof CoProgressCircleAttributes> & { [K in keyof CoProgressCircle & keyof CoProgressCircleAttributes]?: CoProgressCircle[K] } & { [K in keyof CoProgressCircle & keyof CoProgressCircleAttributes as `attr:${K}`]?: CoProgressCircleAttributes[K] } & { [K in keyof CoProgressCircle & keyof CoProgressCircleAttributes as `prop:${K}`]?: CoProgressCircle[K] };
|
|
13039
|
+
"co-provider-logo": Omit<CoProviderLogo, keyof CoProviderLogoAttributes> & { [K in keyof CoProviderLogo & keyof CoProviderLogoAttributes]?: CoProviderLogo[K] } & { [K in keyof CoProviderLogo & keyof CoProviderLogoAttributes as `attr:${K}`]?: CoProviderLogoAttributes[K] } & { [K in keyof CoProviderLogo & keyof CoProviderLogoAttributes as `prop:${K}`]?: CoProviderLogo[K] } & OneOf<"provider", CoProviderLogo["provider"], CoProviderLogoAttributes["provider"]>;
|
|
11927
13040
|
"co-radio": Omit<CoRadio, keyof CoRadioAttributes> & { [K in keyof CoRadio & keyof CoRadioAttributes]?: CoRadio[K] } & { [K in keyof CoRadio & keyof CoRadioAttributes as `attr:${K}`]?: CoRadioAttributes[K] } & { [K in keyof CoRadio & keyof CoRadioAttributes as `prop:${K}`]?: CoRadio[K] };
|
|
11928
13041
|
"co-radio-group": Omit<CoRadioGroup, keyof CoRadioGroupAttributes> & { [K in keyof CoRadioGroup & keyof CoRadioGroupAttributes]?: CoRadioGroup[K] } & { [K in keyof CoRadioGroup & keyof CoRadioGroupAttributes as `attr:${K}`]?: CoRadioGroupAttributes[K] } & { [K in keyof CoRadioGroup & keyof CoRadioGroupAttributes as `prop:${K}`]?: CoRadioGroup[K] };
|
|
11929
13042
|
"co-rating": Omit<CoRating, keyof CoRatingAttributes> & { [K in keyof CoRating & keyof CoRatingAttributes]?: CoRating[K] } & { [K in keyof CoRating & keyof CoRatingAttributes as `attr:${K}`]?: CoRatingAttributes[K] } & { [K in keyof CoRating & keyof CoRatingAttributes as `prop:${K}`]?: CoRating[K] };
|
|
@@ -11961,10 +13074,29 @@ declare module "@stencil/core" {
|
|
|
11961
13074
|
* the header text does nothing (it may contain interactive content).
|
|
11962
13075
|
*/
|
|
11963
13076
|
"co-accordion": LocalJSX.IntrinsicElements["co-accordion"] & JSXBase.HTMLAttributes<HTMLCoAccordionElement>;
|
|
13077
|
+
/**
|
|
13078
|
+
* co-action-bar — pill flotante oscuro para acciones masivas (selection bar).
|
|
13079
|
+
* Superficie INVERSA (surface-primary) + texto inverso, SOLID (regla del DS
|
|
13080
|
+
* para flotantes: nada de glass). El host queda SIEMPRE montado (DOM
|
|
13081
|
+
* persistente): `open` togglea la clase `co-action-bar--open` con transición
|
|
13082
|
+
* translateY(8px)+opacity (~180ms). Con un `v-if` del consumidor la
|
|
13083
|
+
* transición y el primer anuncio aria-live serían código muerto — NO usar.
|
|
13084
|
+
* Anclaje opt-in (calca el contrato de co-fab): `position="bottom-center"`
|
|
13085
|
+
* aplica fixed + centrado en el HOST, separado del borde inferior por
|
|
13086
|
+
* `--co-action-bar-offset` (fallback 24px) y clampado en ancho por
|
|
13087
|
+
* `--co-action-bar-inline-margin` (fallback 24px, VAR PROPIA — desacoplada
|
|
13088
|
+
* a propósito del offset vertical: un consumidor que sube el offset para
|
|
13089
|
+
* despejar toasts/FAB [ej. 92px] no debe perder 2× esos px de ancho
|
|
13090
|
+
* disponible, o la barra desborda con varias acciones). La política de
|
|
13091
|
+
* contenido cuando no cabe (colapsar labels a icon-only, abreviar el conteo)
|
|
13092
|
+
* es del CONSUMIDOR — el componente no scrollea ni reordena.
|
|
13093
|
+
*/
|
|
13094
|
+
"co-action-bar": LocalJSX.IntrinsicElements["co-action-bar"] & JSXBase.HTMLAttributes<HTMLCoActionBarElement>;
|
|
11964
13095
|
/**
|
|
11965
13096
|
* App Shell — Main application layout with navbar, sidebar, and content area.
|
|
11966
13097
|
*/
|
|
11967
13098
|
"co-app-shell": LocalJSX.IntrinsicElements["co-app-shell"] & JSXBase.HTMLAttributes<HTMLCoAppShellElement>;
|
|
13099
|
+
"co-audio-player": LocalJSX.IntrinsicElements["co-audio-player"] & JSXBase.HTMLAttributes<HTMLCoAudioPlayerElement>;
|
|
11968
13100
|
"co-autocomplete": LocalJSX.IntrinsicElements["co-autocomplete"] & JSXBase.HTMLAttributes<HTMLCoAutocompleteElement>;
|
|
11969
13101
|
"co-avatar": LocalJSX.IntrinsicElements["co-avatar"] & JSXBase.HTMLAttributes<HTMLCoAvatarElement>;
|
|
11970
13102
|
"co-avatar-group": LocalJSX.IntrinsicElements["co-avatar-group"] & JSXBase.HTMLAttributes<HTMLCoAvatarGroupElement>;
|
|
@@ -12019,6 +13151,13 @@ declare module "@stencil/core" {
|
|
|
12019
13151
|
* old data on failure (that IS the revert).
|
|
12020
13152
|
*/
|
|
12021
13153
|
"co-calendar-month": LocalJSX.IntrinsicElements["co-calendar-month"] & JSXBase.HTMLAttributes<HTMLCoCalendarMonthElement>;
|
|
13154
|
+
/**
|
|
13155
|
+
* co-calendar-timegrid — the Week/Day time-grid. The shell renders it with
|
|
13156
|
+
* `dates` = 7 day-keys (week) or 1 (day). Presentation + interaction only; the
|
|
13157
|
+
* host owns data (CONTROLLED). All instant math is delegated to the engine — the
|
|
13158
|
+
* only timezone boundary is the `timeZone` prop (wall-clock render).
|
|
13159
|
+
*/
|
|
13160
|
+
"co-calendar-timegrid": LocalJSX.IntrinsicElements["co-calendar-timegrid"] & JSXBase.HTMLAttributes<HTMLCoCalendarTimegridElement>;
|
|
12022
13161
|
"co-card": LocalJSX.IntrinsicElements["co-card"] & JSXBase.HTMLAttributes<HTMLCoCardElement>;
|
|
12023
13162
|
/**
|
|
12024
13163
|
* A generic slide carousel. Coordinates light-DOM `co-carousel-item`
|
|
@@ -12100,6 +13239,31 @@ declare module "@stencil/core" {
|
|
|
12100
13239
|
* `applyOnSelect`, debounced once both ends are chosen — for table filters).
|
|
12101
13240
|
*/
|
|
12102
13241
|
"co-date-range-picker": LocalJSX.IntrinsicElements["co-date-range-picker"] & JSXBase.HTMLAttributes<HTMLCoDateRangePickerElement>;
|
|
13242
|
+
/**
|
|
13243
|
+
* Date + TIME picker: one field, one popover. Composes `co-popover` (floating
|
|
13244
|
+
* panel, outside-click) + `co-calendar` (day grid) + a scrollable list of times
|
|
13245
|
+
* beside it — the Google Calendar layout.
|
|
13246
|
+
* VALUE CONTRACT — the committed `value` is a UTC ISO instant
|
|
13247
|
+
* ("2026-07-25T21:30:00.000Z"), never a wall-clock string. The wall clock the
|
|
13248
|
+
* user sees and edits is rendered in `timeZone` (IANA; browser zone when
|
|
13249
|
+
* omitted). All ISO↔wall-clock conversion goes through the calendar engine
|
|
13250
|
+
* (`@prolibu-suite/cobalt-calendar-utils`), so DST comes from the platform tz
|
|
13251
|
+
* database — the same boundary `co-calendar-timegrid` uses. A date-only value
|
|
13252
|
+
* ("2026-07-25") is NOT an instant: it is read as that wall-clock day in
|
|
13253
|
+
* `timeZone` at {@link DEFAULT_MINUTES} (09:00), never as UTC midnight (which
|
|
13254
|
+
* would shift the day west of UTC).
|
|
13255
|
+
* INTERACTION (Google):
|
|
13256
|
+
* - Click the field → opens. Picking a DAY commits and keeps the panel open
|
|
13257
|
+
* (you almost always want to set the hour next); picking a TIME commits and
|
|
13258
|
+
* closes. So there is no draft/apply step and no confirm button.
|
|
13259
|
+
* - ArrowDown on the field → moves focus into the calendar grid.
|
|
13260
|
+
* - The time list is a listbox: Arrow/Home/End/PageUp/PageDown move the active
|
|
13261
|
+
* option, Enter/Space selects it.
|
|
13262
|
+
* - Escape → closes and returns focus to the field. Outside click → closes.
|
|
13263
|
+
* Escape is owned here (co-popover `closeOnEscape=false`) so focus can return to
|
|
13264
|
+
* the field; outside-click stays with co-popover.
|
|
13265
|
+
*/
|
|
13266
|
+
"co-date-time-picker": LocalJSX.IntrinsicElements["co-date-time-picker"] & JSXBase.HTMLAttributes<HTMLCoDateTimePickerElement>;
|
|
12103
13267
|
"co-drawer": LocalJSX.IntrinsicElements["co-drawer"] & JSXBase.HTMLAttributes<HTMLCoDrawerElement>;
|
|
12104
13268
|
/**
|
|
12105
13269
|
* co-drive-card — a selectable Drive item card.
|
|
@@ -12126,18 +13290,15 @@ declare module "@stencil/core" {
|
|
|
12126
13290
|
* Empty state placeholder — icon, title, description, and action buttons.
|
|
12127
13291
|
*/
|
|
12128
13292
|
"co-empty-state": LocalJSX.IntrinsicElements["co-empty-state"] & JSXBase.HTMLAttributes<HTMLCoEmptyStateElement>;
|
|
13293
|
+
"co-event-calendar": LocalJSX.IntrinsicElements["co-event-calendar"] & JSXBase.HTMLAttributes<HTMLCoEventCalendarElement>;
|
|
12129
13294
|
/**
|
|
12130
|
-
* co-event-
|
|
12131
|
-
*
|
|
12132
|
-
*
|
|
12133
|
-
*
|
|
12134
|
-
*
|
|
12135
|
-
* them by updating the `events` prop — leaving it unchanged on failure is the
|
|
12136
|
-
* revert.
|
|
12137
|
-
* Instants are ISO-8601 strings WITH offset/Z (timed) or "YYYY-MM-DD" (all-day);
|
|
12138
|
-
* the calendar never exposes Date objects. `timeZone` controls wall-clock render.
|
|
13295
|
+
* co-event-popover — anchored detail card (Google-Calendar-style) for a calendar
|
|
13296
|
+
* event. Non-modal, dismissible. Anchors to a viewport `anchorRect` (the chip's
|
|
13297
|
+
* getBoundingClientRect), promotes to the top-layer (the calendar shell has
|
|
13298
|
+
* contain:layout ancestors that re-anchor position:fixed), and closes on Escape /
|
|
13299
|
+
* outside-click. Content is slotted by the host (suite-v2 fills the meeting fields).
|
|
12139
13300
|
*/
|
|
12140
|
-
"co-event-
|
|
13301
|
+
"co-event-popover": LocalJSX.IntrinsicElements["co-event-popover"] & JSXBase.HTMLAttributes<HTMLCoEventPopoverElement>;
|
|
12141
13302
|
"co-fab": LocalJSX.IntrinsicElements["co-fab"] & JSXBase.HTMLAttributes<HTMLCoFabElement>;
|
|
12142
13303
|
/**
|
|
12143
13304
|
* Host-driven file selector — renders a drop-zone + previews + a file list with
|
|
@@ -12291,6 +13452,14 @@ declare module "@stencil/core" {
|
|
|
12291
13452
|
* A circular progress indicator with status colors and optional label.
|
|
12292
13453
|
*/
|
|
12293
13454
|
"co-progress-circle": LocalJSX.IntrinsicElements["co-progress-circle"] & JSXBase.HTMLAttributes<HTMLCoProgressCircleElement>;
|
|
13455
|
+
/**
|
|
13456
|
+
* Logo de marca de un proveedor externo (Google, Microsoft), a color y
|
|
13457
|
+
* self-contained (SVG inline — nunca una URL remota).
|
|
13458
|
+
* `plated` lo monta sobre un disco blanco: es lo que hace legible una marca a
|
|
13459
|
+
* color cuando va encima de una superficie teñida (el badge de un evento de
|
|
13460
|
+
* calendario externo, que hereda el color del calendario).
|
|
13461
|
+
*/
|
|
13462
|
+
"co-provider-logo": LocalJSX.IntrinsicElements["co-provider-logo"] & JSXBase.HTMLAttributes<HTMLCoProviderLogoElement>;
|
|
12294
13463
|
"co-radio": LocalJSX.IntrinsicElements["co-radio"] & JSXBase.HTMLAttributes<HTMLCoRadioElement>;
|
|
12295
13464
|
"co-radio-group": LocalJSX.IntrinsicElements["co-radio-group"] & JSXBase.HTMLAttributes<HTMLCoRadioGroupElement>;
|
|
12296
13465
|
"co-rating": LocalJSX.IntrinsicElements["co-rating"] & JSXBase.HTMLAttributes<HTMLCoRatingElement>;
|