@ds-mo/ui 14.20.0 → 14.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.package-ready.json +1 -1
- package/dist/agent-patterns.json +8 -4
- package/dist/agent.json +447 -44
- package/dist/angular/ds-bar-title.d.ts +1 -1
- package/dist/angular/ds-bar-title.js +3 -3
- package/dist/angular/ds-chip.d.ts +1 -1
- package/dist/angular/ds-chip.js +3 -3
- package/dist/angular/ds-filter-menu.d.ts +7 -1
- package/dist/angular/ds-filter-menu.js +7 -4
- package/dist/angular/ds-input.d.ts +1 -1
- package/dist/angular/ds-input.js +3 -3
- package/dist/angular/ds-panel-nav.d.ts +7 -1
- package/dist/angular/ds-panel-nav.js +7 -4
- package/dist/angular/ds-shell-app.d.ts +7 -1
- package/dist/angular/ds-shell-app.js +7 -4
- package/dist/angular/ds-shell-page.d.ts +1 -1
- package/dist/angular/ds-shell-page.js +3 -3
- package/dist/angular/ds-tab-group.d.ts +1 -1
- package/dist/angular/ds-tab-group.js +3 -3
- package/dist/angular/ds-table-filter.d.ts +7 -1
- package/dist/angular/ds-table-filter.js +7 -4
- package/dist/angular/ds-table-group.d.ts +29 -0
- package/dist/angular/ds-table-group.js +48 -0
- package/dist/angular/ds-table-search.d.ts +20 -0
- package/dist/angular/ds-table-search.js +49 -0
- package/dist/angular/ds-table.d.ts +1 -1
- package/dist/angular/ds-table.js +3 -3
- package/dist/angular/index.d.ts +1 -1
- package/dist/angular/index.js +2 -0
- package/dist/angular/proxies.d.ts +2 -0
- package/dist/angular/proxies.js +2 -0
- package/dist/components/ds-agent-activity.js +1 -1
- package/dist/components/ds-agent-questionnaire.js +1 -1
- package/dist/components/ds-agent-response.js +1 -1
- package/dist/components/ds-agent-source-list.js +1 -1
- package/dist/components/ds-agent-tool-call.js +1 -1
- package/dist/components/ds-attachment-list.js +1 -1
- package/dist/components/ds-badge.js +1 -1
- package/dist/components/ds-banner.js +1 -1
- package/dist/components/ds-bar-action.js +1 -1
- package/dist/components/ds-bar-nav.js +1 -1
- package/dist/components/ds-bar-title.js +1 -1
- package/dist/components/ds-bar-workflow.js +1 -1
- package/dist/components/ds-breadcrumb.js +1 -1
- package/dist/components/ds-button-filled.js +1 -1
- package/dist/components/ds-button-unfilled.js +1 -1
- package/dist/components/ds-card-chart.js +1 -1
- package/dist/components/ds-card-overview.js +1 -1
- package/dist/components/ds-card-setting.js +1 -1
- package/dist/components/ds-chart-legend.js +1 -1
- package/dist/components/ds-chart.js +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-chip.js +1 -1
- package/dist/components/ds-chip.js.map +1 -1
- package/dist/components/ds-code-block.js +1 -1
- package/dist/components/ds-conversation-list-item.js +1 -1
- package/dist/components/ds-conversation-list-section.js +1 -1
- package/dist/components/ds-empty-state.js +1 -1
- package/dist/components/ds-field.js +1 -1
- package/dist/components/ds-filter-menu.js +1 -1
- package/dist/components/ds-input.js +1 -1
- package/dist/components/ds-markdown.js +1 -1
- package/dist/components/ds-menu.js +1 -1
- package/dist/components/ds-message-actions.js +1 -1
- package/dist/components/ds-message-composer.js +1 -1
- package/dist/components/ds-message-scroller.js +1 -1
- package/dist/components/ds-message-scroller.js.map +1 -1
- package/dist/components/ds-message.js +1 -1
- package/dist/components/ds-mobile-bar-nav.js +1 -1
- package/dist/components/ds-mobile-header.js +1 -1
- package/dist/components/ds-mobile-section-switcher.js +1 -1
- package/dist/components/ds-mobile-sheet-nav.js +1 -1
- package/dist/components/ds-modal.js +1 -1
- package/dist/components/ds-pagination.js +1 -1
- package/dist/components/ds-panel-nav.js +1 -1
- package/dist/components/ds-panel-sub-nav.js +1 -1
- package/dist/components/ds-panel-tool-header.js +1 -1
- package/dist/components/ds-panel-tool-search.js +1 -1
- package/dist/components/ds-panel-tool-search.js.map +1 -1
- package/dist/components/ds-panel-tools.js +1 -1
- package/dist/components/ds-paper-texture.js +1 -1
- package/dist/components/ds-radio.js +1 -1
- package/dist/components/ds-select.js +1 -1
- package/dist/components/ds-shell-app.js +1 -1
- package/dist/components/ds-shell-app.js.map +1 -1
- package/dist/components/ds-shell-page.js +1 -1
- package/dist/components/ds-shell-tools.js +1 -1
- package/dist/components/ds-slider.js +1 -1
- package/dist/components/ds-swatch-picker.js +1 -1
- package/dist/components/ds-tab-group.js +1 -1
- package/dist/components/ds-table-filter.js +1 -1
- package/dist/components/ds-table-filter.js.map +1 -1
- package/dist/components/ds-table-group.d.ts +11 -0
- package/dist/components/ds-table-group.js +2 -0
- package/dist/components/ds-table-group.js.map +1 -0
- package/dist/components/ds-table-saved-views.js +1 -1
- package/dist/components/ds-table-search.d.ts +11 -0
- package/dist/components/ds-table-search.js +2 -0
- package/dist/components/ds-table-search.js.map +1 -0
- package/dist/components/ds-table-sort.js +1 -1
- package/dist/components/ds-table-sort.js.map +1 -1
- package/dist/components/ds-table-toolbar.js +1 -1
- package/dist/components/ds-table-toolbar.js.map +1 -1
- package/dist/components/ds-table.js +1 -1
- package/dist/components/ds-table.js.map +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-toast.js +1 -1
- package/dist/components/ds-tooltip-chart.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/ds-typing-indicator.js +1 -1
- package/dist/components/{p-Bf7PZJPT.js → p-5Z4oYuiK.js} +2 -2
- package/dist/components/{p-DIlScMvI.js → p-6rB0eAda.js} +2 -2
- package/dist/components/{p-CptSB-tA.js → p-9ykZwPlI.js} +2 -2
- package/dist/components/p-B0OZx3JB.js +2 -0
- package/dist/components/p-B0OZx3JB.js.map +1 -0
- package/dist/components/{p-BHhmB9-4.js → p-B0kSlcaw.js} +2 -2
- package/dist/components/{p-DWjTOoXs.js → p-B1wMpt1z.js} +2 -2
- package/dist/components/p-BEttT0UB.js +2 -0
- package/dist/components/p-BEttT0UB.js.map +1 -0
- package/dist/components/p-BFit8o0r.js +2 -0
- package/dist/components/p-BFit8o0r.js.map +1 -0
- package/dist/components/{p-fRDzpfi9.js → p-BXv6RpoF.js} +2 -2
- package/dist/components/{p-D7QlTWbN.js → p-BbG7nOcz.js} +2 -2
- package/dist/components/{p-Bx5BSd6F.js → p-BcxidW9k.js} +2 -2
- package/dist/components/{p-1UAVanY9.js → p-Bd8I2oXN.js} +2 -2
- package/dist/components/{p-DGe5oXR0.js → p-Bjq1KP_Y.js} +2 -2
- package/dist/components/p-Bjq1KP_Y.js.map +1 -0
- package/dist/components/{p-DW5Ita-P.js → p-BnTPuV3x.js} +2 -2
- package/dist/components/{p-DW5Ita-P.js.map → p-BnTPuV3x.js.map} +1 -1
- package/dist/components/p-BqVXMEJm.js +2 -0
- package/dist/components/p-BqVXMEJm.js.map +1 -0
- package/dist/components/p-CB3fv_Oh.js +2 -0
- package/dist/components/p-CB3fv_Oh.js.map +1 -0
- package/dist/components/{p-DdH7b4JF.js → p-CBymzuOO.js} +2 -2
- package/dist/components/{p-BjRD57w3.js → p-CE2b5GPu.js} +2 -2
- package/dist/components/{p-DBYv7fRq.js → p-CFkZSDwI.js} +2 -2
- package/dist/components/{p-Bb4KnRy0.js → p-CTH3dSYg.js} +2 -2
- package/dist/components/{p-BmssRAEZ.js → p-CZ144LS5.js} +2 -2
- package/dist/components/{p-B-HsfQOK.js → p-Cd1JnnVK.js} +2 -2
- package/dist/components/p-CeKa4VbU.js +2 -0
- package/dist/components/{p-AtUP95E_.js.map → p-CeKa4VbU.js.map} +1 -1
- package/dist/components/{p-CDw_WEVt.js → p-Cnsvgx1M.js} +2 -2
- package/dist/components/{p-BYFS2qWb.js → p-CpeJMKJ5.js} +2 -2
- package/dist/components/{p-DM1Z_hh0.js → p-D36EmETH.js} +2 -2
- package/dist/components/p-D9wZlB_N.js +2 -0
- package/dist/components/p-D9wZlB_N.js.map +1 -0
- package/dist/components/{p-DFC0sRM-.js → p-DI8DUozc.js} +2 -2
- package/dist/components/{p-v4oqkJms.js → p-DSy1oOnd.js} +2 -2
- package/dist/components/{p-v4oqkJms.js.map → p-DSy1oOnd.js.map} +1 -1
- package/dist/components/{p-DQBT1Jkf.js → p-DbLLH3hr.js} +2 -2
- package/dist/components/{p-B2FT4Da6.js → p-De0qjzPu.js} +2 -2
- package/dist/components/{p-B6rSDhJY.js → p-Dit6JmAK.js} +2 -2
- package/dist/components/p-DnZ7DNaz.js +2 -0
- package/dist/components/p-DnZ7DNaz.js.map +1 -0
- package/dist/components/{p-caLOcQUK.js → p-DzPtYdXy.js} +2 -2
- package/dist/components/{p-Do8wbFff.js → p-XaCYqck3.js} +2 -2
- package/dist/components/{p-L8IIeDXM.js → p-_C-XRpCB.js} +2 -2
- package/dist/components/{p-CyZqk196.js → p-bHnk8t5I.js} +2 -2
- package/dist/components/p-hYjmOPCI.js +2 -0
- package/dist/components/p-hYjmOPCI.js.map +1 -0
- package/dist/components/{p-ChfVRPHw.js → p-pUOA3iDG.js} +2 -2
- package/dist/components/{p-DLbHgbVj.js → p-pnO8tAYB.js} +2 -2
- package/dist/components/{p-CCmgtju-.js → p-pxN8JGEh.js} +2 -2
- package/dist/components/p-pxN8JGEh.js.map +1 -0
- package/dist/components/{p-B4wTnsUL.js → p-w9fkkwL2.js} +2 -2
- package/dist/components/p-x5u5Ueli.js +2 -0
- package/dist/components/{p-BeA6Jv-3.js.map → p-x5u5Ueli.js.map} +1 -1
- package/dist/docs/components.json +1582 -45
- package/dist/lib/components/BarTitle/bar-title-types.d.ts +1 -0
- package/dist/lib/components/Menu/menu-placement.d.ts +13 -0
- package/dist/lib/components/PanelNav/panel-nav-types.d.ts +19 -0
- package/dist/lib/components/ShellApp/shell-app-types.d.ts +1 -0
- package/dist/lib/components/ShellPage/shell-page-types.d.ts +1 -0
- package/dist/lib/shell/index.d.ts +3 -3
- package/dist/lib/shell/index.js.map +2 -2
- package/dist/mcp-data/registry/bar-title.json +25 -4
- package/dist/mcp-data/registry/button-filled.json +1 -0
- package/dist/mcp-data/registry/button-unfilled.json +1 -0
- package/dist/mcp-data/registry/chip.json +39 -2
- package/dist/mcp-data/registry/filter-menu.json +84 -11
- package/dist/mcp-data/registry/input.json +54 -2
- package/dist/mcp-data/registry/menu.json +1 -1
- package/dist/mcp-data/registry/panel-nav.json +71 -10
- package/dist/mcp-data/registry/panel-tool-search.json +4 -5
- package/dist/mcp-data/registry/registry.json +452 -43
- package/dist/mcp-data/registry/select.json +1 -0
- package/dist/mcp-data/registry/shell-app.json +47 -5
- package/dist/mcp-data/registry/shell-page.json +25 -5
- package/dist/mcp-data/registry/tab-group.json +21 -2
- package/dist/mcp-data/registry/table-filter.json +79 -9
- package/dist/mcp-data/registry/table-group.json +301 -0
- package/dist/mcp-data/registry/table-search.json +343 -0
- package/dist/mcp-data/registry/table-sort.json +1 -1
- package/dist/mcp-data/registry/table-toolbar.json +7 -6
- package/dist/mcp-data/registry/table.json +55 -17
- package/dist/react/components.d.ts +2 -0
- package/dist/react/components.js +2 -0
- package/dist/react/ds-filter-menu.d.ts +2 -1
- package/dist/react/ds-filter-menu.js +1 -0
- package/dist/react/ds-panel-nav.d.ts +2 -1
- package/dist/react/ds-panel-nav.js +1 -0
- package/dist/react/ds-shell-app.d.ts +2 -1
- package/dist/react/ds-shell-app.js +1 -0
- package/dist/react/ds-table-filter.d.ts +2 -1
- package/dist/react/ds-table-filter.js +1 -0
- package/dist/react/ds-table-group.d.ts +14 -0
- package/dist/react/ds-table-group.js +16 -0
- package/dist/react/ds-table-search.d.ts +14 -0
- package/dist/react/ds-table-search.js +16 -0
- package/dist/styles/table.css +46 -0
- package/dist/types/components/BarTitle/BarTitle.d.ts +4 -1
- package/dist/types/components/BarTitle/bar-title-types.d.ts +1 -0
- package/dist/types/components/BarTitle/index.d.ts +1 -1
- package/dist/types/components/Chip/Chip.d.ts +5 -0
- package/dist/types/components/FilterMenu/FilterMenu.d.ts +26 -0
- package/dist/types/components/Input/Input.d.ts +6 -0
- package/dist/types/components/Menu/menu-placement.d.ts +13 -0
- package/dist/types/components/PanelNav/PanelNav.d.ts +29 -2
- package/dist/types/components/PanelNav/index.d.ts +2 -2
- package/dist/types/components/PanelNav/panel-nav-types.d.ts +19 -0
- package/dist/types/components/PanelNav/panel-nav-utils.d.ts +10 -2
- package/dist/types/components/ShellApp/ShellApp.d.ts +11 -1
- package/dist/types/components/ShellApp/shell-app-types.d.ts +1 -0
- package/dist/types/components/ShellPage/ShellPage.d.ts +6 -1
- package/dist/types/components/ShellPage/index.d.ts +1 -1
- package/dist/types/components/ShellPage/shell-page-types.d.ts +1 -0
- package/dist/types/components/TabGroup/TabGroup.d.ts +2 -0
- package/dist/types/components/Table/Table.d.ts +6 -0
- package/dist/types/components/Table/index.d.ts +1 -1
- package/dist/types/components/Table/table-cell-model.d.ts +11 -1
- package/dist/types/components/Table/table-highlight.d.ts +12 -0
- package/dist/types/components/Table/table-model.d.ts +6 -5
- package/dist/types/components/Table/table-render-model.d.ts +1 -1
- package/dist/types/components/Table/table-row-view.d.ts +4 -1
- package/dist/types/components/Table/table-types.d.ts +22 -4
- package/dist/types/components/Table/table-virtual-model.d.ts +2 -0
- package/dist/types/components/TableFilter/TableFilter.d.ts +9 -1
- package/dist/types/components/TableGroup/TableGroup.d.ts +60 -0
- package/dist/types/components/TableSearch/TableSearch.d.ts +56 -0
- package/dist/types/components/TableSearch/table-search-model.d.ts +10 -0
- package/dist/types/components/TableSearch/table-search-types.d.ts +10 -0
- package/dist/types/components.d.ts +459 -14
- package/dist/types/shell/index.d.ts +3 -3
- package/dist/types/utils/choice-list-parts.d.ts +11 -1
- package/dist/types/utils/select-controller.d.ts +1 -1
- package/dist/vue/components.d.ts +2 -0
- package/dist/vue/components.js +2 -0
- package/dist/vue/ds-bar-title.js +1 -0
- package/dist/vue/ds-chip.js +2 -0
- package/dist/vue/ds-filter-menu.js +5 -0
- package/dist/vue/ds-input.js +3 -0
- package/dist/vue/ds-panel-nav.js +4 -0
- package/dist/vue/ds-shell-app.js +3 -0
- package/dist/vue/ds-shell-page.js +1 -0
- package/dist/vue/ds-tab-group.js +1 -0
- package/dist/vue/ds-table-filter.js +5 -0
- package/dist/vue/ds-table-group.d.ts +3 -0
- package/dist/vue/ds-table-group.js +20 -0
- package/dist/vue/ds-table-search.d.ts +3 -0
- package/dist/vue/ds-table-search.js +22 -0
- package/dist/vue/ds-table.js +2 -0
- package/package.json +1 -1
- package/dist/components/p-AtUP95E_.js +0 -2
- package/dist/components/p-B5-R5mb8.js +0 -2
- package/dist/components/p-B5-R5mb8.js.map +0 -1
- package/dist/components/p-BUexfjjg.js +0 -2
- package/dist/components/p-BUexfjjg.js.map +0 -1
- package/dist/components/p-BeA6Jv-3.js +0 -2
- package/dist/components/p-BkelrY4-.js +0 -2
- package/dist/components/p-BkelrY4-.js.map +0 -1
- package/dist/components/p-CCmgtju-.js.map +0 -1
- package/dist/components/p-DA5H_Iq_.js +0 -2
- package/dist/components/p-DA5H_Iq_.js.map +0 -1
- package/dist/components/p-DGe5oXR0.js.map +0 -1
- package/dist/components/p-DKt_8s-U.js +0 -2
- package/dist/components/p-DKt_8s-U.js.map +0 -1
- package/dist/components/p-DfDoqOlx.js +0 -2
- package/dist/components/p-DfDoqOlx.js.map +0 -1
- package/dist/components/p-rw0ZxIE4.js +0 -2
- package/dist/components/p-rw0ZxIE4.js.map +0 -1
- /package/dist/components/{p-Bf7PZJPT.js.map → p-5Z4oYuiK.js.map} +0 -0
- /package/dist/components/{p-DIlScMvI.js.map → p-6rB0eAda.js.map} +0 -0
- /package/dist/components/{p-CptSB-tA.js.map → p-9ykZwPlI.js.map} +0 -0
- /package/dist/components/{p-BHhmB9-4.js.map → p-B0kSlcaw.js.map} +0 -0
- /package/dist/components/{p-DWjTOoXs.js.map → p-B1wMpt1z.js.map} +0 -0
- /package/dist/components/{p-fRDzpfi9.js.map → p-BXv6RpoF.js.map} +0 -0
- /package/dist/components/{p-D7QlTWbN.js.map → p-BbG7nOcz.js.map} +0 -0
- /package/dist/components/{p-Bx5BSd6F.js.map → p-BcxidW9k.js.map} +0 -0
- /package/dist/components/{p-1UAVanY9.js.map → p-Bd8I2oXN.js.map} +0 -0
- /package/dist/components/{p-DdH7b4JF.js.map → p-CBymzuOO.js.map} +0 -0
- /package/dist/components/{p-BjRD57w3.js.map → p-CE2b5GPu.js.map} +0 -0
- /package/dist/components/{p-DBYv7fRq.js.map → p-CFkZSDwI.js.map} +0 -0
- /package/dist/components/{p-Bb4KnRy0.js.map → p-CTH3dSYg.js.map} +0 -0
- /package/dist/components/{p-BmssRAEZ.js.map → p-CZ144LS5.js.map} +0 -0
- /package/dist/components/{p-B-HsfQOK.js.map → p-Cd1JnnVK.js.map} +0 -0
- /package/dist/components/{p-CDw_WEVt.js.map → p-Cnsvgx1M.js.map} +0 -0
- /package/dist/components/{p-BYFS2qWb.js.map → p-CpeJMKJ5.js.map} +0 -0
- /package/dist/components/{p-DM1Z_hh0.js.map → p-D36EmETH.js.map} +0 -0
- /package/dist/components/{p-DFC0sRM-.js.map → p-DI8DUozc.js.map} +0 -0
- /package/dist/components/{p-DQBT1Jkf.js.map → p-DbLLH3hr.js.map} +0 -0
- /package/dist/components/{p-B2FT4Da6.js.map → p-De0qjzPu.js.map} +0 -0
- /package/dist/components/{p-B6rSDhJY.js.map → p-Dit6JmAK.js.map} +0 -0
- /package/dist/components/{p-caLOcQUK.js.map → p-DzPtYdXy.js.map} +0 -0
- /package/dist/components/{p-Do8wbFff.js.map → p-XaCYqck3.js.map} +0 -0
- /package/dist/components/{p-L8IIeDXM.js.map → p-_C-XRpCB.js.map} +0 -0
- /package/dist/components/{p-CyZqk196.js.map → p-bHnk8t5I.js.map} +0 -0
- /package/dist/components/{p-ChfVRPHw.js.map → p-pUOA3iDG.js.map} +0 -0
- /package/dist/components/{p-DLbHgbVj.js.map → p-pnO8tAYB.js.map} +0 -0
- /package/dist/components/{p-B4wTnsUL.js.map → p-w9fkkwL2.js.map} +0 -0
|
@@ -4,8 +4,9 @@ import type { PanelToolsToolId } from '../PanelTools/panel-tools-types';
|
|
|
4
4
|
import type { BreadcrumbSelectDetail } from '../Breadcrumb/breadcrumb-types';
|
|
5
5
|
import { type ShellGradientPreset } from '../../shell/shell-gradient-presets';
|
|
6
6
|
import { type MobileDestination, type ShellResponsiveMode } from '../../shell/shell-responsive';
|
|
7
|
+
import type { PanelNavChildSelectDetail } from '../PanelNav/panel-nav-types';
|
|
7
8
|
import type { PanelNavUserActionDetail } from '../PanelNav/panel-nav-types';
|
|
8
|
-
import type { ShellAppComposition, ShellNavigationConfig, ShellPageChromeConfig, ShellToolsConfig } from './shell-app-types';
|
|
9
|
+
import type { ShellAppComposition, ShellNavigationConfig, ShellPageChromeConfig, ShellSectionNavigation, ShellToolsConfig } from './shell-app-types';
|
|
9
10
|
import type { PaperTextureConfig } from '../PaperTexture/paper-texture-types';
|
|
10
11
|
export declare class ShellApp {
|
|
11
12
|
private static readonly FOREGROUND_REFRESH_MS;
|
|
@@ -13,6 +14,8 @@ export declare class ShellApp {
|
|
|
13
14
|
composition: ShellAppComposition;
|
|
14
15
|
/** Router-owned navigation data used by managed composition. */
|
|
15
16
|
navigation: ShellNavigationConfig;
|
|
17
|
+
/** Desktop/tablet route sections in BarNav, or nested beneath PanelNav parents. */
|
|
18
|
+
sectionNavigation: ShellSectionNavigation;
|
|
16
19
|
/** Route-owned page title and section data used by managed composition. */
|
|
17
20
|
pageChrome: ShellPageChromeConfig;
|
|
18
21
|
/** Product-owned global tool definitions used by managed composition. */
|
|
@@ -40,6 +43,8 @@ export declare class ShellApp {
|
|
|
40
43
|
dsNavSelect: EventEmitter<string>;
|
|
41
44
|
/** Managed desktop BarNav or mobile section-selection intent. */
|
|
42
45
|
dsTabChange: EventEmitter<string>;
|
|
46
|
+
/** Managed nested PanelNav child-route intent. */
|
|
47
|
+
dsNavChildSelect: EventEmitter<PanelNavChildSelectDetail>;
|
|
43
48
|
/** Managed page-subsection intent from BarTitle or MobileHeader. */
|
|
44
49
|
dsSubsectionChange: EventEmitter<string>;
|
|
45
50
|
/** Managed page-level Back intent. */
|
|
@@ -97,6 +102,7 @@ export declare class ShellApp {
|
|
|
97
102
|
private get effectiveMobileSheetNavOpen();
|
|
98
103
|
private get resolvedNavigationGroups();
|
|
99
104
|
private get resolvedToolItems();
|
|
105
|
+
private get resolvedPageTabs();
|
|
100
106
|
private get availableInboxTools();
|
|
101
107
|
componentWillLoad(): void;
|
|
102
108
|
componentDidLoad(): void;
|
|
@@ -143,6 +149,7 @@ export declare class ShellApp {
|
|
|
143
149
|
/** Request drawer or fullscreen presentation for the active managed tool. */
|
|
144
150
|
setToolPresentation(presentation: 'drawer' | 'fullscreen'): Promise<void>;
|
|
145
151
|
private handleManagedNavSelect;
|
|
152
|
+
private handleManagedNavChildSelect;
|
|
146
153
|
private handleManagedTabChange;
|
|
147
154
|
private handleManagedPageBack;
|
|
148
155
|
private handleManagedBreadcrumbSelect;
|
|
@@ -167,12 +174,15 @@ export declare class ShellApp {
|
|
|
167
174
|
private renderPaperTexture;
|
|
168
175
|
private renderManagedPanelNav;
|
|
169
176
|
private renderManagedBarNav;
|
|
177
|
+
private renderManagedTopBar;
|
|
170
178
|
private renderManagedToolSlots;
|
|
171
179
|
private renderManagedTools;
|
|
172
180
|
private renderManagedMobileSheetNav;
|
|
173
181
|
private renderManagedMobileBarNav;
|
|
174
182
|
private renderManagedMobileLeading;
|
|
175
183
|
private renderManagedMobileActions;
|
|
184
|
+
private get barTitleSections();
|
|
185
|
+
private renderManagedBarTitle;
|
|
176
186
|
private renderManagedPage;
|
|
177
187
|
private renderSlottedShell;
|
|
178
188
|
render(): any;
|
|
@@ -7,6 +7,7 @@ import type { PanelToolsHeaders, PanelToolsHeaderAction, PanelToolsItem } from '
|
|
|
7
7
|
import type { NavChromeStyle } from '../../shell/nav-chrome';
|
|
8
8
|
import type { ShellPageContentInset, ShellPageContentSurface } from '../ShellPage/shell-page-types';
|
|
9
9
|
export type ShellAppComposition = 'managed' | 'slotted';
|
|
10
|
+
export type ShellSectionNavigation = 'bar' | 'panel';
|
|
10
11
|
/**
|
|
11
12
|
* Router-owned application navigation supplied to managed ShellApp.
|
|
12
13
|
* ShellApp renders the responsive chrome but never performs route changes.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ShellResponsiveMode } from '../../shell/shell-responsive';
|
|
2
|
-
import type { ShellPageCapacity, ShellPageContentInset, ShellPageContentSurface, ShellPageHeaderPresentation } from './shell-page-types';
|
|
2
|
+
import type { ShellPageCapacity, ShellPageContentInset, ShellPageContentSurface, ShellPageDesktopHeaderPlacement, ShellPageHeaderPresentation } from './shell-page-types';
|
|
3
3
|
export declare class ShellPage {
|
|
4
4
|
private static readonly MAX_HEADER_REVEAL_FRAMES;
|
|
5
5
|
private static readonly MAX_HEADER_GEOMETRY_FRAMES;
|
|
@@ -8,6 +8,8 @@ export declare class ShellPage {
|
|
|
8
8
|
headerPresentation: ShellPageHeaderPresentation;
|
|
9
9
|
/** Available page-header capacity supplied by the owning application shell. */
|
|
10
10
|
headerCapacity?: ShellPageCapacity;
|
|
11
|
+
/** Desktop title chrome is rendered in this page or externally in the shell bar. */
|
|
12
|
+
desktopHeaderPlacement: ShellPageDesktopHeaderPlacement;
|
|
11
13
|
/** Standard page gutters, or no inset for full-bleed page content. */
|
|
12
14
|
contentInset: ShellPageContentInset;
|
|
13
15
|
/** Preserve the responsive side/end gutters while allowing content to meet the header. */
|
|
@@ -40,12 +42,15 @@ export declare class ShellPage {
|
|
|
40
42
|
private hasLoaded;
|
|
41
43
|
handleHeaderContractChange(): void;
|
|
42
44
|
handleResponsiveModeChange(): void;
|
|
45
|
+
handleDesktopHeaderPlacementChange(): void;
|
|
43
46
|
componentDidLoad(): void;
|
|
44
47
|
componentDidRender(): void;
|
|
45
48
|
connectedCallback(): void;
|
|
46
49
|
disconnectedCallback(): void;
|
|
47
50
|
private connectRuntime;
|
|
48
51
|
private get effectiveVariant();
|
|
52
|
+
private get desktopHeaderExternal();
|
|
53
|
+
private get effectiveScrollCompaction();
|
|
49
54
|
private get headerContractResolved();
|
|
50
55
|
private get isScrollCompacted();
|
|
51
56
|
private get contentInsetStyles();
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { ShellPage } from './ShellPage';
|
|
2
|
-
export type { ShellPageCapacity, ShellPageContentInset, ShellPageContentSurface, ShellPageHeaderPresentation, } from './shell-page-types';
|
|
2
|
+
export type { ShellPageCapacity, ShellPageContentInset, ShellPageContentSurface, ShellPageDesktopHeaderPlacement, ShellPageHeaderPresentation, } from './shell-page-types';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { BarTitleVariant } from '../BarTitle/bar-title-types';
|
|
2
2
|
export type ShellPageHeaderPresentation = 'auto' | BarTitleVariant;
|
|
3
|
+
export type ShellPageDesktopHeaderPlacement = 'page' | 'shell-bar';
|
|
3
4
|
export type ShellPageContentInset = 'default' | 'none';
|
|
4
5
|
export type ShellPageContentSurface = 'primary' | 'secondary';
|
|
5
6
|
export type ShellPageCapacity = 'roomy' | 'compact' | 'constrained';
|
|
@@ -12,6 +12,8 @@ export declare class TabGroup {
|
|
|
12
12
|
size: TabGroupSize;
|
|
13
13
|
/** Width fit — hug content (default) or fill the parent with equal-width segments. */
|
|
14
14
|
width: TabGroupWidth;
|
|
15
|
+
/** Show the segmented control's outer background, border, and inset. */
|
|
16
|
+
hasContainer: boolean;
|
|
15
17
|
background: TabBackground | undefined;
|
|
16
18
|
ariaLabel: string | null;
|
|
17
19
|
ariaLabelledby: string | undefined;
|
|
@@ -15,6 +15,10 @@ export declare class Table {
|
|
|
15
15
|
sort: TableSortState | null;
|
|
16
16
|
/** Controlled collapsed group identities. Groups not listed remain expanded. */
|
|
17
17
|
collapsedGroupIds: string[];
|
|
18
|
+
/** Literal terms to highlight in table-owned text cells. Applications still own filtering. */
|
|
19
|
+
highlightTerms: string[];
|
|
20
|
+
/** Optional TableSearch field identities that restrict which data-point tracks are highlighted. */
|
|
21
|
+
highlightFieldIds: string[];
|
|
18
22
|
/** Required accessible table name, retained as a native caption. */
|
|
19
23
|
caption: string;
|
|
20
24
|
/** Shows a matching presentational title bar above the native table frame. */
|
|
@@ -145,6 +149,7 @@ export declare class Table {
|
|
|
145
149
|
private virtualItems;
|
|
146
150
|
private visibleColumnsCache;
|
|
147
151
|
private renderModelCache;
|
|
152
|
+
private highlightMatcherCache;
|
|
148
153
|
private virtualItemsCache;
|
|
149
154
|
private rootEl;
|
|
150
155
|
private viewportEl;
|
|
@@ -222,6 +227,7 @@ export declare class Table {
|
|
|
222
227
|
private currentLoadedRows;
|
|
223
228
|
private currentLoadedRowCount;
|
|
224
229
|
private createRenderModel;
|
|
230
|
+
private get highlightMatcher();
|
|
225
231
|
private get virtualizationEnabled();
|
|
226
232
|
private get virtualViewportMissing();
|
|
227
233
|
private get hasVirtualViewportBounds();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { TableCaptionVisibility, TableCellAlign, TableCellAction, TableCellActionDetail, TableCellActionDivider, TableCellActionMenuEntry, TableCellActionMenuItem, TableCellBlank, TableCellEmpty, TableCellLinkTarget, TableCellIcon, TableCellIconText, TableCellImage, TableCellImageTracks, TableCellPrimaryText, TableCellSkeleton, TableCellText, TableCellTextRun, TableCellTextTrack, TableCellTag, TableCellTagVariant, TableCellValue, TableSkeletonWidth, TableColumn, TableColumnsConfigChangeDetail, TableColumnSticky, TableColumnWidth, TableDataMode, TableDataModeChangeDetail, TableGroup, TableGroupCollapseChangeDetail, TableGroupLoadMoreDetail, TableGroupIntent, TableHeaderSegment, TableGroupingState, TableLoadMoreDetail, TableLoadMoreMode, TableLoadMoreReason, TablePaginationState, TableRow, TableRowActivateDetail, TableSelectionChangeDetail, TableSelectionMode, TableSortChangeDetail, TableSortDirection, TableSortState, } from './table-types';
|
|
1
|
+
export type { TableCaptionVisibility, TableCellAlign, TableCellAction, TableCellActionDetail, TableCellActionDivider, TableCellActionMenuEntry, TableCellActionMenuItem, TableCellBlank, TableCellEmpty, TableCellLinkTarget, TableCellIcon, TableCellIconText, TableCellImage, TableCellImageTracks, TableCellPrimaryText, TableCellSkeleton, TableCellText, TableCellTextRun, TableCellTextTrack, TableCellTag, TableCellTagItem, TableCellTags, TableCellTagVariant, TableCellValue, TableSkeletonWidth, TableColumn, TableColumnsConfigChangeDetail, TableColumnSticky, TableColumnWidth, TableDataMode, TableDataModeChangeDetail, TableGroup, TableGroupCollapseChangeDetail, TableGroupLoadMoreDetail, TableGroupIntent, TableHeaderSegment, TableGroupingState, TableLoadMoreDetail, TableLoadMoreMode, TableLoadMoreReason, TablePaginationState, TableRow, TableRowActivateDetail, TableSelectionChangeDetail, TableSelectionMode, TableSortChangeDetail, TableSortDirection, TableSortState, } from './table-types';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TableCellAction, TableCellBlank, TableCellEmpty, TableCellIcon, TableCellImage, TableCellImageTracks, TableCellTag, TableCellTagVariant, TableCellTextRun, TableCellTextTrack, TableCellValue, TableCellLinkTarget, TableCellLineClamp, TableCellMaxLines, TableColumn } from './table-types';
|
|
1
|
+
import type { TableCellAction, TableCellBlank, TableCellEmpty, TableCellIcon, TableCellImage, TableCellImageTracks, TableCellTag, TableCellTags, TableCellTagVariant, TableCellTextRun, TableCellTextTrack, TableCellValue, TableCellLinkTarget, TableCellLineClamp, TableCellMaxLines, TableColumn } from './table-types';
|
|
2
2
|
import type { IconColor } from '../Icon/Icon';
|
|
3
3
|
import type { TextColor } from '../Text/text-types';
|
|
4
4
|
/** Maximum independently colored runs on one secondary or tertiary track. */
|
|
@@ -50,6 +50,12 @@ export type TableCellPresentation = {
|
|
|
50
50
|
cellType: 'tag';
|
|
51
51
|
value: TableCellTag;
|
|
52
52
|
variant: TableCellTagVariant;
|
|
53
|
+
} | {
|
|
54
|
+
kind: 'tags';
|
|
55
|
+
cellType: 'tags';
|
|
56
|
+
value: TableCellTags;
|
|
57
|
+
tracks: number;
|
|
58
|
+
variant: `${number}-track`;
|
|
53
59
|
} | {
|
|
54
60
|
kind: 'text';
|
|
55
61
|
cellType: 'text' | 'primary-text';
|
|
@@ -64,6 +70,10 @@ export type TableCellPresentation = {
|
|
|
64
70
|
export declare function resolveTableCellImageTracks(tracks: TableCellImage['tracks']): TableCellImageTracks;
|
|
65
71
|
/** Map an image track stack onto the shared single/multi/triple cell variant. */
|
|
66
72
|
export declare function tableCellImageVariant(tracks: TableCellImageTracks): 'single' | 'multi' | 'triple';
|
|
73
|
+
/** Normalize the declared line count used by wrapping multiple-Tag cells. */
|
|
74
|
+
export declare function resolveTableCellTagsTracks(tracks: number): number;
|
|
75
|
+
/** Token-backed content height for any named number of body-row tracks. */
|
|
76
|
+
export declare function tableCellTrackStackBlockSize(tracks: number): string;
|
|
67
77
|
/** Collapse a consumer track into at most three non-empty runs. */
|
|
68
78
|
export declare function normalizeTableCellTextTrack(track: TableCellTextTrack | number | undefined): TableCellTextRun[] | undefined;
|
|
69
79
|
/** Map wrap / maxLines onto wrap-to-track geometry and a line clamp. */
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface TableHighlightSegment {
|
|
2
|
+
text: string;
|
|
3
|
+
match: boolean;
|
|
4
|
+
}
|
|
5
|
+
export type TableHighlightMatcher = (value: string | number) => TableHighlightSegment[];
|
|
6
|
+
export declare const TABLE_NO_HIGHLIGHT_MATCHER: TableHighlightMatcher;
|
|
7
|
+
/**
|
|
8
|
+
* Creates one literal, case-insensitive matcher for table-owned text tracks.
|
|
9
|
+
* Longer terms win when supplied terms overlap.
|
|
10
|
+
*/
|
|
11
|
+
export declare function createTableHighlightMatcher(terms: string[]): TableHighlightMatcher;
|
|
12
|
+
//# sourceMappingURL=table-highlight.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TableCellBlank, TableCellAction, TableCellEmpty, TableCellIcon, TableCellIconText, TableCellImage, TableCellPrimaryText, TableCellText, TableCellTag, TableCellValue, TableColumn, TableGroup, TableRow, TableSortState } from './table-types';
|
|
1
|
+
import type { TableCellBlank, TableCellAction, TableCellEmpty, TableCellIcon, TableCellIconText, TableCellImage, TableCellPrimaryText, TableCellText, TableCellTag, TableCellTags, TableCellValue, TableColumn, TableGroup, TableRow, TableSortState } from './table-types';
|
|
2
2
|
export interface TableSelectionState {
|
|
3
3
|
selectableRowIds: string[];
|
|
4
4
|
selectedLoadedCount: number;
|
|
@@ -8,6 +8,7 @@ export interface TableSelectionState {
|
|
|
8
8
|
export declare function isTableCellText(value: TableCellValue): value is TableCellText;
|
|
9
9
|
export declare function isTableCellPrimaryText(value: TableCellValue): value is TableCellPrimaryText;
|
|
10
10
|
export declare function isTableCellTag(value: TableCellValue): value is TableCellTag;
|
|
11
|
+
export declare function isTableCellTags(value: TableCellValue): value is TableCellTags;
|
|
11
12
|
export declare function isTableCellIcon(value: TableCellValue): value is TableCellIcon;
|
|
12
13
|
export declare function isTableCellIconText(value: TableCellValue): value is TableCellIconText;
|
|
13
14
|
export declare function isTableCellImage(value: TableCellValue): value is TableCellImage;
|
|
@@ -30,11 +31,11 @@ export declare function tableCollapseAllHost(columns: TableColumn[]): TableColla
|
|
|
30
31
|
export declare function clampTableColumnSize(column: TableColumn): number | undefined;
|
|
31
32
|
export declare function tableColumnSize(column: TableColumn): string | undefined;
|
|
32
33
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
34
|
+
* Fully sized tables add one internal lane that absorbs spare inline space and
|
|
35
|
+
* collapses to zero at the explicit overflow width. Keep trailing action and
|
|
36
|
+
* sticky-end lanes after it so those controls remain at the visible edge.
|
|
36
37
|
*/
|
|
37
|
-
export declare function
|
|
38
|
+
export declare function tableElasticSpacerIndex(columns: TableColumn[]): number | undefined;
|
|
38
39
|
export declare function tableExplicitMinWidth(columns: TableColumn[]): string | undefined;
|
|
39
40
|
export declare function tableRows(rows: TableRow[], groups: TableGroup[], grouped: boolean): TableRow[];
|
|
40
41
|
export declare function deriveTableSelectionState(rows: TableRow[], selectedRowIds: readonly string[]): TableSelectionState;
|
|
@@ -26,7 +26,7 @@ export interface TableRenderModel {
|
|
|
26
26
|
allGroupsCollapsed: boolean;
|
|
27
27
|
showCollapseAll: boolean;
|
|
28
28
|
collapseAllHost: TableCollapseAllHost | undefined;
|
|
29
|
-
|
|
29
|
+
elasticSpacerIndex: number | undefined;
|
|
30
30
|
tableStyle: Record<string, string> | undefined;
|
|
31
31
|
}
|
|
32
32
|
export interface TableRenderModelInput {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { TableRenderModel } from './table-render-model';
|
|
2
|
+
import { type TableHighlightMatcher } from './table-highlight';
|
|
2
3
|
import type { TableCellActionDetail, TableColumn, TableRow } from './table-types';
|
|
3
4
|
export interface TableRowViewOptions {
|
|
4
5
|
row: TableRow;
|
|
@@ -10,6 +11,8 @@ export interface TableRowViewOptions {
|
|
|
10
11
|
rowId: string;
|
|
11
12
|
columnId: string;
|
|
12
13
|
} | null;
|
|
14
|
+
highlightMatcher: TableHighlightMatcher;
|
|
15
|
+
highlightFieldIds: string[];
|
|
13
16
|
ariaRowIndex?: number;
|
|
14
17
|
variableVirtualSize?: boolean;
|
|
15
18
|
rowKey?: string;
|
|
@@ -22,5 +25,5 @@ export interface TableRowViewOptions {
|
|
|
22
25
|
onActionMenuToggle: (row: TableRow, column: TableColumn, event: MouseEvent) => void;
|
|
23
26
|
}
|
|
24
27
|
/** Render one semantic body row and the complete declarative table-cell vocabulary. */
|
|
25
|
-
export declare function renderTableRow({ row, model, visibleColumns, emptyCellLabel, actionMenuElementId, actionMenu, ariaRowIndex, variableVirtualSize, rowKey, renderSelectionControl, renderStickyEdge, onRowActivate, onRowKeyDown, onRowSelection, onCellAction, onActionMenuToggle, }: TableRowViewOptions): any;
|
|
28
|
+
export declare function renderTableRow({ row, model, visibleColumns, emptyCellLabel, actionMenuElementId, actionMenu, highlightMatcher, highlightFieldIds, ariaRowIndex, variableVirtualSize, rowKey, renderSelectionControl, renderStickyEdge, onRowActivate, onRowKeyDown, onRowSelection, onCellAction, onActionMenuToggle, }: TableRowViewOptions): any;
|
|
26
29
|
//# sourceMappingURL=table-row-view.d.ts.map
|
|
@@ -23,7 +23,12 @@ export type TableCellLineClamp = TableCellMaxLines | 'none';
|
|
|
23
23
|
export type TableGroupIntent = 'brand' | 'neutral' | 'negative' | 'warning' | 'caution' | 'positive';
|
|
24
24
|
/** Independently sortable label within a compound column header. */
|
|
25
25
|
export interface TableHeaderSegment {
|
|
26
|
+
/** Compact label rendered inside the table header. */
|
|
26
27
|
label: string;
|
|
28
|
+
/** Complete data-point label used when the segment is named outside the table header. */
|
|
29
|
+
dataLabel?: string;
|
|
30
|
+
/** Whether this data point is offered by TableSearch. Defaults to true. */
|
|
31
|
+
searchable?: boolean;
|
|
27
32
|
/** Stable key emitted through TableSortState.columnId. */
|
|
28
33
|
sortKey: string;
|
|
29
34
|
/** Visible separator rendered after this label when another segment follows. */
|
|
@@ -192,22 +197,31 @@ export type TableCellAction = TableCellActionBase & ({
|
|
|
192
197
|
});
|
|
193
198
|
/** Declarative Tag content rendered by the table's standard cell primitive. */
|
|
194
199
|
export type TableCellTagVariant = 'tag-only' | 'tag-with-text' | 'text-with-tag';
|
|
195
|
-
|
|
196
|
-
|
|
200
|
+
/** One Tag inside a single- or multiple-Tag table cell. */
|
|
201
|
+
export interface TableCellTagItem {
|
|
197
202
|
label: string;
|
|
198
203
|
intent?: TagIntent;
|
|
199
204
|
contrast?: TagContrast;
|
|
200
205
|
icon?: string;
|
|
201
206
|
rounded?: boolean;
|
|
202
207
|
}
|
|
203
|
-
export type TableCellTag =
|
|
208
|
+
export type TableCellTag = TableCellTagItem & {
|
|
209
|
+
kind: 'tag';
|
|
210
|
+
} & ({
|
|
204
211
|
variant?: 'tag-only';
|
|
205
212
|
text?: never;
|
|
206
213
|
} | {
|
|
207
214
|
variant: Exclude<TableCellTagVariant, 'tag-only'>;
|
|
208
215
|
text: string;
|
|
209
216
|
});
|
|
210
|
-
|
|
217
|
+
/** Multiple Tags that wrap inline while retaining the table's named track rhythm. */
|
|
218
|
+
export interface TableCellTags {
|
|
219
|
+
kind: 'tags';
|
|
220
|
+
items: TableCellTagItem[];
|
|
221
|
+
/** Expected positive wrapped-line count used for row geometry and virtual estimates. */
|
|
222
|
+
tracks: number;
|
|
223
|
+
}
|
|
224
|
+
export type TableCellValue = string | number | null | undefined | TableCellText | TableCellPrimaryText | TableCellTag | TableCellTags | TableCellIcon | TableCellIconText | TableCellImage | TableCellAction | TableCellEmpty | TableCellBlank;
|
|
211
225
|
export type TableSkeletonWidth = string | number;
|
|
212
226
|
/** Representative loading geometry for one table column. */
|
|
213
227
|
export type TableCellSkeleton = {
|
|
@@ -246,6 +260,10 @@ export interface TableColumn {
|
|
|
246
260
|
id: string;
|
|
247
261
|
/** Visible column label. May be empty when headerLabel supplies a non-visual name. */
|
|
248
262
|
header: string;
|
|
263
|
+
/** Complete data-point label used by controls such as Sort and Search. */
|
|
264
|
+
dataLabel?: string;
|
|
265
|
+
/** Whether this data point is offered by TableSearch. Defaults to true for data columns. */
|
|
266
|
+
searchable?: boolean;
|
|
249
267
|
/** Screen-reader-only column name for an intentionally blank visual header. */
|
|
250
268
|
headerLabel?: string;
|
|
251
269
|
/** Supplementary header help. Does not replace the visible or accessible column name. */
|
|
@@ -9,6 +9,8 @@ export declare const TABLE_VIRTUAL_ROW_TRACK_SIZE: {
|
|
|
9
9
|
readonly 3: 84;
|
|
10
10
|
readonly 4: 106;
|
|
11
11
|
};
|
|
12
|
+
/** Estimated row height for any positive named track count. */
|
|
13
|
+
export declare function tableVirtualRowTrackSize(tracks: number): number;
|
|
12
14
|
export declare const TABLE_VIRTUAL_GROUP_HEADER_SIZE: 40;
|
|
13
15
|
export declare const TABLE_VIRTUAL_MIN_OVERSCAN_ROWS = 8;
|
|
14
16
|
export declare const TABLE_VIRTUAL_VIEWPORT_REQUIRED_HEADING = "Bounded height required";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import type { FilterMenuChangeDetail, FilterMenuFilter, FilterMenuValues } from '../FilterMenu/FilterMenu';
|
|
2
|
+
import type { FilterMenuChangeDetail, FilterMenuFilter, FilterMenuMatchModeChangeDetail, FilterMenuMatchModes, FilterMenuValues } from '../FilterMenu/FilterMenu';
|
|
3
3
|
export declare class TableFilter {
|
|
4
4
|
/** Controlled popup visibility. */
|
|
5
5
|
open: boolean;
|
|
@@ -7,6 +7,8 @@ export declare class TableFilter {
|
|
|
7
7
|
filters: FilterMenuFilter[];
|
|
8
8
|
/** Controlled values keyed by filter id. */
|
|
9
9
|
values: FilterMenuValues;
|
|
10
|
+
/** Controlled any/all match mode keyed by multiple-choice filter id. Defaults to any. */
|
|
11
|
+
matchModes: FilterMenuMatchModes;
|
|
10
12
|
/** Controlled category shown in the option pane. */
|
|
11
13
|
activeFilterId: string | undefined;
|
|
12
14
|
/** Visible trigger label. */
|
|
@@ -19,10 +21,16 @@ export declare class TableFilter {
|
|
|
19
21
|
categoriesLabel: string;
|
|
20
22
|
/** Footer action and date-clear accessible label. */
|
|
21
23
|
clearLabel: string;
|
|
24
|
+
/** Placeholder shown in each non-date option search header. */
|
|
25
|
+
searchPlaceholder: string;
|
|
26
|
+
/** Empty-state text shown when an option search has no matches. */
|
|
27
|
+
noResultsText: string;
|
|
22
28
|
/** Requests a controlled value replacement without closing the popup. */
|
|
23
29
|
dsChange: EventEmitter<FilterMenuChangeDetail>;
|
|
24
30
|
/** Requests that the consumer clear every filter value. */
|
|
25
31
|
dsClear: EventEmitter<void>;
|
|
32
|
+
/** Requests a controlled any/all mode replacement for a multiple-choice filter. */
|
|
33
|
+
dsMatchModeChange: EventEmitter<FilterMenuMatchModeChangeDetail>;
|
|
26
34
|
/** Requests a controlled active-category replacement. */
|
|
27
35
|
dsActiveFilterChange: EventEmitter<string>;
|
|
28
36
|
/** Requests that the controlled popup close. */
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { TableGroupingState } from '../Table/table-types';
|
|
3
|
+
export interface TableGroupOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
isInactive?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare class TableGroup {
|
|
10
|
+
private el;
|
|
11
|
+
/** Product-owned data points that may group the table. */
|
|
12
|
+
options: TableGroupOption[];
|
|
13
|
+
/** Controlled grouping field and the order of its group sections. */
|
|
14
|
+
grouping: TableGroupingState | null;
|
|
15
|
+
/** Accessible name for the trigger and non-modal dialog. */
|
|
16
|
+
ariaLabel: string | null;
|
|
17
|
+
/** Controlled popup visibility. */
|
|
18
|
+
open: boolean;
|
|
19
|
+
/** Empty message kept in the order pane until a grouping data point is selected. */
|
|
20
|
+
emptyMessage: string;
|
|
21
|
+
/** Clear action label. */
|
|
22
|
+
clearLabel: string;
|
|
23
|
+
/** Requests replacement of the complete controlled grouping state. */
|
|
24
|
+
dsGroupChange: EventEmitter<TableGroupingState>;
|
|
25
|
+
/** Requests removal of the controlled grouping state. */
|
|
26
|
+
dsClear: EventEmitter<void>;
|
|
27
|
+
/** Reports controlled popup visibility changes. */
|
|
28
|
+
dsOpenChange: EventEmitter<boolean>;
|
|
29
|
+
private shouldRender;
|
|
30
|
+
private closing;
|
|
31
|
+
private positionReady;
|
|
32
|
+
private pos;
|
|
33
|
+
private focusRingVisible;
|
|
34
|
+
private readonly componentId;
|
|
35
|
+
private readonly triggerId;
|
|
36
|
+
private readonly popupId;
|
|
37
|
+
private triggerElement;
|
|
38
|
+
private pendingInitialFocusVisible;
|
|
39
|
+
private closeTimer;
|
|
40
|
+
private readonly position;
|
|
41
|
+
private readonly interaction;
|
|
42
|
+
componentDidLoad(): void;
|
|
43
|
+
disconnectedCallback(): void;
|
|
44
|
+
onOpenChange(isOpen: boolean): void;
|
|
45
|
+
handleKeyDown(event: KeyboardEvent): void;
|
|
46
|
+
private get popupFallbackWidth();
|
|
47
|
+
private get popupFallbackHeight();
|
|
48
|
+
private teardown;
|
|
49
|
+
private toggle;
|
|
50
|
+
private close;
|
|
51
|
+
private finishClose;
|
|
52
|
+
private focusInitialDataPoint;
|
|
53
|
+
private selectData;
|
|
54
|
+
private selectDirection;
|
|
55
|
+
private moveFocus;
|
|
56
|
+
private renderDataOption;
|
|
57
|
+
private renderDirection;
|
|
58
|
+
render(): any;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=TableGroup.d.ts.map
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { TableColumn } from '../Table/table-types';
|
|
3
|
+
import type { TableSearchFieldsChangeDetail } from './table-search-types';
|
|
4
|
+
export declare class TableSearch {
|
|
5
|
+
private el;
|
|
6
|
+
/** Controlled free-text query. */
|
|
7
|
+
value: string;
|
|
8
|
+
/** Table column catalog used to derive searchable data points and their complete labels. */
|
|
9
|
+
columns: TableColumn[];
|
|
10
|
+
/** Controlled ordered field scopes rendered as Tags. */
|
|
11
|
+
selectedFieldIds: string[];
|
|
12
|
+
placeholder: string;
|
|
13
|
+
ariaLabel: string;
|
|
14
|
+
clearLabel: string;
|
|
15
|
+
fieldMenuLabel: string;
|
|
16
|
+
isInactive: boolean;
|
|
17
|
+
dsChange: EventEmitter<string>;
|
|
18
|
+
dsFieldsChange: EventEmitter<TableSearchFieldsChangeDetail>;
|
|
19
|
+
dsClear: EventEmitter<void>;
|
|
20
|
+
private menuOpen;
|
|
21
|
+
private menuQuery;
|
|
22
|
+
private activeIndex;
|
|
23
|
+
private focusRingVisible;
|
|
24
|
+
private position;
|
|
25
|
+
private positionReady;
|
|
26
|
+
private availableHeight;
|
|
27
|
+
private announcement;
|
|
28
|
+
private readonly componentId;
|
|
29
|
+
private readonly inputId;
|
|
30
|
+
private readonly listboxId;
|
|
31
|
+
private readonly descriptionId;
|
|
32
|
+
private inputEl;
|
|
33
|
+
private controlEl;
|
|
34
|
+
private popupEl;
|
|
35
|
+
private readonly positionController;
|
|
36
|
+
private readonly interactionController;
|
|
37
|
+
disconnectedCallback(): void;
|
|
38
|
+
syncAvailableFields(): void;
|
|
39
|
+
syncInactive(isInactive: boolean): void;
|
|
40
|
+
setFocus(): Promise<void>;
|
|
41
|
+
private get selectedFields();
|
|
42
|
+
private get availableFields();
|
|
43
|
+
private get visibleFields();
|
|
44
|
+
private get searchFields();
|
|
45
|
+
private get activeOptionId();
|
|
46
|
+
private openMenu;
|
|
47
|
+
private closeMenu;
|
|
48
|
+
private handleInput;
|
|
49
|
+
private selectField;
|
|
50
|
+
private removeLastField;
|
|
51
|
+
private removeField;
|
|
52
|
+
private clearSearch;
|
|
53
|
+
private handleKeyDown;
|
|
54
|
+
render(): any;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=TableSearch.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TableColumn } from '../Table/table-types';
|
|
2
|
+
import type { TableSearchField } from './table-search-types';
|
|
3
|
+
/** Searchable data points from the table catalog, including compound header segments. */
|
|
4
|
+
export declare function tableSearchFields(columns: readonly TableColumn[]): TableSearchField[];
|
|
5
|
+
export declare function selectedTableSearchFields(fields: readonly TableSearchField[], selectedFieldIds: string[]): TableSearchField[];
|
|
6
|
+
export declare function availableTableSearchFields(fields: readonly TableSearchField[], selectedFieldIds: string[]): TableSearchField[];
|
|
7
|
+
/** Matches the field-picker query against the complete visible label and canonical identity. */
|
|
8
|
+
export declare function filterTableSearchFields(fields: readonly TableSearchField[], query: string): TableSearchField[];
|
|
9
|
+
export declare function nextTableSearchActiveIndex(currentIndex: number, optionCount: number, direction: 1 | -1): number;
|
|
10
|
+
//# sourceMappingURL=table-search-model.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface TableSearchField {
|
|
2
|
+
/** Stable application-owned field identity used to scope filtering. */
|
|
3
|
+
id: string;
|
|
4
|
+
/** Visible field label shown in the slash menu and selected Tag. */
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export interface TableSearchFieldsChangeDetail {
|
|
8
|
+
selectedFieldIds: string[];
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=table-search-types.d.ts.map
|