xv-webcomponents 1.25.1 → 2.0.0-beta.28
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/LICENSE +21 -21
- package/README.md +249 -129
- package/dist/angular/angular-component-lib/utils.d.ts +9 -0
- package/dist/angular/angular-component-lib/utils.js +58 -0
- package/dist/angular/index.d.ts +4 -0
- package/dist/angular/index.js +56 -0
- package/dist/angular/proxies.d.ts +696 -0
- package/dist/angular/proxies.js +1642 -0
- package/dist/angular/web-components.module.d.ts +7 -0
- package/dist/angular/web-components.module.js +168 -0
- package/dist/cjs/_vars-DMytunQw.js +26 -0
- package/dist/cjs/{index-Cb30DBqk.js → index-DaTpiyaU.js} +2 -0
- package/dist/cjs/{index-DpLAFt0R.js → index-Dwhgrew8.js} +401 -1805
- package/dist/cjs/index.cjs.js +4 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/maplibre-gl-BIvnXGyX.js +884 -0
- package/dist/cjs/{xv-accordion-v2_50.cjs.entry.js → xv-accordion-v2_49.cjs.entry.js} +2046 -694
- package/dist/cjs/xv-header-next.cjs.entry.js +10 -89
- package/dist/cjs/xv-mega-menu-next.cjs.entry.js +4 -4
- package/dist/cjs/xv-webcomponents.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/xv-accordion/xv-accordion.js +1 -1
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.js +1 -1
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js +1 -1
- package/dist/collection/components/xv-button/xv-button.js +2 -1
- package/dist/collection/components/xv-button-group/xv-button-group.js +3 -3
- package/dist/collection/components/xv-card/xv-card.js +1 -1
- package/dist/collection/components/xv-checkbox/xv-checkbox.js +4 -3
- package/dist/collection/components/xv-content-switcher/xv-content-switcher-item/xv-content-switcher-item.js +1 -1
- package/dist/collection/components/xv-content-switcher/xv-content-switcher.js +7 -6
- package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.js +5 -3
- package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.js +4 -3
- package/dist/collection/components/xv-data-table/xv-data-table.js +5 -3
- package/dist/collection/components/xv-date-picker/xv-date-picker.js +16 -8
- package/dist/collection/components/xv-datepicker/xv-datepicker.js +5 -4
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +9 -5
- package/dist/collection/components/xv-dropdown/xv-dropdown.js +9 -5
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.css +3 -3
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.js +6 -4
- package/dist/collection/components/xv-footer/xv-footer.js +1 -1
- package/dist/collection/components/xv-geo-map/xv-geo-map.css +43 -67
- package/dist/collection/components/xv-geo-map/xv-geo-map.js +10 -10
- package/dist/collection/components/xv-header/xv-header.js +7 -88
- package/dist/collection/components/xv-header-next/xv-header-next.js +10 -91
- package/dist/collection/components/xv-link/xv-link.js +1 -1
- package/dist/collection/components/xv-loader/xv-loader.js +2 -1
- package/dist/collection/components/xv-login-modal/xv-login-modal.css +7 -7
- package/dist/collection/components/xv-mega-menu/xv-mega-menu.js +2 -2
- package/dist/collection/components/xv-mega-menu-next/xv-mega-menu-next.js +5 -4
- package/dist/collection/components/xv-modal/xv-modal.js +3 -2
- package/dist/collection/components/xv-notification/xv-notification.js +3 -2
- package/dist/collection/components/xv-number-input/xv-number-input.js +4 -3
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js +7 -4
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +14 -11
- package/dist/collection/components/xv-pagination/xv-pagination.css +2 -2
- package/dist/collection/components/xv-pagination/xv-pagination.js +7 -4
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +3 -2
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +6 -5
- package/dist/collection/components/xv-radio/xv-radio.js +4 -3
- package/dist/collection/components/xv-slider/xv-slider.js +1 -1
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.css +129 -61
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +279 -78
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.css +138 -24
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +334 -162
- package/dist/collection/components/xv-table/xv-table.css +240 -99
- package/dist/collection/components/xv-table/xv-table.js +2058 -64
- package/dist/collection/components/xv-table/xv-table.model.js +10 -0
- package/dist/collection/components/xv-table/xv-table.utils.js +243 -0
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +1 -1
- package/dist/collection/components/xv-tabs/xv-tabs.js +2 -1
- package/dist/collection/components/xv-tag/xv-tag.js +1 -1
- package/dist/collection/components/xv-tag-combobox/xv-tag-combobox.js +6 -4
- package/dist/collection/components/xv-text-input/xv-text-input.js +4 -3
- package/dist/collection/components/xv-textarea/xv-textarea.js +4 -3
- package/dist/collection/components/xv-tile/xv-tile.css +1 -1
- package/dist/collection/components/xv-tile/xv-tile.js +2 -2
- package/dist/collection/components/xv-toggle/xv-toggle.js +3 -2
- package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js +3 -2
- package/dist/collection/components/xv-tooltip/xv-tooltip.js +4 -3
- package/dist/collection/index.js +3 -0
- package/dist/collection/utils/table-layout.js +130 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/p-A3B7AR96.js +9 -0
- package/dist/components/p-B0kwaJ8n.js +1 -0
- package/dist/components/p-B9zHwwFm.js +1 -0
- package/dist/components/p-BEoh0dZI.js +1 -0
- package/dist/components/p-BaZ-srfu.js +1 -0
- package/dist/components/p-Bej2l-wN.js +1 -0
- package/dist/components/p-BfP9ezJQ.js +1 -0
- package/dist/components/p-BfhvpeQh.js +1 -0
- package/dist/components/p-BiiqsbVQ.js +1 -0
- package/dist/components/p-CSYnNMKb.js +1 -0
- package/dist/components/p-CspyoLL9.js +1 -0
- package/dist/components/p-CvgDDcjp.js +1 -0
- package/dist/components/p-D4FwGeDJ.js +1 -0
- package/dist/components/p-DCvH_Br_.js +1 -0
- package/dist/components/p-DFe9Mtw_.js +1 -0
- package/dist/components/p-DFtMwE-h.js +1 -0
- package/dist/components/p-DIvi4fI3.js +1 -0
- package/dist/components/p-DNRISLNf.js +1 -0
- package/dist/components/p-DPnvoOYj.js +1 -0
- package/dist/components/p-Dwbe941A.js +1 -0
- package/dist/components/p-HjYAjHna.js +1 -0
- package/dist/components/p-JClekcEh.js +1 -0
- package/dist/components/p-NoM9oIJn.js +1 -0
- package/dist/components/p-SvgdO2VS.js +1 -0
- package/dist/components/p-XEk4dHG3.js +1 -0
- package/dist/components/p-e0i0f6QA.js +1 -0
- package/dist/components/p-i7_81si-.js +1 -0
- package/dist/components/p-i82EFiq6.js +1 -0
- package/dist/components/p-jD7nSJaM.js +1 -0
- package/dist/components/xv-accordion-v2-item.d.ts +11 -0
- package/dist/components/xv-accordion-v2-item.js +1 -0
- package/dist/components/xv-accordion-v2.d.ts +11 -0
- package/dist/components/xv-accordion-v2.js +1 -0
- package/dist/components/xv-breadcrumbs-v2.d.ts +11 -0
- package/dist/components/xv-breadcrumbs-v2.js +1 -0
- package/dist/components/xv-button-group-v2.d.ts +11 -0
- package/dist/components/xv-button-group-v2.js +1 -0
- package/dist/components/xv-button-v2.d.ts +11 -0
- package/dist/components/xv-button-v2.js +1 -0
- package/dist/components/xv-card-v2.d.ts +11 -0
- package/dist/components/xv-card-v2.js +1 -0
- package/dist/components/xv-checkbox-v2.d.ts +11 -0
- package/dist/components/xv-checkbox-v2.js +1 -0
- package/dist/components/xv-content-switcher-item-v2.d.ts +11 -0
- package/dist/components/xv-content-switcher-item-v2.js +1 -0
- package/dist/components/xv-content-switcher-v2.d.ts +11 -0
- package/dist/components/xv-content-switcher-v2.js +1 -0
- package/dist/components/xv-data-table-cell.d.ts +11 -0
- package/dist/components/xv-data-table-cell.js +1 -0
- package/dist/components/xv-data-table-collapse.d.ts +11 -0
- package/dist/components/xv-data-table-collapse.js +1 -0
- package/dist/components/xv-data-table-row.d.ts +11 -0
- package/dist/components/xv-data-table-row.js +1 -0
- package/dist/components/xv-data-table.d.ts +11 -0
- package/dist/components/xv-data-table.js +7 -0
- package/dist/components/xv-date-picker.d.ts +11 -0
- package/dist/components/xv-date-picker.js +1 -0
- package/dist/components/xv-datepicker.d.ts +11 -0
- package/dist/components/xv-datepicker.js +1 -0
- package/dist/components/xv-dropdown-v2-item.d.ts +11 -0
- package/dist/components/xv-dropdown-v2-item.js +1 -0
- package/dist/components/xv-dropdown-v2.d.ts +11 -0
- package/dist/components/xv-dropdown-v2.js +1 -0
- package/dist/components/xv-file-uploader.d.ts +11 -0
- package/dist/components/xv-file-uploader.js +1 -0
- package/dist/components/xv-footer.d.ts +11 -0
- package/dist/components/xv-footer.js +1 -0
- package/dist/components/xv-geo-map-v2.d.ts +11 -0
- package/dist/components/xv-geo-map-v2.js +1 -0
- package/dist/components/xv-header-next.d.ts +11 -0
- package/dist/components/xv-header-next.js +1 -0
- package/dist/components/xv-header.d.ts +11 -0
- package/dist/components/xv-header.js +1 -0
- package/dist/components/xv-image-viewer.d.ts +11 -0
- package/dist/components/xv-image-viewer.js +1 -0
- package/dist/components/xv-link-v2.d.ts +11 -0
- package/dist/components/xv-link-v2.js +1 -0
- package/dist/components/xv-loader-v2.d.ts +11 -0
- package/dist/components/xv-loader-v2.js +1 -0
- package/dist/components/xv-login-modal.d.ts +11 -0
- package/dist/components/xv-login-modal.js +1 -0
- package/dist/components/xv-mega-menu-next.d.ts +11 -0
- package/dist/components/xv-mega-menu-next.js +1 -0
- package/dist/components/xv-mega-menu.d.ts +11 -0
- package/dist/components/xv-mega-menu.js +1 -0
- package/dist/components/xv-modal-v2.d.ts +11 -0
- package/dist/components/xv-modal-v2.js +1 -0
- package/dist/components/xv-notification-v2.d.ts +11 -0
- package/dist/components/xv-notification-v2.js +1 -0
- package/dist/components/xv-number-input-v2.d.ts +11 -0
- package/dist/components/xv-number-input-v2.js +1 -0
- package/dist/components/xv-overflow-menu-v2-item.d.ts +11 -0
- package/dist/components/xv-overflow-menu-v2-item.js +1 -0
- package/dist/components/xv-overflow-menu-v2.d.ts +11 -0
- package/dist/components/xv-overflow-menu-v2.js +1 -0
- package/dist/components/xv-pagination.d.ts +11 -0
- package/dist/components/xv-pagination.js +1 -0
- package/dist/components/xv-progress-indicator-v2-item.d.ts +11 -0
- package/dist/components/xv-progress-indicator-v2-item.js +1 -0
- package/dist/components/xv-progress-indicator-v2.d.ts +11 -0
- package/dist/components/xv-progress-indicator-v2.js +1 -0
- package/dist/components/xv-radio-v2.d.ts +11 -0
- package/dist/components/xv-radio-v2.js +1 -0
- package/dist/components/xv-slider-v2.d.ts +11 -0
- package/dist/components/xv-slider-v2.js +1 -0
- package/dist/components/xv-tab-v2.d.ts +11 -0
- package/dist/components/xv-tab-v2.js +1 -0
- package/dist/components/xv-table-cell.d.ts +11 -0
- package/dist/components/xv-table-cell.js +1 -0
- package/dist/components/xv-table-row.d.ts +11 -0
- package/dist/components/xv-table-row.js +1 -0
- package/dist/components/xv-table.d.ts +11 -0
- package/dist/components/xv-table.js +1 -0
- package/dist/components/xv-tabs-v2.d.ts +11 -0
- package/dist/components/xv-tabs-v2.js +1 -0
- package/dist/components/xv-tag-combobox.d.ts +11 -0
- package/dist/components/xv-tag-combobox.js +1 -0
- package/dist/components/xv-tag-v2.d.ts +11 -0
- package/dist/components/xv-tag-v2.js +1 -0
- package/dist/components/xv-text-input-v2.d.ts +11 -0
- package/dist/components/xv-text-input-v2.js +1 -0
- package/dist/components/xv-textarea.d.ts +11 -0
- package/dist/components/xv-textarea.js +1 -0
- package/dist/components/xv-tile.d.ts +11 -0
- package/dist/components/xv-tile.js +1 -0
- package/dist/components/xv-toggle-tip.d.ts +11 -0
- package/dist/components/xv-toggle-tip.js +1 -0
- package/dist/components/xv-toggle.d.ts +11 -0
- package/dist/components/xv-toggle.js +1 -0
- package/dist/components/xv-tooltip-v2.d.ts +11 -0
- package/dist/components/xv-tooltip-v2.js +1 -0
- package/dist/custom-elements.json +11561 -0
- package/dist/docs.d.ts +480 -0
- package/dist/docs.json +17181 -0
- package/dist/esm/_vars-CDEU4jkD.js +23 -0
- package/dist/esm/{index-CQm2sRKT.js → index-ClusqSO5.js} +2 -0
- package/dist/esm/{index-DmxA2ysB.js → index-DJC3-dS3.js} +400 -1806
- package/dist/esm/index.js +2 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/maplibre-gl-A3B7AR96.js +826 -0
- package/dist/esm/maplibre-gl-shared.mjs +2 -2
- package/dist/esm/maplibre-gl-worker.mjs +2 -2
- package/dist/esm/{xv-accordion-v2_50.entry.js → xv-accordion-v2_49.entry.js} +2044 -691
- package/dist/esm/xv-header-next.entry.js +10 -89
- package/dist/esm/xv-mega-menu-next.entry.js +4 -4
- package/dist/esm/xv-webcomponents.js +4 -4
- package/dist/react/components.d.ts +55 -0
- package/dist/react/components.js +56 -0
- package/dist/react/create-component.d.ts +24 -0
- package/dist/react/runtime.d.ts +2 -0
- package/dist/react/runtime.js +43 -0
- package/dist/react/tag-transformer.d.ts +3 -0
- package/dist/react/tag-transformer.js +12 -0
- package/dist/react/xv-accordion-v2-item.d.ts +12 -0
- package/dist/react/xv-accordion-v2-item.js +14 -0
- package/dist/react/xv-accordion-v2.d.ts +15 -0
- package/dist/react/xv-accordion-v2.js +14 -0
- package/dist/react/xv-breadcrumbs-v2.d.ts +9 -0
- package/dist/react/xv-breadcrumbs-v2.js +14 -0
- package/dist/react/xv-button-group-v2.d.ts +12 -0
- package/dist/react/xv-button-group-v2.js +14 -0
- package/dist/react/xv-button-v2.d.ts +9 -0
- package/dist/react/xv-button-v2.js +14 -0
- package/dist/react/xv-card-v2.d.ts +9 -0
- package/dist/react/xv-card-v2.js +14 -0
- package/dist/react/xv-checkbox-v2.d.ts +15 -0
- package/dist/react/xv-checkbox-v2.js +19 -0
- package/dist/react/xv-content-switcher-item-v2.d.ts +9 -0
- package/dist/react/xv-content-switcher-item-v2.js +14 -0
- package/dist/react/xv-content-switcher-v2.d.ts +12 -0
- package/dist/react/xv-content-switcher-v2.js +14 -0
- package/dist/react/xv-data-table-cell.d.ts +12 -0
- package/dist/react/xv-data-table-cell.js +14 -0
- package/dist/react/xv-data-table-collapse.d.ts +12 -0
- package/dist/react/xv-data-table-collapse.js +14 -0
- package/dist/react/xv-data-table-row.d.ts +12 -0
- package/dist/react/xv-data-table-row.js +14 -0
- package/dist/react/xv-data-table.d.ts +12 -0
- package/dist/react/xv-data-table.js +14 -0
- package/dist/react/xv-date-picker.d.ts +14 -0
- package/dist/react/xv-date-picker.js +18 -0
- package/dist/react/xv-datepicker.d.ts +13 -0
- package/dist/react/xv-datepicker.js +17 -0
- package/dist/react/xv-dropdown-v2-item.d.ts +12 -0
- package/dist/react/xv-dropdown-v2-item.js +14 -0
- package/dist/react/xv-dropdown-v2.d.ts +13 -0
- package/dist/react/xv-dropdown-v2.js +17 -0
- package/dist/react/xv-file-uploader.d.ts +13 -0
- package/dist/react/xv-file-uploader.js +17 -0
- package/dist/react/xv-footer.d.ts +9 -0
- package/dist/react/xv-footer.js +14 -0
- package/dist/react/xv-geo-map-v2.d.ts +13 -0
- package/dist/react/xv-geo-map-v2.js +17 -0
- package/dist/react/xv-header-next.d.ts +12 -0
- package/dist/react/xv-header-next.js +14 -0
- package/dist/react/xv-header.d.ts +12 -0
- package/dist/react/xv-header.js +14 -0
- package/dist/react/xv-image-viewer.d.ts +12 -0
- package/dist/react/xv-image-viewer.js +14 -0
- package/dist/react/xv-link-v2.d.ts +9 -0
- package/dist/react/xv-link-v2.js +14 -0
- package/dist/react/xv-loader-v2.d.ts +9 -0
- package/dist/react/xv-loader-v2.js +14 -0
- package/dist/react/xv-login-modal.d.ts +12 -0
- package/dist/react/xv-login-modal.js +14 -0
- package/dist/react/xv-mega-menu-next.d.ts +12 -0
- package/dist/react/xv-mega-menu-next.js +14 -0
- package/dist/react/xv-mega-menu.d.ts +12 -0
- package/dist/react/xv-mega-menu.js +14 -0
- package/dist/react/xv-modal-v2.d.ts +12 -0
- package/dist/react/xv-modal-v2.js +14 -0
- package/dist/react/xv-notification-v2.d.ts +12 -0
- package/dist/react/xv-notification-v2.js +14 -0
- package/dist/react/xv-number-input-v2.d.ts +12 -0
- package/dist/react/xv-number-input-v2.js +14 -0
- package/dist/react/xv-overflow-menu-v2-item.d.ts +12 -0
- package/dist/react/xv-overflow-menu-v2-item.js +14 -0
- package/dist/react/xv-overflow-menu-v2.d.ts +13 -0
- package/dist/react/xv-overflow-menu-v2.js +17 -0
- package/dist/react/xv-pagination.d.ts +15 -0
- package/dist/react/xv-pagination.js +14 -0
- package/dist/react/xv-progress-indicator-v2-item.d.ts +9 -0
- package/dist/react/xv-progress-indicator-v2-item.js +14 -0
- package/dist/react/xv-progress-indicator-v2.d.ts +9 -0
- package/dist/react/xv-progress-indicator-v2.js +14 -0
- package/dist/react/xv-radio-v2.d.ts +9 -0
- package/dist/react/xv-radio-v2.js +14 -0
- package/dist/react/xv-slider-v2.d.ts +12 -0
- package/dist/react/xv-slider-v2.js +14 -0
- package/dist/react/xv-tab-v2.d.ts +9 -0
- package/dist/react/xv-tab-v2.js +14 -0
- package/dist/react/xv-table-cell.d.ts +9 -0
- package/dist/react/xv-table-cell.js +14 -0
- package/dist/react/xv-table-row.d.ts +9 -0
- package/dist/react/xv-table-row.js +14 -0
- package/dist/react/xv-table.d.ts +18 -0
- package/dist/react/xv-table.js +22 -0
- package/dist/react/xv-tabs-v2.d.ts +12 -0
- package/dist/react/xv-tabs-v2.js +14 -0
- package/dist/react/xv-tag-combobox.d.ts +13 -0
- package/dist/react/xv-tag-combobox.js +17 -0
- package/dist/react/xv-tag-v2.d.ts +12 -0
- package/dist/react/xv-tag-v2.js +14 -0
- package/dist/react/xv-text-input-v2.d.ts +12 -0
- package/dist/react/xv-text-input-v2.js +14 -0
- package/dist/react/xv-textarea.d.ts +12 -0
- package/dist/react/xv-textarea.js +14 -0
- package/dist/react/xv-tile.d.ts +15 -0
- package/dist/react/xv-tile.js +14 -0
- package/dist/react/xv-toggle-tip.d.ts +12 -0
- package/dist/react/xv-toggle-tip.js +14 -0
- package/dist/react/xv-toggle.d.ts +12 -0
- package/dist/react/xv-toggle.js +14 -0
- package/dist/react/xv-tooltip-v2.d.ts +9 -0
- package/dist/react/xv-tooltip-v2.js +14 -0
- package/dist/types/components/xv-header/xv-header.d.ts +13 -29
- package/dist/types/components/xv-header-next/xv-header-next.d.ts +13 -29
- package/dist/types/components/xv-table/xv-table-cell/xv-table-cell.d.ts +43 -8
- package/dist/types/components/xv-table/xv-table-row/xv-table-row.d.ts +57 -18
- package/dist/types/components/xv-table/xv-table.d.ts +298 -9
- package/dist/types/components/xv-table/xv-table.model.d.ts +78 -0
- package/dist/types/components/xv-table/xv-table.utils.d.ts +47 -0
- package/dist/types/components.d.ts +1498 -209
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +126 -57
- package/dist/types/utils/table-layout.d.ts +7 -0
- package/dist/vscode-data.json +3293 -0
- package/dist/xv-webcomponents/index.esm.js +1 -1
- package/dist/xv-webcomponents/{p-fe9b38f8.entry.js → p-0c30d09f.entry.js} +1 -1
- package/dist/xv-webcomponents/p-6b58979e.entry.js +8 -0
- package/dist/xv-webcomponents/p-A3B7AR96.js +9 -0
- package/dist/xv-webcomponents/p-CDEU4jkD.js +1 -0
- package/dist/xv-webcomponents/p-DJC3-dS3.js +3 -0
- package/dist/xv-webcomponents/p-DSFVdw3w.js +1 -0
- package/dist/xv-webcomponents/p-c4173686.entry.js +1 -0
- package/dist/xv-webcomponents/xv-webcomponents.css +6 -6
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/loader/index.d.ts +1 -1
- package/package.json +139 -61
- package/dist/cjs/_vars-Cyrk3TAl.js +0 -3423
- package/dist/cjs/maplibre-gl-CCZS3Rg5.js +0 -900
- package/dist/collection/components/xv-header/_vars.js +0 -51
- package/dist/collection/components/xv-table/_vars.js +0 -2
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.css +0 -58
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +0 -75
- package/dist/esm/_vars-BkYBzv3h.js +0 -3413
- package/dist/esm/maplibre-gl-CS4Eagm9.js +0 -813
- package/dist/types/components/xv-header/_vars.d.ts +0 -47
- package/dist/types/components/xv-table/_vars.d.ts +0 -15
- package/dist/types/components/xv-table/xv-table-expand/xv-table-expand.d.ts +0 -8
- package/dist/xv-webcomponents/p-7832549c.entry.js +0 -8
- package/dist/xv-webcomponents/p-BkYBzv3h.js +0 -1
- package/dist/xv-webcomponents/p-CQm2sRKT.js +0 -1
- package/dist/xv-webcomponents/p-CS4Eagm9.js +0 -10
- package/dist/xv-webcomponents/p-DmxA2ysB.js +0 -2
- package/dist/xv-webcomponents/p-f46bb687.entry.js +0 -1
|
@@ -16,7 +16,7 @@ import { NOTIFICATION_VARIANTS_STR } from "./components/xv-notification/_vars";
|
|
|
16
16
|
import { OverflowMenuEvent, OverflowMenuVariant } from "./components/xv-overflow-menu/_vars";
|
|
17
17
|
import { XvPaginationVariant } from "./components/xv-pagination/xv-pagination.model";
|
|
18
18
|
import { PROGRESS_ITEM_STATUS } from "./components/xv-progress-indicator/_vars";
|
|
19
|
-
import {
|
|
19
|
+
import { XvCellAlign, XvCellOverflow, XvTableColumn, XvTableExpandedDetail, XvTableExpandMode, XvTableLayout, XvTableMode, XvTablePage, XvTableRowClickDetail, XvTableRowOrder, XvTableSelectionDetail, XvTableSelectionMode, XvTableSort } from "./components/xv-table/xv-table.model";
|
|
20
20
|
import { TABS_VATIANT_STR } from "./components/xv-tabs/_vars";
|
|
21
21
|
import { TagComboboxOptIn } from "./components/xv-tag-combobox/xv-tag-combobox.config";
|
|
22
22
|
import { Placement } from "@popperjs/core";
|
|
@@ -31,7 +31,7 @@ export { NOTIFICATION_VARIANTS_STR } from "./components/xv-notification/_vars";
|
|
|
31
31
|
export { OverflowMenuEvent, OverflowMenuVariant } from "./components/xv-overflow-menu/_vars";
|
|
32
32
|
export { XvPaginationVariant } from "./components/xv-pagination/xv-pagination.model";
|
|
33
33
|
export { PROGRESS_ITEM_STATUS } from "./components/xv-progress-indicator/_vars";
|
|
34
|
-
export {
|
|
34
|
+
export { XvCellAlign, XvCellOverflow, XvTableColumn, XvTableExpandedDetail, XvTableExpandMode, XvTableLayout, XvTableMode, XvTablePage, XvTableRowClickDetail, XvTableRowOrder, XvTableSelectionDetail, XvTableSelectionMode, XvTableSort } from "./components/xv-table/xv-table.model";
|
|
35
35
|
export { TABS_VATIANT_STR } from "./components/xv-tabs/_vars";
|
|
36
36
|
export { TagComboboxOptIn } from "./components/xv-tag-combobox/xv-tag-combobox.config";
|
|
37
37
|
export { Placement } from "@popperjs/core";
|
|
@@ -927,7 +927,7 @@ export namespace Components {
|
|
|
927
927
|
"target"?: string;
|
|
928
928
|
"value": OverflowMenuEvent['value'];
|
|
929
929
|
/**
|
|
930
|
-
* @default
|
|
930
|
+
* @default ''
|
|
931
931
|
*/
|
|
932
932
|
"variant": OverflowMenuVariant;
|
|
933
933
|
}
|
|
@@ -1079,42 +1079,395 @@ export namespace Components {
|
|
|
1079
1079
|
"loading": boolean;
|
|
1080
1080
|
"name"?: number | string;
|
|
1081
1081
|
}
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1082
|
+
/**
|
|
1083
|
+
* A data table built on CSS grid with `subgrid` rows, so a row keeps its own box while its cells
|
|
1084
|
+
* stay aligned to the table's columns and an expanded panel can span the full width.
|
|
1085
|
+
* `columns` always describes the structure — widths, order, sorting, resizing, hiding and the
|
|
1086
|
+
* stored layout all read from it. Rows come either from `rows` as data, or as slotted
|
|
1087
|
+
* `xv-table-row` children when the cells hold arbitrary markup.
|
|
1088
|
+
*/
|
|
1089
|
+
interface XvTable {
|
|
1090
|
+
/**
|
|
1091
|
+
* Stretches the table to the full width of its container.
|
|
1092
|
+
* @default false
|
|
1093
|
+
*/
|
|
1094
|
+
"block": boolean;
|
|
1095
|
+
/**
|
|
1096
|
+
* Clears the selection.
|
|
1097
|
+
*/
|
|
1098
|
+
"clearSelection": () => Promise<void>;
|
|
1099
|
+
/**
|
|
1100
|
+
* Column definitions. Accepts its JSON string form so it is settable from plain markup.
|
|
1101
|
+
* @default []
|
|
1102
|
+
*/
|
|
1103
|
+
"columns": string | XvTableColumn[];
|
|
1104
|
+
/**
|
|
1105
|
+
* Tooltip on the column picker trigger.
|
|
1106
|
+
* @default 'Columns'
|
|
1107
|
+
*/
|
|
1108
|
+
"columnsLabel": string;
|
|
1109
|
+
/**
|
|
1110
|
+
* Supporting text under the title.
|
|
1111
|
+
* @default ''
|
|
1112
|
+
*/
|
|
1113
|
+
"description": string;
|
|
1114
|
+
/**
|
|
1115
|
+
* Shown when there are no rows.
|
|
1116
|
+
* @default ''
|
|
1117
|
+
*/
|
|
1118
|
+
"emptyLabel": string;
|
|
1119
|
+
/**
|
|
1120
|
+
* Accessible name of a row's expand toggle.
|
|
1121
|
+
* @default 'Toggle row'
|
|
1122
|
+
*/
|
|
1123
|
+
"expandLabel": string;
|
|
1124
|
+
/**
|
|
1125
|
+
* Whether rows expand, and whether more than one may be open.
|
|
1126
|
+
* @default 'none'
|
|
1127
|
+
*/
|
|
1128
|
+
"expandMode": XvTableExpandMode;
|
|
1129
|
+
/**
|
|
1130
|
+
* Values of the expanded rows.
|
|
1131
|
+
* @default []
|
|
1132
|
+
*/
|
|
1133
|
+
"expanded": string | unknown[];
|
|
1134
|
+
/**
|
|
1135
|
+
* The layout as it would be stored: only the deviations from the declared columns.
|
|
1136
|
+
*/
|
|
1137
|
+
"getLayout": () => Promise<XvTableLayout>;
|
|
1138
|
+
/**
|
|
1139
|
+
* Highlights a row on pointer hover.
|
|
1140
|
+
* @default false
|
|
1141
|
+
*/
|
|
1142
|
+
"hover": boolean;
|
|
1143
|
+
/**
|
|
1144
|
+
* Title above the table.
|
|
1145
|
+
* @default ''
|
|
1146
|
+
*/
|
|
1147
|
+
"label": string;
|
|
1148
|
+
/**
|
|
1149
|
+
* Controlled column layout. Overrides whatever is stored.
|
|
1150
|
+
* @default null
|
|
1151
|
+
*/
|
|
1152
|
+
"layout": string | XvTableLayout;
|
|
1153
|
+
/**
|
|
1154
|
+
* Covers the body with a loading state.
|
|
1155
|
+
* @default false
|
|
1156
|
+
*/
|
|
1157
|
+
"loading": boolean;
|
|
1158
|
+
/**
|
|
1159
|
+
* Locale used for sorting and cell formatting. Falls back to the nearest `[lang]` ancestor.
|
|
1160
|
+
* @default ''
|
|
1161
|
+
*/
|
|
1162
|
+
"locale": string;
|
|
1163
|
+
/**
|
|
1164
|
+
* Width below which the table scrolls instead of squeezing, at any viewport. Left unset, a table only stops squeezing below 1180px, where it scrolls at the width its columns declared.
|
|
1165
|
+
* @default 0
|
|
1166
|
+
*/
|
|
1167
|
+
"minWidth": number;
|
|
1168
|
+
/**
|
|
1169
|
+
* Current page, 1-based.
|
|
1170
|
+
* @default 1
|
|
1171
|
+
*/
|
|
1172
|
+
"page": number;
|
|
1173
|
+
/**
|
|
1174
|
+
* Rows per page.
|
|
1175
|
+
* @default 10
|
|
1176
|
+
*/
|
|
1177
|
+
"pageSize": number;
|
|
1178
|
+
/**
|
|
1179
|
+
* Page size choices. Accepts a comma-separated attribute.
|
|
1180
|
+
* @default [10, 20, 30, 40, 50, 100]
|
|
1181
|
+
*/
|
|
1182
|
+
"pageSizeOptions": string | number[];
|
|
1183
|
+
/**
|
|
1184
|
+
* `client` slices the `rows` prop; `server` only emits `pageChange`.
|
|
1185
|
+
* @default 'none'
|
|
1186
|
+
*/
|
|
1187
|
+
"paginationMode": XvTableMode;
|
|
1086
1188
|
/**
|
|
1189
|
+
* Accessible name of a row's drag grip.
|
|
1190
|
+
* @default 'Drag to reorder'
|
|
1191
|
+
*/
|
|
1192
|
+
"reorderLabel": string;
|
|
1193
|
+
/**
|
|
1194
|
+
* Allows dragging column headers into a new order. Off by default, like `resizable`.
|
|
1195
|
+
* @default false
|
|
1196
|
+
*/
|
|
1197
|
+
"reorderable": boolean;
|
|
1198
|
+
/**
|
|
1199
|
+
* Text of the button that restores the declared column layout.
|
|
1200
|
+
* @default 'Reset'
|
|
1201
|
+
*/
|
|
1202
|
+
"resetLabel": string;
|
|
1203
|
+
/**
|
|
1204
|
+
* Drops the stored layout and returns to the declared columns.
|
|
1205
|
+
*/
|
|
1206
|
+
"resetLayout": () => Promise<void>;
|
|
1207
|
+
/**
|
|
1208
|
+
* Allows dragging column edges. Off by default: no handle is rendered and nothing is bound until it is switched on. A column may switch itself off, never on.
|
|
1209
|
+
* @default false
|
|
1210
|
+
*/
|
|
1211
|
+
"resizable": boolean;
|
|
1212
|
+
/**
|
|
1213
|
+
* Emits `rowClick` when a row is clicked outside an interactive element.
|
|
1214
|
+
* @default false
|
|
1215
|
+
*/
|
|
1216
|
+
"rowClickable": boolean;
|
|
1217
|
+
/**
|
|
1218
|
+
* Property of a row object that identifies it in selection and expansion payloads.
|
|
1219
|
+
* @default 'id'
|
|
1220
|
+
*/
|
|
1221
|
+
"rowKey": string;
|
|
1222
|
+
/**
|
|
1223
|
+
* Whether the whole row drags, or only a grip in a leading control cell.
|
|
1224
|
+
* @default 'icon'
|
|
1225
|
+
*/
|
|
1226
|
+
"rowReorderHandle": 'icon' | 'row';
|
|
1227
|
+
/**
|
|
1228
|
+
* Allows dragging rows into a new order. Off by default: nothing is bound and no handle is rendered until it is switched on.
|
|
1229
|
+
* @default false
|
|
1230
|
+
*/
|
|
1231
|
+
"rowReorderable": boolean;
|
|
1232
|
+
/**
|
|
1233
|
+
* Row data. Ignored when `xv-table-row` children are slotted.
|
|
1234
|
+
* @default []
|
|
1235
|
+
*/
|
|
1236
|
+
"rows": string | any[];
|
|
1237
|
+
/**
|
|
1238
|
+
* Selects every selectable row.
|
|
1239
|
+
*/
|
|
1240
|
+
"selectAll": () => Promise<void>;
|
|
1241
|
+
/**
|
|
1242
|
+
* Values of the selected rows.
|
|
1243
|
+
* @default []
|
|
1244
|
+
*/
|
|
1245
|
+
"selected": string | unknown[];
|
|
1246
|
+
/**
|
|
1247
|
+
* Text of the batch bar counter. `{count}` is replaced with the number of selected rows.
|
|
1248
|
+
* @default ''
|
|
1249
|
+
*/
|
|
1250
|
+
"selectedLabel": string;
|
|
1251
|
+
/**
|
|
1252
|
+
* `multiple` renders checkboxes, `single` renders radios.
|
|
1253
|
+
* @default 'none'
|
|
1254
|
+
*/
|
|
1255
|
+
"selection": XvTableSelectionMode;
|
|
1256
|
+
/**
|
|
1257
|
+
* Row height ladder.
|
|
1087
1258
|
* @default SIZE_VAR.MD
|
|
1088
1259
|
*/
|
|
1089
1260
|
"size": SIZE_VAR_STR;
|
|
1261
|
+
/**
|
|
1262
|
+
* Placeholder rows drawn while `loading`. Zero draws a spinner instead.
|
|
1263
|
+
* @default 0
|
|
1264
|
+
*/
|
|
1265
|
+
"skeletonRows": number;
|
|
1266
|
+
/**
|
|
1267
|
+
* Active sort, as `asc(field)` / `desc(field)` or an object.
|
|
1268
|
+
* @default ''
|
|
1269
|
+
*/
|
|
1270
|
+
"sortBy": string | XvTableSort;
|
|
1271
|
+
/**
|
|
1272
|
+
* `none` makes headers inert whatever the column says; `client` sorts the `rows` prop itself; `server` offers the affordance and only emits `sortChange` for the consumer to reload.
|
|
1273
|
+
* @default 'none'
|
|
1274
|
+
*/
|
|
1275
|
+
"sortMode": XvTableMode;
|
|
1276
|
+
/**
|
|
1277
|
+
* Keeps the header visible while the body scrolls.
|
|
1278
|
+
* @default false
|
|
1279
|
+
*/
|
|
1280
|
+
"stickyHeader": boolean;
|
|
1281
|
+
/**
|
|
1282
|
+
* Persists the column layout under this key. Empty means the layout is not remembered.
|
|
1283
|
+
* @default ''
|
|
1284
|
+
*/
|
|
1285
|
+
"storageKey": string;
|
|
1286
|
+
/**
|
|
1287
|
+
* Scopes the stored layout to a user.
|
|
1288
|
+
* @default 'anonymous'
|
|
1289
|
+
*/
|
|
1290
|
+
"storageOwner": string;
|
|
1291
|
+
/**
|
|
1292
|
+
* Total row count, for `server` pagination.
|
|
1293
|
+
* @default 0
|
|
1294
|
+
*/
|
|
1295
|
+
"total": number;
|
|
1090
1296
|
}
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1297
|
+
/**
|
|
1298
|
+
* One cell of a table row. It holds arbitrary markup — buttons, links, tags, nested components —
|
|
1299
|
+
* which is why the table stays composed rather than driven only by data.
|
|
1300
|
+
* In a header row it also carries the column affordances: the sort arrow, the drag grip and the
|
|
1301
|
+
* resize handle. The table renders this same component in both modes, so a header written as
|
|
1302
|
+
* markup can do everything a header built from `columns` can.
|
|
1303
|
+
*/
|
|
1304
|
+
interface XvTableCell {
|
|
1305
|
+
/**
|
|
1306
|
+
* Horizontal alignment of the content.
|
|
1307
|
+
* @default 'start'
|
|
1308
|
+
*/
|
|
1309
|
+
"align": XvCellAlign;
|
|
1310
|
+
/**
|
|
1311
|
+
* Lines kept before clamping, when `overflow` is `clamp`.
|
|
1312
|
+
* @default 2
|
|
1313
|
+
*/
|
|
1314
|
+
"clampLines": number;
|
|
1315
|
+
/**
|
|
1316
|
+
* Column this cell belongs to. Identifies it for sorting, resizing and the stored layout.
|
|
1317
|
+
* @default ''
|
|
1318
|
+
*/
|
|
1319
|
+
"columnId": string;
|
|
1320
|
+
/**
|
|
1321
|
+
* Renders the cell as a column header. Set by the table from the row it sits in.
|
|
1322
|
+
* @default false
|
|
1323
|
+
*/
|
|
1324
|
+
"header": boolean;
|
|
1325
|
+
/**
|
|
1326
|
+
* Lets the column picker hide this column. A header cell only.
|
|
1327
|
+
* @default false
|
|
1328
|
+
*/
|
|
1329
|
+
"hideable": boolean;
|
|
1330
|
+
/**
|
|
1331
|
+
* How content wider than the column behaves.
|
|
1332
|
+
* @default 'ellipsis'
|
|
1333
|
+
*/
|
|
1334
|
+
"overflow": XvCellOverflow;
|
|
1335
|
+
/**
|
|
1336
|
+
* Accessible name of the drag grip.
|
|
1337
|
+
* @default 'Drag to reorder'
|
|
1338
|
+
*/
|
|
1339
|
+
"reorderLabel": string;
|
|
1340
|
+
/**
|
|
1341
|
+
* Offers the drag grip. A header cell only.
|
|
1342
|
+
* @default false
|
|
1343
|
+
*/
|
|
1344
|
+
"reorderable": boolean;
|
|
1345
|
+
/**
|
|
1346
|
+
* Offers the resize handle. A header cell only.
|
|
1347
|
+
* @default false
|
|
1348
|
+
*/
|
|
1349
|
+
"resizable": boolean;
|
|
1350
|
+
/**
|
|
1351
|
+
* Direction currently sorted by; empty when this column is not the active one.
|
|
1352
|
+
* @default ''
|
|
1353
|
+
*/
|
|
1354
|
+
"sortDirection": XV_SORT_DIR | '';
|
|
1355
|
+
/**
|
|
1356
|
+
* Offers the sort affordance. A header cell only.
|
|
1357
|
+
* @default false
|
|
1358
|
+
*/
|
|
1359
|
+
"sortable": boolean;
|
|
1360
|
+
/**
|
|
1361
|
+
* Tooltip shown on hover. Only a cell that sets it pays for the tooltip component.
|
|
1362
|
+
* @default ''
|
|
1363
|
+
*/
|
|
1364
|
+
"tooltip": string;
|
|
1365
|
+
/**
|
|
1366
|
+
* Column width. Read off the header row when the table has no `columns`. Any CSS length.
|
|
1367
|
+
* @default ''
|
|
1368
|
+
*/
|
|
1369
|
+
"width": string;
|
|
1096
1370
|
}
|
|
1097
|
-
|
|
1371
|
+
/**
|
|
1372
|
+
* One row of a table. Everything it needs is pushed down by `xv-table`, so it never reads the
|
|
1373
|
+
* table's attributes itself — the old row did that on `slotchange` only and went stale.
|
|
1374
|
+
*/
|
|
1375
|
+
interface XvTableRow {
|
|
1098
1376
|
/**
|
|
1377
|
+
* Blocks selection and expansion.
|
|
1099
1378
|
* @default false
|
|
1100
1379
|
*/
|
|
1101
1380
|
"disabled": boolean;
|
|
1102
1381
|
/**
|
|
1382
|
+
* Accessible name of the expand toggle. Set by the table.
|
|
1383
|
+
* @default 'Toggle row'
|
|
1384
|
+
*/
|
|
1385
|
+
"expandLabel": string;
|
|
1386
|
+
/**
|
|
1387
|
+
* Whether the row can be expanded. Set by the table.
|
|
1388
|
+
* @default 'none'
|
|
1389
|
+
*/
|
|
1390
|
+
"expandMode": XvTableExpandMode;
|
|
1391
|
+
/**
|
|
1392
|
+
* Whether this row has anything to expand. Set by the table.
|
|
1103
1393
|
* @default false
|
|
1104
1394
|
*/
|
|
1105
|
-
"
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
"
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
"
|
|
1116
|
-
|
|
1117
|
-
|
|
1395
|
+
"expandable": boolean;
|
|
1396
|
+
/**
|
|
1397
|
+
* Whether the row's expand panel is open.
|
|
1398
|
+
* @default false
|
|
1399
|
+
*/
|
|
1400
|
+
"expanded": boolean;
|
|
1401
|
+
/**
|
|
1402
|
+
* Renders the row as a subtotal or grouping row: no controls, accented background.
|
|
1403
|
+
* @default false
|
|
1404
|
+
*/
|
|
1405
|
+
"group": boolean;
|
|
1406
|
+
/**
|
|
1407
|
+
* Whether the row carries `slot="expand"` content. Set by the table.
|
|
1408
|
+
* @default false
|
|
1409
|
+
*/
|
|
1410
|
+
"hasPanel": boolean;
|
|
1411
|
+
/**
|
|
1412
|
+
* Marks the row as the table's header. Its cells supply the column labels.
|
|
1413
|
+
* @default false
|
|
1414
|
+
*/
|
|
1415
|
+
"header": boolean;
|
|
1416
|
+
/**
|
|
1417
|
+
* Highlights the row on pointer hover. Set by the table.
|
|
1418
|
+
* @default false
|
|
1419
|
+
*/
|
|
1420
|
+
"hover": boolean;
|
|
1421
|
+
/**
|
|
1422
|
+
* Value of the row this one belongs to. Child rows are siblings in the same grid, so they keep the table's columns instead of living in a panel of their own.
|
|
1423
|
+
* @default ''
|
|
1424
|
+
*/
|
|
1425
|
+
"parent": string;
|
|
1426
|
+
/**
|
|
1427
|
+
* Indeterminate state of the header row's select-all checkbox.
|
|
1428
|
+
* @default false
|
|
1429
|
+
*/
|
|
1430
|
+
"partial": boolean;
|
|
1431
|
+
/**
|
|
1432
|
+
* Accessible name of the drag grip. Set by the table.
|
|
1433
|
+
* @default 'Drag to reorder'
|
|
1434
|
+
*/
|
|
1435
|
+
"reorderLabel": string;
|
|
1436
|
+
/**
|
|
1437
|
+
* Whether the whole row drags, or only its grip. Set by the table.
|
|
1438
|
+
* @default 'icon'
|
|
1439
|
+
*/
|
|
1440
|
+
"rowReorderHandle": 'icon' | 'row';
|
|
1441
|
+
/**
|
|
1442
|
+
* Whether this row can be dragged into a new position. Set by the table.
|
|
1443
|
+
* @default false
|
|
1444
|
+
*/
|
|
1445
|
+
"rowReorderable": boolean;
|
|
1446
|
+
/**
|
|
1447
|
+
* Whether the row offers its selection control. A header with no rows under it has nothing to pick.
|
|
1448
|
+
* @default true
|
|
1449
|
+
*/
|
|
1450
|
+
"selectable": boolean;
|
|
1451
|
+
/**
|
|
1452
|
+
* Whether the row is selected.
|
|
1453
|
+
* @default false
|
|
1454
|
+
*/
|
|
1455
|
+
"selected": boolean;
|
|
1456
|
+
/**
|
|
1457
|
+
* Selection control rendered in the leading cell. Set by the table.
|
|
1458
|
+
* @default 'none'
|
|
1459
|
+
*/
|
|
1460
|
+
"selectionMode": XvTableSelectionMode;
|
|
1461
|
+
/**
|
|
1462
|
+
* Row height ladder. Set by the table.
|
|
1463
|
+
* @default SIZE_VAR.MD
|
|
1464
|
+
*/
|
|
1465
|
+
"size": SIZE_VAR_STR;
|
|
1466
|
+
/**
|
|
1467
|
+
* Identifies the row in selection and expansion payloads.
|
|
1468
|
+
* @default ''
|
|
1469
|
+
*/
|
|
1470
|
+
"value": string | number;
|
|
1118
1471
|
}
|
|
1119
1472
|
interface XvTabsV2 {
|
|
1120
1473
|
/**
|
|
@@ -1466,13 +1819,9 @@ export interface XvSliderV2CustomEvent<T> extends CustomEvent<T> {
|
|
|
1466
1819
|
detail: T;
|
|
1467
1820
|
target: HTMLXvSliderV2Element;
|
|
1468
1821
|
}
|
|
1469
|
-
export interface
|
|
1470
|
-
detail: T;
|
|
1471
|
-
target: HTMLXvTableV2CellElement;
|
|
1472
|
-
}
|
|
1473
|
-
export interface XvTableV2RowCustomEvent<T> extends CustomEvent<T> {
|
|
1822
|
+
export interface XvTableCustomEvent<T> extends CustomEvent<T> {
|
|
1474
1823
|
detail: T;
|
|
1475
|
-
target:
|
|
1824
|
+
target: HTMLXvTableElement;
|
|
1476
1825
|
}
|
|
1477
1826
|
export interface XvTabsV2CustomEvent<T> extends CustomEvent<T> {
|
|
1478
1827
|
detail: T;
|
|
@@ -2131,52 +2480,58 @@ declare global {
|
|
|
2131
2480
|
prototype: HTMLXvTabV2Element;
|
|
2132
2481
|
new (): HTMLXvTabV2Element;
|
|
2133
2482
|
};
|
|
2134
|
-
interface
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
"
|
|
2483
|
+
interface HTMLXvTableElementEventMap {
|
|
2484
|
+
"sortChange": XvTableSort;
|
|
2485
|
+
"selectedChange": XvTableSelectionDetail;
|
|
2486
|
+
"expandedChange": XvTableExpandedDetail;
|
|
2487
|
+
"pageChange": XvTablePage;
|
|
2488
|
+
"layoutChange": XvTableLayout;
|
|
2489
|
+
"rowClick": XvTableRowClickDetail;
|
|
2490
|
+
"rowOrderChange": XvTableRowOrder;
|
|
2142
2491
|
}
|
|
2143
|
-
|
|
2144
|
-
|
|
2492
|
+
/**
|
|
2493
|
+
* A data table built on CSS grid with `subgrid` rows, so a row keeps its own box while its cells
|
|
2494
|
+
* stay aligned to the table's columns and an expanded panel can span the full width.
|
|
2495
|
+
* `columns` always describes the structure — widths, order, sorting, resizing, hiding and the
|
|
2496
|
+
* stored layout all read from it. Rows come either from `rows` as data, or as slotted
|
|
2497
|
+
* `xv-table-row` children when the cells hold arbitrary markup.
|
|
2498
|
+
*/
|
|
2499
|
+
interface HTMLXvTableElement extends Components.XvTable, HTMLStencilElement {
|
|
2500
|
+
addEventListener<K extends keyof HTMLXvTableElementEventMap>(type: K, listener: (this: HTMLXvTableElement, ev: XvTableCustomEvent<HTMLXvTableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2145
2501
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2146
2502
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2147
2503
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2148
|
-
removeEventListener<K extends keyof
|
|
2504
|
+
removeEventListener<K extends keyof HTMLXvTableElementEventMap>(type: K, listener: (this: HTMLXvTableElement, ev: XvTableCustomEvent<HTMLXvTableElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2149
2505
|
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2150
2506
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2151
2507
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2152
2508
|
}
|
|
2153
|
-
var
|
|
2154
|
-
prototype:
|
|
2155
|
-
new ():
|
|
2509
|
+
var HTMLXvTableElement: {
|
|
2510
|
+
prototype: HTMLXvTableElement;
|
|
2511
|
+
new (): HTMLXvTableElement;
|
|
2156
2512
|
};
|
|
2157
|
-
|
|
2513
|
+
/**
|
|
2514
|
+
* One cell of a table row. It holds arbitrary markup — buttons, links, tags, nested components —
|
|
2515
|
+
* which is why the table stays composed rather than driven only by data.
|
|
2516
|
+
* In a header row it also carries the column affordances: the sort arrow, the drag grip and the
|
|
2517
|
+
* resize handle. The table renders this same component in both modes, so a header written as
|
|
2518
|
+
* markup can do everything a header built from `columns` can.
|
|
2519
|
+
*/
|
|
2520
|
+
interface HTMLXvTableCellElement extends Components.XvTableCell, HTMLStencilElement {
|
|
2158
2521
|
}
|
|
2159
|
-
var
|
|
2160
|
-
prototype:
|
|
2161
|
-
new ():
|
|
2522
|
+
var HTMLXvTableCellElement: {
|
|
2523
|
+
prototype: HTMLXvTableCellElement;
|
|
2524
|
+
new (): HTMLXvTableCellElement;
|
|
2162
2525
|
};
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
interface
|
|
2168
|
-
addEventListener<K extends keyof HTMLXvTableV2RowElementEventMap>(type: K, listener: (this: HTMLXvTableV2RowElement, ev: XvTableV2RowCustomEvent<HTMLXvTableV2RowElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2169
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2170
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2171
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2172
|
-
removeEventListener<K extends keyof HTMLXvTableV2RowElementEventMap>(type: K, listener: (this: HTMLXvTableV2RowElement, ev: XvTableV2RowCustomEvent<HTMLXvTableV2RowElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2173
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2174
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2175
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2526
|
+
/**
|
|
2527
|
+
* One row of a table. Everything it needs is pushed down by `xv-table`, so it never reads the
|
|
2528
|
+
* table's attributes itself — the old row did that on `slotchange` only and went stale.
|
|
2529
|
+
*/
|
|
2530
|
+
interface HTMLXvTableRowElement extends Components.XvTableRow, HTMLStencilElement {
|
|
2176
2531
|
}
|
|
2177
|
-
var
|
|
2178
|
-
prototype:
|
|
2179
|
-
new ():
|
|
2532
|
+
var HTMLXvTableRowElement: {
|
|
2533
|
+
prototype: HTMLXvTableRowElement;
|
|
2534
|
+
new (): HTMLXvTableRowElement;
|
|
2180
2535
|
};
|
|
2181
2536
|
interface HTMLXvTabsV2ElementEventMap {
|
|
2182
2537
|
"activeChange": number | string;
|
|
@@ -2366,10 +2721,9 @@ declare global {
|
|
|
2366
2721
|
"xv-radio-v2": HTMLXvRadioV2Element;
|
|
2367
2722
|
"xv-slider-v2": HTMLXvSliderV2Element;
|
|
2368
2723
|
"xv-tab-v2": HTMLXvTabV2Element;
|
|
2369
|
-
"xv-table
|
|
2370
|
-
"xv-table-
|
|
2371
|
-
"xv-table-
|
|
2372
|
-
"xv-table-v2-row": HTMLXvTableV2RowElement;
|
|
2724
|
+
"xv-table": HTMLXvTableElement;
|
|
2725
|
+
"xv-table-cell": HTMLXvTableCellElement;
|
|
2726
|
+
"xv-table-row": HTMLXvTableRowElement;
|
|
2373
2727
|
"xv-tabs-v2": HTMLXvTabsV2Element;
|
|
2374
2728
|
"xv-tag-combobox": HTMLXvTagComboboxElement;
|
|
2375
2729
|
"xv-tag-v2": HTMLXvTagV2Element;
|
|
@@ -2382,6 +2736,8 @@ declare global {
|
|
|
2382
2736
|
}
|
|
2383
2737
|
}
|
|
2384
2738
|
declare namespace LocalJSX {
|
|
2739
|
+
type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K]?: never };
|
|
2740
|
+
|
|
2385
2741
|
interface XvAccordionV2 {
|
|
2386
2742
|
/**
|
|
2387
2743
|
* @default false
|
|
@@ -2454,6 +2810,10 @@ declare namespace LocalJSX {
|
|
|
2454
2810
|
* @default false
|
|
2455
2811
|
*/
|
|
2456
2812
|
"disabled"?: boolean;
|
|
2813
|
+
/**
|
|
2814
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
2815
|
+
*/
|
|
2816
|
+
"form"?: string;
|
|
2457
2817
|
/**
|
|
2458
2818
|
* Button label is optional you can use just inside content
|
|
2459
2819
|
*/
|
|
@@ -2513,6 +2873,10 @@ declare namespace LocalJSX {
|
|
|
2513
2873
|
*/
|
|
2514
2874
|
"disabled"?: boolean;
|
|
2515
2875
|
"error"?: string | boolean;
|
|
2876
|
+
/**
|
|
2877
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
2878
|
+
*/
|
|
2879
|
+
"form"?: string;
|
|
2516
2880
|
/**
|
|
2517
2881
|
* Using for forms
|
|
2518
2882
|
* @default false
|
|
@@ -2752,6 +3116,10 @@ declare namespace LocalJSX {
|
|
|
2752
3116
|
"disabledDates"?: (XvDateInput | null)[] | null;
|
|
2753
3117
|
"disabledWeekdays"?: number[] | null;
|
|
2754
3118
|
"error"?: string | boolean;
|
|
3119
|
+
/**
|
|
3120
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
3121
|
+
*/
|
|
3122
|
+
"form"?: string;
|
|
2755
3123
|
"helper"?: string;
|
|
2756
3124
|
"label"?: string;
|
|
2757
3125
|
"labelEnd"?: string;
|
|
@@ -2767,6 +3135,10 @@ declare namespace LocalJSX {
|
|
|
2767
3135
|
* @default 5
|
|
2768
3136
|
*/
|
|
2769
3137
|
"minuteStep"?: number;
|
|
3138
|
+
/**
|
|
3139
|
+
* The name of the element, used when submitting an HTML form.
|
|
3140
|
+
*/
|
|
3141
|
+
"name"?: string;
|
|
2770
3142
|
/**
|
|
2771
3143
|
* @default 8
|
|
2772
3144
|
*/
|
|
@@ -2828,6 +3200,10 @@ declare namespace LocalJSX {
|
|
|
2828
3200
|
* Error status. Can be boolean or string
|
|
2829
3201
|
*/
|
|
2830
3202
|
"error"?: string | boolean;
|
|
3203
|
+
/**
|
|
3204
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
3205
|
+
*/
|
|
3206
|
+
"form"?: string;
|
|
2831
3207
|
/**
|
|
2832
3208
|
* Date language. Example 'en-US'
|
|
2833
3209
|
*/
|
|
@@ -2845,6 +3221,10 @@ declare namespace LocalJSX {
|
|
|
2845
3221
|
* Min Date. Format 'yyyy-MM-dd'
|
|
2846
3222
|
*/
|
|
2847
3223
|
"min"?: `${string}-${string}-${string}`;
|
|
3224
|
+
/**
|
|
3225
|
+
* The name of the element, used when submitting an HTML form.
|
|
3226
|
+
*/
|
|
3227
|
+
"name"?: string;
|
|
2848
3228
|
"onValueChange"?: (event: XvDatepickerCustomEvent<Date[]>) => void;
|
|
2849
3229
|
"onXvBlur"?: (event: XvDatepickerCustomEvent<Date[]>) => void;
|
|
2850
3230
|
"readonly"?: boolean;
|
|
@@ -3230,6 +3610,10 @@ declare namespace LocalJSX {
|
|
|
3230
3610
|
"block"?: boolean;
|
|
3231
3611
|
"disabled"?: boolean;
|
|
3232
3612
|
"error"?: string | boolean;
|
|
3613
|
+
/**
|
|
3614
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
3615
|
+
*/
|
|
3616
|
+
"form"?: string;
|
|
3233
3617
|
"helper"?: string;
|
|
3234
3618
|
"label"?: string;
|
|
3235
3619
|
/**
|
|
@@ -3307,7 +3691,7 @@ declare namespace LocalJSX {
|
|
|
3307
3691
|
"target"?: string;
|
|
3308
3692
|
"value"?: OverflowMenuEvent['value'];
|
|
3309
3693
|
/**
|
|
3310
|
-
* @default
|
|
3694
|
+
* @default ''
|
|
3311
3695
|
*/
|
|
3312
3696
|
"variant"?: OverflowMenuVariant;
|
|
3313
3697
|
}
|
|
@@ -3384,6 +3768,10 @@ declare namespace LocalJSX {
|
|
|
3384
3768
|
* @default false
|
|
3385
3769
|
*/
|
|
3386
3770
|
"error"?: string | boolean;
|
|
3771
|
+
/**
|
|
3772
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
3773
|
+
*/
|
|
3774
|
+
"form"?: string;
|
|
3387
3775
|
"helper"?: string;
|
|
3388
3776
|
/**
|
|
3389
3777
|
* @default false
|
|
@@ -3418,6 +3806,10 @@ declare namespace LocalJSX {
|
|
|
3418
3806
|
* @default false
|
|
3419
3807
|
*/
|
|
3420
3808
|
"disabled"?: boolean;
|
|
3809
|
+
/**
|
|
3810
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
3811
|
+
*/
|
|
3812
|
+
"form"?: string;
|
|
3421
3813
|
/**
|
|
3422
3814
|
* @default ''
|
|
3423
3815
|
*/
|
|
@@ -3461,45 +3853,407 @@ declare namespace LocalJSX {
|
|
|
3461
3853
|
"loading"?: boolean;
|
|
3462
3854
|
"name"?: number | string;
|
|
3463
3855
|
}
|
|
3464
|
-
|
|
3465
|
-
|
|
3856
|
+
/**
|
|
3857
|
+
* A data table built on CSS grid with `subgrid` rows, so a row keeps its own box while its cells
|
|
3858
|
+
* stay aligned to the table's columns and an expanded panel can span the full width.
|
|
3859
|
+
* `columns` always describes the structure — widths, order, sorting, resizing, hiding and the
|
|
3860
|
+
* stored layout all read from it. Rows come either from `rows` as data, or as slotted
|
|
3861
|
+
* `xv-table-row` children when the cells hold arbitrary markup.
|
|
3862
|
+
*/
|
|
3863
|
+
interface XvTable {
|
|
3864
|
+
/**
|
|
3865
|
+
* Stretches the table to the full width of its container.
|
|
3866
|
+
* @default false
|
|
3867
|
+
*/
|
|
3868
|
+
"block"?: boolean;
|
|
3869
|
+
/**
|
|
3870
|
+
* Column definitions. Accepts its JSON string form so it is settable from plain markup.
|
|
3871
|
+
* @default []
|
|
3872
|
+
*/
|
|
3873
|
+
"columns"?: string | XvTableColumn[];
|
|
3874
|
+
/**
|
|
3875
|
+
* Tooltip on the column picker trigger.
|
|
3876
|
+
* @default 'Columns'
|
|
3877
|
+
*/
|
|
3878
|
+
"columnsLabel"?: string;
|
|
3879
|
+
/**
|
|
3880
|
+
* Supporting text under the title.
|
|
3881
|
+
* @default ''
|
|
3882
|
+
*/
|
|
3883
|
+
"description"?: string;
|
|
3884
|
+
/**
|
|
3885
|
+
* Shown when there are no rows.
|
|
3886
|
+
* @default ''
|
|
3887
|
+
*/
|
|
3888
|
+
"emptyLabel"?: string;
|
|
3889
|
+
/**
|
|
3890
|
+
* Accessible name of a row's expand toggle.
|
|
3891
|
+
* @default 'Toggle row'
|
|
3892
|
+
*/
|
|
3893
|
+
"expandLabel"?: string;
|
|
3894
|
+
/**
|
|
3895
|
+
* Whether rows expand, and whether more than one may be open.
|
|
3896
|
+
* @default 'none'
|
|
3897
|
+
*/
|
|
3898
|
+
"expandMode"?: XvTableExpandMode;
|
|
3899
|
+
/**
|
|
3900
|
+
* Values of the expanded rows.
|
|
3901
|
+
* @default []
|
|
3902
|
+
*/
|
|
3903
|
+
"expanded"?: string | unknown[];
|
|
3904
|
+
/**
|
|
3905
|
+
* Highlights a row on pointer hover.
|
|
3906
|
+
* @default false
|
|
3907
|
+
*/
|
|
3466
3908
|
"hover"?: boolean;
|
|
3909
|
+
/**
|
|
3910
|
+
* Title above the table.
|
|
3911
|
+
* @default ''
|
|
3912
|
+
*/
|
|
3913
|
+
"label"?: string;
|
|
3914
|
+
/**
|
|
3915
|
+
* Controlled column layout. Overrides whatever is stored.
|
|
3916
|
+
* @default null
|
|
3917
|
+
*/
|
|
3918
|
+
"layout"?: string | XvTableLayout;
|
|
3919
|
+
/**
|
|
3920
|
+
* Covers the body with a loading state.
|
|
3921
|
+
* @default false
|
|
3922
|
+
*/
|
|
3467
3923
|
"loading"?: boolean;
|
|
3468
3924
|
/**
|
|
3925
|
+
* Locale used for sorting and cell formatting. Falls back to the nearest `[lang]` ancestor.
|
|
3926
|
+
* @default ''
|
|
3927
|
+
*/
|
|
3928
|
+
"locale"?: string;
|
|
3929
|
+
/**
|
|
3930
|
+
* Width below which the table scrolls instead of squeezing, at any viewport. Left unset, a table only stops squeezing below 1180px, where it scrolls at the width its columns declared.
|
|
3931
|
+
* @default 0
|
|
3932
|
+
*/
|
|
3933
|
+
"minWidth"?: number;
|
|
3934
|
+
/**
|
|
3935
|
+
* Emitted when the set of expanded rows changes.
|
|
3936
|
+
*/
|
|
3937
|
+
"onExpandedChange"?: (event: XvTableCustomEvent<XvTableExpandedDetail>) => void;
|
|
3938
|
+
/**
|
|
3939
|
+
* Emitted after a column is resized, reordered, hidden or reset.
|
|
3940
|
+
*/
|
|
3941
|
+
"onLayoutChange"?: (event: XvTableCustomEvent<XvTableLayout>) => void;
|
|
3942
|
+
/**
|
|
3943
|
+
* Emitted when the page or the page size changes.
|
|
3944
|
+
*/
|
|
3945
|
+
"onPageChange"?: (event: XvTableCustomEvent<XvTablePage>) => void;
|
|
3946
|
+
/**
|
|
3947
|
+
* Emitted when a row is clicked, while `rowClickable` is set.
|
|
3948
|
+
*/
|
|
3949
|
+
"onRowClick"?: (event: XvTableCustomEvent<XvTableRowClickDetail>) => void;
|
|
3950
|
+
/**
|
|
3951
|
+
* Emitted when a row is dropped in a new position. The table does not move the row itself — reorder the data and it re-renders, which keeps the DOM and the data from drifting apart.
|
|
3952
|
+
*/
|
|
3953
|
+
"onRowOrderChange"?: (event: XvTableCustomEvent<XvTableRowOrder>) => void;
|
|
3954
|
+
/**
|
|
3955
|
+
* Emitted when the set of selected rows changes. Named after the `selected` prop it reports: `selectionChange` is refused by Stencil as a native DOM event name.
|
|
3956
|
+
*/
|
|
3957
|
+
"onSelectedChange"?: (event: XvTableCustomEvent<XvTableSelectionDetail>) => void;
|
|
3958
|
+
/**
|
|
3959
|
+
* Emitted when a sortable header is activated.
|
|
3960
|
+
*/
|
|
3961
|
+
"onSortChange"?: (event: XvTableCustomEvent<XvTableSort>) => void;
|
|
3962
|
+
/**
|
|
3963
|
+
* Current page, 1-based.
|
|
3964
|
+
* @default 1
|
|
3965
|
+
*/
|
|
3966
|
+
"page"?: number;
|
|
3967
|
+
/**
|
|
3968
|
+
* Rows per page.
|
|
3969
|
+
* @default 10
|
|
3970
|
+
*/
|
|
3971
|
+
"pageSize"?: number;
|
|
3972
|
+
/**
|
|
3973
|
+
* Page size choices. Accepts a comma-separated attribute.
|
|
3974
|
+
* @default [10, 20, 30, 40, 50, 100]
|
|
3975
|
+
*/
|
|
3976
|
+
"pageSizeOptions"?: string | number[];
|
|
3977
|
+
/**
|
|
3978
|
+
* `client` slices the `rows` prop; `server` only emits `pageChange`.
|
|
3979
|
+
* @default 'none'
|
|
3980
|
+
*/
|
|
3981
|
+
"paginationMode"?: XvTableMode;
|
|
3982
|
+
/**
|
|
3983
|
+
* Accessible name of a row's drag grip.
|
|
3984
|
+
* @default 'Drag to reorder'
|
|
3985
|
+
*/
|
|
3986
|
+
"reorderLabel"?: string;
|
|
3987
|
+
/**
|
|
3988
|
+
* Allows dragging column headers into a new order. Off by default, like `resizable`.
|
|
3989
|
+
* @default false
|
|
3990
|
+
*/
|
|
3991
|
+
"reorderable"?: boolean;
|
|
3992
|
+
/**
|
|
3993
|
+
* Text of the button that restores the declared column layout.
|
|
3994
|
+
* @default 'Reset'
|
|
3995
|
+
*/
|
|
3996
|
+
"resetLabel"?: string;
|
|
3997
|
+
/**
|
|
3998
|
+
* Allows dragging column edges. Off by default: no handle is rendered and nothing is bound until it is switched on. A column may switch itself off, never on.
|
|
3999
|
+
* @default false
|
|
4000
|
+
*/
|
|
4001
|
+
"resizable"?: boolean;
|
|
4002
|
+
/**
|
|
4003
|
+
* Emits `rowClick` when a row is clicked outside an interactive element.
|
|
4004
|
+
* @default false
|
|
4005
|
+
*/
|
|
4006
|
+
"rowClickable"?: boolean;
|
|
4007
|
+
/**
|
|
4008
|
+
* Property of a row object that identifies it in selection and expansion payloads.
|
|
4009
|
+
* @default 'id'
|
|
4010
|
+
*/
|
|
4011
|
+
"rowKey"?: string;
|
|
4012
|
+
/**
|
|
4013
|
+
* Whether the whole row drags, or only a grip in a leading control cell.
|
|
4014
|
+
* @default 'icon'
|
|
4015
|
+
*/
|
|
4016
|
+
"rowReorderHandle"?: 'icon' | 'row';
|
|
4017
|
+
/**
|
|
4018
|
+
* Allows dragging rows into a new order. Off by default: nothing is bound and no handle is rendered until it is switched on.
|
|
4019
|
+
* @default false
|
|
4020
|
+
*/
|
|
4021
|
+
"rowReorderable"?: boolean;
|
|
4022
|
+
/**
|
|
4023
|
+
* Row data. Ignored when `xv-table-row` children are slotted.
|
|
4024
|
+
* @default []
|
|
4025
|
+
*/
|
|
4026
|
+
"rows"?: string | any[];
|
|
4027
|
+
/**
|
|
4028
|
+
* Values of the selected rows.
|
|
4029
|
+
* @default []
|
|
4030
|
+
*/
|
|
4031
|
+
"selected"?: string | unknown[];
|
|
4032
|
+
/**
|
|
4033
|
+
* Text of the batch bar counter. `{count}` is replaced with the number of selected rows.
|
|
4034
|
+
* @default ''
|
|
4035
|
+
*/
|
|
4036
|
+
"selectedLabel"?: string;
|
|
4037
|
+
/**
|
|
4038
|
+
* `multiple` renders checkboxes, `single` renders radios.
|
|
4039
|
+
* @default 'none'
|
|
4040
|
+
*/
|
|
4041
|
+
"selection"?: XvTableSelectionMode;
|
|
4042
|
+
/**
|
|
4043
|
+
* Row height ladder.
|
|
3469
4044
|
* @default SIZE_VAR.MD
|
|
3470
4045
|
*/
|
|
3471
4046
|
"size"?: SIZE_VAR_STR;
|
|
4047
|
+
/**
|
|
4048
|
+
* Placeholder rows drawn while `loading`. Zero draws a spinner instead.
|
|
4049
|
+
* @default 0
|
|
4050
|
+
*/
|
|
4051
|
+
"skeletonRows"?: number;
|
|
4052
|
+
/**
|
|
4053
|
+
* Active sort, as `asc(field)` / `desc(field)` or an object.
|
|
4054
|
+
* @default ''
|
|
4055
|
+
*/
|
|
4056
|
+
"sortBy"?: string | XvTableSort;
|
|
4057
|
+
/**
|
|
4058
|
+
* `none` makes headers inert whatever the column says; `client` sorts the `rows` prop itself; `server` offers the affordance and only emits `sortChange` for the consumer to reload.
|
|
4059
|
+
* @default 'none'
|
|
4060
|
+
*/
|
|
4061
|
+
"sortMode"?: XvTableMode;
|
|
4062
|
+
/**
|
|
4063
|
+
* Keeps the header visible while the body scrolls.
|
|
4064
|
+
* @default false
|
|
4065
|
+
*/
|
|
4066
|
+
"stickyHeader"?: boolean;
|
|
4067
|
+
/**
|
|
4068
|
+
* Persists the column layout under this key. Empty means the layout is not remembered.
|
|
4069
|
+
* @default ''
|
|
4070
|
+
*/
|
|
4071
|
+
"storageKey"?: string;
|
|
4072
|
+
/**
|
|
4073
|
+
* Scopes the stored layout to a user.
|
|
4074
|
+
* @default 'anonymous'
|
|
4075
|
+
*/
|
|
4076
|
+
"storageOwner"?: string;
|
|
4077
|
+
/**
|
|
4078
|
+
* Total row count, for `server` pagination.
|
|
4079
|
+
* @default 0
|
|
4080
|
+
*/
|
|
4081
|
+
"total"?: number;
|
|
3472
4082
|
}
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
interface
|
|
4083
|
+
/**
|
|
4084
|
+
* One cell of a table row. It holds arbitrary markup — buttons, links, tags, nested components —
|
|
4085
|
+
* which is why the table stays composed rather than driven only by data.
|
|
4086
|
+
* In a header row it also carries the column affordances: the sort arrow, the drag grip and the
|
|
4087
|
+
* resize handle. The table renders this same component in both modes, so a header written as
|
|
4088
|
+
* markup can do everything a header built from `columns` can.
|
|
4089
|
+
*/
|
|
4090
|
+
interface XvTableCell {
|
|
4091
|
+
/**
|
|
4092
|
+
* Horizontal alignment of the content.
|
|
4093
|
+
* @default 'start'
|
|
4094
|
+
*/
|
|
4095
|
+
"align"?: XvCellAlign;
|
|
4096
|
+
/**
|
|
4097
|
+
* Lines kept before clamping, when `overflow` is `clamp`.
|
|
4098
|
+
* @default 2
|
|
4099
|
+
*/
|
|
4100
|
+
"clampLines"?: number;
|
|
4101
|
+
/**
|
|
4102
|
+
* Column this cell belongs to. Identifies it for sorting, resizing and the stored layout.
|
|
4103
|
+
* @default ''
|
|
4104
|
+
*/
|
|
4105
|
+
"columnId"?: string;
|
|
3481
4106
|
/**
|
|
4107
|
+
* Renders the cell as a column header. Set by the table from the row it sits in.
|
|
3482
4108
|
* @default false
|
|
3483
4109
|
*/
|
|
3484
|
-
"
|
|
4110
|
+
"header"?: boolean;
|
|
3485
4111
|
/**
|
|
4112
|
+
* Lets the column picker hide this column. A header cell only.
|
|
3486
4113
|
* @default false
|
|
3487
4114
|
*/
|
|
3488
|
-
"
|
|
4115
|
+
"hideable"?: boolean;
|
|
4116
|
+
/**
|
|
4117
|
+
* How content wider than the column behaves.
|
|
4118
|
+
* @default 'ellipsis'
|
|
4119
|
+
*/
|
|
4120
|
+
"overflow"?: XvCellOverflow;
|
|
4121
|
+
/**
|
|
4122
|
+
* Accessible name of the drag grip.
|
|
4123
|
+
* @default 'Drag to reorder'
|
|
4124
|
+
*/
|
|
4125
|
+
"reorderLabel"?: string;
|
|
4126
|
+
/**
|
|
4127
|
+
* Offers the drag grip. A header cell only.
|
|
4128
|
+
* @default false
|
|
4129
|
+
*/
|
|
4130
|
+
"reorderable"?: boolean;
|
|
4131
|
+
/**
|
|
4132
|
+
* Offers the resize handle. A header cell only.
|
|
4133
|
+
* @default false
|
|
4134
|
+
*/
|
|
4135
|
+
"resizable"?: boolean;
|
|
4136
|
+
/**
|
|
4137
|
+
* Direction currently sorted by; empty when this column is not the active one.
|
|
4138
|
+
* @default ''
|
|
4139
|
+
*/
|
|
4140
|
+
"sortDirection"?: XV_SORT_DIR | '';
|
|
4141
|
+
/**
|
|
4142
|
+
* Offers the sort affordance. A header cell only.
|
|
4143
|
+
* @default false
|
|
4144
|
+
*/
|
|
4145
|
+
"sortable"?: boolean;
|
|
4146
|
+
/**
|
|
4147
|
+
* Tooltip shown on hover. Only a cell that sets it pays for the tooltip component.
|
|
4148
|
+
* @default ''
|
|
4149
|
+
*/
|
|
4150
|
+
"tooltip"?: string;
|
|
4151
|
+
/**
|
|
4152
|
+
* Column width. Read off the header row when the table has no `columns`. Any CSS length.
|
|
4153
|
+
* @default ''
|
|
4154
|
+
*/
|
|
4155
|
+
"width"?: string;
|
|
3489
4156
|
}
|
|
3490
|
-
|
|
3491
|
-
|
|
4157
|
+
/**
|
|
4158
|
+
* One row of a table. Everything it needs is pushed down by `xv-table`, so it never reads the
|
|
4159
|
+
* table's attributes itself — the old row did that on `slotchange` only and went stale.
|
|
4160
|
+
*/
|
|
4161
|
+
interface XvTableRow {
|
|
4162
|
+
/**
|
|
4163
|
+
* Blocks selection and expansion.
|
|
4164
|
+
* @default false
|
|
4165
|
+
*/
|
|
3492
4166
|
"disabled"?: boolean;
|
|
4167
|
+
/**
|
|
4168
|
+
* Accessible name of the expand toggle. Set by the table.
|
|
4169
|
+
* @default 'Toggle row'
|
|
4170
|
+
*/
|
|
4171
|
+
"expandLabel"?: string;
|
|
4172
|
+
/**
|
|
4173
|
+
* Whether the row can be expanded. Set by the table.
|
|
4174
|
+
* @default 'none'
|
|
4175
|
+
*/
|
|
4176
|
+
"expandMode"?: XvTableExpandMode;
|
|
4177
|
+
/**
|
|
4178
|
+
* Whether this row has anything to expand. Set by the table.
|
|
4179
|
+
* @default false
|
|
4180
|
+
*/
|
|
4181
|
+
"expandable"?: boolean;
|
|
4182
|
+
/**
|
|
4183
|
+
* Whether the row's expand panel is open.
|
|
4184
|
+
* @default false
|
|
4185
|
+
*/
|
|
4186
|
+
"expanded"?: boolean;
|
|
4187
|
+
/**
|
|
4188
|
+
* Renders the row as a subtotal or grouping row: no controls, accented background.
|
|
4189
|
+
* @default false
|
|
4190
|
+
*/
|
|
4191
|
+
"group"?: boolean;
|
|
4192
|
+
/**
|
|
4193
|
+
* Whether the row carries `slot="expand"` content. Set by the table.
|
|
4194
|
+
* @default false
|
|
4195
|
+
*/
|
|
4196
|
+
"hasPanel"?: boolean;
|
|
4197
|
+
/**
|
|
4198
|
+
* Marks the row as the table's header. Its cells supply the column labels.
|
|
4199
|
+
* @default false
|
|
4200
|
+
*/
|
|
3493
4201
|
"header"?: boolean;
|
|
4202
|
+
/**
|
|
4203
|
+
* Highlights the row on pointer hover. Set by the table.
|
|
4204
|
+
* @default false
|
|
4205
|
+
*/
|
|
3494
4206
|
"hover"?: boolean;
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
"
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
4207
|
+
/**
|
|
4208
|
+
* Value of the row this one belongs to. Child rows are siblings in the same grid, so they keep the table's columns instead of living in a panel of their own.
|
|
4209
|
+
* @default ''
|
|
4210
|
+
*/
|
|
4211
|
+
"parent"?: string;
|
|
4212
|
+
/**
|
|
4213
|
+
* Indeterminate state of the header row's select-all checkbox.
|
|
4214
|
+
* @default false
|
|
4215
|
+
*/
|
|
4216
|
+
"partial"?: boolean;
|
|
4217
|
+
/**
|
|
4218
|
+
* Accessible name of the drag grip. Set by the table.
|
|
4219
|
+
* @default 'Drag to reorder'
|
|
4220
|
+
*/
|
|
4221
|
+
"reorderLabel"?: string;
|
|
4222
|
+
/**
|
|
4223
|
+
* Whether the whole row drags, or only its grip. Set by the table.
|
|
4224
|
+
* @default 'icon'
|
|
4225
|
+
*/
|
|
4226
|
+
"rowReorderHandle"?: 'icon' | 'row';
|
|
4227
|
+
/**
|
|
4228
|
+
* Whether this row can be dragged into a new position. Set by the table.
|
|
4229
|
+
* @default false
|
|
4230
|
+
*/
|
|
4231
|
+
"rowReorderable"?: boolean;
|
|
4232
|
+
/**
|
|
4233
|
+
* Whether the row offers its selection control. A header with no rows under it has nothing to pick.
|
|
4234
|
+
* @default true
|
|
4235
|
+
*/
|
|
4236
|
+
"selectable"?: boolean;
|
|
4237
|
+
/**
|
|
4238
|
+
* Whether the row is selected.
|
|
4239
|
+
* @default false
|
|
4240
|
+
*/
|
|
4241
|
+
"selected"?: boolean;
|
|
4242
|
+
/**
|
|
4243
|
+
* Selection control rendered in the leading cell. Set by the table.
|
|
4244
|
+
* @default 'none'
|
|
4245
|
+
*/
|
|
4246
|
+
"selectionMode"?: XvTableSelectionMode;
|
|
4247
|
+
/**
|
|
4248
|
+
* Row height ladder. Set by the table.
|
|
4249
|
+
* @default SIZE_VAR.MD
|
|
4250
|
+
*/
|
|
4251
|
+
"size"?: SIZE_VAR_STR;
|
|
4252
|
+
/**
|
|
4253
|
+
* Identifies the row in selection and expansion payloads.
|
|
4254
|
+
* @default ''
|
|
4255
|
+
*/
|
|
4256
|
+
"value"?: string | number;
|
|
3503
4257
|
}
|
|
3504
4258
|
interface XvTabsV2 {
|
|
3505
4259
|
/**
|
|
@@ -3617,6 +4371,10 @@ declare namespace LocalJSX {
|
|
|
3617
4371
|
"clearable"?: boolean;
|
|
3618
4372
|
"disabled"?: boolean;
|
|
3619
4373
|
"error"?: string | boolean;
|
|
4374
|
+
/**
|
|
4375
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
4376
|
+
*/
|
|
4377
|
+
"form"?: string;
|
|
3620
4378
|
"helper"?: string;
|
|
3621
4379
|
"label"?: string;
|
|
3622
4380
|
/**
|
|
@@ -3646,6 +4404,10 @@ declare namespace LocalJSX {
|
|
|
3646
4404
|
"counterHide"?: boolean;
|
|
3647
4405
|
"disabled"?: boolean;
|
|
3648
4406
|
"error"?: string | boolean;
|
|
4407
|
+
/**
|
|
4408
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
4409
|
+
*/
|
|
4410
|
+
"form"?: string;
|
|
3649
4411
|
"helper"?: string;
|
|
3650
4412
|
"info"?: string;
|
|
3651
4413
|
"label"?: string;
|
|
@@ -3703,6 +4465,10 @@ declare namespace LocalJSX {
|
|
|
3703
4465
|
*/
|
|
3704
4466
|
"checked"?: boolean;
|
|
3705
4467
|
"disabled"?: boolean;
|
|
4468
|
+
/**
|
|
4469
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
4470
|
+
*/
|
|
4471
|
+
"form"?: string;
|
|
3706
4472
|
"label"?: string;
|
|
3707
4473
|
/**
|
|
3708
4474
|
* @default 'xv-toggle'
|
|
@@ -3747,74 +4513,580 @@ declare namespace LocalJSX {
|
|
|
3747
4513
|
*/
|
|
3748
4514
|
"position"?: Placement;
|
|
3749
4515
|
}
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
"
|
|
3753
|
-
"
|
|
3754
|
-
"
|
|
3755
|
-
"xv-button-v2": XvButtonV2;
|
|
3756
|
-
"xv-card-v2": XvCardV2;
|
|
3757
|
-
"xv-checkbox-v2": XvCheckboxV2;
|
|
3758
|
-
"xv-content-switcher-item-v2": XvContentSwitcherItemV2;
|
|
3759
|
-
"xv-content-switcher-v2": XvContentSwitcherV2;
|
|
3760
|
-
"xv-data-table": XvDataTable;
|
|
3761
|
-
"xv-data-table-cell": XvDataTableCell;
|
|
3762
|
-
"xv-data-table-collapse": XvDataTableCollapse;
|
|
3763
|
-
"xv-data-table-row": XvDataTableRow;
|
|
3764
|
-
"xv-date-picker": XvDatePicker;
|
|
3765
|
-
"xv-datepicker": XvDatepicker;
|
|
3766
|
-
"xv-dropdown-v2": XvDropdownV2;
|
|
3767
|
-
"xv-dropdown-v2-item": XvDropdownV2Item;
|
|
3768
|
-
"xv-file-uploader": XvFileUploader;
|
|
3769
|
-
"xv-footer": XvFooter;
|
|
3770
|
-
"xv-geo-map-v2": XvGeoMapV2;
|
|
3771
|
-
"xv-header": XvHeader;
|
|
3772
|
-
"xv-header-next": XvHeaderNext;
|
|
3773
|
-
"xv-image-viewer": XvImageViewer;
|
|
3774
|
-
"xv-link-v2": XvLinkV2;
|
|
3775
|
-
"xv-loader-v2": XvLoaderV2;
|
|
3776
|
-
"xv-login-modal": XvLoginModal;
|
|
3777
|
-
"xv-mega-menu": XvMegaMenu;
|
|
3778
|
-
"xv-mega-menu-next": XvMegaMenuNext;
|
|
3779
|
-
"xv-modal-v2": XvModalV2;
|
|
3780
|
-
"xv-notification-v2": XvNotificationV2;
|
|
3781
|
-
"xv-number-input-v2": XvNumberInputV2;
|
|
3782
|
-
"xv-overflow-menu-v2": XvOverflowMenuV2;
|
|
3783
|
-
"xv-overflow-menu-v2-item": XvOverflowMenuV2Item;
|
|
3784
|
-
"xv-pagination": XvPagination;
|
|
3785
|
-
"xv-progress-indicator-v2": XvProgressIndicatorV2;
|
|
3786
|
-
"xv-progress-indicator-v2-item": XvProgressIndicatorV2Item;
|
|
3787
|
-
"xv-radio-v2": XvRadioV2;
|
|
3788
|
-
"xv-slider-v2": XvSliderV2;
|
|
3789
|
-
"xv-tab-v2": XvTabV2;
|
|
3790
|
-
"xv-table-v2": XvTableV2;
|
|
3791
|
-
"xv-table-v2-cell": XvTableV2Cell;
|
|
3792
|
-
"xv-table-v2-expand": XvTableV2Expand;
|
|
3793
|
-
"xv-table-v2-row": XvTableV2Row;
|
|
3794
|
-
"xv-tabs-v2": XvTabsV2;
|
|
3795
|
-
"xv-tag-combobox": XvTagCombobox;
|
|
3796
|
-
"xv-tag-v2": XvTagV2;
|
|
3797
|
-
"xv-text-input-v2": XvTextInputV2;
|
|
3798
|
-
"xv-textarea": XvTextarea;
|
|
3799
|
-
"xv-tile": XvTile;
|
|
3800
|
-
"xv-toggle": XvToggle;
|
|
3801
|
-
"xv-toggle-tip": XvToggleTip;
|
|
3802
|
-
"xv-tooltip-v2": XvTooltipV2;
|
|
4516
|
+
|
|
4517
|
+
interface XvAccordionV2Attributes {
|
|
4518
|
+
"multiple": boolean;
|
|
4519
|
+
"xvId": string;
|
|
4520
|
+
"value": string;
|
|
3803
4521
|
}
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
4522
|
+
interface XvAccordionV2ItemAttributes {
|
|
4523
|
+
"disabled": boolean;
|
|
4524
|
+
"label": string;
|
|
4525
|
+
"value": string;
|
|
4526
|
+
}
|
|
4527
|
+
interface XvButtonGroupV2Attributes {
|
|
4528
|
+
"variant": 'horizontal' | 'vertical';
|
|
4529
|
+
"multiple": boolean;
|
|
4530
|
+
"value": string | string[];
|
|
4531
|
+
}
|
|
4532
|
+
interface XvButtonV2Attributes {
|
|
4533
|
+
"value": string;
|
|
4534
|
+
"name": string;
|
|
4535
|
+
"label": string;
|
|
4536
|
+
"variant": 'primary' | 'secondary' | 'ghost' | 'danger' | 'tertiary' | 'accent';
|
|
4537
|
+
"size": SIZE_VAR_STR;
|
|
4538
|
+
"disabled": boolean;
|
|
4539
|
+
"loading": boolean;
|
|
4540
|
+
"block": boolean;
|
|
4541
|
+
"type": 'button' | 'submit' | 'reset';
|
|
4542
|
+
"active": boolean;
|
|
4543
|
+
}
|
|
4544
|
+
interface XvCardV2Attributes {
|
|
4545
|
+
"variant": 'horizontal' | 'vertical';
|
|
4546
|
+
"media": string;
|
|
4547
|
+
"header": string;
|
|
4548
|
+
"body": string;
|
|
4549
|
+
"footer": string;
|
|
4550
|
+
}
|
|
4551
|
+
interface XvCheckboxV2Attributes {
|
|
4552
|
+
"checked": boolean;
|
|
4553
|
+
"indeterminate": boolean;
|
|
4554
|
+
"disabled": boolean;
|
|
4555
|
+
"name": string;
|
|
4556
|
+
"value": string;
|
|
4557
|
+
"readonly": boolean;
|
|
4558
|
+
"required": boolean;
|
|
4559
|
+
"partial": boolean;
|
|
4560
|
+
"label": string;
|
|
4561
|
+
"size": SIZE_VAR_STR;
|
|
4562
|
+
"error": string;
|
|
4563
|
+
"align": 'start' | 'center' | 'end';
|
|
4564
|
+
}
|
|
4565
|
+
interface XvContentSwitcherItemV2Attributes {
|
|
4566
|
+
"value": string;
|
|
4567
|
+
"label": string;
|
|
4568
|
+
"icon": string;
|
|
4569
|
+
"disabled": boolean;
|
|
4570
|
+
}
|
|
4571
|
+
interface XvContentSwitcherV2Attributes {
|
|
4572
|
+
"selected": string;
|
|
4573
|
+
"size": SIZE_VAR_STR;
|
|
4574
|
+
"iconOnly": boolean;
|
|
4575
|
+
"disabled": boolean;
|
|
4576
|
+
"block": boolean;
|
|
4577
|
+
"controlled": boolean;
|
|
4578
|
+
}
|
|
4579
|
+
interface XvDataTableAttributes {
|
|
4580
|
+
"size": SIZE_VAR_STR;
|
|
4581
|
+
"block": string;
|
|
4582
|
+
"loading": boolean;
|
|
4583
|
+
"multiple": boolean;
|
|
4584
|
+
"hover": boolean;
|
|
4585
|
+
"reorderable": boolean;
|
|
4586
|
+
"reorderHandle": 'icon' | 'row';
|
|
4587
|
+
}
|
|
4588
|
+
interface XvDataTableCellAttributes {
|
|
4589
|
+
"name": string;
|
|
4590
|
+
"sort": XV_SORT_DIR | '';
|
|
4591
|
+
"multiline": string;
|
|
4592
|
+
"width": string;
|
|
4593
|
+
"align": 'left' | 'right' | 'center';
|
|
4594
|
+
"tooltip": string;
|
|
4595
|
+
}
|
|
4596
|
+
interface XvDataTableCollapseAttributes {
|
|
4597
|
+
"collapsed": boolean;
|
|
4598
|
+
}
|
|
4599
|
+
interface XvDataTableRowAttributes {
|
|
4600
|
+
"variant": 'checkbox';
|
|
4601
|
+
"name": string;
|
|
4602
|
+
"collapse": string;
|
|
4603
|
+
"collapsable": boolean;
|
|
4604
|
+
"checked": boolean;
|
|
4605
|
+
"partial": boolean;
|
|
4606
|
+
"hover": boolean;
|
|
4607
|
+
"group": boolean;
|
|
4608
|
+
"header": boolean;
|
|
4609
|
+
"footer": boolean;
|
|
4610
|
+
"disabled": boolean;
|
|
4611
|
+
"readonly": boolean;
|
|
4612
|
+
"required": boolean;
|
|
4613
|
+
"value": string;
|
|
4614
|
+
}
|
|
4615
|
+
interface XvDatePickerAttributes {
|
|
4616
|
+
"selection": XvDateSelection;
|
|
4617
|
+
"precision": XvDatePrecision;
|
|
4618
|
+
"withTime": boolean;
|
|
4619
|
+
"minuteStep": number;
|
|
4620
|
+
"min": XvDateInput | null;
|
|
4621
|
+
"max": XvDateInput | null;
|
|
4622
|
+
"weekStartsOn": XvWeekStart;
|
|
4623
|
+
"showWeekNumbers": boolean;
|
|
4624
|
+
"locale": string;
|
|
4625
|
+
"label": string;
|
|
4626
|
+
"labelStart": string;
|
|
4627
|
+
"labelEnd": string;
|
|
4628
|
+
"placeholder": string;
|
|
4629
|
+
"helper": string;
|
|
4630
|
+
"error": string;
|
|
4631
|
+
"warning": string;
|
|
4632
|
+
"required": boolean;
|
|
4633
|
+
"readonly": boolean;
|
|
4634
|
+
"disabled": boolean;
|
|
4635
|
+
"loading": boolean;
|
|
4636
|
+
"clearable": boolean;
|
|
4637
|
+
"size": SIZE_VAR_STR;
|
|
4638
|
+
"block": boolean;
|
|
4639
|
+
"placement": 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
4640
|
+
"offset": number;
|
|
4641
|
+
}
|
|
4642
|
+
interface XvDatepickerAttributes {
|
|
4643
|
+
"variant": 'single' | 'range';
|
|
4644
|
+
"label": string;
|
|
4645
|
+
"helper": string;
|
|
4646
|
+
"error": string;
|
|
4647
|
+
"warning": string;
|
|
4648
|
+
"readonly": boolean;
|
|
4649
|
+
"disabled": boolean;
|
|
4650
|
+
"loading": boolean;
|
|
4651
|
+
"block": boolean;
|
|
4652
|
+
"size": SIZE_VAR_STR;
|
|
4653
|
+
"min": `${string}-${string}-${string}`;
|
|
4654
|
+
"max": `${string}-${string}-${string}`;
|
|
4655
|
+
}
|
|
4656
|
+
interface XvDropdownV2Attributes {
|
|
4657
|
+
"search": boolean;
|
|
4658
|
+
"disabled": boolean;
|
|
4659
|
+
"multiple": boolean;
|
|
4660
|
+
"required": boolean;
|
|
4661
|
+
"loading": boolean;
|
|
4662
|
+
"readonly": boolean;
|
|
4663
|
+
"open": boolean;
|
|
4664
|
+
"error": string;
|
|
4665
|
+
"label": string;
|
|
4666
|
+
"helper": string;
|
|
4667
|
+
"warning": string;
|
|
4668
|
+
"placeholder": string;
|
|
4669
|
+
"info": string;
|
|
4670
|
+
"searchPlaceholder": string;
|
|
4671
|
+
"size": SIZE_VAR_STR;
|
|
4672
|
+
"defaultValue": string;
|
|
4673
|
+
"value": string;
|
|
4674
|
+
"variant": 'ghost' | 'default';
|
|
4675
|
+
"position": 'auto' | 'right' | 'left';
|
|
4676
|
+
}
|
|
4677
|
+
interface XvDropdownV2ItemAttributes {
|
|
4678
|
+
"disabled": boolean;
|
|
4679
|
+
"value": string;
|
|
4680
|
+
"selected": DropdownItemData['selected'];
|
|
4681
|
+
"multiple": boolean;
|
|
4682
|
+
"size": SIZE_VAR_STR;
|
|
4683
|
+
}
|
|
4684
|
+
interface XvFileUploaderAttributes {
|
|
4685
|
+
"label": string;
|
|
4686
|
+
"description": string;
|
|
4687
|
+
"addText": string;
|
|
4688
|
+
"variant": XvFileUploaderVariants;
|
|
4689
|
+
"size": SIZE_VAR_STR;
|
|
4690
|
+
"buttonVariant": 'primary' | 'secondary' | 'ghost' | 'danger' | 'tertiary';
|
|
4691
|
+
"maxFileSizeMB": number;
|
|
4692
|
+
"maxFiles": number;
|
|
4693
|
+
"multiple": boolean;
|
|
4694
|
+
"disabled": boolean;
|
|
4695
|
+
"error": string;
|
|
4696
|
+
"warning": string;
|
|
4697
|
+
"helper": string;
|
|
4698
|
+
}
|
|
4699
|
+
interface XvGeoMapV2Attributes {
|
|
4700
|
+
"apiBase": string;
|
|
4701
|
+
"indicator": string;
|
|
4702
|
+
"indicatorLabel": string;
|
|
4703
|
+
"level": string;
|
|
4704
|
+
"resolution": 'medium' | 'high';
|
|
4705
|
+
"styleUrl": string;
|
|
4706
|
+
"language": string;
|
|
4707
|
+
"tiles": string;
|
|
4708
|
+
"attribution": string;
|
|
4709
|
+
"centerLng": number;
|
|
4710
|
+
"centerLat": number;
|
|
4711
|
+
"zoom": number;
|
|
4712
|
+
"selectZoom": number;
|
|
4713
|
+
"workerUrl": string;
|
|
4714
|
+
"lazy": boolean;
|
|
4715
|
+
"showSearch": boolean;
|
|
4716
|
+
}
|
|
4717
|
+
interface XvHeaderNextAttributes {
|
|
4718
|
+
"menuData": string;
|
|
4719
|
+
"currentLocale": string;
|
|
4720
|
+
"locales": string;
|
|
4721
|
+
}
|
|
4722
|
+
interface XvImageViewerAttributes {
|
|
4723
|
+
"src": string;
|
|
4724
|
+
"fullscreenSrc": string;
|
|
4725
|
+
"alt": string;
|
|
4726
|
+
"placeholder": string;
|
|
4727
|
+
"lazy": boolean;
|
|
4728
|
+
}
|
|
4729
|
+
interface XvLinkV2Attributes {
|
|
4730
|
+
"href": string;
|
|
4731
|
+
"target": '_self' | '_blank' | '_parent' | '_top';
|
|
4732
|
+
"disabled": boolean;
|
|
4733
|
+
"size": 'sm' | 'md' | 'lg';
|
|
4734
|
+
"variant": 'standalone' | 'inline' | 'ghost';
|
|
4735
|
+
}
|
|
4736
|
+
interface XvLoaderV2Attributes {
|
|
4737
|
+
"show": boolean;
|
|
4738
|
+
"variant": 'vertical' | 'horizontal';
|
|
4739
|
+
"size": SIZE_VAR_STR;
|
|
4740
|
+
}
|
|
4741
|
+
interface XvLoginModalAttributes {
|
|
4742
|
+
"visible": boolean;
|
|
4743
|
+
}
|
|
4744
|
+
interface XvMegaMenuAttributes {
|
|
4745
|
+
"open": boolean;
|
|
4746
|
+
}
|
|
4747
|
+
interface XvMegaMenuNextAttributes {
|
|
4748
|
+
"open": boolean;
|
|
4749
|
+
"menuData": string | MenuItem[];
|
|
4750
|
+
}
|
|
4751
|
+
interface XvModalV2Attributes {
|
|
4752
|
+
"open": boolean;
|
|
4753
|
+
"permanent": boolean;
|
|
4754
|
+
"size": SIZE_VAR_STR;
|
|
4755
|
+
"overflow": boolean;
|
|
4756
|
+
"loading": boolean;
|
|
4757
|
+
}
|
|
4758
|
+
interface XvNotificationV2Attributes {
|
|
4759
|
+
"variant": NOTIFICATION_VARIANTS_STR;
|
|
4760
|
+
"dismissible": boolean;
|
|
4761
|
+
}
|
|
4762
|
+
interface XvNumberInputV2Attributes {
|
|
4763
|
+
"label": string;
|
|
4764
|
+
"placeholder": string;
|
|
4765
|
+
"name": string;
|
|
4766
|
+
"value": number;
|
|
4767
|
+
"helper": string;
|
|
4768
|
+
"error": string;
|
|
4769
|
+
"warning": string;
|
|
4770
|
+
"step": number;
|
|
4771
|
+
"max": number;
|
|
4772
|
+
"min": number;
|
|
4773
|
+
"readonly": boolean;
|
|
4774
|
+
"disabled": boolean;
|
|
4775
|
+
"loading": boolean;
|
|
4776
|
+
"block": boolean;
|
|
4777
|
+
"size": SIZE_VAR_STR;
|
|
4778
|
+
}
|
|
4779
|
+
interface XvOverflowMenuV2Attributes {
|
|
4780
|
+
"open": boolean;
|
|
4781
|
+
"disabled": boolean;
|
|
4782
|
+
"position": 'left' | 'right' | 'center';
|
|
4783
|
+
"alignment": 'start' | 'end';
|
|
4784
|
+
"size": SIZE_VAR_STR;
|
|
4785
|
+
"tooltip": string;
|
|
4786
|
+
"anchor": string | HTMLElement;
|
|
4787
|
+
}
|
|
4788
|
+
interface XvOverflowMenuV2ItemAttributes {
|
|
4789
|
+
"disabled": boolean;
|
|
4790
|
+
"value": string;
|
|
4791
|
+
"variant": OverflowMenuVariant;
|
|
4792
|
+
"clickable": boolean;
|
|
4793
|
+
"href": string;
|
|
4794
|
+
"target": string;
|
|
4795
|
+
"divider": boolean;
|
|
4796
|
+
}
|
|
4797
|
+
interface XvPaginationAttributes {
|
|
4798
|
+
"itemsPerPage": number;
|
|
4799
|
+
"itemsPerPageOptions": number[] | string;
|
|
4800
|
+
"total": number;
|
|
4801
|
+
"page": number;
|
|
4802
|
+
"size": SIZE_VAR_STR;
|
|
4803
|
+
"block": boolean;
|
|
4804
|
+
"variant": XvPaginationVariant;
|
|
4805
|
+
"totalItems": number;
|
|
4806
|
+
}
|
|
4807
|
+
interface XvProgressIndicatorV2Attributes {
|
|
4808
|
+
"progress": number;
|
|
4809
|
+
"variant": 'horizontal' | '';
|
|
4810
|
+
"size": SIZE_VAR_STR;
|
|
4811
|
+
}
|
|
4812
|
+
interface XvProgressIndicatorV2ItemAttributes {
|
|
4813
|
+
"status": PROGRESS_ITEM_STATUS;
|
|
4814
|
+
}
|
|
4815
|
+
interface XvRadioV2Attributes {
|
|
4816
|
+
"name": string;
|
|
4817
|
+
"value": string;
|
|
4818
|
+
"label": string;
|
|
4819
|
+
"checked": boolean;
|
|
4820
|
+
"indeterminate": boolean;
|
|
4821
|
+
"block": boolean;
|
|
4822
|
+
"disabled": boolean;
|
|
4823
|
+
"required": boolean;
|
|
4824
|
+
"reverse": boolean;
|
|
4825
|
+
"readonly": boolean;
|
|
4826
|
+
"error": string;
|
|
4827
|
+
"warning": string;
|
|
4828
|
+
"helper": string;
|
|
4829
|
+
"size": SIZE_VAR_STR;
|
|
4830
|
+
}
|
|
4831
|
+
interface XvSliderV2Attributes {
|
|
4832
|
+
"label": string;
|
|
4833
|
+
"name": string;
|
|
4834
|
+
"min": number;
|
|
4835
|
+
"max": number;
|
|
4836
|
+
"value": number;
|
|
4837
|
+
"step": number;
|
|
4838
|
+
"disabled": boolean;
|
|
4839
|
+
"readonly": boolean;
|
|
4840
|
+
"notEditable": boolean;
|
|
4841
|
+
}
|
|
4842
|
+
interface XvTabV2Attributes {
|
|
4843
|
+
"label": string;
|
|
4844
|
+
"disabled": boolean;
|
|
4845
|
+
"loading": boolean;
|
|
4846
|
+
"name": string;
|
|
4847
|
+
}
|
|
4848
|
+
interface XvTableAttributes {
|
|
4849
|
+
"columns": string | XvTableColumn[];
|
|
4850
|
+
"rows": string | any[];
|
|
4851
|
+
"rowKey": string;
|
|
4852
|
+
"size": SIZE_VAR_STR;
|
|
4853
|
+
"block": boolean;
|
|
4854
|
+
"loading": boolean;
|
|
4855
|
+
"skeletonRows": number;
|
|
4856
|
+
"hover": boolean;
|
|
4857
|
+
"rowClickable": boolean;
|
|
4858
|
+
"label": string;
|
|
4859
|
+
"description": string;
|
|
4860
|
+
"emptyLabel": string;
|
|
4861
|
+
"selectedLabel": string;
|
|
4862
|
+
"columnsLabel": string;
|
|
4863
|
+
"resetLabel": string;
|
|
4864
|
+
"expandLabel": string;
|
|
4865
|
+
"reorderLabel": string;
|
|
4866
|
+
"sortMode": XvTableMode;
|
|
4867
|
+
"sortBy": string | XvTableSort;
|
|
4868
|
+
"selection": XvTableSelectionMode;
|
|
4869
|
+
"selected": string | unknown[];
|
|
4870
|
+
"expandMode": XvTableExpandMode;
|
|
4871
|
+
"expanded": string | unknown[];
|
|
4872
|
+
"paginationMode": XvTableMode;
|
|
4873
|
+
"page": number;
|
|
4874
|
+
"pageSize": number;
|
|
4875
|
+
"total": number;
|
|
4876
|
+
"pageSizeOptions": string | number[];
|
|
4877
|
+
"resizable": boolean;
|
|
4878
|
+
"reorderable": boolean;
|
|
4879
|
+
"rowReorderable": boolean;
|
|
4880
|
+
"rowReorderHandle": 'icon' | 'row';
|
|
4881
|
+
"stickyHeader": boolean;
|
|
4882
|
+
"minWidth": number;
|
|
4883
|
+
"storageKey": string;
|
|
4884
|
+
"storageOwner": string;
|
|
4885
|
+
"layout": string | XvTableLayout;
|
|
4886
|
+
"locale": string;
|
|
4887
|
+
}
|
|
4888
|
+
interface XvTableCellAttributes {
|
|
4889
|
+
"columnId": string;
|
|
4890
|
+
"align": XvCellAlign;
|
|
4891
|
+
"overflow": XvCellOverflow;
|
|
4892
|
+
"clampLines": number;
|
|
4893
|
+
"tooltip": string;
|
|
4894
|
+
"width": string;
|
|
4895
|
+
"header": boolean;
|
|
4896
|
+
"sortable": boolean;
|
|
4897
|
+
"sortDirection": XV_SORT_DIR | '';
|
|
4898
|
+
"hideable": boolean;
|
|
4899
|
+
"resizable": boolean;
|
|
4900
|
+
"reorderable": boolean;
|
|
4901
|
+
"reorderLabel": string;
|
|
4902
|
+
}
|
|
4903
|
+
interface XvTableRowAttributes {
|
|
4904
|
+
"value": string;
|
|
4905
|
+
"selectionMode": XvTableSelectionMode;
|
|
4906
|
+
"expandMode": XvTableExpandMode;
|
|
4907
|
+
"selectable": boolean;
|
|
4908
|
+
"size": SIZE_VAR_STR;
|
|
4909
|
+
"selected": boolean;
|
|
4910
|
+
"partial": boolean;
|
|
4911
|
+
"expanded": boolean;
|
|
4912
|
+
"parent": string;
|
|
4913
|
+
"expandable": boolean;
|
|
4914
|
+
"hasPanel": boolean;
|
|
4915
|
+
"group": boolean;
|
|
4916
|
+
"header": boolean;
|
|
4917
|
+
"hover": boolean;
|
|
4918
|
+
"disabled": boolean;
|
|
4919
|
+
"rowReorderable": boolean;
|
|
4920
|
+
"rowReorderHandle": 'icon' | 'row';
|
|
4921
|
+
"expandLabel": string;
|
|
4922
|
+
"reorderLabel": string;
|
|
4923
|
+
}
|
|
4924
|
+
interface XvTabsV2Attributes {
|
|
4925
|
+
"active": string;
|
|
4926
|
+
"loading": boolean;
|
|
4927
|
+
"variant": TABS_VATIANT_STR;
|
|
4928
|
+
"emptyMessage": string;
|
|
4929
|
+
"hideSingleTab": boolean;
|
|
4930
|
+
}
|
|
4931
|
+
interface XvTagComboboxAttributes {
|
|
4932
|
+
"label": string;
|
|
4933
|
+
"size": SIZE_VAR_STR;
|
|
4934
|
+
"placeholder": string;
|
|
4935
|
+
"allowCreate": boolean;
|
|
4936
|
+
"maxSuggestions": number;
|
|
4937
|
+
"disabled": boolean;
|
|
4938
|
+
"loading": boolean;
|
|
4939
|
+
"readonly": boolean;
|
|
4940
|
+
"error": string;
|
|
4941
|
+
"warning": string;
|
|
4942
|
+
"helper": string;
|
|
4943
|
+
}
|
|
4944
|
+
interface XvTagV2Attributes {
|
|
4945
|
+
"size": 'sm' | 'md' | 'lg';
|
|
4946
|
+
"color": string;
|
|
4947
|
+
"bg": string;
|
|
4948
|
+
"disabled": boolean;
|
|
4949
|
+
"closeable": boolean;
|
|
4950
|
+
}
|
|
4951
|
+
interface XvTextInputV2Attributes {
|
|
4952
|
+
"type": 'text' | 'email' | 'password' | 'url' | 'tel' | 'search';
|
|
4953
|
+
"label": string;
|
|
4954
|
+
"placeholder": string;
|
|
4955
|
+
"name": string;
|
|
4956
|
+
"value": string;
|
|
4957
|
+
"autocomplete": string;
|
|
4958
|
+
"helper": string;
|
|
4959
|
+
"error": string;
|
|
4960
|
+
"warning": string;
|
|
4961
|
+
"readonly": boolean;
|
|
4962
|
+
"disabled": boolean;
|
|
4963
|
+
"loading": boolean;
|
|
4964
|
+
"block": boolean;
|
|
4965
|
+
"clearable": boolean;
|
|
4966
|
+
"size": SIZE_VAR_STR;
|
|
4967
|
+
}
|
|
4968
|
+
interface XvTextareaAttributes {
|
|
4969
|
+
"value": string;
|
|
4970
|
+
"name": string;
|
|
4971
|
+
"label": string;
|
|
4972
|
+
"placeholder": string;
|
|
4973
|
+
"helper": string;
|
|
4974
|
+
"info": string;
|
|
4975
|
+
"error": string;
|
|
4976
|
+
"warning": string;
|
|
4977
|
+
"disabled": boolean;
|
|
4978
|
+
"readonly": boolean;
|
|
4979
|
+
"block": boolean;
|
|
4980
|
+
"counterHide": boolean;
|
|
4981
|
+
"noResize": boolean;
|
|
4982
|
+
"loading": boolean;
|
|
4983
|
+
"max": number;
|
|
4984
|
+
"rows": number;
|
|
4985
|
+
"size": SIZE_VAR_STR;
|
|
4986
|
+
}
|
|
4987
|
+
interface XvTileAttributes {
|
|
4988
|
+
"variant": 'base' | 'clickable' | 'selectable' | 'expandable';
|
|
4989
|
+
"label": string;
|
|
4990
|
+
"error": boolean;
|
|
4991
|
+
"multiple": boolean;
|
|
4992
|
+
"disabled": boolean;
|
|
4993
|
+
"block": boolean;
|
|
4994
|
+
"name": string;
|
|
4995
|
+
"message": string;
|
|
4996
|
+
"value": string;
|
|
4997
|
+
"checked": boolean;
|
|
4998
|
+
"readonly": boolean;
|
|
4999
|
+
}
|
|
5000
|
+
interface XvToggleAttributes {
|
|
5001
|
+
"label": string;
|
|
5002
|
+
"value": string;
|
|
5003
|
+
"name": string;
|
|
5004
|
+
"checked": boolean;
|
|
5005
|
+
"disabled": boolean;
|
|
5006
|
+
"readonly": boolean;
|
|
5007
|
+
"size": SIZE_VAR_STR;
|
|
5008
|
+
"block": boolean;
|
|
5009
|
+
}
|
|
5010
|
+
interface XvToggleTipAttributes {
|
|
5011
|
+
"open": boolean;
|
|
5012
|
+
"autoSize": boolean;
|
|
5013
|
+
"block": boolean;
|
|
5014
|
+
"position": Placement;
|
|
5015
|
+
}
|
|
5016
|
+
interface XvTooltipV2Attributes {
|
|
5017
|
+
"message": string;
|
|
5018
|
+
"position": Placement;
|
|
5019
|
+
"block": boolean;
|
|
5020
|
+
"dashed": boolean;
|
|
5021
|
+
}
|
|
5022
|
+
|
|
5023
|
+
interface IntrinsicElements {
|
|
5024
|
+
"xv-accordion-v2": Omit<XvAccordionV2, keyof XvAccordionV2Attributes> & { [K in keyof XvAccordionV2 & keyof XvAccordionV2Attributes]?: XvAccordionV2[K] } & { [K in keyof XvAccordionV2 & keyof XvAccordionV2Attributes as `attr:${K}`]?: XvAccordionV2Attributes[K] } & { [K in keyof XvAccordionV2 & keyof XvAccordionV2Attributes as `prop:${K}`]?: XvAccordionV2[K] };
|
|
5025
|
+
"xv-accordion-v2-item": Omit<XvAccordionV2Item, keyof XvAccordionV2ItemAttributes> & { [K in keyof XvAccordionV2Item & keyof XvAccordionV2ItemAttributes]?: XvAccordionV2Item[K] } & { [K in keyof XvAccordionV2Item & keyof XvAccordionV2ItemAttributes as `attr:${K}`]?: XvAccordionV2ItemAttributes[K] } & { [K in keyof XvAccordionV2Item & keyof XvAccordionV2ItemAttributes as `prop:${K}`]?: XvAccordionV2Item[K] };
|
|
5026
|
+
"xv-breadcrumbs-v2": XvBreadcrumbsV2;
|
|
5027
|
+
"xv-button-group-v2": Omit<XvButtonGroupV2, keyof XvButtonGroupV2Attributes> & { [K in keyof XvButtonGroupV2 & keyof XvButtonGroupV2Attributes]?: XvButtonGroupV2[K] } & { [K in keyof XvButtonGroupV2 & keyof XvButtonGroupV2Attributes as `attr:${K}`]?: XvButtonGroupV2Attributes[K] } & { [K in keyof XvButtonGroupV2 & keyof XvButtonGroupV2Attributes as `prop:${K}`]?: XvButtonGroupV2[K] };
|
|
5028
|
+
"xv-button-v2": Omit<XvButtonV2, keyof XvButtonV2Attributes> & { [K in keyof XvButtonV2 & keyof XvButtonV2Attributes]?: XvButtonV2[K] } & { [K in keyof XvButtonV2 & keyof XvButtonV2Attributes as `attr:${K}`]?: XvButtonV2Attributes[K] } & { [K in keyof XvButtonV2 & keyof XvButtonV2Attributes as `prop:${K}`]?: XvButtonV2[K] };
|
|
5029
|
+
"xv-card-v2": Omit<XvCardV2, keyof XvCardV2Attributes> & { [K in keyof XvCardV2 & keyof XvCardV2Attributes]?: XvCardV2[K] } & { [K in keyof XvCardV2 & keyof XvCardV2Attributes as `attr:${K}`]?: XvCardV2Attributes[K] } & { [K in keyof XvCardV2 & keyof XvCardV2Attributes as `prop:${K}`]?: XvCardV2[K] };
|
|
5030
|
+
"xv-checkbox-v2": Omit<XvCheckboxV2, keyof XvCheckboxV2Attributes> & { [K in keyof XvCheckboxV2 & keyof XvCheckboxV2Attributes]?: XvCheckboxV2[K] } & { [K in keyof XvCheckboxV2 & keyof XvCheckboxV2Attributes as `attr:${K}`]?: XvCheckboxV2Attributes[K] } & { [K in keyof XvCheckboxV2 & keyof XvCheckboxV2Attributes as `prop:${K}`]?: XvCheckboxV2[K] };
|
|
5031
|
+
"xv-content-switcher-item-v2": Omit<XvContentSwitcherItemV2, keyof XvContentSwitcherItemV2Attributes> & { [K in keyof XvContentSwitcherItemV2 & keyof XvContentSwitcherItemV2Attributes]?: XvContentSwitcherItemV2[K] } & { [K in keyof XvContentSwitcherItemV2 & keyof XvContentSwitcherItemV2Attributes as `attr:${K}`]?: XvContentSwitcherItemV2Attributes[K] } & { [K in keyof XvContentSwitcherItemV2 & keyof XvContentSwitcherItemV2Attributes as `prop:${K}`]?: XvContentSwitcherItemV2[K] };
|
|
5032
|
+
"xv-content-switcher-v2": Omit<XvContentSwitcherV2, keyof XvContentSwitcherV2Attributes> & { [K in keyof XvContentSwitcherV2 & keyof XvContentSwitcherV2Attributes]?: XvContentSwitcherV2[K] } & { [K in keyof XvContentSwitcherV2 & keyof XvContentSwitcherV2Attributes as `attr:${K}`]?: XvContentSwitcherV2Attributes[K] } & { [K in keyof XvContentSwitcherV2 & keyof XvContentSwitcherV2Attributes as `prop:${K}`]?: XvContentSwitcherV2[K] };
|
|
5033
|
+
"xv-data-table": Omit<XvDataTable, keyof XvDataTableAttributes> & { [K in keyof XvDataTable & keyof XvDataTableAttributes]?: XvDataTable[K] } & { [K in keyof XvDataTable & keyof XvDataTableAttributes as `attr:${K}`]?: XvDataTableAttributes[K] } & { [K in keyof XvDataTable & keyof XvDataTableAttributes as `prop:${K}`]?: XvDataTable[K] };
|
|
5034
|
+
"xv-data-table-cell": Omit<XvDataTableCell, keyof XvDataTableCellAttributes> & { [K in keyof XvDataTableCell & keyof XvDataTableCellAttributes]?: XvDataTableCell[K] } & { [K in keyof XvDataTableCell & keyof XvDataTableCellAttributes as `attr:${K}`]?: XvDataTableCellAttributes[K] } & { [K in keyof XvDataTableCell & keyof XvDataTableCellAttributes as `prop:${K}`]?: XvDataTableCell[K] };
|
|
5035
|
+
"xv-data-table-collapse": Omit<XvDataTableCollapse, keyof XvDataTableCollapseAttributes> & { [K in keyof XvDataTableCollapse & keyof XvDataTableCollapseAttributes]?: XvDataTableCollapse[K] } & { [K in keyof XvDataTableCollapse & keyof XvDataTableCollapseAttributes as `attr:${K}`]?: XvDataTableCollapseAttributes[K] } & { [K in keyof XvDataTableCollapse & keyof XvDataTableCollapseAttributes as `prop:${K}`]?: XvDataTableCollapse[K] };
|
|
5036
|
+
"xv-data-table-row": Omit<XvDataTableRow, keyof XvDataTableRowAttributes> & { [K in keyof XvDataTableRow & keyof XvDataTableRowAttributes]?: XvDataTableRow[K] } & { [K in keyof XvDataTableRow & keyof XvDataTableRowAttributes as `attr:${K}`]?: XvDataTableRowAttributes[K] } & { [K in keyof XvDataTableRow & keyof XvDataTableRowAttributes as `prop:${K}`]?: XvDataTableRow[K] };
|
|
5037
|
+
"xv-date-picker": Omit<XvDatePicker, keyof XvDatePickerAttributes> & { [K in keyof XvDatePicker & keyof XvDatePickerAttributes]?: XvDatePicker[K] } & { [K in keyof XvDatePicker & keyof XvDatePickerAttributes as `attr:${K}`]?: XvDatePickerAttributes[K] } & { [K in keyof XvDatePicker & keyof XvDatePickerAttributes as `prop:${K}`]?: XvDatePicker[K] };
|
|
5038
|
+
"xv-datepicker": Omit<XvDatepicker, keyof XvDatepickerAttributes> & { [K in keyof XvDatepicker & keyof XvDatepickerAttributes]?: XvDatepicker[K] } & { [K in keyof XvDatepicker & keyof XvDatepickerAttributes as `attr:${K}`]?: XvDatepickerAttributes[K] } & { [K in keyof XvDatepicker & keyof XvDatepickerAttributes as `prop:${K}`]?: XvDatepicker[K] };
|
|
5039
|
+
"xv-dropdown-v2": Omit<XvDropdownV2, keyof XvDropdownV2Attributes> & { [K in keyof XvDropdownV2 & keyof XvDropdownV2Attributes]?: XvDropdownV2[K] } & { [K in keyof XvDropdownV2 & keyof XvDropdownV2Attributes as `attr:${K}`]?: XvDropdownV2Attributes[K] } & { [K in keyof XvDropdownV2 & keyof XvDropdownV2Attributes as `prop:${K}`]?: XvDropdownV2[K] };
|
|
5040
|
+
"xv-dropdown-v2-item": Omit<XvDropdownV2Item, keyof XvDropdownV2ItemAttributes> & { [K in keyof XvDropdownV2Item & keyof XvDropdownV2ItemAttributes]?: XvDropdownV2Item[K] } & { [K in keyof XvDropdownV2Item & keyof XvDropdownV2ItemAttributes as `attr:${K}`]?: XvDropdownV2ItemAttributes[K] } & { [K in keyof XvDropdownV2Item & keyof XvDropdownV2ItemAttributes as `prop:${K}`]?: XvDropdownV2Item[K] };
|
|
5041
|
+
"xv-file-uploader": Omit<XvFileUploader, keyof XvFileUploaderAttributes> & { [K in keyof XvFileUploader & keyof XvFileUploaderAttributes]?: XvFileUploader[K] } & { [K in keyof XvFileUploader & keyof XvFileUploaderAttributes as `attr:${K}`]?: XvFileUploaderAttributes[K] } & { [K in keyof XvFileUploader & keyof XvFileUploaderAttributes as `prop:${K}`]?: XvFileUploader[K] };
|
|
5042
|
+
"xv-footer": XvFooter;
|
|
5043
|
+
"xv-geo-map-v2": Omit<XvGeoMapV2, keyof XvGeoMapV2Attributes> & { [K in keyof XvGeoMapV2 & keyof XvGeoMapV2Attributes]?: XvGeoMapV2[K] } & { [K in keyof XvGeoMapV2 & keyof XvGeoMapV2Attributes as `attr:${K}`]?: XvGeoMapV2Attributes[K] } & { [K in keyof XvGeoMapV2 & keyof XvGeoMapV2Attributes as `prop:${K}`]?: XvGeoMapV2[K] };
|
|
5044
|
+
"xv-header": XvHeader;
|
|
5045
|
+
"xv-header-next": Omit<XvHeaderNext, keyof XvHeaderNextAttributes> & { [K in keyof XvHeaderNext & keyof XvHeaderNextAttributes]?: XvHeaderNext[K] } & { [K in keyof XvHeaderNext & keyof XvHeaderNextAttributes as `attr:${K}`]?: XvHeaderNextAttributes[K] } & { [K in keyof XvHeaderNext & keyof XvHeaderNextAttributes as `prop:${K}`]?: XvHeaderNext[K] };
|
|
5046
|
+
"xv-image-viewer": Omit<XvImageViewer, keyof XvImageViewerAttributes> & { [K in keyof XvImageViewer & keyof XvImageViewerAttributes]?: XvImageViewer[K] } & { [K in keyof XvImageViewer & keyof XvImageViewerAttributes as `attr:${K}`]?: XvImageViewerAttributes[K] } & { [K in keyof XvImageViewer & keyof XvImageViewerAttributes as `prop:${K}`]?: XvImageViewer[K] } & OneOf<"src", XvImageViewer["src"], XvImageViewerAttributes["src"]>;
|
|
5047
|
+
"xv-link-v2": Omit<XvLinkV2, keyof XvLinkV2Attributes> & { [K in keyof XvLinkV2 & keyof XvLinkV2Attributes]?: XvLinkV2[K] } & { [K in keyof XvLinkV2 & keyof XvLinkV2Attributes as `attr:${K}`]?: XvLinkV2Attributes[K] } & { [K in keyof XvLinkV2 & keyof XvLinkV2Attributes as `prop:${K}`]?: XvLinkV2[K] };
|
|
5048
|
+
"xv-loader-v2": Omit<XvLoaderV2, keyof XvLoaderV2Attributes> & { [K in keyof XvLoaderV2 & keyof XvLoaderV2Attributes]?: XvLoaderV2[K] } & { [K in keyof XvLoaderV2 & keyof XvLoaderV2Attributes as `attr:${K}`]?: XvLoaderV2Attributes[K] } & { [K in keyof XvLoaderV2 & keyof XvLoaderV2Attributes as `prop:${K}`]?: XvLoaderV2[K] };
|
|
5049
|
+
"xv-login-modal": Omit<XvLoginModal, keyof XvLoginModalAttributes> & { [K in keyof XvLoginModal & keyof XvLoginModalAttributes]?: XvLoginModal[K] } & { [K in keyof XvLoginModal & keyof XvLoginModalAttributes as `attr:${K}`]?: XvLoginModalAttributes[K] } & { [K in keyof XvLoginModal & keyof XvLoginModalAttributes as `prop:${K}`]?: XvLoginModal[K] };
|
|
5050
|
+
"xv-mega-menu": Omit<XvMegaMenu, keyof XvMegaMenuAttributes> & { [K in keyof XvMegaMenu & keyof XvMegaMenuAttributes]?: XvMegaMenu[K] } & { [K in keyof XvMegaMenu & keyof XvMegaMenuAttributes as `attr:${K}`]?: XvMegaMenuAttributes[K] } & { [K in keyof XvMegaMenu & keyof XvMegaMenuAttributes as `prop:${K}`]?: XvMegaMenu[K] };
|
|
5051
|
+
"xv-mega-menu-next": Omit<XvMegaMenuNext, keyof XvMegaMenuNextAttributes> & { [K in keyof XvMegaMenuNext & keyof XvMegaMenuNextAttributes]?: XvMegaMenuNext[K] } & { [K in keyof XvMegaMenuNext & keyof XvMegaMenuNextAttributes as `attr:${K}`]?: XvMegaMenuNextAttributes[K] } & { [K in keyof XvMegaMenuNext & keyof XvMegaMenuNextAttributes as `prop:${K}`]?: XvMegaMenuNext[K] };
|
|
5052
|
+
"xv-modal-v2": Omit<XvModalV2, keyof XvModalV2Attributes> & { [K in keyof XvModalV2 & keyof XvModalV2Attributes]?: XvModalV2[K] } & { [K in keyof XvModalV2 & keyof XvModalV2Attributes as `attr:${K}`]?: XvModalV2Attributes[K] } & { [K in keyof XvModalV2 & keyof XvModalV2Attributes as `prop:${K}`]?: XvModalV2[K] };
|
|
5053
|
+
"xv-notification-v2": Omit<XvNotificationV2, keyof XvNotificationV2Attributes> & { [K in keyof XvNotificationV2 & keyof XvNotificationV2Attributes]?: XvNotificationV2[K] } & { [K in keyof XvNotificationV2 & keyof XvNotificationV2Attributes as `attr:${K}`]?: XvNotificationV2Attributes[K] } & { [K in keyof XvNotificationV2 & keyof XvNotificationV2Attributes as `prop:${K}`]?: XvNotificationV2[K] };
|
|
5054
|
+
"xv-number-input-v2": Omit<XvNumberInputV2, keyof XvNumberInputV2Attributes> & { [K in keyof XvNumberInputV2 & keyof XvNumberInputV2Attributes]?: XvNumberInputV2[K] } & { [K in keyof XvNumberInputV2 & keyof XvNumberInputV2Attributes as `attr:${K}`]?: XvNumberInputV2Attributes[K] } & { [K in keyof XvNumberInputV2 & keyof XvNumberInputV2Attributes as `prop:${K}`]?: XvNumberInputV2[K] };
|
|
5055
|
+
"xv-overflow-menu-v2": Omit<XvOverflowMenuV2, keyof XvOverflowMenuV2Attributes> & { [K in keyof XvOverflowMenuV2 & keyof XvOverflowMenuV2Attributes]?: XvOverflowMenuV2[K] } & { [K in keyof XvOverflowMenuV2 & keyof XvOverflowMenuV2Attributes as `attr:${K}`]?: XvOverflowMenuV2Attributes[K] } & { [K in keyof XvOverflowMenuV2 & keyof XvOverflowMenuV2Attributes as `prop:${K}`]?: XvOverflowMenuV2[K] };
|
|
5056
|
+
"xv-overflow-menu-v2-item": Omit<XvOverflowMenuV2Item, keyof XvOverflowMenuV2ItemAttributes> & { [K in keyof XvOverflowMenuV2Item & keyof XvOverflowMenuV2ItemAttributes]?: XvOverflowMenuV2Item[K] } & { [K in keyof XvOverflowMenuV2Item & keyof XvOverflowMenuV2ItemAttributes as `attr:${K}`]?: XvOverflowMenuV2ItemAttributes[K] } & { [K in keyof XvOverflowMenuV2Item & keyof XvOverflowMenuV2ItemAttributes as `prop:${K}`]?: XvOverflowMenuV2Item[K] };
|
|
5057
|
+
"xv-pagination": Omit<XvPagination, keyof XvPaginationAttributes> & { [K in keyof XvPagination & keyof XvPaginationAttributes]?: XvPagination[K] } & { [K in keyof XvPagination & keyof XvPaginationAttributes as `attr:${K}`]?: XvPaginationAttributes[K] } & { [K in keyof XvPagination & keyof XvPaginationAttributes as `prop:${K}`]?: XvPagination[K] };
|
|
5058
|
+
"xv-progress-indicator-v2": Omit<XvProgressIndicatorV2, keyof XvProgressIndicatorV2Attributes> & { [K in keyof XvProgressIndicatorV2 & keyof XvProgressIndicatorV2Attributes]?: XvProgressIndicatorV2[K] } & { [K in keyof XvProgressIndicatorV2 & keyof XvProgressIndicatorV2Attributes as `attr:${K}`]?: XvProgressIndicatorV2Attributes[K] } & { [K in keyof XvProgressIndicatorV2 & keyof XvProgressIndicatorV2Attributes as `prop:${K}`]?: XvProgressIndicatorV2[K] };
|
|
5059
|
+
"xv-progress-indicator-v2-item": Omit<XvProgressIndicatorV2Item, keyof XvProgressIndicatorV2ItemAttributes> & { [K in keyof XvProgressIndicatorV2Item & keyof XvProgressIndicatorV2ItemAttributes]?: XvProgressIndicatorV2Item[K] } & { [K in keyof XvProgressIndicatorV2Item & keyof XvProgressIndicatorV2ItemAttributes as `attr:${K}`]?: XvProgressIndicatorV2ItemAttributes[K] } & { [K in keyof XvProgressIndicatorV2Item & keyof XvProgressIndicatorV2ItemAttributes as `prop:${K}`]?: XvProgressIndicatorV2Item[K] };
|
|
5060
|
+
"xv-radio-v2": Omit<XvRadioV2, keyof XvRadioV2Attributes> & { [K in keyof XvRadioV2 & keyof XvRadioV2Attributes]?: XvRadioV2[K] } & { [K in keyof XvRadioV2 & keyof XvRadioV2Attributes as `attr:${K}`]?: XvRadioV2Attributes[K] } & { [K in keyof XvRadioV2 & keyof XvRadioV2Attributes as `prop:${K}`]?: XvRadioV2[K] };
|
|
5061
|
+
"xv-slider-v2": Omit<XvSliderV2, keyof XvSliderV2Attributes> & { [K in keyof XvSliderV2 & keyof XvSliderV2Attributes]?: XvSliderV2[K] } & { [K in keyof XvSliderV2 & keyof XvSliderV2Attributes as `attr:${K}`]?: XvSliderV2Attributes[K] } & { [K in keyof XvSliderV2 & keyof XvSliderV2Attributes as `prop:${K}`]?: XvSliderV2[K] };
|
|
5062
|
+
"xv-tab-v2": Omit<XvTabV2, keyof XvTabV2Attributes> & { [K in keyof XvTabV2 & keyof XvTabV2Attributes]?: XvTabV2[K] } & { [K in keyof XvTabV2 & keyof XvTabV2Attributes as `attr:${K}`]?: XvTabV2Attributes[K] } & { [K in keyof XvTabV2 & keyof XvTabV2Attributes as `prop:${K}`]?: XvTabV2[K] };
|
|
5063
|
+
"xv-table": Omit<XvTable, keyof XvTableAttributes> & { [K in keyof XvTable & keyof XvTableAttributes]?: XvTable[K] } & { [K in keyof XvTable & keyof XvTableAttributes as `attr:${K}`]?: XvTableAttributes[K] } & { [K in keyof XvTable & keyof XvTableAttributes as `prop:${K}`]?: XvTable[K] };
|
|
5064
|
+
"xv-table-cell": Omit<XvTableCell, keyof XvTableCellAttributes> & { [K in keyof XvTableCell & keyof XvTableCellAttributes]?: XvTableCell[K] } & { [K in keyof XvTableCell & keyof XvTableCellAttributes as `attr:${K}`]?: XvTableCellAttributes[K] } & { [K in keyof XvTableCell & keyof XvTableCellAttributes as `prop:${K}`]?: XvTableCell[K] };
|
|
5065
|
+
"xv-table-row": Omit<XvTableRow, keyof XvTableRowAttributes> & { [K in keyof XvTableRow & keyof XvTableRowAttributes]?: XvTableRow[K] } & { [K in keyof XvTableRow & keyof XvTableRowAttributes as `attr:${K}`]?: XvTableRowAttributes[K] } & { [K in keyof XvTableRow & keyof XvTableRowAttributes as `prop:${K}`]?: XvTableRow[K] };
|
|
5066
|
+
"xv-tabs-v2": Omit<XvTabsV2, keyof XvTabsV2Attributes> & { [K in keyof XvTabsV2 & keyof XvTabsV2Attributes]?: XvTabsV2[K] } & { [K in keyof XvTabsV2 & keyof XvTabsV2Attributes as `attr:${K}`]?: XvTabsV2Attributes[K] } & { [K in keyof XvTabsV2 & keyof XvTabsV2Attributes as `prop:${K}`]?: XvTabsV2[K] };
|
|
5067
|
+
"xv-tag-combobox": Omit<XvTagCombobox, keyof XvTagComboboxAttributes> & { [K in keyof XvTagCombobox & keyof XvTagComboboxAttributes]?: XvTagCombobox[K] } & { [K in keyof XvTagCombobox & keyof XvTagComboboxAttributes as `attr:${K}`]?: XvTagComboboxAttributes[K] } & { [K in keyof XvTagCombobox & keyof XvTagComboboxAttributes as `prop:${K}`]?: XvTagCombobox[K] };
|
|
5068
|
+
"xv-tag-v2": Omit<XvTagV2, keyof XvTagV2Attributes> & { [K in keyof XvTagV2 & keyof XvTagV2Attributes]?: XvTagV2[K] } & { [K in keyof XvTagV2 & keyof XvTagV2Attributes as `attr:${K}`]?: XvTagV2Attributes[K] } & { [K in keyof XvTagV2 & keyof XvTagV2Attributes as `prop:${K}`]?: XvTagV2[K] };
|
|
5069
|
+
"xv-text-input-v2": Omit<XvTextInputV2, keyof XvTextInputV2Attributes> & { [K in keyof XvTextInputV2 & keyof XvTextInputV2Attributes]?: XvTextInputV2[K] } & { [K in keyof XvTextInputV2 & keyof XvTextInputV2Attributes as `attr:${K}`]?: XvTextInputV2Attributes[K] } & { [K in keyof XvTextInputV2 & keyof XvTextInputV2Attributes as `prop:${K}`]?: XvTextInputV2[K] };
|
|
5070
|
+
"xv-textarea": Omit<XvTextarea, keyof XvTextareaAttributes> & { [K in keyof XvTextarea & keyof XvTextareaAttributes]?: XvTextarea[K] } & { [K in keyof XvTextarea & keyof XvTextareaAttributes as `attr:${K}`]?: XvTextareaAttributes[K] } & { [K in keyof XvTextarea & keyof XvTextareaAttributes as `prop:${K}`]?: XvTextarea[K] };
|
|
5071
|
+
"xv-tile": Omit<XvTile, keyof XvTileAttributes> & { [K in keyof XvTile & keyof XvTileAttributes]?: XvTile[K] } & { [K in keyof XvTile & keyof XvTileAttributes as `attr:${K}`]?: XvTileAttributes[K] } & { [K in keyof XvTile & keyof XvTileAttributes as `prop:${K}`]?: XvTile[K] };
|
|
5072
|
+
"xv-toggle": Omit<XvToggle, keyof XvToggleAttributes> & { [K in keyof XvToggle & keyof XvToggleAttributes]?: XvToggle[K] } & { [K in keyof XvToggle & keyof XvToggleAttributes as `attr:${K}`]?: XvToggleAttributes[K] } & { [K in keyof XvToggle & keyof XvToggleAttributes as `prop:${K}`]?: XvToggle[K] };
|
|
5073
|
+
"xv-toggle-tip": Omit<XvToggleTip, keyof XvToggleTipAttributes> & { [K in keyof XvToggleTip & keyof XvToggleTipAttributes]?: XvToggleTip[K] } & { [K in keyof XvToggleTip & keyof XvToggleTipAttributes as `attr:${K}`]?: XvToggleTipAttributes[K] } & { [K in keyof XvToggleTip & keyof XvToggleTipAttributes as `prop:${K}`]?: XvToggleTip[K] };
|
|
5074
|
+
"xv-tooltip-v2": Omit<XvTooltipV2, keyof XvTooltipV2Attributes> & { [K in keyof XvTooltipV2 & keyof XvTooltipV2Attributes]?: XvTooltipV2[K] } & { [K in keyof XvTooltipV2 & keyof XvTooltipV2Attributes as `attr:${K}`]?: XvTooltipV2Attributes[K] } & { [K in keyof XvTooltipV2 & keyof XvTooltipV2Attributes as `prop:${K}`]?: XvTooltipV2[K] };
|
|
5075
|
+
}
|
|
5076
|
+
}
|
|
5077
|
+
export { LocalJSX as JSX };
|
|
5078
|
+
declare module "@stencil/core" {
|
|
5079
|
+
export namespace JSX {
|
|
5080
|
+
interface IntrinsicElements {
|
|
5081
|
+
"xv-accordion-v2": LocalJSX.IntrinsicElements["xv-accordion-v2"] & JSXBase.HTMLAttributes<HTMLXvAccordionV2Element>;
|
|
5082
|
+
"xv-accordion-v2-item": LocalJSX.IntrinsicElements["xv-accordion-v2-item"] & JSXBase.HTMLAttributes<HTMLXvAccordionV2ItemElement>;
|
|
5083
|
+
"xv-breadcrumbs-v2": LocalJSX.IntrinsicElements["xv-breadcrumbs-v2"] & JSXBase.HTMLAttributes<HTMLXvBreadcrumbsV2Element>;
|
|
5084
|
+
/**
|
|
5085
|
+
* xv-button-group-v2
|
|
5086
|
+
* Groups a set of `xv-button-v2` buttons into a single horizontal or vertical
|
|
5087
|
+
* unit. Use `secondary` or `tertiary` buttons inside it.
|
|
5088
|
+
* The group owns only three things: the layout direction, the rounded corners
|
|
5089
|
+
* (applied to the outer edges of the group via each button's
|
|
3818
5090
|
* `--xv-button-border-radius` variable) and the **active** selection. Everything
|
|
3819
5091
|
* else — `variant`, `size`, `disabled`, icons, labels — stays on each child
|
|
3820
5092
|
* `xv-button-v2`.
|
|
@@ -3822,10 +5094,10 @@ declare module "@stencil/core" {
|
|
|
3822
5094
|
* no-op). Set `multiple` to let each button toggle independently. The active
|
|
3823
5095
|
* button shows the existing `--button-{type}-active` colour.
|
|
3824
5096
|
*/
|
|
3825
|
-
"xv-button-group-v2": LocalJSX.
|
|
3826
|
-
"xv-button-v2": LocalJSX.
|
|
3827
|
-
"xv-card-v2": LocalJSX.
|
|
3828
|
-
"xv-checkbox-v2": LocalJSX.
|
|
5097
|
+
"xv-button-group-v2": LocalJSX.IntrinsicElements["xv-button-group-v2"] & JSXBase.HTMLAttributes<HTMLXvButtonGroupV2Element>;
|
|
5098
|
+
"xv-button-v2": LocalJSX.IntrinsicElements["xv-button-v2"] & JSXBase.HTMLAttributes<HTMLXvButtonV2Element>;
|
|
5099
|
+
"xv-card-v2": LocalJSX.IntrinsicElements["xv-card-v2"] & JSXBase.HTMLAttributes<HTMLXvCardV2Element>;
|
|
5100
|
+
"xv-checkbox-v2": LocalJSX.IntrinsicElements["xv-checkbox-v2"] & JSXBase.HTMLAttributes<HTMLXvCheckboxV2Element>;
|
|
3829
5101
|
/**
|
|
3830
5102
|
* xv-content-switcher-item-v2
|
|
3831
5103
|
* A single segment of an `xv-content-switcher-v2`. The parent reads `label`,
|
|
@@ -3835,7 +5107,7 @@ declare module "@stencil/core" {
|
|
|
3835
5107
|
* unmounted, so framework lifecycle hooks still run for non-selected items. See the
|
|
3836
5108
|
* `xv-content-switcher-v2` docs for when to render panels conditionally instead.
|
|
3837
5109
|
*/
|
|
3838
|
-
"xv-content-switcher-item-v2": LocalJSX.
|
|
5110
|
+
"xv-content-switcher-item-v2": LocalJSX.IntrinsicElements["xv-content-switcher-item-v2"] & JSXBase.HTMLAttributes<HTMLXvContentSwitcherItemV2Element>;
|
|
3839
5111
|
/**
|
|
3840
5112
|
* xv-content-switcher-v2
|
|
3841
5113
|
* Carbon-style content switcher: a single-select segmented control that toggles
|
|
@@ -3853,23 +5125,23 @@ declare module "@stencil/core" {
|
|
|
3853
5125
|
* render the active panel yourself via a framework conditional (e.g. Angular `@if`
|
|
3854
5126
|
* on `selectedChange`), so only the selected panel is ever instantiated.
|
|
3855
5127
|
*/
|
|
3856
|
-
"xv-content-switcher-v2": LocalJSX.
|
|
3857
|
-
"xv-data-table": LocalJSX.
|
|
3858
|
-
"xv-data-table-cell": LocalJSX.
|
|
3859
|
-
"xv-data-table-collapse": LocalJSX.
|
|
3860
|
-
"xv-data-table-row": LocalJSX.
|
|
3861
|
-
"xv-date-picker": LocalJSX.
|
|
3862
|
-
"xv-datepicker": LocalJSX.
|
|
3863
|
-
"xv-dropdown-v2": LocalJSX.
|
|
5128
|
+
"xv-content-switcher-v2": LocalJSX.IntrinsicElements["xv-content-switcher-v2"] & JSXBase.HTMLAttributes<HTMLXvContentSwitcherV2Element>;
|
|
5129
|
+
"xv-data-table": LocalJSX.IntrinsicElements["xv-data-table"] & JSXBase.HTMLAttributes<HTMLXvDataTableElement>;
|
|
5130
|
+
"xv-data-table-cell": LocalJSX.IntrinsicElements["xv-data-table-cell"] & JSXBase.HTMLAttributes<HTMLXvDataTableCellElement>;
|
|
5131
|
+
"xv-data-table-collapse": LocalJSX.IntrinsicElements["xv-data-table-collapse"] & JSXBase.HTMLAttributes<HTMLXvDataTableCollapseElement>;
|
|
5132
|
+
"xv-data-table-row": LocalJSX.IntrinsicElements["xv-data-table-row"] & JSXBase.HTMLAttributes<HTMLXvDataTableRowElement>;
|
|
5133
|
+
"xv-date-picker": LocalJSX.IntrinsicElements["xv-date-picker"] & JSXBase.HTMLAttributes<HTMLXvDatePickerElement>;
|
|
5134
|
+
"xv-datepicker": LocalJSX.IntrinsicElements["xv-datepicker"] & JSXBase.HTMLAttributes<HTMLXvDatepickerElement>;
|
|
5135
|
+
"xv-dropdown-v2": LocalJSX.IntrinsicElements["xv-dropdown-v2"] & JSXBase.HTMLAttributes<HTMLXvDropdownV2Element>;
|
|
3864
5136
|
/**
|
|
3865
5137
|
* xv-dropdown-item — custom dropdown list item
|
|
3866
5138
|
* if you want to create new dropdown list item you need to extend current class properties and
|
|
3867
5139
|
* events
|
|
3868
5140
|
* should be created and emitted 'itemSelected' event
|
|
3869
5141
|
*/
|
|
3870
|
-
"xv-dropdown-v2-item": LocalJSX.
|
|
3871
|
-
"xv-file-uploader": LocalJSX.
|
|
3872
|
-
"xv-footer": LocalJSX.
|
|
5142
|
+
"xv-dropdown-v2-item": LocalJSX.IntrinsicElements["xv-dropdown-v2-item"] & JSXBase.HTMLAttributes<HTMLXvDropdownV2ItemElement>;
|
|
5143
|
+
"xv-file-uploader": LocalJSX.IntrinsicElements["xv-file-uploader"] & JSXBase.HTMLAttributes<HTMLXvFileUploaderElement>;
|
|
5144
|
+
"xv-footer": LocalJSX.IntrinsicElements["xv-footer"] & JSXBase.HTMLAttributes<HTMLXvFooterElement>;
|
|
3873
5145
|
/**
|
|
3874
5146
|
* Minimal ATV planner map: MapLibre + PLZ boundaries from the XvGeoTool API.
|
|
3875
5147
|
* Click a PLZ to (de)select it. No further UI — selection state and reach
|
|
@@ -3877,8 +5149,8 @@ declare module "@stencil/core" {
|
|
|
3877
5149
|
* MapLibre (~250 KB gzip) is loaded lazily when the component scrolls near
|
|
3878
5150
|
* the viewport, so the host page's initial load stays untouched.
|
|
3879
5151
|
*/
|
|
3880
|
-
"xv-geo-map-v2": LocalJSX.
|
|
3881
|
-
"xv-header": LocalJSX.
|
|
5152
|
+
"xv-geo-map-v2": LocalJSX.IntrinsicElements["xv-geo-map-v2"] & JSXBase.HTMLAttributes<HTMLXvGeoMapV2Element>;
|
|
5153
|
+
"xv-header": LocalJSX.IntrinsicElements["xv-header"] & JSXBase.HTMLAttributes<HTMLXvHeaderElement>;
|
|
3882
5154
|
/**
|
|
3883
5155
|
* Drop-in successor of `xv-header` for the new headless CMS.
|
|
3884
5156
|
* Identical to the original except:
|
|
@@ -3890,12 +5162,12 @@ declare module "@stencil/core" {
|
|
|
3890
5162
|
* The metaNav / login flow (`/getpersonalareajson`) stays untouched — it is
|
|
3891
5163
|
* still loaded dynamically per session.
|
|
3892
5164
|
*/
|
|
3893
|
-
"xv-header-next": LocalJSX.
|
|
3894
|
-
"xv-image-viewer": LocalJSX.
|
|
3895
|
-
"xv-link-v2": LocalJSX.
|
|
3896
|
-
"xv-loader-v2": LocalJSX.
|
|
3897
|
-
"xv-login-modal": LocalJSX.
|
|
3898
|
-
"xv-mega-menu": LocalJSX.
|
|
5165
|
+
"xv-header-next": LocalJSX.IntrinsicElements["xv-header-next"] & JSXBase.HTMLAttributes<HTMLXvHeaderNextElement>;
|
|
5166
|
+
"xv-image-viewer": LocalJSX.IntrinsicElements["xv-image-viewer"] & JSXBase.HTMLAttributes<HTMLXvImageViewerElement>;
|
|
5167
|
+
"xv-link-v2": LocalJSX.IntrinsicElements["xv-link-v2"] & JSXBase.HTMLAttributes<HTMLXvLinkV2Element>;
|
|
5168
|
+
"xv-loader-v2": LocalJSX.IntrinsicElements["xv-loader-v2"] & JSXBase.HTMLAttributes<HTMLXvLoaderV2Element>;
|
|
5169
|
+
"xv-login-modal": LocalJSX.IntrinsicElements["xv-login-modal"] & JSXBase.HTMLAttributes<HTMLXvLoginModalElement>;
|
|
5170
|
+
"xv-mega-menu": LocalJSX.IntrinsicElements["xv-mega-menu"] & JSXBase.HTMLAttributes<HTMLXvMegaMenuElement>;
|
|
3899
5171
|
/**
|
|
3900
5172
|
* Drop-in successor of `xv-mega-menu` for the new headless CMS.
|
|
3901
5173
|
* Difference from the original: when the consumer passes a `menu-data`
|
|
@@ -3905,36 +5177,53 @@ declare module "@stencil/core" {
|
|
|
3905
5177
|
* If `menu-data` is not provided, it falls back to the original
|
|
3906
5178
|
* `/api-fd/v1/home/menu` fetch so it remains a drop-in replacement.
|
|
3907
5179
|
*/
|
|
3908
|
-
"xv-mega-menu-next": LocalJSX.
|
|
3909
|
-
"xv-modal-v2": LocalJSX.
|
|
3910
|
-
"xv-notification-v2": LocalJSX.
|
|
3911
|
-
"xv-number-input-v2": LocalJSX.
|
|
3912
|
-
"xv-overflow-menu-v2": LocalJSX.
|
|
3913
|
-
"xv-overflow-menu-v2-item": LocalJSX.
|
|
3914
|
-
"xv-pagination": LocalJSX.
|
|
3915
|
-
"xv-progress-indicator-v2": LocalJSX.
|
|
3916
|
-
"xv-progress-indicator-v2-item": LocalJSX.
|
|
3917
|
-
"xv-radio-v2": LocalJSX.
|
|
3918
|
-
"xv-slider-v2": LocalJSX.
|
|
3919
|
-
"xv-tab-v2": LocalJSX.
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
5180
|
+
"xv-mega-menu-next": LocalJSX.IntrinsicElements["xv-mega-menu-next"] & JSXBase.HTMLAttributes<HTMLXvMegaMenuNextElement>;
|
|
5181
|
+
"xv-modal-v2": LocalJSX.IntrinsicElements["xv-modal-v2"] & JSXBase.HTMLAttributes<HTMLXvModalV2Element>;
|
|
5182
|
+
"xv-notification-v2": LocalJSX.IntrinsicElements["xv-notification-v2"] & JSXBase.HTMLAttributes<HTMLXvNotificationV2Element>;
|
|
5183
|
+
"xv-number-input-v2": LocalJSX.IntrinsicElements["xv-number-input-v2"] & JSXBase.HTMLAttributes<HTMLXvNumberInputV2Element>;
|
|
5184
|
+
"xv-overflow-menu-v2": LocalJSX.IntrinsicElements["xv-overflow-menu-v2"] & JSXBase.HTMLAttributes<HTMLXvOverflowMenuV2Element>;
|
|
5185
|
+
"xv-overflow-menu-v2-item": LocalJSX.IntrinsicElements["xv-overflow-menu-v2-item"] & JSXBase.HTMLAttributes<HTMLXvOverflowMenuV2ItemElement>;
|
|
5186
|
+
"xv-pagination": LocalJSX.IntrinsicElements["xv-pagination"] & JSXBase.HTMLAttributes<HTMLXvPaginationElement>;
|
|
5187
|
+
"xv-progress-indicator-v2": LocalJSX.IntrinsicElements["xv-progress-indicator-v2"] & JSXBase.HTMLAttributes<HTMLXvProgressIndicatorV2Element>;
|
|
5188
|
+
"xv-progress-indicator-v2-item": LocalJSX.IntrinsicElements["xv-progress-indicator-v2-item"] & JSXBase.HTMLAttributes<HTMLXvProgressIndicatorV2ItemElement>;
|
|
5189
|
+
"xv-radio-v2": LocalJSX.IntrinsicElements["xv-radio-v2"] & JSXBase.HTMLAttributes<HTMLXvRadioV2Element>;
|
|
5190
|
+
"xv-slider-v2": LocalJSX.IntrinsicElements["xv-slider-v2"] & JSXBase.HTMLAttributes<HTMLXvSliderV2Element>;
|
|
5191
|
+
"xv-tab-v2": LocalJSX.IntrinsicElements["xv-tab-v2"] & JSXBase.HTMLAttributes<HTMLXvTabV2Element>;
|
|
5192
|
+
/**
|
|
5193
|
+
* A data table built on CSS grid with `subgrid` rows, so a row keeps its own box while its cells
|
|
5194
|
+
* stay aligned to the table's columns and an expanded panel can span the full width.
|
|
5195
|
+
* `columns` always describes the structure — widths, order, sorting, resizing, hiding and the
|
|
5196
|
+
* stored layout all read from it. Rows come either from `rows` as data, or as slotted
|
|
5197
|
+
* `xv-table-row` children when the cells hold arbitrary markup.
|
|
5198
|
+
*/
|
|
5199
|
+
"xv-table": LocalJSX.IntrinsicElements["xv-table"] & JSXBase.HTMLAttributes<HTMLXvTableElement>;
|
|
5200
|
+
/**
|
|
5201
|
+
* One cell of a table row. It holds arbitrary markup — buttons, links, tags, nested components —
|
|
5202
|
+
* which is why the table stays composed rather than driven only by data.
|
|
5203
|
+
* In a header row it also carries the column affordances: the sort arrow, the drag grip and the
|
|
5204
|
+
* resize handle. The table renders this same component in both modes, so a header written as
|
|
5205
|
+
* markup can do everything a header built from `columns` can.
|
|
5206
|
+
*/
|
|
5207
|
+
"xv-table-cell": LocalJSX.IntrinsicElements["xv-table-cell"] & JSXBase.HTMLAttributes<HTMLXvTableCellElement>;
|
|
5208
|
+
/**
|
|
5209
|
+
* One row of a table. Everything it needs is pushed down by `xv-table`, so it never reads the
|
|
5210
|
+
* table's attributes itself — the old row did that on `slotchange` only and went stale.
|
|
5211
|
+
*/
|
|
5212
|
+
"xv-table-row": LocalJSX.IntrinsicElements["xv-table-row"] & JSXBase.HTMLAttributes<HTMLXvTableRowElement>;
|
|
5213
|
+
"xv-tabs-v2": LocalJSX.IntrinsicElements["xv-tabs-v2"] & JSXBase.HTMLAttributes<HTMLXvTabsV2Element>;
|
|
5214
|
+
"xv-tag-combobox": LocalJSX.IntrinsicElements["xv-tag-combobox"] & JSXBase.HTMLAttributes<HTMLXvTagComboboxElement>;
|
|
5215
|
+
"xv-tag-v2": LocalJSX.IntrinsicElements["xv-tag-v2"] & JSXBase.HTMLAttributes<HTMLXvTagV2Element>;
|
|
3927
5216
|
/**
|
|
3928
5217
|
* xv-text-input — custom input
|
|
3929
5218
|
* ti get data you can use default Input event
|
|
3930
5219
|
* Angular - (input), React - (onInput), Pure - addEventListener('input', e => ...)
|
|
3931
5220
|
*/
|
|
3932
|
-
"xv-text-input-v2": LocalJSX.
|
|
3933
|
-
"xv-textarea": LocalJSX.
|
|
3934
|
-
"xv-tile": LocalJSX.
|
|
3935
|
-
"xv-toggle": LocalJSX.
|
|
3936
|
-
"xv-toggle-tip": LocalJSX.
|
|
3937
|
-
"xv-tooltip-v2": LocalJSX.
|
|
5221
|
+
"xv-text-input-v2": LocalJSX.IntrinsicElements["xv-text-input-v2"] & JSXBase.HTMLAttributes<HTMLXvTextInputV2Element>;
|
|
5222
|
+
"xv-textarea": LocalJSX.IntrinsicElements["xv-textarea"] & JSXBase.HTMLAttributes<HTMLXvTextareaElement>;
|
|
5223
|
+
"xv-tile": LocalJSX.IntrinsicElements["xv-tile"] & JSXBase.HTMLAttributes<HTMLXvTileElement>;
|
|
5224
|
+
"xv-toggle": LocalJSX.IntrinsicElements["xv-toggle"] & JSXBase.HTMLAttributes<HTMLXvToggleElement>;
|
|
5225
|
+
"xv-toggle-tip": LocalJSX.IntrinsicElements["xv-toggle-tip"] & JSXBase.HTMLAttributes<HTMLXvToggleTipElement>;
|
|
5226
|
+
"xv-tooltip-v2": LocalJSX.IntrinsicElements["xv-tooltip-v2"] & JSXBase.HTMLAttributes<HTMLXvTooltipV2Element>;
|
|
3938
5227
|
}
|
|
3939
5228
|
}
|
|
3940
5229
|
}
|