@prolibu-suite/cobalt-core 0.6.0 → 0.8.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 +7924 -3799
- package/dist/cjs/co-accordion.cjs.entry.js +1 -1
- package/dist/cjs/co-action-bar.cjs.entry.js +89 -0
- package/dist/cjs/co-app-shell.cjs.entry.js +3 -3
- package/dist/cjs/co-audio-player.cjs.entry.js +279 -0
- package/dist/cjs/co-autocomplete.cjs.entry.js +3 -3
- package/dist/cjs/co-avatar-group.cjs.entry.js +3 -3
- package/dist/cjs/{co-tooltip.cjs.entry.js → co-avatar_2.cjs.entry.js} +96 -4
- package/dist/cjs/co-badge.cjs.entry.js +2 -2
- package/dist/cjs/co-bottom-sheet.cjs.entry.js +4 -4
- 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 +12 -12
- package/dist/cjs/co-card.cjs.entry.js +3 -3
- package/dist/cjs/co-carousel-item.cjs.entry.js +17 -0
- package/dist/cjs/co-carousel.cjs.entry.js +368 -0
- package/dist/cjs/co-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/co-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/co-chip_2.cjs.entry.js +96 -7
- package/dist/cjs/co-color-picker.cjs.entry.js +5 -5
- package/dist/cjs/co-column-picker.cjs.entry.js +3 -3
- package/dist/cjs/co-combobox.cjs.entry.js +3 -3
- package/dist/cjs/co-command-search.cjs.entry.js +1 -1
- package/dist/cjs/co-data-table-pagination.cjs.entry.js +5 -5
- package/dist/cjs/co-data-table.cjs.entry.js +2 -2
- package/dist/cjs/co-date-picker.cjs.entry.js +12 -5
- package/dist/cjs/co-date-range-picker.cjs.entry.js +11 -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 +2 -2
- 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 +21 -6
- 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 +2 -2
- package/dist/cjs/co-icon.cjs.entry.js +3 -3
- package/dist/cjs/co-input.cjs.entry.js +9 -3
- package/dist/cjs/co-json-field.cjs.entry.js +6 -6
- package/dist/cjs/co-lightbox.cjs.entry.js +34 -7
- package/dist/cjs/co-list-footer.cjs.entry.js +2 -2
- package/dist/cjs/co-list-item.cjs.entry.js +5 -5
- 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 +3 -3
- 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 +2 -2
- 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 +2 -2
- package/dist/cjs/co-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/co-progress-circle.cjs.entry.js +3 -3
- package/dist/cjs/co-provider-logo_2.cjs.entry.js +72 -0
- package/dist/cjs/co-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/co-radio.cjs.entry.js +4 -4
- package/dist/cjs/co-rating.cjs.entry.js +4 -4
- package/dist/cjs/co-ref-field.cjs.entry.js +16 -6
- package/dist/cjs/co-rich-text-editor.cjs.entry.js +22 -7
- package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +37 -5
- package/dist/cjs/co-rich-text-viewer.cjs.entry.js +36 -6
- 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 +13 -7
- package/dist/cjs/co-separator.cjs.entry.js +2 -2
- package/dist/cjs/co-sidebar-nav.cjs.entry.js +13 -3
- package/dist/cjs/co-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/co-slider.cjs.entry.js +3 -3
- package/dist/cjs/co-switch.cjs.entry.js +5 -5
- package/dist/cjs/co-tab-group.cjs.entry.js +20 -4
- package/dist/cjs/co-tab.cjs.entry.js +3 -3
- package/dist/cjs/co-tags-field.cjs.entry.js +9 -9
- package/dist/cjs/co-textarea.cjs.entry.js +13 -7
- package/dist/cjs/co-toast.cjs.entry.js +1 -1
- package/dist/cjs/co-toggle-button-group.cjs.entry.js +3 -3
- package/dist/cjs/co-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/co-transfer-list.cjs.entry.js +1 -1
- package/dist/cjs/co-video.cjs.entry.js +3 -3
- 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-D8YJCyQF.js → fieldChip-B_npd9rL.js} +1 -1
- package/dist/cjs/{index-4y1Dm145.js → index-DFZ5YhIT.js} +171 -11
- package/dist/cjs/{index-DxEFsH_t.js → index-kBiXCEE7.js} +41 -21
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{positioning-DwHW399W.js → positioning-DCj_AJ2T.js} +10 -0
- package/dist/cjs/{requiredMark-B3pKyqYI.js → requiredMark-DuMIcKtt.js} +1 -1
- package/dist/cjs/{richTextI18n-B7ktXg3M.js → richTextI18n-B28uAhh4.js} +3 -0
- package/dist/cjs/time-LBHtzLHe.js +42 -0
- package/dist/cjs/{toolbar-config-3PlT-3zm.js → toolbar-config-BQfWTW6P.js} +2 -0
- package/dist/cobalt/cobalt.css +1 -1
- package/dist/cobalt/cobalt.esm.js +1 -1
- package/dist/cobalt/{p-075eed3d.entry.js → p-00830b8c.entry.js} +1 -1
- package/dist/cobalt/{p-cc0a4617.entry.js → p-0769eee9.entry.js} +1 -1
- package/dist/cobalt/p-0f18c4d2.entry.js +1 -0
- package/dist/cobalt/{p-5c3101b5.entry.js → p-0fc1edca.entry.js} +1 -1
- package/dist/cobalt/p-15852fec.entry.js +1 -0
- package/dist/cobalt/p-195c67ee.entry.js +1 -0
- package/dist/cobalt/{p-B6JZk8fL.js → p-1EK-COrb.js} +1 -1
- package/dist/cobalt/{p-d9608046.entry.js → p-1e9c9d46.entry.js} +1 -1
- package/dist/cobalt/{p-02c5a9a9.entry.js → p-202eadfc.entry.js} +1 -1
- package/dist/cobalt/{p-b4bed98b.entry.js → p-20bd3702.entry.js} +1 -1
- package/dist/cobalt/p-25f59046.entry.js +1 -0
- package/dist/cobalt/{p-809015dd.entry.js → p-260196cb.entry.js} +1 -1
- package/dist/cobalt/{p-771bc8fe.entry.js → p-27dce0ac.entry.js} +1 -1
- package/dist/cobalt/p-2bf44b2b.entry.js +1 -0
- package/dist/cobalt/{p-3f06d373.entry.js → p-2c100914.entry.js} +1 -1
- package/dist/cobalt/p-2e1d930f.entry.js +1 -0
- package/dist/cobalt/{p-47a2dd67.entry.js → p-35518aee.entry.js} +1 -1
- package/dist/cobalt/{p-c3462def.entry.js → p-38ae8bff.entry.js} +1 -1
- package/dist/cobalt/p-38cf47b6.entry.js +1 -0
- package/dist/cobalt/p-39dea0c0.entry.js +1 -0
- package/dist/cobalt/p-3a746267.entry.js +1 -0
- package/dist/cobalt/{p-9c6ca902.entry.js → p-3ae69426.entry.js} +1 -1
- package/dist/cobalt/{p-8dfb6886.entry.js → p-3af74ab8.entry.js} +1 -1
- package/dist/cobalt/{p-9a587867.entry.js → p-3d4e697e.entry.js} +1 -1
- package/dist/cobalt/{p-1681ce1d.entry.js → p-445acc4c.entry.js} +1 -1
- package/dist/cobalt/p-48fbf051.entry.js +1 -0
- package/dist/cobalt/p-4de9232a.entry.js +1 -0
- package/dist/cobalt/{p-fd27c2bd.entry.js → p-50bbfad8.entry.js} +1 -1
- package/dist/cobalt/{p-85eed52c.entry.js → p-51a1ad38.entry.js} +1 -1
- package/dist/cobalt/{p-1726ce07.entry.js → p-523aca9f.entry.js} +1 -1
- package/dist/cobalt/p-52af222b.entry.js +1 -0
- package/dist/cobalt/{p-81cfd951.entry.js → p-5319ac3f.entry.js} +1 -1
- package/dist/cobalt/{p-ba66584f.entry.js → p-53a276a8.entry.js} +1 -1
- package/dist/cobalt/{p-f0de4415.entry.js → p-543cc00d.entry.js} +1 -1
- package/dist/cobalt/{p-a9afbaa6.entry.js → p-59f7d44b.entry.js} +1 -1
- package/dist/cobalt/{p-e420d5c9.entry.js → p-5b984323.entry.js} +1 -1
- package/dist/cobalt/{p-e710b9ea.entry.js → p-5bfaca70.entry.js} +1 -1
- package/dist/cobalt/p-5c1328ff.entry.js +1 -0
- package/dist/cobalt/{p-0d7536a8.entry.js → p-5c250889.entry.js} +1 -1
- package/dist/cobalt/p-5e21ca17.entry.js +1 -0
- package/dist/cobalt/p-61d5ca3c.entry.js +1 -0
- package/dist/cobalt/{p-8e823c15.entry.js → p-6357d9dd.entry.js} +1 -1
- package/dist/cobalt/{p-495c9b99.entry.js → p-69723cc1.entry.js} +1 -1
- package/dist/cobalt/{p-8128e84a.entry.js → p-6985a964.entry.js} +1 -1
- package/dist/cobalt/p-69b8d98e.entry.js +1 -0
- package/dist/cobalt/p-6b089060.entry.js +1 -0
- package/dist/cobalt/{p-627d2d1a.entry.js → p-6b256d01.entry.js} +1 -1
- package/dist/cobalt/{p-c1e53e4c.entry.js → p-7c6b3175.entry.js} +1 -1
- package/dist/cobalt/p-7d077a7c.entry.js +1 -0
- package/dist/cobalt/{p-20ba59a2.entry.js → p-7f4bf341.entry.js} +1 -1
- package/dist/cobalt/p-869c338a.entry.js +1 -0
- package/dist/cobalt/p-890296f9.entry.js +1 -0
- package/dist/cobalt/{p-5c43d30e.entry.js → p-8fe08257.entry.js} +1 -1
- package/dist/cobalt/p-913b2a14.entry.js +1 -0
- package/dist/cobalt/{p-2d1cbd7f.entry.js → p-959556f4.entry.js} +1 -1
- package/dist/cobalt/p-97875bde.entry.js +1 -0
- package/dist/cobalt/p-9824c478.entry.js +1 -0
- package/dist/cobalt/p-99c1ff0f.entry.js +1 -0
- package/dist/cobalt/p-BCEz3S-z.js +2 -0
- package/dist/cobalt/{p-Bgxofdfb.js → p-BL0sCfMH.js} +1 -1
- package/dist/cobalt/p-BMdapAL8.js +1 -0
- package/dist/cobalt/p-BU7SQCje.js +1 -0
- package/dist/cobalt/p-BYKAgwq3.js +1 -0
- package/dist/cobalt/p-C-d15gih.js +1 -0
- package/dist/cobalt/p-CF8OB_TM.js +1 -0
- package/dist/cobalt/p-CnNpoKwg.js +1 -0
- package/dist/cobalt/p-D5gr2ent.js +1 -0
- package/dist/cobalt/p-WeuPA9Rw.js +1 -0
- package/dist/cobalt/{p-fb251497.entry.js → p-a04feb70.entry.js} +1 -1
- package/dist/cobalt/{p-77d01b39.entry.js → p-a252f8c5.entry.js} +1 -1
- package/dist/cobalt/p-a4f39ba2.entry.js +1 -0
- package/dist/cobalt/{p-5e9a9caf.entry.js → p-a7c23027.entry.js} +1 -1
- package/dist/cobalt/p-ab8e150e.entry.js +1 -0
- package/dist/cobalt/{p-6ad1625a.entry.js → p-acdb68a7.entry.js} +1 -1
- package/dist/cobalt/{p-c6fedc59.entry.js → p-afd957c0.entry.js} +1 -1
- package/dist/cobalt/{p-c750b2d2.entry.js → p-b45ea918.entry.js} +1 -1
- package/dist/cobalt/p-bad7ce84.entry.js +1 -0
- package/dist/cobalt/{p-5edd0d3f.entry.js → p-bebacee2.entry.js} +1 -1
- package/dist/cobalt/{p-bb534985.entry.js → p-c237add6.entry.js} +1 -1
- package/dist/cobalt/p-c32949a5.entry.js +1 -0
- package/dist/cobalt/{p-3f68fd2e.entry.js → p-cd5555d2.entry.js} +1 -1
- package/dist/cobalt/p-cd96aabf.entry.js +1 -0
- package/dist/cobalt/{p-b8ec0cc1.entry.js → p-ce961fba.entry.js} +1 -1
- package/dist/cobalt/p-d56b8a1f.entry.js +1 -0
- package/dist/cobalt/p-d6fff135.entry.js +1 -0
- package/dist/cobalt/{p-b1197c08.entry.js → p-d71b87d3.entry.js} +1 -1
- package/dist/cobalt/{p-af4cb263.entry.js → p-d83e5189.entry.js} +1 -1
- package/dist/cobalt/p-dc269096.entry.js +1 -0
- package/dist/cobalt/{p-0d6a562d.entry.js → p-dc8e88f4.entry.js} +1 -1
- package/dist/cobalt/p-de5a05fc.entry.js +1 -0
- package/dist/cobalt/{p-86e60cfa.entry.js → p-df63f23c.entry.js} +1 -1
- package/dist/cobalt/p-e2188319.entry.js +1 -0
- package/dist/cobalt/p-f0c589ad.entry.js +1 -0
- package/dist/cobalt/{p-e9aaeaf7.entry.js → p-f4370423.entry.js} +1 -1
- package/dist/cobalt/p-f4e4bebf.entry.js +1 -0
- package/dist/cobalt/p-f53b9536.entry.js +1 -0
- package/dist/cobalt/{p-373cd08e.entry.js → p-f7ae0228.entry.js} +1 -1
- package/dist/collection/collection-manifest.json +8 -0
- package/dist/collection/components/co-action-bar/co-action-bar.css +148 -0
- package/dist/collection/components/co-action-bar/co-action-bar.js +247 -0
- package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
- package/dist/collection/components/co-audio-player/co-audio-player.css +58 -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 +1 -1
- package/dist/collection/components/co-avatar/co-avatar.css +23 -0
- package/dist/collection/components/co-avatar/co-avatar.js +24 -1
- package/dist/collection/components/co-avatar-group/co-avatar-group.css +9 -5
- package/dist/collection/components/co-avatar-group/co-avatar-group.js +2 -2
- package/dist/collection/components/co-badge/co-badge.js +1 -1
- 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 +19 -0
- 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.js +1 -1
- package/dist/collection/components/co-calendar-month/co-calendar-month.css +52 -3
- 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.js +2 -2
- package/dist/collection/components/co-carousel/co-carousel.css +152 -0
- package/dist/collection/components/co-carousel/co-carousel.js +633 -0
- package/dist/collection/components/co-carousel-item/co-carousel-item.css +6 -0
- package/dist/collection/components/co-carousel-item/co-carousel-item.js +25 -0
- package/dist/collection/components/co-checkbox/co-checkbox.css +1 -1
- package/dist/collection/components/co-checkbox/co-checkbox.js +3 -3
- package/dist/collection/components/co-chip/co-chip.js +2 -2
- package/dist/collection/components/co-color-picker/co-color-picker.css +11 -10
- package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
- package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
- package/dist/collection/components/co-combobox/co-combobox.css +6 -8
- package/dist/collection/components/co-data-table/co-data-table.css +23 -8
- 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 +6 -7
- package/dist/collection/components/co-date-field/co-date-field.js +4 -4
- package/dist/collection/components/co-date-picker/co-date-picker.css +16 -0
- package/dist/collection/components/co-date-picker/co-date-picker.js +28 -1
- 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 +13 -1
- package/dist/collection/components/co-date-range-picker/co-date-range-picker.js +26 -0
- 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 +46 -0
- package/dist/collection/components/co-drawer/co-drawer.js +1 -1
- 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 +19 -7
- package/dist/collection/components/co-event-calendar/co-event-calendar.js +342 -39
- package/dist/collection/components/co-event-popover/co-event-popover.css +26 -0
- package/dist/collection/components/co-event-popover/co-event-popover.js +326 -0
- package/dist/collection/components/co-fab/co-fab.css +70 -10
- package/dist/collection/components/co-fab/co-fab.js +39 -4
- package/dist/collection/components/co-file-field/co-file-field.css +2 -2
- 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.js +1 -1
- package/dist/collection/components/co-input/co-input.css +13 -1
- package/dist/collection/components/co-input/co-input.js +26 -0
- package/dist/collection/components/co-json-field/co-json-field.css +4 -8
- package/dist/collection/components/co-json-field/co-json-field.js +3 -3
- package/dist/collection/components/co-lightbox/co-lightbox.css +12 -1
- package/dist/collection/components/co-lightbox/co-lightbox.js +31 -4
- package/dist/collection/components/co-list-footer/co-list-footer.js +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 +21 -0
- package/dist/collection/components/co-menu-item/co-menu-item.js +20 -1
- 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 +1 -1
- package/dist/collection/components/co-number-field/co-number-field.js +2 -2
- package/dist/collection/components/co-option-list/co-option-list.css +18 -0
- package/dist/collection/components/co-option-list/co-option-list.js +127 -5
- package/dist/collection/components/co-option-list/optionListLogic.js +13 -0
- 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 +2 -2
- package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
- package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
- 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.js +3 -3
- package/dist/collection/components/co-rating/co-rating.js +3 -3
- package/dist/collection/components/co-ref-field/co-ref-field.css +17 -1
- package/dist/collection/components/co-ref-field/co-ref-field.js +32 -2
- package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +32 -3
- package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +97 -4
- package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.css +8 -0
- package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.js +93 -3
- package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.css +19 -0
- package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.js +53 -4
- package/dist/collection/components/co-row/co-row.js +2 -2
- package/dist/collection/components/co-select/co-select.css +12 -1
- package/dist/collection/components/co-select/co-select.js +30 -4
- package/dist/collection/components/co-separator/co-separator.js +1 -1
- package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
- 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.js +2 -2
- package/dist/collection/components/co-switch/co-switch.js +3 -3
- package/dist/collection/components/co-tab/co-tab.js +2 -2
- package/dist/collection/components/co-tab-group/co-tab-group.css +32 -4
- package/dist/collection/components/co-tab-group/co-tab-group.js +18 -2
- package/dist/collection/components/co-tags-field/co-tags-field.css +12 -21
- package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
- package/dist/collection/components/co-textarea/co-textarea.css +18 -8
- package/dist/collection/components/co-textarea/co-textarea.js +30 -4
- 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.js +2 -2
- package/dist/collection/components/co-video/co-video.js +2 -2
- package/dist/collection/utils/carouselI18n.js +36 -0
- 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/collection/utils/richTextI18n.js +3 -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.d.ts +11 -0
- package/dist/components/co-carousel-item.js +1 -0
- package/dist/components/co-carousel.d.ts +11 -0
- package/dist/components/co-carousel.js +1 -0
- 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-rich-text-viewer.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-B21rOC2Y.js +1 -0
- package/dist/components/{p-DvL2TcDG.js → p-BC6sxVVr.js} +1 -1
- package/dist/components/{p-Bgxofdfb.js → p-BL0sCfMH.js} +1 -1
- package/dist/components/p-BMdapAL8.js +1 -0
- package/dist/components/p-BQFperIX.js +1 -0
- package/dist/components/{p-Cam92sWP.js → p-BXtiFFM2.js} +1 -1
- package/dist/components/{p-CmCsm4L-.js → p-BdArvV6T.js} +1 -1
- package/dist/components/p-BnkGlFYy.js +1 -0
- package/dist/components/p-C-5cLeKr.js +1 -0
- package/dist/components/p-CDWXNRpo.js +1 -0
- package/dist/components/p-CF8OB_TM.js +1 -0
- package/dist/components/{p-_k-j03K-.js → p-CIWoKlGj.js} +1 -1
- package/dist/components/{p-lus32JrB.js → p-CVCEiwOS.js} +1 -1
- package/dist/components/{p-QWi9AmnD.js → p-CfeNhAHW.js} +1 -1
- package/dist/components/p-Ch837Ggl.js +1 -0
- package/dist/components/p-ChLib-si.js +1 -0
- package/dist/components/p-ChPooamL.js +1 -0
- package/dist/components/p-CnNpoKwg.js +1 -0
- package/dist/components/p-D-3BTFRs.js +1 -0
- package/dist/components/p-D0wrmRH8.js +1 -0
- package/dist/components/p-DZX7cEqP.js +1 -0
- package/dist/components/{p-D4SOCy8I.js → p-DbISGXT_.js} +1 -1
- package/dist/components/p-Dxa7c4Ap.js +1 -0
- package/dist/components/p-T0MdU7sb.js +1 -0
- package/dist/components/p-W8Y8ZuPs.js +1 -0
- package/dist/components/p-WeuPA9Rw.js +1 -0
- package/dist/components/{p-CNIs9j-h.js → p-cteJszd-.js} +1 -1
- package/dist/components/p-e5KibEs8.js +1 -0
- package/dist/components/{p-COb8X_fE.js → p-mUoTCiYa.js} +1 -1
- package/dist/components/p-uZ2D6ESV.js +1 -0
- package/dist/components/p-ySi6UG0O.js +1 -0
- package/dist/esm/co-accordion.entry.js +1 -1
- package/dist/esm/co-action-bar.entry.js +87 -0
- package/dist/esm/co-app-shell.entry.js +3 -3
- package/dist/esm/co-audio-player.entry.js +277 -0
- package/dist/esm/co-autocomplete.entry.js +3 -3
- package/dist/esm/co-avatar-group.entry.js +3 -3
- package/dist/esm/{co-tooltip.entry.js → co-avatar_2.entry.js} +96 -5
- package/dist/esm/co-badge.entry.js +2 -2
- package/dist/esm/co-bottom-sheet.entry.js +4 -4
- 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 +12 -12
- package/dist/esm/co-card.entry.js +3 -3
- package/dist/esm/co-carousel-item.entry.js +15 -0
- package/dist/esm/co-carousel.entry.js +366 -0
- package/dist/esm/co-checkbox-group.entry.js +1 -1
- package/dist/esm/co-checkbox.entry.js +5 -5
- package/dist/esm/co-chip_2.entry.js +96 -7
- package/dist/esm/co-color-picker.entry.js +5 -5
- package/dist/esm/co-column-picker.entry.js +3 -3
- package/dist/esm/co-combobox.entry.js +3 -3
- package/dist/esm/co-command-search.entry.js +1 -1
- package/dist/esm/co-data-table-pagination.entry.js +5 -5
- package/dist/esm/co-data-table.entry.js +2 -2
- package/dist/esm/co-date-picker.entry.js +12 -5
- package/dist/esm/co-date-range-picker.entry.js +11 -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 +2 -2
- 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 +21 -6
- 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 +2 -2
- package/dist/esm/co-icon.entry.js +3 -3
- package/dist/esm/co-input.entry.js +9 -3
- package/dist/esm/co-json-field.entry.js +6 -6
- package/dist/esm/co-lightbox.entry.js +34 -7
- package/dist/esm/co-list-footer.entry.js +2 -2
- package/dist/esm/co-list-item.entry.js +5 -5
- 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 +3 -3
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/co-progress-bar.entry.js +3 -3
- package/dist/esm/co-progress-circle.entry.js +3 -3
- package/dist/esm/co-provider-logo_2.entry.js +69 -0
- package/dist/esm/co-radio-group.entry.js +1 -1
- package/dist/esm/co-radio.entry.js +4 -4
- package/dist/esm/co-rating.entry.js +4 -4
- package/dist/esm/co-ref-field.entry.js +16 -6
- package/dist/esm/co-rich-text-editor.entry.js +22 -7
- package/dist/esm/co-rich-text-toolbar.entry.js +37 -5
- package/dist/esm/co-rich-text-viewer.entry.js +36 -6
- 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 +13 -7
- package/dist/esm/co-separator.entry.js +2 -2
- package/dist/esm/co-sidebar-nav.entry.js +13 -3
- package/dist/esm/co-sidebar.entry.js +3 -3
- package/dist/esm/co-slider.entry.js +3 -3
- package/dist/esm/co-switch.entry.js +5 -5
- package/dist/esm/co-tab-group.entry.js +20 -4
- package/dist/esm/co-tab.entry.js +3 -3
- package/dist/esm/co-tags-field.entry.js +9 -9
- package/dist/esm/co-textarea.entry.js +13 -7
- package/dist/esm/co-toast.entry.js +1 -1
- package/dist/esm/co-toggle-button-group.entry.js +3 -3
- package/dist/esm/co-toggle-button.entry.js +3 -3
- package/dist/esm/co-transfer-list.entry.js +1 -1
- package/dist/esm/co-video.entry.js +3 -3
- 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-ChXW__C5.js → fieldChip-Bb8YIN0J.js} +1 -1
- package/dist/esm/{index-tT-aZV0-.js → index-BCEz3S-z.js} +41 -21
- package/dist/esm/{index-Cyrxk8Qq.js → index-RuXxdKzC.js} +171 -11
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{positioning-C2mZ7x_Y.js → positioning-BMdapAL8.js} +10 -0
- package/dist/esm/{requiredMark-C7-_2UhB.js → requiredMark-D7kAMXHM.js} +1 -1
- package/dist/esm/{richTextI18n-B-ckjCUA.js → richTextI18n-BYKAgwq3.js} +3 -0
- package/dist/esm/time-CF8OB_TM.js +37 -0
- package/dist/esm/{toolbar-config-ChibIpZv.js → toolbar-config-WeuPA9Rw.js} +2 -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-avatar/co-avatar.d.ts +5 -0
- 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-carousel/co-carousel.d.ts +85 -0
- package/dist/types/components/co-carousel-item/co-carousel-item.d.ts +10 -0
- package/dist/types/components/co-date-picker/co-date-picker.d.ts +7 -0
- package/dist/types/components/co-date-range-picker/co-date-range-picker.d.ts +5 -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-fab/co-fab.d.ts +6 -0
- package/dist/types/components/co-input/co-input.d.ts +5 -0
- package/dist/types/components/co-lightbox/co-lightbox.d.ts +7 -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 +23 -0
- 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 +6 -0
- package/dist/types/components/co-rich-text-editor/co-rich-text-editor.d.ts +17 -0
- package/dist/types/components/co-rich-text-toolbar/co-rich-text-toolbar.d.ts +12 -1
- package/dist/types/components/co-rich-text-viewer/co-rich-text-viewer.d.ts +10 -0
- package/dist/types/components/co-select/co-select.d.ts +5 -0
- package/dist/types/components/co-tab-group/co-tab-group.d.ts +5 -0
- package/dist/types/components/co-textarea/co-textarea.d.ts +5 -0
- package/dist/types/components.d.ts +1632 -103
- package/dist/types/utils/carouselI18n.d.ts +10 -0
- package/dist/types/utils/dateI18n.d.ts +7 -0
- package/dist/types/utils/eventColor.d.ts +20 -0
- package/dist/types/utils/richTextI18n.d.ts +1 -0
- package/package.json +4 -4
- package/dist/cjs/co-avatar.cjs.entry.js +0 -92
- 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-002e5beb.entry.js +0 -1
- package/dist/cobalt/p-0c0621a7.entry.js +0 -1
- package/dist/cobalt/p-13fc9c8a.entry.js +0 -1
- package/dist/cobalt/p-14d4c5c7.entry.js +0 -1
- package/dist/cobalt/p-4a075257.entry.js +0 -1
- package/dist/cobalt/p-5647ca9d.entry.js +0 -1
- package/dist/cobalt/p-5b31d45b.entry.js +0 -1
- package/dist/cobalt/p-6911a034.entry.js +0 -1
- package/dist/cobalt/p-70f70e02.entry.js +0 -1
- package/dist/cobalt/p-73b30ebb.entry.js +0 -1
- package/dist/cobalt/p-75dcaeb0.entry.js +0 -1
- package/dist/cobalt/p-7780ddb5.entry.js +0 -1
- package/dist/cobalt/p-7FZXeBK4.js +0 -1
- package/dist/cobalt/p-86d4e016.entry.js +0 -1
- package/dist/cobalt/p-8a9ed2da.entry.js +0 -1
- package/dist/cobalt/p-8f194753.entry.js +0 -1
- package/dist/cobalt/p-9c873a6a.entry.js +0 -1
- package/dist/cobalt/p-B-ckjCUA.js +0 -1
- package/dist/cobalt/p-BAA4ln31.js +0 -1
- package/dist/cobalt/p-C1DCLOEl.js +0 -1
- package/dist/cobalt/p-C2mZ7x_Y.js +0 -1
- package/dist/cobalt/p-ChibIpZv.js +0 -1
- package/dist/cobalt/p-a6900010.entry.js +0 -1
- package/dist/cobalt/p-aa20ffca.entry.js +0 -1
- package/dist/cobalt/p-ac5df270.entry.js +0 -1
- package/dist/cobalt/p-c0f39ddd.entry.js +0 -1
- package/dist/cobalt/p-c2e2eee9.entry.js +0 -1
- package/dist/cobalt/p-cc8e2f16.entry.js +0 -1
- package/dist/cobalt/p-e1957078.entry.js +0 -1
- package/dist/cobalt/p-e2762263.entry.js +0 -1
- package/dist/cobalt/p-e33853fa.entry.js +0 -1
- package/dist/cobalt/p-e4a539da.entry.js +0 -1
- package/dist/cobalt/p-e7085f08.entry.js +0 -1
- package/dist/cobalt/p-f073b467.entry.js +0 -1
- package/dist/cobalt/p-f36e461f.entry.js +0 -1
- package/dist/cobalt/p-f6ac5301.entry.js +0 -1
- package/dist/cobalt/p-f6b0c4a0.entry.js +0 -1
- package/dist/cobalt/p-f86ccb38.entry.js +0 -1
- package/dist/cobalt/p-tPYikBRJ.js +0 -1
- package/dist/cobalt/p-tT-aZV0-.js +0 -2
- package/dist/components/p-BHqdcGDh.js +0 -1
- package/dist/components/p-BJTMFYax.js +0 -1
- package/dist/components/p-Ba5lW0pA.js +0 -1
- package/dist/components/p-Bsq90mo4.js +0 -1
- package/dist/components/p-C1DCLOEl.js +0 -1
- package/dist/components/p-C2mZ7x_Y.js +0 -1
- package/dist/components/p-ChibIpZv.js +0 -1
- package/dist/components/p-CyYF8IJE.js +0 -1
- package/dist/components/p-D3ts7oo9.js +0 -1
- package/dist/components/p-Dh-h40mY.js +0 -1
- package/dist/components/p-DrQh1Cb8.js +0 -1
- package/dist/components/p-OKwHt2i9.js +0 -1
- package/dist/components/p-Xwo2HQmt.js +0 -1
- package/dist/components/p-eSq2ze8W.js +0 -1
- package/dist/esm/co-avatar.entry.js +0 -90
- 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
|
|
@@ -183,6 +261,10 @@ export namespace Components {
|
|
|
183
261
|
* @default 'regular'
|
|
184
262
|
*/
|
|
185
263
|
"iconWeight": 'regular' | 'thin' | 'light' | 'bold' | 'fill' | 'duotone';
|
|
264
|
+
/**
|
|
265
|
+
* Full name / tooltip content. When set (non-empty), the avatar renders wrapped in a `co-tooltip` showing this text on hover/focus — every consumer gets the tooltip for free instead of having to wire it up externally. When unset, renders exactly as before (no wrapper).
|
|
266
|
+
*/
|
|
267
|
+
"name"?: string;
|
|
186
268
|
/**
|
|
187
269
|
* Optional 2px ring color (hex/CSS). Drives the inset ::after ring.
|
|
188
270
|
*/
|
|
@@ -352,6 +434,10 @@ export namespace Components {
|
|
|
352
434
|
"value"?: string;
|
|
353
435
|
}
|
|
354
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;
|
|
355
441
|
/**
|
|
356
442
|
* Custom background color (CSS value or token, e.g. "var(--co-color-secondary-rojo-100)")
|
|
357
443
|
*/
|
|
@@ -398,7 +484,7 @@ export namespace Components {
|
|
|
398
484
|
*/
|
|
399
485
|
"size": 'l' | 'm' | 's' | 'xs';
|
|
400
486
|
/**
|
|
401
|
-
* 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"`.
|
|
402
488
|
* @default 'light'
|
|
403
489
|
*/
|
|
404
490
|
"surface": 'light' | 'dark';
|
|
@@ -514,6 +600,10 @@ export namespace Components {
|
|
|
514
600
|
* old data on failure (that IS the revert).
|
|
515
601
|
*/
|
|
516
602
|
interface CoCalendarMonth {
|
|
603
|
+
/**
|
|
604
|
+
* Limpia el resaltado persistente (lo llama el host al cerrar su form).
|
|
605
|
+
*/
|
|
606
|
+
"clearSelection": () => Promise<void>;
|
|
517
607
|
/**
|
|
518
608
|
* Master interaction gate.
|
|
519
609
|
* @default true
|
|
@@ -529,6 +619,11 @@ export namespace Components {
|
|
|
529
619
|
* @default 1
|
|
530
620
|
*/
|
|
531
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;
|
|
532
627
|
/**
|
|
533
628
|
* BCP-47 locale for weekday labels.
|
|
534
629
|
* @default 'es-CO'
|
|
@@ -565,6 +660,79 @@ export namespace Components {
|
|
|
565
660
|
*/
|
|
566
661
|
"year": number;
|
|
567
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
|
+
}
|
|
568
736
|
interface CoCard {
|
|
569
737
|
/**
|
|
570
738
|
* Make the card fully clickable
|
|
@@ -587,6 +755,74 @@ export namespace Components {
|
|
|
587
755
|
*/
|
|
588
756
|
"variant": 'elevated' | 'outlined' | 'flat';
|
|
589
757
|
}
|
|
758
|
+
/**
|
|
759
|
+
* A generic slide carousel. Coordinates light-DOM `co-carousel-item`
|
|
760
|
+
* children (same pattern as co-tab-group): the parent stamps aria and
|
|
761
|
+
* inertness on each item and translates a flex track to the active index.
|
|
762
|
+
* No v-model in the Vue wrappers — consume with `:value` + `@coSlideChange`.
|
|
763
|
+
*/
|
|
764
|
+
interface CoCarousel {
|
|
765
|
+
/**
|
|
766
|
+
* Show prev/next arrows
|
|
767
|
+
* @default true
|
|
768
|
+
*/
|
|
769
|
+
"arrows": boolean;
|
|
770
|
+
/**
|
|
771
|
+
* Container aspect ratio
|
|
772
|
+
* @default 'auto'
|
|
773
|
+
*/
|
|
774
|
+
"aspectRatio": '16:9' | '4:3' | '1:1' | '21:9' | 'auto';
|
|
775
|
+
/**
|
|
776
|
+
* Auto-advance slides
|
|
777
|
+
* @default false
|
|
778
|
+
*/
|
|
779
|
+
"autoplay": boolean;
|
|
780
|
+
/**
|
|
781
|
+
* Show dot indicators
|
|
782
|
+
* @default true
|
|
783
|
+
*/
|
|
784
|
+
"dots": boolean;
|
|
785
|
+
"goTo": (index: number) => Promise<void>;
|
|
786
|
+
/**
|
|
787
|
+
* Autoplay interval in milliseconds (floored at 1000)
|
|
788
|
+
* @default 6000
|
|
789
|
+
*/
|
|
790
|
+
"interval": number;
|
|
791
|
+
/**
|
|
792
|
+
* Language for aria labels (es/en/pt, accepts full locales)
|
|
793
|
+
* @default 'es'
|
|
794
|
+
*/
|
|
795
|
+
"locale": string;
|
|
796
|
+
/**
|
|
797
|
+
* Wrap around at the ends
|
|
798
|
+
* @default true
|
|
799
|
+
*/
|
|
800
|
+
"loop": boolean;
|
|
801
|
+
"next": () => Promise<void>;
|
|
802
|
+
/**
|
|
803
|
+
* Pause autoplay while hovered
|
|
804
|
+
* @default true
|
|
805
|
+
*/
|
|
806
|
+
"pauseOnHover": boolean;
|
|
807
|
+
"prev": () => Promise<void>;
|
|
808
|
+
/**
|
|
809
|
+
* Enable pointer swipe navigation
|
|
810
|
+
* @default true
|
|
811
|
+
*/
|
|
812
|
+
"swipe": boolean;
|
|
813
|
+
/**
|
|
814
|
+
* Active slide index
|
|
815
|
+
* @default 0
|
|
816
|
+
*/
|
|
817
|
+
"value": number;
|
|
818
|
+
}
|
|
819
|
+
/**
|
|
820
|
+
* A single slide inside a co-carousel. The parent carousel stamps
|
|
821
|
+
* aria-label / aria-hidden / inert on each item (same light-DOM
|
|
822
|
+
* coordination pattern as co-tab-group ↔ co-tab).
|
|
823
|
+
*/
|
|
824
|
+
interface CoCarouselItem {
|
|
825
|
+
}
|
|
590
826
|
interface CoCheckbox {
|
|
591
827
|
/**
|
|
592
828
|
* Visual appearance: - 'default' — the standard labeled form checkbox (unchanged). - 'overlay' — a standalone frosted rounded selection chip (Drive), no label, bespoke SVG glyphs.
|
|
@@ -1381,6 +1617,11 @@ export namespace Components {
|
|
|
1381
1617
|
* @default null
|
|
1382
1618
|
*/
|
|
1383
1619
|
"value": string | null;
|
|
1620
|
+
/**
|
|
1621
|
+
* Visual style. `flat` strips the inner co-date-field's border and background so it reads as plain content instead of a boxed control — padding, label, focus ring, disabled and invalid states are unaffected. `default` (the standard bordered box) renders identically to before this prop existed. co-date-field itself has no `variant` prop, so this is applied from the outside via `::part(field)` — see co-date-picker.css.
|
|
1622
|
+
* @default 'default'
|
|
1623
|
+
*/
|
|
1624
|
+
"variant": 'default' | 'flat';
|
|
1384
1625
|
}
|
|
1385
1626
|
/**
|
|
1386
1627
|
* @deprecated Use `<co-date-range-picker>` instead.
|
|
@@ -1535,6 +1776,134 @@ export namespace Components {
|
|
|
1535
1776
|
* @default ''
|
|
1536
1777
|
*/
|
|
1537
1778
|
"value": string;
|
|
1779
|
+
/**
|
|
1780
|
+
* Visual style. `flat` strips the trigger's border and background so it reads as plain content instead of a boxed control — padding, label, focus ring, disabled and invalid states are unaffected. `default` (the standard bordered box) renders identically to before this prop existed.
|
|
1781
|
+
* @default 'default'
|
|
1782
|
+
*/
|
|
1783
|
+
"variant": 'default' | 'flat';
|
|
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';
|
|
1538
1907
|
}
|
|
1539
1908
|
interface CoDrawer {
|
|
1540
1909
|
/**
|
|
@@ -1711,23 +2080,21 @@ export namespace Components {
|
|
|
1711
2080
|
*/
|
|
1712
2081
|
"variant": 'plain' | 'card';
|
|
1713
2082
|
}
|
|
1714
|
-
/**
|
|
1715
|
-
* co-event-calendar — the public entry point of the Cobalt Calendars family.
|
|
1716
|
-
* Owns view state, the visible anchor date, event normalization and the toolbar,
|
|
1717
|
-
* and delegates rendering to the active view (Phase 1: month). All hard math
|
|
1718
|
-
* lives in `@prolibu-suite/cobalt-calendar-utils`. Events are CONTROLLED: the
|
|
1719
|
-
* calendar emits requests (`coEventDrop`, `coDateSelect`) and the host applies
|
|
1720
|
-
* them by updating the `events` prop — leaving it unchanged on failure is the
|
|
1721
|
-
* revert.
|
|
1722
|
-
* Instants are ISO-8601 strings WITH offset/Z (timed) or "YYYY-MM-DD" (all-day);
|
|
1723
|
-
* the calendar never exposes Date objects. `timeZone` controls wall-clock render.
|
|
1724
|
-
*/
|
|
1725
2083
|
interface CoEventCalendar {
|
|
2084
|
+
/**
|
|
2085
|
+
* Show the all-day lane in week/day views.
|
|
2086
|
+
* @default true
|
|
2087
|
+
*/
|
|
2088
|
+
"allDaySlot": boolean;
|
|
1726
2089
|
/**
|
|
1727
2090
|
* Views offered in the switcher. Defaults to the implemented set.
|
|
1728
2091
|
* @default ['month']
|
|
1729
2092
|
*/
|
|
1730
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>;
|
|
1731
2098
|
/**
|
|
1732
2099
|
* Anchor date "YYYY-MM-DD" controlling the visible period. Persisted by host.
|
|
1733
2100
|
*/
|
|
@@ -1757,6 +2124,11 @@ export namespace Components {
|
|
|
1757
2124
|
* @default 1
|
|
1758
2125
|
*/
|
|
1759
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;
|
|
1760
2132
|
/**
|
|
1761
2133
|
* BCP-47 locale for labels.
|
|
1762
2134
|
* @default 'es-CO'
|
|
@@ -1766,29 +2138,99 @@ export namespace Components {
|
|
|
1766
2138
|
* Latest interactable day "YYYY-MM-DD".
|
|
1767
2139
|
*/
|
|
1768
2140
|
"maxDate"?: string;
|
|
2141
|
+
/**
|
|
2142
|
+
* @default '24:00'
|
|
2143
|
+
*/
|
|
2144
|
+
"maxTime": string;
|
|
1769
2145
|
/**
|
|
1770
2146
|
* Earliest interactable day "YYYY-MM-DD" (past-block).
|
|
1771
2147
|
*/
|
|
1772
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;
|
|
1773
2164
|
/**
|
|
1774
2165
|
* Allow empty-day selection to request a create.
|
|
1775
2166
|
* @default true
|
|
1776
2167
|
*/
|
|
1777
2168
|
"selectable": boolean;
|
|
1778
2169
|
/**
|
|
1779
|
-
*
|
|
2170
|
+
* Slot/snap granularity (minutes) for week/day.
|
|
2171
|
+
* @default 15
|
|
1780
2172
|
*/
|
|
1781
|
-
"
|
|
2173
|
+
"slotMinutes": number;
|
|
1782
2174
|
/**
|
|
1783
|
-
*
|
|
2175
|
+
* @default 15
|
|
1784
2176
|
*/
|
|
1785
|
-
"
|
|
2177
|
+
"snapMinutes": number;
|
|
1786
2178
|
/**
|
|
1787
|
-
*
|
|
2179
|
+
* Optional status→{backgroundColor,borderColor} map (object or JSON string).
|
|
2180
|
+
*/
|
|
2181
|
+
"statusColors"?: StatusColorsProp;
|
|
2182
|
+
/**
|
|
2183
|
+
* IANA timezone for wall-clock rendering. Defaults to the browser zone.
|
|
2184
|
+
*/
|
|
2185
|
+
"timeZone"?: string;
|
|
2186
|
+
/**
|
|
2187
|
+
* Active view. `month`/`week`/`day` are implemented; `agenda` is pending.
|
|
1788
2188
|
* @default 'month'
|
|
1789
2189
|
*/
|
|
1790
2190
|
"view": 'month' | 'week' | 'day' | 'agenda';
|
|
1791
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
|
+
}
|
|
1792
2234
|
interface CoFab {
|
|
1793
2235
|
/**
|
|
1794
2236
|
* Accessible label for icon-only FABs (falls back to `label`/`icon`).
|
|
@@ -1798,6 +2240,11 @@ export namespace Components {
|
|
|
1798
2240
|
* @default false
|
|
1799
2241
|
*/
|
|
1800
2242
|
"disabled": boolean;
|
|
2243
|
+
/**
|
|
2244
|
+
* With `label`: icon-only circle at rest that stretches into the extended pill on hover/focus-visible (springy "liquid" morph).
|
|
2245
|
+
* @default false
|
|
2246
|
+
*/
|
|
2247
|
+
"expandOnHover": boolean;
|
|
1801
2248
|
/**
|
|
1802
2249
|
* @default 'plus'
|
|
1803
2250
|
*/
|
|
@@ -2109,6 +2556,11 @@ export namespace Components {
|
|
|
2109
2556
|
* @default ''
|
|
2110
2557
|
*/
|
|
2111
2558
|
"value": string;
|
|
2559
|
+
/**
|
|
2560
|
+
* Visual style. `flat` strips the field's border and background so it reads as plain content instead of a boxed input — padding, label, focus ring, disabled and status states are unaffected. `default` (the standard bordered box) renders identically to before this prop existed.
|
|
2561
|
+
* @default 'default'
|
|
2562
|
+
*/
|
|
2563
|
+
"variant": 'default' | 'flat';
|
|
2112
2564
|
}
|
|
2113
2565
|
/**
|
|
2114
2566
|
* Multiline JSON / arbitrary-object editor — a `<textarea>` with inline JSON
|
|
@@ -2394,6 +2846,10 @@ export namespace Components {
|
|
|
2394
2846
|
* Submenu nesting is unbounded — submenu items can themselves have submenus.
|
|
2395
2847
|
*/
|
|
2396
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;
|
|
2397
2853
|
/**
|
|
2398
2854
|
* Tighter row metrics (32px instead of 36px).
|
|
2399
2855
|
* @default false
|
|
@@ -2620,6 +3076,11 @@ export namespace Components {
|
|
|
2620
3076
|
* @default false
|
|
2621
3077
|
*/
|
|
2622
3078
|
"removableItems": boolean;
|
|
3079
|
+
/**
|
|
3080
|
+
* Habilita reorder por drag del bloque de seleccionados (selected-first).
|
|
3081
|
+
* @default false
|
|
3082
|
+
*/
|
|
3083
|
+
"reorderable": boolean;
|
|
2623
3084
|
/**
|
|
2624
3085
|
* @default 350
|
|
2625
3086
|
*/
|
|
@@ -2854,6 +3315,29 @@ export namespace Components {
|
|
|
2854
3315
|
*/
|
|
2855
3316
|
"value": number;
|
|
2856
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
|
+
}
|
|
2857
3341
|
interface CoRadio {
|
|
2858
3342
|
/**
|
|
2859
3343
|
* Whether the radio is selected
|
|
@@ -3079,6 +3563,11 @@ export namespace Components {
|
|
|
3079
3563
|
* @default ''
|
|
3080
3564
|
*/
|
|
3081
3565
|
"value": string;
|
|
3566
|
+
/**
|
|
3567
|
+
* Visual style. `flat` strips the trigger's border and background so it reads as plain content instead of a boxed control — padding, label, focus ring, disabled and status states are unaffected. `default` (the standard bordered box) renders identically to before this prop existed.
|
|
3568
|
+
* @default 'default'
|
|
3569
|
+
*/
|
|
3570
|
+
"variant": 'default' | 'flat';
|
|
3082
3571
|
}
|
|
3083
3572
|
/**
|
|
3084
3573
|
* Rich text editor backed by Tiptap v3.
|
|
@@ -3091,6 +3580,15 @@ export namespace Components {
|
|
|
3091
3580
|
* Account/imported fonts shown in a separate "Imported fonts" section. JS property: `Array<{ label: string; value: string }>`. HTML attribute: JSON string of the same array.
|
|
3092
3581
|
*/
|
|
3093
3582
|
"accountFonts"?: string | { label: string; value: string }[];
|
|
3583
|
+
/**
|
|
3584
|
+
* Passthrough: `accept` for the toolbar attachment picker.
|
|
3585
|
+
*/
|
|
3586
|
+
"attachmentAccept"?: string;
|
|
3587
|
+
/**
|
|
3588
|
+
* Passthrough: shows the toolbar attachment button (host owns the files).
|
|
3589
|
+
* @default false
|
|
3590
|
+
*/
|
|
3591
|
+
"attachmentsEnabled": boolean;
|
|
3094
3592
|
/**
|
|
3095
3593
|
* @default false
|
|
3096
3594
|
*/
|
|
@@ -3174,6 +3672,11 @@ export namespace Components {
|
|
|
3174
3672
|
* @default null
|
|
3175
3673
|
*/
|
|
3176
3674
|
"value": string | null;
|
|
3675
|
+
/**
|
|
3676
|
+
* Visual style. `flat` strips the frame's border and background so it reads as plain content instead of a boxed control — padding, label, focus ring, disabled and status states are unaffected. The toolbar keeps its own background + bottom border (a subtle, token-driven separator), which is what keeps toolbar and editable area legible/separated once the outer box is gone. `default` (the standard bordered box) renders identically to before this prop existed.
|
|
3677
|
+
* @default 'default'
|
|
3678
|
+
*/
|
|
3679
|
+
"variant": 'default' | 'flat';
|
|
3177
3680
|
}
|
|
3178
3681
|
/**
|
|
3179
3682
|
* Formatting toolbar for co-rich-text-editor. Receives the Tiptap editor
|
|
@@ -3182,6 +3685,15 @@ export namespace Components {
|
|
|
3182
3685
|
* color palette pickers.
|
|
3183
3686
|
*/
|
|
3184
3687
|
interface CoRichTextToolbar {
|
|
3688
|
+
/**
|
|
3689
|
+
* `accept` attr for the attachment file picker (e.g. '.pdf,.png').
|
|
3690
|
+
*/
|
|
3691
|
+
"attachmentAccept"?: string;
|
|
3692
|
+
/**
|
|
3693
|
+
* Shows the attachment button (compact-assets variant). The editor never owns the attachment list — it only emits the picked files.
|
|
3694
|
+
* @default false
|
|
3695
|
+
*/
|
|
3696
|
+
"attachmentsEnabled": boolean;
|
|
3185
3697
|
/**
|
|
3186
3698
|
* @default false
|
|
3187
3699
|
*/
|
|
@@ -3203,7 +3715,7 @@ export namespace Components {
|
|
|
3203
3715
|
* Toolbar layout variant.
|
|
3204
3716
|
* @default 'basic'
|
|
3205
3717
|
*/
|
|
3206
|
-
"variant": 'none' | 'compact' | 'basic' | 'full';
|
|
3718
|
+
"variant": 'none' | 'compact' | 'compact-assets' | 'basic' | 'full';
|
|
3207
3719
|
}
|
|
3208
3720
|
interface CoRichTextViewer {
|
|
3209
3721
|
/**
|
|
@@ -3215,6 +3727,10 @@ export namespace Components {
|
|
|
3215
3727
|
* Text shown when there is no content.
|
|
3216
3728
|
*/
|
|
3217
3729
|
"emptyText"?: string;
|
|
3730
|
+
/**
|
|
3731
|
+
* Feature overrides (JSON string for HTML attr, or object via JS property) — mirror the editor's `features`. They only WIDEN the whitelist: e.g. `mentions` keeps the V1 quill markup attrs (`data-id`, `data-denotation-char`, …) so the mention chip keeps its style hook in read mode. Without it the preset profile strips them.
|
|
3732
|
+
*/
|
|
3733
|
+
"features"?: string | object;
|
|
3218
3734
|
/**
|
|
3219
3735
|
* Input format. `html` is the lightweight path.
|
|
3220
3736
|
* @default 'html'
|
|
@@ -3338,6 +3854,11 @@ export namespace Components {
|
|
|
3338
3854
|
* @default ''
|
|
3339
3855
|
*/
|
|
3340
3856
|
"value": string | string[];
|
|
3857
|
+
/**
|
|
3858
|
+
* Visual style. `flat` strips the trigger's border and background so it reads as plain content instead of a boxed control — padding, label, focus ring, disabled and status states are unaffected. `default` (the standard bordered box) renders identically to before this prop existed.
|
|
3859
|
+
* @default 'default'
|
|
3860
|
+
*/
|
|
3861
|
+
"variant": 'default' | 'flat';
|
|
3341
3862
|
}
|
|
3342
3863
|
interface CoSeparator {
|
|
3343
3864
|
/**
|
|
@@ -3733,6 +4254,11 @@ export namespace Components {
|
|
|
3733
4254
|
* @default ''
|
|
3734
4255
|
*/
|
|
3735
4256
|
"value": string;
|
|
4257
|
+
/**
|
|
4258
|
+
* Visual style. `flat` strips the field's border and background so it reads as plain content instead of a boxed textarea — padding, label, focus ring, disabled and status states are unaffected. `default` (the standard bordered box) renders identically to before this prop existed.
|
|
4259
|
+
* @default 'default'
|
|
4260
|
+
*/
|
|
4261
|
+
"variant": 'default' | 'flat';
|
|
3736
4262
|
}
|
|
3737
4263
|
interface CoToast {
|
|
3738
4264
|
/**
|
|
@@ -4071,10 +4597,18 @@ export interface CoAccordionCustomEvent<T> extends CustomEvent<T> {
|
|
|
4071
4597
|
detail: T;
|
|
4072
4598
|
target: HTMLCoAccordionElement;
|
|
4073
4599
|
}
|
|
4600
|
+
export interface CoActionBarCustomEvent<T> extends CustomEvent<T> {
|
|
4601
|
+
detail: T;
|
|
4602
|
+
target: HTMLCoActionBarElement;
|
|
4603
|
+
}
|
|
4074
4604
|
export interface CoAppShellCustomEvent<T> extends CustomEvent<T> {
|
|
4075
4605
|
detail: T;
|
|
4076
4606
|
target: HTMLCoAppShellElement;
|
|
4077
4607
|
}
|
|
4608
|
+
export interface CoAudioPlayerCustomEvent<T> extends CustomEvent<T> {
|
|
4609
|
+
detail: T;
|
|
4610
|
+
target: HTMLCoAudioPlayerElement;
|
|
4611
|
+
}
|
|
4078
4612
|
export interface CoAutocompleteCustomEvent<T> extends CustomEvent<T> {
|
|
4079
4613
|
detail: T;
|
|
4080
4614
|
target: HTMLCoAutocompleteElement;
|
|
@@ -4099,6 +4633,14 @@ export interface CoCalendarMonthCustomEvent<T> extends CustomEvent<T> {
|
|
|
4099
4633
|
detail: T;
|
|
4100
4634
|
target: HTMLCoCalendarMonthElement;
|
|
4101
4635
|
}
|
|
4636
|
+
export interface CoCalendarTimegridCustomEvent<T> extends CustomEvent<T> {
|
|
4637
|
+
detail: T;
|
|
4638
|
+
target: HTMLCoCalendarTimegridElement;
|
|
4639
|
+
}
|
|
4640
|
+
export interface CoCarouselCustomEvent<T> extends CustomEvent<T> {
|
|
4641
|
+
detail: T;
|
|
4642
|
+
target: HTMLCoCarouselElement;
|
|
4643
|
+
}
|
|
4102
4644
|
export interface CoCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
4103
4645
|
detail: T;
|
|
4104
4646
|
target: HTMLCoCheckboxElement;
|
|
@@ -4151,6 +4693,10 @@ export interface CoDateRangePickerCustomEvent<T> extends CustomEvent<T> {
|
|
|
4151
4693
|
detail: T;
|
|
4152
4694
|
target: HTMLCoDateRangePickerElement;
|
|
4153
4695
|
}
|
|
4696
|
+
export interface CoDateTimePickerCustomEvent<T> extends CustomEvent<T> {
|
|
4697
|
+
detail: T;
|
|
4698
|
+
target: HTMLCoDateTimePickerElement;
|
|
4699
|
+
}
|
|
4154
4700
|
export interface CoDrawerCustomEvent<T> extends CustomEvent<T> {
|
|
4155
4701
|
detail: T;
|
|
4156
4702
|
target: HTMLCoDrawerElement;
|
|
@@ -4167,6 +4713,10 @@ export interface CoEventCalendarCustomEvent<T> extends CustomEvent<T> {
|
|
|
4167
4713
|
detail: T;
|
|
4168
4714
|
target: HTMLCoEventCalendarElement;
|
|
4169
4715
|
}
|
|
4716
|
+
export interface CoEventPopoverCustomEvent<T> extends CustomEvent<T> {
|
|
4717
|
+
detail: T;
|
|
4718
|
+
target: HTMLCoEventPopoverElement;
|
|
4719
|
+
}
|
|
4170
4720
|
export interface CoFabCustomEvent<T> extends CustomEvent<T> {
|
|
4171
4721
|
detail: T;
|
|
4172
4722
|
target: HTMLCoFabElement;
|
|
@@ -4329,6 +4879,40 @@ declare global {
|
|
|
4329
4879
|
prototype: HTMLCoAccordionElement;
|
|
4330
4880
|
new (): HTMLCoAccordionElement;
|
|
4331
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
|
+
};
|
|
4332
4916
|
interface HTMLCoAppShellElementEventMap {
|
|
4333
4917
|
"coSidebarModeChange": 'full' | 'min';
|
|
4334
4918
|
}
|
|
@@ -4349,6 +4933,26 @@ declare global {
|
|
|
4349
4933
|
prototype: HTMLCoAppShellElement;
|
|
4350
4934
|
new (): HTMLCoAppShellElement;
|
|
4351
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
|
+
};
|
|
4352
4956
|
interface HTMLCoAutocompleteElementEventMap {
|
|
4353
4957
|
"coSearch": string;
|
|
4354
4958
|
"coChange": { value: string | string[]; item: { _id: string; label: string } | null };
|
|
@@ -4505,8 +5109,8 @@ declare global {
|
|
|
4505
5109
|
new (): HTMLCoCalendarElement;
|
|
4506
5110
|
};
|
|
4507
5111
|
interface HTMLCoCalendarMonthElementEventMap {
|
|
4508
|
-
"coDaySelect": { date: string };
|
|
4509
|
-
"coEventClick": { id: string };
|
|
5112
|
+
"coDaySelect": { date: string; rect?: DOMRect };
|
|
5113
|
+
"coEventClick": { id: string; rect?: DOMRect };
|
|
4510
5114
|
"coEventDrop": {
|
|
4511
5115
|
id: string;
|
|
4512
5116
|
start: string;
|
|
@@ -4516,6 +5120,7 @@ declare global {
|
|
|
4516
5120
|
allDay: boolean;
|
|
4517
5121
|
};
|
|
4518
5122
|
"coMoreClick": { date: string };
|
|
5123
|
+
"coEventDblClick": { id: string; rect?: DOMRect };
|
|
4519
5124
|
}
|
|
4520
5125
|
/**
|
|
4521
5126
|
* Month grid for the event calendar. Forks the day grid, roving-tabindex and
|
|
@@ -4540,12 +5145,79 @@ declare global {
|
|
|
4540
5145
|
prototype: HTMLCoCalendarMonthElement;
|
|
4541
5146
|
new (): HTMLCoCalendarMonthElement;
|
|
4542
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
|
+
};
|
|
4543
5181
|
interface HTMLCoCardElement extends Components.CoCard, HTMLStencilElement {
|
|
4544
5182
|
}
|
|
4545
5183
|
var HTMLCoCardElement: {
|
|
4546
5184
|
prototype: HTMLCoCardElement;
|
|
4547
5185
|
new (): HTMLCoCardElement;
|
|
4548
5186
|
};
|
|
5187
|
+
interface HTMLCoCarouselElementEventMap {
|
|
5188
|
+
"coSlideChange": number;
|
|
5189
|
+
}
|
|
5190
|
+
/**
|
|
5191
|
+
* A generic slide carousel. Coordinates light-DOM `co-carousel-item`
|
|
5192
|
+
* children (same pattern as co-tab-group): the parent stamps aria and
|
|
5193
|
+
* inertness on each item and translates a flex track to the active index.
|
|
5194
|
+
* No v-model in the Vue wrappers — consume with `:value` + `@coSlideChange`.
|
|
5195
|
+
*/
|
|
5196
|
+
interface HTMLCoCarouselElement extends Components.CoCarousel, HTMLStencilElement {
|
|
5197
|
+
addEventListener<K extends keyof HTMLCoCarouselElementEventMap>(type: K, listener: (this: HTMLCoCarouselElement, ev: CoCarouselCustomEvent<HTMLCoCarouselElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5198
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5199
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5200
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
5201
|
+
removeEventListener<K extends keyof HTMLCoCarouselElementEventMap>(type: K, listener: (this: HTMLCoCarouselElement, ev: CoCarouselCustomEvent<HTMLCoCarouselElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
5202
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5203
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5204
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
5205
|
+
}
|
|
5206
|
+
var HTMLCoCarouselElement: {
|
|
5207
|
+
prototype: HTMLCoCarouselElement;
|
|
5208
|
+
new (): HTMLCoCarouselElement;
|
|
5209
|
+
};
|
|
5210
|
+
/**
|
|
5211
|
+
* A single slide inside a co-carousel. The parent carousel stamps
|
|
5212
|
+
* aria-label / aria-hidden / inert on each item (same light-DOM
|
|
5213
|
+
* coordination pattern as co-tab-group ↔ co-tab).
|
|
5214
|
+
*/
|
|
5215
|
+
interface HTMLCoCarouselItemElement extends Components.CoCarouselItem, HTMLStencilElement {
|
|
5216
|
+
}
|
|
5217
|
+
var HTMLCoCarouselItemElement: {
|
|
5218
|
+
prototype: HTMLCoCarouselItemElement;
|
|
5219
|
+
new (): HTMLCoCarouselItemElement;
|
|
5220
|
+
};
|
|
4549
5221
|
interface HTMLCoCheckboxElementEventMap {
|
|
4550
5222
|
"coChange": boolean;
|
|
4551
5223
|
}
|
|
@@ -4864,6 +5536,52 @@ declare global {
|
|
|
4864
5536
|
prototype: HTMLCoDateRangePickerElement;
|
|
4865
5537
|
new (): HTMLCoDateRangePickerElement;
|
|
4866
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
|
+
};
|
|
4867
5585
|
interface HTMLCoDrawerElementEventMap {
|
|
4868
5586
|
"coClose": void;
|
|
4869
5587
|
"coOpen": void;
|
|
@@ -4950,8 +5668,14 @@ declare global {
|
|
|
4950
5668
|
new (): HTMLCoEmptyStateElement;
|
|
4951
5669
|
};
|
|
4952
5670
|
interface HTMLCoEventCalendarElementEventMap {
|
|
4953
|
-
"coEventClick": { event: NormalizedEvent };
|
|
4954
|
-
"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
|
+
};
|
|
4955
5679
|
"coEventDrop": {
|
|
4956
5680
|
event: NormalizedEvent;
|
|
4957
5681
|
start: string;
|
|
@@ -4961,6 +5685,7 @@ declare global {
|
|
|
4961
5685
|
allDay: boolean;
|
|
4962
5686
|
revert: () => void;
|
|
4963
5687
|
};
|
|
5688
|
+
"coEventDblClick": { event: NormalizedEvent; rect: DOMRect | null };
|
|
4964
5689
|
"coDatesSet": {
|
|
4965
5690
|
view: string;
|
|
4966
5691
|
start: string;
|
|
@@ -4970,17 +5695,6 @@ declare global {
|
|
|
4970
5695
|
"coViewChange": { view: string };
|
|
4971
5696
|
"coMoreClick": { date: string; events: NormalizedEvent[] };
|
|
4972
5697
|
}
|
|
4973
|
-
/**
|
|
4974
|
-
* co-event-calendar — the public entry point of the Cobalt Calendars family.
|
|
4975
|
-
* Owns view state, the visible anchor date, event normalization and the toolbar,
|
|
4976
|
-
* and delegates rendering to the active view (Phase 1: month). All hard math
|
|
4977
|
-
* lives in `@prolibu-suite/cobalt-calendar-utils`. Events are CONTROLLED: the
|
|
4978
|
-
* calendar emits requests (`coEventDrop`, `coDateSelect`) and the host applies
|
|
4979
|
-
* them by updating the `events` prop — leaving it unchanged on failure is the
|
|
4980
|
-
* revert.
|
|
4981
|
-
* Instants are ISO-8601 strings WITH offset/Z (timed) or "YYYY-MM-DD" (all-day);
|
|
4982
|
-
* the calendar never exposes Date objects. `timeZone` controls wall-clock render.
|
|
4983
|
-
*/
|
|
4984
5698
|
interface HTMLCoEventCalendarElement extends Components.CoEventCalendar, HTMLStencilElement {
|
|
4985
5699
|
addEventListener<K extends keyof HTMLCoEventCalendarElementEventMap>(type: K, listener: (this: HTMLCoEventCalendarElement, ev: CoEventCalendarCustomEvent<HTMLCoEventCalendarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4986
5700
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -4995,6 +5709,30 @@ declare global {
|
|
|
4995
5709
|
prototype: HTMLCoEventCalendarElement;
|
|
4996
5710
|
new (): HTMLCoEventCalendarElement;
|
|
4997
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
|
+
};
|
|
4998
5736
|
interface HTMLCoFabElementEventMap {
|
|
4999
5737
|
"coClick": void;
|
|
5000
5738
|
}
|
|
@@ -5361,6 +6099,7 @@ declare global {
|
|
|
5361
6099
|
"coLoadMore": void;
|
|
5362
6100
|
"coClearSelection": void;
|
|
5363
6101
|
"coRemoveItem": string;
|
|
6102
|
+
"coReorder": { value: string[]; item: OptionListItem };
|
|
5364
6103
|
}
|
|
5365
6104
|
/**
|
|
5366
6105
|
* Núcleo de lista de opciones — la única fuente del look & behavior de los
|
|
@@ -5471,6 +6210,19 @@ declare global {
|
|
|
5471
6210
|
prototype: HTMLCoProgressCircleElement;
|
|
5472
6211
|
new (): HTMLCoProgressCircleElement;
|
|
5473
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
|
+
};
|
|
5474
6226
|
interface HTMLCoRadioElementEventMap {
|
|
5475
6227
|
"coChange": string;
|
|
5476
6228
|
}
|
|
@@ -5556,6 +6308,7 @@ declare global {
|
|
|
5556
6308
|
"coReady": void;
|
|
5557
6309
|
"coFontPopupShow": void;
|
|
5558
6310
|
"coFontPopupHide": void;
|
|
6311
|
+
"coAttachmentsSelected": { files: File[] };
|
|
5559
6312
|
}
|
|
5560
6313
|
/**
|
|
5561
6314
|
* Rich text editor backed by Tiptap v3.
|
|
@@ -5580,6 +6333,7 @@ declare global {
|
|
|
5580
6333
|
interface HTMLCoRichTextToolbarElementEventMap {
|
|
5581
6334
|
"coAction": { action: string; payload?: unknown };
|
|
5582
6335
|
"coPopoverChange": { open: boolean };
|
|
6336
|
+
"coAttachmentsSelected": { files: File[] };
|
|
5583
6337
|
}
|
|
5584
6338
|
/**
|
|
5585
6339
|
* Formatting toolbar for co-rich-text-editor. Receives the Tiptap editor
|
|
@@ -5944,7 +6698,9 @@ declare global {
|
|
|
5944
6698
|
};
|
|
5945
6699
|
interface HTMLElementTagNameMap {
|
|
5946
6700
|
"co-accordion": HTMLCoAccordionElement;
|
|
6701
|
+
"co-action-bar": HTMLCoActionBarElement;
|
|
5947
6702
|
"co-app-shell": HTMLCoAppShellElement;
|
|
6703
|
+
"co-audio-player": HTMLCoAudioPlayerElement;
|
|
5948
6704
|
"co-autocomplete": HTMLCoAutocompleteElement;
|
|
5949
6705
|
"co-avatar": HTMLCoAvatarElement;
|
|
5950
6706
|
"co-avatar-group": HTMLCoAvatarGroupElement;
|
|
@@ -5956,7 +6712,10 @@ declare global {
|
|
|
5956
6712
|
"co-button-group": HTMLCoButtonGroupElement;
|
|
5957
6713
|
"co-calendar": HTMLCoCalendarElement;
|
|
5958
6714
|
"co-calendar-month": HTMLCoCalendarMonthElement;
|
|
6715
|
+
"co-calendar-timegrid": HTMLCoCalendarTimegridElement;
|
|
5959
6716
|
"co-card": HTMLCoCardElement;
|
|
6717
|
+
"co-carousel": HTMLCoCarouselElement;
|
|
6718
|
+
"co-carousel-item": HTMLCoCarouselItemElement;
|
|
5960
6719
|
"co-checkbox": HTMLCoCheckboxElement;
|
|
5961
6720
|
"co-checkbox-group": HTMLCoCheckboxGroupElement;
|
|
5962
6721
|
"co-chip": HTMLCoChipElement;
|
|
@@ -5970,11 +6729,13 @@ declare global {
|
|
|
5970
6729
|
"co-date-picker": HTMLCoDatePickerElement;
|
|
5971
6730
|
"co-date-range": HTMLCoDateRangeElement;
|
|
5972
6731
|
"co-date-range-picker": HTMLCoDateRangePickerElement;
|
|
6732
|
+
"co-date-time-picker": HTMLCoDateTimePickerElement;
|
|
5973
6733
|
"co-drawer": HTMLCoDrawerElement;
|
|
5974
6734
|
"co-drive-card": HTMLCoDriveCardElement;
|
|
5975
6735
|
"co-drop-zone": HTMLCoDropZoneElement;
|
|
5976
6736
|
"co-empty-state": HTMLCoEmptyStateElement;
|
|
5977
6737
|
"co-event-calendar": HTMLCoEventCalendarElement;
|
|
6738
|
+
"co-event-popover": HTMLCoEventPopoverElement;
|
|
5978
6739
|
"co-fab": HTMLCoFabElement;
|
|
5979
6740
|
"co-file-field": HTMLCoFileFieldElement;
|
|
5980
6741
|
"co-file-type-tile": HTMLCoFileTypeTileElement;
|
|
@@ -6001,6 +6762,7 @@ declare global {
|
|
|
6001
6762
|
"co-popover": HTMLCoPopoverElement;
|
|
6002
6763
|
"co-progress-bar": HTMLCoProgressBarElement;
|
|
6003
6764
|
"co-progress-circle": HTMLCoProgressCircleElement;
|
|
6765
|
+
"co-provider-logo": HTMLCoProviderLogoElement;
|
|
6004
6766
|
"co-radio": HTMLCoRadioElement;
|
|
6005
6767
|
"co-radio-group": HTMLCoRadioGroupElement;
|
|
6006
6768
|
"co-rating": HTMLCoRatingElement;
|
|
@@ -6062,6 +6824,52 @@ declare namespace LocalJSX {
|
|
|
6062
6824
|
*/
|
|
6063
6825
|
"subheading"?: string;
|
|
6064
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
|
+
}
|
|
6065
6873
|
/**
|
|
6066
6874
|
* App Shell — Main application layout with navbar, sidebar, and content area.
|
|
6067
6875
|
*/
|
|
@@ -6081,6 +6889,46 @@ declare namespace LocalJSX {
|
|
|
6081
6889
|
*/
|
|
6082
6890
|
"sidebarMode"?: 'full' | 'min';
|
|
6083
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
|
+
}
|
|
6084
6932
|
interface CoAutocomplete {
|
|
6085
6933
|
/**
|
|
6086
6934
|
* @default true
|
|
@@ -6175,6 +7023,10 @@ declare namespace LocalJSX {
|
|
|
6175
7023
|
* @default 'regular'
|
|
6176
7024
|
*/
|
|
6177
7025
|
"iconWeight"?: 'regular' | 'thin' | 'light' | 'bold' | 'fill' | 'duotone';
|
|
7026
|
+
/**
|
|
7027
|
+
* Full name / tooltip content. When set (non-empty), the avatar renders wrapped in a `co-tooltip` showing this text on hover/focus — every consumer gets the tooltip for free instead of having to wire it up externally. When unset, renders exactly as before (no wrapper).
|
|
7028
|
+
*/
|
|
7029
|
+
"name"?: string;
|
|
6178
7030
|
/**
|
|
6179
7031
|
* Optional 2px ring color (hex/CSS). Drives the inset ::after ring.
|
|
6180
7032
|
*/
|
|
@@ -6368,6 +7220,10 @@ declare namespace LocalJSX {
|
|
|
6368
7220
|
"value"?: string;
|
|
6369
7221
|
}
|
|
6370
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;
|
|
6371
7227
|
/**
|
|
6372
7228
|
* Custom background color (CSS value or token, e.g. "var(--co-color-secondary-rojo-100)")
|
|
6373
7229
|
*/
|
|
@@ -6414,7 +7270,7 @@ declare namespace LocalJSX {
|
|
|
6414
7270
|
*/
|
|
6415
7271
|
"size"?: 'l' | 'm' | 's' | 'xs';
|
|
6416
7272
|
/**
|
|
6417
|
-
* 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"`.
|
|
6418
7274
|
* @default 'light'
|
|
6419
7275
|
*/
|
|
6420
7276
|
"surface"?: 'light' | 'dark';
|
|
@@ -6549,6 +7405,11 @@ declare namespace LocalJSX {
|
|
|
6549
7405
|
* @default 1
|
|
6550
7406
|
*/
|
|
6551
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;
|
|
6552
7413
|
/**
|
|
6553
7414
|
* BCP-47 locale for weekday labels.
|
|
6554
7415
|
* @default 'es-CO'
|
|
@@ -6574,11 +7435,15 @@ declare namespace LocalJSX {
|
|
|
6574
7435
|
/**
|
|
6575
7436
|
* Emitted when an empty day is selected (create request). Detail = "YYYY-MM-DD".
|
|
6576
7437
|
*/
|
|
6577
|
-
"onCoDaySelect"?: (event: CoCalendarMonthCustomEvent<{ date: string }>) => void;
|
|
7438
|
+
"onCoDaySelect"?: (event: CoCalendarMonthCustomEvent<{ date: string; rect?: DOMRect }>) => void;
|
|
6578
7439
|
/**
|
|
6579
7440
|
* Emitted when an event chip is activated.
|
|
6580
7441
|
*/
|
|
6581
|
-
"onCoEventClick"?: (event: CoCalendarMonthCustomEvent<{ id: string }>) => void;
|
|
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;
|
|
6582
7447
|
/**
|
|
6583
7448
|
* Emitted on a completed drag-move (day granularity).
|
|
6584
7449
|
*/
|
|
@@ -6608,6 +7473,92 @@ declare namespace LocalJSX {
|
|
|
6608
7473
|
*/
|
|
6609
7474
|
"year": number;
|
|
6610
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'
|
|
7516
|
+
*/
|
|
7517
|
+
"maxTime"?: string;
|
|
7518
|
+
"minDate"?: string;
|
|
7519
|
+
/**
|
|
7520
|
+
* @default '00:00'
|
|
7521
|
+
*/
|
|
7522
|
+
"minTime"?: string;
|
|
7523
|
+
/**
|
|
7524
|
+
* @default true
|
|
7525
|
+
*/
|
|
7526
|
+
"nowIndicator"?: boolean;
|
|
7527
|
+
"onCoEventClick"?: (event: CoCalendarTimegridCustomEvent<{ id: string; rect?: DOMRect }>) => void;
|
|
7528
|
+
/**
|
|
7529
|
+
* Doble activación de un chip (direct-edit request del host).
|
|
7530
|
+
*/
|
|
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;
|
|
7535
|
+
/**
|
|
7536
|
+
* A time range was selected on an empty area (create request).
|
|
7537
|
+
*/
|
|
7538
|
+
"onCoRangeSelect"?: (event: CoCalendarTimegridCustomEvent<{
|
|
7539
|
+
start: string;
|
|
7540
|
+
end: string;
|
|
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 };
|
|
7543
|
+
}>) => void;
|
|
7544
|
+
/**
|
|
7545
|
+
* @default '07:00'
|
|
7546
|
+
*/
|
|
7547
|
+
"scrollTime"?: string;
|
|
7548
|
+
/**
|
|
7549
|
+
* @default true
|
|
7550
|
+
*/
|
|
7551
|
+
"selectable"?: boolean;
|
|
7552
|
+
/**
|
|
7553
|
+
* @default 15
|
|
7554
|
+
*/
|
|
7555
|
+
"slotMinutes"?: number;
|
|
7556
|
+
/**
|
|
7557
|
+
* @default 15
|
|
7558
|
+
*/
|
|
7559
|
+
"snapMinutes"?: number;
|
|
7560
|
+
"timeZone": string;
|
|
7561
|
+
}
|
|
6611
7562
|
interface CoCard {
|
|
6612
7563
|
/**
|
|
6613
7564
|
* Make the card fully clickable
|
|
@@ -6630,6 +7581,75 @@ declare namespace LocalJSX {
|
|
|
6630
7581
|
*/
|
|
6631
7582
|
"variant"?: 'elevated' | 'outlined' | 'flat';
|
|
6632
7583
|
}
|
|
7584
|
+
/**
|
|
7585
|
+
* A generic slide carousel. Coordinates light-DOM `co-carousel-item`
|
|
7586
|
+
* children (same pattern as co-tab-group): the parent stamps aria and
|
|
7587
|
+
* inertness on each item and translates a flex track to the active index.
|
|
7588
|
+
* No v-model in the Vue wrappers — consume with `:value` + `@coSlideChange`.
|
|
7589
|
+
*/
|
|
7590
|
+
interface CoCarousel {
|
|
7591
|
+
/**
|
|
7592
|
+
* Show prev/next arrows
|
|
7593
|
+
* @default true
|
|
7594
|
+
*/
|
|
7595
|
+
"arrows"?: boolean;
|
|
7596
|
+
/**
|
|
7597
|
+
* Container aspect ratio
|
|
7598
|
+
* @default 'auto'
|
|
7599
|
+
*/
|
|
7600
|
+
"aspectRatio"?: '16:9' | '4:3' | '1:1' | '21:9' | 'auto';
|
|
7601
|
+
/**
|
|
7602
|
+
* Auto-advance slides
|
|
7603
|
+
* @default false
|
|
7604
|
+
*/
|
|
7605
|
+
"autoplay"?: boolean;
|
|
7606
|
+
/**
|
|
7607
|
+
* Show dot indicators
|
|
7608
|
+
* @default true
|
|
7609
|
+
*/
|
|
7610
|
+
"dots"?: boolean;
|
|
7611
|
+
/**
|
|
7612
|
+
* Autoplay interval in milliseconds (floored at 1000)
|
|
7613
|
+
* @default 6000
|
|
7614
|
+
*/
|
|
7615
|
+
"interval"?: number;
|
|
7616
|
+
/**
|
|
7617
|
+
* Language for aria labels (es/en/pt, accepts full locales)
|
|
7618
|
+
* @default 'es'
|
|
7619
|
+
*/
|
|
7620
|
+
"locale"?: string;
|
|
7621
|
+
/**
|
|
7622
|
+
* Wrap around at the ends
|
|
7623
|
+
* @default true
|
|
7624
|
+
*/
|
|
7625
|
+
"loop"?: boolean;
|
|
7626
|
+
/**
|
|
7627
|
+
* Emitted when the active slide changes (user, autoplay or method)
|
|
7628
|
+
*/
|
|
7629
|
+
"onCoSlideChange"?: (event: CoCarouselCustomEvent<number>) => void;
|
|
7630
|
+
/**
|
|
7631
|
+
* Pause autoplay while hovered
|
|
7632
|
+
* @default true
|
|
7633
|
+
*/
|
|
7634
|
+
"pauseOnHover"?: boolean;
|
|
7635
|
+
/**
|
|
7636
|
+
* Enable pointer swipe navigation
|
|
7637
|
+
* @default true
|
|
7638
|
+
*/
|
|
7639
|
+
"swipe"?: boolean;
|
|
7640
|
+
/**
|
|
7641
|
+
* Active slide index
|
|
7642
|
+
* @default 0
|
|
7643
|
+
*/
|
|
7644
|
+
"value"?: number;
|
|
7645
|
+
}
|
|
7646
|
+
/**
|
|
7647
|
+
* A single slide inside a co-carousel. The parent carousel stamps
|
|
7648
|
+
* aria-label / aria-hidden / inert on each item (same light-DOM
|
|
7649
|
+
* coordination pattern as co-tab-group ↔ co-tab).
|
|
7650
|
+
*/
|
|
7651
|
+
interface CoCarouselItem {
|
|
7652
|
+
}
|
|
6633
7653
|
interface CoCheckbox {
|
|
6634
7654
|
/**
|
|
6635
7655
|
* Visual appearance: - 'default' — the standard labeled form checkbox (unchanged). - 'overlay' — a standalone frosted rounded selection chip (Drive), no label, bespoke SVG glyphs.
|
|
@@ -7556,6 +8576,11 @@ declare namespace LocalJSX {
|
|
|
7556
8576
|
* @default null
|
|
7557
8577
|
*/
|
|
7558
8578
|
"value"?: string | null;
|
|
8579
|
+
/**
|
|
8580
|
+
* Visual style. `flat` strips the inner co-date-field's border and background so it reads as plain content instead of a boxed control — padding, label, focus ring, disabled and invalid states are unaffected. `default` (the standard bordered box) renders identically to before this prop existed. co-date-field itself has no `variant` prop, so this is applied from the outside via `::part(field)` — see co-date-picker.css.
|
|
8581
|
+
* @default 'default'
|
|
8582
|
+
*/
|
|
8583
|
+
"variant"?: 'default' | 'flat';
|
|
7559
8584
|
}
|
|
7560
8585
|
/**
|
|
7561
8586
|
* @deprecated Use `<co-date-range-picker>` instead.
|
|
@@ -7620,15 +8645,140 @@ declare namespace LocalJSX {
|
|
|
7620
8645
|
* Allow from === to.
|
|
7621
8646
|
* @default true
|
|
7622
8647
|
*/
|
|
7623
|
-
"allowSameDay"?: boolean;
|
|
7624
|
-
"applyLabel"?: string;
|
|
8648
|
+
"allowSameDay"?: boolean;
|
|
8649
|
+
"applyLabel"?: string;
|
|
8650
|
+
/**
|
|
8651
|
+
* Commit (emit coApply) as soon as a full valid range is picked, debounced.
|
|
8652
|
+
* @default false
|
|
8653
|
+
*/
|
|
8654
|
+
"applyOnSelect"?: boolean;
|
|
8655
|
+
"cancelLabel"?: string;
|
|
8656
|
+
"clearLabel"?: string;
|
|
8657
|
+
/**
|
|
8658
|
+
* @default true
|
|
8659
|
+
*/
|
|
8660
|
+
"clearable"?: boolean;
|
|
8661
|
+
/**
|
|
8662
|
+
* @default false
|
|
8663
|
+
*/
|
|
8664
|
+
"disabled"?: boolean;
|
|
8665
|
+
/**
|
|
8666
|
+
* @default 'd MMM yyyy'
|
|
8667
|
+
*/
|
|
8668
|
+
"displayFormat"?: string;
|
|
8669
|
+
"errorMessage"?: string;
|
|
8670
|
+
/**
|
|
8671
|
+
* @default 1
|
|
8672
|
+
*/
|
|
8673
|
+
"firstDayOfWeek"?: number;
|
|
8674
|
+
"fromLabel"?: string;
|
|
8675
|
+
"helperText"?: string;
|
|
8676
|
+
/**
|
|
8677
|
+
* @default false
|
|
8678
|
+
*/
|
|
8679
|
+
"invalid"?: boolean;
|
|
8680
|
+
"label"?: string;
|
|
8681
|
+
/**
|
|
8682
|
+
* Label layout: vertical (label above) or horizontal (label beside)
|
|
8683
|
+
* @default 'vertical'
|
|
8684
|
+
*/
|
|
8685
|
+
"layout"?: 'vertical' | 'horizontal';
|
|
8686
|
+
/**
|
|
8687
|
+
* @default 'es-CO'
|
|
8688
|
+
*/
|
|
8689
|
+
"locale"?: string;
|
|
8690
|
+
"max"?: string;
|
|
8691
|
+
/**
|
|
8692
|
+
* Maximum span (inclusive days).
|
|
8693
|
+
*/
|
|
8694
|
+
"maxRangeDays"?: number;
|
|
8695
|
+
"min"?: string;
|
|
8696
|
+
/**
|
|
8697
|
+
* Minimum span (inclusive days).
|
|
8698
|
+
*/
|
|
8699
|
+
"minRangeDays"?: number;
|
|
8700
|
+
/**
|
|
8701
|
+
* Max viewport width (px) that renders the picker as a bottom sheet.
|
|
8702
|
+
* @default 600
|
|
8703
|
+
*/
|
|
8704
|
+
"mobileBreakpoint"?: number;
|
|
8705
|
+
"onCoApply"?: (event: CoDateRangePickerCustomEvent<DateRangeValue1>) => void;
|
|
8706
|
+
"onCoCancel"?: (event: CoDateRangePickerCustomEvent<void>) => void;
|
|
8707
|
+
"onCoClear"?: (event: CoDateRangePickerCustomEvent<void>) => void;
|
|
8708
|
+
"onCoClose"?: (event: CoDateRangePickerCustomEvent<void>) => void;
|
|
8709
|
+
"onCoOpen"?: (event: CoDateRangePickerCustomEvent<void>) => void;
|
|
8710
|
+
"onCoRangeChange"?: (event: CoDateRangePickerCustomEvent<DateRangeValue1>) => void;
|
|
8711
|
+
"onCoRangeEndChange"?: (event: CoDateRangePickerCustomEvent<string | null>) => void;
|
|
8712
|
+
"onCoRangeStartChange"?: (event: CoDateRangePickerCustomEvent<string | null>) => void;
|
|
8713
|
+
/**
|
|
8714
|
+
* @default false
|
|
8715
|
+
*/
|
|
8716
|
+
"open"?: boolean;
|
|
8717
|
+
"placeholder"?: string;
|
|
8718
|
+
/**
|
|
8719
|
+
* @default 'bottom-start'
|
|
8720
|
+
*/
|
|
8721
|
+
"placement"?: Placement;
|
|
8722
|
+
/**
|
|
8723
|
+
* Which presets to show, from the built-in catalog: today, yesterday, last7Days, last14Days, last30Days, last90Days, thisWeek, thisMonth, lastMonth, thisYear, lastYear, custom. Labels come from `locale`; dates are computed tz-safe. Accepts a string[] or JSON/comma string. Defaults to a sensible set when omitted.
|
|
8724
|
+
*/
|
|
8725
|
+
"presetIds"?: string[] | string;
|
|
8726
|
+
/**
|
|
8727
|
+
* Show the quick-preset column.
|
|
8728
|
+
* @default true
|
|
8729
|
+
*/
|
|
8730
|
+
"presets"?: boolean;
|
|
8731
|
+
/**
|
|
8732
|
+
* @default false
|
|
8733
|
+
*/
|
|
8734
|
+
"readonly"?: boolean;
|
|
8735
|
+
/**
|
|
8736
|
+
* Whether the field is required (renders a required marker on the label).
|
|
8737
|
+
* @default false
|
|
8738
|
+
*/
|
|
8739
|
+
"required"?: boolean;
|
|
8740
|
+
/**
|
|
8741
|
+
* Trigger size (mirrors co-input): s 28 / sm 32 / md 40 / lg 48.
|
|
8742
|
+
* @default 'md'
|
|
8743
|
+
*/
|
|
8744
|
+
"size"?: 's' | 'sm' | 'md' | 'lg';
|
|
8745
|
+
"toLabel"?: string;
|
|
8746
|
+
/**
|
|
8747
|
+
* JSON `{from,to}` or '' (empty).
|
|
8748
|
+
* @default ''
|
|
8749
|
+
*/
|
|
8750
|
+
"value"?: string;
|
|
7625
8751
|
/**
|
|
7626
|
-
*
|
|
7627
|
-
* @default
|
|
8752
|
+
* Visual style. `flat` strips the trigger's border and background so it reads as plain content instead of a boxed control — padding, label, focus ring, disabled and invalid states are unaffected. `default` (the standard bordered box) renders identically to before this prop existed.
|
|
8753
|
+
* @default 'default'
|
|
7628
8754
|
*/
|
|
7629
|
-
"
|
|
7630
|
-
|
|
7631
|
-
|
|
8755
|
+
"variant"?: 'default' | 'flat';
|
|
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 {
|
|
7632
8782
|
/**
|
|
7633
8783
|
* @default true
|
|
7634
8784
|
*/
|
|
@@ -7637,7 +8787,10 @@ declare namespace LocalJSX {
|
|
|
7637
8787
|
* @default false
|
|
7638
8788
|
*/
|
|
7639
8789
|
"disabled"?: boolean;
|
|
8790
|
+
"disabledDates"?: string[] | string;
|
|
8791
|
+
"disabledDaysOfWeek"?: number[] | string;
|
|
7640
8792
|
/**
|
|
8793
|
+
* Date part of the trigger text (tokens yyyy/yy/MMMM/MMM/MM/M/dd/d).
|
|
7641
8794
|
* @default 'd MMM yyyy'
|
|
7642
8795
|
*/
|
|
7643
8796
|
"displayFormat"?: string;
|
|
@@ -7646,15 +8799,19 @@ declare namespace LocalJSX {
|
|
|
7646
8799
|
* @default 1
|
|
7647
8800
|
*/
|
|
7648
8801
|
"firstDayOfWeek"?: number;
|
|
7649
|
-
"fromLabel"?: string;
|
|
7650
8802
|
"helperText"?: string;
|
|
8803
|
+
/**
|
|
8804
|
+
* 12-hour clock (Google style). `false` renders a 24h clock.
|
|
8805
|
+
* @default true
|
|
8806
|
+
*/
|
|
8807
|
+
"hour12"?: boolean;
|
|
7651
8808
|
/**
|
|
7652
8809
|
* @default false
|
|
7653
8810
|
*/
|
|
7654
8811
|
"invalid"?: boolean;
|
|
7655
8812
|
"label"?: string;
|
|
7656
8813
|
/**
|
|
7657
|
-
* Label layout: vertical (label above) or horizontal (label beside)
|
|
8814
|
+
* Label layout: vertical (label above) or horizontal (label beside).
|
|
7658
8815
|
* @default 'vertical'
|
|
7659
8816
|
*/
|
|
7660
8817
|
"layout"?: 'vertical' | 'horizontal';
|
|
@@ -7662,67 +8819,72 @@ declare namespace LocalJSX {
|
|
|
7662
8819
|
* @default 'es-CO'
|
|
7663
8820
|
*/
|
|
7664
8821
|
"locale"?: string;
|
|
7665
|
-
"max"?: string;
|
|
7666
8822
|
/**
|
|
7667
|
-
*
|
|
8823
|
+
* Latest selectable day. Date-only "YYYY-MM-DD" or an instant.
|
|
7668
8824
|
*/
|
|
7669
|
-
"
|
|
7670
|
-
"min"?: string;
|
|
8825
|
+
"max"?: string;
|
|
7671
8826
|
/**
|
|
7672
|
-
*
|
|
8827
|
+
* Earliest selectable day. Date-only "YYYY-MM-DD" or an instant.
|
|
7673
8828
|
*/
|
|
7674
|
-
"
|
|
8829
|
+
"min"?: string;
|
|
7675
8830
|
/**
|
|
7676
|
-
* Max viewport width (px) that renders the
|
|
8831
|
+
* Max viewport width (px) that renders the panel as a bottom sheet.
|
|
7677
8832
|
* @default 600
|
|
7678
8833
|
*/
|
|
7679
8834
|
"mobileBreakpoint"?: number;
|
|
7680
|
-
"
|
|
7681
|
-
"
|
|
7682
|
-
|
|
7683
|
-
|
|
7684
|
-
|
|
7685
|
-
"
|
|
7686
|
-
"
|
|
7687
|
-
"
|
|
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;
|
|
7688
8845
|
/**
|
|
8846
|
+
* Whether the panel is open.
|
|
7689
8847
|
* @default false
|
|
7690
8848
|
*/
|
|
7691
8849
|
"open"?: boolean;
|
|
7692
8850
|
"placeholder"?: string;
|
|
7693
8851
|
/**
|
|
8852
|
+
* Popover placement relative to the field.
|
|
7694
8853
|
* @default 'bottom-start'
|
|
7695
8854
|
*/
|
|
7696
8855
|
"placement"?: Placement;
|
|
7697
|
-
/**
|
|
7698
|
-
* Which presets to show, from the built-in catalog: today, yesterday, last7Days, last14Days, last30Days, last90Days, thisWeek, thisMonth, lastMonth, thisYear, lastYear, custom. Labels come from `locale`; dates are computed tz-safe. Accepts a string[] or JSON/comma string. Defaults to a sensible set when omitted.
|
|
7699
|
-
*/
|
|
7700
|
-
"presetIds"?: string[] | string;
|
|
7701
|
-
/**
|
|
7702
|
-
* Show the quick-preset column.
|
|
7703
|
-
* @default true
|
|
7704
|
-
*/
|
|
7705
|
-
"presets"?: boolean;
|
|
7706
8856
|
/**
|
|
7707
8857
|
* @default false
|
|
7708
8858
|
*/
|
|
7709
8859
|
"readonly"?: boolean;
|
|
7710
8860
|
/**
|
|
7711
|
-
* Whether the field is required (renders a required marker on the label).
|
|
7712
8861
|
* @default false
|
|
7713
8862
|
*/
|
|
7714
8863
|
"required"?: boolean;
|
|
7715
8864
|
/**
|
|
7716
|
-
*
|
|
8865
|
+
* Field size, mirrors co-input/co-date-field: s 28 / sm 32 / md 40 / lg 48.
|
|
7717
8866
|
* @default 'md'
|
|
7718
8867
|
*/
|
|
7719
8868
|
"size"?: 's' | 'sm' | 'md' | 'lg';
|
|
7720
|
-
"toLabel"?: string;
|
|
7721
8869
|
/**
|
|
7722
|
-
*
|
|
7723
|
-
* @default
|
|
8870
|
+
* Minutes between consecutive options in the time list.
|
|
8871
|
+
* @default 15
|
|
7724
8872
|
*/
|
|
7725
|
-
"
|
|
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';
|
|
7726
8888
|
}
|
|
7727
8889
|
interface CoDrawer {
|
|
7728
8890
|
/**
|
|
@@ -7935,18 +9097,12 @@ declare namespace LocalJSX {
|
|
|
7935
9097
|
*/
|
|
7936
9098
|
"variant"?: 'plain' | 'card';
|
|
7937
9099
|
}
|
|
7938
|
-
/**
|
|
7939
|
-
* co-event-calendar — the public entry point of the Cobalt Calendars family.
|
|
7940
|
-
* Owns view state, the visible anchor date, event normalization and the toolbar,
|
|
7941
|
-
* and delegates rendering to the active view (Phase 1: month). All hard math
|
|
7942
|
-
* lives in `@prolibu-suite/cobalt-calendar-utils`. Events are CONTROLLED: the
|
|
7943
|
-
* calendar emits requests (`coEventDrop`, `coDateSelect`) and the host applies
|
|
7944
|
-
* them by updating the `events` prop — leaving it unchanged on failure is the
|
|
7945
|
-
* revert.
|
|
7946
|
-
* Instants are ISO-8601 strings WITH offset/Z (timed) or "YYYY-MM-DD" (all-day);
|
|
7947
|
-
* the calendar never exposes Date objects. `timeZone` controls wall-clock render.
|
|
7948
|
-
*/
|
|
7949
9100
|
interface CoEventCalendar {
|
|
9101
|
+
/**
|
|
9102
|
+
* Show the all-day lane in week/day views.
|
|
9103
|
+
* @default true
|
|
9104
|
+
*/
|
|
9105
|
+
"allDaySlot"?: boolean;
|
|
7950
9106
|
/**
|
|
7951
9107
|
* Views offered in the switcher. Defaults to the implemented set.
|
|
7952
9108
|
* @default ['month']
|
|
@@ -7981,6 +9137,11 @@ declare namespace LocalJSX {
|
|
|
7981
9137
|
* @default 1
|
|
7982
9138
|
*/
|
|
7983
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;
|
|
7984
9145
|
/**
|
|
7985
9146
|
* BCP-47 locale for labels.
|
|
7986
9147
|
* @default 'es-CO'
|
|
@@ -7990,14 +9151,34 @@ declare namespace LocalJSX {
|
|
|
7990
9151
|
* Latest interactable day "YYYY-MM-DD".
|
|
7991
9152
|
*/
|
|
7992
9153
|
"maxDate"?: string;
|
|
9154
|
+
/**
|
|
9155
|
+
* @default '24:00'
|
|
9156
|
+
*/
|
|
9157
|
+
"maxTime"?: string;
|
|
7993
9158
|
/**
|
|
7994
9159
|
* Earliest interactable day "YYYY-MM-DD" (past-block).
|
|
7995
9160
|
*/
|
|
7996
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;
|
|
7997
9172
|
/**
|
|
7998
9173
|
* A date/range was selected (create request).
|
|
7999
9174
|
*/
|
|
8000
|
-
"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;
|
|
8001
9182
|
/**
|
|
8002
9183
|
* The visible period changed → host should refetch and persist the view pref.
|
|
8003
9184
|
*/
|
|
@@ -8010,7 +9191,11 @@ declare namespace LocalJSX {
|
|
|
8010
9191
|
/**
|
|
8011
9192
|
* An event chip was activated.
|
|
8012
9193
|
*/
|
|
8013
|
-
"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;
|
|
8014
9199
|
/**
|
|
8015
9200
|
* An event was dragged to a new time (move). `revert` is a host convenience.
|
|
8016
9201
|
*/
|
|
@@ -8031,25 +9216,82 @@ declare namespace LocalJSX {
|
|
|
8031
9216
|
* The active view changed.
|
|
8032
9217
|
*/
|
|
8033
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;
|
|
8034
9224
|
/**
|
|
8035
9225
|
* Allow empty-day selection to request a create.
|
|
8036
9226
|
* @default true
|
|
8037
9227
|
*/
|
|
8038
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;
|
|
8039
9238
|
/**
|
|
8040
9239
|
* Optional status→{backgroundColor,borderColor} map (object or JSON string).
|
|
8041
9240
|
*/
|
|
8042
|
-
"statusColors"?:
|
|
9241
|
+
"statusColors"?: StatusColorsProp;
|
|
8043
9242
|
/**
|
|
8044
9243
|
* IANA timezone for wall-clock rendering. Defaults to the browser zone.
|
|
8045
9244
|
*/
|
|
8046
9245
|
"timeZone"?: string;
|
|
8047
9246
|
/**
|
|
8048
|
-
* Active view.
|
|
9247
|
+
* Active view. `month`/`week`/`day` are implemented; `agenda` is pending.
|
|
8049
9248
|
* @default 'month'
|
|
8050
9249
|
*/
|
|
8051
9250
|
"view"?: 'month' | 'week' | 'day' | 'agenda';
|
|
8052
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
|
+
}
|
|
8053
9295
|
interface CoFab {
|
|
8054
9296
|
/**
|
|
8055
9297
|
* Accessible label for icon-only FABs (falls back to `label`/`icon`).
|
|
@@ -8059,6 +9301,11 @@ declare namespace LocalJSX {
|
|
|
8059
9301
|
* @default false
|
|
8060
9302
|
*/
|
|
8061
9303
|
"disabled"?: boolean;
|
|
9304
|
+
/**
|
|
9305
|
+
* With `label`: icon-only circle at rest that stretches into the extended pill on hover/focus-visible (springy "liquid" morph).
|
|
9306
|
+
* @default false
|
|
9307
|
+
*/
|
|
9308
|
+
"expandOnHover"?: boolean;
|
|
8062
9309
|
/**
|
|
8063
9310
|
* @default 'plus'
|
|
8064
9311
|
*/
|
|
@@ -8415,6 +9662,11 @@ declare namespace LocalJSX {
|
|
|
8415
9662
|
* @default ''
|
|
8416
9663
|
*/
|
|
8417
9664
|
"value"?: string;
|
|
9665
|
+
/**
|
|
9666
|
+
* Visual style. `flat` strips the field's border and background so it reads as plain content instead of a boxed input — padding, label, focus ring, disabled and status states are unaffected. `default` (the standard bordered box) renders identically to before this prop existed.
|
|
9667
|
+
* @default 'default'
|
|
9668
|
+
*/
|
|
9669
|
+
"variant"?: 'default' | 'flat';
|
|
8418
9670
|
}
|
|
8419
9671
|
/**
|
|
8420
9672
|
* Multiline JSON / arbitrary-object editor — a `<textarea>` with inline JSON
|
|
@@ -8735,6 +9987,10 @@ declare namespace LocalJSX {
|
|
|
8735
9987
|
* Submenu nesting is unbounded — submenu items can themselves have submenus.
|
|
8736
9988
|
*/
|
|
8737
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;
|
|
8738
9994
|
/**
|
|
8739
9995
|
* Tighter row metrics (32px instead of 36px).
|
|
8740
9996
|
* @default false
|
|
@@ -8973,12 +10229,21 @@ declare namespace LocalJSX {
|
|
|
8973
10229
|
"onCoClearSelection"?: (event: CoOptionListCustomEvent<void>) => void;
|
|
8974
10230
|
"onCoLoadMore"?: (event: CoOptionListCustomEvent<void>) => void;
|
|
8975
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;
|
|
8976
10236
|
"onCoSearch"?: (event: CoOptionListCustomEvent<string>) => void;
|
|
8977
10237
|
/**
|
|
8978
10238
|
* Botón remove por fila seleccionada en multiple (tags de combobox).
|
|
8979
10239
|
* @default false
|
|
8980
10240
|
*/
|
|
8981
10241
|
"removableItems"?: boolean;
|
|
10242
|
+
/**
|
|
10243
|
+
* Habilita reorder por drag del bloque de seleccionados (selected-first).
|
|
10244
|
+
* @default false
|
|
10245
|
+
*/
|
|
10246
|
+
"reorderable"?: boolean;
|
|
8982
10247
|
/**
|
|
8983
10248
|
* @default 350
|
|
8984
10249
|
*/
|
|
@@ -9224,6 +10489,29 @@ declare namespace LocalJSX {
|
|
|
9224
10489
|
*/
|
|
9225
10490
|
"value"?: number;
|
|
9226
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
|
+
}
|
|
9227
10515
|
interface CoRadio {
|
|
9228
10516
|
/**
|
|
9229
10517
|
* Whether the radio is selected
|
|
@@ -9467,6 +10755,11 @@ declare namespace LocalJSX {
|
|
|
9467
10755
|
* @default ''
|
|
9468
10756
|
*/
|
|
9469
10757
|
"value"?: string;
|
|
10758
|
+
/**
|
|
10759
|
+
* Visual style. `flat` strips the trigger's border and background so it reads as plain content instead of a boxed control — padding, label, focus ring, disabled and status states are unaffected. `default` (the standard bordered box) renders identically to before this prop existed.
|
|
10760
|
+
* @default 'default'
|
|
10761
|
+
*/
|
|
10762
|
+
"variant"?: 'default' | 'flat';
|
|
9470
10763
|
}
|
|
9471
10764
|
/**
|
|
9472
10765
|
* Rich text editor backed by Tiptap v3.
|
|
@@ -9479,6 +10772,15 @@ declare namespace LocalJSX {
|
|
|
9479
10772
|
* Account/imported fonts shown in a separate "Imported fonts" section. JS property: `Array<{ label: string; value: string }>`. HTML attribute: JSON string of the same array.
|
|
9480
10773
|
*/
|
|
9481
10774
|
"accountFonts"?: string | { label: string; value: string }[];
|
|
10775
|
+
/**
|
|
10776
|
+
* Passthrough: `accept` for the toolbar attachment picker.
|
|
10777
|
+
*/
|
|
10778
|
+
"attachmentAccept"?: string;
|
|
10779
|
+
/**
|
|
10780
|
+
* Passthrough: shows the toolbar attachment button (host owns the files).
|
|
10781
|
+
* @default false
|
|
10782
|
+
*/
|
|
10783
|
+
"attachmentsEnabled"?: boolean;
|
|
9482
10784
|
/**
|
|
9483
10785
|
* @default false
|
|
9484
10786
|
*/
|
|
@@ -9519,6 +10821,10 @@ declare namespace LocalJSX {
|
|
|
9519
10821
|
*/
|
|
9520
10822
|
"locale"?: string;
|
|
9521
10823
|
"maxLength"?: number;
|
|
10824
|
+
/**
|
|
10825
|
+
* Re-emitted from the inner toolbar: files picked via the attach button. Declared here so hosts can bind on the editor (the toolbar is internal).
|
|
10826
|
+
*/
|
|
10827
|
+
"onCoAttachmentsSelected"?: (event: CoRichTextEditorCustomEvent<{ files: File[] }>) => void;
|
|
9522
10828
|
"onCoBlur"?: (event: CoRichTextEditorCustomEvent<void>) => void;
|
|
9523
10829
|
/**
|
|
9524
10830
|
* Emitted on blur (committed value).
|
|
@@ -9578,6 +10884,11 @@ declare namespace LocalJSX {
|
|
|
9578
10884
|
* @default null
|
|
9579
10885
|
*/
|
|
9580
10886
|
"value"?: string | null;
|
|
10887
|
+
/**
|
|
10888
|
+
* Visual style. `flat` strips the frame's border and background so it reads as plain content instead of a boxed control — padding, label, focus ring, disabled and status states are unaffected. The toolbar keeps its own background + bottom border (a subtle, token-driven separator), which is what keeps toolbar and editable area legible/separated once the outer box is gone. `default` (the standard bordered box) renders identically to before this prop existed.
|
|
10889
|
+
* @default 'default'
|
|
10890
|
+
*/
|
|
10891
|
+
"variant"?: 'default' | 'flat';
|
|
9581
10892
|
}
|
|
9582
10893
|
/**
|
|
9583
10894
|
* Formatting toolbar for co-rich-text-editor. Receives the Tiptap editor
|
|
@@ -9586,6 +10897,15 @@ declare namespace LocalJSX {
|
|
|
9586
10897
|
* color palette pickers.
|
|
9587
10898
|
*/
|
|
9588
10899
|
interface CoRichTextToolbar {
|
|
10900
|
+
/**
|
|
10901
|
+
* `accept` attr for the attachment file picker (e.g. '.pdf,.png').
|
|
10902
|
+
*/
|
|
10903
|
+
"attachmentAccept"?: string;
|
|
10904
|
+
/**
|
|
10905
|
+
* Shows the attachment button (compact-assets variant). The editor never owns the attachment list — it only emits the picked files.
|
|
10906
|
+
* @default false
|
|
10907
|
+
*/
|
|
10908
|
+
"attachmentsEnabled"?: boolean;
|
|
9589
10909
|
/**
|
|
9590
10910
|
* @default false
|
|
9591
10911
|
*/
|
|
@@ -9607,6 +10927,10 @@ declare namespace LocalJSX {
|
|
|
9607
10927
|
* Emitted whenever a toolbar action runs (observability for hosts).
|
|
9608
10928
|
*/
|
|
9609
10929
|
"onCoAction"?: (event: CoRichTextToolbarCustomEvent<{ action: string; payload?: unknown }>) => void;
|
|
10930
|
+
/**
|
|
10931
|
+
* Files picked from the toolbar attachment button. The host owns them.
|
|
10932
|
+
*/
|
|
10933
|
+
"onCoAttachmentsSelected"?: (event: CoRichTextToolbarCustomEvent<{ files: File[] }>) => void;
|
|
9610
10934
|
/**
|
|
9611
10935
|
* Emitted when a toolbar popover/dropdown opens or closes (host hides the selection bubble while one is open to avoid spatial overlap).
|
|
9612
10936
|
*/
|
|
@@ -9615,7 +10939,7 @@ declare namespace LocalJSX {
|
|
|
9615
10939
|
* Toolbar layout variant.
|
|
9616
10940
|
* @default 'basic'
|
|
9617
10941
|
*/
|
|
9618
|
-
"variant"?: 'none' | 'compact' | 'basic' | 'full';
|
|
10942
|
+
"variant"?: 'none' | 'compact' | 'compact-assets' | 'basic' | 'full';
|
|
9619
10943
|
}
|
|
9620
10944
|
interface CoRichTextViewer {
|
|
9621
10945
|
/**
|
|
@@ -9627,6 +10951,10 @@ declare namespace LocalJSX {
|
|
|
9627
10951
|
* Text shown when there is no content.
|
|
9628
10952
|
*/
|
|
9629
10953
|
"emptyText"?: string;
|
|
10954
|
+
/**
|
|
10955
|
+
* Feature overrides (JSON string for HTML attr, or object via JS property) — mirror the editor's `features`. They only WIDEN the whitelist: e.g. `mentions` keeps the V1 quill markup attrs (`data-id`, `data-denotation-char`, …) so the mention chip keeps its style hook in read mode. Without it the preset profile strips them.
|
|
10956
|
+
*/
|
|
10957
|
+
"features"?: string | object;
|
|
9630
10958
|
/**
|
|
9631
10959
|
* Input format. `html` is the lightweight path.
|
|
9632
10960
|
* @default 'html'
|
|
@@ -9752,6 +11080,11 @@ declare namespace LocalJSX {
|
|
|
9752
11080
|
* @default ''
|
|
9753
11081
|
*/
|
|
9754
11082
|
"value"?: string | string[];
|
|
11083
|
+
/**
|
|
11084
|
+
* Visual style. `flat` strips the trigger's border and background so it reads as plain content instead of a boxed control — padding, label, focus ring, disabled and status states are unaffected. `default` (the standard bordered box) renders identically to before this prop existed.
|
|
11085
|
+
* @default 'default'
|
|
11086
|
+
*/
|
|
11087
|
+
"variant"?: 'default' | 'flat';
|
|
9755
11088
|
}
|
|
9756
11089
|
interface CoSeparator {
|
|
9757
11090
|
/**
|
|
@@ -10207,6 +11540,11 @@ declare namespace LocalJSX {
|
|
|
10207
11540
|
* @default ''
|
|
10208
11541
|
*/
|
|
10209
11542
|
"value"?: string;
|
|
11543
|
+
/**
|
|
11544
|
+
* Visual style. `flat` strips the field's border and background so it reads as plain content instead of a boxed textarea — padding, label, focus ring, disabled and status states are unaffected. `default` (the standard bordered box) renders identically to before this prop existed.
|
|
11545
|
+
* @default 'default'
|
|
11546
|
+
*/
|
|
11547
|
+
"variant"?: 'default' | 'flat';
|
|
10210
11548
|
}
|
|
10211
11549
|
interface CoToast {
|
|
10212
11550
|
/**
|
|
@@ -10559,10 +11897,26 @@ declare namespace LocalJSX {
|
|
|
10559
11897
|
"subheading": string;
|
|
10560
11898
|
"disabled": boolean;
|
|
10561
11899
|
}
|
|
11900
|
+
interface CoActionBarAttributes {
|
|
11901
|
+
"open": boolean;
|
|
11902
|
+
"label": string;
|
|
11903
|
+
"dismissible": boolean;
|
|
11904
|
+
"position": 'bottom-center' | 'none';
|
|
11905
|
+
"ariaLabelText": string;
|
|
11906
|
+
}
|
|
10562
11907
|
interface CoAppShellAttributes {
|
|
10563
11908
|
"sidebarMode": 'full' | 'min';
|
|
10564
11909
|
"contentCard": boolean;
|
|
10565
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
|
+
}
|
|
10566
11920
|
interface CoAutocompleteAttributes {
|
|
10567
11921
|
"label": string;
|
|
10568
11922
|
"required": boolean;
|
|
@@ -10594,6 +11948,7 @@ declare namespace LocalJSX {
|
|
|
10594
11948
|
"shape": 'circle' | 'square';
|
|
10595
11949
|
"color": string;
|
|
10596
11950
|
"ringColor": string;
|
|
11951
|
+
"name": string;
|
|
10597
11952
|
}
|
|
10598
11953
|
interface CoAvatarGroupAttributes {
|
|
10599
11954
|
"max": number;
|
|
@@ -10634,6 +11989,7 @@ declare namespace LocalJSX {
|
|
|
10634
11989
|
"surface": 'light' | 'dark';
|
|
10635
11990
|
"disabled": boolean;
|
|
10636
11991
|
"label": string;
|
|
11992
|
+
"ariaLabelText": string;
|
|
10637
11993
|
"iconLeft": string;
|
|
10638
11994
|
"iconRight": string;
|
|
10639
11995
|
"iconWeight": 'regular' | 'thin' | 'light' | 'bold' | 'fill' | 'duotone';
|
|
@@ -10673,6 +12029,24 @@ declare namespace LocalJSX {
|
|
|
10673
12029
|
"editable": boolean;
|
|
10674
12030
|
"selectable": boolean;
|
|
10675
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;
|
|
10676
12050
|
}
|
|
10677
12051
|
interface CoCardAttributes {
|
|
10678
12052
|
"variant": 'elevated' | 'outlined' | 'flat';
|
|
@@ -10680,6 +12054,18 @@ declare namespace LocalJSX {
|
|
|
10680
12054
|
"clickable": boolean;
|
|
10681
12055
|
"stretch": boolean;
|
|
10682
12056
|
}
|
|
12057
|
+
interface CoCarouselAttributes {
|
|
12058
|
+
"value": number;
|
|
12059
|
+
"autoplay": boolean;
|
|
12060
|
+
"interval": number;
|
|
12061
|
+
"loop": boolean;
|
|
12062
|
+
"arrows": boolean;
|
|
12063
|
+
"dots": boolean;
|
|
12064
|
+
"pauseOnHover": boolean;
|
|
12065
|
+
"swipe": boolean;
|
|
12066
|
+
"aspectRatio": '16:9' | '4:3' | '1:1' | '21:9' | 'auto';
|
|
12067
|
+
"locale": string;
|
|
12068
|
+
}
|
|
10683
12069
|
interface CoCheckboxAttributes {
|
|
10684
12070
|
"checked": boolean;
|
|
10685
12071
|
"indeterminate": boolean;
|
|
@@ -10858,6 +12244,7 @@ declare namespace LocalJSX {
|
|
|
10858
12244
|
"label": string;
|
|
10859
12245
|
"placeholder": string;
|
|
10860
12246
|
"size": 's' | 'sm' | 'md' | 'lg';
|
|
12247
|
+
"variant": 'default' | 'flat';
|
|
10861
12248
|
"name": string;
|
|
10862
12249
|
"disabled": boolean;
|
|
10863
12250
|
"readonly": boolean;
|
|
@@ -10908,6 +12295,7 @@ declare namespace LocalJSX {
|
|
|
10908
12295
|
"placeholder": string;
|
|
10909
12296
|
"layout": 'vertical' | 'horizontal';
|
|
10910
12297
|
"size": 's' | 'sm' | 'md' | 'lg';
|
|
12298
|
+
"variant": 'default' | 'flat';
|
|
10911
12299
|
"placement": Placement;
|
|
10912
12300
|
"open": boolean;
|
|
10913
12301
|
"applyLabel": string;
|
|
@@ -10917,6 +12305,35 @@ declare namespace LocalJSX {
|
|
|
10917
12305
|
"toLabel": string;
|
|
10918
12306
|
"mobileBreakpoint": number;
|
|
10919
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
|
+
}
|
|
10920
12337
|
interface CoDrawerAttributes {
|
|
10921
12338
|
"open": boolean;
|
|
10922
12339
|
"position": 'right' | 'left' | 'bottom';
|
|
@@ -10968,8 +12385,25 @@ declare namespace LocalJSX {
|
|
|
10968
12385
|
"maxDate": string;
|
|
10969
12386
|
"firstDayOfWeek": number;
|
|
10970
12387
|
"availableViews": string[] | string;
|
|
10971
|
-
"statusColors":
|
|
12388
|
+
"statusColors": StatusColorsProp;
|
|
10972
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;
|
|
10973
12407
|
}
|
|
10974
12408
|
interface CoFabAttributes {
|
|
10975
12409
|
"icon": string;
|
|
@@ -10979,6 +12413,7 @@ declare namespace LocalJSX {
|
|
|
10979
12413
|
"ariaLabelText": string;
|
|
10980
12414
|
"disabled": boolean;
|
|
10981
12415
|
"position": 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | 'none';
|
|
12416
|
+
"expandOnHover": boolean;
|
|
10982
12417
|
}
|
|
10983
12418
|
interface CoFileFieldAttributes {
|
|
10984
12419
|
"label": string;
|
|
@@ -11045,6 +12480,7 @@ declare namespace LocalJSX {
|
|
|
11045
12480
|
"autocomplete": string;
|
|
11046
12481
|
"status": 'default' | 'error' | 'success' | 'warning' | 'info';
|
|
11047
12482
|
"size": 's' | 'sm' | 'md' | 'lg';
|
|
12483
|
+
"variant": 'default' | 'flat';
|
|
11048
12484
|
"fill": boolean;
|
|
11049
12485
|
"actionLabel": string;
|
|
11050
12486
|
"actionIcon": string;
|
|
@@ -11109,6 +12545,7 @@ declare namespace LocalJSX {
|
|
|
11109
12545
|
"icon": string;
|
|
11110
12546
|
"iconSize": number;
|
|
11111
12547
|
"label": string;
|
|
12548
|
+
"caption": string;
|
|
11112
12549
|
"dense": boolean;
|
|
11113
12550
|
"selected": boolean;
|
|
11114
12551
|
"trailingCheck": boolean;
|
|
@@ -11155,6 +12592,7 @@ declare namespace LocalJSX {
|
|
|
11155
12592
|
"selectedFirst": boolean;
|
|
11156
12593
|
"selectedAffordance": 'check' | 'deselect';
|
|
11157
12594
|
"removableItems": boolean;
|
|
12595
|
+
"reorderable": boolean;
|
|
11158
12596
|
"searchable": boolean;
|
|
11159
12597
|
"searchPlaceholder": string;
|
|
11160
12598
|
"searchDebounce": number;
|
|
@@ -11214,6 +12652,11 @@ declare namespace LocalJSX {
|
|
|
11214
12652
|
"strokeWidth": number;
|
|
11215
12653
|
"showLabel": boolean;
|
|
11216
12654
|
}
|
|
12655
|
+
interface CoProviderLogoAttributes {
|
|
12656
|
+
"provider": string;
|
|
12657
|
+
"size": number;
|
|
12658
|
+
"plated": boolean;
|
|
12659
|
+
}
|
|
11217
12660
|
interface CoRadioAttributes {
|
|
11218
12661
|
"checked": boolean;
|
|
11219
12662
|
"size": 'small' | 'large';
|
|
@@ -11259,6 +12702,7 @@ declare namespace LocalJSX {
|
|
|
11259
12702
|
"iconLeft": string;
|
|
11260
12703
|
"layout": 'vertical' | 'horizontal';
|
|
11261
12704
|
"size": 's' | 'sm' | 'md' | 'lg' | 'default';
|
|
12705
|
+
"variant": 'default' | 'flat';
|
|
11262
12706
|
"value": string;
|
|
11263
12707
|
"options": string;
|
|
11264
12708
|
"selectedDisplay": string;
|
|
@@ -11283,6 +12727,7 @@ declare namespace LocalJSX {
|
|
|
11283
12727
|
"secondaryLabel": string;
|
|
11284
12728
|
"helperText": string;
|
|
11285
12729
|
"status": 'default' | 'error' | 'success' | 'warning' | 'info';
|
|
12730
|
+
"variant": 'default' | 'flat';
|
|
11286
12731
|
"disabled": boolean;
|
|
11287
12732
|
"readonly": boolean;
|
|
11288
12733
|
"required": boolean;
|
|
@@ -11291,15 +12736,19 @@ declare namespace LocalJSX {
|
|
|
11291
12736
|
"autofocus": boolean;
|
|
11292
12737
|
"toolbar": ToolbarVariant;
|
|
11293
12738
|
"features": string | object;
|
|
12739
|
+
"attachmentsEnabled": boolean;
|
|
12740
|
+
"attachmentAccept": string;
|
|
11294
12741
|
"fontFamilies": string | { label: string; value: string }[];
|
|
11295
12742
|
"accountFonts": string | { label: string; value: string }[];
|
|
11296
12743
|
"fontsLoading": boolean;
|
|
11297
12744
|
"locale": string;
|
|
11298
12745
|
}
|
|
11299
12746
|
interface CoRichTextToolbarAttributes {
|
|
11300
|
-
"variant": 'none' | 'compact' | 'basic' | 'full';
|
|
12747
|
+
"variant": 'none' | 'compact' | 'compact-assets' | 'basic' | 'full';
|
|
11301
12748
|
"disabled": boolean;
|
|
11302
12749
|
"locale": string;
|
|
12750
|
+
"attachmentsEnabled": boolean;
|
|
12751
|
+
"attachmentAccept": string;
|
|
11303
12752
|
}
|
|
11304
12753
|
interface CoRichTextViewerAttributes {
|
|
11305
12754
|
"value": string | null;
|
|
@@ -11307,6 +12756,7 @@ declare namespace LocalJSX {
|
|
|
11307
12756
|
"preset": RichTextPreset;
|
|
11308
12757
|
"emptyText": string;
|
|
11309
12758
|
"compact": boolean;
|
|
12759
|
+
"features": string | object;
|
|
11310
12760
|
}
|
|
11311
12761
|
interface CoRowAttributes {
|
|
11312
12762
|
"position": 'top' | 'middle' | 'bottom' | 'single';
|
|
@@ -11334,6 +12784,7 @@ declare namespace LocalJSX {
|
|
|
11334
12784
|
"value": string | string[];
|
|
11335
12785
|
"multiple": boolean;
|
|
11336
12786
|
"size": 's' | 'sm' | 'md' | 'lg';
|
|
12787
|
+
"variant": 'default' | 'flat';
|
|
11337
12788
|
"searchable": boolean;
|
|
11338
12789
|
"searchPlaceholder": string;
|
|
11339
12790
|
"emptyText": string;
|
|
@@ -11433,6 +12884,7 @@ declare namespace LocalJSX {
|
|
|
11433
12884
|
"helperText": string;
|
|
11434
12885
|
"layout": 'vertical' | 'horizontal';
|
|
11435
12886
|
"size": 's' | 'sm' | 'md' | 'lg';
|
|
12887
|
+
"variant": 'default' | 'flat';
|
|
11436
12888
|
"clearable": boolean;
|
|
11437
12889
|
"resize": 'vertical' | 'none' | 'both';
|
|
11438
12890
|
}
|
|
@@ -11520,7 +12972,9 @@ declare namespace LocalJSX {
|
|
|
11520
12972
|
|
|
11521
12973
|
interface IntrinsicElements {
|
|
11522
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] };
|
|
11523
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] };
|
|
11524
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] };
|
|
11525
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] };
|
|
11526
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] };
|
|
@@ -11532,7 +12986,10 @@ declare namespace LocalJSX {
|
|
|
11532
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] };
|
|
11533
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] };
|
|
11534
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"]>;
|
|
11535
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] };
|
|
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] };
|
|
12992
|
+
"co-carousel-item": CoCarouselItem;
|
|
11536
12993
|
"co-checkbox": Omit<CoCheckbox, keyof CoCheckboxAttributes> & { [K in keyof CoCheckbox & keyof CoCheckboxAttributes]?: CoCheckbox[K] } & { [K in keyof CoCheckbox & keyof CoCheckboxAttributes as `attr:${K}`]?: CoCheckboxAttributes[K] } & { [K in keyof CoCheckbox & keyof CoCheckboxAttributes as `prop:${K}`]?: CoCheckbox[K] };
|
|
11537
12994
|
"co-checkbox-group": Omit<CoCheckboxGroup, keyof CoCheckboxGroupAttributes> & { [K in keyof CoCheckboxGroup & keyof CoCheckboxGroupAttributes]?: CoCheckboxGroup[K] } & { [K in keyof CoCheckboxGroup & keyof CoCheckboxGroupAttributes as `attr:${K}`]?: CoCheckboxGroupAttributes[K] } & { [K in keyof CoCheckboxGroup & keyof CoCheckboxGroupAttributes as `prop:${K}`]?: CoCheckboxGroup[K] };
|
|
11538
12995
|
"co-chip": Omit<CoChip, keyof CoChipAttributes> & { [K in keyof CoChip & keyof CoChipAttributes]?: CoChip[K] } & { [K in keyof CoChip & keyof CoChipAttributes as `attr:${K}`]?: CoChipAttributes[K] } & { [K in keyof CoChip & keyof CoChipAttributes as `prop:${K}`]?: CoChip[K] };
|
|
@@ -11546,11 +13003,13 @@ declare namespace LocalJSX {
|
|
|
11546
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] };
|
|
11547
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] };
|
|
11548
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] };
|
|
11549
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] };
|
|
11550
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] };
|
|
11551
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] };
|
|
11552
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] };
|
|
11553
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] };
|
|
11554
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] };
|
|
11555
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] };
|
|
11556
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"]>;
|
|
@@ -11577,6 +13036,7 @@ declare namespace LocalJSX {
|
|
|
11577
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] };
|
|
11578
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] };
|
|
11579
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"]>;
|
|
11580
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] };
|
|
11581
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] };
|
|
11582
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] };
|
|
@@ -11614,10 +13074,29 @@ declare module "@stencil/core" {
|
|
|
11614
13074
|
* the header text does nothing (it may contain interactive content).
|
|
11615
13075
|
*/
|
|
11616
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>;
|
|
11617
13095
|
/**
|
|
11618
13096
|
* App Shell — Main application layout with navbar, sidebar, and content area.
|
|
11619
13097
|
*/
|
|
11620
13098
|
"co-app-shell": LocalJSX.IntrinsicElements["co-app-shell"] & JSXBase.HTMLAttributes<HTMLCoAppShellElement>;
|
|
13099
|
+
"co-audio-player": LocalJSX.IntrinsicElements["co-audio-player"] & JSXBase.HTMLAttributes<HTMLCoAudioPlayerElement>;
|
|
11621
13100
|
"co-autocomplete": LocalJSX.IntrinsicElements["co-autocomplete"] & JSXBase.HTMLAttributes<HTMLCoAutocompleteElement>;
|
|
11622
13101
|
"co-avatar": LocalJSX.IntrinsicElements["co-avatar"] & JSXBase.HTMLAttributes<HTMLCoAvatarElement>;
|
|
11623
13102
|
"co-avatar-group": LocalJSX.IntrinsicElements["co-avatar-group"] & JSXBase.HTMLAttributes<HTMLCoAvatarGroupElement>;
|
|
@@ -11672,7 +13151,27 @@ declare module "@stencil/core" {
|
|
|
11672
13151
|
* old data on failure (that IS the revert).
|
|
11673
13152
|
*/
|
|
11674
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>;
|
|
11675
13161
|
"co-card": LocalJSX.IntrinsicElements["co-card"] & JSXBase.HTMLAttributes<HTMLCoCardElement>;
|
|
13162
|
+
/**
|
|
13163
|
+
* A generic slide carousel. Coordinates light-DOM `co-carousel-item`
|
|
13164
|
+
* children (same pattern as co-tab-group): the parent stamps aria and
|
|
13165
|
+
* inertness on each item and translates a flex track to the active index.
|
|
13166
|
+
* No v-model in the Vue wrappers — consume with `:value` + `@coSlideChange`.
|
|
13167
|
+
*/
|
|
13168
|
+
"co-carousel": LocalJSX.IntrinsicElements["co-carousel"] & JSXBase.HTMLAttributes<HTMLCoCarouselElement>;
|
|
13169
|
+
/**
|
|
13170
|
+
* A single slide inside a co-carousel. The parent carousel stamps
|
|
13171
|
+
* aria-label / aria-hidden / inert on each item (same light-DOM
|
|
13172
|
+
* coordination pattern as co-tab-group ↔ co-tab).
|
|
13173
|
+
*/
|
|
13174
|
+
"co-carousel-item": LocalJSX.IntrinsicElements["co-carousel-item"] & JSXBase.HTMLAttributes<HTMLCoCarouselItemElement>;
|
|
11676
13175
|
"co-checkbox": LocalJSX.IntrinsicElements["co-checkbox"] & JSXBase.HTMLAttributes<HTMLCoCheckboxElement>;
|
|
11677
13176
|
"co-checkbox-group": LocalJSX.IntrinsicElements["co-checkbox-group"] & JSXBase.HTMLAttributes<HTMLCoCheckboxGroupElement>;
|
|
11678
13177
|
"co-chip": LocalJSX.IntrinsicElements["co-chip"] & JSXBase.HTMLAttributes<HTMLCoChipElement>;
|
|
@@ -11740,6 +13239,31 @@ declare module "@stencil/core" {
|
|
|
11740
13239
|
* `applyOnSelect`, debounced once both ends are chosen — for table filters).
|
|
11741
13240
|
*/
|
|
11742
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>;
|
|
11743
13267
|
"co-drawer": LocalJSX.IntrinsicElements["co-drawer"] & JSXBase.HTMLAttributes<HTMLCoDrawerElement>;
|
|
11744
13268
|
/**
|
|
11745
13269
|
* co-drive-card — a selectable Drive item card.
|
|
@@ -11766,18 +13290,15 @@ declare module "@stencil/core" {
|
|
|
11766
13290
|
* Empty state placeholder — icon, title, description, and action buttons.
|
|
11767
13291
|
*/
|
|
11768
13292
|
"co-empty-state": LocalJSX.IntrinsicElements["co-empty-state"] & JSXBase.HTMLAttributes<HTMLCoEmptyStateElement>;
|
|
13293
|
+
"co-event-calendar": LocalJSX.IntrinsicElements["co-event-calendar"] & JSXBase.HTMLAttributes<HTMLCoEventCalendarElement>;
|
|
11769
13294
|
/**
|
|
11770
|
-
* co-event-
|
|
11771
|
-
*
|
|
11772
|
-
*
|
|
11773
|
-
*
|
|
11774
|
-
*
|
|
11775
|
-
* them by updating the `events` prop — leaving it unchanged on failure is the
|
|
11776
|
-
* revert.
|
|
11777
|
-
* Instants are ISO-8601 strings WITH offset/Z (timed) or "YYYY-MM-DD" (all-day);
|
|
11778
|
-
* 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).
|
|
11779
13300
|
*/
|
|
11780
|
-
"co-event-
|
|
13301
|
+
"co-event-popover": LocalJSX.IntrinsicElements["co-event-popover"] & JSXBase.HTMLAttributes<HTMLCoEventPopoverElement>;
|
|
11781
13302
|
"co-fab": LocalJSX.IntrinsicElements["co-fab"] & JSXBase.HTMLAttributes<HTMLCoFabElement>;
|
|
11782
13303
|
/**
|
|
11783
13304
|
* Host-driven file selector — renders a drop-zone + previews + a file list with
|
|
@@ -11931,6 +13452,14 @@ declare module "@stencil/core" {
|
|
|
11931
13452
|
* A circular progress indicator with status colors and optional label.
|
|
11932
13453
|
*/
|
|
11933
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>;
|
|
11934
13463
|
"co-radio": LocalJSX.IntrinsicElements["co-radio"] & JSXBase.HTMLAttributes<HTMLCoRadioElement>;
|
|
11935
13464
|
"co-radio-group": LocalJSX.IntrinsicElements["co-radio-group"] & JSXBase.HTMLAttributes<HTMLCoRadioGroupElement>;
|
|
11936
13465
|
"co-rating": LocalJSX.IntrinsicElements["co-rating"] & JSXBase.HTMLAttributes<HTMLCoRatingElement>;
|