carbon-components-angular 3.16.3 → 3.17.3
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/docs/documentation/classes/DataGridInteractionModel.html +1462 -0
- package/docs/documentation/classes/NumberChange.html +8 -7
- package/docs/documentation/classes/TableAdapter.html +852 -0
- package/docs/documentation/classes/TableCellAdapter.html +445 -0
- package/docs/documentation/classes/TableDomAdapter.html +968 -0
- package/docs/documentation/classes/TableHeaderItem.html +125 -64
- package/docs/documentation/classes/TableItem.html +5 -18
- package/docs/documentation/classes/TableModel.html +445 -180
- package/docs/documentation/classes/TableRowAdapter.html +445 -0
- package/docs/documentation/components/Accordion.html +2 -2
- package/docs/documentation/components/AccordionItem.html +2 -2
- package/docs/documentation/components/AlertModal.html +2 -2
- package/docs/documentation/components/Breadcrumb.html +2 -2
- package/docs/documentation/components/BreadcrumbItemComponent.html +2 -2
- package/docs/documentation/components/Checkbox.html +2 -2
- package/docs/documentation/components/ClickableTile.html +2 -2
- package/docs/documentation/components/CodeSnippet.html +2 -2
- package/docs/documentation/components/ComboBox.html +2 -2
- package/docs/documentation/components/ContentSwitcher.html +2 -2
- package/docs/documentation/components/DatePicker.html +2 -2
- package/docs/documentation/components/DatePickerInput.html +2 -2
- package/docs/documentation/components/Dialog.html +2 -2
- package/docs/documentation/components/DialogPlaceholder.html +2 -2
- package/docs/documentation/components/Documentation.html +2 -2
- package/docs/documentation/components/Dropdown.html +12 -7
- package/docs/documentation/components/DropdownList.html +2 -2
- package/docs/documentation/components/ExpandableTile.html +2 -2
- package/docs/documentation/components/File.html +51 -8
- package/docs/documentation/components/FileUploader.html +41 -29
- package/docs/documentation/components/Hamburger.html +2 -2
- package/docs/documentation/components/Header.html +430 -13
- package/docs/documentation/components/HeaderAction.html +8 -10
- package/docs/documentation/components/HeaderGlobal.html +2 -2
- package/docs/documentation/components/HeaderItem.html +2 -2
- package/docs/documentation/components/HeaderMenu.html +2 -2
- package/docs/documentation/components/HeaderNavigation.html +2 -2
- package/docs/documentation/components/InlineLoading.html +2 -2
- package/docs/documentation/components/Label.html +2 -2
- package/docs/documentation/components/ListColumn.html +2 -2
- package/docs/documentation/components/ListHeader.html +2 -2
- package/docs/documentation/components/ListRow.html +2 -2
- package/docs/documentation/components/Loading.html +2 -2
- package/docs/documentation/components/Modal.html +2 -2
- package/docs/documentation/components/ModalFooter.html +2 -2
- package/docs/documentation/components/ModalHeader.html +2 -2
- package/docs/documentation/components/ModalPlaceholder.html +2 -2
- package/docs/documentation/components/Notification.html +39 -7
- package/docs/documentation/components/{Number.html → NumberComponent.html} +14 -13
- package/docs/documentation/components/OverflowMenu.html +2 -2
- package/docs/documentation/components/OverflowMenuOption.html +2 -2
- package/docs/documentation/components/OverflowMenuPane.html +2 -2
- package/docs/documentation/components/Overlay.html +2 -2
- package/docs/documentation/components/Pagination.html +2 -2
- package/docs/documentation/components/Panel.html +2 -2
- package/docs/documentation/components/Placeholder.html +2 -2
- package/docs/documentation/components/ProductSwitcher.html +2 -2
- package/docs/documentation/components/ProgressIndicator.html +2 -2
- package/docs/documentation/components/Radio.html +2 -2
- package/docs/documentation/components/RadioGroup.html +2 -2
- package/docs/documentation/components/Sample.html +2 -2
- package/docs/documentation/components/SampleSub.html +2 -2
- package/docs/documentation/components/Search.html +2 -2
- package/docs/documentation/components/Select.html +2 -2
- package/docs/documentation/components/SelectionTile.html +2 -2
- package/docs/documentation/components/SideNav.html +2 -2
- package/docs/documentation/components/SideNavHeader.html +2 -2
- package/docs/documentation/components/SideNavItem.html +2 -2
- package/docs/documentation/components/SideNavMenu.html +2 -2
- package/docs/documentation/components/Slider.html +2 -2
- package/docs/documentation/components/StructuredList.html +2 -2
- package/docs/documentation/components/SwitcherList.html +2 -2
- package/docs/documentation/components/SwitcherListItem.html +2 -2
- package/docs/documentation/components/Tab.html +2 -2
- package/docs/documentation/components/TabHeaders.html +34 -32
- package/docs/documentation/components/Table.html +1039 -1121
- package/docs/documentation/components/TableBody.html +1145 -0
- package/docs/documentation/components/TableCheckbox.html +828 -0
- package/docs/documentation/components/TableContainer.html +2 -2
- package/docs/documentation/components/TableData.html +307 -0
- package/docs/documentation/components/TableExpandButton.html +762 -0
- package/docs/documentation/components/TableExpandedRow.html +567 -0
- package/docs/documentation/components/TableHead.html +1549 -0
- package/docs/documentation/components/TableHeadCell.html +1307 -0
- package/docs/documentation/components/TableHeadCheckbox.html +792 -0
- package/docs/documentation/components/TableHeadExpand.html +292 -0
- package/docs/documentation/components/TableHeader.html +2 -2
- package/docs/documentation/components/TableRowComponent.html +1414 -0
- package/docs/documentation/components/TableToolbar.html +2 -2
- package/docs/documentation/components/TableToolbarActions.html +2 -2
- package/docs/documentation/components/TableToolbarContent.html +2 -2
- package/docs/documentation/components/TableToolbarSearch.html +2 -2
- package/docs/documentation/components/Tabs.html +2 -2
- package/docs/documentation/components/Tag.html +2 -2
- package/docs/documentation/components/TagFilter.html +2 -2
- package/docs/documentation/components/Tile.html +2 -2
- package/docs/documentation/components/TileGroup.html +2 -2
- package/docs/documentation/components/TimePicker.html +2 -2
- package/docs/documentation/components/TimePickerSelect.html +2 -2
- package/docs/documentation/components/Toast.html +79 -9
- package/docs/documentation/components/Toggle.html +2 -2
- package/docs/documentation/components/Tooltip.html +2 -2
- package/docs/documentation/components/TooltipDefinition.html +2 -2
- package/docs/documentation/components/TooltipIcon.html +2 -2
- package/docs/documentation/coverage.html +297 -25
- package/docs/documentation/directives/DataGridFocus.html +38 -117
- package/docs/documentation/directives/TableDirective.html +452 -0
- package/docs/documentation/graph/dependencies.dot +2 -4
- package/docs/documentation/images/coverage-badge-documentation.svg +1 -1
- package/docs/documentation/interfaces/DataGridPosition.html +490 -0
- package/docs/documentation/interfaces/FileItem.html +66 -0
- package/docs/documentation/interfaces/NotificationContent.html +39 -0
- package/docs/documentation/interfaces/TableTranslations.html +254 -455
- package/docs/documentation/interfaces/ToastContent.html +1 -0
- package/docs/documentation/js/menu-wc.js +1 -1
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/modules/FileUploaderModule.html +3 -1
- package/docs/documentation/modules/NumberModule/dependencies.svg +30 -56
- package/docs/documentation/modules/NumberModule.html +32 -58
- package/docs/documentation/modules/TableModule/dependencies.svg +424 -160
- package/docs/documentation/modules/TableModule.html +575 -182
- package/docs/documentation/overview.html +4 -4
- package/docs/storybook/iframe.html +3 -3
- package/docs/storybook/{main.9e8069cf2ee0957ae098.bundle.js → main.edce6b8dbd74b486e13b.bundle.js} +4631 -2440
- package/docs/storybook/main.edce6b8dbd74b486e13b.bundle.js.map +1 -0
- package/docs/storybook/{runtime~main.9e8069cf2ee0957ae098.bundle.js → runtime~main.edce6b8dbd74b486e13b.bundle.js} +1 -1
- package/docs/storybook/{runtime~main.9e8069cf2ee0957ae098.bundle.js.map → runtime~main.edce6b8dbd74b486e13b.bundle.js.map} +1 -1
- package/docs/storybook/{vendors~main.9e8069cf2ee0957ae098.bundle.js → vendors~main.edce6b8dbd74b486e13b.bundle.js} +1 -1
- package/docs/storybook/{vendors~main.9e8069cf2ee0957ae098.bundle.js.map → vendors~main.edce6b8dbd74b486e13b.bundle.js.map} +1 -1
- package/dropdown/dropdown.component.js +4 -0
- package/dropdown/dropdown.component.js.map +1 -1
- package/file-uploader/file-item.interface.d.ts +2 -0
- package/file-uploader/file-item.interface.js.map +1 -1
- package/file-uploader/file-uploader.component.js +3 -1
- package/file-uploader/file-uploader.component.js.map +1 -1
- package/file-uploader/file-uploader.component.metadata.json +1 -1
- package/file-uploader/file-uploader.component.ngfactory.js +9 -8
- package/file-uploader/file-uploader.component.ngfactory.js.map +1 -1
- package/file-uploader/file-uploader.module.js +3 -1
- package/file-uploader/file-uploader.module.js.map +1 -1
- package/file-uploader/file-uploader.module.metadata.json +1 -1
- package/file-uploader/file-uploader.module.ngfactory.js +2 -1
- package/file-uploader/file-uploader.module.ngfactory.js.map +1 -1
- package/file-uploader/file-uploader.module.ngsummary.json +1 -1
- package/file-uploader/file.component.d.ts +1 -0
- package/file-uploader/file.component.js +10 -2
- package/file-uploader/file.component.js.map +1 -1
- package/file-uploader/file.component.metadata.json +1 -1
- package/file-uploader/file.component.ngfactory.js +19 -16
- package/file-uploader/file.component.ngfactory.js.map +1 -1
- package/file-uploader/file.component.ngsummary.json +1 -1
- package/index.ngsummary.json +1 -1
- package/notification/notification-content.interface.d.ts +1 -0
- package/notification/notification-content.interface.js.map +1 -1
- package/notification/notification.component.d.ts +1 -0
- package/notification/notification.component.js +7 -1
- package/notification/notification.component.js.map +1 -1
- package/notification/notification.component.metadata.json +1 -1
- package/notification/notification.component.ngfactory.js +1 -1
- package/notification/notification.component.ngsummary.json +1 -1
- package/notification/toast.component.d.ts +1 -0
- package/notification/toast.component.js +7 -1
- package/notification/toast.component.js.map +1 -1
- package/notification/toast.component.metadata.json +1 -1
- package/notification/toast.component.ngfactory.js +1 -1
- package/notification/toast.component.ngsummary.json +1 -1
- package/number-input/number.component.d.ts +3 -2
- package/number-input/number.component.js +21 -20
- package/number-input/number.component.js.map +1 -1
- package/package.json +1 -1
- package/table/body/table-body.component.d.ts +77 -0
- package/table/body/table-body.component.js +120 -0
- package/table/body/table-body.component.js.map +1 -0
- package/table/body/table-body.component.metadata.json +1 -0
- package/{utils/window-tools.d.ts → table/body/table-body.component.ngfactory.d.ts} +2 -2
- package/table/body/table-body.component.ngfactory.js +62 -0
- package/table/body/table-body.component.ngfactory.js.map +1 -0
- package/table/body/table-body.component.ngsummary.json +1 -0
- package/table/body/table-expanded-row.component.d.ts +28 -0
- package/table/body/table-expanded-row.component.js +58 -0
- package/table/body/table-expanded-row.component.js.map +1 -0
- package/table/body/table-expanded-row.component.metadata.json +1 -0
- package/table/body/table-expanded-row.component.ngfactory.d.ts +21 -0
- package/table/body/table-expanded-row.component.ngfactory.js +39 -0
- package/table/body/table-expanded-row.component.ngfactory.js.map +1 -0
- package/table/body/table-expanded-row.component.ngsummary.json +1 -0
- package/table/body/table-row.component.d.ts +85 -0
- package/table/body/table-row.component.js +163 -0
- package/table/body/table-row.component.js.map +1 -0
- package/table/body/table-row.component.metadata.json +1 -0
- package/table/body/table-row.component.ngfactory.d.ts +21 -0
- package/table/body/table-row.component.ngfactory.js +55 -0
- package/table/body/table-row.component.ngfactory.js.map +1 -0
- package/table/body/table-row.component.ngsummary.json +1 -0
- package/table/cell/table-checkbox.component.d.ts +56 -0
- package/table/cell/table-checkbox.component.js +80 -0
- package/table/cell/table-checkbox.component.js.map +1 -0
- package/table/cell/table-checkbox.component.metadata.json +1 -0
- package/table/cell/table-checkbox.component.ngfactory.d.ts +21 -0
- package/table/cell/table-checkbox.component.ngfactory.js +46 -0
- package/table/cell/table-checkbox.component.ngfactory.js.map +1 -0
- package/table/cell/table-checkbox.component.ngsummary.json +1 -0
- package/table/cell/table-data.component.d.ts +24 -0
- package/table/cell/table-data.component.js +40 -0
- package/table/cell/table-data.component.js.map +1 -0
- package/table/cell/table-data.component.metadata.json +1 -0
- package/table/cell/table-data.component.ngfactory.d.ts +21 -0
- package/table/cell/table-data.component.ngfactory.js +39 -0
- package/table/cell/table-data.component.ngfactory.js.map +1 -0
- package/table/cell/table-data.component.ngsummary.json +1 -0
- package/table/cell/table-expand-button.component.d.ts +43 -0
- package/table/cell/table-expand-button.component.js +83 -0
- package/table/cell/table-expand-button.component.js.map +1 -0
- package/table/cell/table-expand-button.component.metadata.json +1 -0
- package/table/cell/table-expand-button.component.ngfactory.d.ts +21 -0
- package/table/cell/table-expand-button.component.ngfactory.js +44 -0
- package/table/cell/table-expand-button.component.ngfactory.js.map +1 -0
- package/table/cell/table-expand-button.component.ngsummary.json +1 -0
- package/table/data-grid-focus.directive.d.ts +5 -1
- package/table/data-grid-focus.directive.js +17 -24
- package/table/data-grid-focus.directive.js.map +1 -1
- package/table/data-grid-focus.directive.metadata.json +1 -1
- package/table/data-grid-focus.directive.ngsummary.json +1 -1
- package/table/data-grid-interaction-model.class.d.ts +185 -0
- package/table/data-grid-interaction-model.class.js +269 -0
- package/table/data-grid-interaction-model.class.js.map +1 -0
- package/table/data-grid-interaction-model.class.metadata.json +1 -0
- package/table/data-grid-interaction-model.class.ngsummary.json +1 -0
- package/table/head/table-head-cell.component.d.ts +46 -0
- package/table/head/table-head-cell.component.js +117 -0
- package/table/head/table-head-cell.component.js.map +1 -0
- package/table/head/table-head-cell.component.metadata.json +1 -0
- package/table/head/table-head-cell.component.ngfactory.d.ts +21 -0
- package/table/head/table-head-cell.component.ngfactory.js +55 -0
- package/table/head/table-head-cell.component.ngfactory.js.map +1 -0
- package/table/head/table-head-cell.component.ngsummary.json +1 -0
- package/table/head/table-head-checkbox.component.d.ts +40 -0
- package/table/head/table-head-checkbox.component.js +75 -0
- package/table/head/table-head-checkbox.component.js.map +1 -0
- package/table/head/table-head-checkbox.component.metadata.json +1 -0
- package/table/head/table-head-checkbox.component.ngfactory.d.ts +21 -0
- package/table/head/table-head-checkbox.component.ngfactory.js +45 -0
- package/table/head/table-head-checkbox.component.ngfactory.js.map +1 -0
- package/table/head/table-head-checkbox.component.ngsummary.json +1 -0
- package/table/head/table-head-expand.component.d.ts +23 -0
- package/table/head/table-head-expand.component.js +39 -0
- package/table/head/table-head-expand.component.js.map +1 -0
- package/table/head/table-head-expand.component.metadata.json +1 -0
- package/table/head/table-head-expand.component.ngfactory.d.ts +21 -0
- package/table/head/table-head-expand.component.ngfactory.js +36 -0
- package/table/head/table-head-expand.component.ngfactory.js.map +1 -0
- package/table/head/table-head-expand.component.ngsummary.json +1 -0
- package/table/head/table-head.component.d.ts +77 -0
- package/table/head/table-head.component.js +157 -0
- package/table/head/table-head.component.js.map +1 -0
- package/table/head/table-head.component.metadata.json +1 -0
- package/table/head/table-head.component.ngfactory.d.ts +21 -0
- package/table/head/table-head.component.ngfactory.js +56 -0
- package/table/head/table-head.component.ngfactory.js.map +1 -0
- package/table/head/table-head.component.ngsummary.json +1 -0
- package/table/table-adapter.class.d.ts +149 -0
- package/table/table-adapter.class.js +210 -0
- package/table/table-adapter.class.js.map +1 -0
- package/table/table-adapter.class.metadata.json +1 -0
- package/table/table-adapter.class.ngsummary.json +1 -0
- package/table/table-header-item.class.d.ts +8 -35
- package/table/table-header-item.class.js +0 -17
- package/table/table-header-item.class.js.map +1 -1
- package/table/table-item.class.d.ts +0 -13
- package/table/table-item.class.js +0 -2
- package/table/table-item.class.js.map +1 -1
- package/table/table-model.class.d.ts +41 -105
- package/table/table-model.class.js +45 -73
- package/table/table-model.class.js.map +1 -1
- package/table/table-model.class.metadata.json +1 -1
- package/table/table-model.class.ngsummary.json +1 -1
- package/table/table.component.d.ts +45 -81
- package/table/table.component.js +191 -200
- package/table/table.component.js.map +1 -1
- package/table/table.component.metadata.json +1 -1
- package/table/table.component.ngfactory.js +30 -199
- package/table/table.component.ngfactory.js.map +1 -1
- package/table/table.component.ngsummary.json +1 -1
- package/table/table.directive.d.ts +33 -0
- package/table/table.directive.js +72 -0
- package/table/table.directive.js.map +1 -0
- package/table/table.directive.metadata.json +1 -0
- package/table/table.directive.ngfactory.js.map +1 -0
- package/table/table.directive.ngsummary.json +1 -0
- package/table/table.module.d.ts +25 -11
- package/table/table.module.js +60 -21
- package/table/table.module.js.map +1 -1
- package/table/table.module.metadata.json +1 -1
- package/table/table.module.ngfactory.js.map +1 -1
- package/table/table.module.ngsummary.json +1 -1
- package/tabs/tab-headers.component.js +1 -1
- package/tabs/tab-headers.component.js.map +1 -1
- package/tabs/tab-headers.component.metadata.json +1 -1
- package/tabs/tab-headers.component.ngfactory.js +1 -1
- package/tabs/tab-headers.component.ngfactory.js.map +1 -1
- package/ui-shell/header/header-action.component.js +1 -1
- package/ui-shell/header/header-action.component.js.map +1 -1
- package/ui-shell/header/header-action.component.metadata.json +1 -1
- package/ui-shell/header/header-action.component.ngfactory.js +5 -6
- package/ui-shell/header/header-action.component.ngfactory.js.map +1 -1
- package/ui-shell/header/header.component.d.ts +26 -1
- package/ui-shell/header/header.component.js +40 -5
- package/ui-shell/header/header.component.js.map +1 -1
- package/ui-shell/header/header.component.metadata.json +1 -1
- package/ui-shell/header/header.component.ngfactory.js +9 -3
- package/ui-shell/header/header.component.ngfactory.js.map +1 -1
- package/ui-shell/header/header.component.ngsummary.json +1 -1
- package/ui-shell/header/header.module.ngfactory.js.map +1 -1
- package/common/utils.d.ts +0 -35
- package/common/utils.js +0 -40
- package/common/utils.js.map +0 -1
- package/common/utils.metadata.json +0 -1
- package/common/utils.ngsummary.json +0 -1
- package/docs/storybook/main.9e8069cf2ee0957ae098.bundle.js.map +0 -1
- package/utils/window-tools.js +0 -46
- package/utils/window-tools.js.map +0 -1
- package/utils/window-tools.metadata.json +0 -1
- package/utils/window-tools.ngsummary.json +0 -1
|
@@ -0,0 +1,1414 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="no-js" lang="">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
6
|
+
<title>carbon-components-angular documentation</title>
|
|
7
|
+
<meta name="description" content="">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
|
|
10
|
+
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
|
|
11
|
+
<link rel="stylesheet" href="../styles/style.css">
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
|
|
15
|
+
<div class="navbar navbar-default navbar-fixed-top visible-xs">
|
|
16
|
+
<a href="../" class="navbar-brand">carbon-components-angular documentation</a>
|
|
17
|
+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
<div class="xs-menu menu" id="mobile-menu">
|
|
21
|
+
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<div class="container-fluid main">
|
|
25
|
+
<div class="row main">
|
|
26
|
+
<div class="hidden-xs menu">
|
|
27
|
+
<compodoc-menu mode="normal"></compodoc-menu>
|
|
28
|
+
</div>
|
|
29
|
+
<!-- START CONTENT -->
|
|
30
|
+
<div class="content component">
|
|
31
|
+
<div class="content-data">
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
<ol class="breadcrumb">
|
|
37
|
+
<li>Components</li>
|
|
38
|
+
<li>TableRowComponent</li>
|
|
39
|
+
</ol>
|
|
40
|
+
|
|
41
|
+
<ul class="nav nav-tabs" role="tablist">
|
|
42
|
+
<li class="active">
|
|
43
|
+
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a>
|
|
44
|
+
</li>
|
|
45
|
+
<li >
|
|
46
|
+
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a>
|
|
47
|
+
</li>
|
|
48
|
+
<li >
|
|
49
|
+
<a href="#tree" role="tab" id="tree-tab" data-toggle="tab" data-link="dom-tree">DOM Tree</a>
|
|
50
|
+
</li>
|
|
51
|
+
</ul>
|
|
52
|
+
|
|
53
|
+
<div class="tab-content">
|
|
54
|
+
<div class="tab-pane fade active in" id="c-info"><p class="comment">
|
|
55
|
+
<h3>File</h3>
|
|
56
|
+
</p>
|
|
57
|
+
<p class="comment">
|
|
58
|
+
<code>src/table/body/table-row.component.ts</code>
|
|
59
|
+
</p>
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
<section>
|
|
66
|
+
<h3>Metadata</h3>
|
|
67
|
+
<table class="table table-sm table-hover">
|
|
68
|
+
<tbody>
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
<tr>
|
|
81
|
+
<td class="col-md-3">selector</td>
|
|
82
|
+
<td class="col-md-9"><code>[ibmTableRow]</code></td>
|
|
83
|
+
</tr>
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
<tr>
|
|
88
|
+
<td class="col-md-3">template</td>
|
|
89
|
+
<td class="col-md-9"><pre class="line-numbers"><code class="language-html"><ng-container *ngIf="model">
|
|
90
|
+
<td
|
|
91
|
+
*ngIf="model.hasExpandableRows()"
|
|
92
|
+
ibmTableExpandButton
|
|
93
|
+
[expanded]="expanded"
|
|
94
|
+
[expandable]="expandable"
|
|
95
|
+
[skeleton]="skeleton"
|
|
96
|
+
[ariaLabel]="getExpandButtonAriaLabel()"
|
|
97
|
+
(expandRow)="expandRow.emit()">
|
|
98
|
+
</td>
|
|
99
|
+
<td
|
|
100
|
+
*ngIf="!skeleton && showSelectionColumn"
|
|
101
|
+
ibmTableCheckbox
|
|
102
|
+
[size]="size"
|
|
103
|
+
[selected]="selected"
|
|
104
|
+
[label]="getCheckboxLabel()"
|
|
105
|
+
[skeleton]="skeleton"
|
|
106
|
+
(change)="onSelectionChange()">
|
|
107
|
+
</td>
|
|
108
|
+
<ng-container *ngFor="let item of row; let j = index">
|
|
109
|
+
<td
|
|
110
|
+
*ngIf="model.header[j].visible"
|
|
111
|
+
ibmTableData
|
|
112
|
+
[item]="item"
|
|
113
|
+
[class]="model.header[j].className"
|
|
114
|
+
[ngStyle]="model.header[j].style"
|
|
115
|
+
[skeleton]="skeleton">
|
|
116
|
+
</td>
|
|
117
|
+
</ng-container>
|
|
118
|
+
</ng-container>
|
|
119
|
+
<ng-content></ng-content>
|
|
120
|
+
</code></pre></td>
|
|
121
|
+
</tr>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
</tbody>
|
|
132
|
+
</table>
|
|
133
|
+
</section>
|
|
134
|
+
|
|
135
|
+
<section>
|
|
136
|
+
<h3 id="index">Index</h3>
|
|
137
|
+
<table class="table table-sm table-bordered index-table">
|
|
138
|
+
<tbody>
|
|
139
|
+
<tr>
|
|
140
|
+
<td class="col-md-4">
|
|
141
|
+
<h6><b>Properties</b></h6>
|
|
142
|
+
</td>
|
|
143
|
+
</tr>
|
|
144
|
+
<tr>
|
|
145
|
+
<td class="col-md-4">
|
|
146
|
+
<ul class="index-list">
|
|
147
|
+
<li>
|
|
148
|
+
<span class="modifier">Protected</span>
|
|
149
|
+
<a href="#_checkboxLabel">_checkboxLabel</a>
|
|
150
|
+
</li>
|
|
151
|
+
<li>
|
|
152
|
+
<span class="modifier">Protected</span>
|
|
153
|
+
<a href="#_expandButtonAriaLabel">_expandButtonAriaLabel</a>
|
|
154
|
+
</li>
|
|
155
|
+
</ul>
|
|
156
|
+
</td>
|
|
157
|
+
</tr>
|
|
158
|
+
|
|
159
|
+
<tr>
|
|
160
|
+
<td class="col-md-4">
|
|
161
|
+
<h6><b>Methods</b></h6>
|
|
162
|
+
</td>
|
|
163
|
+
</tr>
|
|
164
|
+
<tr>
|
|
165
|
+
<td class="col-md-4">
|
|
166
|
+
<ul class="index-list">
|
|
167
|
+
<li>
|
|
168
|
+
<a href="#getCheckboxLabel">getCheckboxLabel</a>
|
|
169
|
+
</li>
|
|
170
|
+
<li>
|
|
171
|
+
<a href="#getExpandButtonAriaLabel">getExpandButtonAriaLabel</a>
|
|
172
|
+
</li>
|
|
173
|
+
<li>
|
|
174
|
+
<a href="#onSelectionChange">onSelectionChange</a>
|
|
175
|
+
</li>
|
|
176
|
+
</ul>
|
|
177
|
+
</td>
|
|
178
|
+
</tr>
|
|
179
|
+
|
|
180
|
+
<tr>
|
|
181
|
+
<td class="col-md-4">
|
|
182
|
+
<h6><b>Inputs</b></h6>
|
|
183
|
+
</td>
|
|
184
|
+
</tr>
|
|
185
|
+
<tr>
|
|
186
|
+
<td class="col-md-4">
|
|
187
|
+
<ul class="index-list">
|
|
188
|
+
<li>
|
|
189
|
+
<a href="#checkboxLabel">checkboxLabel</a>
|
|
190
|
+
</li>
|
|
191
|
+
<li>
|
|
192
|
+
<a href="#enableSingleSelect">enableSingleSelect</a>
|
|
193
|
+
</li>
|
|
194
|
+
<li>
|
|
195
|
+
<a href="#expandable">expandable</a>
|
|
196
|
+
</li>
|
|
197
|
+
<li>
|
|
198
|
+
<a href="#expandButtonAriaLabel">expandButtonAriaLabel</a>
|
|
199
|
+
</li>
|
|
200
|
+
<li>
|
|
201
|
+
<a href="#expanded">expanded</a>
|
|
202
|
+
</li>
|
|
203
|
+
<li>
|
|
204
|
+
<a href="#model">model</a>
|
|
205
|
+
</li>
|
|
206
|
+
<li>
|
|
207
|
+
<a href="#row">row</a>
|
|
208
|
+
</li>
|
|
209
|
+
<li>
|
|
210
|
+
<a href="#selected">selected</a>
|
|
211
|
+
</li>
|
|
212
|
+
<li>
|
|
213
|
+
<a href="#selectionLabelColumn">selectionLabelColumn</a>
|
|
214
|
+
</li>
|
|
215
|
+
<li>
|
|
216
|
+
<a href="#showSelectionColumn">showSelectionColumn</a>
|
|
217
|
+
</li>
|
|
218
|
+
<li>
|
|
219
|
+
<a href="#size">size</a>
|
|
220
|
+
</li>
|
|
221
|
+
<li>
|
|
222
|
+
<a href="#skeleton">skeleton</a>
|
|
223
|
+
</li>
|
|
224
|
+
</ul>
|
|
225
|
+
</td>
|
|
226
|
+
</tr>
|
|
227
|
+
|
|
228
|
+
<tr>
|
|
229
|
+
<td class="col-md-4">
|
|
230
|
+
<h6><b>Outputs</b></h6>
|
|
231
|
+
</td>
|
|
232
|
+
</tr>
|
|
233
|
+
<tr>
|
|
234
|
+
<td class="col-md-4">
|
|
235
|
+
<ul class="index-list">
|
|
236
|
+
<li>
|
|
237
|
+
<a href="#deselectRow">deselectRow</a>
|
|
238
|
+
</li>
|
|
239
|
+
<li>
|
|
240
|
+
<a href="#expandRow">expandRow</a>
|
|
241
|
+
</li>
|
|
242
|
+
<li>
|
|
243
|
+
<a href="#selectRow">selectRow</a>
|
|
244
|
+
</li>
|
|
245
|
+
</ul>
|
|
246
|
+
</td>
|
|
247
|
+
</tr>
|
|
248
|
+
|
|
249
|
+
<tr>
|
|
250
|
+
<td class="col-md-4">
|
|
251
|
+
<h6><b>HostBindings</b></h6>
|
|
252
|
+
</td>
|
|
253
|
+
</tr>
|
|
254
|
+
<tr>
|
|
255
|
+
<td class="col-md-4">
|
|
256
|
+
<ul class="index-list">
|
|
257
|
+
<li>
|
|
258
|
+
<a href="#attr.data-parent-row">attr.data-parent-row</a>
|
|
259
|
+
</li>
|
|
260
|
+
<li>
|
|
261
|
+
<a href="#class.bx--data-table--selected">class.bx--data-table--selected</a>
|
|
262
|
+
</li>
|
|
263
|
+
<li>
|
|
264
|
+
<a href="#class.bx--expandable-row">class.bx--expandable-row</a>
|
|
265
|
+
</li>
|
|
266
|
+
<li>
|
|
267
|
+
<a href="#class.bx--parent-row">class.bx--parent-row</a>
|
|
268
|
+
</li>
|
|
269
|
+
<li>
|
|
270
|
+
<a href="#class.tbody_row--selectable">class.tbody_row--selectable</a>
|
|
271
|
+
</li>
|
|
272
|
+
</ul>
|
|
273
|
+
</td>
|
|
274
|
+
</tr>
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
<tr>
|
|
278
|
+
<td class="col-md-4">
|
|
279
|
+
<h6><b>Accessors</b></h6>
|
|
280
|
+
</td>
|
|
281
|
+
</tr>
|
|
282
|
+
<tr>
|
|
283
|
+
<td class="col-md-4">
|
|
284
|
+
<ul class="index-list">
|
|
285
|
+
<li>
|
|
286
|
+
<a href="#expandButtonAriaLabel">expandButtonAriaLabel</a>
|
|
287
|
+
</li>
|
|
288
|
+
<li>
|
|
289
|
+
<a href="#checkboxLabel">checkboxLabel</a>
|
|
290
|
+
</li>
|
|
291
|
+
</ul>
|
|
292
|
+
</td>
|
|
293
|
+
</tr>
|
|
294
|
+
</tbody>
|
|
295
|
+
</table>
|
|
296
|
+
</section>
|
|
297
|
+
|
|
298
|
+
<section>
|
|
299
|
+
<h3 id="constructor">Constructor</h3>
|
|
300
|
+
<table class="table table-sm table-bordered">
|
|
301
|
+
<tbody>
|
|
302
|
+
<tr>
|
|
303
|
+
<td class="col-md-4">
|
|
304
|
+
<code>constructor(i18n: <a href="../injectables/I18n.html">I18n</a>)</code>
|
|
305
|
+
</td>
|
|
306
|
+
</tr>
|
|
307
|
+
<tr>
|
|
308
|
+
<td class="col-md-4">
|
|
309
|
+
<div class="io-line">Defined in <a href="" data-line="147" class="link-to-prism">src/table/body/table-row.component.ts:147</a></div>
|
|
310
|
+
</td>
|
|
311
|
+
</tr>
|
|
312
|
+
|
|
313
|
+
<tr>
|
|
314
|
+
<td class="col-md-4">
|
|
315
|
+
<div>
|
|
316
|
+
<b>Parameters :</b>
|
|
317
|
+
<table class="params">
|
|
318
|
+
<thead>
|
|
319
|
+
<tr>
|
|
320
|
+
<td>Name</td>
|
|
321
|
+
<td>Type</td>
|
|
322
|
+
<td>Optional</td>
|
|
323
|
+
</tr>
|
|
324
|
+
</thead>
|
|
325
|
+
<tbody>
|
|
326
|
+
<tr>
|
|
327
|
+
<td>i18n</td>
|
|
328
|
+
|
|
329
|
+
<td>
|
|
330
|
+
<code><a href="../injectables/I18n.html" target="_self" >I18n</a></code>
|
|
331
|
+
</td>
|
|
332
|
+
|
|
333
|
+
<td>
|
|
334
|
+
No
|
|
335
|
+
</td>
|
|
336
|
+
|
|
337
|
+
</tr>
|
|
338
|
+
</tbody>
|
|
339
|
+
</table>
|
|
340
|
+
</div>
|
|
341
|
+
</td>
|
|
342
|
+
</tr>
|
|
343
|
+
</tbody>
|
|
344
|
+
</table>
|
|
345
|
+
</section>
|
|
346
|
+
|
|
347
|
+
<section>
|
|
348
|
+
<h3 id="inputs">Inputs</h3>
|
|
349
|
+
<table class="table table-sm table-bordered">
|
|
350
|
+
<tbody>
|
|
351
|
+
<tr>
|
|
352
|
+
<td class="col-md-2">
|
|
353
|
+
<a name="checkboxLabel"></a>
|
|
354
|
+
<code>checkboxLabel</code>
|
|
355
|
+
</td>
|
|
356
|
+
<td class="col-md-10">
|
|
357
|
+
</td>
|
|
358
|
+
</tr>
|
|
359
|
+
<tr>
|
|
360
|
+
<td class="col-md-2" colspan="2">
|
|
361
|
+
<div class="io-line">Defined in <a href="" data-line="84" class="link-to-prism">src/table/body/table-row.component.ts:84</a></div>
|
|
362
|
+
</td>
|
|
363
|
+
</tr>
|
|
364
|
+
</tbody>
|
|
365
|
+
</table>
|
|
366
|
+
<table class="table table-sm table-bordered">
|
|
367
|
+
<tbody>
|
|
368
|
+
<tr>
|
|
369
|
+
<td class="col-md-2">
|
|
370
|
+
<a name="enableSingleSelect"></a>
|
|
371
|
+
<code>enableSingleSelect</code>
|
|
372
|
+
</td>
|
|
373
|
+
<td class="col-md-10">
|
|
374
|
+
<div><p>Controls whether to enable multiple or single row selection.</p>
|
|
375
|
+
</div>
|
|
376
|
+
<p>
|
|
377
|
+
<em>Default value : </em><code>false</code>
|
|
378
|
+
</p>
|
|
379
|
+
</td>
|
|
380
|
+
</tr>
|
|
381
|
+
<tr>
|
|
382
|
+
<td class="col-md-2" colspan="2">
|
|
383
|
+
<div class="io-line">Defined in <a href="" data-line="72" class="link-to-prism">src/table/body/table-row.component.ts:72</a></div>
|
|
384
|
+
</td>
|
|
385
|
+
</tr>
|
|
386
|
+
</tbody>
|
|
387
|
+
</table>
|
|
388
|
+
<table class="table table-sm table-bordered">
|
|
389
|
+
<tbody>
|
|
390
|
+
<tr>
|
|
391
|
+
<td class="col-md-2">
|
|
392
|
+
<a name="expandable"></a>
|
|
393
|
+
<code>expandable</code>
|
|
394
|
+
</td>
|
|
395
|
+
<td class="col-md-10">
|
|
396
|
+
<p>
|
|
397
|
+
<em>Default value : </em><code>false</code>
|
|
398
|
+
</p>
|
|
399
|
+
</td>
|
|
400
|
+
</tr>
|
|
401
|
+
<tr>
|
|
402
|
+
<td class="col-md-2" colspan="2">
|
|
403
|
+
<div class="io-line">Defined in <a href="" data-line="60" class="link-to-prism">src/table/body/table-row.component.ts:60</a></div>
|
|
404
|
+
</td>
|
|
405
|
+
</tr>
|
|
406
|
+
</tbody>
|
|
407
|
+
</table>
|
|
408
|
+
<table class="table table-sm table-bordered">
|
|
409
|
+
<tbody>
|
|
410
|
+
<tr>
|
|
411
|
+
<td class="col-md-2">
|
|
412
|
+
<a name="expandButtonAriaLabel"></a>
|
|
413
|
+
<code>expandButtonAriaLabel</code>
|
|
414
|
+
</td>
|
|
415
|
+
<td class="col-md-10">
|
|
416
|
+
</td>
|
|
417
|
+
</tr>
|
|
418
|
+
<tr>
|
|
419
|
+
<td class="col-md-2" colspan="2">
|
|
420
|
+
<div class="io-line">Defined in <a href="" data-line="75" class="link-to-prism">src/table/body/table-row.component.ts:75</a></div>
|
|
421
|
+
</td>
|
|
422
|
+
</tr>
|
|
423
|
+
</tbody>
|
|
424
|
+
</table>
|
|
425
|
+
<table class="table table-sm table-bordered">
|
|
426
|
+
<tbody>
|
|
427
|
+
<tr>
|
|
428
|
+
<td class="col-md-2">
|
|
429
|
+
<a name="expanded"></a>
|
|
430
|
+
<code>expanded</code>
|
|
431
|
+
</td>
|
|
432
|
+
<td class="col-md-10">
|
|
433
|
+
<p>
|
|
434
|
+
<em>Default value : </em><code>false</code>
|
|
435
|
+
</p>
|
|
436
|
+
</td>
|
|
437
|
+
</tr>
|
|
438
|
+
<tr>
|
|
439
|
+
<td class="col-md-2" colspan="2">
|
|
440
|
+
<div class="io-line">Defined in <a href="" data-line="58" class="link-to-prism">src/table/body/table-row.component.ts:58</a></div>
|
|
441
|
+
</td>
|
|
442
|
+
</tr>
|
|
443
|
+
</tbody>
|
|
444
|
+
</table>
|
|
445
|
+
<table class="table table-sm table-bordered">
|
|
446
|
+
<tbody>
|
|
447
|
+
<tr>
|
|
448
|
+
<td class="col-md-2">
|
|
449
|
+
<a name="model"></a>
|
|
450
|
+
<code>model</code>
|
|
451
|
+
</td>
|
|
452
|
+
<td class="col-md-10">
|
|
453
|
+
<div><p><code>TableModel</code> with data the table is to display.</p>
|
|
454
|
+
</div>
|
|
455
|
+
<p>
|
|
456
|
+
<em>Type :</em> <code><a href="../classes/TableModel.html" target="_self" >TableModel</a></code>
|
|
457
|
+
|
|
458
|
+
</p>
|
|
459
|
+
</td>
|
|
460
|
+
</tr>
|
|
461
|
+
<tr>
|
|
462
|
+
<td class="col-md-2" colspan="2">
|
|
463
|
+
<div class="io-line">Defined in <a href="" data-line="54" class="link-to-prism">src/table/body/table-row.component.ts:54</a></div>
|
|
464
|
+
</td>
|
|
465
|
+
</tr>
|
|
466
|
+
</tbody>
|
|
467
|
+
</table>
|
|
468
|
+
<table class="table table-sm table-bordered">
|
|
469
|
+
<tbody>
|
|
470
|
+
<tr>
|
|
471
|
+
<td class="col-md-2">
|
|
472
|
+
<a name="row"></a>
|
|
473
|
+
<code>row</code>
|
|
474
|
+
</td>
|
|
475
|
+
<td class="col-md-10">
|
|
476
|
+
<p>
|
|
477
|
+
<em>Type :</em> <code><a href="../classes/TableItem.html" target="_self" >TableItem[]</a></code>
|
|
478
|
+
|
|
479
|
+
</p>
|
|
480
|
+
</td>
|
|
481
|
+
</tr>
|
|
482
|
+
<tr>
|
|
483
|
+
<td class="col-md-2" colspan="2">
|
|
484
|
+
<div class="io-line">Defined in <a href="" data-line="56" class="link-to-prism">src/table/body/table-row.component.ts:56</a></div>
|
|
485
|
+
</td>
|
|
486
|
+
</tr>
|
|
487
|
+
</tbody>
|
|
488
|
+
</table>
|
|
489
|
+
<table class="table table-sm table-bordered">
|
|
490
|
+
<tbody>
|
|
491
|
+
<tr>
|
|
492
|
+
<td class="col-md-2">
|
|
493
|
+
<a name="selected"></a>
|
|
494
|
+
<code>selected</code>
|
|
495
|
+
</td>
|
|
496
|
+
<td class="col-md-10">
|
|
497
|
+
<p>
|
|
498
|
+
<em>Default value : </em><code>false</code>
|
|
499
|
+
</p>
|
|
500
|
+
</td>
|
|
501
|
+
</tr>
|
|
502
|
+
<tr>
|
|
503
|
+
<td class="col-md-2" colspan="2">
|
|
504
|
+
<div class="io-line">Defined in <a href="" data-line="62" class="link-to-prism">src/table/body/table-row.component.ts:62</a></div>
|
|
505
|
+
</td>
|
|
506
|
+
</tr>
|
|
507
|
+
</tbody>
|
|
508
|
+
</table>
|
|
509
|
+
<table class="table table-sm table-bordered">
|
|
510
|
+
<tbody>
|
|
511
|
+
<tr>
|
|
512
|
+
<td class="col-md-2">
|
|
513
|
+
<a name="selectionLabelColumn"></a>
|
|
514
|
+
<code>selectionLabelColumn</code>
|
|
515
|
+
</td>
|
|
516
|
+
<td class="col-md-10">
|
|
517
|
+
<div><p>Used to populate the row selection checkbox label with a useful value if set.</p>
|
|
518
|
+
<p>Example:</p>
|
|
519
|
+
<div><pre class="line-numbers"><code class="language-none"> * <ibm-table [selectionLabelColumn]="0"></ibm-table>
|
|
520
|
+
* <!-- results in aria-label="Select first column value"
|
|
521
|
+
* (where "first column value" is the value of the first column in the row -->
|
|
522
|
+
*</code></pre></div></div>
|
|
523
|
+
<p>
|
|
524
|
+
<em>Type :</em> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
525
|
+
|
|
526
|
+
</p>
|
|
527
|
+
</td>
|
|
528
|
+
</tr>
|
|
529
|
+
<tr>
|
|
530
|
+
<td class="col-md-2" colspan="2">
|
|
531
|
+
<div class="io-line">Defined in <a href="" data-line="107" class="link-to-prism">src/table/body/table-row.component.ts:107</a></div>
|
|
532
|
+
</td>
|
|
533
|
+
</tr>
|
|
534
|
+
</tbody>
|
|
535
|
+
</table>
|
|
536
|
+
<table class="table table-sm table-bordered">
|
|
537
|
+
<tbody>
|
|
538
|
+
<tr>
|
|
539
|
+
<td class="col-md-2">
|
|
540
|
+
<a name="showSelectionColumn"></a>
|
|
541
|
+
<code>showSelectionColumn</code>
|
|
542
|
+
</td>
|
|
543
|
+
<td class="col-md-10">
|
|
544
|
+
<div><p>Controls whether to show the selection checkboxes column or not.</p>
|
|
545
|
+
</div>
|
|
546
|
+
<p>
|
|
547
|
+
<em>Default value : </em><code>true</code>
|
|
548
|
+
</p>
|
|
549
|
+
</td>
|
|
550
|
+
</tr>
|
|
551
|
+
<tr>
|
|
552
|
+
<td class="col-md-2" colspan="2">
|
|
553
|
+
<div class="io-line">Defined in <a href="" data-line="95" class="link-to-prism">src/table/body/table-row.component.ts:95</a></div>
|
|
554
|
+
</td>
|
|
555
|
+
</tr>
|
|
556
|
+
</tbody>
|
|
557
|
+
</table>
|
|
558
|
+
<table class="table table-sm table-bordered">
|
|
559
|
+
<tbody>
|
|
560
|
+
<tr>
|
|
561
|
+
<td class="col-md-2">
|
|
562
|
+
<a name="size"></a>
|
|
563
|
+
<code>size</code>
|
|
564
|
+
</td>
|
|
565
|
+
<td class="col-md-10">
|
|
566
|
+
<div><p>Size of the table rows.</p>
|
|
567
|
+
</div>
|
|
568
|
+
<p>
|
|
569
|
+
<em>Type :</em> <code>"sm" | "md" | "lg"</code>
|
|
570
|
+
|
|
571
|
+
</p>
|
|
572
|
+
<p>
|
|
573
|
+
<em>Default value : </em><code>"md"</code>
|
|
574
|
+
</p>
|
|
575
|
+
</td>
|
|
576
|
+
</tr>
|
|
577
|
+
<tr>
|
|
578
|
+
<td class="col-md-2" colspan="2">
|
|
579
|
+
<div class="io-line">Defined in <a href="" data-line="67" class="link-to-prism">src/table/body/table-row.component.ts:67</a></div>
|
|
580
|
+
</td>
|
|
581
|
+
</tr>
|
|
582
|
+
</tbody>
|
|
583
|
+
</table>
|
|
584
|
+
<table class="table table-sm table-bordered">
|
|
585
|
+
<tbody>
|
|
586
|
+
<tr>
|
|
587
|
+
<td class="col-md-2">
|
|
588
|
+
<a name="skeleton"></a>
|
|
589
|
+
<code>skeleton</code>
|
|
590
|
+
</td>
|
|
591
|
+
<td class="col-md-10">
|
|
592
|
+
<p>
|
|
593
|
+
<em>Default value : </em><code>false</code>
|
|
594
|
+
</p>
|
|
595
|
+
</td>
|
|
596
|
+
</tr>
|
|
597
|
+
<tr>
|
|
598
|
+
<td class="col-md-2" colspan="2">
|
|
599
|
+
<div class="io-line">Defined in <a href="" data-line="109" class="link-to-prism">src/table/body/table-row.component.ts:109</a></div>
|
|
600
|
+
</td>
|
|
601
|
+
</tr>
|
|
602
|
+
</tbody>
|
|
603
|
+
</table>
|
|
604
|
+
</section>
|
|
605
|
+
<section>
|
|
606
|
+
<h3 id="outputs">Outputs</h3>
|
|
607
|
+
<table class="table table-sm table-bordered">
|
|
608
|
+
<tbody>
|
|
609
|
+
<tr>
|
|
610
|
+
<td class="col-md-2">
|
|
611
|
+
<a name="deselectRow"></a>
|
|
612
|
+
<code>deselectRow</code>
|
|
613
|
+
</td>
|
|
614
|
+
<td class="col-md-10">
|
|
615
|
+
<div><p>Emits when the row is deselected.</p>
|
|
616
|
+
</div>
|
|
617
|
+
<em><code>$event</code> Type:</em> <code><a href="https://angular.io/api/core/EventEmitter" target="_blank" >EventEmitter</a></code>
|
|
618
|
+
|
|
619
|
+
</td>
|
|
620
|
+
</tr>
|
|
621
|
+
<tr>
|
|
622
|
+
<td class="col-md-2" colspan="2">
|
|
623
|
+
<div class="io-line">Defined in <a href="" data-line="119" class="link-to-prism">src/table/body/table-row.component.ts:119</a></div>
|
|
624
|
+
</td>
|
|
625
|
+
</tr>
|
|
626
|
+
</tbody>
|
|
627
|
+
</table>
|
|
628
|
+
<table class="table table-sm table-bordered">
|
|
629
|
+
<tbody>
|
|
630
|
+
<tr>
|
|
631
|
+
<td class="col-md-2">
|
|
632
|
+
<a name="expandRow"></a>
|
|
633
|
+
<code>expandRow</code>
|
|
634
|
+
</td>
|
|
635
|
+
<td class="col-md-10">
|
|
636
|
+
<div><p>Emits when the row is expanded</p>
|
|
637
|
+
</div>
|
|
638
|
+
<em><code>$event</code> Type:</em> <code><a href="https://angular.io/api/core/EventEmitter" target="_blank" >EventEmitter</a></code>
|
|
639
|
+
|
|
640
|
+
</td>
|
|
641
|
+
</tr>
|
|
642
|
+
<tr>
|
|
643
|
+
<td class="col-md-2" colspan="2">
|
|
644
|
+
<div class="io-line">Defined in <a href="" data-line="124" class="link-to-prism">src/table/body/table-row.component.ts:124</a></div>
|
|
645
|
+
</td>
|
|
646
|
+
</tr>
|
|
647
|
+
</tbody>
|
|
648
|
+
</table>
|
|
649
|
+
<table class="table table-sm table-bordered">
|
|
650
|
+
<tbody>
|
|
651
|
+
<tr>
|
|
652
|
+
<td class="col-md-2">
|
|
653
|
+
<a name="selectRow"></a>
|
|
654
|
+
<code>selectRow</code>
|
|
655
|
+
</td>
|
|
656
|
+
<td class="col-md-10">
|
|
657
|
+
<div><p>Emits when the row is selected.</p>
|
|
658
|
+
</div>
|
|
659
|
+
<em><code>$event</code> Type:</em> <code><a href="https://angular.io/api/core/EventEmitter" target="_blank" >EventEmitter</a></code>
|
|
660
|
+
|
|
661
|
+
</td>
|
|
662
|
+
</tr>
|
|
663
|
+
<tr>
|
|
664
|
+
<td class="col-md-2" colspan="2">
|
|
665
|
+
<div class="io-line">Defined in <a href="" data-line="114" class="link-to-prism">src/table/body/table-row.component.ts:114</a></div>
|
|
666
|
+
</td>
|
|
667
|
+
</tr>
|
|
668
|
+
</tbody>
|
|
669
|
+
</table>
|
|
670
|
+
</section>
|
|
671
|
+
<section>
|
|
672
|
+
<h3>HostBindings</h3> <table class="table table-sm table-bordered">
|
|
673
|
+
<tbody>
|
|
674
|
+
<tr>
|
|
675
|
+
<td class="col-md-4">
|
|
676
|
+
<a name="attr.data-parent-row"></a>
|
|
677
|
+
<span class="name">
|
|
678
|
+
<b>
|
|
679
|
+
attr.data-parent-row
|
|
680
|
+
</b>
|
|
681
|
+
<a href="#attr.data-parent-row"><span class="icon ion-ios-link"></span></a>
|
|
682
|
+
</span>
|
|
683
|
+
</td>
|
|
684
|
+
</tr>
|
|
685
|
+
<tr>
|
|
686
|
+
<td class="col-md-4">
|
|
687
|
+
<code>attr.data-parent-row: <code></code>
|
|
688
|
+
</code>
|
|
689
|
+
</td>
|
|
690
|
+
</tr>
|
|
691
|
+
<tr>
|
|
692
|
+
<td class="col-md-4">
|
|
693
|
+
<div class="io-line">Defined in <a href="" data-line="142" class="link-to-prism">src/table/body/table-row.component.ts:142</a></div>
|
|
694
|
+
</td>
|
|
695
|
+
</tr>
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
</tbody>
|
|
699
|
+
</table>
|
|
700
|
+
<table class="table table-sm table-bordered">
|
|
701
|
+
<tbody>
|
|
702
|
+
<tr>
|
|
703
|
+
<td class="col-md-4">
|
|
704
|
+
<a name="class.bx--data-table--selected"></a>
|
|
705
|
+
<span class="name">
|
|
706
|
+
<b>
|
|
707
|
+
class.bx--data-table--selected
|
|
708
|
+
</b>
|
|
709
|
+
<a href="#class.bx--data-table--selected"><span class="icon ion-ios-link"></span></a>
|
|
710
|
+
</span>
|
|
711
|
+
</td>
|
|
712
|
+
</tr>
|
|
713
|
+
<tr>
|
|
714
|
+
<td class="col-md-4">
|
|
715
|
+
<code>class.bx--data-table--selected: <code></code>
|
|
716
|
+
</code>
|
|
717
|
+
</td>
|
|
718
|
+
</tr>
|
|
719
|
+
<tr>
|
|
720
|
+
<td class="col-md-4">
|
|
721
|
+
<div class="io-line">Defined in <a href="" data-line="126" class="link-to-prism">src/table/body/table-row.component.ts:126</a></div>
|
|
722
|
+
</td>
|
|
723
|
+
</tr>
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
</tbody>
|
|
727
|
+
</table>
|
|
728
|
+
<table class="table table-sm table-bordered">
|
|
729
|
+
<tbody>
|
|
730
|
+
<tr>
|
|
731
|
+
<td class="col-md-4">
|
|
732
|
+
<a name="class.bx--expandable-row"></a>
|
|
733
|
+
<span class="name">
|
|
734
|
+
<b>
|
|
735
|
+
class.bx--expandable-row
|
|
736
|
+
</b>
|
|
737
|
+
<a href="#class.bx--expandable-row"><span class="icon ion-ios-link"></span></a>
|
|
738
|
+
</span>
|
|
739
|
+
</td>
|
|
740
|
+
</tr>
|
|
741
|
+
<tr>
|
|
742
|
+
<td class="col-md-4">
|
|
743
|
+
<code>class.bx--expandable-row: <code></code>
|
|
744
|
+
</code>
|
|
745
|
+
</td>
|
|
746
|
+
</tr>
|
|
747
|
+
<tr>
|
|
748
|
+
<td class="col-md-4">
|
|
749
|
+
<div class="io-line">Defined in <a href="" data-line="134" class="link-to-prism">src/table/body/table-row.component.ts:134</a></div>
|
|
750
|
+
</td>
|
|
751
|
+
</tr>
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
</tbody>
|
|
755
|
+
</table>
|
|
756
|
+
<table class="table table-sm table-bordered">
|
|
757
|
+
<tbody>
|
|
758
|
+
<tr>
|
|
759
|
+
<td class="col-md-4">
|
|
760
|
+
<a name="class.bx--parent-row"></a>
|
|
761
|
+
<span class="name">
|
|
762
|
+
<b>
|
|
763
|
+
class.bx--parent-row
|
|
764
|
+
</b>
|
|
765
|
+
<a href="#class.bx--parent-row"><span class="icon ion-ios-link"></span></a>
|
|
766
|
+
</span>
|
|
767
|
+
</td>
|
|
768
|
+
</tr>
|
|
769
|
+
<tr>
|
|
770
|
+
<td class="col-md-4">
|
|
771
|
+
<code>class.bx--parent-row: <code></code>
|
|
772
|
+
</code>
|
|
773
|
+
</td>
|
|
774
|
+
</tr>
|
|
775
|
+
<tr>
|
|
776
|
+
<td class="col-md-4">
|
|
777
|
+
<div class="io-line">Defined in <a href="" data-line="130" class="link-to-prism">src/table/body/table-row.component.ts:130</a></div>
|
|
778
|
+
</td>
|
|
779
|
+
</tr>
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
</tbody>
|
|
783
|
+
</table>
|
|
784
|
+
<table class="table table-sm table-bordered">
|
|
785
|
+
<tbody>
|
|
786
|
+
<tr>
|
|
787
|
+
<td class="col-md-4">
|
|
788
|
+
<a name="class.tbody_row--selectable"></a>
|
|
789
|
+
<span class="name">
|
|
790
|
+
<b>
|
|
791
|
+
class.tbody_row--selectable
|
|
792
|
+
</b>
|
|
793
|
+
<a href="#class.tbody_row--selectable"><span class="icon ion-ios-link"></span></a>
|
|
794
|
+
</span>
|
|
795
|
+
</td>
|
|
796
|
+
</tr>
|
|
797
|
+
<tr>
|
|
798
|
+
<td class="col-md-4">
|
|
799
|
+
<code>class.tbody_row--selectable: <code></code>
|
|
800
|
+
</code>
|
|
801
|
+
</td>
|
|
802
|
+
</tr>
|
|
803
|
+
<tr>
|
|
804
|
+
<td class="col-md-4">
|
|
805
|
+
<div class="io-line">Defined in <a href="" data-line="138" class="link-to-prism">src/table/body/table-row.component.ts:138</a></div>
|
|
806
|
+
</td>
|
|
807
|
+
</tr>
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
</tbody>
|
|
811
|
+
</table>
|
|
812
|
+
</section>
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
<section>
|
|
816
|
+
|
|
817
|
+
<h3 id="methods">
|
|
818
|
+
Methods
|
|
819
|
+
</h3>
|
|
820
|
+
<table class="table table-sm table-bordered">
|
|
821
|
+
<tbody>
|
|
822
|
+
<tr>
|
|
823
|
+
<td class="col-md-4">
|
|
824
|
+
<a name="getCheckboxLabel"></a>
|
|
825
|
+
<span class="name">
|
|
826
|
+
<b>
|
|
827
|
+
getCheckboxLabel
|
|
828
|
+
</b>
|
|
829
|
+
<a href="#getCheckboxLabel"><span class="icon ion-ios-link"></span></a>
|
|
830
|
+
</span>
|
|
831
|
+
</td>
|
|
832
|
+
</tr>
|
|
833
|
+
<tr>
|
|
834
|
+
<td class="col-md-4">
|
|
835
|
+
<code>getCheckboxLabel()</code>
|
|
836
|
+
</td>
|
|
837
|
+
</tr>
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
<tr>
|
|
841
|
+
<td class="col-md-4">
|
|
842
|
+
<div class="io-line">Defined in <a href="" data-line="159" class="link-to-prism">src/table/body/table-row.component.ts:159</a></div>
|
|
843
|
+
</td>
|
|
844
|
+
</tr>
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
<tr>
|
|
848
|
+
<td class="col-md-4">
|
|
849
|
+
|
|
850
|
+
<div class="io-description">
|
|
851
|
+
<b>Returns : </b> <code>Observable<string></code>
|
|
852
|
+
|
|
853
|
+
</div>
|
|
854
|
+
</td>
|
|
855
|
+
</tr>
|
|
856
|
+
</tbody>
|
|
857
|
+
</table>
|
|
858
|
+
<table class="table table-sm table-bordered">
|
|
859
|
+
<tbody>
|
|
860
|
+
<tr>
|
|
861
|
+
<td class="col-md-4">
|
|
862
|
+
<a name="getExpandButtonAriaLabel"></a>
|
|
863
|
+
<span class="name">
|
|
864
|
+
<b>
|
|
865
|
+
getExpandButtonAriaLabel
|
|
866
|
+
</b>
|
|
867
|
+
<a href="#getExpandButtonAriaLabel"><span class="icon ion-ios-link"></span></a>
|
|
868
|
+
</span>
|
|
869
|
+
</td>
|
|
870
|
+
</tr>
|
|
871
|
+
<tr>
|
|
872
|
+
<td class="col-md-4">
|
|
873
|
+
<code>getExpandButtonAriaLabel()</code>
|
|
874
|
+
</td>
|
|
875
|
+
</tr>
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
<tr>
|
|
879
|
+
<td class="col-md-4">
|
|
880
|
+
<div class="io-line">Defined in <a href="" data-line="163" class="link-to-prism">src/table/body/table-row.component.ts:163</a></div>
|
|
881
|
+
</td>
|
|
882
|
+
</tr>
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
<tr>
|
|
886
|
+
<td class="col-md-4">
|
|
887
|
+
|
|
888
|
+
<div class="io-description">
|
|
889
|
+
<b>Returns : </b> <code>Observable<string></code>
|
|
890
|
+
|
|
891
|
+
</div>
|
|
892
|
+
</td>
|
|
893
|
+
</tr>
|
|
894
|
+
</tbody>
|
|
895
|
+
</table>
|
|
896
|
+
<table class="table table-sm table-bordered">
|
|
897
|
+
<tbody>
|
|
898
|
+
<tr>
|
|
899
|
+
<td class="col-md-4">
|
|
900
|
+
<a name="onSelectionChange"></a>
|
|
901
|
+
<span class="name">
|
|
902
|
+
<b>
|
|
903
|
+
onSelectionChange
|
|
904
|
+
</b>
|
|
905
|
+
<a href="#onSelectionChange"><span class="icon ion-ios-link"></span></a>
|
|
906
|
+
</span>
|
|
907
|
+
</td>
|
|
908
|
+
</tr>
|
|
909
|
+
<tr>
|
|
910
|
+
<td class="col-md-4">
|
|
911
|
+
<code>onSelectionChange()</code>
|
|
912
|
+
</td>
|
|
913
|
+
</tr>
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
<tr>
|
|
917
|
+
<td class="col-md-4">
|
|
918
|
+
<div class="io-line">Defined in <a href="" data-line="151" class="link-to-prism">src/table/body/table-row.component.ts:151</a></div>
|
|
919
|
+
</td>
|
|
920
|
+
</tr>
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
<tr>
|
|
924
|
+
<td class="col-md-4">
|
|
925
|
+
|
|
926
|
+
<div class="io-description">
|
|
927
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
928
|
+
|
|
929
|
+
</div>
|
|
930
|
+
</td>
|
|
931
|
+
</tr>
|
|
932
|
+
</tbody>
|
|
933
|
+
</table>
|
|
934
|
+
</section>
|
|
935
|
+
|
|
936
|
+
<section>
|
|
937
|
+
|
|
938
|
+
<h3 id="inputs">
|
|
939
|
+
Properties
|
|
940
|
+
</h3>
|
|
941
|
+
<table class="table table-sm table-bordered">
|
|
942
|
+
<tbody>
|
|
943
|
+
<tr>
|
|
944
|
+
<td class="col-md-4">
|
|
945
|
+
<a name="_checkboxLabel"></a>
|
|
946
|
+
<span class="name">
|
|
947
|
+
<b>
|
|
948
|
+
<span class="modifier">Protected</span>
|
|
949
|
+
_checkboxLabel
|
|
950
|
+
</b>
|
|
951
|
+
<a href="#_checkboxLabel"><span class="icon ion-ios-link"></span></a>
|
|
952
|
+
</span>
|
|
953
|
+
</td>
|
|
954
|
+
</tr>
|
|
955
|
+
<tr>
|
|
956
|
+
<td class="col-md-4">
|
|
957
|
+
<span class="modifier-icon icon ion-ios-reset"></span><code>_checkboxLabel: <code></code>
|
|
958
|
+
</code>
|
|
959
|
+
</td>
|
|
960
|
+
</tr>
|
|
961
|
+
<tr>
|
|
962
|
+
<td class="col-md-4">
|
|
963
|
+
<i>Default value : </i><code>this.i18n.getOverridable("TABLE.CHECKBOX_ROW")</code>
|
|
964
|
+
</td>
|
|
965
|
+
</tr>
|
|
966
|
+
<tr>
|
|
967
|
+
<td class="col-md-4">
|
|
968
|
+
<div class="io-line">Defined in <a href="" data-line="146" class="link-to-prism">src/table/body/table-row.component.ts:146</a></div>
|
|
969
|
+
</td>
|
|
970
|
+
</tr>
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
</tbody>
|
|
974
|
+
</table>
|
|
975
|
+
<table class="table table-sm table-bordered">
|
|
976
|
+
<tbody>
|
|
977
|
+
<tr>
|
|
978
|
+
<td class="col-md-4">
|
|
979
|
+
<a name="_expandButtonAriaLabel"></a>
|
|
980
|
+
<span class="name">
|
|
981
|
+
<b>
|
|
982
|
+
<span class="modifier">Protected</span>
|
|
983
|
+
_expandButtonAriaLabel
|
|
984
|
+
</b>
|
|
985
|
+
<a href="#_expandButtonAriaLabel"><span class="icon ion-ios-link"></span></a>
|
|
986
|
+
</span>
|
|
987
|
+
</td>
|
|
988
|
+
</tr>
|
|
989
|
+
<tr>
|
|
990
|
+
<td class="col-md-4">
|
|
991
|
+
<span class="modifier-icon icon ion-ios-reset"></span><code>_expandButtonAriaLabel: <code></code>
|
|
992
|
+
</code>
|
|
993
|
+
</td>
|
|
994
|
+
</tr>
|
|
995
|
+
<tr>
|
|
996
|
+
<td class="col-md-4">
|
|
997
|
+
<i>Default value : </i><code>this.i18n.getOverridable("TABLE.EXPAND_BUTTON")</code>
|
|
998
|
+
</td>
|
|
999
|
+
</tr>
|
|
1000
|
+
<tr>
|
|
1001
|
+
<td class="col-md-4">
|
|
1002
|
+
<div class="io-line">Defined in <a href="" data-line="147" class="link-to-prism">src/table/body/table-row.component.ts:147</a></div>
|
|
1003
|
+
</td>
|
|
1004
|
+
</tr>
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
</tbody>
|
|
1008
|
+
</table>
|
|
1009
|
+
</section>
|
|
1010
|
+
|
|
1011
|
+
<section>
|
|
1012
|
+
<h3 id="accessors">
|
|
1013
|
+
Accessors
|
|
1014
|
+
</h3>
|
|
1015
|
+
<table class="table table-sm table-bordered">
|
|
1016
|
+
<tbody>
|
|
1017
|
+
<tr>
|
|
1018
|
+
<td class="col-md-4">
|
|
1019
|
+
<a name="expandButtonAriaLabel"></a>
|
|
1020
|
+
<span class="name"><b>expandButtonAriaLabel</b><a href="#expandButtonAriaLabel"><span class="icon ion-ios-link"></span></a></span>
|
|
1021
|
+
</td>
|
|
1022
|
+
</tr>
|
|
1023
|
+
|
|
1024
|
+
<tr>
|
|
1025
|
+
<td class="col-md-4">
|
|
1026
|
+
<span class="accessor"><b>get</b><code>expandButtonAriaLabel()</code></span>
|
|
1027
|
+
</td>
|
|
1028
|
+
</tr>
|
|
1029
|
+
<tr>
|
|
1030
|
+
<td class="col-md-4">
|
|
1031
|
+
<div class="io-line">Defined in <a href="" data-line="79" class="link-to-prism">src/table/body/table-row.component.ts:79</a></div>
|
|
1032
|
+
</td>
|
|
1033
|
+
</tr>
|
|
1034
|
+
|
|
1035
|
+
<tr>
|
|
1036
|
+
<td class="col-md-4">
|
|
1037
|
+
<span class="accessor"><b>set</b><code>expandButtonAriaLabel(value)</code></span>
|
|
1038
|
+
</td>
|
|
1039
|
+
</tr>
|
|
1040
|
+
<tr>
|
|
1041
|
+
<td class="col-md-4">
|
|
1042
|
+
<div class="io-line">Defined in <a href="" data-line="75" class="link-to-prism">src/table/body/table-row.component.ts:75</a></div>
|
|
1043
|
+
</td>
|
|
1044
|
+
</tr>
|
|
1045
|
+
<tr>
|
|
1046
|
+
<td class="col-md-4">
|
|
1047
|
+
|
|
1048
|
+
<div class="io-description">
|
|
1049
|
+
<b>Parameters :</b>
|
|
1050
|
+
<table class="params">
|
|
1051
|
+
<thead>
|
|
1052
|
+
<tr>
|
|
1053
|
+
<td>Name</td>
|
|
1054
|
+
<td>Optional</td>
|
|
1055
|
+
</tr>
|
|
1056
|
+
</thead>
|
|
1057
|
+
<tbody>
|
|
1058
|
+
<tr>
|
|
1059
|
+
<td>value</td>
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
<td>
|
|
1063
|
+
No
|
|
1064
|
+
</td>
|
|
1065
|
+
|
|
1066
|
+
</tr>
|
|
1067
|
+
</tbody>
|
|
1068
|
+
</table>
|
|
1069
|
+
</div>
|
|
1070
|
+
<div>
|
|
1071
|
+
</div>
|
|
1072
|
+
<div class="io-description">
|
|
1073
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1074
|
+
|
|
1075
|
+
</div>
|
|
1076
|
+
</td>
|
|
1077
|
+
</tr>
|
|
1078
|
+
</tbody>
|
|
1079
|
+
</table>
|
|
1080
|
+
<table class="table table-sm table-bordered">
|
|
1081
|
+
<tbody>
|
|
1082
|
+
<tr>
|
|
1083
|
+
<td class="col-md-4">
|
|
1084
|
+
<a name="checkboxLabel"></a>
|
|
1085
|
+
<span class="name"><b>checkboxLabel</b><a href="#checkboxLabel"><span class="icon ion-ios-link"></span></a></span>
|
|
1086
|
+
</td>
|
|
1087
|
+
</tr>
|
|
1088
|
+
|
|
1089
|
+
<tr>
|
|
1090
|
+
<td class="col-md-4">
|
|
1091
|
+
<span class="accessor"><b>get</b><code>checkboxLabel()</code></span>
|
|
1092
|
+
</td>
|
|
1093
|
+
</tr>
|
|
1094
|
+
<tr>
|
|
1095
|
+
<td class="col-md-4">
|
|
1096
|
+
<div class="io-line">Defined in <a href="" data-line="88" class="link-to-prism">src/table/body/table-row.component.ts:88</a></div>
|
|
1097
|
+
</td>
|
|
1098
|
+
</tr>
|
|
1099
|
+
|
|
1100
|
+
<tr>
|
|
1101
|
+
<td class="col-md-4">
|
|
1102
|
+
<span class="accessor"><b>set</b><code>checkboxLabel(value)</code></span>
|
|
1103
|
+
</td>
|
|
1104
|
+
</tr>
|
|
1105
|
+
<tr>
|
|
1106
|
+
<td class="col-md-4">
|
|
1107
|
+
<div class="io-line">Defined in <a href="" data-line="84" class="link-to-prism">src/table/body/table-row.component.ts:84</a></div>
|
|
1108
|
+
</td>
|
|
1109
|
+
</tr>
|
|
1110
|
+
<tr>
|
|
1111
|
+
<td class="col-md-4">
|
|
1112
|
+
|
|
1113
|
+
<div class="io-description">
|
|
1114
|
+
<b>Parameters :</b>
|
|
1115
|
+
<table class="params">
|
|
1116
|
+
<thead>
|
|
1117
|
+
<tr>
|
|
1118
|
+
<td>Name</td>
|
|
1119
|
+
<td>Optional</td>
|
|
1120
|
+
</tr>
|
|
1121
|
+
</thead>
|
|
1122
|
+
<tbody>
|
|
1123
|
+
<tr>
|
|
1124
|
+
<td>value</td>
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
<td>
|
|
1128
|
+
No
|
|
1129
|
+
</td>
|
|
1130
|
+
|
|
1131
|
+
</tr>
|
|
1132
|
+
</tbody>
|
|
1133
|
+
</table>
|
|
1134
|
+
</div>
|
|
1135
|
+
<div>
|
|
1136
|
+
</div>
|
|
1137
|
+
<div class="io-description">
|
|
1138
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1139
|
+
|
|
1140
|
+
</div>
|
|
1141
|
+
</td>
|
|
1142
|
+
</tr>
|
|
1143
|
+
</tbody>
|
|
1144
|
+
</table>
|
|
1145
|
+
</section>
|
|
1146
|
+
</div>
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
<div class="tab-pane fade tab-source-code" id="c-source">
|
|
1150
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
1151
|
+
Component,
|
|
1152
|
+
Input,
|
|
1153
|
+
Output,
|
|
1154
|
+
EventEmitter,
|
|
1155
|
+
HostBinding
|
|
1156
|
+
} from "@angular/core";
|
|
1157
|
+
import { TableModel } from "./../table-model.class";
|
|
1158
|
+
import { I18n, Overridable } from "./../../i18n/i18n.module";
|
|
1159
|
+
import { TableItem } from "./../table-item.class";
|
|
1160
|
+
import { Observable } from "rxjs";
|
|
1161
|
+
|
|
1162
|
+
@Component({
|
|
1163
|
+
// tslint:disable-next-line: component-selector
|
|
1164
|
+
selector: "[ibmTableRow]",
|
|
1165
|
+
template: `
|
|
1166
|
+
<ng-container *ngIf="model">
|
|
1167
|
+
<td
|
|
1168
|
+
*ngIf="model.hasExpandableRows()"
|
|
1169
|
+
ibmTableExpandButton
|
|
1170
|
+
[expanded]="expanded"
|
|
1171
|
+
[expandable]="expandable"
|
|
1172
|
+
[skeleton]="skeleton"
|
|
1173
|
+
[ariaLabel]="getExpandButtonAriaLabel()"
|
|
1174
|
+
(expandRow)="expandRow.emit()">
|
|
1175
|
+
</td>
|
|
1176
|
+
<td
|
|
1177
|
+
*ngIf="!skeleton && showSelectionColumn"
|
|
1178
|
+
ibmTableCheckbox
|
|
1179
|
+
[size]="size"
|
|
1180
|
+
[selected]="selected"
|
|
1181
|
+
[label]="getCheckboxLabel()"
|
|
1182
|
+
[skeleton]="skeleton"
|
|
1183
|
+
(change)="onSelectionChange()">
|
|
1184
|
+
</td>
|
|
1185
|
+
<ng-container *ngFor="let item of row; let j = index">
|
|
1186
|
+
<td
|
|
1187
|
+
*ngIf="model.header[j].visible"
|
|
1188
|
+
ibmTableData
|
|
1189
|
+
[item]="item"
|
|
1190
|
+
[class]="model.header[j].className"
|
|
1191
|
+
[ngStyle]="model.header[j].style"
|
|
1192
|
+
[skeleton]="skeleton">
|
|
1193
|
+
</td>
|
|
1194
|
+
</ng-container>
|
|
1195
|
+
</ng-container>
|
|
1196
|
+
<ng-content></ng-content>
|
|
1197
|
+
`
|
|
1198
|
+
})
|
|
1199
|
+
export class TableRowComponent {
|
|
1200
|
+
/**
|
|
1201
|
+
* `TableModel` with data the table is to display.
|
|
1202
|
+
*/
|
|
1203
|
+
@Input() model: TableModel;
|
|
1204
|
+
|
|
1205
|
+
@Input() row: TableItem[];
|
|
1206
|
+
|
|
1207
|
+
@Input() expanded = false;
|
|
1208
|
+
|
|
1209
|
+
@Input() expandable = false;
|
|
1210
|
+
|
|
1211
|
+
@Input() selected = false;
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* Size of the table rows.
|
|
1215
|
+
*/
|
|
1216
|
+
@Input() size: "sm" | "md" | "lg" = "md";
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* Controls whether to enable multiple or single row selection.
|
|
1220
|
+
*/
|
|
1221
|
+
@Input() enableSingleSelect = false;
|
|
1222
|
+
|
|
1223
|
+
@Input()
|
|
1224
|
+
set expandButtonAriaLabel(value: string | Observable<string>) {
|
|
1225
|
+
this._expandButtonAriaLabel.override(value);
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
get expandButtonAriaLabel() {
|
|
1229
|
+
return this._expandButtonAriaLabel.value;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
@Input()
|
|
1233
|
+
set checkboxLabel(value: string | Observable<string>) {
|
|
1234
|
+
this._checkboxLabel.override(value);
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
get checkboxLabel() {
|
|
1238
|
+
return this._checkboxLabel.value;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* Controls whether to show the selection checkboxes column or not.
|
|
1243
|
+
*/
|
|
1244
|
+
@Input() showSelectionColumn = true;
|
|
1245
|
+
|
|
1246
|
+
/**
|
|
1247
|
+
* Used to populate the row selection checkbox label with a useful value if set.
|
|
1248
|
+
*
|
|
1249
|
+
* Example:
|
|
1250
|
+
* ```
|
|
1251
|
+
* <ibm-table [selectionLabelColumn]="0"></ibm-table>
|
|
1252
|
+
* <!-- results in aria-label="Select first column value"
|
|
1253
|
+
* (where "first column value" is the value of the first column in the row -->
|
|
1254
|
+
* ```
|
|
1255
|
+
*/
|
|
1256
|
+
@Input() selectionLabelColumn: number;
|
|
1257
|
+
|
|
1258
|
+
@Input() skeleton = false;
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* Emits when the row is selected.
|
|
1262
|
+
*/
|
|
1263
|
+
@Output() selectRow = new EventEmitter();
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Emits when the row is deselected.
|
|
1267
|
+
*/
|
|
1268
|
+
@Output() deselectRow = new EventEmitter();
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* Emits when the row is expanded
|
|
1272
|
+
*/
|
|
1273
|
+
@Output() expandRow = new EventEmitter();
|
|
1274
|
+
|
|
1275
|
+
@HostBinding("class.bx--data-table--selected") get selectedClass() {
|
|
1276
|
+
return this.selected;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
@HostBinding("class.bx--parent-row") get parentRowClass() {
|
|
1280
|
+
return this.expandable;
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
@HostBinding("class.bx--expandable-row") get expandableRowClass() {
|
|
1284
|
+
return this.expanded;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
@HostBinding("class.tbody_row--selectable") get selectableClass() {
|
|
1288
|
+
return false; // this.singleSelect
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
@HostBinding("attr.data-parent-row") get isParentRow() {
|
|
1292
|
+
return this.expandable ? true : null;
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
protected _checkboxLabel = this.i18n.getOverridable("TABLE.CHECKBOX_ROW");
|
|
1296
|
+
protected _expandButtonAriaLabel = this.i18n.getOverridable("TABLE.EXPAND_BUTTON");
|
|
1297
|
+
|
|
1298
|
+
constructor(protected i18n: I18n) { }
|
|
1299
|
+
|
|
1300
|
+
onSelectionChange() {
|
|
1301
|
+
if (this.selected) {
|
|
1302
|
+
this.deselectRow.emit();
|
|
1303
|
+
} else {
|
|
1304
|
+
this.selectRow.emit();
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
getCheckboxLabel(): Observable<string> {
|
|
1309
|
+
return this._checkboxLabel.subject;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
getExpandButtonAriaLabel(): Observable<string> {
|
|
1313
|
+
return this._expandButtonAriaLabel.subject;
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
</code></pre>
|
|
1317
|
+
</div>
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
<div class="tab-pane fade " id="c-tree">
|
|
1322
|
+
<div id="tree-container"></div>
|
|
1323
|
+
<div class="tree-legend">
|
|
1324
|
+
<div class="title">
|
|
1325
|
+
<b>Legend</b>
|
|
1326
|
+
</div>
|
|
1327
|
+
<div>
|
|
1328
|
+
<div class="color htmlelement"></div><span>Html element</span>
|
|
1329
|
+
</div>
|
|
1330
|
+
<div>
|
|
1331
|
+
<div class="color component"></div><span>Component</span>
|
|
1332
|
+
</div>
|
|
1333
|
+
<div>
|
|
1334
|
+
<div class="color directive"></div><span>Html element with directive</span>
|
|
1335
|
+
</div>
|
|
1336
|
+
</div>
|
|
1337
|
+
</div>
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
</div>
|
|
1341
|
+
|
|
1342
|
+
<script src="../js/libs/vis.min.js"></script>
|
|
1343
|
+
<script src="../js/libs/htmlparser.js"></script>
|
|
1344
|
+
<script src="../js/libs/deep-iterator.js"></script>
|
|
1345
|
+
<script>
|
|
1346
|
+
var COMPONENT_TEMPLATE = '<div><ng-container *ngIf="model"> <td *ngIf="model.hasExpandableRows()" ibmTableExpandButton [expanded]="expanded" [expandable]="expandable" [skeleton]="skeleton" [ariaLabel]="getExpandButtonAriaLabel()" (expandRow)="expandRow.emit()"> </td> <td *ngIf="!skeleton && showSelectionColumn" ibmTableCheckbox [size]="size" [selected]="selected" [label]="getCheckboxLabel()" [skeleton]="skeleton" (change)="onSelectionChange()"> </td> <ng-container *ngFor="let item of row; let j = index"> <td *ngIf="model.header[j].visible" ibmTableData [item]="item" [class]="model.header[j].className" [ngStyle]="model.header[j].style" [skeleton]="skeleton"> </td> </ng-container></ng-container><ng-content></ng-content> </div>'
|
|
1347
|
+
var COMPONENTS = [{'name': 'Accordion', 'selector': 'ibm-accordion'},{'name': 'AccordionItem', 'selector': 'ibm-accordion-item'},{'name': 'AlertModal', 'selector': 'ibm-alert-modal'},{'name': 'Breadcrumb', 'selector': 'ibm-breadcrumb'},{'name': 'BreadcrumbItemComponent', 'selector': 'ibm-breadcrumb-item'},{'name': 'Checkbox', 'selector': 'ibm-checkbox'},{'name': 'ClickableTile', 'selector': 'ibm-clickable-tile'},{'name': 'CodeSnippet', 'selector': 'ibm-code-snippet'},{'name': 'ComboBox', 'selector': 'ibm-combo-box'},{'name': 'ContentSwitcher', 'selector': 'ibm-content-switcher'},{'name': 'DatePicker', 'selector': 'ibm-date-picker'},{'name': 'DatePickerInput', 'selector': 'ibm-date-picker-input'},{'name': 'Dialog', 'selector': 'ibm-dialog'},{'name': 'DialogPlaceholder', 'selector': 'ibm-dialog-placeholder'},{'name': 'Documentation', 'selector': 'ibm-documentation'},{'name': 'Dropdown', 'selector': 'ibm-dropdown'},{'name': 'DropdownList', 'selector': 'ibm-dropdown-list'},{'name': 'ExpandableTile', 'selector': 'ibm-expandable-tile'},{'name': 'File', 'selector': 'ibm-file'},{'name': 'FileUploader', 'selector': 'ibm-file-uploader'},{'name': 'Hamburger', 'selector': 'ibm-hamburger'},{'name': 'Header', 'selector': 'ibm-header'},{'name': 'HeaderAction', 'selector': 'ibm-header-action'},{'name': 'HeaderGlobal', 'selector': 'ibm-header-global'},{'name': 'HeaderItem', 'selector': 'ibm-header-item'},{'name': 'HeaderMenu', 'selector': 'ibm-header-menu'},{'name': 'HeaderNavigation', 'selector': 'ibm-header-navigation'},{'name': 'InlineLoading', 'selector': 'ibm-inline-loading'},{'name': 'Label', 'selector': 'ibm-label'},{'name': 'ListColumn', 'selector': 'ibm-list-column'},{'name': 'ListHeader', 'selector': 'ibm-list-header'},{'name': 'ListRow', 'selector': 'ibm-list-row'},{'name': 'Loading', 'selector': 'ibm-loading'},{'name': 'Modal', 'selector': 'ibm-modal'},{'name': 'ModalFooter', 'selector': 'ibm-modal-footer'},{'name': 'ModalHeader', 'selector': 'ibm-modal-header'},{'name': 'ModalPlaceholder', 'selector': 'ibm-modal-placeholder'},{'name': 'Notification', 'selector': 'ibm-notification'},{'name': 'NumberComponent', 'selector': 'ibm-number'},{'name': 'OverflowMenu', 'selector': 'ibm-overflow-menu'},{'name': 'OverflowMenuOption', 'selector': 'ibm-overflow-menu-option'},{'name': 'OverflowMenuPane', 'selector': 'ibm-overflow-menu-pane'},{'name': 'Overlay', 'selector': 'ibm-overlay'},{'name': 'Pagination', 'selector': 'ibm-pagination'},{'name': 'Panel', 'selector': 'ibm-panel'},{'name': 'Placeholder', 'selector': 'ibm-placeholder'},{'name': 'ProductSwitcher', 'selector': 'ibm-product-switcher'},{'name': 'ProgressIndicator', 'selector': 'ibm-progress-indicator'},{'name': 'Radio', 'selector': 'ibm-radio'},{'name': 'RadioGroup', 'selector': 'ibm-radio-group'},{'name': 'Sample', 'selector': 'ibm-sample'},{'name': 'SampleSub', 'selector': 'ibm-sample-sub'},{'name': 'Search', 'selector': 'ibm-search'},{'name': 'Select', 'selector': 'ibm-select'},{'name': 'SelectionTile', 'selector': 'ibm-selection-tile'},{'name': 'SideNav', 'selector': 'ibm-sidenav'},{'name': 'SideNavHeader', 'selector': 'ibm-sidenav-header'},{'name': 'SideNavItem', 'selector': 'ibm-sidenav-item'},{'name': 'SideNavMenu', 'selector': 'ibm-sidenav-menu'},{'name': 'Slider', 'selector': 'ibm-slider'},{'name': 'StructuredList', 'selector': 'ibm-structured-list'},{'name': 'SwitcherList', 'selector': 'ibm-switcher-list, ibm-product-switcher-list'},{'name': 'SwitcherListItem', 'selector': 'ibm-switcher-list-item, ibm-product-switcher-list-item, ibm-product-switcher-item'},{'name': 'Tab', 'selector': 'ibm-tab'},{'name': 'TabHeaders', 'selector': 'ibm-tab-headers'},{'name': 'Table', 'selector': 'ibm-table'},{'name': 'TableBody', 'selector': '[ibmTableBody]'},{'name': 'TableCheckbox', 'selector': '[ibmTableCheckbox]'},{'name': 'TableContainer', 'selector': 'ibm-table-container'},{'name': 'TableData', 'selector': '[ibmTableData]'},{'name': 'TableExpandButton', 'selector': '[ibmTableExpandButton]'},{'name': 'TableExpandedRow', 'selector': '[ibmTableExpandedRow]'},{'name': 'TableHead', 'selector': '[ibmTableHead]'},{'name': 'TableHeadCell', 'selector': '[ibmTableHeadCell]'},{'name': 'TableHeadCheckbox', 'selector': '[ibmTableHeadCheckbox]'},{'name': 'TableHeader', 'selector': 'ibm-table-header'},{'name': 'TableHeadExpand', 'selector': '[ibmTableHeadExpand]'},{'name': 'TableRowComponent', 'selector': '[ibmTableRow]'},{'name': 'TableToolbar', 'selector': 'ibm-table-toolbar'},{'name': 'TableToolbarActions', 'selector': 'ibm-table-toolbar-actions'},{'name': 'TableToolbarContent', 'selector': 'ibm-table-toolbar-content'},{'name': 'TableToolbarSearch', 'selector': 'ibm-table-toolbar-search'},{'name': 'Tabs', 'selector': 'ibm-tabs'},{'name': 'Tag', 'selector': 'ibm-tag'},{'name': 'TagFilter', 'selector': 'ibm-tag-filter'},{'name': 'Tile', 'selector': 'ibm-tile'},{'name': 'TileGroup', 'selector': 'ibm-tile-group'},{'name': 'TimePicker', 'selector': 'ibm-timepicker'},{'name': 'TimePickerSelect', 'selector': 'ibm-timepicker-select'},{'name': 'Toast', 'selector': 'ibm-toast'},{'name': 'Toggle', 'selector': 'ibm-toggle'},{'name': 'Tooltip', 'selector': 'ibm-tooltip'},{'name': 'TooltipDefinition', 'selector': 'ibm-tooltip-definition'},{'name': 'TooltipIcon', 'selector': 'ibm-tooltip-icon'}];
|
|
1348
|
+
var DIRECTIVES = [{'name': 'Button', 'selector': '[ibmButton]'},{'name': 'ColumnDirective', 'selector': '[ibmCol]'},{'name': 'ContentSwitcherOption', 'selector': '[ibmContentOption]'},{'name': 'DataGridFocus', 'selector': '[ibmDataGridFocus]'},{'name': 'DialogDirective', 'selector': '[ibmDialog]'},{'name': 'EllipsisTooltip', 'selector': '[ibmEllipsisTooltip]'},{'name': 'ExpandedRowHover', 'selector': '[ibmExpandedRowHover]'},{'name': 'GridDirective', 'selector': '[ibmGrid]'},{'name': 'Link', 'selector': '[ibmLink]'},{'name': 'List', 'selector': '[ibmList]'},{'name': 'ListItemDirective', 'selector': '[ibmListItem]'},{'name': 'OptGroup', 'selector': 'optgroup'},{'name': 'Option', 'selector': 'option'},{'name': 'OverflowMenuDirective', 'selector': '[ibmOverflowMenu]'},{'name': 'RowDirective', 'selector': '[ibmRow]'},{'name': 'ScrollableList', 'selector': '[ibmScrollableList]'},{'name': 'TableDirective', 'selector': '[ibmTable]'},{'name': 'TableHeaderDescription', 'selector': '[ibmTableHeaderDescription]'},{'name': 'TableHeaderTitle', 'selector': '[ibmTableHeaderTitle]'},{'name': 'TextArea', 'selector': '[ibmTextArea]'},{'name': 'TextInput', 'selector': '[ibmText]'},{'name': 'TooltipDirective', 'selector': '[ibmTooltip]'}];
|
|
1349
|
+
var ACTUAL_COMPONENT = {'name': 'TableRowComponent'};
|
|
1350
|
+
</script>
|
|
1351
|
+
<script src="../js/tree.js"></script>
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
</div><div class="search-results">
|
|
1367
|
+
<div class="has-results">
|
|
1368
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1>
|
|
1369
|
+
<ul class="search-results-list"></ul>
|
|
1370
|
+
</div>
|
|
1371
|
+
<div class="no-results">
|
|
1372
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
1373
|
+
</div>
|
|
1374
|
+
</div>
|
|
1375
|
+
</div>
|
|
1376
|
+
<!-- END CONTENT -->
|
|
1377
|
+
</div>
|
|
1378
|
+
</div>
|
|
1379
|
+
|
|
1380
|
+
<script>
|
|
1381
|
+
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
1382
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'component';
|
|
1383
|
+
var COMPODOC_CURRENT_PAGE_URL = 'TableRowComponent.html';
|
|
1384
|
+
</script>
|
|
1385
|
+
|
|
1386
|
+
<script src="../js/libs/custom-elements.min.js"></script>
|
|
1387
|
+
<script src="../js/libs/lit-html.js"></script>
|
|
1388
|
+
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
|
|
1389
|
+
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script>
|
|
1390
|
+
<script src="../js/menu-wc.js" defer></script>
|
|
1391
|
+
|
|
1392
|
+
<script src="../js/libs/bootstrap-native.js"></script>
|
|
1393
|
+
|
|
1394
|
+
<script src="../js/libs/es6-shim.min.js"></script>
|
|
1395
|
+
<script src="../js/libs/EventDispatcher.js"></script>
|
|
1396
|
+
<script src="../js/libs/promise.min.js"></script>
|
|
1397
|
+
<script src="../js/libs/zepto.min.js"></script>
|
|
1398
|
+
|
|
1399
|
+
<script src="../js/compodoc.js"></script>
|
|
1400
|
+
|
|
1401
|
+
<script src="../js/tabs.js"></script>
|
|
1402
|
+
<script src="../js/menu.js"></script>
|
|
1403
|
+
<script src="../js/libs/clipboard.min.js"></script>
|
|
1404
|
+
<script src="../js/libs/prism.js"></script>
|
|
1405
|
+
<script src="../js/sourceCode.js"></script>
|
|
1406
|
+
<script src="../js/search/search.js"></script>
|
|
1407
|
+
<script src="../js/search/lunr.min.js"></script>
|
|
1408
|
+
<script src="../js/search/search-lunr.js"></script>
|
|
1409
|
+
<script src="../js/search/search_index.js"></script>
|
|
1410
|
+
<script src="../js/lazy-load-graphs.js"></script>
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
</body>
|
|
1414
|
+
</html>
|